]> git.saurik.com Git - wxWidgets.git/blob - configure
wxCocoa: Allow wxUSE_CLIPBOARD/wxUSE_DATAOBJ
[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_subdirs_all="$ac_subdirs_all src/expat"
315 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 subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG HOST_SUFFIX 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_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_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_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_PLATFORM_MAC_1 COND_SHARED_1 COND_SHARED_0 LEX_STEM PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH 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'
316 ac_subst_files=''
317
318 # Initialize some variables set by options.
319 ac_init_help=
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
323 cache_file=/dev/null
324 exec_prefix=NONE
325 no_create=
326 no_recursion=
327 prefix=NONE
328 program_prefix=NONE
329 program_suffix=NONE
330 program_transform_name=s,x,x,
331 silent=
332 site=
333 srcdir=
334 verbose=
335 x_includes=NONE
336 x_libraries=NONE
337
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
355
356 ac_prev=
357 for ac_option
358 do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653 done
654
655 if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659 fi
660
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
663 do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670 done
671
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675 do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682 done
683
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
687 build=$build_alias
688 host=$host_alias
689 target=$target_alias
690
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700 fi
701
702 ac_tool_prefix=
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705 test "$silent" = yes && exec 6>/dev/null
706
707
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718 echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728 else
729 ac_srcdir_defaulted=no
730 fi
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739 fi
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
757 ac_env_CC_value=$CC
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
788
789 #
790 # Report the --help message.
791 #
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
797
798 Usage: $0 [OPTION]... [VAR=VALUE]...
799
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
802
803 Defaults for the options are specified in brackets.
804
805 Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815
816 _ACEOF
817
818 cat <<_ACEOF
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
824
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
829
830 For better control, use the options below.
831
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845 _ACEOF
846
847 cat <<\_ACEOF
848
849 X features:
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
852
853 System types:
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
857 _ACEOF
858 fi
859
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWindows 2.5.0:";;
863 esac
864 cat <<\_ACEOF
865
866 Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat20 enable wxWindows 2.0 compatibility
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-cmdline use wxCmdLineParser class
903 --enable-datetime use wxDateTime class
904 --enable-stopwatch use wxStopWatch class
905 --enable-dialupman use dialup network classes
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-timer use wxTimer class
908 --enable-wave use wxWave class
909 --enable-fraction use wxFraction class
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-longlong use wxLongLong class
913 --enable-geometry use geometry class
914 --enable-log use logging system
915 --enable-streams use wxStream etc classes
916 --enable-file use wxFile classes
917 --enable-ffile use wxFFile classes
918 --enable-textbuf use wxTextBuffer class
919 --enable-textfile use wxTextFile class
920 --enable-fontmap use font encodings conversion classes
921 --enable-unicode compile wxString with Unicode support
922 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
923 --enable-wxprintfv use wxWindows implementation of vprintf()
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-filesystem use virtual file systems classes
926 --enable-fs_inet use virtual HTTP/FTP filesystems
927 --enable-fs_zip use virtual ZIP filesystems
928 --enable-zipstream use wxZipInputStream
929 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
930 --enable-snglinst use wxSingleInstanceChecker class
931 --enable-mimetype use wxMimeTypesManager
932 --enable-sysoptions use wxSystemOptions
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --enable-official_build official build of wxWindows (win32 DLL only)
1028 --enable-vendor=VENDOR vendor name (win32 DLL only)
1029 --disable-largefile omit support for large files
1030 --disable-gtktest do not try to compile and run a test GTK+ program
1031 --disable-gtktest Do not try to compile and run a test GTK program
1032
1033 Optional Packages:
1034 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1035 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1036 --with-gtk use GTK+
1037 --with-motif use Motif/Lesstif
1038 --with-mac use Mac OS X
1039 --with-cocoa use Cocoa
1040 --with-wine use Wine
1041 --with-msw use MS-Windows
1042 --with-pm use OS/2 Presentation Manager
1043 --with-mgl use SciTech MGL
1044 --with-microwin use MicroWindows
1045 --with-x11 use X11
1046 --with-libpng use libpng (PNG image format)
1047 --with-libjpeg use libjpeg (JPEG file format)
1048 --with-libtiff use libtiff (TIFF file format)
1049 --with-opengl use OpenGL (or Mesa)
1050 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1051 --with-regex enable support for wxRegEx class
1052 --with-zlib use zlib for LZW compression
1053 --with-odbc use the IODBC and wxODBC classes
1054 --with-expat enable XML support using expat parser
1055 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1056 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1057 --with-x use the X Window System
1058 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1059
1060 Some influential environment variables:
1061 CC C compiler command
1062 CFLAGS C compiler flags
1063 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1064 nonstandard directory <lib dir>
1065 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1066 headers in a nonstandard directory <include dir>
1067 CPP C preprocessor
1068 CXX C++ compiler command
1069 CXXFLAGS C++ compiler flags
1070 CXXCPP C++ preprocessor
1071
1072 Use these variables to override the choices made by `configure' or to help
1073 it to find libraries and programs with nonstandard names/locations.
1074
1075 Report bugs to <wx-dev@lists.wxwindows.org>.
1076 _ACEOF
1077 fi
1078
1079 if test "$ac_init_help" = "recursive"; then
1080 # If there are subdirs, report their specific --help.
1081 ac_popdir=`pwd`
1082 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1083 test -d $ac_dir || continue
1084 ac_builddir=.
1085
1086 if test "$ac_dir" != .; then
1087 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1088 # A "../" for each directory in $ac_dir_suffix.
1089 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1090 else
1091 ac_dir_suffix= ac_top_builddir=
1092 fi
1093
1094 case $srcdir in
1095 .) # No --srcdir option. We are building in place.
1096 ac_srcdir=.
1097 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir=.
1099 else
1100 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1101 fi ;;
1102 [\\/]* | ?:[\\/]* ) # Absolute path.
1103 ac_srcdir=$srcdir$ac_dir_suffix;
1104 ac_top_srcdir=$srcdir ;;
1105 *) # Relative path.
1106 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1107 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1108 esac
1109 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1110 # absolute.
1111 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1112 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1113 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1114 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1115
1116 cd $ac_dir
1117 # Check for guested configure; otherwise get Cygnus style configure.
1118 if test -f $ac_srcdir/configure.gnu; then
1119 echo
1120 $SHELL $ac_srcdir/configure.gnu --help=recursive
1121 elif test -f $ac_srcdir/configure; then
1122 echo
1123 $SHELL $ac_srcdir/configure --help=recursive
1124 elif test -f $ac_srcdir/configure.ac ||
1125 test -f $ac_srcdir/configure.in; then
1126 echo
1127 $ac_configure --help
1128 else
1129 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1130 fi
1131 cd $ac_popdir
1132 done
1133 fi
1134
1135 test -n "$ac_init_help" && exit 0
1136 if $ac_init_version; then
1137 cat <<\_ACEOF
1138 wxWindows configure 2.5.0
1139 generated by GNU Autoconf 2.57
1140
1141 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1142 Free Software Foundation, Inc.
1143 This configure script is free software; the Free Software Foundation
1144 gives unlimited permission to copy, distribute and modify it.
1145 _ACEOF
1146 exit 0
1147 fi
1148 exec 5>config.log
1149 cat >&5 <<_ACEOF
1150 This file contains any messages produced by compilers while
1151 running configure, to aid debugging if configure makes a mistake.
1152
1153 It was created by wxWindows $as_me 2.5.0, which was
1154 generated by GNU Autoconf 2.57. Invocation command line was
1155
1156 $ $0 $@
1157
1158 _ACEOF
1159 {
1160 cat <<_ASUNAME
1161 ## --------- ##
1162 ## Platform. ##
1163 ## --------- ##
1164
1165 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1166 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1167 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1168 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1169 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1170
1171 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1172 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1173
1174 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1175 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1176 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1177 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1178 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1179 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1180 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1181
1182 _ASUNAME
1183
1184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1185 for as_dir in $PATH
1186 do
1187 IFS=$as_save_IFS
1188 test -z "$as_dir" && as_dir=.
1189 echo "PATH: $as_dir"
1190 done
1191
1192 } >&5
1193
1194 cat >&5 <<_ACEOF
1195
1196
1197 ## ----------- ##
1198 ## Core tests. ##
1199 ## ----------- ##
1200
1201 _ACEOF
1202
1203
1204 # Keep a trace of the command line.
1205 # Strip out --no-create and --no-recursion so they do not pile up.
1206 # Strip out --silent because we don't want to record it for future runs.
1207 # Also quote any args containing shell meta-characters.
1208 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_configure_args=
1210 ac_configure_args0=
1211 ac_configure_args1=
1212 ac_sep=
1213 ac_must_keep_next=false
1214 for ac_pass in 1 2
1215 do
1216 for ac_arg
1217 do
1218 case $ac_arg in
1219 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1220 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1221 | -silent | --silent | --silen | --sile | --sil)
1222 continue ;;
1223 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1224 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 esac
1226 case $ac_pass in
1227 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1228 2)
1229 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1230 if test $ac_must_keep_next = true; then
1231 ac_must_keep_next=false # Got value, back to normal.
1232 else
1233 case $ac_arg in
1234 *=* | --config-cache | -C | -disable-* | --disable-* \
1235 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1236 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1237 | -with-* | --with-* | -without-* | --without-* | --x)
1238 case "$ac_configure_args0 " in
1239 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 esac
1241 ;;
1242 -* ) ac_must_keep_next=true ;;
1243 esac
1244 fi
1245 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1246 # Get rid of the leading space.
1247 ac_sep=" "
1248 ;;
1249 esac
1250 done
1251 done
1252 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1253 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1254
1255 # When interrupted or exit'd, cleanup temporary files, and complete
1256 # config.log. We remove comments because anyway the quotes in there
1257 # would cause problems or look ugly.
1258 # WARNING: Be sure not to use single quotes in there, as some shells,
1259 # such as our DU 5.0 friend, will then `close' the trap.
1260 trap 'exit_status=$?
1261 # Save into config.log some information that might help in debugging.
1262 {
1263 echo
1264
1265 cat <<\_ASBOX
1266 ## ---------------- ##
1267 ## Cache variables. ##
1268 ## ---------------- ##
1269 _ASBOX
1270 echo
1271 # The following way of writing the cache mishandles newlines in values,
1272 {
1273 (set) 2>&1 |
1274 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 *ac_space=\ *)
1276 sed -n \
1277 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1279 ;;
1280 *)
1281 sed -n \
1282 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1283 ;;
1284 esac;
1285 }
1286 echo
1287
1288 cat <<\_ASBOX
1289 ## ----------------- ##
1290 ## Output variables. ##
1291 ## ----------------- ##
1292 _ASBOX
1293 echo
1294 for ac_var in $ac_subst_vars
1295 do
1296 eval ac_val=$`echo $ac_var`
1297 echo "$ac_var='"'"'$ac_val'"'"'"
1298 done | sort
1299 echo
1300
1301 if test -n "$ac_subst_files"; then
1302 cat <<\_ASBOX
1303 ## ------------- ##
1304 ## Output files. ##
1305 ## ------------- ##
1306 _ASBOX
1307 echo
1308 for ac_var in $ac_subst_files
1309 do
1310 eval ac_val=$`echo $ac_var`
1311 echo "$ac_var='"'"'$ac_val'"'"'"
1312 done | sort
1313 echo
1314 fi
1315
1316 if test -s confdefs.h; then
1317 cat <<\_ASBOX
1318 ## ----------- ##
1319 ## confdefs.h. ##
1320 ## ----------- ##
1321 _ASBOX
1322 echo
1323 sed "/^$/d" confdefs.h | sort
1324 echo
1325 fi
1326 test "$ac_signal" != 0 &&
1327 echo "$as_me: caught signal $ac_signal"
1328 echo "$as_me: exit $exit_status"
1329 } >&5
1330 rm -f core core.* *.core &&
1331 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 exit $exit_status
1333 ' 0
1334 for ac_signal in 1 2 13 15; do
1335 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1336 done
1337 ac_signal=0
1338
1339 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1340 rm -rf conftest* confdefs.h
1341 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342 echo >confdefs.h
1343
1344 # Predefined preprocessor variables.
1345
1346 cat >>confdefs.h <<_ACEOF
1347 #define PACKAGE_NAME "$PACKAGE_NAME"
1348 _ACEOF
1349
1350
1351 cat >>confdefs.h <<_ACEOF
1352 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1353 _ACEOF
1354
1355
1356 cat >>confdefs.h <<_ACEOF
1357 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1358 _ACEOF
1359
1360
1361 cat >>confdefs.h <<_ACEOF
1362 #define PACKAGE_STRING "$PACKAGE_STRING"
1363 _ACEOF
1364
1365
1366 cat >>confdefs.h <<_ACEOF
1367 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1368 _ACEOF
1369
1370
1371 # Let the site file select an alternate cache file if it wants to.
1372 # Prefer explicitly selected file to automatically selected ones.
1373 if test -z "$CONFIG_SITE"; then
1374 if test "x$prefix" != xNONE; then
1375 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1376 else
1377 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 fi
1379 fi
1380 for ac_site_file in $CONFIG_SITE; do
1381 if test -r "$ac_site_file"; then
1382 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1383 echo "$as_me: loading site script $ac_site_file" >&6;}
1384 sed 's/^/| /' "$ac_site_file" >&5
1385 . "$ac_site_file"
1386 fi
1387 done
1388
1389 if test -r "$cache_file"; then
1390 # Some versions of bash will fail to source /dev/null (special
1391 # files actually), so we avoid doing that.
1392 if test -f "$cache_file"; then
1393 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1394 echo "$as_me: loading cache $cache_file" >&6;}
1395 case $cache_file in
1396 [\\/]* | ?:[\\/]* ) . $cache_file;;
1397 *) . ./$cache_file;;
1398 esac
1399 fi
1400 else
1401 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1402 echo "$as_me: creating cache $cache_file" >&6;}
1403 >$cache_file
1404 fi
1405
1406 # Check that the precious variables saved in the cache have kept the same
1407 # value.
1408 ac_cache_corrupted=false
1409 for ac_var in `(set) 2>&1 |
1410 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1411 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1412 eval ac_new_set=\$ac_env_${ac_var}_set
1413 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1414 eval ac_new_val="\$ac_env_${ac_var}_value"
1415 case $ac_old_set,$ac_new_set in
1416 set,)
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1420 ,set)
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1422 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1423 ac_cache_corrupted=: ;;
1424 ,);;
1425 *)
1426 if test "x$ac_old_val" != "x$ac_new_val"; then
1427 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1428 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1429 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1430 echo "$as_me: former value: $ac_old_val" >&2;}
1431 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1432 echo "$as_me: current value: $ac_new_val" >&2;}
1433 ac_cache_corrupted=:
1434 fi;;
1435 esac
1436 # Pass precious variables to config.status.
1437 if test "$ac_new_set" = set; then
1438 case $ac_new_val in
1439 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1440 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1441 *) ac_arg=$ac_var=$ac_new_val ;;
1442 esac
1443 case " $ac_configure_args " in
1444 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1445 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1446 esac
1447 fi
1448 done
1449 if $ac_cache_corrupted; then
1450 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1451 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1452 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1453 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1454 { (exit 1); exit 1; }; }
1455 fi
1456
1457 ac_ext=c
1458 ac_cpp='$CPP $CPPFLAGS'
1459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492 ac_aux_dir=
1493 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1494 if 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/install.sh; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/install.sh -c"
1501 break
1502 elif test -f $ac_dir/shtool; then
1503 ac_aux_dir=$ac_dir
1504 ac_install_sh="$ac_aux_dir/shtool install -c"
1505 break
1506 fi
1507 done
1508 if test -z "$ac_aux_dir"; then
1509 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1510 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1511 { (exit 1); exit 1; }; }
1512 fi
1513 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1514 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1515 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1516
1517 # Make sure we can run config.sub.
1518 $ac_config_sub sun4 >/dev/null 2>&1 ||
1519 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1520 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1521 { (exit 1); exit 1; }; }
1522
1523 echo "$as_me:$LINENO: checking build system type" >&5
1524 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1525 if test "${ac_cv_build+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 else
1528 ac_cv_build_alias=$build_alias
1529 test -z "$ac_cv_build_alias" &&
1530 ac_cv_build_alias=`$ac_config_guess`
1531 test -z "$ac_cv_build_alias" &&
1532 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1533 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1534 { (exit 1); exit 1; }; }
1535 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1536 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1537 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1538 { (exit 1); exit 1; }; }
1539
1540 fi
1541 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1542 echo "${ECHO_T}$ac_cv_build" >&6
1543 build=$ac_cv_build
1544 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1545 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1546 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1547
1548
1549 echo "$as_me:$LINENO: checking host system type" >&5
1550 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1551 if test "${ac_cv_host+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1553 else
1554 ac_cv_host_alias=$host_alias
1555 test -z "$ac_cv_host_alias" &&
1556 ac_cv_host_alias=$ac_cv_build_alias
1557 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1558 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1559 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1560 { (exit 1); exit 1; }; }
1561
1562 fi
1563 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1564 echo "${ECHO_T}$ac_cv_host" >&6
1565 host=$ac_cv_host
1566 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1567 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1568 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1569
1570
1571 echo "$as_me:$LINENO: checking target system type" >&5
1572 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1573 if test "${ac_cv_target+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 else
1576 ac_cv_target_alias=$target_alias
1577 test "x$ac_cv_target_alias" = "x" &&
1578 ac_cv_target_alias=$ac_cv_host_alias
1579 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1580 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1581 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1582 { (exit 1); exit 1; }; }
1583
1584 fi
1585 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1586 echo "${ECHO_T}$ac_cv_target" >&6
1587 target=$ac_cv_target
1588 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1589 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1590 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1591
1592
1593 # The aliases save the names the user supplied, while $host etc.
1594 # will get canonicalized.
1595 test -n "$target_alias" &&
1596 test "$program_prefix$program_suffix$program_transform_name" = \
1597 NONENONEs,x,x, &&
1598 program_prefix=${target_alias}-
1599
1600
1601
1602 WX_MAJOR_VERSION_NUMBER=2
1603 WX_MINOR_VERSION_NUMBER=5
1604 WX_RELEASE_NUMBER=0
1605
1606 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1607 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1608
1609 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1610
1611 WX_CURRENT=0
1612 WX_REVISION=0
1613 WX_AGE=0
1614
1615
1616
1617 USE_UNIX=1
1618 USE_WIN32=0
1619 USE_DOS=0
1620 USE_BEOS=0
1621 USE_MAC=0
1622
1623 USE_AIX=
1624 USE_BSD= USE_DARWIN= USE_FREEBSD=
1625 USE_GNU= USE_HPUX=
1626 USE_LINUX=
1627 USE_NETBSD=
1628 USE_OPENBSD=
1629 USE_OSF= USE_SGI=
1630 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1631 USE_ULTRIX=
1632 USE_UNIXWARE=
1633
1634 USE_ALPHA=
1635
1636 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1637
1638 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1639
1640 DEFAULT_wxUSE_COCOA=0
1641 DEFAULT_wxUSE_GTK=0
1642 DEFAULT_wxUSE_MAC=0
1643 DEFAULT_wxUSE_MGL=0
1644 DEFAULT_wxUSE_MICROWIN=0
1645 DEFAULT_wxUSE_MOTIF=0
1646 DEFAULT_wxUSE_MSW=0
1647 DEFAULT_wxUSE_PM=0
1648 DEFAULT_wxUSE_X11=0
1649
1650 DEFAULT_DEFAULT_wxUSE_COCOA=0
1651 DEFAULT_DEFAULT_wxUSE_GTK=0
1652 DEFAULT_DEFAULT_wxUSE_MAC=0
1653 DEFAULT_DEFAULT_wxUSE_MGL=0
1654 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1655 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1656 DEFAULT_DEFAULT_wxUSE_MSW=0
1657 DEFAULT_DEFAULT_wxUSE_PM=0
1658 DEFAULT_DEFAULT_wxUSE_X11=0
1659
1660 PROGRAM_EXT=
1661 SO_SUFFIX=so
1662 SAMPLES_RPATH_FLAG=
1663
1664 case "${host}" in
1665 *-hp-hpux* )
1666 USE_HPUX=1
1667 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1668 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1669 SO_SUFFIX=sl
1670 cat >>confdefs.h <<\_ACEOF
1671 #define __HPUX__ 1
1672 _ACEOF
1673
1674 ;;
1675 *-*-linux* )
1676 USE_LINUX=1
1677 cat >>confdefs.h <<\_ACEOF
1678 #define __LINUX__ 1
1679 _ACEOF
1680
1681 TMP=`uname -m`
1682 if test "x$TMP" = "xalpha"; then
1683 USE_ALPHA=1
1684 cat >>confdefs.h <<\_ACEOF
1685 #define __ALPHA__ 1
1686 _ACEOF
1687
1688 fi
1689 DEFAULT_DEFAULT_wxUSE_GTK=1
1690 ;;
1691 *-*-gnu* )
1692 USE_GNU=1
1693 cat >>confdefs.h <<\_ACEOF
1694 #define __GNU__ 1
1695 _ACEOF
1696
1697 TMP=`uname -m`
1698 if test "x$TMP" = "xalpha"; then
1699 USE_ALPHA=1
1700 cat >>confdefs.h <<\_ACEOF
1701 #define __ALPHA__ 1
1702 _ACEOF
1703
1704 fi
1705 DEFAULT_DEFAULT_wxUSE_GTK=1
1706 ;;
1707 *-*-irix5* | *-*-irix6* )
1708 USE_SGI=1
1709 USE_SVR4=1
1710 cat >>confdefs.h <<\_ACEOF
1711 #define __SGI__ 1
1712 _ACEOF
1713
1714 cat >>confdefs.h <<\_ACEOF
1715 #define __SVR4__ 1
1716 _ACEOF
1717
1718 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1719 ;;
1720 *-*-solaris2* )
1721 USE_SUN=1
1722 USE_SOLARIS=1
1723 USE_SVR4=1
1724 cat >>confdefs.h <<\_ACEOF
1725 #define __SUN__ 1
1726 _ACEOF
1727
1728 cat >>confdefs.h <<\_ACEOF
1729 #define __SOLARIS__ 1
1730 _ACEOF
1731
1732 cat >>confdefs.h <<\_ACEOF
1733 #define __SVR4__ 1
1734 _ACEOF
1735
1736 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1737 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1738 ;;
1739 *-*-sunos4* )
1740 USE_SUN=1
1741 USE_SUNOS=1
1742 USE_BSD=1
1743 cat >>confdefs.h <<\_ACEOF
1744 #define __SUN__ 1
1745 _ACEOF
1746
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __SUNOS__ 1
1749 _ACEOF
1750
1751 cat >>confdefs.h <<\_ACEOF
1752 #define __BSD__ 1
1753 _ACEOF
1754
1755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1756 ;;
1757 *-*-freebsd*)
1758 USE_BSD=1
1759 USE_FREEBSD=1
1760 cat >>confdefs.h <<\_ACEOF
1761 #define __FREEBSD__ 1
1762 _ACEOF
1763
1764 cat >>confdefs.h <<\_ACEOF
1765 #define __BSD__ 1
1766 _ACEOF
1767
1768 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 ;;
1770 *-*-openbsd*)
1771 USE_BSD=1
1772 USE_OPENBSD=1
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __OPENBSD__ 1
1775 _ACEOF
1776
1777 cat >>confdefs.h <<\_ACEOF
1778 #define __BSD__ 1
1779 _ACEOF
1780
1781 DEFAULT_DEFAULT_wxUSE_GTK=1
1782 ;;
1783 *-*-netbsd*)
1784 USE_BSD=1
1785 USE_NETBSD=1
1786 cat >>confdefs.h <<\_ACEOF
1787 #define __NETBSD__ 1
1788 _ACEOF
1789
1790 cat >>confdefs.h <<\_ACEOF
1791 #define __BSD__ 1
1792 _ACEOF
1793
1794 DEFAULT_DEFAULT_wxUSE_GTK=1
1795 ;;
1796 *-*-osf* )
1797 USE_ALPHA=1
1798 USE_OSF=1
1799 cat >>confdefs.h <<\_ACEOF
1800 #define __ALPHA__ 1
1801 _ACEOF
1802
1803 cat >>confdefs.h <<\_ACEOF
1804 #define __OSF__ 1
1805 _ACEOF
1806
1807 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1808 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1809 ;;
1810 *-*-dgux5* )
1811 USE_ALPHA=1
1812 USE_SVR4=1
1813 cat >>confdefs.h <<\_ACEOF
1814 #define __ALPHA__ 1
1815 _ACEOF
1816
1817 cat >>confdefs.h <<\_ACEOF
1818 #define __SVR4__ 1
1819 _ACEOF
1820
1821 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1822 ;;
1823 *-*-sysv5* )
1824 USE_SYSV=1
1825 USE_SVR4=1
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __SYSV__ 1
1828 _ACEOF
1829
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __SVR4__ 1
1832 _ACEOF
1833
1834 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1835 ;;
1836 *-*-aix* )
1837 USE_AIX=1
1838 USE_SYSV=1
1839 USE_SVR4=1
1840 SO_SUFFIX=a
1841 cat >>confdefs.h <<\_ACEOF
1842 #define __AIX__ 1
1843 _ACEOF
1844
1845 cat >>confdefs.h <<\_ACEOF
1846 #define __SYSV__ 1
1847 _ACEOF
1848
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __SVR4__ 1
1851 _ACEOF
1852
1853 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1854 ;;
1855
1856 *-*-*UnixWare*)
1857 USE_SYSV=1
1858 USE_SVR4=1
1859 USE_UNIXWARE=1
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __UNIXWARE__ 1
1862 _ACEOF
1863
1864 ;;
1865
1866 *-*-cygwin* | *-*-mingw32* )
1867 SO_SUFFIX=dll
1868 PROGRAM_EXT=".exe"
1869 RESCOMP=windres
1870 DEFAULT_DEFAULT_wxUSE_MSW=1
1871 ;;
1872
1873 *-pc-msdosdjgpp )
1874 USE_UNIX=0
1875 USE_DOS=1
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __DOS__ 1
1878 _ACEOF
1879
1880 PROGRAM_EXT=".exe"
1881 DEFAULT_DEFAULT_wxUSE_MGL=1
1882 LIBS="$LIBS -lstdc++"
1883 ;;
1884
1885 *-pc-os2_emx | *-pc-os2-emx )
1886 cat >>confdefs.h <<\_ACEOF
1887 #define __EMX__ 1
1888 _ACEOF
1889
1890 PROGRAM_EXT=".exe"
1891 DEFAULT_DEFAULT_wxUSE_PM=1
1892 ;;
1893
1894 powerpc-*-darwin* )
1895 USE_BSD=1
1896 USE_DARWIN=1
1897 SO_SUFFIX=dylib
1898 cat >>confdefs.h <<\_ACEOF
1899 #define __BSD__ 1
1900 _ACEOF
1901
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __DARWIN__ 1
1904 _ACEOF
1905
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __POWERPC__ 1
1908 _ACEOF
1909
1910 cat >>confdefs.h <<\_ACEOF
1911 #define TARGET_CARBON 1
1912 _ACEOF
1913
1914 DEFAULT_DEFAULT_wxUSE_MAC=1
1915 ;;
1916
1917 *-*-beos* )
1918 USE_BEOS=1
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __BEOS__ 1
1921 _ACEOF
1922
1923 ;;
1924
1925 *)
1926 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1927 echo "$as_me: error: unknown system type ${host}." >&2;}
1928 { (exit 1); exit 1; }; }
1929 esac
1930
1931
1932
1933
1934 wx_arg_cache_file="configarg.cache"
1935 echo "loading argument cache $wx_arg_cache_file"
1936 rm -f ${wx_arg_cache_file}.tmp
1937 touch ${wx_arg_cache_file}.tmp
1938 touch ${wx_arg_cache_file}
1939
1940
1941 DEBUG_CONFIGURE=0
1942 if test $DEBUG_CONFIGURE = 1; then
1943 DEFAULT_wxUSE_UNIVERSAL=no
1944 DEFAULT_wxUSE_STL=no
1945
1946 DEFAULT_wxUSE_NANOX=no
1947
1948 DEFAULT_wxUSE_THREADS=yes
1949
1950 DEFAULT_wxUSE_SHARED=yes
1951 DEFAULT_wxUSE_OPTIMISE=no
1952 DEFAULT_wxUSE_PROFILE=no
1953 DEFAULT_wxUSE_NO_DEPS=no
1954 DEFAULT_wxUSE_NO_RTTI=no
1955 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1956 DEFAULT_wxUSE_PERMISSIVE=no
1957 DEFAULT_wxUSE_DEBUG_FLAG=yes
1958 DEFAULT_wxUSE_DEBUG_INFO=yes
1959 DEFAULT_wxUSE_DEBUG_GDB=yes
1960 DEFAULT_wxUSE_MEM_TRACING=no
1961 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1962 DEFAULT_wxUSE_DMALLOC=no
1963 DEFAULT_wxUSE_APPLE_IEEE=no
1964
1965 DEFAULT_wxUSE_LOG=yes
1966 DEFAULT_wxUSE_LOGWINDOW=no
1967 DEFAULT_wxUSE_LOGGUI=no
1968 DEFAULT_wxUSE_LOGDIALOG=no
1969
1970 DEFAULT_wxUSE_GUI=yes
1971 DEFAULT_wxUSE_CONTROLS=no
1972
1973 DEFAULT_wxUSE_REGEX=no
1974 DEFAULT_wxUSE_XML=no
1975 DEFAULT_wxUSE_EXPAT=no
1976 DEFAULT_wxUSE_ZLIB=no
1977 DEFAULT_wxUSE_LIBPNG=no
1978 DEFAULT_wxUSE_LIBJPEG=no
1979 DEFAULT_wxUSE_LIBTIFF=no
1980 DEFAULT_wxUSE_ODBC=no
1981 DEFAULT_wxUSE_OPENGL=no
1982
1983 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1984 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1985 DEFAULT_wxUSE_STD_IOSTREAM=no
1986 DEFAULT_wxUSE_CMDLINE_PARSER=no
1987 DEFAULT_wxUSE_DATETIME=no
1988 DEFAULT_wxUSE_TIMER=no
1989 DEFAULT_wxUSE_STOPWATCH=no
1990 DEFAULT_wxUSE_FILE=no
1991 DEFAULT_wxUSE_FFILE=no
1992 DEFAULT_wxUSE_TEXTBUFFER=no
1993 DEFAULT_wxUSE_TEXTFILE=no
1994 DEFAULT_wxUSE_WAVE=no
1995 DEFAULT_wxUSE_INTL=no
1996 DEFAULT_wxUSE_CONFIG=no
1997 DEFAULT_wxUSE_FONTMAP=no
1998 DEFAULT_wxUSE_STREAMS=no
1999 DEFAULT_wxUSE_SOCKETS=no
2000 DEFAULT_wxUSE_OLE=no
2001 DEFAULT_wxUSE_DATAOBJ=no
2002 DEFAULT_wxUSE_DIALUP_MANAGER=no
2003 DEFAULT_wxUSE_JOYSTICK=no
2004 DEFAULT_wxUSE_DYNLIB_CLASS=no
2005 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2006 DEFAULT_wxUSE_LONGLONG=no
2007 DEFAULT_wxUSE_GEOMETRY=no
2008
2009 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2010 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2011 DEFAULT_wxUSE_POSTSCRIPT=no
2012
2013 DEFAULT_wxUSE_CLIPBOARD=no
2014 DEFAULT_wxUSE_TOOLTIPS=no
2015 DEFAULT_wxUSE_DRAG_AND_DROP=no
2016 DEFAULT_wxUSE_DRAGIMAGE=no
2017 DEFAULT_wxUSE_SPLINES=no
2018
2019 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2020 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2021 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2022
2023 DEFAULT_wxUSE_RESOURCES=no
2024 DEFAULT_wxUSE_CONSTRAINTS=no
2025 DEFAULT_wxUSE_IPC=no
2026 DEFAULT_wxUSE_HELP=no
2027 DEFAULT_wxUSE_MS_HTML_HELP=no
2028 DEFAULT_wxUSE_WXHTML_HELP=no
2029 DEFAULT_wxUSE_TREELAYOUT=no
2030 DEFAULT_wxUSE_METAFILE=no
2031 DEFAULT_wxUSE_MIMETYPE=no
2032 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2033 DEFAULT_wxUSE_PROTOCOL=no
2034 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2035 DEFAULT_wxUSE_PROTOCOL_FTP=no
2036 DEFAULT_wxUSE_PROTOCOL_FILE=no
2037 DEFAULT_wxUSE_URL=no
2038
2039 DEFAULT_wxUSE_COMMONDLGS=no
2040 DEFAULT_wxUSE_CHOICEDLG=no
2041 DEFAULT_wxUSE_COLOURDLG=no
2042 DEFAULT_wxUSE_DIRDLG=no
2043 DEFAULT_wxUSE_FILEDLG=no
2044 DEFAULT_wxUSE_FINDREPLDLG=no
2045 DEFAULT_wxUSE_FONTDLG=no
2046 DEFAULT_wxUSE_MSGDLG=no
2047 DEFAULT_wxUSE_NUMBERDLG=no
2048 DEFAULT_wxUSE_TEXTDLG=no
2049 DEFAULT_wxUSE_SPLASH=no
2050 DEFAULT_wxUSE_STARTUP_TIPS=no
2051 DEFAULT_wxUSE_PROGRESSDLG=no
2052 DEFAULT_wxUSE_WIZARDDLG=no
2053
2054 DEFAULT_wxUSE_MENUS=no
2055 DEFAULT_wxUSE_MINIFRAME=no
2056 DEFAULT_wxUSE_HTML=no
2057 DEFAULT_wxUSE_FILESYSTEM=no
2058 DEFAULT_wxUSE_FS_INET=no
2059 DEFAULT_wxUSE_FS_ZIP=no
2060 DEFAULT_wxUSE_BUSYINFO=no
2061 DEFAULT_wxUSE_ZIPSTREAM=no
2062 DEFAULT_wxUSE_VALIDATORS=no
2063
2064 DEFAULT_wxUSE_ACCEL=no
2065 DEFAULT_wxUSE_BUTTON=no
2066 DEFAULT_wxUSE_BMPBUTTON=no
2067 DEFAULT_wxUSE_CALCTRL=no
2068 DEFAULT_wxUSE_CARET=no
2069 DEFAULT_wxUSE_CHECKBOX=no
2070 DEFAULT_wxUSE_CHECKLST=no
2071 DEFAULT_wxUSE_CHOICE=no
2072 DEFAULT_wxUSE_COMBOBOX=no
2073 DEFAULT_wxUSE_DISPLAY=no
2074 DEFAULT_wxUSE_GAUGE=no
2075 DEFAULT_wxUSE_GRID=no
2076 DEFAULT_wxUSE_IMAGLIST=no
2077 DEFAULT_wxUSE_LISTBOX=no
2078 DEFAULT_wxUSE_LISTCTRL=no
2079 DEFAULT_wxUSE_NOTEBOOK=no
2080 DEFAULT_wxUSE_RADIOBOX=no
2081 DEFAULT_wxUSE_RADIOBTN=no
2082 DEFAULT_wxUSE_SASH=no
2083 DEFAULT_wxUSE_SCROLLBAR=no
2084 DEFAULT_wxUSE_SLIDER=no
2085 DEFAULT_wxUSE_SPINBTN=no
2086 DEFAULT_wxUSE_SPINCTRL=no
2087 DEFAULT_wxUSE_SPLITTER=no
2088 DEFAULT_wxUSE_STATBMP=no
2089 DEFAULT_wxUSE_STATBOX=no
2090 DEFAULT_wxUSE_STATLINE=no
2091 DEFAULT_wxUSE_STATTEXT=no
2092 DEFAULT_wxUSE_STATUSBAR=yes
2093 DEFAULT_wxUSE_TABDIALOG=no
2094 DEFAULT_wxUSE_TEXTCTRL=no
2095 DEFAULT_wxUSE_TOGGLEBTN=no
2096 DEFAULT_wxUSE_TOOLBAR=no
2097 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2098 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2099 DEFAULT_wxUSE_TREECTRL=no
2100 DEFAULT_wxUSE_POPUPWIN=no
2101 DEFAULT_wxUSE_TIPWINDOW=no
2102
2103 DEFAULT_wxUSE_UNICODE=no
2104 DEFAULT_wxUSE_UNICODE_MSLU=no
2105 DEFAULT_wxUSE_WCSRTOMBS=no
2106
2107 DEFAULT_wxUSE_PALETTE=no
2108 DEFAULT_wxUSE_IMAGE=no
2109 DEFAULT_wxUSE_GIF=no
2110 DEFAULT_wxUSE_PCX=no
2111 DEFAULT_wxUSE_PNM=no
2112 DEFAULT_wxUSE_IFF=no
2113 DEFAULT_wxUSE_XPM=no
2114 DEFAULT_wxUSE_ICO_CUR=no
2115 DEFAULT_wxUSE_ACCESSIBILITY=no
2116
2117 DEFAULT_wxUSE_MONOLITHIC=yes
2118 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2119 else
2120 DEFAULT_wxUSE_UNIVERSAL=no
2121 DEFAULT_wxUSE_STL=no
2122
2123 DEFAULT_wxUSE_NANOX=no
2124
2125 DEFAULT_wxUSE_THREADS=yes
2126
2127 DEFAULT_wxUSE_SHARED=yes
2128 DEFAULT_wxUSE_OPTIMISE=yes
2129 DEFAULT_wxUSE_PROFILE=no
2130 DEFAULT_wxUSE_NO_DEPS=no
2131 DEFAULT_wxUSE_NO_RTTI=no
2132 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2133 DEFAULT_wxUSE_PERMISSIVE=no
2134 DEFAULT_wxUSE_DEBUG_FLAG=no
2135 DEFAULT_wxUSE_DEBUG_INFO=no
2136 DEFAULT_wxUSE_DEBUG_GDB=no
2137 DEFAULT_wxUSE_MEM_TRACING=no
2138 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2139 DEFAULT_wxUSE_DMALLOC=no
2140 DEFAULT_wxUSE_APPLE_IEEE=yes
2141
2142 DEFAULT_wxUSE_LOG=yes
2143 DEFAULT_wxUSE_LOGWINDOW=yes
2144 DEFAULT_wxUSE_LOGGUI=yes
2145 DEFAULT_wxUSE_LOGDIALOG=yes
2146
2147 DEFAULT_wxUSE_GUI=yes
2148
2149 DEFAULT_wxUSE_REGEX=yes
2150 DEFAULT_wxUSE_XML=yes
2151 DEFAULT_wxUSE_EXPAT=yes
2152 DEFAULT_wxUSE_ZLIB=yes
2153 DEFAULT_wxUSE_LIBPNG=yes
2154 DEFAULT_wxUSE_LIBJPEG=yes
2155 DEFAULT_wxUSE_LIBTIFF=yes
2156 DEFAULT_wxUSE_ODBC=no
2157 DEFAULT_wxUSE_OPENGL=no
2158
2159 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2160 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2161 DEFAULT_wxUSE_STD_IOSTREAM=no
2162 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2163 DEFAULT_wxUSE_DATETIME=yes
2164 DEFAULT_wxUSE_TIMER=yes
2165 DEFAULT_wxUSE_STOPWATCH=yes
2166 DEFAULT_wxUSE_FILE=yes
2167 DEFAULT_wxUSE_FFILE=yes
2168 DEFAULT_wxUSE_TEXTBUFFER=yes
2169 DEFAULT_wxUSE_TEXTFILE=yes
2170 DEFAULT_wxUSE_WAVE=no
2171 DEFAULT_wxUSE_INTL=yes
2172 DEFAULT_wxUSE_CONFIG=yes
2173 DEFAULT_wxUSE_FONTMAP=yes
2174 DEFAULT_wxUSE_STREAMS=yes
2175 DEFAULT_wxUSE_SOCKETS=yes
2176 DEFAULT_wxUSE_OLE=yes
2177 DEFAULT_wxUSE_DATAOBJ=yes
2178 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2179 DEFAULT_wxUSE_JOYSTICK=yes
2180 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2181 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2182 DEFAULT_wxUSE_LONGLONG=yes
2183 DEFAULT_wxUSE_GEOMETRY=yes
2184
2185 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2186 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2187 DEFAULT_wxUSE_POSTSCRIPT=yes
2188
2189 DEFAULT_wxUSE_CLIPBOARD=yes
2190 DEFAULT_wxUSE_TOOLTIPS=yes
2191 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2192 DEFAULT_wxUSE_DRAGIMAGE=yes
2193 DEFAULT_wxUSE_SPLINES=yes
2194
2195 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2196 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2197 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2198
2199 DEFAULT_wxUSE_RESOURCES=no
2200 DEFAULT_wxUSE_CONSTRAINTS=yes
2201 DEFAULT_wxUSE_IPC=yes
2202 DEFAULT_wxUSE_HELP=yes
2203 DEFAULT_wxUSE_MS_HTML_HELP=yes
2204 DEFAULT_wxUSE_WXHTML_HELP=yes
2205 DEFAULT_wxUSE_TREELAYOUT=yes
2206 DEFAULT_wxUSE_METAFILE=yes
2207 DEFAULT_wxUSE_MIMETYPE=yes
2208 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2209 DEFAULT_wxUSE_PROTOCOL=yes
2210 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2211 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2212 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2213 DEFAULT_wxUSE_URL=yes
2214
2215 DEFAULT_wxUSE_COMMONDLGS=yes
2216 DEFAULT_wxUSE_CHOICEDLG=yes
2217 DEFAULT_wxUSE_COLOURDLG=yes
2218 DEFAULT_wxUSE_DIRDLG=yes
2219 DEFAULT_wxUSE_FILEDLG=yes
2220 DEFAULT_wxUSE_FINDREPLDLG=yes
2221 DEFAULT_wxUSE_FONTDLG=yes
2222 DEFAULT_wxUSE_MSGDLG=yes
2223 DEFAULT_wxUSE_NUMBERDLG=yes
2224 DEFAULT_wxUSE_TEXTDLG=yes
2225 DEFAULT_wxUSE_SPLASH=yes
2226 DEFAULT_wxUSE_STARTUP_TIPS=yes
2227 DEFAULT_wxUSE_PROGRESSDLG=yes
2228 DEFAULT_wxUSE_WIZARDDLG=yes
2229
2230 DEFAULT_wxUSE_MENUS=yes
2231 DEFAULT_wxUSE_MINIFRAME=yes
2232 DEFAULT_wxUSE_HTML=yes
2233 DEFAULT_wxUSE_FILESYSTEM=yes
2234 DEFAULT_wxUSE_FS_INET=yes
2235 DEFAULT_wxUSE_FS_ZIP=yes
2236 DEFAULT_wxUSE_BUSYINFO=yes
2237 DEFAULT_wxUSE_ZIPSTREAM=yes
2238 DEFAULT_wxUSE_VALIDATORS=yes
2239
2240 DEFAULT_wxUSE_ACCEL=yes
2241 DEFAULT_wxUSE_BUTTON=yes
2242 DEFAULT_wxUSE_BMPBUTTON=yes
2243 DEFAULT_wxUSE_CALCTRL=yes
2244 DEFAULT_wxUSE_CARET=yes
2245 DEFAULT_wxUSE_CHECKBOX=yes
2246 DEFAULT_wxUSE_CHECKLST=yes
2247 DEFAULT_wxUSE_CHOICE=yes
2248 DEFAULT_wxUSE_COMBOBOX=yes
2249 DEFAULT_wxUSE_DISPLAY=no
2250 DEFAULT_wxUSE_GAUGE=yes
2251 DEFAULT_wxUSE_GRID=yes
2252 DEFAULT_wxUSE_IMAGLIST=yes
2253 DEFAULT_wxUSE_LISTBOX=yes
2254 DEFAULT_wxUSE_LISTCTRL=yes
2255 DEFAULT_wxUSE_NOTEBOOK=yes
2256 DEFAULT_wxUSE_RADIOBOX=yes
2257 DEFAULT_wxUSE_RADIOBTN=yes
2258 DEFAULT_wxUSE_SASH=yes
2259 DEFAULT_wxUSE_SCROLLBAR=yes
2260 DEFAULT_wxUSE_SLIDER=yes
2261 DEFAULT_wxUSE_SPINBTN=yes
2262 DEFAULT_wxUSE_SPINCTRL=yes
2263 DEFAULT_wxUSE_SPLITTER=yes
2264 DEFAULT_wxUSE_STATBMP=yes
2265 DEFAULT_wxUSE_STATBOX=yes
2266 DEFAULT_wxUSE_STATLINE=yes
2267 DEFAULT_wxUSE_STATTEXT=yes
2268 DEFAULT_wxUSE_STATUSBAR=yes
2269 DEFAULT_wxUSE_TABDIALOG=no
2270 DEFAULT_wxUSE_TEXTCTRL=yes
2271 DEFAULT_wxUSE_TOGGLEBTN=yes
2272 DEFAULT_wxUSE_TOOLBAR=yes
2273 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2274 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2275 DEFAULT_wxUSE_TREECTRL=yes
2276 DEFAULT_wxUSE_POPUPWIN=yes
2277 DEFAULT_wxUSE_TIPWINDOW=yes
2278
2279 DEFAULT_wxUSE_UNICODE=no
2280 DEFAULT_wxUSE_UNICODE_MSLU=yes
2281 DEFAULT_wxUSE_WCSRTOMBS=no
2282
2283 DEFAULT_wxUSE_PALETTE=yes
2284 DEFAULT_wxUSE_IMAGE=yes
2285 DEFAULT_wxUSE_GIF=yes
2286 DEFAULT_wxUSE_PCX=yes
2287 DEFAULT_wxUSE_IFF=no
2288 DEFAULT_wxUSE_PNM=yes
2289 DEFAULT_wxUSE_XPM=yes
2290 DEFAULT_wxUSE_ICO_CUR=yes
2291 DEFAULT_wxUSE_ACCESSIBILITY=no
2292
2293 DEFAULT_wxUSE_MONOLITHIC=yes
2294 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2295 fi
2296
2297
2298
2299 for toolkit in `echo $ALL_TOOLKITS`; do
2300 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2301 if test "x$LINE" != "x" ; then
2302 has_toolkit_in_cache=1
2303 eval "DEFAULT_$LINE"
2304 eval "CACHE_$toolkit=1"
2305 fi
2306 done
2307
2308
2309
2310 enablestring=
2311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2312 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2313 no_cache=0
2314 # Check whether --enable-gui or --disable-gui was given.
2315 if test "${enable_gui+set}" = set; then
2316 enableval="$enable_gui"
2317
2318 if test "$enableval" = yes; then
2319 ac_cv_use_gui='wxUSE_GUI=yes'
2320 else
2321 ac_cv_use_gui='wxUSE_GUI=no'
2322 fi
2323
2324 else
2325
2326 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2327 if test "x$LINE" != x ; then
2328 eval "DEFAULT_$LINE"
2329 else
2330 no_cache=1
2331 fi
2332
2333 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2334
2335 fi;
2336
2337 eval "$ac_cv_use_gui"
2338 if test "$no_cache" != 1; then
2339 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2340 fi
2341
2342 if test "$wxUSE_GUI" = yes; then
2343 echo "$as_me:$LINENO: result: yes" >&5
2344 echo "${ECHO_T}yes" >&6
2345 else
2346 echo "$as_me:$LINENO: result: no" >&5
2347 echo "${ECHO_T}no" >&6
2348 fi
2349
2350
2351 enablestring=
2352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2353 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2354 no_cache=0
2355 # Check whether --enable-monolithic or --disable-monolithic was given.
2356 if test "${enable_monolithic+set}" = set; then
2357 enableval="$enable_monolithic"
2358
2359 if test "$enableval" = yes; then
2360 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2361 else
2362 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2363 fi
2364
2365 else
2366
2367 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2368 if test "x$LINE" != x ; then
2369 eval "DEFAULT_$LINE"
2370 else
2371 no_cache=1
2372 fi
2373
2374 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2375
2376 fi;
2377
2378 eval "$ac_cv_use_monolithic"
2379 if test "$no_cache" != 1; then
2380 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2381 fi
2382
2383 if test "$wxUSE_MONOLITHIC" = yes; then
2384 echo "$as_me:$LINENO: result: yes" >&5
2385 echo "${ECHO_T}yes" >&6
2386 else
2387 echo "$as_me:$LINENO: result: no" >&5
2388 echo "${ECHO_T}no" >&6
2389 fi
2390
2391
2392 if test "$wxUSE_GUI" = "yes"; then
2393
2394
2395 enablestring=
2396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2397 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2398 no_cache=0
2399 # Check whether --enable-universal or --disable-universal was given.
2400 if test "${enable_universal+set}" = set; then
2401 enableval="$enable_universal"
2402
2403 if test "$enableval" = yes; then
2404 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2405 else
2406 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2407 fi
2408
2409 else
2410
2411 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2412 if test "x$LINE" != x ; then
2413 eval "DEFAULT_$LINE"
2414 else
2415 no_cache=1
2416 fi
2417
2418 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2419
2420 fi;
2421
2422 eval "$ac_cv_use_universal"
2423 if test "$no_cache" != 1; then
2424 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2425 fi
2426
2427 if test "$wxUSE_UNIVERSAL" = yes; then
2428 echo "$as_me:$LINENO: result: yes" >&5
2429 echo "${ECHO_T}yes" >&6
2430 else
2431 echo "$as_me:$LINENO: result: no" >&5
2432 echo "${ECHO_T}no" >&6
2433 fi
2434
2435
2436 # Check whether --with-gtk or --without-gtk was given.
2437 if test "${with_gtk+set}" = set; then
2438 withval="$with_gtk"
2439 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2440 fi;
2441
2442 # Check whether --with-motif or --without-motif was given.
2443 if test "${with_motif+set}" = set; then
2444 withval="$with_motif"
2445 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2446 fi;
2447
2448 # Check whether --with-mac or --without-mac was given.
2449 if test "${with_mac+set}" = set; then
2450 withval="$with_mac"
2451 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2452 fi;
2453
2454 # Check whether --with-cocoa or --without-cocoa was given.
2455 if test "${with_cocoa+set}" = set; then
2456 withval="$with_cocoa"
2457 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2458 fi;
2459
2460 # Check whether --with-wine or --without-wine was given.
2461 if test "${with_wine+set}" = set; then
2462 withval="$with_wine"
2463 wxUSE_WINE="$withval" CACHE_WINE=1
2464 fi;
2465
2466 # Check whether --with-msw or --without-msw was given.
2467 if test "${with_msw+set}" = set; then
2468 withval="$with_msw"
2469 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2470 fi;
2471
2472 # Check whether --with-pm or --without-pm was given.
2473 if test "${with_pm+set}" = set; then
2474 withval="$with_pm"
2475 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2476 fi;
2477
2478 # Check whether --with-mgl or --without-mgl was given.
2479 if test "${with_mgl+set}" = set; then
2480 withval="$with_mgl"
2481 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2482 fi;
2483
2484 # Check whether --with-microwin or --without-microwin was given.
2485 if test "${with_microwin+set}" = set; then
2486 withval="$with_microwin"
2487 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2488 fi;
2489
2490 # Check whether --with-x11 or --without-x11 was given.
2491 if test "${with_x11+set}" = set; then
2492 withval="$with_x11"
2493 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2494 fi;
2495
2496 enablestring=
2497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2498 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2499 no_cache=0
2500 # Check whether --enable-nanox or --disable-nanox was given.
2501 if test "${enable_nanox+set}" = set; then
2502 enableval="$enable_nanox"
2503
2504 if test "$enableval" = yes; then
2505 ac_cv_use_nanox='wxUSE_NANOX=yes'
2506 else
2507 ac_cv_use_nanox='wxUSE_NANOX=no'
2508 fi
2509
2510 else
2511
2512 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2513 if test "x$LINE" != x ; then
2514 eval "DEFAULT_$LINE"
2515 else
2516 no_cache=1
2517 fi
2518
2519 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2520
2521 fi;
2522
2523 eval "$ac_cv_use_nanox"
2524 if test "$no_cache" != 1; then
2525 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2526 fi
2527
2528 if test "$wxUSE_NANOX" = yes; then
2529 echo "$as_me:$LINENO: result: yes" >&5
2530 echo "${ECHO_T}yes" >&6
2531 else
2532 echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6
2534 fi
2535
2536
2537
2538 enablestring=
2539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2540 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2541 no_cache=0
2542 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2543 if test "${enable_gtk2+set}" = set; then
2544 enableval="$enable_gtk2"
2545
2546 if test "$enableval" = yes; then
2547 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2548 else
2549 ac_cv_use_gtk2='wxUSE_GTK2=no'
2550 fi
2551
2552 else
2553
2554 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2555 if test "x$LINE" != x ; then
2556 eval "DEFAULT_$LINE"
2557 else
2558 no_cache=1
2559 fi
2560
2561 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2562
2563 fi;
2564
2565 eval "$ac_cv_use_gtk2"
2566 if test "$no_cache" != 1; then
2567 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2568 fi
2569
2570 if test "$wxUSE_GTK2" = yes; then
2571 echo "$as_me:$LINENO: result: yes" >&5
2572 echo "${ECHO_T}yes" >&6
2573 else
2574 echo "$as_me:$LINENO: result: no" >&5
2575 echo "${ECHO_T}no" >&6
2576 fi
2577
2578
2579
2580 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2581 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2582 no_cache=0
2583
2584 # Check whether --with-libpng or --without-libpng was given.
2585 if test "${with_libpng+set}" = set; then
2586 withval="$with_libpng"
2587
2588 if test "$withval" = yes; then
2589 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2590 elif test "$withval" = no; then
2591 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2592 elif test "$withval" = sys; then
2593 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2594 elif test "$withval" = builtin; then
2595 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2596 else
2597 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2598 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2599 { (exit 1); exit 1; }; }
2600 fi
2601
2602 else
2603
2604 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2605 if test "x$LINE" != x ; then
2606 eval "DEFAULT_$LINE"
2607 else
2608 no_cache=1
2609 fi
2610
2611 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2612
2613 fi;
2614
2615 eval "$ac_cv_use_libpng"
2616 if test "$no_cache" != 1; then
2617 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2618 fi
2619
2620 if test "$wxUSE_LIBPNG" = yes; then
2621 echo "$as_me:$LINENO: result: yes" >&5
2622 echo "${ECHO_T}yes" >&6
2623 elif test "$wxUSE_LIBPNG" = no; then
2624 echo "$as_me:$LINENO: result: no" >&5
2625 echo "${ECHO_T}no" >&6
2626 elif test "$wxUSE_LIBPNG" = sys; then
2627 echo "$as_me:$LINENO: result: system version" >&5
2628 echo "${ECHO_T}system version" >&6
2629 elif test "$wxUSE_LIBPNG" = builtin; then
2630 echo "$as_me:$LINENO: result: builtin version" >&5
2631 echo "${ECHO_T}builtin version" >&6
2632 else
2633 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2634 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2635 { (exit 1); exit 1; }; }
2636 fi
2637
2638
2639 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2640 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2641 no_cache=0
2642
2643 # Check whether --with-libjpeg or --without-libjpeg was given.
2644 if test "${with_libjpeg+set}" = set; then
2645 withval="$with_libjpeg"
2646
2647 if test "$withval" = yes; then
2648 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2649 elif test "$withval" = no; then
2650 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2651 elif test "$withval" = sys; then
2652 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2653 elif test "$withval" = builtin; then
2654 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2655 else
2656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2657 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2658 { (exit 1); exit 1; }; }
2659 fi
2660
2661 else
2662
2663 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2664 if test "x$LINE" != x ; then
2665 eval "DEFAULT_$LINE"
2666 else
2667 no_cache=1
2668 fi
2669
2670 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2671
2672 fi;
2673
2674 eval "$ac_cv_use_libjpeg"
2675 if test "$no_cache" != 1; then
2676 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2677 fi
2678
2679 if test "$wxUSE_LIBJPEG" = yes; then
2680 echo "$as_me:$LINENO: result: yes" >&5
2681 echo "${ECHO_T}yes" >&6
2682 elif test "$wxUSE_LIBJPEG" = no; then
2683 echo "$as_me:$LINENO: result: no" >&5
2684 echo "${ECHO_T}no" >&6
2685 elif test "$wxUSE_LIBJPEG" = sys; then
2686 echo "$as_me:$LINENO: result: system version" >&5
2687 echo "${ECHO_T}system version" >&6
2688 elif test "$wxUSE_LIBJPEG" = builtin; then
2689 echo "$as_me:$LINENO: result: builtin version" >&5
2690 echo "${ECHO_T}builtin version" >&6
2691 else
2692 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2693 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2694 { (exit 1); exit 1; }; }
2695 fi
2696
2697
2698 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2699 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2700 no_cache=0
2701
2702 # Check whether --with-libtiff or --without-libtiff was given.
2703 if test "${with_libtiff+set}" = set; then
2704 withval="$with_libtiff"
2705
2706 if test "$withval" = yes; then
2707 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2708 elif test "$withval" = no; then
2709 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2710 elif test "$withval" = sys; then
2711 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2712 elif test "$withval" = builtin; then
2713 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2714 else
2715 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2716 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2717 { (exit 1); exit 1; }; }
2718 fi
2719
2720 else
2721
2722 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2723 if test "x$LINE" != x ; then
2724 eval "DEFAULT_$LINE"
2725 else
2726 no_cache=1
2727 fi
2728
2729 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2730
2731 fi;
2732
2733 eval "$ac_cv_use_libtiff"
2734 if test "$no_cache" != 1; then
2735 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2736 fi
2737
2738 if test "$wxUSE_LIBTIFF" = yes; then
2739 echo "$as_me:$LINENO: result: yes" >&5
2740 echo "${ECHO_T}yes" >&6
2741 elif test "$wxUSE_LIBTIFF" = no; then
2742 echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6
2744 elif test "$wxUSE_LIBTIFF" = sys; then
2745 echo "$as_me:$LINENO: result: system version" >&5
2746 echo "${ECHO_T}system version" >&6
2747 elif test "$wxUSE_LIBTIFF" = builtin; then
2748 echo "$as_me:$LINENO: result: builtin version" >&5
2749 echo "${ECHO_T}builtin version" >&6
2750 else
2751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2752 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2753 { (exit 1); exit 1; }; }
2754 fi
2755
2756
2757 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2758 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2759 no_cache=0
2760
2761 # Check whether --with-opengl or --without-opengl was given.
2762 if test "${with_opengl+set}" = set; then
2763 withval="$with_opengl"
2764
2765 if test "$withval" = yes; then
2766 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2767 else
2768 ac_cv_use_opengl='wxUSE_OPENGL=no'
2769 fi
2770
2771 else
2772
2773 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2774 if test "x$LINE" != x ; then
2775 eval "DEFAULT_$LINE"
2776 else
2777 no_cache=1
2778 fi
2779
2780 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2781
2782 fi;
2783
2784 eval "$ac_cv_use_opengl"
2785 if test "$no_cache" != 1; then
2786 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2787 fi
2788
2789 if test "$wxUSE_OPENGL" = yes; then
2790 echo "$as_me:$LINENO: result: yes" >&5
2791 echo "${ECHO_T}yes" >&6
2792 else
2793 echo "$as_me:$LINENO: result: no" >&5
2794 echo "${ECHO_T}no" >&6
2795 fi
2796
2797
2798 fi
2799
2800
2801 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2802 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2803 no_cache=0
2804
2805 # Check whether --with-dmalloc or --without-dmalloc was given.
2806 if test "${with_dmalloc+set}" = set; then
2807 withval="$with_dmalloc"
2808
2809 if test "$withval" = yes; then
2810 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2811 else
2812 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2813 fi
2814
2815 else
2816
2817 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2818 if test "x$LINE" != x ; then
2819 eval "DEFAULT_$LINE"
2820 else
2821 no_cache=1
2822 fi
2823
2824 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2825
2826 fi;
2827
2828 eval "$ac_cv_use_dmalloc"
2829 if test "$no_cache" != 1; then
2830 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2831 fi
2832
2833 if test "$wxUSE_DMALLOC" = yes; then
2834 echo "$as_me:$LINENO: result: yes" >&5
2835 echo "${ECHO_T}yes" >&6
2836 else
2837 echo "$as_me:$LINENO: result: no" >&5
2838 echo "${ECHO_T}no" >&6
2839 fi
2840
2841
2842 echo "$as_me:$LINENO: checking for --with-regex" >&5
2843 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2844 no_cache=0
2845
2846 # Check whether --with-regex or --without-regex was given.
2847 if test "${with_regex+set}" = set; then
2848 withval="$with_regex"
2849
2850 if test "$withval" = yes; then
2851 ac_cv_use_regex='wxUSE_REGEX=yes'
2852 elif test "$withval" = no; then
2853 ac_cv_use_regex='wxUSE_REGEX=no'
2854 elif test "$withval" = sys; then
2855 ac_cv_use_regex='wxUSE_REGEX=sys'
2856 elif test "$withval" = builtin; then
2857 ac_cv_use_regex='wxUSE_REGEX=builtin'
2858 else
2859 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2860 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2861 { (exit 1); exit 1; }; }
2862 fi
2863
2864 else
2865
2866 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2867 if test "x$LINE" != x ; then
2868 eval "DEFAULT_$LINE"
2869 else
2870 no_cache=1
2871 fi
2872
2873 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2874
2875 fi;
2876
2877 eval "$ac_cv_use_regex"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2880 fi
2881
2882 if test "$wxUSE_REGEX" = yes; then
2883 echo "$as_me:$LINENO: result: yes" >&5
2884 echo "${ECHO_T}yes" >&6
2885 elif test "$wxUSE_REGEX" = no; then
2886 echo "$as_me:$LINENO: result: no" >&5
2887 echo "${ECHO_T}no" >&6
2888 elif test "$wxUSE_REGEX" = sys; then
2889 echo "$as_me:$LINENO: result: system version" >&5
2890 echo "${ECHO_T}system version" >&6
2891 elif test "$wxUSE_REGEX" = builtin; then
2892 echo "$as_me:$LINENO: result: builtin version" >&5
2893 echo "${ECHO_T}builtin version" >&6
2894 else
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2898 fi
2899
2900
2901 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2902 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2903 no_cache=0
2904
2905 # Check whether --with-zlib or --without-zlib was given.
2906 if test "${with_zlib+set}" = set; then
2907 withval="$with_zlib"
2908
2909 if test "$withval" = yes; then
2910 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2911 elif test "$withval" = no; then
2912 ac_cv_use_zlib='wxUSE_ZLIB=no'
2913 elif test "$withval" = sys; then
2914 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2915 elif test "$withval" = builtin; then
2916 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2917 else
2918 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2919 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2920 { (exit 1); exit 1; }; }
2921 fi
2922
2923 else
2924
2925 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2926 if test "x$LINE" != x ; then
2927 eval "DEFAULT_$LINE"
2928 else
2929 no_cache=1
2930 fi
2931
2932 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2933
2934 fi;
2935
2936 eval "$ac_cv_use_zlib"
2937 if test "$no_cache" != 1; then
2938 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2939 fi
2940
2941 if test "$wxUSE_ZLIB" = yes; then
2942 echo "$as_me:$LINENO: result: yes" >&5
2943 echo "${ECHO_T}yes" >&6
2944 elif test "$wxUSE_ZLIB" = no; then
2945 echo "$as_me:$LINENO: result: no" >&5
2946 echo "${ECHO_T}no" >&6
2947 elif test "$wxUSE_ZLIB" = sys; then
2948 echo "$as_me:$LINENO: result: system version" >&5
2949 echo "${ECHO_T}system version" >&6
2950 elif test "$wxUSE_ZLIB" = builtin; then
2951 echo "$as_me:$LINENO: result: builtin version" >&5
2952 echo "${ECHO_T}builtin version" >&6
2953 else
2954 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2955 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2956 { (exit 1); exit 1; }; }
2957 fi
2958
2959
2960 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2961 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2962 no_cache=0
2963
2964 # Check whether --with-odbc or --without-odbc was given.
2965 if test "${with_odbc+set}" = set; then
2966 withval="$with_odbc"
2967
2968 if test "$withval" = yes; then
2969 ac_cv_use_odbc='wxUSE_ODBC=yes'
2970 elif test "$withval" = no; then
2971 ac_cv_use_odbc='wxUSE_ODBC=no'
2972 elif test "$withval" = sys; then
2973 ac_cv_use_odbc='wxUSE_ODBC=sys'
2974 elif test "$withval" = builtin; then
2975 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2976 else
2977 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2978 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2979 { (exit 1); exit 1; }; }
2980 fi
2981
2982 else
2983
2984 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x ; then
2986 eval "DEFAULT_$LINE"
2987 else
2988 no_cache=1
2989 fi
2990
2991 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2992
2993 fi;
2994
2995 eval "$ac_cv_use_odbc"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2998 fi
2999
3000 if test "$wxUSE_ODBC" = yes; then
3001 echo "$as_me:$LINENO: result: yes" >&5
3002 echo "${ECHO_T}yes" >&6
3003 elif test "$wxUSE_ODBC" = no; then
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3006 elif test "$wxUSE_ODBC" = sys; then
3007 echo "$as_me:$LINENO: result: system version" >&5
3008 echo "${ECHO_T}system version" >&6
3009 elif test "$wxUSE_ODBC" = builtin; then
3010 echo "$as_me:$LINENO: result: builtin version" >&5
3011 echo "${ECHO_T}builtin version" >&6
3012 else
3013 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3014 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3015 { (exit 1); exit 1; }; }
3016 fi
3017
3018
3019 echo "$as_me:$LINENO: checking for --with-expat" >&5
3020 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3021 no_cache=0
3022
3023 # Check whether --with-expat or --without-expat was given.
3024 if test "${with_expat+set}" = set; then
3025 withval="$with_expat"
3026
3027 if test "$withval" = yes; then
3028 ac_cv_use_expat='wxUSE_EXPAT=yes'
3029 elif test "$withval" = no; then
3030 ac_cv_use_expat='wxUSE_EXPAT=no'
3031 elif test "$withval" = sys; then
3032 ac_cv_use_expat='wxUSE_EXPAT=sys'
3033 elif test "$withval" = builtin; then
3034 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3035 else
3036 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3037 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3038 { (exit 1); exit 1; }; }
3039 fi
3040
3041 else
3042
3043 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3044 if test "x$LINE" != x ; then
3045 eval "DEFAULT_$LINE"
3046 else
3047 no_cache=1
3048 fi
3049
3050 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3051
3052 fi;
3053
3054 eval "$ac_cv_use_expat"
3055 if test "$no_cache" != 1; then
3056 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3057 fi
3058
3059 if test "$wxUSE_EXPAT" = yes; then
3060 echo "$as_me:$LINENO: result: yes" >&5
3061 echo "${ECHO_T}yes" >&6
3062 elif test "$wxUSE_EXPAT" = no; then
3063 echo "$as_me:$LINENO: result: no" >&5
3064 echo "${ECHO_T}no" >&6
3065 elif test "$wxUSE_EXPAT" = sys; then
3066 echo "$as_me:$LINENO: result: system version" >&5
3067 echo "${ECHO_T}system version" >&6
3068 elif test "$wxUSE_EXPAT" = builtin; then
3069 echo "$as_me:$LINENO: result: builtin version" >&5
3070 echo "${ECHO_T}builtin version" >&6
3071 else
3072 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3073 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3074 { (exit 1); exit 1; }; }
3075 fi
3076
3077
3078
3079
3080 enablestring=
3081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3082 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3083 no_cache=0
3084 # Check whether --enable-shared or --disable-shared was given.
3085 if test "${enable_shared+set}" = set; then
3086 enableval="$enable_shared"
3087
3088 if test "$enableval" = yes; then
3089 ac_cv_use_shared='wxUSE_SHARED=yes'
3090 else
3091 ac_cv_use_shared='wxUSE_SHARED=no'
3092 fi
3093
3094 else
3095
3096 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x ; then
3098 eval "DEFAULT_$LINE"
3099 else
3100 no_cache=1
3101 fi
3102
3103 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3104
3105 fi;
3106
3107 eval "$ac_cv_use_shared"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3110 fi
3111
3112 if test "$wxUSE_SHARED" = yes; then
3113 echo "$as_me:$LINENO: result: yes" >&5
3114 echo "${ECHO_T}yes" >&6
3115 else
3116 echo "$as_me:$LINENO: result: no" >&5
3117 echo "${ECHO_T}no" >&6
3118 fi
3119
3120
3121 enablestring=
3122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3123 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3124 no_cache=0
3125 # Check whether --enable-optimise or --disable-optimise was given.
3126 if test "${enable_optimise+set}" = set; then
3127 enableval="$enable_optimise"
3128
3129 if test "$enableval" = yes; then
3130 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3131 else
3132 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3133 fi
3134
3135 else
3136
3137 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x ; then
3139 eval "DEFAULT_$LINE"
3140 else
3141 no_cache=1
3142 fi
3143
3144 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3145
3146 fi;
3147
3148 eval "$ac_cv_use_optimise"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3151 fi
3152
3153 if test "$wxUSE_OPTIMISE" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155 echo "${ECHO_T}yes" >&6
3156 else
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3159 fi
3160
3161
3162 enablestring=
3163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3164 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3165 no_cache=0
3166 # Check whether --enable-debug or --disable-debug was given.
3167 if test "${enable_debug+set}" = set; then
3168 enableval="$enable_debug"
3169
3170 if test "$enableval" = yes; then
3171 ac_cv_use_debug='wxUSE_DEBUG=yes'
3172 else
3173 ac_cv_use_debug='wxUSE_DEBUG=no'
3174 fi
3175
3176 else
3177
3178 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x ; then
3180 eval "DEFAULT_$LINE"
3181 else
3182 no_cache=1
3183 fi
3184
3185 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3186
3187 fi;
3188
3189 eval "$ac_cv_use_debug"
3190 if test "$no_cache" != 1; then
3191 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3192 fi
3193
3194 if test "$wxUSE_DEBUG" = yes; then
3195 echo "$as_me:$LINENO: result: yes" >&5
3196 echo "${ECHO_T}yes" >&6
3197 else
3198 echo "$as_me:$LINENO: result: no" >&5
3199 echo "${ECHO_T}no" >&6
3200 fi
3201
3202
3203 enablestring=
3204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3205 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3206 no_cache=0
3207 # Check whether --enable-stl or --disable-stl was given.
3208 if test "${enable_stl+set}" = set; then
3209 enableval="$enable_stl"
3210
3211 if test "$enableval" = yes; then
3212 ac_cv_use_stl='wxUSE_STL=yes'
3213 else
3214 ac_cv_use_stl='wxUSE_STL=no'
3215 fi
3216
3217 else
3218
3219 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3220 if test "x$LINE" != x ; then
3221 eval "DEFAULT_$LINE"
3222 else
3223 no_cache=1
3224 fi
3225
3226 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3227
3228 fi;
3229
3230 eval "$ac_cv_use_stl"
3231 if test "$no_cache" != 1; then
3232 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3233 fi
3234
3235 if test "$wxUSE_STL" = yes; then
3236 echo "$as_me:$LINENO: result: yes" >&5
3237 echo "${ECHO_T}yes" >&6
3238 else
3239 echo "$as_me:$LINENO: result: no" >&5
3240 echo "${ECHO_T}no" >&6
3241 fi
3242
3243
3244 if test "$wxUSE_DEBUG" = "yes"; then
3245 DEFAULT_wxUSE_DEBUG_FLAG=yes
3246 DEFAULT_wxUSE_DEBUG_INFO=yes
3247 elif test "$wxUSE_DEBUG" = "no"; then
3248 DEFAULT_wxUSE_DEBUG_FLAG=no
3249 DEFAULT_wxUSE_DEBUG_INFO=no
3250 fi
3251
3252
3253 enablestring=
3254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3255 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3256 no_cache=0
3257 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3258 if test "${enable_debug_flag+set}" = set; then
3259 enableval="$enable_debug_flag"
3260
3261 if test "$enableval" = yes; then
3262 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3263 else
3264 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3265 fi
3266
3267 else
3268
3269 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3270 if test "x$LINE" != x ; then
3271 eval "DEFAULT_$LINE"
3272 else
3273 no_cache=1
3274 fi
3275
3276 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3277
3278 fi;
3279
3280 eval "$ac_cv_use_debug_flag"
3281 if test "$no_cache" != 1; then
3282 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3283 fi
3284
3285 if test "$wxUSE_DEBUG_FLAG" = yes; then
3286 echo "$as_me:$LINENO: result: yes" >&5
3287 echo "${ECHO_T}yes" >&6
3288 else
3289 echo "$as_me:$LINENO: result: no" >&5
3290 echo "${ECHO_T}no" >&6
3291 fi
3292
3293
3294 enablestring=
3295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3296 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3297 no_cache=0
3298 # Check whether --enable-debug_info or --disable-debug_info was given.
3299 if test "${enable_debug_info+set}" = set; then
3300 enableval="$enable_debug_info"
3301
3302 if test "$enableval" = yes; then
3303 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3304 else
3305 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3306 fi
3307
3308 else
3309
3310 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3311 if test "x$LINE" != x ; then
3312 eval "DEFAULT_$LINE"
3313 else
3314 no_cache=1
3315 fi
3316
3317 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3318
3319 fi;
3320
3321 eval "$ac_cv_use_debug_info"
3322 if test "$no_cache" != 1; then
3323 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3324 fi
3325
3326 if test "$wxUSE_DEBUG_INFO" = yes; then
3327 echo "$as_me:$LINENO: result: yes" >&5
3328 echo "${ECHO_T}yes" >&6
3329 else
3330 echo "$as_me:$LINENO: result: no" >&5
3331 echo "${ECHO_T}no" >&6
3332 fi
3333
3334
3335 enablestring=
3336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3337 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3338 no_cache=0
3339 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3340 if test "${enable_debug_gdb+set}" = set; then
3341 enableval="$enable_debug_gdb"
3342
3343 if test "$enableval" = yes; then
3344 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3345 else
3346 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3347 fi
3348
3349 else
3350
3351 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3352 if test "x$LINE" != x ; then
3353 eval "DEFAULT_$LINE"
3354 else
3355 no_cache=1
3356 fi
3357
3358 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3359
3360 fi;
3361
3362 eval "$ac_cv_use_debug_gdb"
3363 if test "$no_cache" != 1; then
3364 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3365 fi
3366
3367 if test "$wxUSE_DEBUG_GDB" = yes; then
3368 echo "$as_me:$LINENO: result: yes" >&5
3369 echo "${ECHO_T}yes" >&6
3370 else
3371 echo "$as_me:$LINENO: result: no" >&5
3372 echo "${ECHO_T}no" >&6
3373 fi
3374
3375
3376 enablestring=
3377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3378 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3379 no_cache=0
3380 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3381 if test "${enable_debug_cntxt+set}" = set; then
3382 enableval="$enable_debug_cntxt"
3383
3384 if test "$enableval" = yes; then
3385 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3386 else
3387 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3388 fi
3389
3390 else
3391
3392 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3393 if test "x$LINE" != x ; then
3394 eval "DEFAULT_$LINE"
3395 else
3396 no_cache=1
3397 fi
3398
3399 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3400
3401 fi;
3402
3403 eval "$ac_cv_use_debug_cntxt"
3404 if test "$no_cache" != 1; then
3405 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3406 fi
3407
3408 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3409 echo "$as_me:$LINENO: result: yes" >&5
3410 echo "${ECHO_T}yes" >&6
3411 else
3412 echo "$as_me:$LINENO: result: no" >&5
3413 echo "${ECHO_T}no" >&6
3414 fi
3415
3416
3417 enablestring=
3418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3419 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3420 no_cache=0
3421 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3422 if test "${enable_mem_tracing+set}" = set; then
3423 enableval="$enable_mem_tracing"
3424
3425 if test "$enableval" = yes; then
3426 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3427 else
3428 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3429 fi
3430
3431 else
3432
3433 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3434 if test "x$LINE" != x ; then
3435 eval "DEFAULT_$LINE"
3436 else
3437 no_cache=1
3438 fi
3439
3440 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3441
3442 fi;
3443
3444 eval "$ac_cv_use_mem_tracing"
3445 if test "$no_cache" != 1; then
3446 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3447 fi
3448
3449 if test "$wxUSE_MEM_TRACING" = yes; then
3450 echo "$as_me:$LINENO: result: yes" >&5
3451 echo "${ECHO_T}yes" >&6
3452 else
3453 echo "$as_me:$LINENO: result: no" >&5
3454 echo "${ECHO_T}no" >&6
3455 fi
3456
3457
3458 enablestring=
3459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3460 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3461 no_cache=0
3462 # Check whether --enable-profile or --disable-profile was given.
3463 if test "${enable_profile+set}" = set; then
3464 enableval="$enable_profile"
3465
3466 if test "$enableval" = yes; then
3467 ac_cv_use_profile='wxUSE_PROFILE=yes'
3468 else
3469 ac_cv_use_profile='wxUSE_PROFILE=no'
3470 fi
3471
3472 else
3473
3474 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3475 if test "x$LINE" != x ; then
3476 eval "DEFAULT_$LINE"
3477 else
3478 no_cache=1
3479 fi
3480
3481 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3482
3483 fi;
3484
3485 eval "$ac_cv_use_profile"
3486 if test "$no_cache" != 1; then
3487 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3488 fi
3489
3490 if test "$wxUSE_PROFILE" = yes; then
3491 echo "$as_me:$LINENO: result: yes" >&5
3492 echo "${ECHO_T}yes" >&6
3493 else
3494 echo "$as_me:$LINENO: result: no" >&5
3495 echo "${ECHO_T}no" >&6
3496 fi
3497
3498
3499 enablestring=
3500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3501 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3502 no_cache=0
3503 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3504 if test "${enable_no_rtti+set}" = set; then
3505 enableval="$enable_no_rtti"
3506
3507 if test "$enableval" = yes; then
3508 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3509 else
3510 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3511 fi
3512
3513 else
3514
3515 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3516 if test "x$LINE" != x ; then
3517 eval "DEFAULT_$LINE"
3518 else
3519 no_cache=1
3520 fi
3521
3522 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3523
3524 fi;
3525
3526 eval "$ac_cv_use_no_rtti"
3527 if test "$no_cache" != 1; then
3528 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3529 fi
3530
3531 if test "$wxUSE_NO_RTTI" = yes; then
3532 echo "$as_me:$LINENO: result: yes" >&5
3533 echo "${ECHO_T}yes" >&6
3534 else
3535 echo "$as_me:$LINENO: result: no" >&5
3536 echo "${ECHO_T}no" >&6
3537 fi
3538
3539
3540 enablestring=
3541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3542 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3543 no_cache=0
3544 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3545 if test "${enable_no_exceptions+set}" = set; then
3546 enableval="$enable_no_exceptions"
3547
3548 if test "$enableval" = yes; then
3549 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3550 else
3551 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3552 fi
3553
3554 else
3555
3556 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3557 if test "x$LINE" != x ; then
3558 eval "DEFAULT_$LINE"
3559 else
3560 no_cache=1
3561 fi
3562
3563 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3564
3565 fi;
3566
3567 eval "$ac_cv_use_no_exceptions"
3568 if test "$no_cache" != 1; then
3569 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3570 fi
3571
3572 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3573 echo "$as_me:$LINENO: result: yes" >&5
3574 echo "${ECHO_T}yes" >&6
3575 else
3576 echo "$as_me:$LINENO: result: no" >&5
3577 echo "${ECHO_T}no" >&6
3578 fi
3579
3580
3581 enablestring=
3582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3583 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3584 no_cache=0
3585 # Check whether --enable-permissive or --disable-permissive was given.
3586 if test "${enable_permissive+set}" = set; then
3587 enableval="$enable_permissive"
3588
3589 if test "$enableval" = yes; then
3590 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3591 else
3592 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3593 fi
3594
3595 else
3596
3597 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3598 if test "x$LINE" != x ; then
3599 eval "DEFAULT_$LINE"
3600 else
3601 no_cache=1
3602 fi
3603
3604 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3605
3606 fi;
3607
3608 eval "$ac_cv_use_permissive"
3609 if test "$no_cache" != 1; then
3610 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3611 fi
3612
3613 if test "$wxUSE_PERMISSIVE" = yes; then
3614 echo "$as_me:$LINENO: result: yes" >&5
3615 echo "${ECHO_T}yes" >&6
3616 else
3617 echo "$as_me:$LINENO: result: no" >&5
3618 echo "${ECHO_T}no" >&6
3619 fi
3620
3621
3622 enablestring=
3623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3624 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3625 no_cache=0
3626 # Check whether --enable-no_deps or --disable-no_deps was given.
3627 if test "${enable_no_deps+set}" = set; then
3628 enableval="$enable_no_deps"
3629
3630 if test "$enableval" = yes; then
3631 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3632 else
3633 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3634 fi
3635
3636 else
3637
3638 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3639 if test "x$LINE" != x ; then
3640 eval "DEFAULT_$LINE"
3641 else
3642 no_cache=1
3643 fi
3644
3645 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3646
3647 fi;
3648
3649 eval "$ac_cv_use_no_deps"
3650 if test "$no_cache" != 1; then
3651 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3652 fi
3653
3654 if test "$wxUSE_NO_DEPS" = yes; then
3655 echo "$as_me:$LINENO: result: yes" >&5
3656 echo "${ECHO_T}yes" >&6
3657 else
3658 echo "$as_me:$LINENO: result: no" >&5
3659 echo "${ECHO_T}no" >&6
3660 fi
3661
3662
3663
3664 enablestring=
3665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3666 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3667 no_cache=0
3668 # Check whether --enable-compat20 or --disable-compat20 was given.
3669 if test "${enable_compat20+set}" = set; then
3670 enableval="$enable_compat20"
3671
3672 if test "$enableval" = yes; then
3673 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3674 else
3675 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3676 fi
3677
3678 else
3679
3680 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3681 if test "x$LINE" != x ; then
3682 eval "DEFAULT_$LINE"
3683 else
3684 no_cache=1
3685 fi
3686
3687 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3688
3689 fi;
3690
3691 eval "$ac_cv_use_compat20"
3692 if test "$no_cache" != 1; then
3693 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3694 fi
3695
3696 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3697 echo "$as_me:$LINENO: result: yes" >&5
3698 echo "${ECHO_T}yes" >&6
3699 else
3700 echo "$as_me:$LINENO: result: no" >&5
3701 echo "${ECHO_T}no" >&6
3702 fi
3703
3704
3705 enablestring=
3706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3707 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3708 no_cache=0
3709 # Check whether --enable-compat22 or --disable-compat22 was given.
3710 if test "${enable_compat22+set}" = set; then
3711 enableval="$enable_compat22"
3712
3713 if test "$enableval" = yes; then
3714 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3715 else
3716 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3717 fi
3718
3719 else
3720
3721 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x ; then
3723 eval "DEFAULT_$LINE"
3724 else
3725 no_cache=1
3726 fi
3727
3728 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3729
3730 fi;
3731
3732 eval "$ac_cv_use_compat22"
3733 if test "$no_cache" != 1; then
3734 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3735 fi
3736
3737 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3738 echo "$as_me:$LINENO: result: yes" >&5
3739 echo "${ECHO_T}yes" >&6
3740 else
3741 echo "$as_me:$LINENO: result: no" >&5
3742 echo "${ECHO_T}no" >&6
3743 fi
3744
3745
3746 enablestring=disable
3747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3748 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3749 no_cache=0
3750 # Check whether --enable-compat24 or --disable-compat24 was given.
3751 if test "${enable_compat24+set}" = set; then
3752 enableval="$enable_compat24"
3753
3754 if test "$enableval" = yes; then
3755 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3756 else
3757 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3758 fi
3759
3760 else
3761
3762 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x ; then
3764 eval "DEFAULT_$LINE"
3765 else
3766 no_cache=1
3767 fi
3768
3769 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3770
3771 fi;
3772
3773 eval "$ac_cv_use_compat24"
3774 if test "$no_cache" != 1; then
3775 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3776 fi
3777
3778 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3779 echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6
3781 else
3782 echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6
3784 fi
3785
3786
3787 # Check whether --enable-rpath or --disable-rpath was given.
3788 if test "${enable_rpath+set}" = set; then
3789 enableval="$enable_rpath"
3790 wxRPATH_DIR="$enableval"
3791 fi;
3792
3793 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3794 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3795 fi
3796
3797
3798
3799
3800 enablestring=
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3803 no_cache=0
3804 # Check whether --enable-intl or --disable-intl was given.
3805 if test "${enable_intl+set}" = set; then
3806 enableval="$enable_intl"
3807
3808 if test "$enableval" = yes; then
3809 ac_cv_use_intl='wxUSE_INTL=yes'
3810 else
3811 ac_cv_use_intl='wxUSE_INTL=no'
3812 fi
3813
3814 else
3815
3816 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x ; then
3818 eval "DEFAULT_$LINE"
3819 else
3820 no_cache=1
3821 fi
3822
3823 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3824
3825 fi;
3826
3827 eval "$ac_cv_use_intl"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3830 fi
3831
3832 if test "$wxUSE_INTL" = yes; then
3833 echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6
3835 else
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3838 fi
3839
3840
3841 enablestring=
3842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3843 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3844 no_cache=0
3845 # Check whether --enable-config or --disable-config was given.
3846 if test "${enable_config+set}" = set; then
3847 enableval="$enable_config"
3848
3849 if test "$enableval" = yes; then
3850 ac_cv_use_config='wxUSE_CONFIG=yes'
3851 else
3852 ac_cv_use_config='wxUSE_CONFIG=no'
3853 fi
3854
3855 else
3856
3857 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3858 if test "x$LINE" != x ; then
3859 eval "DEFAULT_$LINE"
3860 else
3861 no_cache=1
3862 fi
3863
3864 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3865
3866 fi;
3867
3868 eval "$ac_cv_use_config"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3871 fi
3872
3873 if test "$wxUSE_CONFIG" = yes; then
3874 echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6
3876 else
3877 echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6
3879 fi
3880
3881
3882
3883 enablestring=
3884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3885 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3886 no_cache=0
3887 # Check whether --enable-protocols or --disable-protocols was given.
3888 if test "${enable_protocols+set}" = set; then
3889 enableval="$enable_protocols"
3890
3891 if test "$enableval" = yes; then
3892 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3893 else
3894 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3895 fi
3896
3897 else
3898
3899 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3900 if test "x$LINE" != x ; then
3901 eval "DEFAULT_$LINE"
3902 else
3903 no_cache=1
3904 fi
3905
3906 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3907
3908 fi;
3909
3910 eval "$ac_cv_use_protocols"
3911 if test "$no_cache" != 1; then
3912 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3913 fi
3914
3915 if test "$wxUSE_PROTOCOL" = yes; then
3916 echo "$as_me:$LINENO: result: yes" >&5
3917 echo "${ECHO_T}yes" >&6
3918 else
3919 echo "$as_me:$LINENO: result: no" >&5
3920 echo "${ECHO_T}no" >&6
3921 fi
3922
3923
3924 enablestring=
3925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3926 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3927 no_cache=0
3928 # Check whether --enable-ftp or --disable-ftp was given.
3929 if test "${enable_ftp+set}" = set; then
3930 enableval="$enable_ftp"
3931
3932 if test "$enableval" = yes; then
3933 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3934 else
3935 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3936 fi
3937
3938 else
3939
3940 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3941 if test "x$LINE" != x ; then
3942 eval "DEFAULT_$LINE"
3943 else
3944 no_cache=1
3945 fi
3946
3947 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3948
3949 fi;
3950
3951 eval "$ac_cv_use_ftp"
3952 if test "$no_cache" != 1; then
3953 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3954 fi
3955
3956 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3957 echo "$as_me:$LINENO: result: yes" >&5
3958 echo "${ECHO_T}yes" >&6
3959 else
3960 echo "$as_me:$LINENO: result: no" >&5
3961 echo "${ECHO_T}no" >&6
3962 fi
3963
3964
3965 enablestring=
3966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3967 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3968 no_cache=0
3969 # Check whether --enable-http or --disable-http was given.
3970 if test "${enable_http+set}" = set; then
3971 enableval="$enable_http"
3972
3973 if test "$enableval" = yes; then
3974 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3975 else
3976 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3977 fi
3978
3979 else
3980
3981 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3982 if test "x$LINE" != x ; then
3983 eval "DEFAULT_$LINE"
3984 else
3985 no_cache=1
3986 fi
3987
3988 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3989
3990 fi;
3991
3992 eval "$ac_cv_use_http"
3993 if test "$no_cache" != 1; then
3994 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3995 fi
3996
3997 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3998 echo "$as_me:$LINENO: result: yes" >&5
3999 echo "${ECHO_T}yes" >&6
4000 else
4001 echo "$as_me:$LINENO: result: no" >&5
4002 echo "${ECHO_T}no" >&6
4003 fi
4004
4005
4006 enablestring=
4007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4008 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4009 no_cache=0
4010 # Check whether --enable-fileproto or --disable-fileproto was given.
4011 if test "${enable_fileproto+set}" = set; then
4012 enableval="$enable_fileproto"
4013
4014 if test "$enableval" = yes; then
4015 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4016 else
4017 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4018 fi
4019
4020 else
4021
4022 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4023 if test "x$LINE" != x ; then
4024 eval "DEFAULT_$LINE"
4025 else
4026 no_cache=1
4027 fi
4028
4029 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4030
4031 fi;
4032
4033 eval "$ac_cv_use_fileproto"
4034 if test "$no_cache" != 1; then
4035 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4036 fi
4037
4038 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4039 echo "$as_me:$LINENO: result: yes" >&5
4040 echo "${ECHO_T}yes" >&6
4041 else
4042 echo "$as_me:$LINENO: result: no" >&5
4043 echo "${ECHO_T}no" >&6
4044 fi
4045
4046
4047 enablestring=
4048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4049 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4050 no_cache=0
4051 # Check whether --enable-sockets or --disable-sockets was given.
4052 if test "${enable_sockets+set}" = set; then
4053 enableval="$enable_sockets"
4054
4055 if test "$enableval" = yes; then
4056 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4057 else
4058 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4059 fi
4060
4061 else
4062
4063 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4064 if test "x$LINE" != x ; then
4065 eval "DEFAULT_$LINE"
4066 else
4067 no_cache=1
4068 fi
4069
4070 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4071
4072 fi;
4073
4074 eval "$ac_cv_use_sockets"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4077 fi
4078
4079 if test "$wxUSE_SOCKETS" = yes; then
4080 echo "$as_me:$LINENO: result: yes" >&5
4081 echo "${ECHO_T}yes" >&6
4082 else
4083 echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6
4085 fi
4086
4087
4088 enablestring=
4089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4090 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4091 no_cache=0
4092 # Check whether --enable-ole or --disable-ole was given.
4093 if test "${enable_ole+set}" = set; then
4094 enableval="$enable_ole"
4095
4096 if test "$enableval" = yes; then
4097 ac_cv_use_ole='wxUSE_OLE=yes'
4098 else
4099 ac_cv_use_ole='wxUSE_OLE=no'
4100 fi
4101
4102 else
4103
4104 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x ; then
4106 eval "DEFAULT_$LINE"
4107 else
4108 no_cache=1
4109 fi
4110
4111 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4112
4113 fi;
4114
4115 eval "$ac_cv_use_ole"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4118 fi
4119
4120 if test "$wxUSE_OLE" = yes; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4123 else
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4126 fi
4127
4128
4129 enablestring=
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4132 no_cache=0
4133 # Check whether --enable-dataobj or --disable-dataobj was given.
4134 if test "${enable_dataobj+set}" = set; then
4135 enableval="$enable_dataobj"
4136
4137 if test "$enableval" = yes; then
4138 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4139 else
4140 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4141 fi
4142
4143 else
4144
4145 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x ; then
4147 eval "DEFAULT_$LINE"
4148 else
4149 no_cache=1
4150 fi
4151
4152 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4153
4154 fi;
4155
4156 eval "$ac_cv_use_dataobj"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4159 fi
4160
4161 if test "$wxUSE_DATAOBJ" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4164 else
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4167 fi
4168
4169
4170
4171 enablestring=
4172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4173 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4174 no_cache=0
4175 # Check whether --enable-ipc or --disable-ipc was given.
4176 if test "${enable_ipc+set}" = set; then
4177 enableval="$enable_ipc"
4178
4179 if test "$enableval" = yes; then
4180 ac_cv_use_ipc='wxUSE_IPC=yes'
4181 else
4182 ac_cv_use_ipc='wxUSE_IPC=no'
4183 fi
4184
4185 else
4186
4187 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4188 if test "x$LINE" != x ; then
4189 eval "DEFAULT_$LINE"
4190 else
4191 no_cache=1
4192 fi
4193
4194 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4195
4196 fi;
4197
4198 eval "$ac_cv_use_ipc"
4199 if test "$no_cache" != 1; then
4200 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4201 fi
4202
4203 if test "$wxUSE_IPC" = yes; then
4204 echo "$as_me:$LINENO: result: yes" >&5
4205 echo "${ECHO_T}yes" >&6
4206 else
4207 echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6
4209 fi
4210
4211
4212
4213 enablestring=
4214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4215 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4216 no_cache=0
4217 # Check whether --enable-cmdline or --disable-cmdline was given.
4218 if test "${enable_cmdline+set}" = set; then
4219 enableval="$enable_cmdline"
4220
4221 if test "$enableval" = yes; then
4222 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4223 else
4224 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4225 fi
4226
4227 else
4228
4229 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4230 if test "x$LINE" != x ; then
4231 eval "DEFAULT_$LINE"
4232 else
4233 no_cache=1
4234 fi
4235
4236 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4237
4238 fi;
4239
4240 eval "$ac_cv_use_cmdline"
4241 if test "$no_cache" != 1; then
4242 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4243 fi
4244
4245 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4246 echo "$as_me:$LINENO: result: yes" >&5
4247 echo "${ECHO_T}yes" >&6
4248 else
4249 echo "$as_me:$LINENO: result: no" >&5
4250 echo "${ECHO_T}no" >&6
4251 fi
4252
4253
4254 enablestring=
4255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4256 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4257 no_cache=0
4258 # Check whether --enable-datetime or --disable-datetime was given.
4259 if test "${enable_datetime+set}" = set; then
4260 enableval="$enable_datetime"
4261
4262 if test "$enableval" = yes; then
4263 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4264 else
4265 ac_cv_use_datetime='wxUSE_DATETIME=no'
4266 fi
4267
4268 else
4269
4270 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4271 if test "x$LINE" != x ; then
4272 eval "DEFAULT_$LINE"
4273 else
4274 no_cache=1
4275 fi
4276
4277 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4278
4279 fi;
4280
4281 eval "$ac_cv_use_datetime"
4282 if test "$no_cache" != 1; then
4283 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4284 fi
4285
4286 if test "$wxUSE_DATETIME" = yes; then
4287 echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6
4289 else
4290 echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6
4292 fi
4293
4294
4295 enablestring=
4296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4297 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4298 no_cache=0
4299 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4300 if test "${enable_stopwatch+set}" = set; then
4301 enableval="$enable_stopwatch"
4302
4303 if test "$enableval" = yes; then
4304 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4305 else
4306 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4307 fi
4308
4309 else
4310
4311 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x ; then
4313 eval "DEFAULT_$LINE"
4314 else
4315 no_cache=1
4316 fi
4317
4318 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4319
4320 fi;
4321
4322 eval "$ac_cv_use_stopwatch"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4325 fi
4326
4327 if test "$wxUSE_STOPWATCH" = yes; then
4328 echo "$as_me:$LINENO: result: yes" >&5
4329 echo "${ECHO_T}yes" >&6
4330 else
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4333 fi
4334
4335
4336 enablestring=
4337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4338 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4339 no_cache=0
4340 # Check whether --enable-dialupman or --disable-dialupman was given.
4341 if test "${enable_dialupman+set}" = set; then
4342 enableval="$enable_dialupman"
4343
4344 if test "$enableval" = yes; then
4345 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4346 else
4347 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4348 fi
4349
4350 else
4351
4352 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x ; then
4354 eval "DEFAULT_$LINE"
4355 else
4356 no_cache=1
4357 fi
4358
4359 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4360
4361 fi;
4362
4363 eval "$ac_cv_use_dialupman"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4366 fi
4367
4368 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4369 echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6
4371 else
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4374 fi
4375
4376
4377 enablestring=
4378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4380 no_cache=0
4381 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4382 if test "${enable_apple_ieee+set}" = set; then
4383 enableval="$enable_apple_ieee"
4384
4385 if test "$enableval" = yes; then
4386 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4387 else
4388 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4389 fi
4390
4391 else
4392
4393 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x ; then
4395 eval "DEFAULT_$LINE"
4396 else
4397 no_cache=1
4398 fi
4399
4400 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4401
4402 fi;
4403
4404 eval "$ac_cv_use_apple_ieee"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4407 fi
4408
4409 if test "$wxUSE_APPLE_IEEE" = yes; then
4410 echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6
4412 else
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4415 fi
4416
4417
4418 enablestring=
4419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4421 no_cache=0
4422 # Check whether --enable-timer or --disable-timer was given.
4423 if test "${enable_timer+set}" = set; then
4424 enableval="$enable_timer"
4425
4426 if test "$enableval" = yes; then
4427 ac_cv_use_timer='wxUSE_TIMER=yes'
4428 else
4429 ac_cv_use_timer='wxUSE_TIMER=no'
4430 fi
4431
4432 else
4433
4434 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x ; then
4436 eval "DEFAULT_$LINE"
4437 else
4438 no_cache=1
4439 fi
4440
4441 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4442
4443 fi;
4444
4445 eval "$ac_cv_use_timer"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4448 fi
4449
4450 if test "$wxUSE_TIMER" = yes; then
4451 echo "$as_me:$LINENO: result: yes" >&5
4452 echo "${ECHO_T}yes" >&6
4453 else
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4456 fi
4457
4458
4459 enablestring=
4460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4461 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4462 no_cache=0
4463 # Check whether --enable-wave or --disable-wave was given.
4464 if test "${enable_wave+set}" = set; then
4465 enableval="$enable_wave"
4466
4467 if test "$enableval" = yes; then
4468 ac_cv_use_wave='wxUSE_WAVE=yes'
4469 else
4470 ac_cv_use_wave='wxUSE_WAVE=no'
4471 fi
4472
4473 else
4474
4475 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4476 if test "x$LINE" != x ; then
4477 eval "DEFAULT_$LINE"
4478 else
4479 no_cache=1
4480 fi
4481
4482 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4483
4484 fi;
4485
4486 eval "$ac_cv_use_wave"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4489 fi
4490
4491 if test "$wxUSE_WAVE" = yes; then
4492 echo "$as_me:$LINENO: result: yes" >&5
4493 echo "${ECHO_T}yes" >&6
4494 else
4495 echo "$as_me:$LINENO: result: no" >&5
4496 echo "${ECHO_T}no" >&6
4497 fi
4498
4499
4500 enablestring=
4501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4503 no_cache=0
4504 # Check whether --enable-fraction or --disable-fraction was given.
4505 if test "${enable_fraction+set}" = set; then
4506 enableval="$enable_fraction"
4507
4508 if test "$enableval" = yes; then
4509 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4510 else
4511 ac_cv_use_fraction='wxUSE_FRACTION=no'
4512 fi
4513
4514 else
4515
4516 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4517 if test "x$LINE" != x ; then
4518 eval "DEFAULT_$LINE"
4519 else
4520 no_cache=1
4521 fi
4522
4523 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4524
4525 fi;
4526
4527 eval "$ac_cv_use_fraction"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4530 fi
4531
4532 if test "$wxUSE_FRACTION" = yes; then
4533 echo "$as_me:$LINENO: result: yes" >&5
4534 echo "${ECHO_T}yes" >&6
4535 else
4536 echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6
4538 fi
4539
4540
4541 enablestring=
4542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4543 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4544 no_cache=0
4545 # Check whether --enable-dynlib or --disable-dynlib was given.
4546 if test "${enable_dynlib+set}" = set; then
4547 enableval="$enable_dynlib"
4548
4549 if test "$enableval" = yes; then
4550 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4551 else
4552 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4553 fi
4554
4555 else
4556
4557 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4558 if test "x$LINE" != x ; then
4559 eval "DEFAULT_$LINE"
4560 else
4561 no_cache=1
4562 fi
4563
4564 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4565
4566 fi;
4567
4568 eval "$ac_cv_use_dynlib"
4569 if test "$no_cache" != 1; then
4570 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4571 fi
4572
4573 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4574 echo "$as_me:$LINENO: result: yes" >&5
4575 echo "${ECHO_T}yes" >&6
4576 else
4577 echo "$as_me:$LINENO: result: no" >&5
4578 echo "${ECHO_T}no" >&6
4579 fi
4580
4581
4582 enablestring=
4583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4584 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4585 no_cache=0
4586 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4587 if test "${enable_dynamicloader+set}" = set; then
4588 enableval="$enable_dynamicloader"
4589
4590 if test "$enableval" = yes; then
4591 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4592 else
4593 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4594 fi
4595
4596 else
4597
4598 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4599 if test "x$LINE" != x ; then
4600 eval "DEFAULT_$LINE"
4601 else
4602 no_cache=1
4603 fi
4604
4605 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4606
4607 fi;
4608
4609 eval "$ac_cv_use_dynamicloader"
4610 if test "$no_cache" != 1; then
4611 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4612 fi
4613
4614 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4615 echo "$as_me:$LINENO: result: yes" >&5
4616 echo "${ECHO_T}yes" >&6
4617 else
4618 echo "$as_me:$LINENO: result: no" >&5
4619 echo "${ECHO_T}no" >&6
4620 fi
4621
4622
4623 enablestring=
4624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4625 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4626 no_cache=0
4627 # Check whether --enable-longlong or --disable-longlong was given.
4628 if test "${enable_longlong+set}" = set; then
4629 enableval="$enable_longlong"
4630
4631 if test "$enableval" = yes; then
4632 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4633 else
4634 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4635 fi
4636
4637 else
4638
4639 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4640 if test "x$LINE" != x ; then
4641 eval "DEFAULT_$LINE"
4642 else
4643 no_cache=1
4644 fi
4645
4646 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4647
4648 fi;
4649
4650 eval "$ac_cv_use_longlong"
4651 if test "$no_cache" != 1; then
4652 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4653 fi
4654
4655 if test "$wxUSE_LONGLONG" = yes; then
4656 echo "$as_me:$LINENO: result: yes" >&5
4657 echo "${ECHO_T}yes" >&6
4658 else
4659 echo "$as_me:$LINENO: result: no" >&5
4660 echo "${ECHO_T}no" >&6
4661 fi
4662
4663
4664 enablestring=
4665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4666 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4667 no_cache=0
4668 # Check whether --enable-geometry or --disable-geometry was given.
4669 if test "${enable_geometry+set}" = set; then
4670 enableval="$enable_geometry"
4671
4672 if test "$enableval" = yes; then
4673 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4674 else
4675 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4676 fi
4677
4678 else
4679
4680 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x ; then
4682 eval "DEFAULT_$LINE"
4683 else
4684 no_cache=1
4685 fi
4686
4687 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4688
4689 fi;
4690
4691 eval "$ac_cv_use_geometry"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4694 fi
4695
4696 if test "$wxUSE_GEOMETRY" = yes; then
4697 echo "$as_me:$LINENO: result: yes" >&5
4698 echo "${ECHO_T}yes" >&6
4699 else
4700 echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6
4702 fi
4703
4704
4705 enablestring=
4706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4708 no_cache=0
4709 # Check whether --enable-log or --disable-log was given.
4710 if test "${enable_log+set}" = set; then
4711 enableval="$enable_log"
4712
4713 if test "$enableval" = yes; then
4714 ac_cv_use_log='wxUSE_LOG=yes'
4715 else
4716 ac_cv_use_log='wxUSE_LOG=no'
4717 fi
4718
4719 else
4720
4721 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x ; then
4723 eval "DEFAULT_$LINE"
4724 else
4725 no_cache=1
4726 fi
4727
4728 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4729
4730 fi;
4731
4732 eval "$ac_cv_use_log"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4735 fi
4736
4737 if test "$wxUSE_LOG" = yes; then
4738 echo "$as_me:$LINENO: result: yes" >&5
4739 echo "${ECHO_T}yes" >&6
4740 else
4741 echo "$as_me:$LINENO: result: no" >&5
4742 echo "${ECHO_T}no" >&6
4743 fi
4744
4745
4746 enablestring=
4747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4749 no_cache=0
4750 # Check whether --enable-streams or --disable-streams was given.
4751 if test "${enable_streams+set}" = set; then
4752 enableval="$enable_streams"
4753
4754 if test "$enableval" = yes; then
4755 ac_cv_use_streams='wxUSE_STREAMS=yes'
4756 else
4757 ac_cv_use_streams='wxUSE_STREAMS=no'
4758 fi
4759
4760 else
4761
4762 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x ; then
4764 eval "DEFAULT_$LINE"
4765 else
4766 no_cache=1
4767 fi
4768
4769 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4770
4771 fi;
4772
4773 eval "$ac_cv_use_streams"
4774 if test "$no_cache" != 1; then
4775 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4776 fi
4777
4778 if test "$wxUSE_STREAMS" = yes; then
4779 echo "$as_me:$LINENO: result: yes" >&5
4780 echo "${ECHO_T}yes" >&6
4781 else
4782 echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6
4784 fi
4785
4786
4787 enablestring=
4788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4790 no_cache=0
4791 # Check whether --enable-file or --disable-file was given.
4792 if test "${enable_file+set}" = set; then
4793 enableval="$enable_file"
4794
4795 if test "$enableval" = yes; then
4796 ac_cv_use_file='wxUSE_FILE=yes'
4797 else
4798 ac_cv_use_file='wxUSE_FILE=no'
4799 fi
4800
4801 else
4802
4803 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4806 else
4807 no_cache=1
4808 fi
4809
4810 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4811
4812 fi;
4813
4814 eval "$ac_cv_use_file"
4815 if test "$no_cache" != 1; then
4816 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4817 fi
4818
4819 if test "$wxUSE_FILE" = yes; then
4820 echo "$as_me:$LINENO: result: yes" >&5
4821 echo "${ECHO_T}yes" >&6
4822 else
4823 echo "$as_me:$LINENO: result: no" >&5
4824 echo "${ECHO_T}no" >&6
4825 fi
4826
4827
4828 enablestring=
4829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4830 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4831 no_cache=0
4832 # Check whether --enable-ffile or --disable-ffile was given.
4833 if test "${enable_ffile+set}" = set; then
4834 enableval="$enable_ffile"
4835
4836 if test "$enableval" = yes; then
4837 ac_cv_use_ffile='wxUSE_FFILE=yes'
4838 else
4839 ac_cv_use_ffile='wxUSE_FFILE=no'
4840 fi
4841
4842 else
4843
4844 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4847 else
4848 no_cache=1
4849 fi
4850
4851 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4852
4853 fi;
4854
4855 eval "$ac_cv_use_ffile"
4856 if test "$no_cache" != 1; then
4857 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4858 fi
4859
4860 if test "$wxUSE_FFILE" = yes; then
4861 echo "$as_me:$LINENO: result: yes" >&5
4862 echo "${ECHO_T}yes" >&6
4863 else
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4866 fi
4867
4868
4869 enablestring=
4870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4872 no_cache=0
4873 # Check whether --enable-textbuf or --disable-textbuf was given.
4874 if test "${enable_textbuf+set}" = set; then
4875 enableval="$enable_textbuf"
4876
4877 if test "$enableval" = yes; then
4878 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4879 else
4880 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4881 fi
4882
4883 else
4884
4885 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4888 else
4889 no_cache=1
4890 fi
4891
4892 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4893
4894 fi;
4895
4896 eval "$ac_cv_use_textbuf"
4897 if test "$no_cache" != 1; then
4898 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4899 fi
4900
4901 if test "$wxUSE_TEXTBUFFER" = yes; then
4902 echo "$as_me:$LINENO: result: yes" >&5
4903 echo "${ECHO_T}yes" >&6
4904 else
4905 echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6
4907 fi
4908
4909
4910 enablestring=
4911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4912 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4913 no_cache=0
4914 # Check whether --enable-textfile or --disable-textfile was given.
4915 if test "${enable_textfile+set}" = set; then
4916 enableval="$enable_textfile"
4917
4918 if test "$enableval" = yes; then
4919 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4920 else
4921 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4922 fi
4923
4924 else
4925
4926 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4934
4935 fi;
4936
4937 eval "$ac_cv_use_textfile"
4938 if test "$no_cache" != 1; then
4939 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4940 fi
4941
4942 if test "$wxUSE_TEXTFILE" = yes; then
4943 echo "$as_me:$LINENO: result: yes" >&5
4944 echo "${ECHO_T}yes" >&6
4945 else
4946 echo "$as_me:$LINENO: result: no" >&5
4947 echo "${ECHO_T}no" >&6
4948 fi
4949
4950
4951 enablestring=
4952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4953 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4954 no_cache=0
4955 # Check whether --enable-fontmap or --disable-fontmap was given.
4956 if test "${enable_fontmap+set}" = set; then
4957 enableval="$enable_fontmap"
4958
4959 if test "$enableval" = yes; then
4960 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4961 else
4962 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4963 fi
4964
4965 else
4966
4967 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4968 if test "x$LINE" != x ; then
4969 eval "DEFAULT_$LINE"
4970 else
4971 no_cache=1
4972 fi
4973
4974 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4975
4976 fi;
4977
4978 eval "$ac_cv_use_fontmap"
4979 if test "$no_cache" != 1; then
4980 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4981 fi
4982
4983 if test "$wxUSE_FONTMAP" = yes; then
4984 echo "$as_me:$LINENO: result: yes" >&5
4985 echo "${ECHO_T}yes" >&6
4986 else
4987 echo "$as_me:$LINENO: result: no" >&5
4988 echo "${ECHO_T}no" >&6
4989 fi
4990
4991
4992 enablestring=
4993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4994 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4995 no_cache=0
4996 # Check whether --enable-unicode or --disable-unicode was given.
4997 if test "${enable_unicode+set}" = set; then
4998 enableval="$enable_unicode"
4999
5000 if test "$enableval" = yes; then
5001 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5002 else
5003 ac_cv_use_unicode='wxUSE_UNICODE=no'
5004 fi
5005
5006 else
5007
5008 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5009 if test "x$LINE" != x ; then
5010 eval "DEFAULT_$LINE"
5011 else
5012 no_cache=1
5013 fi
5014
5015 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5016
5017 fi;
5018
5019 eval "$ac_cv_use_unicode"
5020 if test "$no_cache" != 1; then
5021 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5022 fi
5023
5024 if test "$wxUSE_UNICODE" = yes; then
5025 echo "$as_me:$LINENO: result: yes" >&5
5026 echo "${ECHO_T}yes" >&6
5027 else
5028 echo "$as_me:$LINENO: result: no" >&5
5029 echo "${ECHO_T}no" >&6
5030 fi
5031
5032
5033 enablestring=
5034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5035 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5036 no_cache=0
5037 # Check whether --enable-mslu or --disable-mslu was given.
5038 if test "${enable_mslu+set}" = set; then
5039 enableval="$enable_mslu"
5040
5041 if test "$enableval" = yes; then
5042 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5043 else
5044 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5045 fi
5046
5047 else
5048
5049 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5050 if test "x$LINE" != x ; then
5051 eval "DEFAULT_$LINE"
5052 else
5053 no_cache=1
5054 fi
5055
5056 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5057
5058 fi;
5059
5060 eval "$ac_cv_use_mslu"
5061 if test "$no_cache" != 1; then
5062 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5063 fi
5064
5065 if test "$wxUSE_UNICODE_MSLU" = yes; then
5066 echo "$as_me:$LINENO: result: yes" >&5
5067 echo "${ECHO_T}yes" >&6
5068 else
5069 echo "$as_me:$LINENO: result: no" >&5
5070 echo "${ECHO_T}no" >&6
5071 fi
5072
5073
5074 enablestring=
5075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5076 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5077 no_cache=0
5078 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5079 if test "${enable_wxprintfv+set}" = set; then
5080 enableval="$enable_wxprintfv"
5081
5082 if test "$enableval" = yes; then
5083 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5084 else
5085 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5086 fi
5087
5088 else
5089
5090 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5091 if test "x$LINE" != x ; then
5092 eval "DEFAULT_$LINE"
5093 else
5094 no_cache=1
5095 fi
5096
5097 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5098
5099 fi;
5100
5101 eval "$ac_cv_use_wxprintfv"
5102 if test "$no_cache" != 1; then
5103 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5104 fi
5105
5106 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5107 echo "$as_me:$LINENO: result: yes" >&5
5108 echo "${ECHO_T}yes" >&6
5109 else
5110 echo "$as_me:$LINENO: result: no" >&5
5111 echo "${ECHO_T}no" >&6
5112 fi
5113
5114
5115 enablestring=
5116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5117 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5118 no_cache=0
5119 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5120 if test "${enable_std_iostreams+set}" = set; then
5121 enableval="$enable_std_iostreams"
5122
5123 if test "$enableval" = yes; then
5124 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5125 else
5126 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5127 fi
5128
5129 else
5130
5131 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x ; then
5133 eval "DEFAULT_$LINE"
5134 else
5135 no_cache=1
5136 fi
5137
5138 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5139
5140 fi;
5141
5142 eval "$ac_cv_use_std_iostreams"
5143 if test "$no_cache" != 1; then
5144 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5145 fi
5146
5147 if test "$wxUSE_STD_IOSTREAM" = yes; then
5148 echo "$as_me:$LINENO: result: yes" >&5
5149 echo "${ECHO_T}yes" >&6
5150 else
5151 echo "$as_me:$LINENO: result: no" >&5
5152 echo "${ECHO_T}no" >&6
5153 fi
5154
5155
5156 enablestring=
5157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5158 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5159 no_cache=0
5160 # Check whether --enable-filesystem or --disable-filesystem was given.
5161 if test "${enable_filesystem+set}" = set; then
5162 enableval="$enable_filesystem"
5163
5164 if test "$enableval" = yes; then
5165 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5166 else
5167 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5168 fi
5169
5170 else
5171
5172 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5173 if test "x$LINE" != x ; then
5174 eval "DEFAULT_$LINE"
5175 else
5176 no_cache=1
5177 fi
5178
5179 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5180
5181 fi;
5182
5183 eval "$ac_cv_use_filesystem"
5184 if test "$no_cache" != 1; then
5185 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5186 fi
5187
5188 if test "$wxUSE_FILESYSTEM" = yes; then
5189 echo "$as_me:$LINENO: result: yes" >&5
5190 echo "${ECHO_T}yes" >&6
5191 else
5192 echo "$as_me:$LINENO: result: no" >&5
5193 echo "${ECHO_T}no" >&6
5194 fi
5195
5196
5197 enablestring=
5198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5199 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5200 no_cache=0
5201 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5202 if test "${enable_fs_inet+set}" = set; then
5203 enableval="$enable_fs_inet"
5204
5205 if test "$enableval" = yes; then
5206 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5207 else
5208 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5209 fi
5210
5211 else
5212
5213 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x ; then
5215 eval "DEFAULT_$LINE"
5216 else
5217 no_cache=1
5218 fi
5219
5220 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5221
5222 fi;
5223
5224 eval "$ac_cv_use_fs_inet"
5225 if test "$no_cache" != 1; then
5226 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5227 fi
5228
5229 if test "$wxUSE_FS_INET" = yes; then
5230 echo "$as_me:$LINENO: result: yes" >&5
5231 echo "${ECHO_T}yes" >&6
5232 else
5233 echo "$as_me:$LINENO: result: no" >&5
5234 echo "${ECHO_T}no" >&6
5235 fi
5236
5237
5238 enablestring=
5239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5240 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5241 no_cache=0
5242 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5243 if test "${enable_fs_zip+set}" = set; then
5244 enableval="$enable_fs_zip"
5245
5246 if test "$enableval" = yes; then
5247 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5248 else
5249 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5250 fi
5251
5252 else
5253
5254 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5255 if test "x$LINE" != x ; then
5256 eval "DEFAULT_$LINE"
5257 else
5258 no_cache=1
5259 fi
5260
5261 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5262
5263 fi;
5264
5265 eval "$ac_cv_use_fs_zip"
5266 if test "$no_cache" != 1; then
5267 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5268 fi
5269
5270 if test "$wxUSE_FS_ZIP" = yes; then
5271 echo "$as_me:$LINENO: result: yes" >&5
5272 echo "${ECHO_T}yes" >&6
5273 else
5274 echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6
5276 fi
5277
5278
5279 enablestring=
5280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5281 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5282 no_cache=0
5283 # Check whether --enable-zipstream or --disable-zipstream was given.
5284 if test "${enable_zipstream+set}" = set; then
5285 enableval="$enable_zipstream"
5286
5287 if test "$enableval" = yes; then
5288 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5289 else
5290 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5291 fi
5292
5293 else
5294
5295 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5296 if test "x$LINE" != x ; then
5297 eval "DEFAULT_$LINE"
5298 else
5299 no_cache=1
5300 fi
5301
5302 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5303
5304 fi;
5305
5306 eval "$ac_cv_use_zipstream"
5307 if test "$no_cache" != 1; then
5308 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5309 fi
5310
5311 if test "$wxUSE_ZIPSTREAM" = yes; then
5312 echo "$as_me:$LINENO: result: yes" >&5
5313 echo "${ECHO_T}yes" >&6
5314 else
5315 echo "$as_me:$LINENO: result: no" >&5
5316 echo "${ECHO_T}no" >&6
5317 fi
5318
5319
5320
5321 enablestring=
5322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5323 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5324 no_cache=0
5325 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5326 if test "${enable_catch_segvs+set}" = set; then
5327 enableval="$enable_catch_segvs"
5328
5329 if test "$enableval" = yes; then
5330 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5331 else
5332 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5333 fi
5334
5335 else
5336
5337 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5338 if test "x$LINE" != x ; then
5339 eval "DEFAULT_$LINE"
5340 else
5341 no_cache=1
5342 fi
5343
5344 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5345
5346 fi;
5347
5348 eval "$ac_cv_use_catch_segvs"
5349 if test "$no_cache" != 1; then
5350 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5351 fi
5352
5353 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5354 echo "$as_me:$LINENO: result: yes" >&5
5355 echo "${ECHO_T}yes" >&6
5356 else
5357 echo "$as_me:$LINENO: result: no" >&5
5358 echo "${ECHO_T}no" >&6
5359 fi
5360
5361
5362 enablestring=
5363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5364 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5365 no_cache=0
5366 # Check whether --enable-snglinst or --disable-snglinst was given.
5367 if test "${enable_snglinst+set}" = set; then
5368 enableval="$enable_snglinst"
5369
5370 if test "$enableval" = yes; then
5371 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5372 else
5373 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5374 fi
5375
5376 else
5377
5378 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5379 if test "x$LINE" != x ; then
5380 eval "DEFAULT_$LINE"
5381 else
5382 no_cache=1
5383 fi
5384
5385 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5386
5387 fi;
5388
5389 eval "$ac_cv_use_snglinst"
5390 if test "$no_cache" != 1; then
5391 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5392 fi
5393
5394 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5395 echo "$as_me:$LINENO: result: yes" >&5
5396 echo "${ECHO_T}yes" >&6
5397 else
5398 echo "$as_me:$LINENO: result: no" >&5
5399 echo "${ECHO_T}no" >&6
5400 fi
5401
5402
5403
5404 enablestring=
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5407 no_cache=0
5408 # Check whether --enable-mimetype or --disable-mimetype was given.
5409 if test "${enable_mimetype+set}" = set; then
5410 enableval="$enable_mimetype"
5411
5412 if test "$enableval" = yes; then
5413 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5414 else
5415 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5416 fi
5417
5418 else
5419
5420 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x ; then
5422 eval "DEFAULT_$LINE"
5423 else
5424 no_cache=1
5425 fi
5426
5427 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5428
5429 fi;
5430
5431 eval "$ac_cv_use_mimetype"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5434 fi
5435
5436 if test "$wxUSE_MIMETYPE" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5439 else
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5442 fi
5443
5444
5445 enablestring=
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5448 no_cache=0
5449 # Check whether --enable-system_options or --disable-system_options was given.
5450 if test "${enable_system_options+set}" = set; then
5451 enableval="$enable_system_options"
5452
5453 if test "$enableval" = yes; then
5454 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5455 else
5456 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5457 fi
5458
5459 else
5460
5461 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x ; then
5463 eval "DEFAULT_$LINE"
5464 else
5465 no_cache=1
5466 fi
5467
5468 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5469
5470 fi;
5471
5472 eval "$ac_cv_use_system_options"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5475 fi
5476
5477 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5480 else
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5483 fi
5484
5485
5486
5487 enablestring=
5488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5489 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5490 no_cache=0
5491 # Check whether --enable-url or --disable-url was given.
5492 if test "${enable_url+set}" = set; then
5493 enableval="$enable_url"
5494
5495 if test "$enableval" = yes; then
5496 ac_cv_use_url='wxUSE_URL=yes'
5497 else
5498 ac_cv_use_url='wxUSE_URL=no'
5499 fi
5500
5501 else
5502
5503 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5504 if test "x$LINE" != x ; then
5505 eval "DEFAULT_$LINE"
5506 else
5507 no_cache=1
5508 fi
5509
5510 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5511
5512 fi;
5513
5514 eval "$ac_cv_use_url"
5515 if test "$no_cache" != 1; then
5516 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5517 fi
5518
5519 if test "$wxUSE_URL" = yes; then
5520 echo "$as_me:$LINENO: result: yes" >&5
5521 echo "${ECHO_T}yes" >&6
5522 else
5523 echo "$as_me:$LINENO: result: no" >&5
5524 echo "${ECHO_T}no" >&6
5525 fi
5526
5527
5528 enablestring=
5529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5530 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5531 no_cache=0
5532 # Check whether --enable-protocol or --disable-protocol was given.
5533 if test "${enable_protocol+set}" = set; then
5534 enableval="$enable_protocol"
5535
5536 if test "$enableval" = yes; then
5537 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5538 else
5539 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5540 fi
5541
5542 else
5543
5544 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5545 if test "x$LINE" != x ; then
5546 eval "DEFAULT_$LINE"
5547 else
5548 no_cache=1
5549 fi
5550
5551 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5552
5553 fi;
5554
5555 eval "$ac_cv_use_protocol"
5556 if test "$no_cache" != 1; then
5557 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5558 fi
5559
5560 if test "$wxUSE_PROTOCOL" = yes; then
5561 echo "$as_me:$LINENO: result: yes" >&5
5562 echo "${ECHO_T}yes" >&6
5563 else
5564 echo "$as_me:$LINENO: result: no" >&5
5565 echo "${ECHO_T}no" >&6
5566 fi
5567
5568
5569 enablestring=
5570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5571 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5572 no_cache=0
5573 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5574 if test "${enable_protocol_http+set}" = set; then
5575 enableval="$enable_protocol_http"
5576
5577 if test "$enableval" = yes; then
5578 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5579 else
5580 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5581 fi
5582
5583 else
5584
5585 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5586 if test "x$LINE" != x ; then
5587 eval "DEFAULT_$LINE"
5588 else
5589 no_cache=1
5590 fi
5591
5592 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5593
5594 fi;
5595
5596 eval "$ac_cv_use_protocol_http"
5597 if test "$no_cache" != 1; then
5598 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5599 fi
5600
5601 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5602 echo "$as_me:$LINENO: result: yes" >&5
5603 echo "${ECHO_T}yes" >&6
5604 else
5605 echo "$as_me:$LINENO: result: no" >&5
5606 echo "${ECHO_T}no" >&6
5607 fi
5608
5609
5610 enablestring=
5611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5612 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5613 no_cache=0
5614 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5615 if test "${enable_protocol_ftp+set}" = set; then
5616 enableval="$enable_protocol_ftp"
5617
5618 if test "$enableval" = yes; then
5619 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5620 else
5621 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5622 fi
5623
5624 else
5625
5626 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5627 if test "x$LINE" != x ; then
5628 eval "DEFAULT_$LINE"
5629 else
5630 no_cache=1
5631 fi
5632
5633 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5634
5635 fi;
5636
5637 eval "$ac_cv_use_protocol_ftp"
5638 if test "$no_cache" != 1; then
5639 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5640 fi
5641
5642 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5643 echo "$as_me:$LINENO: result: yes" >&5
5644 echo "${ECHO_T}yes" >&6
5645 else
5646 echo "$as_me:$LINENO: result: no" >&5
5647 echo "${ECHO_T}no" >&6
5648 fi
5649
5650
5651 enablestring=
5652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5653 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5654 no_cache=0
5655 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5656 if test "${enable_protocol_file+set}" = set; then
5657 enableval="$enable_protocol_file"
5658
5659 if test "$enableval" = yes; then
5660 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5661 else
5662 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5663 fi
5664
5665 else
5666
5667 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5668 if test "x$LINE" != x ; then
5669 eval "DEFAULT_$LINE"
5670 else
5671 no_cache=1
5672 fi
5673
5674 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5675
5676 fi;
5677
5678 eval "$ac_cv_use_protocol_file"
5679 if test "$no_cache" != 1; then
5680 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5681 fi
5682
5683 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5684 echo "$as_me:$LINENO: result: yes" >&5
5685 echo "${ECHO_T}yes" >&6
5686 else
5687 echo "$as_me:$LINENO: result: no" >&5
5688 echo "${ECHO_T}no" >&6
5689 fi
5690
5691
5692
5693
5694
5695 enablestring=
5696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5697 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5698 no_cache=0
5699 # Check whether --enable-threads or --disable-threads was given.
5700 if test "${enable_threads+set}" = set; then
5701 enableval="$enable_threads"
5702
5703 if test "$enableval" = yes; then
5704 ac_cv_use_threads='wxUSE_THREADS=yes'
5705 else
5706 ac_cv_use_threads='wxUSE_THREADS=no'
5707 fi
5708
5709 else
5710
5711 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5712 if test "x$LINE" != x ; then
5713 eval "DEFAULT_$LINE"
5714 else
5715 no_cache=1
5716 fi
5717
5718 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5719
5720 fi;
5721
5722 eval "$ac_cv_use_threads"
5723 if test "$no_cache" != 1; then
5724 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5725 fi
5726
5727 if test "$wxUSE_THREADS" = yes; then
5728 echo "$as_me:$LINENO: result: yes" >&5
5729 echo "${ECHO_T}yes" >&6
5730 else
5731 echo "$as_me:$LINENO: result: no" >&5
5732 echo "${ECHO_T}no" >&6
5733 fi
5734
5735
5736 if test "$wxUSE_GUI" = "yes"; then
5737
5738
5739
5740 enablestring=
5741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5742 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5743 no_cache=0
5744 # Check whether --enable-docview or --disable-docview was given.
5745 if test "${enable_docview+set}" = set; then
5746 enableval="$enable_docview"
5747
5748 if test "$enableval" = yes; then
5749 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5750 else
5751 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5752 fi
5753
5754 else
5755
5756 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5757 if test "x$LINE" != x ; then
5758 eval "DEFAULT_$LINE"
5759 else
5760 no_cache=1
5761 fi
5762
5763 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5764
5765 fi;
5766
5767 eval "$ac_cv_use_docview"
5768 if test "$no_cache" != 1; then
5769 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5770 fi
5771
5772 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5773 echo "$as_me:$LINENO: result: yes" >&5
5774 echo "${ECHO_T}yes" >&6
5775 else
5776 echo "$as_me:$LINENO: result: no" >&5
5777 echo "${ECHO_T}no" >&6
5778 fi
5779
5780
5781 enablestring=
5782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5783 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5784 no_cache=0
5785 # Check whether --enable-help or --disable-help was given.
5786 if test "${enable_help+set}" = set; then
5787 enableval="$enable_help"
5788
5789 if test "$enableval" = yes; then
5790 ac_cv_use_help='wxUSE_HELP=yes'
5791 else
5792 ac_cv_use_help='wxUSE_HELP=no'
5793 fi
5794
5795 else
5796
5797 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5798 if test "x$LINE" != x ; then
5799 eval "DEFAULT_$LINE"
5800 else
5801 no_cache=1
5802 fi
5803
5804 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5805
5806 fi;
5807
5808 eval "$ac_cv_use_help"
5809 if test "$no_cache" != 1; then
5810 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5811 fi
5812
5813 if test "$wxUSE_HELP" = yes; then
5814 echo "$as_me:$LINENO: result: yes" >&5
5815 echo "${ECHO_T}yes" >&6
5816 else
5817 echo "$as_me:$LINENO: result: no" >&5
5818 echo "${ECHO_T}no" >&6
5819 fi
5820
5821
5822 enablestring=
5823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5824 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5825 no_cache=0
5826 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5827 if test "${enable_mshtmlhelp+set}" = set; then
5828 enableval="$enable_mshtmlhelp"
5829
5830 if test "$enableval" = yes; then
5831 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5832 else
5833 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5834 fi
5835
5836 else
5837
5838 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5839 if test "x$LINE" != x ; then
5840 eval "DEFAULT_$LINE"
5841 else
5842 no_cache=1
5843 fi
5844
5845 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5846
5847 fi;
5848
5849 eval "$ac_cv_use_mshtmlhelp"
5850 if test "$no_cache" != 1; then
5851 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5852 fi
5853
5854 if test "$wxUSE_MS_HTML_HELP" = yes; then
5855 echo "$as_me:$LINENO: result: yes" >&5
5856 echo "${ECHO_T}yes" >&6
5857 else
5858 echo "$as_me:$LINENO: result: no" >&5
5859 echo "${ECHO_T}no" >&6
5860 fi
5861
5862
5863 enablestring=
5864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5865 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5866 no_cache=0
5867 # Check whether --enable-html or --disable-html was given.
5868 if test "${enable_html+set}" = set; then
5869 enableval="$enable_html"
5870
5871 if test "$enableval" = yes; then
5872 ac_cv_use_html='wxUSE_HTML=yes'
5873 else
5874 ac_cv_use_html='wxUSE_HTML=no'
5875 fi
5876
5877 else
5878
5879 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5880 if test "x$LINE" != x ; then
5881 eval "DEFAULT_$LINE"
5882 else
5883 no_cache=1
5884 fi
5885
5886 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5887
5888 fi;
5889
5890 eval "$ac_cv_use_html"
5891 if test "$no_cache" != 1; then
5892 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5893 fi
5894
5895 if test "$wxUSE_HTML" = yes; then
5896 echo "$as_me:$LINENO: result: yes" >&5
5897 echo "${ECHO_T}yes" >&6
5898 else
5899 echo "$as_me:$LINENO: result: no" >&5
5900 echo "${ECHO_T}no" >&6
5901 fi
5902
5903
5904 enablestring=
5905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5906 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5907 no_cache=0
5908 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5909 if test "${enable_htmlhelp+set}" = set; then
5910 enableval="$enable_htmlhelp"
5911
5912 if test "$enableval" = yes; then
5913 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5914 else
5915 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5916 fi
5917
5918 else
5919
5920 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5921 if test "x$LINE" != x ; then
5922 eval "DEFAULT_$LINE"
5923 else
5924 no_cache=1
5925 fi
5926
5927 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5928
5929 fi;
5930
5931 eval "$ac_cv_use_htmlhelp"
5932 if test "$no_cache" != 1; then
5933 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5934 fi
5935
5936 if test "$wxUSE_WXHTML_HELP" = yes; then
5937 echo "$as_me:$LINENO: result: yes" >&5
5938 echo "${ECHO_T}yes" >&6
5939 else
5940 echo "$as_me:$LINENO: result: no" >&5
5941 echo "${ECHO_T}no" >&6
5942 fi
5943
5944
5945 enablestring=
5946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5947 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5948 no_cache=0
5949 # Check whether --enable-constraints or --disable-constraints was given.
5950 if test "${enable_constraints+set}" = set; then
5951 enableval="$enable_constraints"
5952
5953 if test "$enableval" = yes; then
5954 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5955 else
5956 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5957 fi
5958
5959 else
5960
5961 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x ; then
5963 eval "DEFAULT_$LINE"
5964 else
5965 no_cache=1
5966 fi
5967
5968 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5969
5970 fi;
5971
5972 eval "$ac_cv_use_constraints"
5973 if test "$no_cache" != 1; then
5974 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5975 fi
5976
5977 if test "$wxUSE_CONSTRAINTS" = yes; then
5978 echo "$as_me:$LINENO: result: yes" >&5
5979 echo "${ECHO_T}yes" >&6
5980 else
5981 echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6
5983 fi
5984
5985
5986 enablestring=
5987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5988 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5989 no_cache=0
5990 # Check whether --enable-printarch or --disable-printarch was given.
5991 if test "${enable_printarch+set}" = set; then
5992 enableval="$enable_printarch"
5993
5994 if test "$enableval" = yes; then
5995 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5996 else
5997 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5998 fi
5999
6000 else
6001
6002 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6003 if test "x$LINE" != x ; then
6004 eval "DEFAULT_$LINE"
6005 else
6006 no_cache=1
6007 fi
6008
6009 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6010
6011 fi;
6012
6013 eval "$ac_cv_use_printarch"
6014 if test "$no_cache" != 1; then
6015 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6016 fi
6017
6018 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6019 echo "$as_me:$LINENO: result: yes" >&5
6020 echo "${ECHO_T}yes" >&6
6021 else
6022 echo "$as_me:$LINENO: result: no" >&5
6023 echo "${ECHO_T}no" >&6
6024 fi
6025
6026
6027 enablestring=
6028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6029 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6030 no_cache=0
6031 # Check whether --enable-mdi or --disable-mdi was given.
6032 if test "${enable_mdi+set}" = set; then
6033 enableval="$enable_mdi"
6034
6035 if test "$enableval" = yes; then
6036 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6037 else
6038 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6039 fi
6040
6041 else
6042
6043 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6044 if test "x$LINE" != x ; then
6045 eval "DEFAULT_$LINE"
6046 else
6047 no_cache=1
6048 fi
6049
6050 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6051
6052 fi;
6053
6054 eval "$ac_cv_use_mdi"
6055 if test "$no_cache" != 1; then
6056 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6057 fi
6058
6059 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6060 echo "$as_me:$LINENO: result: yes" >&5
6061 echo "${ECHO_T}yes" >&6
6062 else
6063 echo "$as_me:$LINENO: result: no" >&5
6064 echo "${ECHO_T}no" >&6
6065 fi
6066
6067
6068 enablestring=
6069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6070 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6071 no_cache=0
6072 # Check whether --enable-loggui or --disable-loggui was given.
6073 if test "${enable_loggui+set}" = set; then
6074 enableval="$enable_loggui"
6075
6076 if test "$enableval" = yes; then
6077 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6078 else
6079 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6080 fi
6081
6082 else
6083
6084 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6085 if test "x$LINE" != x ; then
6086 eval "DEFAULT_$LINE"
6087 else
6088 no_cache=1
6089 fi
6090
6091 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6092
6093 fi;
6094
6095 eval "$ac_cv_use_loggui"
6096 if test "$no_cache" != 1; then
6097 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6098 fi
6099
6100 if test "$wxUSE_LOGGUI" = yes; then
6101 echo "$as_me:$LINENO: result: yes" >&5
6102 echo "${ECHO_T}yes" >&6
6103 else
6104 echo "$as_me:$LINENO: result: no" >&5
6105 echo "${ECHO_T}no" >&6
6106 fi
6107
6108
6109 enablestring=
6110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6111 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6112 no_cache=0
6113 # Check whether --enable-logwin or --disable-logwin was given.
6114 if test "${enable_logwin+set}" = set; then
6115 enableval="$enable_logwin"
6116
6117 if test "$enableval" = yes; then
6118 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6119 else
6120 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6121 fi
6122
6123 else
6124
6125 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6126 if test "x$LINE" != x ; then
6127 eval "DEFAULT_$LINE"
6128 else
6129 no_cache=1
6130 fi
6131
6132 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6133
6134 fi;
6135
6136 eval "$ac_cv_use_logwin"
6137 if test "$no_cache" != 1; then
6138 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6139 fi
6140
6141 if test "$wxUSE_LOGWINDOW" = yes; then
6142 echo "$as_me:$LINENO: result: yes" >&5
6143 echo "${ECHO_T}yes" >&6
6144 else
6145 echo "$as_me:$LINENO: result: no" >&5
6146 echo "${ECHO_T}no" >&6
6147 fi
6148
6149
6150 enablestring=
6151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6152 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6153 no_cache=0
6154 # Check whether --enable-logdialog or --disable-logdialog was given.
6155 if test "${enable_logdialog+set}" = set; then
6156 enableval="$enable_logdialog"
6157
6158 if test "$enableval" = yes; then
6159 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6160 else
6161 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6162 fi
6163
6164 else
6165
6166 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6167 if test "x$LINE" != x ; then
6168 eval "DEFAULT_$LINE"
6169 else
6170 no_cache=1
6171 fi
6172
6173 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6174
6175 fi;
6176
6177 eval "$ac_cv_use_logdialog"
6178 if test "$no_cache" != 1; then
6179 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6180 fi
6181
6182 if test "$wxUSE_LOGDIALOG" = yes; then
6183 echo "$as_me:$LINENO: result: yes" >&5
6184 echo "${ECHO_T}yes" >&6
6185 else
6186 echo "$as_me:$LINENO: result: no" >&5
6187 echo "${ECHO_T}no" >&6
6188 fi
6189
6190
6191
6192 enablestring=
6193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6194 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6195 no_cache=0
6196 # Check whether --enable-postscript or --disable-postscript was given.
6197 if test "${enable_postscript+set}" = set; then
6198 enableval="$enable_postscript"
6199
6200 if test "$enableval" = yes; then
6201 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6202 else
6203 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6204 fi
6205
6206 else
6207
6208 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6209 if test "x$LINE" != x ; then
6210 eval "DEFAULT_$LINE"
6211 else
6212 no_cache=1
6213 fi
6214
6215 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6216
6217 fi;
6218
6219 eval "$ac_cv_use_postscript"
6220 if test "$no_cache" != 1; then
6221 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6222 fi
6223
6224 if test "$wxUSE_POSTSCRIPT" = yes; then
6225 echo "$as_me:$LINENO: result: yes" >&5
6226 echo "${ECHO_T}yes" >&6
6227 else
6228 echo "$as_me:$LINENO: result: no" >&5
6229 echo "${ECHO_T}no" >&6
6230 fi
6231
6232
6233
6234
6235
6236 enablestring=
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6239 no_cache=0
6240 # Check whether --enable-prologio or --disable-prologio was given.
6241 if test "${enable_prologio+set}" = set; then
6242 enableval="$enable_prologio"
6243
6244 if test "$enableval" = yes; then
6245 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6246 else
6247 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6248 fi
6249
6250 else
6251
6252 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x ; then
6254 eval "DEFAULT_$LINE"
6255 else
6256 no_cache=1
6257 fi
6258
6259 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6260
6261 fi;
6262
6263 eval "$ac_cv_use_prologio"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6266 fi
6267
6268 if test "$wxUSE_PROLOGIO" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6271 else
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6274 fi
6275
6276
6277 enablestring=
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6280 no_cache=0
6281 # Check whether --enable-resources or --disable-resources was given.
6282 if test "${enable_resources+set}" = set; then
6283 enableval="$enable_resources"
6284
6285 if test "$enableval" = yes; then
6286 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6287 else
6288 ac_cv_use_resources='wxUSE_RESOURCES=no'
6289 fi
6290
6291 else
6292
6293 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x ; then
6295 eval "DEFAULT_$LINE"
6296 else
6297 no_cache=1
6298 fi
6299
6300 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6301
6302 fi;
6303
6304 eval "$ac_cv_use_resources"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6307 fi
6308
6309 if test "$wxUSE_RESOURCES" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6312 else
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6315 fi
6316
6317
6318
6319
6320 enablestring=
6321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6323 no_cache=0
6324 # Check whether --enable-clipboard or --disable-clipboard was given.
6325 if test "${enable_clipboard+set}" = set; then
6326 enableval="$enable_clipboard"
6327
6328 if test "$enableval" = yes; then
6329 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6330 else
6331 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6332 fi
6333
6334 else
6335
6336 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6337 if test "x$LINE" != x ; then
6338 eval "DEFAULT_$LINE"
6339 else
6340 no_cache=1
6341 fi
6342
6343 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6344
6345 fi;
6346
6347 eval "$ac_cv_use_clipboard"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6350 fi
6351
6352 if test "$wxUSE_CLIPBOARD" = yes; then
6353 echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6
6355 else
6356 echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6
6358 fi
6359
6360
6361 enablestring=
6362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6364 no_cache=0
6365 # Check whether --enable-dnd or --disable-dnd was given.
6366 if test "${enable_dnd+set}" = set; then
6367 enableval="$enable_dnd"
6368
6369 if test "$enableval" = yes; then
6370 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6371 else
6372 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6373 fi
6374
6375 else
6376
6377 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6378 if test "x$LINE" != x ; then
6379 eval "DEFAULT_$LINE"
6380 else
6381 no_cache=1
6382 fi
6383
6384 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6385
6386 fi;
6387
6388 eval "$ac_cv_use_dnd"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6391 fi
6392
6393 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6394 echo "$as_me:$LINENO: result: yes" >&5
6395 echo "${ECHO_T}yes" >&6
6396 else
6397 echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6
6399 fi
6400
6401
6402 enablestring=
6403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6405 no_cache=0
6406 # Check whether --enable-metafile or --disable-metafile was given.
6407 if test "${enable_metafile+set}" = set; then
6408 enableval="$enable_metafile"
6409
6410 if test "$enableval" = yes; then
6411 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6412 else
6413 ac_cv_use_metafile='wxUSE_METAFILE=no'
6414 fi
6415
6416 else
6417
6418 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6419 if test "x$LINE" != x ; then
6420 eval "DEFAULT_$LINE"
6421 else
6422 no_cache=1
6423 fi
6424
6425 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6426
6427 fi;
6428
6429 eval "$ac_cv_use_metafile"
6430 if test "$no_cache" != 1; then
6431 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6432 fi
6433
6434 if test "$wxUSE_METAFILE" = yes; then
6435 echo "$as_me:$LINENO: result: yes" >&5
6436 echo "${ECHO_T}yes" >&6
6437 else
6438 echo "$as_me:$LINENO: result: no" >&5
6439 echo "${ECHO_T}no" >&6
6440 fi
6441
6442
6443
6444
6445
6446 enablestring=
6447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6448 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6449 no_cache=0
6450 # Check whether --enable-controls or --disable-controls was given.
6451 if test "${enable_controls+set}" = set; then
6452 enableval="$enable_controls"
6453
6454 if test "$enableval" = yes; then
6455 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6456 else
6457 ac_cv_use_controls='wxUSE_CONTROLS=no'
6458 fi
6459
6460 else
6461
6462 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6463 if test "x$LINE" != x ; then
6464 eval "DEFAULT_$LINE"
6465 else
6466 no_cache=1
6467 fi
6468
6469 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6470
6471 fi;
6472
6473 eval "$ac_cv_use_controls"
6474 if test "$no_cache" != 1; then
6475 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6476 fi
6477
6478 if test "$wxUSE_CONTROLS" = yes; then
6479 echo "$as_me:$LINENO: result: yes" >&5
6480 echo "${ECHO_T}yes" >&6
6481 else
6482 echo "$as_me:$LINENO: result: no" >&5
6483 echo "${ECHO_T}no" >&6
6484 fi
6485
6486
6487 if test "$wxUSE_CONTROLS" = "yes"; then
6488 DEFAULT_wxUSE_ACCEL=yes
6489 DEFAULT_wxUSE_BMPBUTTON=yes
6490 DEFAULT_wxUSE_BUTTON=yes
6491 DEFAULT_wxUSE_CALCTRL=no
6492 DEFAULT_wxUSE_CARET=yes
6493 DEFAULT_wxUSE_COMBOBOX=yes
6494 DEFAULT_wxUSE_CHECKBOX=yes
6495 DEFAULT_wxUSE_CHECKLISTBOX=yes
6496 DEFAULT_wxUSE_CHOICE=yes
6497 DEFAULT_wxUSE_GAUGE=yes
6498 DEFAULT_wxUSE_GRID=yes
6499 DEFAULT_wxUSE_IMAGLIST=yes
6500 DEFAULT_wxUSE_LISTBOX=yes
6501 DEFAULT_wxUSE_LISTCTRL=yes
6502 DEFAULT_wxUSE_NOTEBOOK=yes
6503 DEFAULT_wxUSE_RADIOBOX=yes
6504 DEFAULT_wxUSE_RADIOBTN=yes
6505 DEFAULT_wxUSE_SASH=yes
6506 DEFAULT_wxUSE_SCROLLBAR=yes
6507 DEFAULT_wxUSE_SLIDER=yes
6508 DEFAULT_wxUSE_SPINBTN=yes
6509 DEFAULT_wxUSE_SPINCTRL=yes
6510 DEFAULT_wxUSE_SPLITTER=yes
6511 DEFAULT_wxUSE_STATBMP=yes
6512 DEFAULT_wxUSE_STATBOX=yes
6513 DEFAULT_wxUSE_STATLINE=yes
6514 DEFAULT_wxUSE_STATUSBAR=yes
6515 DEFAULT_wxUSE_TAB_DIALOG=yes
6516 DEFAULT_wxUSE_TOGGLEBTN=yes
6517 DEFAULT_wxUSE_TOOLBAR=yes
6518 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6519 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6520 DEFAULT_wxUSE_TOOLTIPS=yes
6521 DEFAULT_wxUSE_TREECTRL=yes
6522 DEFAULT_wxUSE_POPUPWIN=yes
6523 DEFAULT_wxUSE_TIPWINDOW=yes
6524 elif test "$wxUSE_CONTROLS" = "no"; then
6525 DEFAULT_wxUSE_ACCEL=no
6526 DEFAULT_wxUSE_BMPBUTTON=no
6527 DEFAULT_wxUSE_BUTTON=no
6528 DEFAULT_wxUSE_CALCTRL=no
6529 DEFAULT_wxUSE_CARET=no
6530 DEFAULT_wxUSE_COMBOBOX=no
6531 DEFAULT_wxUSE_CHECKBOX=no
6532 DEFAULT_wxUSE_CHECKLISTBOX=no
6533 DEFAULT_wxUSE_CHOICE=no
6534 DEFAULT_wxUSE_GAUGE=no
6535 DEFAULT_wxUSE_GRID=no
6536 DEFAULT_wxUSE_IMAGLIST=no
6537 DEFAULT_wxUSE_LISTBOX=no
6538 DEFAULT_wxUSE_LISTCTRL=no
6539 DEFAULT_wxUSE_NOTEBOOK=no
6540 DEFAULT_wxUSE_RADIOBOX=no
6541 DEFAULT_wxUSE_RADIOBTN=no
6542 DEFAULT_wxUSE_SASH=no
6543 DEFAULT_wxUSE_SCROLLBAR=no
6544 DEFAULT_wxUSE_SLIDER=no
6545 DEFAULT_wxUSE_SPINBTN=no
6546 DEFAULT_wxUSE_SPINCTRL=no
6547 DEFAULT_wxUSE_SPLITTER=no
6548 DEFAULT_wxUSE_STATBMP=no
6549 DEFAULT_wxUSE_STATBOX=no
6550 DEFAULT_wxUSE_STATLINE=no
6551 DEFAULT_wxUSE_STATUSBAR=no
6552 DEFAULT_wxUSE_TAB_DIALOG=no
6553 DEFAULT_wxUSE_TOGGLEBTN=no
6554 DEFAULT_wxUSE_TOOLBAR=no
6555 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6556 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6557 DEFAULT_wxUSE_TOOLTIPS=no
6558 DEFAULT_wxUSE_TREECTRL=no
6559 DEFAULT_wxUSE_POPUPWIN=no
6560 DEFAULT_wxUSE_TIPWINDOW=no
6561 fi
6562
6563 ## FIXME: This is a blatant hack
6564 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6565 wxUSE_PRINTING_ARCHITECTURE=no
6566 wxUSE_DRAG_AND_DROP=no
6567 # Generic notebook requires tab dialog
6568 DEFAULT_wxUSE_TABDIALOG=yes
6569 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6570 DEFAULT_wxUSE_SCROLLBAR=no
6571 DEFAULT_wxUSE_TOOLTIPS=no
6572 DEFAULT_wxUSE_DRAGIMAGE=no
6573 fi
6574
6575
6576 enablestring=
6577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6578 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6579 no_cache=0
6580 # Check whether --enable-accel or --disable-accel was given.
6581 if test "${enable_accel+set}" = set; then
6582 enableval="$enable_accel"
6583
6584 if test "$enableval" = yes; then
6585 ac_cv_use_accel='wxUSE_ACCEL=yes'
6586 else
6587 ac_cv_use_accel='wxUSE_ACCEL=no'
6588 fi
6589
6590 else
6591
6592 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6593 if test "x$LINE" != x ; then
6594 eval "DEFAULT_$LINE"
6595 else
6596 no_cache=1
6597 fi
6598
6599 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6600
6601 fi;
6602
6603 eval "$ac_cv_use_accel"
6604 if test "$no_cache" != 1; then
6605 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6606 fi
6607
6608 if test "$wxUSE_ACCEL" = yes; then
6609 echo "$as_me:$LINENO: result: yes" >&5
6610 echo "${ECHO_T}yes" >&6
6611 else
6612 echo "$as_me:$LINENO: result: no" >&5
6613 echo "${ECHO_T}no" >&6
6614 fi
6615
6616
6617 enablestring=
6618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6619 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6620 no_cache=0
6621 # Check whether --enable-button or --disable-button was given.
6622 if test "${enable_button+set}" = set; then
6623 enableval="$enable_button"
6624
6625 if test "$enableval" = yes; then
6626 ac_cv_use_button='wxUSE_BUTTON=yes'
6627 else
6628 ac_cv_use_button='wxUSE_BUTTON=no'
6629 fi
6630
6631 else
6632
6633 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6634 if test "x$LINE" != x ; then
6635 eval "DEFAULT_$LINE"
6636 else
6637 no_cache=1
6638 fi
6639
6640 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6641
6642 fi;
6643
6644 eval "$ac_cv_use_button"
6645 if test "$no_cache" != 1; then
6646 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6647 fi
6648
6649 if test "$wxUSE_BUTTON" = yes; then
6650 echo "$as_me:$LINENO: result: yes" >&5
6651 echo "${ECHO_T}yes" >&6
6652 else
6653 echo "$as_me:$LINENO: result: no" >&5
6654 echo "${ECHO_T}no" >&6
6655 fi
6656
6657
6658 enablestring=
6659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6660 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6661 no_cache=0
6662 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6663 if test "${enable_bmpbutton+set}" = set; then
6664 enableval="$enable_bmpbutton"
6665
6666 if test "$enableval" = yes; then
6667 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6668 else
6669 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6670 fi
6671
6672 else
6673
6674 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6675 if test "x$LINE" != x ; then
6676 eval "DEFAULT_$LINE"
6677 else
6678 no_cache=1
6679 fi
6680
6681 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6682
6683 fi;
6684
6685 eval "$ac_cv_use_bmpbutton"
6686 if test "$no_cache" != 1; then
6687 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6688 fi
6689
6690 if test "$wxUSE_BMPBUTTON" = yes; then
6691 echo "$as_me:$LINENO: result: yes" >&5
6692 echo "${ECHO_T}yes" >&6
6693 else
6694 echo "$as_me:$LINENO: result: no" >&5
6695 echo "${ECHO_T}no" >&6
6696 fi
6697
6698
6699 enablestring=
6700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6701 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6702 no_cache=0
6703 # Check whether --enable-calendar or --disable-calendar was given.
6704 if test "${enable_calendar+set}" = set; then
6705 enableval="$enable_calendar"
6706
6707 if test "$enableval" = yes; then
6708 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6709 else
6710 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6711 fi
6712
6713 else
6714
6715 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6716 if test "x$LINE" != x ; then
6717 eval "DEFAULT_$LINE"
6718 else
6719 no_cache=1
6720 fi
6721
6722 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6723
6724 fi;
6725
6726 eval "$ac_cv_use_calendar"
6727 if test "$no_cache" != 1; then
6728 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6729 fi
6730
6731 if test "$wxUSE_CALCTRL" = yes; then
6732 echo "$as_me:$LINENO: result: yes" >&5
6733 echo "${ECHO_T}yes" >&6
6734 else
6735 echo "$as_me:$LINENO: result: no" >&5
6736 echo "${ECHO_T}no" >&6
6737 fi
6738
6739
6740 enablestring=
6741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6742 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6743 no_cache=0
6744 # Check whether --enable-caret or --disable-caret was given.
6745 if test "${enable_caret+set}" = set; then
6746 enableval="$enable_caret"
6747
6748 if test "$enableval" = yes; then
6749 ac_cv_use_caret='wxUSE_CARET=yes'
6750 else
6751 ac_cv_use_caret='wxUSE_CARET=no'
6752 fi
6753
6754 else
6755
6756 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6757 if test "x$LINE" != x ; then
6758 eval "DEFAULT_$LINE"
6759 else
6760 no_cache=1
6761 fi
6762
6763 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6764
6765 fi;
6766
6767 eval "$ac_cv_use_caret"
6768 if test "$no_cache" != 1; then
6769 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6770 fi
6771
6772 if test "$wxUSE_CARET" = yes; then
6773 echo "$as_me:$LINENO: result: yes" >&5
6774 echo "${ECHO_T}yes" >&6
6775 else
6776 echo "$as_me:$LINENO: result: no" >&5
6777 echo "${ECHO_T}no" >&6
6778 fi
6779
6780
6781 enablestring=
6782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6783 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6784 no_cache=0
6785 # Check whether --enable-checkbox or --disable-checkbox was given.
6786 if test "${enable_checkbox+set}" = set; then
6787 enableval="$enable_checkbox"
6788
6789 if test "$enableval" = yes; then
6790 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6791 else
6792 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6793 fi
6794
6795 else
6796
6797 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6798 if test "x$LINE" != x ; then
6799 eval "DEFAULT_$LINE"
6800 else
6801 no_cache=1
6802 fi
6803
6804 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6805
6806 fi;
6807
6808 eval "$ac_cv_use_checkbox"
6809 if test "$no_cache" != 1; then
6810 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6811 fi
6812
6813 if test "$wxUSE_CHECKBOX" = yes; then
6814 echo "$as_me:$LINENO: result: yes" >&5
6815 echo "${ECHO_T}yes" >&6
6816 else
6817 echo "$as_me:$LINENO: result: no" >&5
6818 echo "${ECHO_T}no" >&6
6819 fi
6820
6821
6822 enablestring=
6823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6824 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6825 no_cache=0
6826 # Check whether --enable-checklst or --disable-checklst was given.
6827 if test "${enable_checklst+set}" = set; then
6828 enableval="$enable_checklst"
6829
6830 if test "$enableval" = yes; then
6831 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6832 else
6833 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6834 fi
6835
6836 else
6837
6838 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6839 if test "x$LINE" != x ; then
6840 eval "DEFAULT_$LINE"
6841 else
6842 no_cache=1
6843 fi
6844
6845 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6846
6847 fi;
6848
6849 eval "$ac_cv_use_checklst"
6850 if test "$no_cache" != 1; then
6851 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6852 fi
6853
6854 if test "$wxUSE_CHECKLST" = yes; then
6855 echo "$as_me:$LINENO: result: yes" >&5
6856 echo "${ECHO_T}yes" >&6
6857 else
6858 echo "$as_me:$LINENO: result: no" >&5
6859 echo "${ECHO_T}no" >&6
6860 fi
6861
6862
6863 enablestring=
6864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6865 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6866 no_cache=0
6867 # Check whether --enable-choice or --disable-choice was given.
6868 if test "${enable_choice+set}" = set; then
6869 enableval="$enable_choice"
6870
6871 if test "$enableval" = yes; then
6872 ac_cv_use_choice='wxUSE_CHOICE=yes'
6873 else
6874 ac_cv_use_choice='wxUSE_CHOICE=no'
6875 fi
6876
6877 else
6878
6879 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6880 if test "x$LINE" != x ; then
6881 eval "DEFAULT_$LINE"
6882 else
6883 no_cache=1
6884 fi
6885
6886 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6887
6888 fi;
6889
6890 eval "$ac_cv_use_choice"
6891 if test "$no_cache" != 1; then
6892 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6893 fi
6894
6895 if test "$wxUSE_CHOICE" = yes; then
6896 echo "$as_me:$LINENO: result: yes" >&5
6897 echo "${ECHO_T}yes" >&6
6898 else
6899 echo "$as_me:$LINENO: result: no" >&5
6900 echo "${ECHO_T}no" >&6
6901 fi
6902
6903
6904 enablestring=
6905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6906 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6907 no_cache=0
6908 # Check whether --enable-combobox or --disable-combobox was given.
6909 if test "${enable_combobox+set}" = set; then
6910 enableval="$enable_combobox"
6911
6912 if test "$enableval" = yes; then
6913 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6914 else
6915 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6916 fi
6917
6918 else
6919
6920 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6921 if test "x$LINE" != x ; then
6922 eval "DEFAULT_$LINE"
6923 else
6924 no_cache=1
6925 fi
6926
6927 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6928
6929 fi;
6930
6931 eval "$ac_cv_use_combobox"
6932 if test "$no_cache" != 1; then
6933 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6934 fi
6935
6936 if test "$wxUSE_COMBOBOX" = yes; then
6937 echo "$as_me:$LINENO: result: yes" >&5
6938 echo "${ECHO_T}yes" >&6
6939 else
6940 echo "$as_me:$LINENO: result: no" >&5
6941 echo "${ECHO_T}no" >&6
6942 fi
6943
6944
6945 enablestring=
6946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6947 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6948 no_cache=0
6949 # Check whether --enable-display or --disable-display was given.
6950 if test "${enable_display+set}" = set; then
6951 enableval="$enable_display"
6952
6953 if test "$enableval" = yes; then
6954 ac_cv_use_display='wxUSE_DISPLAY=yes'
6955 else
6956 ac_cv_use_display='wxUSE_DISPLAY=no'
6957 fi
6958
6959 else
6960
6961 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6962 if test "x$LINE" != x ; then
6963 eval "DEFAULT_$LINE"
6964 else
6965 no_cache=1
6966 fi
6967
6968 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6969
6970 fi;
6971
6972 eval "$ac_cv_use_display"
6973 if test "$no_cache" != 1; then
6974 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6975 fi
6976
6977 if test "$wxUSE_DISPLAY" = yes; then
6978 echo "$as_me:$LINENO: result: yes" >&5
6979 echo "${ECHO_T}yes" >&6
6980 else
6981 echo "$as_me:$LINENO: result: no" >&5
6982 echo "${ECHO_T}no" >&6
6983 fi
6984
6985
6986 enablestring=
6987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6988 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6989 no_cache=0
6990 # Check whether --enable-gauge or --disable-gauge was given.
6991 if test "${enable_gauge+set}" = set; then
6992 enableval="$enable_gauge"
6993
6994 if test "$enableval" = yes; then
6995 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6996 else
6997 ac_cv_use_gauge='wxUSE_GAUGE=no'
6998 fi
6999
7000 else
7001
7002 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7003 if test "x$LINE" != x ; then
7004 eval "DEFAULT_$LINE"
7005 else
7006 no_cache=1
7007 fi
7008
7009 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7010
7011 fi;
7012
7013 eval "$ac_cv_use_gauge"
7014 if test "$no_cache" != 1; then
7015 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7016 fi
7017
7018 if test "$wxUSE_GAUGE" = yes; then
7019 echo "$as_me:$LINENO: result: yes" >&5
7020 echo "${ECHO_T}yes" >&6
7021 else
7022 echo "$as_me:$LINENO: result: no" >&5
7023 echo "${ECHO_T}no" >&6
7024 fi
7025
7026
7027 enablestring=
7028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7029 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7030 no_cache=0
7031 # Check whether --enable-grid or --disable-grid was given.
7032 if test "${enable_grid+set}" = set; then
7033 enableval="$enable_grid"
7034
7035 if test "$enableval" = yes; then
7036 ac_cv_use_grid='wxUSE_GRID=yes'
7037 else
7038 ac_cv_use_grid='wxUSE_GRID=no'
7039 fi
7040
7041 else
7042
7043 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7044 if test "x$LINE" != x ; then
7045 eval "DEFAULT_$LINE"
7046 else
7047 no_cache=1
7048 fi
7049
7050 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7051
7052 fi;
7053
7054 eval "$ac_cv_use_grid"
7055 if test "$no_cache" != 1; then
7056 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7057 fi
7058
7059 if test "$wxUSE_GRID" = yes; then
7060 echo "$as_me:$LINENO: result: yes" >&5
7061 echo "${ECHO_T}yes" >&6
7062 else
7063 echo "$as_me:$LINENO: result: no" >&5
7064 echo "${ECHO_T}no" >&6
7065 fi
7066
7067
7068 enablestring=
7069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7070 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7071 no_cache=0
7072 # Check whether --enable-imaglist or --disable-imaglist was given.
7073 if test "${enable_imaglist+set}" = set; then
7074 enableval="$enable_imaglist"
7075
7076 if test "$enableval" = yes; then
7077 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7078 else
7079 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7080 fi
7081
7082 else
7083
7084 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7085 if test "x$LINE" != x ; then
7086 eval "DEFAULT_$LINE"
7087 else
7088 no_cache=1
7089 fi
7090
7091 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7092
7093 fi;
7094
7095 eval "$ac_cv_use_imaglist"
7096 if test "$no_cache" != 1; then
7097 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7098 fi
7099
7100 if test "$wxUSE_IMAGLIST" = yes; then
7101 echo "$as_me:$LINENO: result: yes" >&5
7102 echo "${ECHO_T}yes" >&6
7103 else
7104 echo "$as_me:$LINENO: result: no" >&5
7105 echo "${ECHO_T}no" >&6
7106 fi
7107
7108
7109 enablestring=
7110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7111 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7112 no_cache=0
7113 # Check whether --enable-listbox or --disable-listbox was given.
7114 if test "${enable_listbox+set}" = set; then
7115 enableval="$enable_listbox"
7116
7117 if test "$enableval" = yes; then
7118 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7119 else
7120 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7121 fi
7122
7123 else
7124
7125 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7126 if test "x$LINE" != x ; then
7127 eval "DEFAULT_$LINE"
7128 else
7129 no_cache=1
7130 fi
7131
7132 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7133
7134 fi;
7135
7136 eval "$ac_cv_use_listbox"
7137 if test "$no_cache" != 1; then
7138 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7139 fi
7140
7141 if test "$wxUSE_LISTBOX" = yes; then
7142 echo "$as_me:$LINENO: result: yes" >&5
7143 echo "${ECHO_T}yes" >&6
7144 else
7145 echo "$as_me:$LINENO: result: no" >&5
7146 echo "${ECHO_T}no" >&6
7147 fi
7148
7149
7150 enablestring=
7151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7152 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7153 no_cache=0
7154 # Check whether --enable-listctrl or --disable-listctrl was given.
7155 if test "${enable_listctrl+set}" = set; then
7156 enableval="$enable_listctrl"
7157
7158 if test "$enableval" = yes; then
7159 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7160 else
7161 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7162 fi
7163
7164 else
7165
7166 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7167 if test "x$LINE" != x ; then
7168 eval "DEFAULT_$LINE"
7169 else
7170 no_cache=1
7171 fi
7172
7173 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7174
7175 fi;
7176
7177 eval "$ac_cv_use_listctrl"
7178 if test "$no_cache" != 1; then
7179 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7180 fi
7181
7182 if test "$wxUSE_LISTCTRL" = yes; then
7183 echo "$as_me:$LINENO: result: yes" >&5
7184 echo "${ECHO_T}yes" >&6
7185 else
7186 echo "$as_me:$LINENO: result: no" >&5
7187 echo "${ECHO_T}no" >&6
7188 fi
7189
7190
7191 enablestring=
7192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7193 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7194 no_cache=0
7195 # Check whether --enable-notebook or --disable-notebook was given.
7196 if test "${enable_notebook+set}" = set; then
7197 enableval="$enable_notebook"
7198
7199 if test "$enableval" = yes; then
7200 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7201 else
7202 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7203 fi
7204
7205 else
7206
7207 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7208 if test "x$LINE" != x ; then
7209 eval "DEFAULT_$LINE"
7210 else
7211 no_cache=1
7212 fi
7213
7214 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7215
7216 fi;
7217
7218 eval "$ac_cv_use_notebook"
7219 if test "$no_cache" != 1; then
7220 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7221 fi
7222
7223 if test "$wxUSE_NOTEBOOK" = yes; then
7224 echo "$as_me:$LINENO: result: yes" >&5
7225 echo "${ECHO_T}yes" >&6
7226 else
7227 echo "$as_me:$LINENO: result: no" >&5
7228 echo "${ECHO_T}no" >&6
7229 fi
7230
7231
7232 enablestring=
7233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7234 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7235 no_cache=0
7236 # Check whether --enable-radiobox or --disable-radiobox was given.
7237 if test "${enable_radiobox+set}" = set; then
7238 enableval="$enable_radiobox"
7239
7240 if test "$enableval" = yes; then
7241 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7242 else
7243 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7244 fi
7245
7246 else
7247
7248 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7249 if test "x$LINE" != x ; then
7250 eval "DEFAULT_$LINE"
7251 else
7252 no_cache=1
7253 fi
7254
7255 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7256
7257 fi;
7258
7259 eval "$ac_cv_use_radiobox"
7260 if test "$no_cache" != 1; then
7261 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7262 fi
7263
7264 if test "$wxUSE_RADIOBOX" = yes; then
7265 echo "$as_me:$LINENO: result: yes" >&5
7266 echo "${ECHO_T}yes" >&6
7267 else
7268 echo "$as_me:$LINENO: result: no" >&5
7269 echo "${ECHO_T}no" >&6
7270 fi
7271
7272
7273 enablestring=
7274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7275 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7276 no_cache=0
7277 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7278 if test "${enable_radiobtn+set}" = set; then
7279 enableval="$enable_radiobtn"
7280
7281 if test "$enableval" = yes; then
7282 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7283 else
7284 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7285 fi
7286
7287 else
7288
7289 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7290 if test "x$LINE" != x ; then
7291 eval "DEFAULT_$LINE"
7292 else
7293 no_cache=1
7294 fi
7295
7296 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7297
7298 fi;
7299
7300 eval "$ac_cv_use_radiobtn"
7301 if test "$no_cache" != 1; then
7302 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7303 fi
7304
7305 if test "$wxUSE_RADIOBTN" = yes; then
7306 echo "$as_me:$LINENO: result: yes" >&5
7307 echo "${ECHO_T}yes" >&6
7308 else
7309 echo "$as_me:$LINENO: result: no" >&5
7310 echo "${ECHO_T}no" >&6
7311 fi
7312
7313
7314 enablestring=
7315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7316 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7317 no_cache=0
7318 # Check whether --enable-sash or --disable-sash was given.
7319 if test "${enable_sash+set}" = set; then
7320 enableval="$enable_sash"
7321
7322 if test "$enableval" = yes; then
7323 ac_cv_use_sash='wxUSE_SASH=yes'
7324 else
7325 ac_cv_use_sash='wxUSE_SASH=no'
7326 fi
7327
7328 else
7329
7330 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x ; then
7332 eval "DEFAULT_$LINE"
7333 else
7334 no_cache=1
7335 fi
7336
7337 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7338
7339 fi;
7340
7341 eval "$ac_cv_use_sash"
7342 if test "$no_cache" != 1; then
7343 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7344 fi
7345
7346 if test "$wxUSE_SASH" = yes; then
7347 echo "$as_me:$LINENO: result: yes" >&5
7348 echo "${ECHO_T}yes" >&6
7349 else
7350 echo "$as_me:$LINENO: result: no" >&5
7351 echo "${ECHO_T}no" >&6
7352 fi
7353
7354
7355 enablestring=
7356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7357 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7358 no_cache=0
7359 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7360 if test "${enable_scrollbar+set}" = set; then
7361 enableval="$enable_scrollbar"
7362
7363 if test "$enableval" = yes; then
7364 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7365 else
7366 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7367 fi
7368
7369 else
7370
7371 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7372 if test "x$LINE" != x ; then
7373 eval "DEFAULT_$LINE"
7374 else
7375 no_cache=1
7376 fi
7377
7378 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7379
7380 fi;
7381
7382 eval "$ac_cv_use_scrollbar"
7383 if test "$no_cache" != 1; then
7384 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7385 fi
7386
7387 if test "$wxUSE_SCROLLBAR" = yes; then
7388 echo "$as_me:$LINENO: result: yes" >&5
7389 echo "${ECHO_T}yes" >&6
7390 else
7391 echo "$as_me:$LINENO: result: no" >&5
7392 echo "${ECHO_T}no" >&6
7393 fi
7394
7395
7396 enablestring=
7397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7398 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7399 no_cache=0
7400 # Check whether --enable-slider or --disable-slider was given.
7401 if test "${enable_slider+set}" = set; then
7402 enableval="$enable_slider"
7403
7404 if test "$enableval" = yes; then
7405 ac_cv_use_slider='wxUSE_SLIDER=yes'
7406 else
7407 ac_cv_use_slider='wxUSE_SLIDER=no'
7408 fi
7409
7410 else
7411
7412 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7413 if test "x$LINE" != x ; then
7414 eval "DEFAULT_$LINE"
7415 else
7416 no_cache=1
7417 fi
7418
7419 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7420
7421 fi;
7422
7423 eval "$ac_cv_use_slider"
7424 if test "$no_cache" != 1; then
7425 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7426 fi
7427
7428 if test "$wxUSE_SLIDER" = yes; then
7429 echo "$as_me:$LINENO: result: yes" >&5
7430 echo "${ECHO_T}yes" >&6
7431 else
7432 echo "$as_me:$LINENO: result: no" >&5
7433 echo "${ECHO_T}no" >&6
7434 fi
7435
7436
7437 enablestring=
7438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7439 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7440 no_cache=0
7441 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7442 if test "${enable_spinbtn+set}" = set; then
7443 enableval="$enable_spinbtn"
7444
7445 if test "$enableval" = yes; then
7446 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7447 else
7448 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7449 fi
7450
7451 else
7452
7453 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7454 if test "x$LINE" != x ; then
7455 eval "DEFAULT_$LINE"
7456 else
7457 no_cache=1
7458 fi
7459
7460 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7461
7462 fi;
7463
7464 eval "$ac_cv_use_spinbtn"
7465 if test "$no_cache" != 1; then
7466 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7467 fi
7468
7469 if test "$wxUSE_SPINBTN" = yes; then
7470 echo "$as_me:$LINENO: result: yes" >&5
7471 echo "${ECHO_T}yes" >&6
7472 else
7473 echo "$as_me:$LINENO: result: no" >&5
7474 echo "${ECHO_T}no" >&6
7475 fi
7476
7477
7478 enablestring=
7479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7480 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7481 no_cache=0
7482 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7483 if test "${enable_spinctrl+set}" = set; then
7484 enableval="$enable_spinctrl"
7485
7486 if test "$enableval" = yes; then
7487 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7488 else
7489 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7490 fi
7491
7492 else
7493
7494 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7495 if test "x$LINE" != x ; then
7496 eval "DEFAULT_$LINE"
7497 else
7498 no_cache=1
7499 fi
7500
7501 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7502
7503 fi;
7504
7505 eval "$ac_cv_use_spinctrl"
7506 if test "$no_cache" != 1; then
7507 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7508 fi
7509
7510 if test "$wxUSE_SPINCTRL" = yes; then
7511 echo "$as_me:$LINENO: result: yes" >&5
7512 echo "${ECHO_T}yes" >&6
7513 else
7514 echo "$as_me:$LINENO: result: no" >&5
7515 echo "${ECHO_T}no" >&6
7516 fi
7517
7518
7519 enablestring=
7520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7522 no_cache=0
7523 # Check whether --enable-splitter or --disable-splitter was given.
7524 if test "${enable_splitter+set}" = set; then
7525 enableval="$enable_splitter"
7526
7527 if test "$enableval" = yes; then
7528 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7529 else
7530 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7531 fi
7532
7533 else
7534
7535 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7536 if test "x$LINE" != x ; then
7537 eval "DEFAULT_$LINE"
7538 else
7539 no_cache=1
7540 fi
7541
7542 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7543
7544 fi;
7545
7546 eval "$ac_cv_use_splitter"
7547 if test "$no_cache" != 1; then
7548 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7549 fi
7550
7551 if test "$wxUSE_SPLITTER" = yes; then
7552 echo "$as_me:$LINENO: result: yes" >&5
7553 echo "${ECHO_T}yes" >&6
7554 else
7555 echo "$as_me:$LINENO: result: no" >&5
7556 echo "${ECHO_T}no" >&6
7557 fi
7558
7559
7560 enablestring=
7561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7562 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7563 no_cache=0
7564 # Check whether --enable-statbmp or --disable-statbmp was given.
7565 if test "${enable_statbmp+set}" = set; then
7566 enableval="$enable_statbmp"
7567
7568 if test "$enableval" = yes; then
7569 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7570 else
7571 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7572 fi
7573
7574 else
7575
7576 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7577 if test "x$LINE" != x ; then
7578 eval "DEFAULT_$LINE"
7579 else
7580 no_cache=1
7581 fi
7582
7583 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7584
7585 fi;
7586
7587 eval "$ac_cv_use_statbmp"
7588 if test "$no_cache" != 1; then
7589 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7590 fi
7591
7592 if test "$wxUSE_STATBMP" = yes; then
7593 echo "$as_me:$LINENO: result: yes" >&5
7594 echo "${ECHO_T}yes" >&6
7595 else
7596 echo "$as_me:$LINENO: result: no" >&5
7597 echo "${ECHO_T}no" >&6
7598 fi
7599
7600
7601 enablestring=
7602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7603 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7604 no_cache=0
7605 # Check whether --enable-statbox or --disable-statbox was given.
7606 if test "${enable_statbox+set}" = set; then
7607 enableval="$enable_statbox"
7608
7609 if test "$enableval" = yes; then
7610 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7611 else
7612 ac_cv_use_statbox='wxUSE_STATBOX=no'
7613 fi
7614
7615 else
7616
7617 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7618 if test "x$LINE" != x ; then
7619 eval "DEFAULT_$LINE"
7620 else
7621 no_cache=1
7622 fi
7623
7624 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7625
7626 fi;
7627
7628 eval "$ac_cv_use_statbox"
7629 if test "$no_cache" != 1; then
7630 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7631 fi
7632
7633 if test "$wxUSE_STATBOX" = yes; then
7634 echo "$as_me:$LINENO: result: yes" >&5
7635 echo "${ECHO_T}yes" >&6
7636 else
7637 echo "$as_me:$LINENO: result: no" >&5
7638 echo "${ECHO_T}no" >&6
7639 fi
7640
7641
7642 enablestring=
7643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7644 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7645 no_cache=0
7646 # Check whether --enable-statline or --disable-statline was given.
7647 if test "${enable_statline+set}" = set; then
7648 enableval="$enable_statline"
7649
7650 if test "$enableval" = yes; then
7651 ac_cv_use_statline='wxUSE_STATLINE=yes'
7652 else
7653 ac_cv_use_statline='wxUSE_STATLINE=no'
7654 fi
7655
7656 else
7657
7658 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7659 if test "x$LINE" != x ; then
7660 eval "DEFAULT_$LINE"
7661 else
7662 no_cache=1
7663 fi
7664
7665 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7666
7667 fi;
7668
7669 eval "$ac_cv_use_statline"
7670 if test "$no_cache" != 1; then
7671 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7672 fi
7673
7674 if test "$wxUSE_STATLINE" = yes; then
7675 echo "$as_me:$LINENO: result: yes" >&5
7676 echo "${ECHO_T}yes" >&6
7677 else
7678 echo "$as_me:$LINENO: result: no" >&5
7679 echo "${ECHO_T}no" >&6
7680 fi
7681
7682
7683 enablestring=
7684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7685 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7686 no_cache=0
7687 # Check whether --enable-stattext or --disable-stattext was given.
7688 if test "${enable_stattext+set}" = set; then
7689 enableval="$enable_stattext"
7690
7691 if test "$enableval" = yes; then
7692 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7693 else
7694 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7695 fi
7696
7697 else
7698
7699 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7700 if test "x$LINE" != x ; then
7701 eval "DEFAULT_$LINE"
7702 else
7703 no_cache=1
7704 fi
7705
7706 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7707
7708 fi;
7709
7710 eval "$ac_cv_use_stattext"
7711 if test "$no_cache" != 1; then
7712 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7713 fi
7714
7715 if test "$wxUSE_STATTEXT" = yes; then
7716 echo "$as_me:$LINENO: result: yes" >&5
7717 echo "${ECHO_T}yes" >&6
7718 else
7719 echo "$as_me:$LINENO: result: no" >&5
7720 echo "${ECHO_T}no" >&6
7721 fi
7722
7723
7724 enablestring=
7725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7726 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7727 no_cache=0
7728 # Check whether --enable-statusbar or --disable-statusbar was given.
7729 if test "${enable_statusbar+set}" = set; then
7730 enableval="$enable_statusbar"
7731
7732 if test "$enableval" = yes; then
7733 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7734 else
7735 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7736 fi
7737
7738 else
7739
7740 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7741 if test "x$LINE" != x ; then
7742 eval "DEFAULT_$LINE"
7743 else
7744 no_cache=1
7745 fi
7746
7747 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7748
7749 fi;
7750
7751 eval "$ac_cv_use_statusbar"
7752 if test "$no_cache" != 1; then
7753 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7754 fi
7755
7756 if test "$wxUSE_STATUSBAR" = yes; then
7757 echo "$as_me:$LINENO: result: yes" >&5
7758 echo "${ECHO_T}yes" >&6
7759 else
7760 echo "$as_me:$LINENO: result: no" >&5
7761 echo "${ECHO_T}no" >&6
7762 fi
7763
7764
7765 enablestring=
7766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7767 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7768 no_cache=0
7769 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7770 if test "${enable_tabdialog+set}" = set; then
7771 enableval="$enable_tabdialog"
7772
7773 if test "$enableval" = yes; then
7774 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7775 else
7776 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7777 fi
7778
7779 else
7780
7781 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7782 if test "x$LINE" != x ; then
7783 eval "DEFAULT_$LINE"
7784 else
7785 no_cache=1
7786 fi
7787
7788 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7789
7790 fi;
7791
7792 eval "$ac_cv_use_tabdialog"
7793 if test "$no_cache" != 1; then
7794 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7795 fi
7796
7797 if test "$wxUSE_TABDIALOG" = yes; then
7798 echo "$as_me:$LINENO: result: yes" >&5
7799 echo "${ECHO_T}yes" >&6
7800 else
7801 echo "$as_me:$LINENO: result: no" >&5
7802 echo "${ECHO_T}no" >&6
7803 fi
7804
7805
7806 enablestring=
7807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7808 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7809 no_cache=0
7810 # Check whether --enable-textctrl or --disable-textctrl was given.
7811 if test "${enable_textctrl+set}" = set; then
7812 enableval="$enable_textctrl"
7813
7814 if test "$enableval" = yes; then
7815 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7816 else
7817 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7818 fi
7819
7820 else
7821
7822 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7823 if test "x$LINE" != x ; then
7824 eval "DEFAULT_$LINE"
7825 else
7826 no_cache=1
7827 fi
7828
7829 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7830
7831 fi;
7832
7833 eval "$ac_cv_use_textctrl"
7834 if test "$no_cache" != 1; then
7835 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7836 fi
7837
7838 if test "$wxUSE_TEXTCTRL" = yes; then
7839 echo "$as_me:$LINENO: result: yes" >&5
7840 echo "${ECHO_T}yes" >&6
7841 else
7842 echo "$as_me:$LINENO: result: no" >&5
7843 echo "${ECHO_T}no" >&6
7844 fi
7845
7846
7847 enablestring=
7848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7849 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7850 no_cache=0
7851 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7852 if test "${enable_togglebtn+set}" = set; then
7853 enableval="$enable_togglebtn"
7854
7855 if test "$enableval" = yes; then
7856 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7857 else
7858 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7859 fi
7860
7861 else
7862
7863 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7864 if test "x$LINE" != x ; then
7865 eval "DEFAULT_$LINE"
7866 else
7867 no_cache=1
7868 fi
7869
7870 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7871
7872 fi;
7873
7874 eval "$ac_cv_use_togglebtn"
7875 if test "$no_cache" != 1; then
7876 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7877 fi
7878
7879 if test "$wxUSE_TOGGLEBTN" = yes; then
7880 echo "$as_me:$LINENO: result: yes" >&5
7881 echo "${ECHO_T}yes" >&6
7882 else
7883 echo "$as_me:$LINENO: result: no" >&5
7884 echo "${ECHO_T}no" >&6
7885 fi
7886
7887
7888 enablestring=
7889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7890 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7891 no_cache=0
7892 # Check whether --enable-toolbar or --disable-toolbar was given.
7893 if test "${enable_toolbar+set}" = set; then
7894 enableval="$enable_toolbar"
7895
7896 if test "$enableval" = yes; then
7897 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7898 else
7899 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7900 fi
7901
7902 else
7903
7904 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7905 if test "x$LINE" != x ; then
7906 eval "DEFAULT_$LINE"
7907 else
7908 no_cache=1
7909 fi
7910
7911 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7912
7913 fi;
7914
7915 eval "$ac_cv_use_toolbar"
7916 if test "$no_cache" != 1; then
7917 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7918 fi
7919
7920 if test "$wxUSE_TOOLBAR" = yes; then
7921 echo "$as_me:$LINENO: result: yes" >&5
7922 echo "${ECHO_T}yes" >&6
7923 else
7924 echo "$as_me:$LINENO: result: no" >&5
7925 echo "${ECHO_T}no" >&6
7926 fi
7927
7928
7929 enablestring=
7930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7931 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7932 no_cache=0
7933 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7934 if test "${enable_tbarnative+set}" = set; then
7935 enableval="$enable_tbarnative"
7936
7937 if test "$enableval" = yes; then
7938 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7939 else
7940 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7941 fi
7942
7943 else
7944
7945 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7946 if test "x$LINE" != x ; then
7947 eval "DEFAULT_$LINE"
7948 else
7949 no_cache=1
7950 fi
7951
7952 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7953
7954 fi;
7955
7956 eval "$ac_cv_use_tbarnative"
7957 if test "$no_cache" != 1; then
7958 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7959 fi
7960
7961 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7962 echo "$as_me:$LINENO: result: yes" >&5
7963 echo "${ECHO_T}yes" >&6
7964 else
7965 echo "$as_me:$LINENO: result: no" >&5
7966 echo "${ECHO_T}no" >&6
7967 fi
7968
7969
7970 enablestring=
7971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7973 no_cache=0
7974 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7975 if test "${enable_tbarsmpl+set}" = set; then
7976 enableval="$enable_tbarsmpl"
7977
7978 if test "$enableval" = yes; then
7979 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7980 else
7981 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7982 fi
7983
7984 else
7985
7986 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7989 else
7990 no_cache=1
7991 fi
7992
7993 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7994
7995 fi;
7996
7997 eval "$ac_cv_use_tbarsmpl"
7998 if test "$no_cache" != 1; then
7999 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8000 fi
8001
8002 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8003 echo "$as_me:$LINENO: result: yes" >&5
8004 echo "${ECHO_T}yes" >&6
8005 else
8006 echo "$as_me:$LINENO: result: no" >&5
8007 echo "${ECHO_T}no" >&6
8008 fi
8009
8010
8011 enablestring=
8012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8013 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8014 no_cache=0
8015 # Check whether --enable-treectrl or --disable-treectrl was given.
8016 if test "${enable_treectrl+set}" = set; then
8017 enableval="$enable_treectrl"
8018
8019 if test "$enableval" = yes; then
8020 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8021 else
8022 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8023 fi
8024
8025 else
8026
8027 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8028 if test "x$LINE" != x ; then
8029 eval "DEFAULT_$LINE"
8030 else
8031 no_cache=1
8032 fi
8033
8034 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8035
8036 fi;
8037
8038 eval "$ac_cv_use_treectrl"
8039 if test "$no_cache" != 1; then
8040 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8041 fi
8042
8043 if test "$wxUSE_TREECTRL" = yes; then
8044 echo "$as_me:$LINENO: result: yes" >&5
8045 echo "${ECHO_T}yes" >&6
8046 else
8047 echo "$as_me:$LINENO: result: no" >&5
8048 echo "${ECHO_T}no" >&6
8049 fi
8050
8051
8052 enablestring=
8053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8054 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8055 no_cache=0
8056 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8057 if test "${enable_tipwindow+set}" = set; then
8058 enableval="$enable_tipwindow"
8059
8060 if test "$enableval" = yes; then
8061 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8062 else
8063 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8064 fi
8065
8066 else
8067
8068 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8069 if test "x$LINE" != x ; then
8070 eval "DEFAULT_$LINE"
8071 else
8072 no_cache=1
8073 fi
8074
8075 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8076
8077 fi;
8078
8079 eval "$ac_cv_use_tipwindow"
8080 if test "$no_cache" != 1; then
8081 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8082 fi
8083
8084 if test "$wxUSE_TIPWINDOW" = yes; then
8085 echo "$as_me:$LINENO: result: yes" >&5
8086 echo "${ECHO_T}yes" >&6
8087 else
8088 echo "$as_me:$LINENO: result: no" >&5
8089 echo "${ECHO_T}no" >&6
8090 fi
8091
8092
8093 enablestring=
8094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8096 no_cache=0
8097 # Check whether --enable-popupwin or --disable-popupwin was given.
8098 if test "${enable_popupwin+set}" = set; then
8099 enableval="$enable_popupwin"
8100
8101 if test "$enableval" = yes; then
8102 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8103 else
8104 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8105 fi
8106
8107 else
8108
8109 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8110 if test "x$LINE" != x ; then
8111 eval "DEFAULT_$LINE"
8112 else
8113 no_cache=1
8114 fi
8115
8116 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8117
8118 fi;
8119
8120 eval "$ac_cv_use_popupwin"
8121 if test "$no_cache" != 1; then
8122 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8123 fi
8124
8125 if test "$wxUSE_POPUPWIN" = yes; then
8126 echo "$as_me:$LINENO: result: yes" >&5
8127 echo "${ECHO_T}yes" >&6
8128 else
8129 echo "$as_me:$LINENO: result: no" >&5
8130 echo "${ECHO_T}no" >&6
8131 fi
8132
8133
8134
8135
8136 enablestring=
8137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8138 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8139 no_cache=0
8140 # Check whether --enable-commondlg or --disable-commondlg was given.
8141 if test "${enable_commondlg+set}" = set; then
8142 enableval="$enable_commondlg"
8143
8144 if test "$enableval" = yes; then
8145 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8146 else
8147 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8148 fi
8149
8150 else
8151
8152 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8153 if test "x$LINE" != x ; then
8154 eval "DEFAULT_$LINE"
8155 else
8156 no_cache=1
8157 fi
8158
8159 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8160
8161 fi;
8162
8163 eval "$ac_cv_use_commondlg"
8164 if test "$no_cache" != 1; then
8165 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8166 fi
8167
8168 if test "$wxUSE_COMMONDLGS" = yes; then
8169 echo "$as_me:$LINENO: result: yes" >&5
8170 echo "${ECHO_T}yes" >&6
8171 else
8172 echo "$as_me:$LINENO: result: no" >&5
8173 echo "${ECHO_T}no" >&6
8174 fi
8175
8176
8177 enablestring=
8178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8179 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8180 no_cache=0
8181 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8182 if test "${enable_choicedlg+set}" = set; then
8183 enableval="$enable_choicedlg"
8184
8185 if test "$enableval" = yes; then
8186 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8187 else
8188 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8189 fi
8190
8191 else
8192
8193 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8194 if test "x$LINE" != x ; then
8195 eval "DEFAULT_$LINE"
8196 else
8197 no_cache=1
8198 fi
8199
8200 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8201
8202 fi;
8203
8204 eval "$ac_cv_use_choicedlg"
8205 if test "$no_cache" != 1; then
8206 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8207 fi
8208
8209 if test "$wxUSE_CHOICEDLG" = yes; then
8210 echo "$as_me:$LINENO: result: yes" >&5
8211 echo "${ECHO_T}yes" >&6
8212 else
8213 echo "$as_me:$LINENO: result: no" >&5
8214 echo "${ECHO_T}no" >&6
8215 fi
8216
8217
8218 enablestring=
8219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8220 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8221 no_cache=0
8222 # Check whether --enable-coldlg or --disable-coldlg was given.
8223 if test "${enable_coldlg+set}" = set; then
8224 enableval="$enable_coldlg"
8225
8226 if test "$enableval" = yes; then
8227 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8228 else
8229 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8230 fi
8231
8232 else
8233
8234 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8235 if test "x$LINE" != x ; then
8236 eval "DEFAULT_$LINE"
8237 else
8238 no_cache=1
8239 fi
8240
8241 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8242
8243 fi;
8244
8245 eval "$ac_cv_use_coldlg"
8246 if test "$no_cache" != 1; then
8247 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8248 fi
8249
8250 if test "$wxUSE_COLOURDLG" = yes; then
8251 echo "$as_me:$LINENO: result: yes" >&5
8252 echo "${ECHO_T}yes" >&6
8253 else
8254 echo "$as_me:$LINENO: result: no" >&5
8255 echo "${ECHO_T}no" >&6
8256 fi
8257
8258
8259 enablestring=
8260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8261 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8262 no_cache=0
8263 # Check whether --enable-filedlg or --disable-filedlg was given.
8264 if test "${enable_filedlg+set}" = set; then
8265 enableval="$enable_filedlg"
8266
8267 if test "$enableval" = yes; then
8268 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8269 else
8270 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8271 fi
8272
8273 else
8274
8275 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8276 if test "x$LINE" != x ; then
8277 eval "DEFAULT_$LINE"
8278 else
8279 no_cache=1
8280 fi
8281
8282 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8283
8284 fi;
8285
8286 eval "$ac_cv_use_filedlg"
8287 if test "$no_cache" != 1; then
8288 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8289 fi
8290
8291 if test "$wxUSE_FILEDLG" = yes; then
8292 echo "$as_me:$LINENO: result: yes" >&5
8293 echo "${ECHO_T}yes" >&6
8294 else
8295 echo "$as_me:$LINENO: result: no" >&5
8296 echo "${ECHO_T}no" >&6
8297 fi
8298
8299
8300 enablestring=
8301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8302 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8303 no_cache=0
8304 # Check whether --enable-finddlg or --disable-finddlg was given.
8305 if test "${enable_finddlg+set}" = set; then
8306 enableval="$enable_finddlg"
8307
8308 if test "$enableval" = yes; then
8309 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8310 else
8311 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8312 fi
8313
8314 else
8315
8316 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8317 if test "x$LINE" != x ; then
8318 eval "DEFAULT_$LINE"
8319 else
8320 no_cache=1
8321 fi
8322
8323 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8324
8325 fi;
8326
8327 eval "$ac_cv_use_finddlg"
8328 if test "$no_cache" != 1; then
8329 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8330 fi
8331
8332 if test "$wxUSE_FINDREPLDLG" = yes; then
8333 echo "$as_me:$LINENO: result: yes" >&5
8334 echo "${ECHO_T}yes" >&6
8335 else
8336 echo "$as_me:$LINENO: result: no" >&5
8337 echo "${ECHO_T}no" >&6
8338 fi
8339
8340
8341 enablestring=
8342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8343 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8344 no_cache=0
8345 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8346 if test "${enable_fontdlg+set}" = set; then
8347 enableval="$enable_fontdlg"
8348
8349 if test "$enableval" = yes; then
8350 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8351 else
8352 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8353 fi
8354
8355 else
8356
8357 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8358 if test "x$LINE" != x ; then
8359 eval "DEFAULT_$LINE"
8360 else
8361 no_cache=1
8362 fi
8363
8364 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8365
8366 fi;
8367
8368 eval "$ac_cv_use_fontdlg"
8369 if test "$no_cache" != 1; then
8370 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8371 fi
8372
8373 if test "$wxUSE_FONTDLG" = yes; then
8374 echo "$as_me:$LINENO: result: yes" >&5
8375 echo "${ECHO_T}yes" >&6
8376 else
8377 echo "$as_me:$LINENO: result: no" >&5
8378 echo "${ECHO_T}no" >&6
8379 fi
8380
8381
8382 enablestring=
8383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8384 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8385 no_cache=0
8386 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8387 if test "${enable_dirdlg+set}" = set; then
8388 enableval="$enable_dirdlg"
8389
8390 if test "$enableval" = yes; then
8391 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8392 else
8393 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8394 fi
8395
8396 else
8397
8398 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8399 if test "x$LINE" != x ; then
8400 eval "DEFAULT_$LINE"
8401 else
8402 no_cache=1
8403 fi
8404
8405 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8406
8407 fi;
8408
8409 eval "$ac_cv_use_dirdlg"
8410 if test "$no_cache" != 1; then
8411 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8412 fi
8413
8414 if test "$wxUSE_DIRDLG" = yes; then
8415 echo "$as_me:$LINENO: result: yes" >&5
8416 echo "${ECHO_T}yes" >&6
8417 else
8418 echo "$as_me:$LINENO: result: no" >&5
8419 echo "${ECHO_T}no" >&6
8420 fi
8421
8422
8423 enablestring=
8424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8425 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8426 no_cache=0
8427 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8428 if test "${enable_msgdlg+set}" = set; then
8429 enableval="$enable_msgdlg"
8430
8431 if test "$enableval" = yes; then
8432 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8433 else
8434 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8435 fi
8436
8437 else
8438
8439 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8440 if test "x$LINE" != x ; then
8441 eval "DEFAULT_$LINE"
8442 else
8443 no_cache=1
8444 fi
8445
8446 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8447
8448 fi;
8449
8450 eval "$ac_cv_use_msgdlg"
8451 if test "$no_cache" != 1; then
8452 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8453 fi
8454
8455 if test "$wxUSE_MSGDLG" = yes; then
8456 echo "$as_me:$LINENO: result: yes" >&5
8457 echo "${ECHO_T}yes" >&6
8458 else
8459 echo "$as_me:$LINENO: result: no" >&5
8460 echo "${ECHO_T}no" >&6
8461 fi
8462
8463
8464 enablestring=
8465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8466 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8467 no_cache=0
8468 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8469 if test "${enable_numberdlg+set}" = set; then
8470 enableval="$enable_numberdlg"
8471
8472 if test "$enableval" = yes; then
8473 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8474 else
8475 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8476 fi
8477
8478 else
8479
8480 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8481 if test "x$LINE" != x ; then
8482 eval "DEFAULT_$LINE"
8483 else
8484 no_cache=1
8485 fi
8486
8487 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8488
8489 fi;
8490
8491 eval "$ac_cv_use_numberdlg"
8492 if test "$no_cache" != 1; then
8493 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8494 fi
8495
8496 if test "$wxUSE_NUMBERDLG" = yes; then
8497 echo "$as_me:$LINENO: result: yes" >&5
8498 echo "${ECHO_T}yes" >&6
8499 else
8500 echo "$as_me:$LINENO: result: no" >&5
8501 echo "${ECHO_T}no" >&6
8502 fi
8503
8504
8505 enablestring=
8506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8507 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8508 no_cache=0
8509 # Check whether --enable-splash or --disable-splash was given.
8510 if test "${enable_splash+set}" = set; then
8511 enableval="$enable_splash"
8512
8513 if test "$enableval" = yes; then
8514 ac_cv_use_splash='wxUSE_SPLASH=yes'
8515 else
8516 ac_cv_use_splash='wxUSE_SPLASH=no'
8517 fi
8518
8519 else
8520
8521 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8522 if test "x$LINE" != x ; then
8523 eval "DEFAULT_$LINE"
8524 else
8525 no_cache=1
8526 fi
8527
8528 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8529
8530 fi;
8531
8532 eval "$ac_cv_use_splash"
8533 if test "$no_cache" != 1; then
8534 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8535 fi
8536
8537 if test "$wxUSE_SPLASH" = yes; then
8538 echo "$as_me:$LINENO: result: yes" >&5
8539 echo "${ECHO_T}yes" >&6
8540 else
8541 echo "$as_me:$LINENO: result: no" >&5
8542 echo "${ECHO_T}no" >&6
8543 fi
8544
8545
8546 enablestring=
8547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8548 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8549 no_cache=0
8550 # Check whether --enable-textdlg or --disable-textdlg was given.
8551 if test "${enable_textdlg+set}" = set; then
8552 enableval="$enable_textdlg"
8553
8554 if test "$enableval" = yes; then
8555 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8556 else
8557 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8558 fi
8559
8560 else
8561
8562 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8563 if test "x$LINE" != x ; then
8564 eval "DEFAULT_$LINE"
8565 else
8566 no_cache=1
8567 fi
8568
8569 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8570
8571 fi;
8572
8573 eval "$ac_cv_use_textdlg"
8574 if test "$no_cache" != 1; then
8575 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8576 fi
8577
8578 if test "$wxUSE_TEXTDLG" = yes; then
8579 echo "$as_me:$LINENO: result: yes" >&5
8580 echo "${ECHO_T}yes" >&6
8581 else
8582 echo "$as_me:$LINENO: result: no" >&5
8583 echo "${ECHO_T}no" >&6
8584 fi
8585
8586
8587 enablestring=
8588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8589 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8590 no_cache=0
8591 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8592 if test "${enable_tipdlg+set}" = set; then
8593 enableval="$enable_tipdlg"
8594
8595 if test "$enableval" = yes; then
8596 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8597 else
8598 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8599 fi
8600
8601 else
8602
8603 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8604 if test "x$LINE" != x ; then
8605 eval "DEFAULT_$LINE"
8606 else
8607 no_cache=1
8608 fi
8609
8610 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8611
8612 fi;
8613
8614 eval "$ac_cv_use_tipdlg"
8615 if test "$no_cache" != 1; then
8616 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8617 fi
8618
8619 if test "$wxUSE_STARTUP_TIPS" = yes; then
8620 echo "$as_me:$LINENO: result: yes" >&5
8621 echo "${ECHO_T}yes" >&6
8622 else
8623 echo "$as_me:$LINENO: result: no" >&5
8624 echo "${ECHO_T}no" >&6
8625 fi
8626
8627
8628 enablestring=
8629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8630 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8631 no_cache=0
8632 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8633 if test "${enable_progressdlg+set}" = set; then
8634 enableval="$enable_progressdlg"
8635
8636 if test "$enableval" = yes; then
8637 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8638 else
8639 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8640 fi
8641
8642 else
8643
8644 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8645 if test "x$LINE" != x ; then
8646 eval "DEFAULT_$LINE"
8647 else
8648 no_cache=1
8649 fi
8650
8651 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8652
8653 fi;
8654
8655 eval "$ac_cv_use_progressdlg"
8656 if test "$no_cache" != 1; then
8657 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8658 fi
8659
8660 if test "$wxUSE_PROGRESSDLG" = yes; then
8661 echo "$as_me:$LINENO: result: yes" >&5
8662 echo "${ECHO_T}yes" >&6
8663 else
8664 echo "$as_me:$LINENO: result: no" >&5
8665 echo "${ECHO_T}no" >&6
8666 fi
8667
8668
8669 enablestring=
8670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8671 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8672 no_cache=0
8673 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8674 if test "${enable_wizarddlg+set}" = set; then
8675 enableval="$enable_wizarddlg"
8676
8677 if test "$enableval" = yes; then
8678 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8679 else
8680 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8681 fi
8682
8683 else
8684
8685 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8686 if test "x$LINE" != x ; then
8687 eval "DEFAULT_$LINE"
8688 else
8689 no_cache=1
8690 fi
8691
8692 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8693
8694 fi;
8695
8696 eval "$ac_cv_use_wizarddlg"
8697 if test "$no_cache" != 1; then
8698 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8699 fi
8700
8701 if test "$wxUSE_WIZARDDLG" = yes; then
8702 echo "$as_me:$LINENO: result: yes" >&5
8703 echo "${ECHO_T}yes" >&6
8704 else
8705 echo "$as_me:$LINENO: result: no" >&5
8706 echo "${ECHO_T}no" >&6
8707 fi
8708
8709
8710
8711
8712 enablestring=
8713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8714 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8715 no_cache=0
8716 # Check whether --enable-menus or --disable-menus was given.
8717 if test "${enable_menus+set}" = set; then
8718 enableval="$enable_menus"
8719
8720 if test "$enableval" = yes; then
8721 ac_cv_use_menus='wxUSE_MENUS=yes'
8722 else
8723 ac_cv_use_menus='wxUSE_MENUS=no'
8724 fi
8725
8726 else
8727
8728 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8729 if test "x$LINE" != x ; then
8730 eval "DEFAULT_$LINE"
8731 else
8732 no_cache=1
8733 fi
8734
8735 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8736
8737 fi;
8738
8739 eval "$ac_cv_use_menus"
8740 if test "$no_cache" != 1; then
8741 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8742 fi
8743
8744 if test "$wxUSE_MENUS" = yes; then
8745 echo "$as_me:$LINENO: result: yes" >&5
8746 echo "${ECHO_T}yes" >&6
8747 else
8748 echo "$as_me:$LINENO: result: no" >&5
8749 echo "${ECHO_T}no" >&6
8750 fi
8751
8752
8753 enablestring=
8754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8755 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8756 no_cache=0
8757 # Check whether --enable-miniframe or --disable-miniframe was given.
8758 if test "${enable_miniframe+set}" = set; then
8759 enableval="$enable_miniframe"
8760
8761 if test "$enableval" = yes; then
8762 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8763 else
8764 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8765 fi
8766
8767 else
8768
8769 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8770 if test "x$LINE" != x ; then
8771 eval "DEFAULT_$LINE"
8772 else
8773 no_cache=1
8774 fi
8775
8776 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8777
8778 fi;
8779
8780 eval "$ac_cv_use_miniframe"
8781 if test "$no_cache" != 1; then
8782 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8783 fi
8784
8785 if test "$wxUSE_MINIFRAME" = yes; then
8786 echo "$as_me:$LINENO: result: yes" >&5
8787 echo "${ECHO_T}yes" >&6
8788 else
8789 echo "$as_me:$LINENO: result: no" >&5
8790 echo "${ECHO_T}no" >&6
8791 fi
8792
8793
8794 enablestring=
8795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8796 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8797 no_cache=0
8798 # Check whether --enable-tooltips or --disable-tooltips was given.
8799 if test "${enable_tooltips+set}" = set; then
8800 enableval="$enable_tooltips"
8801
8802 if test "$enableval" = yes; then
8803 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8804 else
8805 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8806 fi
8807
8808 else
8809
8810 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8811 if test "x$LINE" != x ; then
8812 eval "DEFAULT_$LINE"
8813 else
8814 no_cache=1
8815 fi
8816
8817 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8818
8819 fi;
8820
8821 eval "$ac_cv_use_tooltips"
8822 if test "$no_cache" != 1; then
8823 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8824 fi
8825
8826 if test "$wxUSE_TOOLTIPS" = yes; then
8827 echo "$as_me:$LINENO: result: yes" >&5
8828 echo "${ECHO_T}yes" >&6
8829 else
8830 echo "$as_me:$LINENO: result: no" >&5
8831 echo "${ECHO_T}no" >&6
8832 fi
8833
8834
8835 enablestring=
8836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8837 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8838 no_cache=0
8839 # Check whether --enable-splines or --disable-splines was given.
8840 if test "${enable_splines+set}" = set; then
8841 enableval="$enable_splines"
8842
8843 if test "$enableval" = yes; then
8844 ac_cv_use_splines='wxUSE_SPLINES=yes'
8845 else
8846 ac_cv_use_splines='wxUSE_SPLINES=no'
8847 fi
8848
8849 else
8850
8851 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8852 if test "x$LINE" != x ; then
8853 eval "DEFAULT_$LINE"
8854 else
8855 no_cache=1
8856 fi
8857
8858 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8859
8860 fi;
8861
8862 eval "$ac_cv_use_splines"
8863 if test "$no_cache" != 1; then
8864 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8865 fi
8866
8867 if test "$wxUSE_SPLINES" = yes; then
8868 echo "$as_me:$LINENO: result: yes" >&5
8869 echo "${ECHO_T}yes" >&6
8870 else
8871 echo "$as_me:$LINENO: result: no" >&5
8872 echo "${ECHO_T}no" >&6
8873 fi
8874
8875
8876 enablestring=
8877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8878 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8879 no_cache=0
8880 # Check whether --enable-validators or --disable-validators was given.
8881 if test "${enable_validators+set}" = set; then
8882 enableval="$enable_validators"
8883
8884 if test "$enableval" = yes; then
8885 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8886 else
8887 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8888 fi
8889
8890 else
8891
8892 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8893 if test "x$LINE" != x ; then
8894 eval "DEFAULT_$LINE"
8895 else
8896 no_cache=1
8897 fi
8898
8899 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8900
8901 fi;
8902
8903 eval "$ac_cv_use_validators"
8904 if test "$no_cache" != 1; then
8905 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8906 fi
8907
8908 if test "$wxUSE_VALIDATORS" = yes; then
8909 echo "$as_me:$LINENO: result: yes" >&5
8910 echo "${ECHO_T}yes" >&6
8911 else
8912 echo "$as_me:$LINENO: result: no" >&5
8913 echo "${ECHO_T}no" >&6
8914 fi
8915
8916
8917 enablestring=
8918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8919 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8920 no_cache=0
8921 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8922 if test "${enable_busyinfo+set}" = set; then
8923 enableval="$enable_busyinfo"
8924
8925 if test "$enableval" = yes; then
8926 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8927 else
8928 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8929 fi
8930
8931 else
8932
8933 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8934 if test "x$LINE" != x ; then
8935 eval "DEFAULT_$LINE"
8936 else
8937 no_cache=1
8938 fi
8939
8940 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8941
8942 fi;
8943
8944 eval "$ac_cv_use_busyinfo"
8945 if test "$no_cache" != 1; then
8946 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8947 fi
8948
8949 if test "$wxUSE_BUSYINFO" = yes; then
8950 echo "$as_me:$LINENO: result: yes" >&5
8951 echo "${ECHO_T}yes" >&6
8952 else
8953 echo "$as_me:$LINENO: result: no" >&5
8954 echo "${ECHO_T}no" >&6
8955 fi
8956
8957
8958 enablestring=
8959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8960 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8961 no_cache=0
8962 # Check whether --enable-joystick or --disable-joystick was given.
8963 if test "${enable_joystick+set}" = set; then
8964 enableval="$enable_joystick"
8965
8966 if test "$enableval" = yes; then
8967 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8968 else
8969 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8970 fi
8971
8972 else
8973
8974 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8975 if test "x$LINE" != x ; then
8976 eval "DEFAULT_$LINE"
8977 else
8978 no_cache=1
8979 fi
8980
8981 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8982
8983 fi;
8984
8985 eval "$ac_cv_use_joystick"
8986 if test "$no_cache" != 1; then
8987 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8988 fi
8989
8990 if test "$wxUSE_JOYSTICK" = yes; then
8991 echo "$as_me:$LINENO: result: yes" >&5
8992 echo "${ECHO_T}yes" >&6
8993 else
8994 echo "$as_me:$LINENO: result: no" >&5
8995 echo "${ECHO_T}no" >&6
8996 fi
8997
8998
8999 enablestring=
9000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9001 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9002 no_cache=0
9003 # Check whether --enable-metafile or --disable-metafile was given.
9004 if test "${enable_metafile+set}" = set; then
9005 enableval="$enable_metafile"
9006
9007 if test "$enableval" = yes; then
9008 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9009 else
9010 ac_cv_use_metafile='wxUSE_METAFILE=no'
9011 fi
9012
9013 else
9014
9015 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9016 if test "x$LINE" != x ; then
9017 eval "DEFAULT_$LINE"
9018 else
9019 no_cache=1
9020 fi
9021
9022 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9023
9024 fi;
9025
9026 eval "$ac_cv_use_metafile"
9027 if test "$no_cache" != 1; then
9028 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9029 fi
9030
9031 if test "$wxUSE_METAFILE" = yes; then
9032 echo "$as_me:$LINENO: result: yes" >&5
9033 echo "${ECHO_T}yes" >&6
9034 else
9035 echo "$as_me:$LINENO: result: no" >&5
9036 echo "${ECHO_T}no" >&6
9037 fi
9038
9039
9040 enablestring=
9041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9042 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9043 no_cache=0
9044 # Check whether --enable-dragimage or --disable-dragimage was given.
9045 if test "${enable_dragimage+set}" = set; then
9046 enableval="$enable_dragimage"
9047
9048 if test "$enableval" = yes; then
9049 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9050 else
9051 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9052 fi
9053
9054 else
9055
9056 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9057 if test "x$LINE" != x ; then
9058 eval "DEFAULT_$LINE"
9059 else
9060 no_cache=1
9061 fi
9062
9063 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9064
9065 fi;
9066
9067 eval "$ac_cv_use_dragimage"
9068 if test "$no_cache" != 1; then
9069 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9070 fi
9071
9072 if test "$wxUSE_DRAGIMAGE" = yes; then
9073 echo "$as_me:$LINENO: result: yes" >&5
9074 echo "${ECHO_T}yes" >&6
9075 else
9076 echo "$as_me:$LINENO: result: no" >&5
9077 echo "${ECHO_T}no" >&6
9078 fi
9079
9080
9081 enablestring=
9082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9083 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9084 no_cache=0
9085 # Check whether --enable-accessibility or --disable-accessibility was given.
9086 if test "${enable_accessibility+set}" = set; then
9087 enableval="$enable_accessibility"
9088
9089 if test "$enableval" = yes; then
9090 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9091 else
9092 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9093 fi
9094
9095 else
9096
9097 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9098 if test "x$LINE" != x ; then
9099 eval "DEFAULT_$LINE"
9100 else
9101 no_cache=1
9102 fi
9103
9104 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9105
9106 fi;
9107
9108 eval "$ac_cv_use_accessibility"
9109 if test "$no_cache" != 1; then
9110 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9111 fi
9112
9113 if test "$wxUSE_ACCESSIBILITY" = yes; then
9114 echo "$as_me:$LINENO: result: yes" >&5
9115 echo "${ECHO_T}yes" >&6
9116 else
9117 echo "$as_me:$LINENO: result: no" >&5
9118 echo "${ECHO_T}no" >&6
9119 fi
9120
9121
9122
9123
9124 enablestring=
9125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9126 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9127 no_cache=0
9128 # Check whether --enable-palette or --disable-palette was given.
9129 if test "${enable_palette+set}" = set; then
9130 enableval="$enable_palette"
9131
9132 if test "$enableval" = yes; then
9133 ac_cv_use_palette='wxUSE_PALETTE=yes'
9134 else
9135 ac_cv_use_palette='wxUSE_PALETTE=no'
9136 fi
9137
9138 else
9139
9140 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9141 if test "x$LINE" != x ; then
9142 eval "DEFAULT_$LINE"
9143 else
9144 no_cache=1
9145 fi
9146
9147 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9148
9149 fi;
9150
9151 eval "$ac_cv_use_palette"
9152 if test "$no_cache" != 1; then
9153 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9154 fi
9155
9156 if test "$wxUSE_PALETTE" = yes; then
9157 echo "$as_me:$LINENO: result: yes" >&5
9158 echo "${ECHO_T}yes" >&6
9159 else
9160 echo "$as_me:$LINENO: result: no" >&5
9161 echo "${ECHO_T}no" >&6
9162 fi
9163
9164
9165 enablestring=
9166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9167 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9168 no_cache=0
9169 # Check whether --enable-image or --disable-image was given.
9170 if test "${enable_image+set}" = set; then
9171 enableval="$enable_image"
9172
9173 if test "$enableval" = yes; then
9174 ac_cv_use_image='wxUSE_IMAGE=yes'
9175 else
9176 ac_cv_use_image='wxUSE_IMAGE=no'
9177 fi
9178
9179 else
9180
9181 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9182 if test "x$LINE" != x ; then
9183 eval "DEFAULT_$LINE"
9184 else
9185 no_cache=1
9186 fi
9187
9188 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9189
9190 fi;
9191
9192 eval "$ac_cv_use_image"
9193 if test "$no_cache" != 1; then
9194 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9195 fi
9196
9197 if test "$wxUSE_IMAGE" = yes; then
9198 echo "$as_me:$LINENO: result: yes" >&5
9199 echo "${ECHO_T}yes" >&6
9200 else
9201 echo "$as_me:$LINENO: result: no" >&5
9202 echo "${ECHO_T}no" >&6
9203 fi
9204
9205
9206 enablestring=
9207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9208 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9209 no_cache=0
9210 # Check whether --enable-gif or --disable-gif was given.
9211 if test "${enable_gif+set}" = set; then
9212 enableval="$enable_gif"
9213
9214 if test "$enableval" = yes; then
9215 ac_cv_use_gif='wxUSE_GIF=yes'
9216 else
9217 ac_cv_use_gif='wxUSE_GIF=no'
9218 fi
9219
9220 else
9221
9222 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9223 if test "x$LINE" != x ; then
9224 eval "DEFAULT_$LINE"
9225 else
9226 no_cache=1
9227 fi
9228
9229 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9230
9231 fi;
9232
9233 eval "$ac_cv_use_gif"
9234 if test "$no_cache" != 1; then
9235 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9236 fi
9237
9238 if test "$wxUSE_GIF" = yes; then
9239 echo "$as_me:$LINENO: result: yes" >&5
9240 echo "${ECHO_T}yes" >&6
9241 else
9242 echo "$as_me:$LINENO: result: no" >&5
9243 echo "${ECHO_T}no" >&6
9244 fi
9245
9246
9247 enablestring=
9248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9249 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9250 no_cache=0
9251 # Check whether --enable-pcx or --disable-pcx was given.
9252 if test "${enable_pcx+set}" = set; then
9253 enableval="$enable_pcx"
9254
9255 if test "$enableval" = yes; then
9256 ac_cv_use_pcx='wxUSE_PCX=yes'
9257 else
9258 ac_cv_use_pcx='wxUSE_PCX=no'
9259 fi
9260
9261 else
9262
9263 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9264 if test "x$LINE" != x ; then
9265 eval "DEFAULT_$LINE"
9266 else
9267 no_cache=1
9268 fi
9269
9270 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9271
9272 fi;
9273
9274 eval "$ac_cv_use_pcx"
9275 if test "$no_cache" != 1; then
9276 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9277 fi
9278
9279 if test "$wxUSE_PCX" = yes; then
9280 echo "$as_me:$LINENO: result: yes" >&5
9281 echo "${ECHO_T}yes" >&6
9282 else
9283 echo "$as_me:$LINENO: result: no" >&5
9284 echo "${ECHO_T}no" >&6
9285 fi
9286
9287
9288 enablestring=
9289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9290 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9291 no_cache=0
9292 # Check whether --enable-iff or --disable-iff was given.
9293 if test "${enable_iff+set}" = set; then
9294 enableval="$enable_iff"
9295
9296 if test "$enableval" = yes; then
9297 ac_cv_use_iff='wxUSE_IFF=yes'
9298 else
9299 ac_cv_use_iff='wxUSE_IFF=no'
9300 fi
9301
9302 else
9303
9304 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9305 if test "x$LINE" != x ; then
9306 eval "DEFAULT_$LINE"
9307 else
9308 no_cache=1
9309 fi
9310
9311 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9312
9313 fi;
9314
9315 eval "$ac_cv_use_iff"
9316 if test "$no_cache" != 1; then
9317 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9318 fi
9319
9320 if test "$wxUSE_IFF" = yes; then
9321 echo "$as_me:$LINENO: result: yes" >&5
9322 echo "${ECHO_T}yes" >&6
9323 else
9324 echo "$as_me:$LINENO: result: no" >&5
9325 echo "${ECHO_T}no" >&6
9326 fi
9327
9328
9329 enablestring=
9330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9331 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9332 no_cache=0
9333 # Check whether --enable-pnm or --disable-pnm was given.
9334 if test "${enable_pnm+set}" = set; then
9335 enableval="$enable_pnm"
9336
9337 if test "$enableval" = yes; then
9338 ac_cv_use_pnm='wxUSE_PNM=yes'
9339 else
9340 ac_cv_use_pnm='wxUSE_PNM=no'
9341 fi
9342
9343 else
9344
9345 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9346 if test "x$LINE" != x ; then
9347 eval "DEFAULT_$LINE"
9348 else
9349 no_cache=1
9350 fi
9351
9352 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9353
9354 fi;
9355
9356 eval "$ac_cv_use_pnm"
9357 if test "$no_cache" != 1; then
9358 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9359 fi
9360
9361 if test "$wxUSE_PNM" = yes; then
9362 echo "$as_me:$LINENO: result: yes" >&5
9363 echo "${ECHO_T}yes" >&6
9364 else
9365 echo "$as_me:$LINENO: result: no" >&5
9366 echo "${ECHO_T}no" >&6
9367 fi
9368
9369
9370 enablestring=
9371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9372 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9373 no_cache=0
9374 # Check whether --enable-xpm or --disable-xpm was given.
9375 if test "${enable_xpm+set}" = set; then
9376 enableval="$enable_xpm"
9377
9378 if test "$enableval" = yes; then
9379 ac_cv_use_xpm='wxUSE_XPM=yes'
9380 else
9381 ac_cv_use_xpm='wxUSE_XPM=no'
9382 fi
9383
9384 else
9385
9386 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9387 if test "x$LINE" != x ; then
9388 eval "DEFAULT_$LINE"
9389 else
9390 no_cache=1
9391 fi
9392
9393 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9394
9395 fi;
9396
9397 eval "$ac_cv_use_xpm"
9398 if test "$no_cache" != 1; then
9399 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9400 fi
9401
9402 if test "$wxUSE_XPM" = yes; then
9403 echo "$as_me:$LINENO: result: yes" >&5
9404 echo "${ECHO_T}yes" >&6
9405 else
9406 echo "$as_me:$LINENO: result: no" >&5
9407 echo "${ECHO_T}no" >&6
9408 fi
9409
9410
9411 enablestring=
9412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9413 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9414 no_cache=0
9415 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9416 if test "${enable_ico_cur+set}" = set; then
9417 enableval="$enable_ico_cur"
9418
9419 if test "$enableval" = yes; then
9420 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9421 else
9422 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9423 fi
9424
9425 else
9426
9427 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9428 if test "x$LINE" != x ; then
9429 eval "DEFAULT_$LINE"
9430 else
9431 no_cache=1
9432 fi
9433
9434 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9435
9436 fi;
9437
9438 eval "$ac_cv_use_ico_cur"
9439 if test "$no_cache" != 1; then
9440 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9441 fi
9442
9443 if test "$wxUSE_ICO_CUR" = yes; then
9444 echo "$as_me:$LINENO: result: yes" >&5
9445 echo "${ECHO_T}yes" >&6
9446 else
9447 echo "$as_me:$LINENO: result: no" >&5
9448 echo "${ECHO_T}no" >&6
9449 fi
9450
9451
9452 fi
9453
9454
9455
9456 enablestring=
9457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9458 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9459 no_cache=0
9460 # Check whether --enable-official_build or --disable-official_build was given.
9461 if test "${enable_official_build+set}" = set; then
9462 enableval="$enable_official_build"
9463
9464 if test "$enableval" = yes; then
9465 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9466 else
9467 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9468 fi
9469
9470 else
9471
9472 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9473 if test "x$LINE" != x ; then
9474 eval "DEFAULT_$LINE"
9475 else
9476 no_cache=1
9477 fi
9478
9479 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9480
9481 fi;
9482
9483 eval "$ac_cv_use_official_build"
9484 if test "$no_cache" != 1; then
9485 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9486 fi
9487
9488 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9489 echo "$as_me:$LINENO: result: yes" >&5
9490 echo "${ECHO_T}yes" >&6
9491 else
9492 echo "$as_me:$LINENO: result: no" >&5
9493 echo "${ECHO_T}no" >&6
9494 fi
9495
9496 # Check whether --enable-vendor or --disable-vendor was given.
9497 if test "${enable_vendor+set}" = set; then
9498 enableval="$enable_vendor"
9499 VENDOR="$enableval"
9500 fi;
9501 if test "x$VENDOR" = "x"; then
9502 VENDOR="custom"
9503 fi
9504
9505 case "${host}" in
9506 *-pc-os2_emx | *-pc-os2-emx )
9507 PATH_IFS=';'
9508 LEX_STEM="lexyy"
9509 ;;
9510 *)
9511 PATH_IFS=':'
9512 LEX_STEM="lex.yy"
9513 ;;
9514 esac
9515
9516
9517
9518 echo "saving argument cache $wx_arg_cache_file"
9519 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9520
9521
9522
9523 echo "$as_me:$LINENO: checking for toolkit" >&5
9524 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9525
9526 # In Wine, we need to default to MSW, not GTK or MOTIF
9527 if test "$wxUSE_WINE" = "yes"; then
9528 DEFAULT_DEFAULT_wxUSE_GTK=0
9529 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9530 DEFAULT_DEFAULT_wxUSE_MSW=1
9531 fi
9532
9533 if test "$wxUSE_GUI" = "yes"; then
9534
9535 if test "$USE_BEOS" = 1; then
9536 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9537 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9538 { (exit 1); exit 1; }; }
9539 fi
9540
9541 if test "$TOOLKIT_GIVEN" = 1; then
9542 for toolkit in `echo $ALL_TOOLKITS`; do
9543 var=wxUSE_$toolkit
9544 eval "value=\$${var}"
9545 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9546 done
9547 else
9548 for toolkit in `echo $ALL_TOOLKITS`; do
9549 if test "$has_toolkit_in_cache" != 1; then
9550 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9551 else
9552 var=DEFAULT_wxUSE_$toolkit
9553 fi
9554 eval "wxUSE_$toolkit=\$${var}"
9555 done
9556 fi
9557
9558 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9559 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9560 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9561
9562 case "${host}" in
9563 *-pc-os2_emx | *-pc-os2-emx )
9564 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9565 esac
9566
9567 case "$NUM_TOOLKITS" in
9568 1)
9569 ;;
9570 0)
9571 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9572 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9573 { (exit 1); exit 1; }; }
9574 ;;
9575 *)
9576 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9577 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9578 { (exit 1); exit 1; }; }
9579 esac
9580
9581 for toolkit in `echo $ALL_TOOLKITS`; do
9582 var=wxUSE_$toolkit
9583 eval "value=\$${var}"
9584 if test "x$value" != x; then
9585 cache_var=CACHE_$toolkit
9586 eval "cache=\$${cache_var}"
9587 if test "$cache" = 1; then
9588 echo "$var=$value" >> ${wx_arg_cache_file}
9589 fi
9590 if test "$value" = 1; then
9591 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9592 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9593 echo "${ECHO_T}$toolkit_echo" >&6
9594 fi
9595 fi
9596 done
9597 else
9598 if test "x$host_alias" != "x"; then
9599 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9600 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9601 else
9602 echo "$as_me:$LINENO: result: base only" >&5
9603 echo "${ECHO_T}base only" >&6
9604 fi
9605 fi
9606
9607 wants_win32=0
9608 doesnt_want_win32=0
9609 case "${host}" in
9610 *-*-cygwin*)
9611 if test "$wxUSE_MSW" = 1 ; then
9612 wants_win32=1
9613 else
9614 doesnt_want_win32=1
9615 fi
9616 ;;
9617 *-*-mingw*)
9618 wants_win32=1
9619 ;;
9620 esac
9621
9622 if test "$wxUSE_WINE" = "yes"; then
9623 wants_win32=1
9624 CC=winegcc
9625 CXX=wineg++
9626 RESCOMP=wrc
9627 fi
9628
9629 if test "$wants_win32" = 1 ; then
9630 USE_UNIX=0
9631 USE_WIN32=1
9632 cat >>confdefs.h <<\_ACEOF
9633 #define __WIN32__ 1
9634 _ACEOF
9635
9636 cat >>confdefs.h <<\_ACEOF
9637 #define __WIN95__ 1
9638 _ACEOF
9639
9640 cat >>confdefs.h <<\_ACEOF
9641 #define __WINDOWS__ 1
9642 _ACEOF
9643
9644 cat >>confdefs.h <<\_ACEOF
9645 #define __GNUWIN32__ 1
9646 _ACEOF
9647
9648 cat >>confdefs.h <<\_ACEOF
9649 #define STRICT 1
9650 _ACEOF
9651
9652 cat >>confdefs.h <<\_ACEOF
9653 #define WINVER 0x0400
9654 _ACEOF
9655
9656 fi
9657 if test "$doesnt_want_win32" = 1 ; then
9658 USE_UNIX=1
9659 USE_WIN32=0
9660 fi
9661
9662 if test "$USE_UNIX" = 1 ; then
9663 wxUSE_UNIX=yes
9664 cat >>confdefs.h <<\_ACEOF
9665 #define __UNIX__ 1
9666 _ACEOF
9667
9668 fi
9669
9670
9671 cat >confcache <<\_ACEOF
9672 # This file is a shell script that caches the results of configure
9673 # tests run on this system so they can be shared between configure
9674 # scripts and configure runs, see configure's option --config-cache.
9675 # It is not useful on other systems. If it contains results you don't
9676 # want to keep, you may remove or edit it.
9677 #
9678 # config.status only pays attention to the cache file if you give it
9679 # the --recheck option to rerun configure.
9680 #
9681 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9682 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9683 # following values.
9684
9685 _ACEOF
9686
9687 # The following way of writing the cache mishandles newlines in values,
9688 # but we know of no workaround that is simple, portable, and efficient.
9689 # So, don't put newlines in cache variables' values.
9690 # Ultrix sh set writes to stderr and can't be redirected directly,
9691 # and sets the high bit in the cache file unless we assign to the vars.
9692 {
9693 (set) 2>&1 |
9694 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9695 *ac_space=\ *)
9696 # `set' does not quote correctly, so add quotes (double-quote
9697 # substitution turns \\\\ into \\, and sed turns \\ into \).
9698 sed -n \
9699 "s/'/'\\\\''/g;
9700 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9701 ;;
9702 *)
9703 # `set' quotes correctly as required by POSIX, so do not add quotes.
9704 sed -n \
9705 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9706 ;;
9707 esac;
9708 } |
9709 sed '
9710 t clear
9711 : clear
9712 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9713 t end
9714 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9715 : end' >>confcache
9716 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9717 if test -w $cache_file; then
9718 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9719 cat confcache >$cache_file
9720 else
9721 echo "not updating unwritable cache $cache_file"
9722 fi
9723 fi
9724 rm -f confcache
9725
9726 if test "$build" != "$host" ; then
9727 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9728 CC=$host_alias-gcc
9729 CXX=$host_alias-c++
9730 AR=$host_alias-ar
9731 RANLIB=$host_alias-ranlib
9732 DLLTOOL=$host_alias-dlltool
9733 RESCOMP=$host_alias-windres
9734 LD=$host_alias-ld
9735 NM=$host_alias-nm
9736 STRIP=$host_alias-strip
9737 else
9738 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9739 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9740 { (exit 1); exit 1; }; }
9741 fi
9742 fi
9743
9744 CFLAGS=${CFLAGS:=}
9745 ac_ext=c
9746 ac_cpp='$CPP $CPPFLAGS'
9747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9750 if test -n "$ac_tool_prefix"; then
9751 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9752 set dummy ${ac_tool_prefix}gcc; 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_CC+set}" = set; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9757 else
9758 if test -n "$CC"; then
9759 ac_cv_prog_CC="$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_CC="${ac_tool_prefix}gcc"
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 CC=$ac_cv_prog_CC
9778 if test -n "$CC"; then
9779 echo "$as_me:$LINENO: result: $CC" >&5
9780 echo "${ECHO_T}$CC" >&6
9781 else
9782 echo "$as_me:$LINENO: result: no" >&5
9783 echo "${ECHO_T}no" >&6
9784 fi
9785
9786 fi
9787 if test -z "$ac_cv_prog_CC"; then
9788 ac_ct_CC=$CC
9789 # Extract the first word of "gcc", so it can be a program name with args.
9790 set dummy gcc; ac_word=$2
9791 echo "$as_me:$LINENO: checking for $ac_word" >&5
9792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9793 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9794 echo $ECHO_N "(cached) $ECHO_C" >&6
9795 else
9796 if test -n "$ac_ct_CC"; then
9797 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9798 else
9799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9800 for as_dir in $PATH
9801 do
9802 IFS=$as_save_IFS
9803 test -z "$as_dir" && as_dir=.
9804 for ac_exec_ext in '' $ac_executable_extensions; do
9805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9806 ac_cv_prog_ac_ct_CC="gcc"
9807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9808 break 2
9809 fi
9810 done
9811 done
9812
9813 fi
9814 fi
9815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9816 if test -n "$ac_ct_CC"; then
9817 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9818 echo "${ECHO_T}$ac_ct_CC" >&6
9819 else
9820 echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6
9822 fi
9823
9824 CC=$ac_ct_CC
9825 else
9826 CC="$ac_cv_prog_CC"
9827 fi
9828
9829 if test -z "$CC"; then
9830 if test -n "$ac_tool_prefix"; then
9831 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9832 set dummy ${ac_tool_prefix}cc; ac_word=$2
9833 echo "$as_me:$LINENO: checking for $ac_word" >&5
9834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9835 if test "${ac_cv_prog_CC+set}" = set; then
9836 echo $ECHO_N "(cached) $ECHO_C" >&6
9837 else
9838 if test -n "$CC"; then
9839 ac_cv_prog_CC="$CC" # Let the user override the test.
9840 else
9841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9842 for as_dir in $PATH
9843 do
9844 IFS=$as_save_IFS
9845 test -z "$as_dir" && as_dir=.
9846 for ac_exec_ext in '' $ac_executable_extensions; do
9847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9848 ac_cv_prog_CC="${ac_tool_prefix}cc"
9849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9850 break 2
9851 fi
9852 done
9853 done
9854
9855 fi
9856 fi
9857 CC=$ac_cv_prog_CC
9858 if test -n "$CC"; then
9859 echo "$as_me:$LINENO: result: $CC" >&5
9860 echo "${ECHO_T}$CC" >&6
9861 else
9862 echo "$as_me:$LINENO: result: no" >&5
9863 echo "${ECHO_T}no" >&6
9864 fi
9865
9866 fi
9867 if test -z "$ac_cv_prog_CC"; then
9868 ac_ct_CC=$CC
9869 # Extract the first word of "cc", so it can be a program name with args.
9870 set dummy cc; ac_word=$2
9871 echo "$as_me:$LINENO: checking for $ac_word" >&5
9872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9873 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9874 echo $ECHO_N "(cached) $ECHO_C" >&6
9875 else
9876 if test -n "$ac_ct_CC"; then
9877 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9878 else
9879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9880 for as_dir in $PATH
9881 do
9882 IFS=$as_save_IFS
9883 test -z "$as_dir" && as_dir=.
9884 for ac_exec_ext in '' $ac_executable_extensions; do
9885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9886 ac_cv_prog_ac_ct_CC="cc"
9887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9888 break 2
9889 fi
9890 done
9891 done
9892
9893 fi
9894 fi
9895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9896 if test -n "$ac_ct_CC"; then
9897 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9898 echo "${ECHO_T}$ac_ct_CC" >&6
9899 else
9900 echo "$as_me:$LINENO: result: no" >&5
9901 echo "${ECHO_T}no" >&6
9902 fi
9903
9904 CC=$ac_ct_CC
9905 else
9906 CC="$ac_cv_prog_CC"
9907 fi
9908
9909 fi
9910 if test -z "$CC"; then
9911 # Extract the first word of "cc", so it can be a program name with args.
9912 set dummy cc; ac_word=$2
9913 echo "$as_me:$LINENO: checking for $ac_word" >&5
9914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9915 if test "${ac_cv_prog_CC+set}" = set; then
9916 echo $ECHO_N "(cached) $ECHO_C" >&6
9917 else
9918 if test -n "$CC"; then
9919 ac_cv_prog_CC="$CC" # Let the user override the test.
9920 else
9921 ac_prog_rejected=no
9922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9923 for as_dir in $PATH
9924 do
9925 IFS=$as_save_IFS
9926 test -z "$as_dir" && as_dir=.
9927 for ac_exec_ext in '' $ac_executable_extensions; do
9928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9929 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9930 ac_prog_rejected=yes
9931 continue
9932 fi
9933 ac_cv_prog_CC="cc"
9934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9935 break 2
9936 fi
9937 done
9938 done
9939
9940 if test $ac_prog_rejected = yes; then
9941 # We found a bogon in the path, so make sure we never use it.
9942 set dummy $ac_cv_prog_CC
9943 shift
9944 if test $# != 0; then
9945 # We chose a different compiler from the bogus one.
9946 # However, it has the same basename, so the bogon will be chosen
9947 # first if we set CC to just the basename; use the full file name.
9948 shift
9949 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9950 fi
9951 fi
9952 fi
9953 fi
9954 CC=$ac_cv_prog_CC
9955 if test -n "$CC"; then
9956 echo "$as_me:$LINENO: result: $CC" >&5
9957 echo "${ECHO_T}$CC" >&6
9958 else
9959 echo "$as_me:$LINENO: result: no" >&5
9960 echo "${ECHO_T}no" >&6
9961 fi
9962
9963 fi
9964 if test -z "$CC"; then
9965 if test -n "$ac_tool_prefix"; then
9966 for ac_prog in cl
9967 do
9968 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9969 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9970 echo "$as_me:$LINENO: checking for $ac_word" >&5
9971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9972 if test "${ac_cv_prog_CC+set}" = set; then
9973 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 else
9975 if test -n "$CC"; then
9976 ac_cv_prog_CC="$CC" # Let the user override the test.
9977 else
9978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9979 for as_dir in $PATH
9980 do
9981 IFS=$as_save_IFS
9982 test -z "$as_dir" && as_dir=.
9983 for ac_exec_ext in '' $ac_executable_extensions; do
9984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9985 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9987 break 2
9988 fi
9989 done
9990 done
9991
9992 fi
9993 fi
9994 CC=$ac_cv_prog_CC
9995 if test -n "$CC"; then
9996 echo "$as_me:$LINENO: result: $CC" >&5
9997 echo "${ECHO_T}$CC" >&6
9998 else
9999 echo "$as_me:$LINENO: result: no" >&5
10000 echo "${ECHO_T}no" >&6
10001 fi
10002
10003 test -n "$CC" && break
10004 done
10005 fi
10006 if test -z "$CC"; then
10007 ac_ct_CC=$CC
10008 for ac_prog in cl
10009 do
10010 # Extract the first word of "$ac_prog", so it can be a program name with args.
10011 set dummy $ac_prog; ac_word=$2
10012 echo "$as_me:$LINENO: checking for $ac_word" >&5
10013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10014 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10016 else
10017 if test -n "$ac_ct_CC"; then
10018 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10019 else
10020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10021 for as_dir in $PATH
10022 do
10023 IFS=$as_save_IFS
10024 test -z "$as_dir" && as_dir=.
10025 for ac_exec_ext in '' $ac_executable_extensions; do
10026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10027 ac_cv_prog_ac_ct_CC="$ac_prog"
10028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10029 break 2
10030 fi
10031 done
10032 done
10033
10034 fi
10035 fi
10036 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10037 if test -n "$ac_ct_CC"; then
10038 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10039 echo "${ECHO_T}$ac_ct_CC" >&6
10040 else
10041 echo "$as_me:$LINENO: result: no" >&5
10042 echo "${ECHO_T}no" >&6
10043 fi
10044
10045 test -n "$ac_ct_CC" && break
10046 done
10047
10048 CC=$ac_ct_CC
10049 fi
10050
10051 fi
10052
10053
10054 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10055 See \`config.log' for more details." >&5
10056 echo "$as_me: error: no acceptable C compiler found in \$PATH
10057 See \`config.log' for more details." >&2;}
10058 { (exit 1); exit 1; }; }
10059
10060 # Provide some information about the compiler.
10061 echo "$as_me:$LINENO:" \
10062 "checking for C compiler version" >&5
10063 ac_compiler=`set X $ac_compile; echo $2`
10064 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10065 (eval $ac_compiler --version </dev/null >&5) 2>&5
10066 ac_status=$?
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); }
10069 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10070 (eval $ac_compiler -v </dev/null >&5) 2>&5
10071 ac_status=$?
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); }
10074 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10075 (eval $ac_compiler -V </dev/null >&5) 2>&5
10076 ac_status=$?
10077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10078 (exit $ac_status); }
10079
10080 cat >conftest.$ac_ext <<_ACEOF
10081 #line $LINENO "configure"
10082 /* confdefs.h. */
10083 _ACEOF
10084 cat confdefs.h >>conftest.$ac_ext
10085 cat >>conftest.$ac_ext <<_ACEOF
10086 /* end confdefs.h. */
10087
10088 int
10089 main ()
10090 {
10091
10092 ;
10093 return 0;
10094 }
10095 _ACEOF
10096 ac_clean_files_save=$ac_clean_files
10097 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10098 # Try to create an executable without -o first, disregard a.out.
10099 # It will help us diagnose broken compilers, and finding out an intuition
10100 # of exeext.
10101 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10102 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10103 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10104 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10105 (eval $ac_link_default) 2>&5
10106 ac_status=$?
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); }; then
10109 # Find the output, starting from the most likely. This scheme is
10110 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10111 # resort.
10112
10113 # Be careful to initialize this variable, since it used to be cached.
10114 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10115 ac_cv_exeext=
10116 # b.out is created by i960 compilers.
10117 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10118 do
10119 test -f "$ac_file" || continue
10120 case $ac_file in
10121 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10122 ;;
10123 conftest.$ac_ext )
10124 # This is the source file.
10125 ;;
10126 [ab].out )
10127 # We found the default executable, but exeext='' is most
10128 # certainly right.
10129 break;;
10130 *.* )
10131 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10132 # FIXME: I believe we export ac_cv_exeext for Libtool,
10133 # but it would be cool to find out if it's true. Does anybody
10134 # maintain Libtool? --akim.
10135 export ac_cv_exeext
10136 break;;
10137 * )
10138 break;;
10139 esac
10140 done
10141 else
10142 echo "$as_me: failed program was:" >&5
10143 sed 's/^/| /' conftest.$ac_ext >&5
10144
10145 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10146 See \`config.log' for more details." >&5
10147 echo "$as_me: error: C compiler cannot create executables
10148 See \`config.log' for more details." >&2;}
10149 { (exit 77); exit 77; }; }
10150 fi
10151
10152 ac_exeext=$ac_cv_exeext
10153 echo "$as_me:$LINENO: result: $ac_file" >&5
10154 echo "${ECHO_T}$ac_file" >&6
10155
10156 # Check the compiler produces executables we can run. If not, either
10157 # the compiler is broken, or we cross compile.
10158 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10159 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10160 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10161 # If not cross compiling, check that we can run a simple program.
10162 if test "$cross_compiling" != yes; then
10163 if { ac_try='./$ac_file'
10164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10165 (eval $ac_try) 2>&5
10166 ac_status=$?
10167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10168 (exit $ac_status); }; }; then
10169 cross_compiling=no
10170 else
10171 if test "$cross_compiling" = maybe; then
10172 cross_compiling=yes
10173 else
10174 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10175 If you meant to cross compile, use \`--host'.
10176 See \`config.log' for more details." >&5
10177 echo "$as_me: error: cannot run C compiled programs.
10178 If you meant to cross compile, use \`--host'.
10179 See \`config.log' for more details." >&2;}
10180 { (exit 1); exit 1; }; }
10181 fi
10182 fi
10183 fi
10184 echo "$as_me:$LINENO: result: yes" >&5
10185 echo "${ECHO_T}yes" >&6
10186
10187 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10188 ac_clean_files=$ac_clean_files_save
10189 # Check the compiler produces executables we can run. If not, either
10190 # the compiler is broken, or we cross compile.
10191 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10192 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10193 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10194 echo "${ECHO_T}$cross_compiling" >&6
10195
10196 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10197 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10199 (eval $ac_link) 2>&5
10200 ac_status=$?
10201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202 (exit $ac_status); }; then
10203 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10204 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10205 # work properly (i.e., refer to `conftest.exe'), while it won't with
10206 # `rm'.
10207 for ac_file in conftest.exe conftest conftest.*; do
10208 test -f "$ac_file" || continue
10209 case $ac_file in
10210 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10211 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10212 export ac_cv_exeext
10213 break;;
10214 * ) break;;
10215 esac
10216 done
10217 else
10218 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10219 See \`config.log' for more details." >&5
10220 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10221 See \`config.log' for more details." >&2;}
10222 { (exit 1); exit 1; }; }
10223 fi
10224
10225 rm -f conftest$ac_cv_exeext
10226 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10227 echo "${ECHO_T}$ac_cv_exeext" >&6
10228
10229 rm -f conftest.$ac_ext
10230 EXEEXT=$ac_cv_exeext
10231 ac_exeext=$EXEEXT
10232 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10233 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10234 if test "${ac_cv_objext+set}" = set; then
10235 echo $ECHO_N "(cached) $ECHO_C" >&6
10236 else
10237 cat >conftest.$ac_ext <<_ACEOF
10238 #line $LINENO "configure"
10239 /* confdefs.h. */
10240 _ACEOF
10241 cat confdefs.h >>conftest.$ac_ext
10242 cat >>conftest.$ac_ext <<_ACEOF
10243 /* end confdefs.h. */
10244
10245 int
10246 main ()
10247 {
10248
10249 ;
10250 return 0;
10251 }
10252 _ACEOF
10253 rm -f conftest.o conftest.obj
10254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10255 (eval $ac_compile) 2>&5
10256 ac_status=$?
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); }; then
10259 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10260 case $ac_file in
10261 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10262 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10263 break;;
10264 esac
10265 done
10266 else
10267 echo "$as_me: failed program was:" >&5
10268 sed 's/^/| /' conftest.$ac_ext >&5
10269
10270 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10271 See \`config.log' for more details." >&5
10272 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10273 See \`config.log' for more details." >&2;}
10274 { (exit 1); exit 1; }; }
10275 fi
10276
10277 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10278 fi
10279 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10280 echo "${ECHO_T}$ac_cv_objext" >&6
10281 OBJEXT=$ac_cv_objext
10282 ac_objext=$OBJEXT
10283 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10284 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10285 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10287 else
10288 cat >conftest.$ac_ext <<_ACEOF
10289 #line $LINENO "configure"
10290 /* confdefs.h. */
10291 _ACEOF
10292 cat confdefs.h >>conftest.$ac_ext
10293 cat >>conftest.$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10295
10296 int
10297 main ()
10298 {
10299 #ifndef __GNUC__
10300 choke me
10301 #endif
10302
10303 ;
10304 return 0;
10305 }
10306 _ACEOF
10307 rm -f conftest.$ac_objext
10308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10309 (eval $ac_compile) 2>&5
10310 ac_status=$?
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); } &&
10313 { ac_try='test -s conftest.$ac_objext'
10314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10315 (eval $ac_try) 2>&5
10316 ac_status=$?
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); }; }; then
10319 ac_compiler_gnu=yes
10320 else
10321 echo "$as_me: failed program was:" >&5
10322 sed 's/^/| /' conftest.$ac_ext >&5
10323
10324 ac_compiler_gnu=no
10325 fi
10326 rm -f conftest.$ac_objext conftest.$ac_ext
10327 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10328
10329 fi
10330 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10331 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10332 GCC=`test $ac_compiler_gnu = yes && echo yes`
10333 ac_test_CFLAGS=${CFLAGS+set}
10334 ac_save_CFLAGS=$CFLAGS
10335 CFLAGS="-g"
10336 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10337 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10338 if test "${ac_cv_prog_cc_g+set}" = set; then
10339 echo $ECHO_N "(cached) $ECHO_C" >&6
10340 else
10341 cat >conftest.$ac_ext <<_ACEOF
10342 #line $LINENO "configure"
10343 /* confdefs.h. */
10344 _ACEOF
10345 cat confdefs.h >>conftest.$ac_ext
10346 cat >>conftest.$ac_ext <<_ACEOF
10347 /* end confdefs.h. */
10348
10349 int
10350 main ()
10351 {
10352
10353 ;
10354 return 0;
10355 }
10356 _ACEOF
10357 rm -f conftest.$ac_objext
10358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10359 (eval $ac_compile) 2>&5
10360 ac_status=$?
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); } &&
10363 { ac_try='test -s conftest.$ac_objext'
10364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10365 (eval $ac_try) 2>&5
10366 ac_status=$?
10367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); }; }; then
10369 ac_cv_prog_cc_g=yes
10370 else
10371 echo "$as_me: failed program was:" >&5
10372 sed 's/^/| /' conftest.$ac_ext >&5
10373
10374 ac_cv_prog_cc_g=no
10375 fi
10376 rm -f conftest.$ac_objext conftest.$ac_ext
10377 fi
10378 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10379 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10380 if test "$ac_test_CFLAGS" = set; then
10381 CFLAGS=$ac_save_CFLAGS
10382 elif test $ac_cv_prog_cc_g = yes; then
10383 if test "$GCC" = yes; then
10384 CFLAGS="-g -O2"
10385 else
10386 CFLAGS="-g"
10387 fi
10388 else
10389 if test "$GCC" = yes; then
10390 CFLAGS="-O2"
10391 else
10392 CFLAGS=
10393 fi
10394 fi
10395 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10396 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10397 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10398 echo $ECHO_N "(cached) $ECHO_C" >&6
10399 else
10400 ac_cv_prog_cc_stdc=no
10401 ac_save_CC=$CC
10402 cat >conftest.$ac_ext <<_ACEOF
10403 #line $LINENO "configure"
10404 /* confdefs.h. */
10405 _ACEOF
10406 cat confdefs.h >>conftest.$ac_ext
10407 cat >>conftest.$ac_ext <<_ACEOF
10408 /* end confdefs.h. */
10409 #include <stdarg.h>
10410 #include <stdio.h>
10411 #include <sys/types.h>
10412 #include <sys/stat.h>
10413 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10414 struct buf { int x; };
10415 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10416 static char *e (p, i)
10417 char **p;
10418 int i;
10419 {
10420 return p[i];
10421 }
10422 static char *f (char * (*g) (char **, int), char **p, ...)
10423 {
10424 char *s;
10425 va_list v;
10426 va_start (v,p);
10427 s = g (p, va_arg (v,int));
10428 va_end (v);
10429 return s;
10430 }
10431 int test (int i, double x);
10432 struct s1 {int (*f) (int a);};
10433 struct s2 {int (*f) (double a);};
10434 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10435 int argc;
10436 char **argv;
10437 int
10438 main ()
10439 {
10440 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10441 ;
10442 return 0;
10443 }
10444 _ACEOF
10445 # Don't try gcc -ansi; that turns off useful extensions and
10446 # breaks some systems' header files.
10447 # AIX -qlanglvl=ansi
10448 # Ultrix and OSF/1 -std1
10449 # HP-UX 10.20 and later -Ae
10450 # HP-UX older versions -Aa -D_HPUX_SOURCE
10451 # SVR4 -Xc -D__EXTENSIONS__
10452 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10453 do
10454 CC="$ac_save_CC $ac_arg"
10455 rm -f conftest.$ac_objext
10456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10457 (eval $ac_compile) 2>&5
10458 ac_status=$?
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); } &&
10461 { ac_try='test -s conftest.$ac_objext'
10462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10463 (eval $ac_try) 2>&5
10464 ac_status=$?
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); }; }; then
10467 ac_cv_prog_cc_stdc=$ac_arg
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
10475 done
10476 rm -f conftest.$ac_ext conftest.$ac_objext
10477 CC=$ac_save_CC
10478
10479 fi
10480
10481 case "x$ac_cv_prog_cc_stdc" in
10482 x|xno)
10483 echo "$as_me:$LINENO: result: none needed" >&5
10484 echo "${ECHO_T}none needed" >&6 ;;
10485 *)
10486 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10487 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10488 CC="$CC $ac_cv_prog_cc_stdc" ;;
10489 esac
10490
10491 # Some people use a C++ compiler to compile C. Since we use `exit',
10492 # in C++ we need to declare it. In case someone uses the same compiler
10493 # for both compiling C and C++ we need to have the C++ compiler decide
10494 # the declaration of exit, since it's the most demanding environment.
10495 cat >conftest.$ac_ext <<_ACEOF
10496 #ifndef __cplusplus
10497 choke me
10498 #endif
10499 _ACEOF
10500 rm -f conftest.$ac_objext
10501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10502 (eval $ac_compile) 2>&5
10503 ac_status=$?
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); } &&
10506 { ac_try='test -s conftest.$ac_objext'
10507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10508 (eval $ac_try) 2>&5
10509 ac_status=$?
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }; }; then
10512 for ac_declaration in \
10513 ''\
10514 '#include <stdlib.h>' \
10515 'extern "C" void std::exit (int) throw (); using std::exit;' \
10516 'extern "C" void std::exit (int); using std::exit;' \
10517 'extern "C" void exit (int) throw ();' \
10518 'extern "C" void exit (int);' \
10519 'void exit (int);'
10520 do
10521 cat >conftest.$ac_ext <<_ACEOF
10522 #line $LINENO "configure"
10523 /* confdefs.h. */
10524 _ACEOF
10525 cat confdefs.h >>conftest.$ac_ext
10526 cat >>conftest.$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10528 #include <stdlib.h>
10529 $ac_declaration
10530 int
10531 main ()
10532 {
10533 exit (42);
10534 ;
10535 return 0;
10536 }
10537 _ACEOF
10538 rm -f conftest.$ac_objext
10539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10540 (eval $ac_compile) 2>&5
10541 ac_status=$?
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 (exit $ac_status); } &&
10544 { ac_try='test -s conftest.$ac_objext'
10545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10546 (eval $ac_try) 2>&5
10547 ac_status=$?
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); }; }; then
10550 :
10551 else
10552 echo "$as_me: failed program was:" >&5
10553 sed 's/^/| /' conftest.$ac_ext >&5
10554
10555 continue
10556 fi
10557 rm -f conftest.$ac_objext conftest.$ac_ext
10558 cat >conftest.$ac_ext <<_ACEOF
10559 #line $LINENO "configure"
10560 /* confdefs.h. */
10561 _ACEOF
10562 cat confdefs.h >>conftest.$ac_ext
10563 cat >>conftest.$ac_ext <<_ACEOF
10564 /* end confdefs.h. */
10565 $ac_declaration
10566 int
10567 main ()
10568 {
10569 exit (42);
10570 ;
10571 return 0;
10572 }
10573 _ACEOF
10574 rm -f conftest.$ac_objext
10575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10576 (eval $ac_compile) 2>&5
10577 ac_status=$?
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); } &&
10580 { ac_try='test -s conftest.$ac_objext'
10581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10582 (eval $ac_try) 2>&5
10583 ac_status=$?
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); }; }; then
10586 break
10587 else
10588 echo "$as_me: failed program was:" >&5
10589 sed 's/^/| /' conftest.$ac_ext >&5
10590
10591 fi
10592 rm -f conftest.$ac_objext conftest.$ac_ext
10593 done
10594 rm -f conftest*
10595 if test -n "$ac_declaration"; then
10596 echo '#ifdef __cplusplus' >>confdefs.h
10597 echo $ac_declaration >>confdefs.h
10598 echo '#endif' >>confdefs.h
10599 fi
10600
10601 else
10602 echo "$as_me: failed program was:" >&5
10603 sed 's/^/| /' conftest.$ac_ext >&5
10604
10605 fi
10606 rm -f conftest.$ac_objext conftest.$ac_ext
10607 ac_ext=c
10608 ac_cpp='$CPP $CPPFLAGS'
10609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10612
10613
10614
10615 ac_ext=c
10616 ac_cpp='$CPP $CPPFLAGS'
10617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10620 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10621 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10622 # On Suns, sometimes $CPP names a directory.
10623 if test -n "$CPP" && test -d "$CPP"; then
10624 CPP=
10625 fi
10626 if test -z "$CPP"; then
10627 if test "${ac_cv_prog_CPP+set}" = set; then
10628 echo $ECHO_N "(cached) $ECHO_C" >&6
10629 else
10630 # Double quotes because CPP needs to be expanded
10631 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10632 do
10633 ac_preproc_ok=false
10634 for ac_c_preproc_warn_flag in '' yes
10635 do
10636 # Use a header file that comes with gcc, so configuring glibc
10637 # with a fresh cross-compiler works.
10638 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10639 # <limits.h> exists even on freestanding compilers.
10640 # On the NeXT, cc -E runs the code through the compiler's parser,
10641 # not just through cpp. "Syntax error" is here to catch this case.
10642 cat >conftest.$ac_ext <<_ACEOF
10643 #line $LINENO "configure"
10644 /* confdefs.h. */
10645 _ACEOF
10646 cat confdefs.h >>conftest.$ac_ext
10647 cat >>conftest.$ac_ext <<_ACEOF
10648 /* end confdefs.h. */
10649 #ifdef __STDC__
10650 # include <limits.h>
10651 #else
10652 # include <assert.h>
10653 #endif
10654 Syntax error
10655 _ACEOF
10656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10658 ac_status=$?
10659 grep -v '^ *+' conftest.er1 >conftest.err
10660 rm -f conftest.er1
10661 cat conftest.err >&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } >/dev/null; then
10664 if test -s conftest.err; then
10665 ac_cpp_err=$ac_c_preproc_warn_flag
10666 else
10667 ac_cpp_err=
10668 fi
10669 else
10670 ac_cpp_err=yes
10671 fi
10672 if test -z "$ac_cpp_err"; then
10673 :
10674 else
10675 echo "$as_me: failed program was:" >&5
10676 sed 's/^/| /' conftest.$ac_ext >&5
10677
10678 # Broken: fails on valid input.
10679 continue
10680 fi
10681 rm -f conftest.err conftest.$ac_ext
10682
10683 # OK, works on sane cases. Now check whether non-existent headers
10684 # can be detected and how.
10685 cat >conftest.$ac_ext <<_ACEOF
10686 #line $LINENO "configure"
10687 /* confdefs.h. */
10688 _ACEOF
10689 cat confdefs.h >>conftest.$ac_ext
10690 cat >>conftest.$ac_ext <<_ACEOF
10691 /* end confdefs.h. */
10692 #include <ac_nonexistent.h>
10693 _ACEOF
10694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10696 ac_status=$?
10697 grep -v '^ *+' conftest.er1 >conftest.err
10698 rm -f conftest.er1
10699 cat conftest.err >&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); } >/dev/null; then
10702 if test -s conftest.err; then
10703 ac_cpp_err=$ac_c_preproc_warn_flag
10704 else
10705 ac_cpp_err=
10706 fi
10707 else
10708 ac_cpp_err=yes
10709 fi
10710 if test -z "$ac_cpp_err"; then
10711 # Broken: success on invalid input.
10712 continue
10713 else
10714 echo "$as_me: failed program was:" >&5
10715 sed 's/^/| /' conftest.$ac_ext >&5
10716
10717 # Passes both tests.
10718 ac_preproc_ok=:
10719 break
10720 fi
10721 rm -f conftest.err conftest.$ac_ext
10722
10723 done
10724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10725 rm -f conftest.err conftest.$ac_ext
10726 if $ac_preproc_ok; then
10727 break
10728 fi
10729
10730 done
10731 ac_cv_prog_CPP=$CPP
10732
10733 fi
10734 CPP=$ac_cv_prog_CPP
10735 else
10736 ac_cv_prog_CPP=$CPP
10737 fi
10738 echo "$as_me:$LINENO: result: $CPP" >&5
10739 echo "${ECHO_T}$CPP" >&6
10740 ac_preproc_ok=false
10741 for ac_c_preproc_warn_flag in '' yes
10742 do
10743 # Use a header file that comes with gcc, so configuring glibc
10744 # with a fresh cross-compiler works.
10745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10746 # <limits.h> exists even on freestanding compilers.
10747 # On the NeXT, cc -E runs the code through the compiler's parser,
10748 # not just through cpp. "Syntax error" is here to catch this case.
10749 cat >conftest.$ac_ext <<_ACEOF
10750 #line $LINENO "configure"
10751 /* confdefs.h. */
10752 _ACEOF
10753 cat confdefs.h >>conftest.$ac_ext
10754 cat >>conftest.$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756 #ifdef __STDC__
10757 # include <limits.h>
10758 #else
10759 # include <assert.h>
10760 #endif
10761 Syntax error
10762 _ACEOF
10763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10765 ac_status=$?
10766 grep -v '^ *+' conftest.er1 >conftest.err
10767 rm -f conftest.er1
10768 cat conftest.err >&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); } >/dev/null; then
10771 if test -s conftest.err; then
10772 ac_cpp_err=$ac_c_preproc_warn_flag
10773 else
10774 ac_cpp_err=
10775 fi
10776 else
10777 ac_cpp_err=yes
10778 fi
10779 if test -z "$ac_cpp_err"; then
10780 :
10781 else
10782 echo "$as_me: failed program was:" >&5
10783 sed 's/^/| /' conftest.$ac_ext >&5
10784
10785 # Broken: fails on valid input.
10786 continue
10787 fi
10788 rm -f conftest.err conftest.$ac_ext
10789
10790 # OK, works on sane cases. Now check whether non-existent headers
10791 # can be detected and how.
10792 cat >conftest.$ac_ext <<_ACEOF
10793 #line $LINENO "configure"
10794 /* confdefs.h. */
10795 _ACEOF
10796 cat confdefs.h >>conftest.$ac_ext
10797 cat >>conftest.$ac_ext <<_ACEOF
10798 /* end confdefs.h. */
10799 #include <ac_nonexistent.h>
10800 _ACEOF
10801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10802 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10803 ac_status=$?
10804 grep -v '^ *+' conftest.er1 >conftest.err
10805 rm -f conftest.er1
10806 cat conftest.err >&5
10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); } >/dev/null; then
10809 if test -s conftest.err; then
10810 ac_cpp_err=$ac_c_preproc_warn_flag
10811 else
10812 ac_cpp_err=
10813 fi
10814 else
10815 ac_cpp_err=yes
10816 fi
10817 if test -z "$ac_cpp_err"; then
10818 # Broken: success on invalid input.
10819 continue
10820 else
10821 echo "$as_me: failed program was:" >&5
10822 sed 's/^/| /' conftest.$ac_ext >&5
10823
10824 # Passes both tests.
10825 ac_preproc_ok=:
10826 break
10827 fi
10828 rm -f conftest.err conftest.$ac_ext
10829
10830 done
10831 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10832 rm -f conftest.err conftest.$ac_ext
10833 if $ac_preproc_ok; then
10834 :
10835 else
10836 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10837 See \`config.log' for more details." >&5
10838 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10839 See \`config.log' for more details." >&2;}
10840 { (exit 1); exit 1; }; }
10841 fi
10842
10843 ac_ext=c
10844 ac_cpp='$CPP $CPPFLAGS'
10845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10848
10849
10850 echo "$as_me:$LINENO: checking for egrep" >&5
10851 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10852 if test "${ac_cv_prog_egrep+set}" = set; then
10853 echo $ECHO_N "(cached) $ECHO_C" >&6
10854 else
10855 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10856 then ac_cv_prog_egrep='grep -E'
10857 else ac_cv_prog_egrep='egrep'
10858 fi
10859 fi
10860 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10861 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10862 EGREP=$ac_cv_prog_egrep
10863
10864
10865 if test $ac_cv_c_compiler_gnu = yes; then
10866 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10867 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10868 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10870 else
10871 ac_pattern="Autoconf.*'x'"
10872 cat >conftest.$ac_ext <<_ACEOF
10873 #line $LINENO "configure"
10874 /* confdefs.h. */
10875 _ACEOF
10876 cat confdefs.h >>conftest.$ac_ext
10877 cat >>conftest.$ac_ext <<_ACEOF
10878 /* end confdefs.h. */
10879 #include <sgtty.h>
10880 Autoconf TIOCGETP
10881 _ACEOF
10882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10883 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10884 ac_cv_prog_gcc_traditional=yes
10885 else
10886 ac_cv_prog_gcc_traditional=no
10887 fi
10888 rm -f conftest*
10889
10890
10891 if test $ac_cv_prog_gcc_traditional = no; then
10892 cat >conftest.$ac_ext <<_ACEOF
10893 #line $LINENO "configure"
10894 /* confdefs.h. */
10895 _ACEOF
10896 cat confdefs.h >>conftest.$ac_ext
10897 cat >>conftest.$ac_ext <<_ACEOF
10898 /* end confdefs.h. */
10899 #include <termio.h>
10900 Autoconf TCGETA
10901 _ACEOF
10902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10903 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10904 ac_cv_prog_gcc_traditional=yes
10905 fi
10906 rm -f conftest*
10907
10908 fi
10909 fi
10910 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10911 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10912 if test $ac_cv_prog_gcc_traditional = yes; then
10913 CC="$CC -traditional"
10914 fi
10915 fi
10916
10917
10918
10919
10920 ac_ext=cc
10921 ac_cpp='$CXXCPP $CPPFLAGS'
10922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10925
10926
10927 CXXFLAGS=${CXXFLAGS:=}
10928 ac_ext=cc
10929 ac_cpp='$CXXCPP $CPPFLAGS'
10930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10933 if test -n "$ac_tool_prefix"; then
10934 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10935 do
10936 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10937 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10938 echo "$as_me:$LINENO: checking for $ac_word" >&5
10939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10940 if test "${ac_cv_prog_CXX+set}" = set; then
10941 echo $ECHO_N "(cached) $ECHO_C" >&6
10942 else
10943 if test -n "$CXX"; then
10944 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10945 else
10946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10947 for as_dir in $PATH
10948 do
10949 IFS=$as_save_IFS
10950 test -z "$as_dir" && as_dir=.
10951 for ac_exec_ext in '' $ac_executable_extensions; do
10952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10953 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10955 break 2
10956 fi
10957 done
10958 done
10959
10960 fi
10961 fi
10962 CXX=$ac_cv_prog_CXX
10963 if test -n "$CXX"; then
10964 echo "$as_me:$LINENO: result: $CXX" >&5
10965 echo "${ECHO_T}$CXX" >&6
10966 else
10967 echo "$as_me:$LINENO: result: no" >&5
10968 echo "${ECHO_T}no" >&6
10969 fi
10970
10971 test -n "$CXX" && break
10972 done
10973 fi
10974 if test -z "$CXX"; then
10975 ac_ct_CXX=$CXX
10976 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10977 do
10978 # Extract the first word of "$ac_prog", so it can be a program name with args.
10979 set dummy $ac_prog; ac_word=$2
10980 echo "$as_me:$LINENO: checking for $ac_word" >&5
10981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10982 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10983 echo $ECHO_N "(cached) $ECHO_C" >&6
10984 else
10985 if test -n "$ac_ct_CXX"; then
10986 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10987 else
10988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10989 for as_dir in $PATH
10990 do
10991 IFS=$as_save_IFS
10992 test -z "$as_dir" && as_dir=.
10993 for ac_exec_ext in '' $ac_executable_extensions; do
10994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10995 ac_cv_prog_ac_ct_CXX="$ac_prog"
10996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10997 break 2
10998 fi
10999 done
11000 done
11001
11002 fi
11003 fi
11004 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11005 if test -n "$ac_ct_CXX"; then
11006 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11007 echo "${ECHO_T}$ac_ct_CXX" >&6
11008 else
11009 echo "$as_me:$LINENO: result: no" >&5
11010 echo "${ECHO_T}no" >&6
11011 fi
11012
11013 test -n "$ac_ct_CXX" && break
11014 done
11015 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11016
11017 CXX=$ac_ct_CXX
11018 fi
11019
11020
11021 # Provide some information about the compiler.
11022 echo "$as_me:$LINENO:" \
11023 "checking for C++ compiler version" >&5
11024 ac_compiler=`set X $ac_compile; echo $2`
11025 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11026 (eval $ac_compiler --version </dev/null >&5) 2>&5
11027 ac_status=$?
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }
11030 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11031 (eval $ac_compiler -v </dev/null >&5) 2>&5
11032 ac_status=$?
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }
11035 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11036 (eval $ac_compiler -V </dev/null >&5) 2>&5
11037 ac_status=$?
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); }
11040
11041 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11042 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11043 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11045 else
11046 cat >conftest.$ac_ext <<_ACEOF
11047 #line $LINENO "configure"
11048 /* confdefs.h. */
11049 _ACEOF
11050 cat confdefs.h >>conftest.$ac_ext
11051 cat >>conftest.$ac_ext <<_ACEOF
11052 /* end confdefs.h. */
11053
11054 int
11055 main ()
11056 {
11057 #ifndef __GNUC__
11058 choke me
11059 #endif
11060
11061 ;
11062 return 0;
11063 }
11064 _ACEOF
11065 rm -f conftest.$ac_objext
11066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11067 (eval $ac_compile) 2>&5
11068 ac_status=$?
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); } &&
11071 { ac_try='test -s conftest.$ac_objext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11074 ac_status=$?
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 ac_compiler_gnu=yes
11078 else
11079 echo "$as_me: failed program was:" >&5
11080 sed 's/^/| /' conftest.$ac_ext >&5
11081
11082 ac_compiler_gnu=no
11083 fi
11084 rm -f conftest.$ac_objext conftest.$ac_ext
11085 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11086
11087 fi
11088 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11089 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11090 GXX=`test $ac_compiler_gnu = yes && echo yes`
11091 ac_test_CXXFLAGS=${CXXFLAGS+set}
11092 ac_save_CXXFLAGS=$CXXFLAGS
11093 CXXFLAGS="-g"
11094 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11095 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11096 if test "${ac_cv_prog_cxx_g+set}" = set; then
11097 echo $ECHO_N "(cached) $ECHO_C" >&6
11098 else
11099 cat >conftest.$ac_ext <<_ACEOF
11100 #line $LINENO "configure"
11101 /* confdefs.h. */
11102 _ACEOF
11103 cat confdefs.h >>conftest.$ac_ext
11104 cat >>conftest.$ac_ext <<_ACEOF
11105 /* end confdefs.h. */
11106
11107 int
11108 main ()
11109 {
11110
11111 ;
11112 return 0;
11113 }
11114 _ACEOF
11115 rm -f conftest.$ac_objext
11116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11117 (eval $ac_compile) 2>&5
11118 ac_status=$?
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); } &&
11121 { ac_try='test -s conftest.$ac_objext'
11122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11123 (eval $ac_try) 2>&5
11124 ac_status=$?
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); }; }; then
11127 ac_cv_prog_cxx_g=yes
11128 else
11129 echo "$as_me: failed program was:" >&5
11130 sed 's/^/| /' conftest.$ac_ext >&5
11131
11132 ac_cv_prog_cxx_g=no
11133 fi
11134 rm -f conftest.$ac_objext conftest.$ac_ext
11135 fi
11136 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11137 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11138 if test "$ac_test_CXXFLAGS" = set; then
11139 CXXFLAGS=$ac_save_CXXFLAGS
11140 elif test $ac_cv_prog_cxx_g = yes; then
11141 if test "$GXX" = yes; then
11142 CXXFLAGS="-g -O2"
11143 else
11144 CXXFLAGS="-g"
11145 fi
11146 else
11147 if test "$GXX" = yes; then
11148 CXXFLAGS="-O2"
11149 else
11150 CXXFLAGS=
11151 fi
11152 fi
11153 for ac_declaration in \
11154 ''\
11155 '#include <stdlib.h>' \
11156 'extern "C" void std::exit (int) throw (); using std::exit;' \
11157 'extern "C" void std::exit (int); using std::exit;' \
11158 'extern "C" void exit (int) throw ();' \
11159 'extern "C" void exit (int);' \
11160 'void exit (int);'
11161 do
11162 cat >conftest.$ac_ext <<_ACEOF
11163 #line $LINENO "configure"
11164 /* confdefs.h. */
11165 _ACEOF
11166 cat confdefs.h >>conftest.$ac_ext
11167 cat >>conftest.$ac_ext <<_ACEOF
11168 /* end confdefs.h. */
11169 #include <stdlib.h>
11170 $ac_declaration
11171 int
11172 main ()
11173 {
11174 exit (42);
11175 ;
11176 return 0;
11177 }
11178 _ACEOF
11179 rm -f conftest.$ac_objext
11180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11181 (eval $ac_compile) 2>&5
11182 ac_status=$?
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); } &&
11185 { ac_try='test -s conftest.$ac_objext'
11186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11187 (eval $ac_try) 2>&5
11188 ac_status=$?
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; }; then
11191 :
11192 else
11193 echo "$as_me: failed program was:" >&5
11194 sed 's/^/| /' conftest.$ac_ext >&5
11195
11196 continue
11197 fi
11198 rm -f conftest.$ac_objext conftest.$ac_ext
11199 cat >conftest.$ac_ext <<_ACEOF
11200 #line $LINENO "configure"
11201 /* confdefs.h. */
11202 _ACEOF
11203 cat confdefs.h >>conftest.$ac_ext
11204 cat >>conftest.$ac_ext <<_ACEOF
11205 /* end confdefs.h. */
11206 $ac_declaration
11207 int
11208 main ()
11209 {
11210 exit (42);
11211 ;
11212 return 0;
11213 }
11214 _ACEOF
11215 rm -f conftest.$ac_objext
11216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11217 (eval $ac_compile) 2>&5
11218 ac_status=$?
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); } &&
11221 { ac_try='test -s conftest.$ac_objext'
11222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11223 (eval $ac_try) 2>&5
11224 ac_status=$?
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); }; }; then
11227 break
11228 else
11229 echo "$as_me: failed program was:" >&5
11230 sed 's/^/| /' conftest.$ac_ext >&5
11231
11232 fi
11233 rm -f conftest.$ac_objext conftest.$ac_ext
11234 done
11235 rm -f conftest*
11236 if test -n "$ac_declaration"; then
11237 echo '#ifdef __cplusplus' >>confdefs.h
11238 echo $ac_declaration >>confdefs.h
11239 echo '#endif' >>confdefs.h
11240 fi
11241
11242 ac_ext=cc
11243 ac_cpp='$CXXCPP $CPPFLAGS'
11244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11247
11248
11249 ac_ext=c
11250 ac_cpp='$CPP $CPPFLAGS'
11251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11254
11255
11256 if test -n "$ac_tool_prefix"; then
11257 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11258 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11259 echo "$as_me:$LINENO: checking for $ac_word" >&5
11260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11261 if test "${ac_cv_prog_RANLIB+set}" = set; then
11262 echo $ECHO_N "(cached) $ECHO_C" >&6
11263 else
11264 if test -n "$RANLIB"; then
11265 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11266 else
11267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11268 for as_dir in $PATH
11269 do
11270 IFS=$as_save_IFS
11271 test -z "$as_dir" && as_dir=.
11272 for ac_exec_ext in '' $ac_executable_extensions; do
11273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11274 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11276 break 2
11277 fi
11278 done
11279 done
11280
11281 fi
11282 fi
11283 RANLIB=$ac_cv_prog_RANLIB
11284 if test -n "$RANLIB"; then
11285 echo "$as_me:$LINENO: result: $RANLIB" >&5
11286 echo "${ECHO_T}$RANLIB" >&6
11287 else
11288 echo "$as_me:$LINENO: result: no" >&5
11289 echo "${ECHO_T}no" >&6
11290 fi
11291
11292 fi
11293 if test -z "$ac_cv_prog_RANLIB"; then
11294 ac_ct_RANLIB=$RANLIB
11295 # Extract the first word of "ranlib", so it can be a program name with args.
11296 set dummy ranlib; ac_word=$2
11297 echo "$as_me:$LINENO: checking for $ac_word" >&5
11298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11299 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11301 else
11302 if test -n "$ac_ct_RANLIB"; then
11303 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11304 else
11305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11306 for as_dir in $PATH
11307 do
11308 IFS=$as_save_IFS
11309 test -z "$as_dir" && as_dir=.
11310 for ac_exec_ext in '' $ac_executable_extensions; do
11311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11312 ac_cv_prog_ac_ct_RANLIB="ranlib"
11313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11314 break 2
11315 fi
11316 done
11317 done
11318
11319 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11320 fi
11321 fi
11322 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11323 if test -n "$ac_ct_RANLIB"; then
11324 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11325 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11326 else
11327 echo "$as_me:$LINENO: result: no" >&5
11328 echo "${ECHO_T}no" >&6
11329 fi
11330
11331 RANLIB=$ac_ct_RANLIB
11332 else
11333 RANLIB="$ac_cv_prog_RANLIB"
11334 fi
11335
11336
11337 # Extract the first word of "ar", so it can be a program name with args.
11338 set dummy ar; ac_word=$2
11339 echo "$as_me:$LINENO: checking for $ac_word" >&5
11340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11341 if test "${ac_cv_prog_AR+set}" = set; then
11342 echo $ECHO_N "(cached) $ECHO_C" >&6
11343 else
11344 if test -n "$AR"; then
11345 ac_cv_prog_AR="$AR" # Let the user override the test.
11346 else
11347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11348 for as_dir in $PATH
11349 do
11350 IFS=$as_save_IFS
11351 test -z "$as_dir" && as_dir=.
11352 for ac_exec_ext in '' $ac_executable_extensions; do
11353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11354 ac_cv_prog_AR="ar"
11355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11356 break 2
11357 fi
11358 done
11359 done
11360
11361 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11362 fi
11363 fi
11364 AR=$ac_cv_prog_AR
11365 if test -n "$AR"; then
11366 echo "$as_me:$LINENO: result: $AR" >&5
11367 echo "${ECHO_T}$AR" >&6
11368 else
11369 echo "$as_me:$LINENO: result: no" >&5
11370 echo "${ECHO_T}no" >&6
11371 fi
11372
11373
11374 # Find a good install program. We prefer a C program (faster),
11375 # so one script is as good as another. But avoid the broken or
11376 # incompatible versions:
11377 # SysV /etc/install, /usr/sbin/install
11378 # SunOS /usr/etc/install
11379 # IRIX /sbin/install
11380 # AIX /bin/install
11381 # AmigaOS /C/install, which installs bootblocks on floppy discs
11382 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11383 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11384 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11385 # ./install, which can be erroneously created by make from ./install.sh.
11386 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11387 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11388 if test -z "$INSTALL"; then
11389 if test "${ac_cv_path_install+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 else
11392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11393 for as_dir in $PATH
11394 do
11395 IFS=$as_save_IFS
11396 test -z "$as_dir" && as_dir=.
11397 # Account for people who put trailing slashes in PATH elements.
11398 case $as_dir/ in
11399 ./ | .// | /cC/* | \
11400 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11401 /usr/ucb/* ) ;;
11402 *)
11403 # OSF1 and SCO ODT 3.0 have their own names for install.
11404 # Don't use installbsd from OSF since it installs stuff as root
11405 # by default.
11406 for ac_prog in ginstall scoinst install; do
11407 for ac_exec_ext in '' $ac_executable_extensions; do
11408 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11409 if test $ac_prog = install &&
11410 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11411 # AIX install. It has an incompatible calling convention.
11412 :
11413 elif test $ac_prog = install &&
11414 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11415 # program-specific install script used by HP pwplus--don't use.
11416 :
11417 else
11418 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11419 break 3
11420 fi
11421 fi
11422 done
11423 done
11424 ;;
11425 esac
11426 done
11427
11428
11429 fi
11430 if test "${ac_cv_path_install+set}" = set; then
11431 INSTALL=$ac_cv_path_install
11432 else
11433 # As a last resort, use the slow shell script. We don't cache a
11434 # path for INSTALL within a source directory, because that will
11435 # break other packages using the cache if that directory is
11436 # removed, or if the path is relative.
11437 INSTALL=$ac_install_sh
11438 fi
11439 fi
11440 echo "$as_me:$LINENO: result: $INSTALL" >&5
11441 echo "${ECHO_T}$INSTALL" >&6
11442
11443 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11444 # It thinks the first close brace ends the variable substitution.
11445 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11446
11447 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11448
11449 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11450
11451
11452 case ${INSTALL} in
11453 /* ) # Absolute
11454 ;;
11455 ?:* ) # Drive letter, considered as absolute.
11456 ;;
11457 *)
11458 INSTALL=`pwd`/${INSTALL} ;;
11459 esac
11460
11461 case ${host} in
11462 *-hp-hpux* )
11463 INSTALL_DIR="mkdir"
11464 ;;
11465
11466 *) INSTALL_DIR="$INSTALL -d"
11467 ;;
11468 esac
11469
11470
11471 case "${host}" in
11472
11473 powerpc-*-darwin* )
11474 INSTALL_PROGRAM="cp -fp"
11475 INSTALL_DATA="cp -fp"
11476 ;;
11477 *)
11478 ;;
11479 esac
11480
11481 # Extract the first word of "strip", so it can be a program name with args.
11482 set dummy strip; ac_word=$2
11483 echo "$as_me:$LINENO: checking for $ac_word" >&5
11484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11485 if test "${ac_cv_prog_STRIP+set}" = set; then
11486 echo $ECHO_N "(cached) $ECHO_C" >&6
11487 else
11488 if test -n "$STRIP"; then
11489 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11490 else
11491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11492 for as_dir in $PATH
11493 do
11494 IFS=$as_save_IFS
11495 test -z "$as_dir" && as_dir=.
11496 for ac_exec_ext in '' $ac_executable_extensions; do
11497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11498 ac_cv_prog_STRIP="strip"
11499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11500 break 2
11501 fi
11502 done
11503 done
11504
11505 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11506 fi
11507 fi
11508 STRIP=$ac_cv_prog_STRIP
11509 if test -n "$STRIP"; then
11510 echo "$as_me:$LINENO: result: $STRIP" >&5
11511 echo "${ECHO_T}$STRIP" >&6
11512 else
11513 echo "$as_me:$LINENO: result: no" >&5
11514 echo "${ECHO_T}no" >&6
11515 fi
11516
11517
11518 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11519 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11520 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11522 else
11523
11524 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11525 egrep -s GNU > /dev/null); then
11526 wx_cv_prog_makeisgnu="yes"
11527 else
11528 wx_cv_prog_makeisgnu="no"
11529 fi
11530
11531 fi
11532 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11533 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11534
11535 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11536 IF_GNU_MAKE=""
11537 else
11538 IF_GNU_MAKE="#"
11539 fi
11540
11541
11542
11543 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11544 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11545 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11546 if test "${wx_cv_prog_makevpath+set}" = set; then
11547 echo $ECHO_N "(cached) $ECHO_C" >&6
11548 else
11549
11550 cat - << EOF > confMake
11551 check : file
11552 cp \$? \$@
11553 cp \$? final_file
11554 EOF
11555
11556 if test ! -d sub ; then
11557 mkdir sub
11558 fi
11559 echo dummy > sub/file
11560 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11561 RESULT=$?
11562 rm -f sub/file check final_file confMake
11563 rmdir sub
11564 if test "$RESULT" = 0; then
11565 wx_cv_prog_makevpath="yes"
11566 else
11567 wx_cv_prog_makevpath="no"
11568 fi
11569
11570 fi
11571 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11572 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11573
11574 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11575 { { echo "$as_me:$LINENO: error:
11576 You need a make-utility that is able to use the variable
11577 VPATH correctly.
11578 If your version of make does not support VPATH correctly,
11579 please install GNU-make (possibly as gmake), and start
11580 configure with the following command:
11581 export MAKE=gmake; ./configure for sh-type shells
11582 setenv MAKE gmake; ./configure for csh-type shells
11583 Also please do remember to use gmake in this case every time
11584 you are trying to compile.
11585 " >&5
11586 echo "$as_me: error:
11587 You need a make-utility that is able to use the variable
11588 VPATH correctly.
11589 If your version of make does not support VPATH correctly,
11590 please install GNU-make (possibly as gmake), and start
11591 configure with the following command:
11592 export MAKE=gmake; ./configure for sh-type shells
11593 setenv MAKE gmake; ./configure for csh-type shells
11594 Also please do remember to use gmake in this case every time
11595 you are trying to compile.
11596 " >&2;}
11597 { (exit 1); exit 1; }; }
11598 fi fi
11599 for ac_prog in 'bison -y' byacc
11600 do
11601 # Extract the first word of "$ac_prog", so it can be a program name with args.
11602 set dummy $ac_prog; ac_word=$2
11603 echo "$as_me:$LINENO: checking for $ac_word" >&5
11604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11605 if test "${ac_cv_prog_YACC+set}" = set; then
11606 echo $ECHO_N "(cached) $ECHO_C" >&6
11607 else
11608 if test -n "$YACC"; then
11609 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11610 else
11611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11612 for as_dir in $PATH
11613 do
11614 IFS=$as_save_IFS
11615 test -z "$as_dir" && as_dir=.
11616 for ac_exec_ext in '' $ac_executable_extensions; do
11617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11618 ac_cv_prog_YACC="$ac_prog"
11619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11620 break 2
11621 fi
11622 done
11623 done
11624
11625 fi
11626 fi
11627 YACC=$ac_cv_prog_YACC
11628 if test -n "$YACC"; then
11629 echo "$as_me:$LINENO: result: $YACC" >&5
11630 echo "${ECHO_T}$YACC" >&6
11631 else
11632 echo "$as_me:$LINENO: result: no" >&5
11633 echo "${ECHO_T}no" >&6
11634 fi
11635
11636 test -n "$YACC" && break
11637 done
11638 test -n "$YACC" || YACC="yacc"
11639
11640
11641 for ac_prog in flex lex
11642 do
11643 # Extract the first word of "$ac_prog", so it can be a program name with args.
11644 set dummy $ac_prog; ac_word=$2
11645 echo "$as_me:$LINENO: checking for $ac_word" >&5
11646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11647 if test "${ac_cv_prog_LEX+set}" = set; then
11648 echo $ECHO_N "(cached) $ECHO_C" >&6
11649 else
11650 if test -n "$LEX"; then
11651 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11652 else
11653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11654 for as_dir in $PATH
11655 do
11656 IFS=$as_save_IFS
11657 test -z "$as_dir" && as_dir=.
11658 for ac_exec_ext in '' $ac_executable_extensions; do
11659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11660 ac_cv_prog_LEX="$ac_prog"
11661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11662 break 2
11663 fi
11664 done
11665 done
11666
11667 fi
11668 fi
11669 LEX=$ac_cv_prog_LEX
11670 if test -n "$LEX"; then
11671 echo "$as_me:$LINENO: result: $LEX" >&5
11672 echo "${ECHO_T}$LEX" >&6
11673 else
11674 echo "$as_me:$LINENO: result: no" >&5
11675 echo "${ECHO_T}no" >&6
11676 fi
11677
11678 test -n "$LEX" && break
11679 done
11680 test -n "$LEX" || LEX=":"
11681
11682 if test -z "$LEXLIB"
11683 then
11684 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11685 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11686 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11687 echo $ECHO_N "(cached) $ECHO_C" >&6
11688 else
11689 ac_check_lib_save_LIBS=$LIBS
11690 LIBS="-lfl $LIBS"
11691 cat >conftest.$ac_ext <<_ACEOF
11692 #line $LINENO "configure"
11693 /* confdefs.h. */
11694 _ACEOF
11695 cat confdefs.h >>conftest.$ac_ext
11696 cat >>conftest.$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11698
11699 /* Override any gcc2 internal prototype to avoid an error. */
11700 #ifdef __cplusplus
11701 extern "C"
11702 #endif
11703 /* We use char because int might match the return type of a gcc2
11704 builtin and then its argument prototype would still apply. */
11705 char yywrap ();
11706 int
11707 main ()
11708 {
11709 yywrap ();
11710 ;
11711 return 0;
11712 }
11713 _ACEOF
11714 rm -f conftest.$ac_objext conftest$ac_exeext
11715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11716 (eval $ac_link) 2>&5
11717 ac_status=$?
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); } &&
11720 { ac_try='test -s conftest$ac_exeext'
11721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11722 (eval $ac_try) 2>&5
11723 ac_status=$?
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); }; }; then
11726 ac_cv_lib_fl_yywrap=yes
11727 else
11728 echo "$as_me: failed program was:" >&5
11729 sed 's/^/| /' conftest.$ac_ext >&5
11730
11731 ac_cv_lib_fl_yywrap=no
11732 fi
11733 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11734 LIBS=$ac_check_lib_save_LIBS
11735 fi
11736 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11737 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11738 if test $ac_cv_lib_fl_yywrap = yes; then
11739 LEXLIB="-lfl"
11740 else
11741 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11742 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11743 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11744 echo $ECHO_N "(cached) $ECHO_C" >&6
11745 else
11746 ac_check_lib_save_LIBS=$LIBS
11747 LIBS="-ll $LIBS"
11748 cat >conftest.$ac_ext <<_ACEOF
11749 #line $LINENO "configure"
11750 /* confdefs.h. */
11751 _ACEOF
11752 cat confdefs.h >>conftest.$ac_ext
11753 cat >>conftest.$ac_ext <<_ACEOF
11754 /* end confdefs.h. */
11755
11756 /* Override any gcc2 internal prototype to avoid an error. */
11757 #ifdef __cplusplus
11758 extern "C"
11759 #endif
11760 /* We use char because int might match the return type of a gcc2
11761 builtin and then its argument prototype would still apply. */
11762 char yywrap ();
11763 int
11764 main ()
11765 {
11766 yywrap ();
11767 ;
11768 return 0;
11769 }
11770 _ACEOF
11771 rm -f conftest.$ac_objext conftest$ac_exeext
11772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11773 (eval $ac_link) 2>&5
11774 ac_status=$?
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); } &&
11777 { ac_try='test -s conftest$ac_exeext'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11780 ac_status=$?
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; }; then
11783 ac_cv_lib_l_yywrap=yes
11784 else
11785 echo "$as_me: failed program was:" >&5
11786 sed 's/^/| /' conftest.$ac_ext >&5
11787
11788 ac_cv_lib_l_yywrap=no
11789 fi
11790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11791 LIBS=$ac_check_lib_save_LIBS
11792 fi
11793 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11794 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11795 if test $ac_cv_lib_l_yywrap = yes; then
11796 LEXLIB="-ll"
11797 fi
11798
11799 fi
11800
11801 fi
11802
11803 if test "x$LEX" != "x:"; then
11804 echo "$as_me:$LINENO: checking lex output file root" >&5
11805 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11806 if test "${ac_cv_prog_lex_root+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 else
11809 # The minimal lex program is just a single line: %%. But some broken lexes
11810 # (Solaris, I think it was) want two %% lines, so accommodate them.
11811 cat >conftest.l <<_ACEOF
11812 %%
11813 %%
11814 _ACEOF
11815 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11816 (eval $LEX conftest.l) 2>&5
11817 ac_status=$?
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); }
11820 if test -f lex.yy.c; then
11821 ac_cv_prog_lex_root=lex.yy
11822 elif test -f lexyy.c; then
11823 ac_cv_prog_lex_root=lexyy
11824 else
11825 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11826 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11827 { (exit 1); exit 1; }; }
11828 fi
11829 fi
11830 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11831 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11832 rm -f conftest.l
11833 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11834
11835 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11836 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11837 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11838 echo $ECHO_N "(cached) $ECHO_C" >&6
11839 else
11840 # POSIX says lex can declare yytext either as a pointer or an array; the
11841 # default is implementation-dependent. Figure out which it is, since
11842 # not all implementations provide the %pointer and %array declarations.
11843 ac_cv_prog_lex_yytext_pointer=no
11844 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11845 ac_save_LIBS=$LIBS
11846 LIBS="$LIBS $LEXLIB"
11847 cat >conftest.$ac_ext <<_ACEOF
11848 `cat $LEX_OUTPUT_ROOT.c`
11849 _ACEOF
11850 rm -f conftest.$ac_objext conftest$ac_exeext
11851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11852 (eval $ac_link) 2>&5
11853 ac_status=$?
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); } &&
11856 { ac_try='test -s conftest$ac_exeext'
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11859 ac_status=$?
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; }; then
11862 ac_cv_prog_lex_yytext_pointer=yes
11863 else
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.$ac_ext >&5
11866
11867 fi
11868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11869 LIBS=$ac_save_LIBS
11870 rm -f "${LEX_OUTPUT_ROOT}.c"
11871
11872 fi
11873 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11874 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11875 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11876
11877 cat >>confdefs.h <<\_ACEOF
11878 #define YYTEXT_POINTER 1
11879 _ACEOF
11880
11881 fi
11882
11883 fi
11884
11885 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11886 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11887 LN_S=$as_ln_s
11888 if test "$LN_S" = "ln -s"; then
11889 echo "$as_me:$LINENO: result: yes" >&5
11890 echo "${ECHO_T}yes" >&6
11891 else
11892 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11893 echo "${ECHO_T}no, using $LN_S" >&6
11894 fi
11895
11896
11897 case "${host}" in
11898 *-pc-os2_emx | *-pc-os2-emx )
11899 LIBS="$LIBS -lstdcpp"
11900 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11901 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11902 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11903 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11904 echo $ECHO_N "(cached) $ECHO_C" >&6
11905 else
11906 ac_check_lib_save_LIBS=$LIBS
11907 LIBS="-lcExt $LIBS"
11908 cat >conftest.$ac_ext <<_ACEOF
11909 #line $LINENO "configure"
11910 /* confdefs.h. */
11911 _ACEOF
11912 cat confdefs.h >>conftest.$ac_ext
11913 cat >>conftest.$ac_ext <<_ACEOF
11914 /* end confdefs.h. */
11915
11916 /* Override any gcc2 internal prototype to avoid an error. */
11917 #ifdef __cplusplus
11918 extern "C"
11919 #endif
11920 /* We use char because int might match the return type of a gcc2
11921 builtin and then its argument prototype would still apply. */
11922 char drand48 ();
11923 int
11924 main ()
11925 {
11926 drand48 ();
11927 ;
11928 return 0;
11929 }
11930 _ACEOF
11931 rm -f conftest.$ac_objext conftest$ac_exeext
11932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11933 (eval $ac_link) 2>&5
11934 ac_status=$?
11935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936 (exit $ac_status); } &&
11937 { ac_try='test -s conftest$ac_exeext'
11938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11939 (eval $ac_try) 2>&5
11940 ac_status=$?
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); }; }; then
11943 ac_cv_lib_cExt_drand48=yes
11944 else
11945 echo "$as_me: failed program was:" >&5
11946 sed 's/^/| /' conftest.$ac_ext >&5
11947
11948 ac_cv_lib_cExt_drand48=no
11949 fi
11950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11951 LIBS=$ac_check_lib_save_LIBS
11952 fi
11953 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11954 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11955 if test $ac_cv_lib_cExt_drand48 = yes; then
11956 LIBS="$LIBS -lcExt"
11957 fi
11958
11959 else
11960 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11961 fi
11962 ;;
11963 esac
11964
11965
11966 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11967 echo "$as_me:$LINENO: checking for strings.h" >&5
11968 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11969 if test "${ac_cv_header_strings_h+set}" = set; then
11970 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 else
11972 ac_cv_header_strings_h=no
11973 fi
11974 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11975 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11976 if test "$ac_cv_header_strings_h" = "no"; then
11977 echo "$as_me:$LINENO: result: forced no into cache" >&5
11978 echo "${ECHO_T}forced no into cache" >&6
11979 else
11980 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11981 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11982 fi
11983 fi
11984 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11985 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11986 if test "${ac_cv_header_stdc+set}" = set; then
11987 echo $ECHO_N "(cached) $ECHO_C" >&6
11988 else
11989 cat >conftest.$ac_ext <<_ACEOF
11990 #line $LINENO "configure"
11991 /* confdefs.h. */
11992 _ACEOF
11993 cat confdefs.h >>conftest.$ac_ext
11994 cat >>conftest.$ac_ext <<_ACEOF
11995 /* end confdefs.h. */
11996 #include <stdlib.h>
11997 #include <stdarg.h>
11998 #include <string.h>
11999 #include <float.h>
12000
12001 int
12002 main ()
12003 {
12004
12005 ;
12006 return 0;
12007 }
12008 _ACEOF
12009 rm -f conftest.$ac_objext
12010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12011 (eval $ac_compile) 2>&5
12012 ac_status=$?
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); } &&
12015 { ac_try='test -s conftest.$ac_objext'
12016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12017 (eval $ac_try) 2>&5
12018 ac_status=$?
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); }; }; then
12021 ac_cv_header_stdc=yes
12022 else
12023 echo "$as_me: failed program was:" >&5
12024 sed 's/^/| /' conftest.$ac_ext >&5
12025
12026 ac_cv_header_stdc=no
12027 fi
12028 rm -f conftest.$ac_objext conftest.$ac_ext
12029
12030 if test $ac_cv_header_stdc = yes; then
12031 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12032 cat >conftest.$ac_ext <<_ACEOF
12033 #line $LINENO "configure"
12034 /* confdefs.h. */
12035 _ACEOF
12036 cat confdefs.h >>conftest.$ac_ext
12037 cat >>conftest.$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12039 #include <string.h>
12040
12041 _ACEOF
12042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12043 $EGREP "memchr" >/dev/null 2>&1; then
12044 :
12045 else
12046 ac_cv_header_stdc=no
12047 fi
12048 rm -f conftest*
12049
12050 fi
12051
12052 if test $ac_cv_header_stdc = yes; then
12053 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12054 cat >conftest.$ac_ext <<_ACEOF
12055 #line $LINENO "configure"
12056 /* confdefs.h. */
12057 _ACEOF
12058 cat confdefs.h >>conftest.$ac_ext
12059 cat >>conftest.$ac_ext <<_ACEOF
12060 /* end confdefs.h. */
12061 #include <stdlib.h>
12062
12063 _ACEOF
12064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12065 $EGREP "free" >/dev/null 2>&1; then
12066 :
12067 else
12068 ac_cv_header_stdc=no
12069 fi
12070 rm -f conftest*
12071
12072 fi
12073
12074 if test $ac_cv_header_stdc = yes; then
12075 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12076 if test "$cross_compiling" = yes; then
12077 :
12078 else
12079 cat >conftest.$ac_ext <<_ACEOF
12080 #line $LINENO "configure"
12081 /* confdefs.h. */
12082 _ACEOF
12083 cat confdefs.h >>conftest.$ac_ext
12084 cat >>conftest.$ac_ext <<_ACEOF
12085 /* end confdefs.h. */
12086 #include <ctype.h>
12087 #if ((' ' & 0x0FF) == 0x020)
12088 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12089 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12090 #else
12091 # define ISLOWER(c) \
12092 (('a' <= (c) && (c) <= 'i') \
12093 || ('j' <= (c) && (c) <= 'r') \
12094 || ('s' <= (c) && (c) <= 'z'))
12095 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12096 #endif
12097
12098 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12099 int
12100 main ()
12101 {
12102 int i;
12103 for (i = 0; i < 256; i++)
12104 if (XOR (islower (i), ISLOWER (i))
12105 || toupper (i) != TOUPPER (i))
12106 exit(2);
12107 exit (0);
12108 }
12109 _ACEOF
12110 rm -f conftest$ac_exeext
12111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12112 (eval $ac_link) 2>&5
12113 ac_status=$?
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12117 (eval $ac_try) 2>&5
12118 ac_status=$?
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); }; }; then
12121 :
12122 else
12123 echo "$as_me: program exited with status $ac_status" >&5
12124 echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.$ac_ext >&5
12126
12127 ( exit $ac_status )
12128 ac_cv_header_stdc=no
12129 fi
12130 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12131 fi
12132 fi
12133 fi
12134 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12135 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12136 if test $ac_cv_header_stdc = yes; then
12137
12138 cat >>confdefs.h <<\_ACEOF
12139 #define STDC_HEADERS 1
12140 _ACEOF
12141
12142 fi
12143
12144 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12155 inttypes.h stdint.h unistd.h
12156 do
12157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12158 echo "$as_me:$LINENO: checking for $ac_header" >&5
12159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12161 echo $ECHO_N "(cached) $ECHO_C" >&6
12162 else
12163 cat >conftest.$ac_ext <<_ACEOF
12164 #line $LINENO "configure"
12165 /* confdefs.h. */
12166 _ACEOF
12167 cat confdefs.h >>conftest.$ac_ext
12168 cat >>conftest.$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12170 $ac_includes_default
12171
12172 #include <$ac_header>
12173 _ACEOF
12174 rm -f conftest.$ac_objext
12175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12176 (eval $ac_compile) 2>&5
12177 ac_status=$?
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } &&
12180 { ac_try='test -s conftest.$ac_objext'
12181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12182 (eval $ac_try) 2>&5
12183 ac_status=$?
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); }; }; then
12186 eval "$as_ac_Header=yes"
12187 else
12188 echo "$as_me: failed program was:" >&5
12189 sed 's/^/| /' conftest.$ac_ext >&5
12190
12191 eval "$as_ac_Header=no"
12192 fi
12193 rm -f conftest.$ac_objext conftest.$ac_ext
12194 fi
12195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12198 cat >>confdefs.h <<_ACEOF
12199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12200 _ACEOF
12201
12202 fi
12203
12204 done
12205
12206
12207
12208 for ac_header in strings.h
12209 do
12210 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12212 echo "$as_me:$LINENO: checking for $ac_header" >&5
12213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12215 echo $ECHO_N "(cached) $ECHO_C" >&6
12216 fi
12217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12219 else
12220 # Is the header compilable?
12221 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12223 cat >conftest.$ac_ext <<_ACEOF
12224 #line $LINENO "configure"
12225 /* confdefs.h. */
12226 _ACEOF
12227 cat confdefs.h >>conftest.$ac_ext
12228 cat >>conftest.$ac_ext <<_ACEOF
12229 /* end confdefs.h. */
12230 $ac_includes_default
12231 #include <$ac_header>
12232 _ACEOF
12233 rm -f conftest.$ac_objext
12234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12235 (eval $ac_compile) 2>&5
12236 ac_status=$?
12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12238 (exit $ac_status); } &&
12239 { ac_try='test -s conftest.$ac_objext'
12240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12241 (eval $ac_try) 2>&5
12242 ac_status=$?
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); }; }; then
12245 ac_header_compiler=yes
12246 else
12247 echo "$as_me: failed program was:" >&5
12248 sed 's/^/| /' conftest.$ac_ext >&5
12249
12250 ac_header_compiler=no
12251 fi
12252 rm -f conftest.$ac_objext conftest.$ac_ext
12253 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12254 echo "${ECHO_T}$ac_header_compiler" >&6
12255
12256 # Is the header present?
12257 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12258 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12259 cat >conftest.$ac_ext <<_ACEOF
12260 #line $LINENO "configure"
12261 /* confdefs.h. */
12262 _ACEOF
12263 cat confdefs.h >>conftest.$ac_ext
12264 cat >>conftest.$ac_ext <<_ACEOF
12265 /* end confdefs.h. */
12266 #include <$ac_header>
12267 _ACEOF
12268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12270 ac_status=$?
12271 grep -v '^ *+' conftest.er1 >conftest.err
12272 rm -f conftest.er1
12273 cat conftest.err >&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); } >/dev/null; then
12276 if test -s conftest.err; then
12277 ac_cpp_err=$ac_c_preproc_warn_flag
12278 else
12279 ac_cpp_err=
12280 fi
12281 else
12282 ac_cpp_err=yes
12283 fi
12284 if test -z "$ac_cpp_err"; then
12285 ac_header_preproc=yes
12286 else
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.$ac_ext >&5
12289
12290 ac_header_preproc=no
12291 fi
12292 rm -f conftest.err conftest.$ac_ext
12293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12294 echo "${ECHO_T}$ac_header_preproc" >&6
12295
12296 # So? What about this header?
12297 case $ac_header_compiler:$ac_header_preproc in
12298 yes:no )
12299 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12300 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12302 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12303 (
12304 cat <<\_ASBOX
12305 ## ------------------------------------ ##
12306 ## Report this to bug-autoconf@gnu.org. ##
12307 ## ------------------------------------ ##
12308 _ASBOX
12309 ) |
12310 sed "s/^/$as_me: WARNING: /" >&2
12311 ;;
12312 no:yes )
12313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12319 (
12320 cat <<\_ASBOX
12321 ## ------------------------------------ ##
12322 ## Report this to bug-autoconf@gnu.org. ##
12323 ## ------------------------------------ ##
12324 _ASBOX
12325 ) |
12326 sed "s/^/$as_me: WARNING: /" >&2
12327 ;;
12328 esac
12329 echo "$as_me:$LINENO: checking for $ac_header" >&5
12330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12332 echo $ECHO_N "(cached) $ECHO_C" >&6
12333 else
12334 eval "$as_ac_Header=$ac_header_preproc"
12335 fi
12336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12338
12339 fi
12340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12341 cat >>confdefs.h <<_ACEOF
12342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12343 _ACEOF
12344
12345 fi
12346
12347 done
12348
12349
12350
12351 for ac_header in stdlib.h
12352 do
12353 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12355 echo "$as_me:$LINENO: checking for $ac_header" >&5
12356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12358 echo $ECHO_N "(cached) $ECHO_C" >&6
12359 fi
12360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12362 else
12363 # Is the header compilable?
12364 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12366 cat >conftest.$ac_ext <<_ACEOF
12367 #line $LINENO "configure"
12368 /* confdefs.h. */
12369 _ACEOF
12370 cat confdefs.h >>conftest.$ac_ext
12371 cat >>conftest.$ac_ext <<_ACEOF
12372 /* end confdefs.h. */
12373 $ac_includes_default
12374 #include <$ac_header>
12375 _ACEOF
12376 rm -f conftest.$ac_objext
12377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12378 (eval $ac_compile) 2>&5
12379 ac_status=$?
12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381 (exit $ac_status); } &&
12382 { ac_try='test -s conftest.$ac_objext'
12383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12384 (eval $ac_try) 2>&5
12385 ac_status=$?
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); }; }; then
12388 ac_header_compiler=yes
12389 else
12390 echo "$as_me: failed program was:" >&5
12391 sed 's/^/| /' conftest.$ac_ext >&5
12392
12393 ac_header_compiler=no
12394 fi
12395 rm -f conftest.$ac_objext conftest.$ac_ext
12396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12397 echo "${ECHO_T}$ac_header_compiler" >&6
12398
12399 # Is the header present?
12400 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12402 cat >conftest.$ac_ext <<_ACEOF
12403 #line $LINENO "configure"
12404 /* confdefs.h. */
12405 _ACEOF
12406 cat confdefs.h >>conftest.$ac_ext
12407 cat >>conftest.$ac_ext <<_ACEOF
12408 /* end confdefs.h. */
12409 #include <$ac_header>
12410 _ACEOF
12411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12413 ac_status=$?
12414 grep -v '^ *+' conftest.er1 >conftest.err
12415 rm -f conftest.er1
12416 cat conftest.err >&5
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); } >/dev/null; then
12419 if test -s conftest.err; then
12420 ac_cpp_err=$ac_c_preproc_warn_flag
12421 else
12422 ac_cpp_err=
12423 fi
12424 else
12425 ac_cpp_err=yes
12426 fi
12427 if test -z "$ac_cpp_err"; then
12428 ac_header_preproc=yes
12429 else
12430 echo "$as_me: failed program was:" >&5
12431 sed 's/^/| /' conftest.$ac_ext >&5
12432
12433 ac_header_preproc=no
12434 fi
12435 rm -f conftest.err conftest.$ac_ext
12436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12437 echo "${ECHO_T}$ac_header_preproc" >&6
12438
12439 # So? What about this header?
12440 case $ac_header_compiler:$ac_header_preproc in
12441 yes:no )
12442 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12443 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12446 (
12447 cat <<\_ASBOX
12448 ## ------------------------------------ ##
12449 ## Report this to bug-autoconf@gnu.org. ##
12450 ## ------------------------------------ ##
12451 _ASBOX
12452 ) |
12453 sed "s/^/$as_me: WARNING: /" >&2
12454 ;;
12455 no:yes )
12456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12461 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12462 (
12463 cat <<\_ASBOX
12464 ## ------------------------------------ ##
12465 ## Report this to bug-autoconf@gnu.org. ##
12466 ## ------------------------------------ ##
12467 _ASBOX
12468 ) |
12469 sed "s/^/$as_me: WARNING: /" >&2
12470 ;;
12471 esac
12472 echo "$as_me:$LINENO: checking for $ac_header" >&5
12473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12475 echo $ECHO_N "(cached) $ECHO_C" >&6
12476 else
12477 eval "$as_ac_Header=$ac_header_preproc"
12478 fi
12479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12481
12482 fi
12483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12484 cat >>confdefs.h <<_ACEOF
12485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12486 _ACEOF
12487
12488 fi
12489
12490 done
12491
12492
12493 for ac_header in malloc.h
12494 do
12495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12497 echo "$as_me:$LINENO: checking for $ac_header" >&5
12498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12500 echo $ECHO_N "(cached) $ECHO_C" >&6
12501 fi
12502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12504 else
12505 # Is the header compilable?
12506 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12508 cat >conftest.$ac_ext <<_ACEOF
12509 #line $LINENO "configure"
12510 /* confdefs.h. */
12511 _ACEOF
12512 cat confdefs.h >>conftest.$ac_ext
12513 cat >>conftest.$ac_ext <<_ACEOF
12514 /* end confdefs.h. */
12515 $ac_includes_default
12516 #include <$ac_header>
12517 _ACEOF
12518 rm -f conftest.$ac_objext
12519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12520 (eval $ac_compile) 2>&5
12521 ac_status=$?
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } &&
12524 { ac_try='test -s conftest.$ac_objext'
12525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526 (eval $ac_try) 2>&5
12527 ac_status=$?
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); }; }; then
12530 ac_header_compiler=yes
12531 else
12532 echo "$as_me: failed program was:" >&5
12533 sed 's/^/| /' conftest.$ac_ext >&5
12534
12535 ac_header_compiler=no
12536 fi
12537 rm -f conftest.$ac_objext conftest.$ac_ext
12538 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12539 echo "${ECHO_T}$ac_header_compiler" >&6
12540
12541 # Is the header present?
12542 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12543 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12544 cat >conftest.$ac_ext <<_ACEOF
12545 #line $LINENO "configure"
12546 /* confdefs.h. */
12547 _ACEOF
12548 cat confdefs.h >>conftest.$ac_ext
12549 cat >>conftest.$ac_ext <<_ACEOF
12550 /* end confdefs.h. */
12551 #include <$ac_header>
12552 _ACEOF
12553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12555 ac_status=$?
12556 grep -v '^ *+' conftest.er1 >conftest.err
12557 rm -f conftest.er1
12558 cat conftest.err >&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); } >/dev/null; then
12561 if test -s conftest.err; then
12562 ac_cpp_err=$ac_c_preproc_warn_flag
12563 else
12564 ac_cpp_err=
12565 fi
12566 else
12567 ac_cpp_err=yes
12568 fi
12569 if test -z "$ac_cpp_err"; then
12570 ac_header_preproc=yes
12571 else
12572 echo "$as_me: failed program was:" >&5
12573 sed 's/^/| /' conftest.$ac_ext >&5
12574
12575 ac_header_preproc=no
12576 fi
12577 rm -f conftest.err conftest.$ac_ext
12578 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12579 echo "${ECHO_T}$ac_header_preproc" >&6
12580
12581 # So? What about this header?
12582 case $ac_header_compiler:$ac_header_preproc in
12583 yes:no )
12584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12588 (
12589 cat <<\_ASBOX
12590 ## ------------------------------------ ##
12591 ## Report this to bug-autoconf@gnu.org. ##
12592 ## ------------------------------------ ##
12593 _ASBOX
12594 ) |
12595 sed "s/^/$as_me: WARNING: /" >&2
12596 ;;
12597 no:yes )
12598 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12599 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12600 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12601 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12604 (
12605 cat <<\_ASBOX
12606 ## ------------------------------------ ##
12607 ## Report this to bug-autoconf@gnu.org. ##
12608 ## ------------------------------------ ##
12609 _ASBOX
12610 ) |
12611 sed "s/^/$as_me: WARNING: /" >&2
12612 ;;
12613 esac
12614 echo "$as_me:$LINENO: checking for $ac_header" >&5
12615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12618 else
12619 eval "$as_ac_Header=$ac_header_preproc"
12620 fi
12621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12623
12624 fi
12625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12626 cat >>confdefs.h <<_ACEOF
12627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12628 _ACEOF
12629
12630 fi
12631
12632 done
12633
12634
12635 for ac_header in unistd.h
12636 do
12637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12639 echo "$as_me:$LINENO: checking for $ac_header" >&5
12640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12642 echo $ECHO_N "(cached) $ECHO_C" >&6
12643 fi
12644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12646 else
12647 # Is the header compilable?
12648 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12649 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12650 cat >conftest.$ac_ext <<_ACEOF
12651 #line $LINENO "configure"
12652 /* confdefs.h. */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12657 $ac_includes_default
12658 #include <$ac_header>
12659 _ACEOF
12660 rm -f conftest.$ac_objext
12661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12662 (eval $ac_compile) 2>&5
12663 ac_status=$?
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); } &&
12666 { ac_try='test -s conftest.$ac_objext'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12669 ac_status=$?
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; }; then
12672 ac_header_compiler=yes
12673 else
12674 echo "$as_me: failed program was:" >&5
12675 sed 's/^/| /' conftest.$ac_ext >&5
12676
12677 ac_header_compiler=no
12678 fi
12679 rm -f conftest.$ac_objext conftest.$ac_ext
12680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12681 echo "${ECHO_T}$ac_header_compiler" >&6
12682
12683 # Is the header present?
12684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12686 cat >conftest.$ac_ext <<_ACEOF
12687 #line $LINENO "configure"
12688 /* confdefs.h. */
12689 _ACEOF
12690 cat confdefs.h >>conftest.$ac_ext
12691 cat >>conftest.$ac_ext <<_ACEOF
12692 /* end confdefs.h. */
12693 #include <$ac_header>
12694 _ACEOF
12695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12697 ac_status=$?
12698 grep -v '^ *+' conftest.er1 >conftest.err
12699 rm -f conftest.er1
12700 cat conftest.err >&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); } >/dev/null; then
12703 if test -s conftest.err; then
12704 ac_cpp_err=$ac_c_preproc_warn_flag
12705 else
12706 ac_cpp_err=
12707 fi
12708 else
12709 ac_cpp_err=yes
12710 fi
12711 if test -z "$ac_cpp_err"; then
12712 ac_header_preproc=yes
12713 else
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.$ac_ext >&5
12716
12717 ac_header_preproc=no
12718 fi
12719 rm -f conftest.err conftest.$ac_ext
12720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12721 echo "${ECHO_T}$ac_header_preproc" >&6
12722
12723 # So? What about this header?
12724 case $ac_header_compiler:$ac_header_preproc in
12725 yes:no )
12726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12730 (
12731 cat <<\_ASBOX
12732 ## ------------------------------------ ##
12733 ## Report this to bug-autoconf@gnu.org. ##
12734 ## ------------------------------------ ##
12735 _ASBOX
12736 ) |
12737 sed "s/^/$as_me: WARNING: /" >&2
12738 ;;
12739 no:yes )
12740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12746 (
12747 cat <<\_ASBOX
12748 ## ------------------------------------ ##
12749 ## Report this to bug-autoconf@gnu.org. ##
12750 ## ------------------------------------ ##
12751 _ASBOX
12752 ) |
12753 sed "s/^/$as_me: WARNING: /" >&2
12754 ;;
12755 esac
12756 echo "$as_me:$LINENO: checking for $ac_header" >&5
12757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12759 echo $ECHO_N "(cached) $ECHO_C" >&6
12760 else
12761 eval "$as_ac_Header=$ac_header_preproc"
12762 fi
12763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12765
12766 fi
12767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12768 cat >>confdefs.h <<_ACEOF
12769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12770 _ACEOF
12771
12772 fi
12773
12774 done
12775
12776
12777 for ac_header in wchar.h
12778 do
12779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12781 echo "$as_me:$LINENO: checking for $ac_header" >&5
12782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12784 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 fi
12786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12788 else
12789 # Is the header compilable?
12790 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12792 cat >conftest.$ac_ext <<_ACEOF
12793 #line $LINENO "configure"
12794 /* confdefs.h. */
12795 _ACEOF
12796 cat confdefs.h >>conftest.$ac_ext
12797 cat >>conftest.$ac_ext <<_ACEOF
12798 /* end confdefs.h. */
12799 $ac_includes_default
12800 #include <$ac_header>
12801 _ACEOF
12802 rm -f conftest.$ac_objext
12803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12804 (eval $ac_compile) 2>&5
12805 ac_status=$?
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try='test -s conftest.$ac_objext'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12811 ac_status=$?
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; }; then
12814 ac_header_compiler=yes
12815 else
12816 echo "$as_me: failed program was:" >&5
12817 sed 's/^/| /' conftest.$ac_ext >&5
12818
12819 ac_header_compiler=no
12820 fi
12821 rm -f conftest.$ac_objext conftest.$ac_ext
12822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12823 echo "${ECHO_T}$ac_header_compiler" >&6
12824
12825 # Is the header present?
12826 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12827 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12828 cat >conftest.$ac_ext <<_ACEOF
12829 #line $LINENO "configure"
12830 /* confdefs.h. */
12831 _ACEOF
12832 cat confdefs.h >>conftest.$ac_ext
12833 cat >>conftest.$ac_ext <<_ACEOF
12834 /* end confdefs.h. */
12835 #include <$ac_header>
12836 _ACEOF
12837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12838 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12839 ac_status=$?
12840 grep -v '^ *+' conftest.er1 >conftest.err
12841 rm -f conftest.er1
12842 cat conftest.err >&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } >/dev/null; then
12845 if test -s conftest.err; then
12846 ac_cpp_err=$ac_c_preproc_warn_flag
12847 else
12848 ac_cpp_err=
12849 fi
12850 else
12851 ac_cpp_err=yes
12852 fi
12853 if test -z "$ac_cpp_err"; then
12854 ac_header_preproc=yes
12855 else
12856 echo "$as_me: failed program was:" >&5
12857 sed 's/^/| /' conftest.$ac_ext >&5
12858
12859 ac_header_preproc=no
12860 fi
12861 rm -f conftest.err conftest.$ac_ext
12862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12863 echo "${ECHO_T}$ac_header_preproc" >&6
12864
12865 # So? What about this header?
12866 case $ac_header_compiler:$ac_header_preproc in
12867 yes:no )
12868 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12869 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12872 (
12873 cat <<\_ASBOX
12874 ## ------------------------------------ ##
12875 ## Report this to bug-autoconf@gnu.org. ##
12876 ## ------------------------------------ ##
12877 _ASBOX
12878 ) |
12879 sed "s/^/$as_me: WARNING: /" >&2
12880 ;;
12881 no:yes )
12882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12888 (
12889 cat <<\_ASBOX
12890 ## ------------------------------------ ##
12891 ## Report this to bug-autoconf@gnu.org. ##
12892 ## ------------------------------------ ##
12893 _ASBOX
12894 ) |
12895 sed "s/^/$as_me: WARNING: /" >&2
12896 ;;
12897 esac
12898 echo "$as_me:$LINENO: checking for $ac_header" >&5
12899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12901 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 else
12903 eval "$as_ac_Header=$ac_header_preproc"
12904 fi
12905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12907
12908 fi
12909 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12910 cat >>confdefs.h <<_ACEOF
12911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12912 _ACEOF
12913
12914 fi
12915
12916 done
12917
12918
12919 if test "$ac_cv_header_wchar_h" != "yes"; then
12920
12921 for ac_header in wcstr.h
12922 do
12923 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12925 echo "$as_me:$LINENO: checking for $ac_header" >&5
12926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12928 echo $ECHO_N "(cached) $ECHO_C" >&6
12929 fi
12930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12932 else
12933 # Is the header compilable?
12934 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12935 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12936 cat >conftest.$ac_ext <<_ACEOF
12937 #line $LINENO "configure"
12938 /* confdefs.h. */
12939 _ACEOF
12940 cat confdefs.h >>conftest.$ac_ext
12941 cat >>conftest.$ac_ext <<_ACEOF
12942 /* end confdefs.h. */
12943 $ac_includes_default
12944 #include <$ac_header>
12945 _ACEOF
12946 rm -f conftest.$ac_objext
12947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12948 (eval $ac_compile) 2>&5
12949 ac_status=$?
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); } &&
12952 { ac_try='test -s conftest.$ac_objext'
12953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12954 (eval $ac_try) 2>&5
12955 ac_status=$?
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); }; }; then
12958 ac_header_compiler=yes
12959 else
12960 echo "$as_me: failed program was:" >&5
12961 sed 's/^/| /' conftest.$ac_ext >&5
12962
12963 ac_header_compiler=no
12964 fi
12965 rm -f conftest.$ac_objext conftest.$ac_ext
12966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12967 echo "${ECHO_T}$ac_header_compiler" >&6
12968
12969 # Is the header present?
12970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12972 cat >conftest.$ac_ext <<_ACEOF
12973 #line $LINENO "configure"
12974 /* confdefs.h. */
12975 _ACEOF
12976 cat confdefs.h >>conftest.$ac_ext
12977 cat >>conftest.$ac_ext <<_ACEOF
12978 /* end confdefs.h. */
12979 #include <$ac_header>
12980 _ACEOF
12981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12982 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12983 ac_status=$?
12984 grep -v '^ *+' conftest.er1 >conftest.err
12985 rm -f conftest.er1
12986 cat conftest.err >&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } >/dev/null; then
12989 if test -s conftest.err; then
12990 ac_cpp_err=$ac_c_preproc_warn_flag
12991 else
12992 ac_cpp_err=
12993 fi
12994 else
12995 ac_cpp_err=yes
12996 fi
12997 if test -z "$ac_cpp_err"; then
12998 ac_header_preproc=yes
12999 else
13000 echo "$as_me: failed program was:" >&5
13001 sed 's/^/| /' conftest.$ac_ext >&5
13002
13003 ac_header_preproc=no
13004 fi
13005 rm -f conftest.err conftest.$ac_ext
13006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13007 echo "${ECHO_T}$ac_header_preproc" >&6
13008
13009 # So? What about this header?
13010 case $ac_header_compiler:$ac_header_preproc in
13011 yes:no )
13012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13016 (
13017 cat <<\_ASBOX
13018 ## ------------------------------------ ##
13019 ## Report this to bug-autoconf@gnu.org. ##
13020 ## ------------------------------------ ##
13021 _ASBOX
13022 ) |
13023 sed "s/^/$as_me: WARNING: /" >&2
13024 ;;
13025 no:yes )
13026 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13028 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13029 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13032 (
13033 cat <<\_ASBOX
13034 ## ------------------------------------ ##
13035 ## Report this to bug-autoconf@gnu.org. ##
13036 ## ------------------------------------ ##
13037 _ASBOX
13038 ) |
13039 sed "s/^/$as_me: WARNING: /" >&2
13040 ;;
13041 esac
13042 echo "$as_me:$LINENO: checking for $ac_header" >&5
13043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13045 echo $ECHO_N "(cached) $ECHO_C" >&6
13046 else
13047 eval "$as_ac_Header=$ac_header_preproc"
13048 fi
13049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13051
13052 fi
13053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13054 cat >>confdefs.h <<_ACEOF
13055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13056 _ACEOF
13057
13058 fi
13059
13060 done
13061
13062 fi
13063
13064
13065 for ac_header in fnmatch.h
13066 do
13067 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13069 echo "$as_me:$LINENO: checking for $ac_header" >&5
13070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 fi
13074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13076 else
13077 # Is the header compilable?
13078 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13079 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13080 cat >conftest.$ac_ext <<_ACEOF
13081 #line $LINENO "configure"
13082 /* confdefs.h. */
13083 _ACEOF
13084 cat confdefs.h >>conftest.$ac_ext
13085 cat >>conftest.$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13087 $ac_includes_default
13088 #include <$ac_header>
13089 _ACEOF
13090 rm -f conftest.$ac_objext
13091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13092 (eval $ac_compile) 2>&5
13093 ac_status=$?
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); } &&
13096 { ac_try='test -s conftest.$ac_objext'
13097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13098 (eval $ac_try) 2>&5
13099 ac_status=$?
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); }; }; then
13102 ac_header_compiler=yes
13103 else
13104 echo "$as_me: failed program was:" >&5
13105 sed 's/^/| /' conftest.$ac_ext >&5
13106
13107 ac_header_compiler=no
13108 fi
13109 rm -f conftest.$ac_objext conftest.$ac_ext
13110 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13111 echo "${ECHO_T}$ac_header_compiler" >&6
13112
13113 # Is the header present?
13114 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13115 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13116 cat >conftest.$ac_ext <<_ACEOF
13117 #line $LINENO "configure"
13118 /* confdefs.h. */
13119 _ACEOF
13120 cat confdefs.h >>conftest.$ac_ext
13121 cat >>conftest.$ac_ext <<_ACEOF
13122 /* end confdefs.h. */
13123 #include <$ac_header>
13124 _ACEOF
13125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13127 ac_status=$?
13128 grep -v '^ *+' conftest.er1 >conftest.err
13129 rm -f conftest.er1
13130 cat conftest.err >&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); } >/dev/null; then
13133 if test -s conftest.err; then
13134 ac_cpp_err=$ac_c_preproc_warn_flag
13135 else
13136 ac_cpp_err=
13137 fi
13138 else
13139 ac_cpp_err=yes
13140 fi
13141 if test -z "$ac_cpp_err"; then
13142 ac_header_preproc=yes
13143 else
13144 echo "$as_me: failed program was:" >&5
13145 sed 's/^/| /' conftest.$ac_ext >&5
13146
13147 ac_header_preproc=no
13148 fi
13149 rm -f conftest.err conftest.$ac_ext
13150 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13151 echo "${ECHO_T}$ac_header_preproc" >&6
13152
13153 # So? What about this header?
13154 case $ac_header_compiler:$ac_header_preproc in
13155 yes:no )
13156 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13157 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13159 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13160 (
13161 cat <<\_ASBOX
13162 ## ------------------------------------ ##
13163 ## Report this to bug-autoconf@gnu.org. ##
13164 ## ------------------------------------ ##
13165 _ASBOX
13166 ) |
13167 sed "s/^/$as_me: WARNING: /" >&2
13168 ;;
13169 no:yes )
13170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13176 (
13177 cat <<\_ASBOX
13178 ## ------------------------------------ ##
13179 ## Report this to bug-autoconf@gnu.org. ##
13180 ## ------------------------------------ ##
13181 _ASBOX
13182 ) |
13183 sed "s/^/$as_me: WARNING: /" >&2
13184 ;;
13185 esac
13186 echo "$as_me:$LINENO: checking for $ac_header" >&5
13187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13189 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 else
13191 eval "$as_ac_Header=$ac_header_preproc"
13192 fi
13193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13195
13196 fi
13197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13198 cat >>confdefs.h <<_ACEOF
13199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13200 _ACEOF
13201
13202 fi
13203
13204 done
13205
13206
13207 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13208
13209 for ac_func in fnmatch
13210 do
13211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13212 echo "$as_me:$LINENO: checking for $ac_func" >&5
13213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13214 if eval "test \"\${$as_ac_var+set}\" = set"; then
13215 echo $ECHO_N "(cached) $ECHO_C" >&6
13216 else
13217 cat >conftest.$ac_ext <<_ACEOF
13218 #line $LINENO "configure"
13219 /* confdefs.h. */
13220 _ACEOF
13221 cat confdefs.h >>conftest.$ac_ext
13222 cat >>conftest.$ac_ext <<_ACEOF
13223 /* end confdefs.h. */
13224 /* System header to define __stub macros and hopefully few prototypes,
13225 which can conflict with char $ac_func (); below.
13226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13227 <limits.h> exists even on freestanding compilers. */
13228 #ifdef __STDC__
13229 # include <limits.h>
13230 #else
13231 # include <assert.h>
13232 #endif
13233 /* Override any gcc2 internal prototype to avoid an error. */
13234 #ifdef __cplusplus
13235 extern "C"
13236 {
13237 #endif
13238 /* We use char because int might match the return type of a gcc2
13239 builtin and then its argument prototype would still apply. */
13240 char $ac_func ();
13241 /* The GNU C library defines this for functions which it implements
13242 to always fail with ENOSYS. Some functions are actually named
13243 something starting with __ and the normal name is an alias. */
13244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13245 choke me
13246 #else
13247 char (*f) () = $ac_func;
13248 #endif
13249 #ifdef __cplusplus
13250 }
13251 #endif
13252
13253 int
13254 main ()
13255 {
13256 return f != $ac_func;
13257 ;
13258 return 0;
13259 }
13260 _ACEOF
13261 rm -f conftest.$ac_objext conftest$ac_exeext
13262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13263 (eval $ac_link) 2>&5
13264 ac_status=$?
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
13267 { ac_try='test -s conftest$ac_exeext'
13268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13269 (eval $ac_try) 2>&5
13270 ac_status=$?
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; }; then
13273 eval "$as_ac_var=yes"
13274 else
13275 echo "$as_me: failed program was:" >&5
13276 sed 's/^/| /' conftest.$ac_ext >&5
13277
13278 eval "$as_ac_var=no"
13279 fi
13280 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13281 fi
13282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13284 if test `eval echo '${'$as_ac_var'}'` = yes; then
13285 cat >>confdefs.h <<_ACEOF
13286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13287 _ACEOF
13288
13289 fi
13290 done
13291
13292 fi
13293
13294
13295 for ac_header in langinfo.h
13296 do
13297 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13299 echo "$as_me:$LINENO: checking for $ac_header" >&5
13300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13302 echo $ECHO_N "(cached) $ECHO_C" >&6
13303 fi
13304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13306 else
13307 # Is the header compilable?
13308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13310 cat >conftest.$ac_ext <<_ACEOF
13311 #line $LINENO "configure"
13312 /* confdefs.h. */
13313 _ACEOF
13314 cat confdefs.h >>conftest.$ac_ext
13315 cat >>conftest.$ac_ext <<_ACEOF
13316 /* end confdefs.h. */
13317 $ac_includes_default
13318 #include <$ac_header>
13319 _ACEOF
13320 rm -f conftest.$ac_objext
13321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13322 (eval $ac_compile) 2>&5
13323 ac_status=$?
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } &&
13326 { ac_try='test -s conftest.$ac_objext'
13327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13328 (eval $ac_try) 2>&5
13329 ac_status=$?
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); }; }; then
13332 ac_header_compiler=yes
13333 else
13334 echo "$as_me: failed program was:" >&5
13335 sed 's/^/| /' conftest.$ac_ext >&5
13336
13337 ac_header_compiler=no
13338 fi
13339 rm -f conftest.$ac_objext conftest.$ac_ext
13340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13341 echo "${ECHO_T}$ac_header_compiler" >&6
13342
13343 # Is the header present?
13344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13346 cat >conftest.$ac_ext <<_ACEOF
13347 #line $LINENO "configure"
13348 /* confdefs.h. */
13349 _ACEOF
13350 cat confdefs.h >>conftest.$ac_ext
13351 cat >>conftest.$ac_ext <<_ACEOF
13352 /* end confdefs.h. */
13353 #include <$ac_header>
13354 _ACEOF
13355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13357 ac_status=$?
13358 grep -v '^ *+' conftest.er1 >conftest.err
13359 rm -f conftest.er1
13360 cat conftest.err >&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); } >/dev/null; then
13363 if test -s conftest.err; then
13364 ac_cpp_err=$ac_c_preproc_warn_flag
13365 else
13366 ac_cpp_err=
13367 fi
13368 else
13369 ac_cpp_err=yes
13370 fi
13371 if test -z "$ac_cpp_err"; then
13372 ac_header_preproc=yes
13373 else
13374 echo "$as_me: failed program was:" >&5
13375 sed 's/^/| /' conftest.$ac_ext >&5
13376
13377 ac_header_preproc=no
13378 fi
13379 rm -f conftest.err conftest.$ac_ext
13380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13381 echo "${ECHO_T}$ac_header_preproc" >&6
13382
13383 # So? What about this header?
13384 case $ac_header_compiler:$ac_header_preproc in
13385 yes:no )
13386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13390 (
13391 cat <<\_ASBOX
13392 ## ------------------------------------ ##
13393 ## Report this to bug-autoconf@gnu.org. ##
13394 ## ------------------------------------ ##
13395 _ASBOX
13396 ) |
13397 sed "s/^/$as_me: WARNING: /" >&2
13398 ;;
13399 no:yes )
13400 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13401 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13402 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13403 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13406 (
13407 cat <<\_ASBOX
13408 ## ------------------------------------ ##
13409 ## Report this to bug-autoconf@gnu.org. ##
13410 ## ------------------------------------ ##
13411 _ASBOX
13412 ) |
13413 sed "s/^/$as_me: WARNING: /" >&2
13414 ;;
13415 esac
13416 echo "$as_me:$LINENO: checking for $ac_header" >&5
13417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13419 echo $ECHO_N "(cached) $ECHO_C" >&6
13420 else
13421 eval "$as_ac_Header=$ac_header_preproc"
13422 fi
13423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13425
13426 fi
13427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13428 cat >>confdefs.h <<_ACEOF
13429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13430 _ACEOF
13431
13432 fi
13433
13434 done
13435
13436
13437 case "${host}" in
13438 *-pc-os2_emx | *-pc-os2-emx )
13439 if test $ac_cv_header_langinfo_h = "yes"; then
13440 LIBS="$LIBS -lintl"
13441 fi
13442 ;;
13443 esac
13444
13445 if test "$wxUSE_GUI" = "yes"; then
13446 if test "$wxUSE_UNIX" = "yes"; then
13447
13448 for ac_header in X11/XKBlib.h
13449 do
13450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13452 echo "$as_me:$LINENO: checking for $ac_header" >&5
13453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6
13456 fi
13457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13459 else
13460 # Is the header compilable?
13461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13463 cat >conftest.$ac_ext <<_ACEOF
13464 #line $LINENO "configure"
13465 /* confdefs.h. */
13466 _ACEOF
13467 cat confdefs.h >>conftest.$ac_ext
13468 cat >>conftest.$ac_ext <<_ACEOF
13469 /* end confdefs.h. */
13470 $ac_includes_default
13471 #include <$ac_header>
13472 _ACEOF
13473 rm -f conftest.$ac_objext
13474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13475 (eval $ac_compile) 2>&5
13476 ac_status=$?
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); } &&
13479 { ac_try='test -s conftest.$ac_objext'
13480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13481 (eval $ac_try) 2>&5
13482 ac_status=$?
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); }; }; then
13485 ac_header_compiler=yes
13486 else
13487 echo "$as_me: failed program was:" >&5
13488 sed 's/^/| /' conftest.$ac_ext >&5
13489
13490 ac_header_compiler=no
13491 fi
13492 rm -f conftest.$ac_objext conftest.$ac_ext
13493 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13494 echo "${ECHO_T}$ac_header_compiler" >&6
13495
13496 # Is the header present?
13497 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13498 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13499 cat >conftest.$ac_ext <<_ACEOF
13500 #line $LINENO "configure"
13501 /* confdefs.h. */
13502 _ACEOF
13503 cat confdefs.h >>conftest.$ac_ext
13504 cat >>conftest.$ac_ext <<_ACEOF
13505 /* end confdefs.h. */
13506 #include <$ac_header>
13507 _ACEOF
13508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13510 ac_status=$?
13511 grep -v '^ *+' conftest.er1 >conftest.err
13512 rm -f conftest.er1
13513 cat conftest.err >&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); } >/dev/null; then
13516 if test -s conftest.err; then
13517 ac_cpp_err=$ac_c_preproc_warn_flag
13518 else
13519 ac_cpp_err=
13520 fi
13521 else
13522 ac_cpp_err=yes
13523 fi
13524 if test -z "$ac_cpp_err"; then
13525 ac_header_preproc=yes
13526 else
13527 echo "$as_me: failed program was:" >&5
13528 sed 's/^/| /' conftest.$ac_ext >&5
13529
13530 ac_header_preproc=no
13531 fi
13532 rm -f conftest.err conftest.$ac_ext
13533 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13534 echo "${ECHO_T}$ac_header_preproc" >&6
13535
13536 # So? What about this header?
13537 case $ac_header_compiler:$ac_header_preproc in
13538 yes:no )
13539 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13540 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13543 (
13544 cat <<\_ASBOX
13545 ## ------------------------------------ ##
13546 ## Report this to bug-autoconf@gnu.org. ##
13547 ## ------------------------------------ ##
13548 _ASBOX
13549 ) |
13550 sed "s/^/$as_me: WARNING: /" >&2
13551 ;;
13552 no:yes )
13553 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13554 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13555 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13556 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13559 (
13560 cat <<\_ASBOX
13561 ## ------------------------------------ ##
13562 ## Report this to bug-autoconf@gnu.org. ##
13563 ## ------------------------------------ ##
13564 _ASBOX
13565 ) |
13566 sed "s/^/$as_me: WARNING: /" >&2
13567 ;;
13568 esac
13569 echo "$as_me:$LINENO: checking for $ac_header" >&5
13570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13572 echo $ECHO_N "(cached) $ECHO_C" >&6
13573 else
13574 eval "$as_ac_Header=$ac_header_preproc"
13575 fi
13576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13578
13579 fi
13580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13581 cat >>confdefs.h <<_ACEOF
13582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13583 _ACEOF
13584
13585 fi
13586
13587 done
13588
13589 fi
13590 fi
13591
13592
13593 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13594 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13595 if test "${ac_cv_c_const+set}" = set; then
13596 echo $ECHO_N "(cached) $ECHO_C" >&6
13597 else
13598 cat >conftest.$ac_ext <<_ACEOF
13599 #line $LINENO "configure"
13600 /* confdefs.h. */
13601 _ACEOF
13602 cat confdefs.h >>conftest.$ac_ext
13603 cat >>conftest.$ac_ext <<_ACEOF
13604 /* end confdefs.h. */
13605
13606 int
13607 main ()
13608 {
13609 /* FIXME: Include the comments suggested by Paul. */
13610 #ifndef __cplusplus
13611 /* Ultrix mips cc rejects this. */
13612 typedef int charset[2];
13613 const charset x;
13614 /* SunOS 4.1.1 cc rejects this. */
13615 char const *const *ccp;
13616 char **p;
13617 /* NEC SVR4.0.2 mips cc rejects this. */
13618 struct point {int x, y;};
13619 static struct point const zero = {0,0};
13620 /* AIX XL C 1.02.0.0 rejects this.
13621 It does not let you subtract one const X* pointer from another in
13622 an arm of an if-expression whose if-part is not a constant
13623 expression */
13624 const char *g = "string";
13625 ccp = &g + (g ? g-g : 0);
13626 /* HPUX 7.0 cc rejects these. */
13627 ++ccp;
13628 p = (char**) ccp;
13629 ccp = (char const *const *) p;
13630 { /* SCO 3.2v4 cc rejects this. */
13631 char *t;
13632 char const *s = 0 ? (char *) 0 : (char const *) 0;
13633
13634 *t++ = 0;
13635 }
13636 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13637 int x[] = {25, 17};
13638 const int *foo = &x[0];
13639 ++foo;
13640 }
13641 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13642 typedef const int *iptr;
13643 iptr p = 0;
13644 ++p;
13645 }
13646 { /* AIX XL C 1.02.0.0 rejects this saying
13647 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13648 struct s { int j; const int *ap[3]; };
13649 struct s *b; b->j = 5;
13650 }
13651 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13652 const int foo = 10;
13653 }
13654 #endif
13655
13656 ;
13657 return 0;
13658 }
13659 _ACEOF
13660 rm -f conftest.$ac_objext
13661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13662 (eval $ac_compile) 2>&5
13663 ac_status=$?
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); } &&
13666 { ac_try='test -s conftest.$ac_objext'
13667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13668 (eval $ac_try) 2>&5
13669 ac_status=$?
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); }; }; then
13672 ac_cv_c_const=yes
13673 else
13674 echo "$as_me: failed program was:" >&5
13675 sed 's/^/| /' conftest.$ac_ext >&5
13676
13677 ac_cv_c_const=no
13678 fi
13679 rm -f conftest.$ac_objext conftest.$ac_ext
13680 fi
13681 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13682 echo "${ECHO_T}$ac_cv_c_const" >&6
13683 if test $ac_cv_c_const = no; then
13684
13685 cat >>confdefs.h <<\_ACEOF
13686 #define const
13687 _ACEOF
13688
13689 fi
13690
13691 echo "$as_me:$LINENO: checking for inline" >&5
13692 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13693 if test "${ac_cv_c_inline+set}" = set; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13695 else
13696 ac_cv_c_inline=no
13697 for ac_kw in inline __inline__ __inline; do
13698 cat >conftest.$ac_ext <<_ACEOF
13699 #line $LINENO "configure"
13700 /* confdefs.h. */
13701 _ACEOF
13702 cat confdefs.h >>conftest.$ac_ext
13703 cat >>conftest.$ac_ext <<_ACEOF
13704 /* end confdefs.h. */
13705 #ifndef __cplusplus
13706 typedef int foo_t;
13707 static $ac_kw foo_t static_foo () {return 0; }
13708 $ac_kw foo_t foo () {return 0; }
13709 #endif
13710
13711 _ACEOF
13712 rm -f conftest.$ac_objext
13713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13714 (eval $ac_compile) 2>&5
13715 ac_status=$?
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); } &&
13718 { ac_try='test -s conftest.$ac_objext'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13721 ac_status=$?
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; }; then
13724 ac_cv_c_inline=$ac_kw; break
13725 else
13726 echo "$as_me: failed program was:" >&5
13727 sed 's/^/| /' conftest.$ac_ext >&5
13728
13729 fi
13730 rm -f conftest.$ac_objext conftest.$ac_ext
13731 done
13732
13733 fi
13734 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13735 echo "${ECHO_T}$ac_cv_c_inline" >&6
13736 case $ac_cv_c_inline in
13737 inline | yes) ;;
13738 no)
13739 cat >>confdefs.h <<\_ACEOF
13740 #define inline
13741 _ACEOF
13742 ;;
13743 *) cat >>confdefs.h <<_ACEOF
13744 #define inline $ac_cv_c_inline
13745 _ACEOF
13746 ;;
13747 esac
13748
13749
13750 echo "$as_me:$LINENO: checking for char" >&5
13751 echo $ECHO_N "checking for char... $ECHO_C" >&6
13752 if test "${ac_cv_type_char+set}" = set; then
13753 echo $ECHO_N "(cached) $ECHO_C" >&6
13754 else
13755 cat >conftest.$ac_ext <<_ACEOF
13756 #line $LINENO "configure"
13757 /* confdefs.h. */
13758 _ACEOF
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13762 $ac_includes_default
13763 int
13764 main ()
13765 {
13766 if ((char *) 0)
13767 return 0;
13768 if (sizeof (char))
13769 return 0;
13770 ;
13771 return 0;
13772 }
13773 _ACEOF
13774 rm -f conftest.$ac_objext
13775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13776 (eval $ac_compile) 2>&5
13777 ac_status=$?
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); } &&
13780 { ac_try='test -s conftest.$ac_objext'
13781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13782 (eval $ac_try) 2>&5
13783 ac_status=$?
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); }; }; then
13786 ac_cv_type_char=yes
13787 else
13788 echo "$as_me: failed program was:" >&5
13789 sed 's/^/| /' conftest.$ac_ext >&5
13790
13791 ac_cv_type_char=no
13792 fi
13793 rm -f conftest.$ac_objext conftest.$ac_ext
13794 fi
13795 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13796 echo "${ECHO_T}$ac_cv_type_char" >&6
13797
13798 echo "$as_me:$LINENO: checking size of char" >&5
13799 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13800 if test "${ac_cv_sizeof_char+set}" = set; then
13801 echo $ECHO_N "(cached) $ECHO_C" >&6
13802 else
13803 if test "$ac_cv_type_char" = yes; then
13804 # The cast to unsigned long works around a bug in the HP C Compiler
13805 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13806 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13807 # This bug is HP SR number 8606223364.
13808 if test "$cross_compiling" = yes; then
13809 # Depending upon the size, compute the lo and hi bounds.
13810 cat >conftest.$ac_ext <<_ACEOF
13811 #line $LINENO "configure"
13812 /* confdefs.h. */
13813 _ACEOF
13814 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13817 $ac_includes_default
13818 int
13819 main ()
13820 {
13821 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13822 test_array [0] = 0
13823
13824 ;
13825 return 0;
13826 }
13827 _ACEOF
13828 rm -f conftest.$ac_objext
13829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13830 (eval $ac_compile) 2>&5
13831 ac_status=$?
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); } &&
13834 { ac_try='test -s conftest.$ac_objext'
13835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13836 (eval $ac_try) 2>&5
13837 ac_status=$?
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); }; }; then
13840 ac_lo=0 ac_mid=0
13841 while :; do
13842 cat >conftest.$ac_ext <<_ACEOF
13843 #line $LINENO "configure"
13844 /* confdefs.h. */
13845 _ACEOF
13846 cat confdefs.h >>conftest.$ac_ext
13847 cat >>conftest.$ac_ext <<_ACEOF
13848 /* end confdefs.h. */
13849 $ac_includes_default
13850 int
13851 main ()
13852 {
13853 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13854 test_array [0] = 0
13855
13856 ;
13857 return 0;
13858 }
13859 _ACEOF
13860 rm -f conftest.$ac_objext
13861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13862 (eval $ac_compile) 2>&5
13863 ac_status=$?
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } &&
13866 { ac_try='test -s conftest.$ac_objext'
13867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13868 (eval $ac_try) 2>&5
13869 ac_status=$?
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); }; }; then
13872 ac_hi=$ac_mid; break
13873 else
13874 echo "$as_me: failed program was:" >&5
13875 sed 's/^/| /' conftest.$ac_ext >&5
13876
13877 ac_lo=`expr $ac_mid + 1`
13878 if test $ac_lo -le $ac_mid; then
13879 ac_lo= ac_hi=
13880 break
13881 fi
13882 ac_mid=`expr 2 '*' $ac_mid + 1`
13883 fi
13884 rm -f conftest.$ac_objext conftest.$ac_ext
13885 done
13886 else
13887 echo "$as_me: failed program was:" >&5
13888 sed 's/^/| /' conftest.$ac_ext >&5
13889
13890 cat >conftest.$ac_ext <<_ACEOF
13891 #line $LINENO "configure"
13892 /* confdefs.h. */
13893 _ACEOF
13894 cat confdefs.h >>conftest.$ac_ext
13895 cat >>conftest.$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13897 $ac_includes_default
13898 int
13899 main ()
13900 {
13901 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13902 test_array [0] = 0
13903
13904 ;
13905 return 0;
13906 }
13907 _ACEOF
13908 rm -f conftest.$ac_objext
13909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13910 (eval $ac_compile) 2>&5
13911 ac_status=$?
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } &&
13914 { ac_try='test -s conftest.$ac_objext'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13917 ac_status=$?
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; }; then
13920 ac_hi=-1 ac_mid=-1
13921 while :; do
13922 cat >conftest.$ac_ext <<_ACEOF
13923 #line $LINENO "configure"
13924 /* confdefs.h. */
13925 _ACEOF
13926 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13929 $ac_includes_default
13930 int
13931 main ()
13932 {
13933 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13934 test_array [0] = 0
13935
13936 ;
13937 return 0;
13938 }
13939 _ACEOF
13940 rm -f conftest.$ac_objext
13941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13942 (eval $ac_compile) 2>&5
13943 ac_status=$?
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); } &&
13946 { ac_try='test -s conftest.$ac_objext'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13949 ac_status=$?
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; }; then
13952 ac_lo=$ac_mid; break
13953 else
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.$ac_ext >&5
13956
13957 ac_hi=`expr '(' $ac_mid ')' - 1`
13958 if test $ac_mid -le $ac_hi; then
13959 ac_lo= ac_hi=
13960 break
13961 fi
13962 ac_mid=`expr 2 '*' $ac_mid`
13963 fi
13964 rm -f conftest.$ac_objext conftest.$ac_ext
13965 done
13966 else
13967 echo "$as_me: failed program was:" >&5
13968 sed 's/^/| /' conftest.$ac_ext >&5
13969
13970 ac_lo= ac_hi=
13971 fi
13972 rm -f conftest.$ac_objext conftest.$ac_ext
13973 fi
13974 rm -f conftest.$ac_objext conftest.$ac_ext
13975 # Binary search between lo and hi bounds.
13976 while test "x$ac_lo" != "x$ac_hi"; do
13977 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13978 cat >conftest.$ac_ext <<_ACEOF
13979 #line $LINENO "configure"
13980 /* confdefs.h. */
13981 _ACEOF
13982 cat confdefs.h >>conftest.$ac_ext
13983 cat >>conftest.$ac_ext <<_ACEOF
13984 /* end confdefs.h. */
13985 $ac_includes_default
13986 int
13987 main ()
13988 {
13989 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13990 test_array [0] = 0
13991
13992 ;
13993 return 0;
13994 }
13995 _ACEOF
13996 rm -f conftest.$ac_objext
13997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13998 (eval $ac_compile) 2>&5
13999 ac_status=$?
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); } &&
14002 { ac_try='test -s conftest.$ac_objext'
14003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14004 (eval $ac_try) 2>&5
14005 ac_status=$?
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); }; }; then
14008 ac_hi=$ac_mid
14009 else
14010 echo "$as_me: failed program was:" >&5
14011 sed 's/^/| /' conftest.$ac_ext >&5
14012
14013 ac_lo=`expr '(' $ac_mid ')' + 1`
14014 fi
14015 rm -f conftest.$ac_objext conftest.$ac_ext
14016 done
14017 case $ac_lo in
14018 ?*) ac_cv_sizeof_char=$ac_lo;;
14019 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14020 See \`config.log' for more details." >&5
14021 echo "$as_me: error: cannot compute sizeof (char), 77
14022 See \`config.log' for more details." >&2;}
14023 { (exit 1); exit 1; }; } ;;
14024 esac
14025 else
14026 if test "$cross_compiling" = yes; then
14027 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14028 See \`config.log' for more details." >&5
14029 echo "$as_me: error: cannot run test program while cross compiling
14030 See \`config.log' for more details." >&2;}
14031 { (exit 1); exit 1; }; }
14032 else
14033 cat >conftest.$ac_ext <<_ACEOF
14034 #line $LINENO "configure"
14035 /* confdefs.h. */
14036 _ACEOF
14037 cat confdefs.h >>conftest.$ac_ext
14038 cat >>conftest.$ac_ext <<_ACEOF
14039 /* end confdefs.h. */
14040 $ac_includes_default
14041 long longval () { return (long) (sizeof (char)); }
14042 unsigned long ulongval () { return (long) (sizeof (char)); }
14043 #include <stdio.h>
14044 #include <stdlib.h>
14045 int
14046 main ()
14047 {
14048
14049 FILE *f = fopen ("conftest.val", "w");
14050 if (! f)
14051 exit (1);
14052 if (((long) (sizeof (char))) < 0)
14053 {
14054 long i = longval ();
14055 if (i != ((long) (sizeof (char))))
14056 exit (1);
14057 fprintf (f, "%ld\n", i);
14058 }
14059 else
14060 {
14061 unsigned long i = ulongval ();
14062 if (i != ((long) (sizeof (char))))
14063 exit (1);
14064 fprintf (f, "%lu\n", i);
14065 }
14066 exit (ferror (f) || fclose (f) != 0);
14067
14068 ;
14069 return 0;
14070 }
14071 _ACEOF
14072 rm -f conftest$ac_exeext
14073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14074 (eval $ac_link) 2>&5
14075 ac_status=$?
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_cv_sizeof_char=`cat conftest.val`
14084 else
14085 echo "$as_me: program exited with status $ac_status" >&5
14086 echo "$as_me: failed program was:" >&5
14087 sed 's/^/| /' conftest.$ac_ext >&5
14088
14089 ( exit $ac_status )
14090 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14091 See \`config.log' for more details." >&5
14092 echo "$as_me: error: cannot compute sizeof (char), 77
14093 See \`config.log' for more details." >&2;}
14094 { (exit 1); exit 1; }; }
14095 fi
14096 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14097 fi
14098 fi
14099 rm -f conftest.val
14100 else
14101 ac_cv_sizeof_char=0
14102 fi
14103 fi
14104 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14105 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14106 cat >>confdefs.h <<_ACEOF
14107 #define SIZEOF_CHAR $ac_cv_sizeof_char
14108 _ACEOF
14109
14110
14111 echo "$as_me:$LINENO: checking for short" >&5
14112 echo $ECHO_N "checking for short... $ECHO_C" >&6
14113 if test "${ac_cv_type_short+set}" = set; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14115 else
14116 cat >conftest.$ac_ext <<_ACEOF
14117 #line $LINENO "configure"
14118 /* confdefs.h. */
14119 _ACEOF
14120 cat confdefs.h >>conftest.$ac_ext
14121 cat >>conftest.$ac_ext <<_ACEOF
14122 /* end confdefs.h. */
14123 $ac_includes_default
14124 int
14125 main ()
14126 {
14127 if ((short *) 0)
14128 return 0;
14129 if (sizeof (short))
14130 return 0;
14131 ;
14132 return 0;
14133 }
14134 _ACEOF
14135 rm -f conftest.$ac_objext
14136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14137 (eval $ac_compile) 2>&5
14138 ac_status=$?
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } &&
14141 { ac_try='test -s conftest.$ac_objext'
14142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14143 (eval $ac_try) 2>&5
14144 ac_status=$?
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); }; }; then
14147 ac_cv_type_short=yes
14148 else
14149 echo "$as_me: failed program was:" >&5
14150 sed 's/^/| /' conftest.$ac_ext >&5
14151
14152 ac_cv_type_short=no
14153 fi
14154 rm -f conftest.$ac_objext conftest.$ac_ext
14155 fi
14156 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14157 echo "${ECHO_T}$ac_cv_type_short" >&6
14158
14159 echo "$as_me:$LINENO: checking size of short" >&5
14160 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14161 if test "${ac_cv_sizeof_short+set}" = set; then
14162 echo $ECHO_N "(cached) $ECHO_C" >&6
14163 else
14164 if test "$ac_cv_type_short" = yes; then
14165 # The cast to unsigned long works around a bug in the HP C Compiler
14166 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14167 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14168 # This bug is HP SR number 8606223364.
14169 if test "$cross_compiling" = yes; then
14170 # Depending upon the size, compute the lo and hi bounds.
14171 cat >conftest.$ac_ext <<_ACEOF
14172 #line $LINENO "configure"
14173 /* confdefs.h. */
14174 _ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14178 $ac_includes_default
14179 int
14180 main ()
14181 {
14182 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14183 test_array [0] = 0
14184
14185 ;
14186 return 0;
14187 }
14188 _ACEOF
14189 rm -f conftest.$ac_objext
14190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14191 (eval $ac_compile) 2>&5
14192 ac_status=$?
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); } &&
14195 { ac_try='test -s conftest.$ac_objext'
14196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14197 (eval $ac_try) 2>&5
14198 ac_status=$?
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); }; }; then
14201 ac_lo=0 ac_mid=0
14202 while :; do
14203 cat >conftest.$ac_ext <<_ACEOF
14204 #line $LINENO "configure"
14205 /* confdefs.h. */
14206 _ACEOF
14207 cat confdefs.h >>conftest.$ac_ext
14208 cat >>conftest.$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14210 $ac_includes_default
14211 int
14212 main ()
14213 {
14214 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14215 test_array [0] = 0
14216
14217 ;
14218 return 0;
14219 }
14220 _ACEOF
14221 rm -f conftest.$ac_objext
14222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14223 (eval $ac_compile) 2>&5
14224 ac_status=$?
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); } &&
14227 { ac_try='test -s conftest.$ac_objext'
14228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14229 (eval $ac_try) 2>&5
14230 ac_status=$?
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); }; }; then
14233 ac_hi=$ac_mid; break
14234 else
14235 echo "$as_me: failed program was:" >&5
14236 sed 's/^/| /' conftest.$ac_ext >&5
14237
14238 ac_lo=`expr $ac_mid + 1`
14239 if test $ac_lo -le $ac_mid; then
14240 ac_lo= ac_hi=
14241 break
14242 fi
14243 ac_mid=`expr 2 '*' $ac_mid + 1`
14244 fi
14245 rm -f conftest.$ac_objext conftest.$ac_ext
14246 done
14247 else
14248 echo "$as_me: failed program was:" >&5
14249 sed 's/^/| /' conftest.$ac_ext >&5
14250
14251 cat >conftest.$ac_ext <<_ACEOF
14252 #line $LINENO "configure"
14253 /* confdefs.h. */
14254 _ACEOF
14255 cat confdefs.h >>conftest.$ac_ext
14256 cat >>conftest.$ac_ext <<_ACEOF
14257 /* end confdefs.h. */
14258 $ac_includes_default
14259 int
14260 main ()
14261 {
14262 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14263 test_array [0] = 0
14264
14265 ;
14266 return 0;
14267 }
14268 _ACEOF
14269 rm -f conftest.$ac_objext
14270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14271 (eval $ac_compile) 2>&5
14272 ac_status=$?
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); } &&
14275 { ac_try='test -s conftest.$ac_objext'
14276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14277 (eval $ac_try) 2>&5
14278 ac_status=$?
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; }; then
14281 ac_hi=-1 ac_mid=-1
14282 while :; do
14283 cat >conftest.$ac_ext <<_ACEOF
14284 #line $LINENO "configure"
14285 /* confdefs.h. */
14286 _ACEOF
14287 cat confdefs.h >>conftest.$ac_ext
14288 cat >>conftest.$ac_ext <<_ACEOF
14289 /* end confdefs.h. */
14290 $ac_includes_default
14291 int
14292 main ()
14293 {
14294 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14295 test_array [0] = 0
14296
14297 ;
14298 return 0;
14299 }
14300 _ACEOF
14301 rm -f conftest.$ac_objext
14302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14303 (eval $ac_compile) 2>&5
14304 ac_status=$?
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); } &&
14307 { ac_try='test -s conftest.$ac_objext'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14310 ac_status=$?
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; }; then
14313 ac_lo=$ac_mid; break
14314 else
14315 echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.$ac_ext >&5
14317
14318 ac_hi=`expr '(' $ac_mid ')' - 1`
14319 if test $ac_mid -le $ac_hi; then
14320 ac_lo= ac_hi=
14321 break
14322 fi
14323 ac_mid=`expr 2 '*' $ac_mid`
14324 fi
14325 rm -f conftest.$ac_objext conftest.$ac_ext
14326 done
14327 else
14328 echo "$as_me: failed program was:" >&5
14329 sed 's/^/| /' conftest.$ac_ext >&5
14330
14331 ac_lo= ac_hi=
14332 fi
14333 rm -f conftest.$ac_objext conftest.$ac_ext
14334 fi
14335 rm -f conftest.$ac_objext conftest.$ac_ext
14336 # Binary search between lo and hi bounds.
14337 while test "x$ac_lo" != "x$ac_hi"; do
14338 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14339 cat >conftest.$ac_ext <<_ACEOF
14340 #line $LINENO "configure"
14341 /* confdefs.h. */
14342 _ACEOF
14343 cat confdefs.h >>conftest.$ac_ext
14344 cat >>conftest.$ac_ext <<_ACEOF
14345 /* end confdefs.h. */
14346 $ac_includes_default
14347 int
14348 main ()
14349 {
14350 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14351 test_array [0] = 0
14352
14353 ;
14354 return 0;
14355 }
14356 _ACEOF
14357 rm -f conftest.$ac_objext
14358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14359 (eval $ac_compile) 2>&5
14360 ac_status=$?
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); } &&
14363 { ac_try='test -s conftest.$ac_objext'
14364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14365 (eval $ac_try) 2>&5
14366 ac_status=$?
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }; }; then
14369 ac_hi=$ac_mid
14370 else
14371 echo "$as_me: failed program was:" >&5
14372 sed 's/^/| /' conftest.$ac_ext >&5
14373
14374 ac_lo=`expr '(' $ac_mid ')' + 1`
14375 fi
14376 rm -f conftest.$ac_objext conftest.$ac_ext
14377 done
14378 case $ac_lo in
14379 ?*) ac_cv_sizeof_short=$ac_lo;;
14380 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14381 See \`config.log' for more details." >&5
14382 echo "$as_me: error: cannot compute sizeof (short), 77
14383 See \`config.log' for more details." >&2;}
14384 { (exit 1); exit 1; }; } ;;
14385 esac
14386 else
14387 if test "$cross_compiling" = yes; then
14388 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14389 See \`config.log' for more details." >&5
14390 echo "$as_me: error: cannot run test program while cross compiling
14391 See \`config.log' for more details." >&2;}
14392 { (exit 1); exit 1; }; }
14393 else
14394 cat >conftest.$ac_ext <<_ACEOF
14395 #line $LINENO "configure"
14396 /* confdefs.h. */
14397 _ACEOF
14398 cat confdefs.h >>conftest.$ac_ext
14399 cat >>conftest.$ac_ext <<_ACEOF
14400 /* end confdefs.h. */
14401 $ac_includes_default
14402 long longval () { return (long) (sizeof (short)); }
14403 unsigned long ulongval () { return (long) (sizeof (short)); }
14404 #include <stdio.h>
14405 #include <stdlib.h>
14406 int
14407 main ()
14408 {
14409
14410 FILE *f = fopen ("conftest.val", "w");
14411 if (! f)
14412 exit (1);
14413 if (((long) (sizeof (short))) < 0)
14414 {
14415 long i = longval ();
14416 if (i != ((long) (sizeof (short))))
14417 exit (1);
14418 fprintf (f, "%ld\n", i);
14419 }
14420 else
14421 {
14422 unsigned long i = ulongval ();
14423 if (i != ((long) (sizeof (short))))
14424 exit (1);
14425 fprintf (f, "%lu\n", i);
14426 }
14427 exit (ferror (f) || fclose (f) != 0);
14428
14429 ;
14430 return 0;
14431 }
14432 _ACEOF
14433 rm -f conftest$ac_exeext
14434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14435 (eval $ac_link) 2>&5
14436 ac_status=$?
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_cv_sizeof_short=`cat conftest.val`
14445 else
14446 echo "$as_me: program exited with status $ac_status" >&5
14447 echo "$as_me: failed program was:" >&5
14448 sed 's/^/| /' conftest.$ac_ext >&5
14449
14450 ( exit $ac_status )
14451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14452 See \`config.log' for more details." >&5
14453 echo "$as_me: error: cannot compute sizeof (short), 77
14454 See \`config.log' for more details." >&2;}
14455 { (exit 1); exit 1; }; }
14456 fi
14457 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14458 fi
14459 fi
14460 rm -f conftest.val
14461 else
14462 ac_cv_sizeof_short=0
14463 fi
14464 fi
14465 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14466 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14467 cat >>confdefs.h <<_ACEOF
14468 #define SIZEOF_SHORT $ac_cv_sizeof_short
14469 _ACEOF
14470
14471
14472 echo "$as_me:$LINENO: checking for void *" >&5
14473 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14474 if test "${ac_cv_type_void_p+set}" = set; then
14475 echo $ECHO_N "(cached) $ECHO_C" >&6
14476 else
14477 cat >conftest.$ac_ext <<_ACEOF
14478 #line $LINENO "configure"
14479 /* confdefs.h. */
14480 _ACEOF
14481 cat confdefs.h >>conftest.$ac_ext
14482 cat >>conftest.$ac_ext <<_ACEOF
14483 /* end confdefs.h. */
14484 $ac_includes_default
14485 int
14486 main ()
14487 {
14488 if ((void * *) 0)
14489 return 0;
14490 if (sizeof (void *))
14491 return 0;
14492 ;
14493 return 0;
14494 }
14495 _ACEOF
14496 rm -f conftest.$ac_objext
14497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14498 (eval $ac_compile) 2>&5
14499 ac_status=$?
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } &&
14502 { ac_try='test -s conftest.$ac_objext'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14505 ac_status=$?
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; }; then
14508 ac_cv_type_void_p=yes
14509 else
14510 echo "$as_me: failed program was:" >&5
14511 sed 's/^/| /' conftest.$ac_ext >&5
14512
14513 ac_cv_type_void_p=no
14514 fi
14515 rm -f conftest.$ac_objext conftest.$ac_ext
14516 fi
14517 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14518 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14519
14520 echo "$as_me:$LINENO: checking size of void *" >&5
14521 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14522 if test "${ac_cv_sizeof_void_p+set}" = set; then
14523 echo $ECHO_N "(cached) $ECHO_C" >&6
14524 else
14525 if test "$ac_cv_type_void_p" = yes; then
14526 # The cast to unsigned long works around a bug in the HP C Compiler
14527 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14528 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14529 # This bug is HP SR number 8606223364.
14530 if test "$cross_compiling" = yes; then
14531 # Depending upon the size, compute the lo and hi bounds.
14532 cat >conftest.$ac_ext <<_ACEOF
14533 #line $LINENO "configure"
14534 /* confdefs.h. */
14535 _ACEOF
14536 cat confdefs.h >>conftest.$ac_ext
14537 cat >>conftest.$ac_ext <<_ACEOF
14538 /* end confdefs.h. */
14539 $ac_includes_default
14540 int
14541 main ()
14542 {
14543 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14544 test_array [0] = 0
14545
14546 ;
14547 return 0;
14548 }
14549 _ACEOF
14550 rm -f conftest.$ac_objext
14551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14552 (eval $ac_compile) 2>&5
14553 ac_status=$?
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } &&
14556 { ac_try='test -s conftest.$ac_objext'
14557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14558 (eval $ac_try) 2>&5
14559 ac_status=$?
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; }; then
14562 ac_lo=0 ac_mid=0
14563 while :; do
14564 cat >conftest.$ac_ext <<_ACEOF
14565 #line $LINENO "configure"
14566 /* confdefs.h. */
14567 _ACEOF
14568 cat confdefs.h >>conftest.$ac_ext
14569 cat >>conftest.$ac_ext <<_ACEOF
14570 /* end confdefs.h. */
14571 $ac_includes_default
14572 int
14573 main ()
14574 {
14575 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14576 test_array [0] = 0
14577
14578 ;
14579 return 0;
14580 }
14581 _ACEOF
14582 rm -f conftest.$ac_objext
14583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14584 (eval $ac_compile) 2>&5
14585 ac_status=$?
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); } &&
14588 { ac_try='test -s conftest.$ac_objext'
14589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590 (eval $ac_try) 2>&5
14591 ac_status=$?
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; }; then
14594 ac_hi=$ac_mid; break
14595 else
14596 echo "$as_me: failed program was:" >&5
14597 sed 's/^/| /' conftest.$ac_ext >&5
14598
14599 ac_lo=`expr $ac_mid + 1`
14600 if test $ac_lo -le $ac_mid; then
14601 ac_lo= ac_hi=
14602 break
14603 fi
14604 ac_mid=`expr 2 '*' $ac_mid + 1`
14605 fi
14606 rm -f conftest.$ac_objext conftest.$ac_ext
14607 done
14608 else
14609 echo "$as_me: failed program was:" >&5
14610 sed 's/^/| /' conftest.$ac_ext >&5
14611
14612 cat >conftest.$ac_ext <<_ACEOF
14613 #line $LINENO "configure"
14614 /* confdefs.h. */
14615 _ACEOF
14616 cat confdefs.h >>conftest.$ac_ext
14617 cat >>conftest.$ac_ext <<_ACEOF
14618 /* end confdefs.h. */
14619 $ac_includes_default
14620 int
14621 main ()
14622 {
14623 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14624 test_array [0] = 0
14625
14626 ;
14627 return 0;
14628 }
14629 _ACEOF
14630 rm -f conftest.$ac_objext
14631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14632 (eval $ac_compile) 2>&5
14633 ac_status=$?
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } &&
14636 { ac_try='test -s conftest.$ac_objext'
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14639 ac_status=$?
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; }; then
14642 ac_hi=-1 ac_mid=-1
14643 while :; do
14644 cat >conftest.$ac_ext <<_ACEOF
14645 #line $LINENO "configure"
14646 /* confdefs.h. */
14647 _ACEOF
14648 cat confdefs.h >>conftest.$ac_ext
14649 cat >>conftest.$ac_ext <<_ACEOF
14650 /* end confdefs.h. */
14651 $ac_includes_default
14652 int
14653 main ()
14654 {
14655 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14656 test_array [0] = 0
14657
14658 ;
14659 return 0;
14660 }
14661 _ACEOF
14662 rm -f conftest.$ac_objext
14663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14664 (eval $ac_compile) 2>&5
14665 ac_status=$?
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); } &&
14668 { ac_try='test -s conftest.$ac_objext'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14671 ac_status=$?
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; }; then
14674 ac_lo=$ac_mid; break
14675 else
14676 echo "$as_me: failed program was:" >&5
14677 sed 's/^/| /' conftest.$ac_ext >&5
14678
14679 ac_hi=`expr '(' $ac_mid ')' - 1`
14680 if test $ac_mid -le $ac_hi; then
14681 ac_lo= ac_hi=
14682 break
14683 fi
14684 ac_mid=`expr 2 '*' $ac_mid`
14685 fi
14686 rm -f conftest.$ac_objext conftest.$ac_ext
14687 done
14688 else
14689 echo "$as_me: failed program was:" >&5
14690 sed 's/^/| /' conftest.$ac_ext >&5
14691
14692 ac_lo= ac_hi=
14693 fi
14694 rm -f conftest.$ac_objext conftest.$ac_ext
14695 fi
14696 rm -f conftest.$ac_objext conftest.$ac_ext
14697 # Binary search between lo and hi bounds.
14698 while test "x$ac_lo" != "x$ac_hi"; do
14699 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14700 cat >conftest.$ac_ext <<_ACEOF
14701 #line $LINENO "configure"
14702 /* confdefs.h. */
14703 _ACEOF
14704 cat confdefs.h >>conftest.$ac_ext
14705 cat >>conftest.$ac_ext <<_ACEOF
14706 /* end confdefs.h. */
14707 $ac_includes_default
14708 int
14709 main ()
14710 {
14711 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14712 test_array [0] = 0
14713
14714 ;
14715 return 0;
14716 }
14717 _ACEOF
14718 rm -f conftest.$ac_objext
14719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14720 (eval $ac_compile) 2>&5
14721 ac_status=$?
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); } &&
14724 { ac_try='test -s conftest.$ac_objext'
14725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726 (eval $ac_try) 2>&5
14727 ac_status=$?
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; }; then
14730 ac_hi=$ac_mid
14731 else
14732 echo "$as_me: failed program was:" >&5
14733 sed 's/^/| /' conftest.$ac_ext >&5
14734
14735 ac_lo=`expr '(' $ac_mid ')' + 1`
14736 fi
14737 rm -f conftest.$ac_objext conftest.$ac_ext
14738 done
14739 case $ac_lo in
14740 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14741 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14742 See \`config.log' for more details." >&5
14743 echo "$as_me: error: cannot compute sizeof (void *), 77
14744 See \`config.log' for more details." >&2;}
14745 { (exit 1); exit 1; }; } ;;
14746 esac
14747 else
14748 if test "$cross_compiling" = yes; then
14749 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14750 See \`config.log' for more details." >&5
14751 echo "$as_me: error: cannot run test program while cross compiling
14752 See \`config.log' for more details." >&2;}
14753 { (exit 1); exit 1; }; }
14754 else
14755 cat >conftest.$ac_ext <<_ACEOF
14756 #line $LINENO "configure"
14757 /* confdefs.h. */
14758 _ACEOF
14759 cat confdefs.h >>conftest.$ac_ext
14760 cat >>conftest.$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14762 $ac_includes_default
14763 long longval () { return (long) (sizeof (void *)); }
14764 unsigned long ulongval () { return (long) (sizeof (void *)); }
14765 #include <stdio.h>
14766 #include <stdlib.h>
14767 int
14768 main ()
14769 {
14770
14771 FILE *f = fopen ("conftest.val", "w");
14772 if (! f)
14773 exit (1);
14774 if (((long) (sizeof (void *))) < 0)
14775 {
14776 long i = longval ();
14777 if (i != ((long) (sizeof (void *))))
14778 exit (1);
14779 fprintf (f, "%ld\n", i);
14780 }
14781 else
14782 {
14783 unsigned long i = ulongval ();
14784 if (i != ((long) (sizeof (void *))))
14785 exit (1);
14786 fprintf (f, "%lu\n", i);
14787 }
14788 exit (ferror (f) || fclose (f) != 0);
14789
14790 ;
14791 return 0;
14792 }
14793 _ACEOF
14794 rm -f conftest$ac_exeext
14795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14796 (eval $ac_link) 2>&5
14797 ac_status=$?
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_cv_sizeof_void_p=`cat conftest.val`
14806 else
14807 echo "$as_me: program exited with status $ac_status" >&5
14808 echo "$as_me: failed program was:" >&5
14809 sed 's/^/| /' conftest.$ac_ext >&5
14810
14811 ( exit $ac_status )
14812 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14813 See \`config.log' for more details." >&5
14814 echo "$as_me: error: cannot compute sizeof (void *), 77
14815 See \`config.log' for more details." >&2;}
14816 { (exit 1); exit 1; }; }
14817 fi
14818 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14819 fi
14820 fi
14821 rm -f conftest.val
14822 else
14823 ac_cv_sizeof_void_p=0
14824 fi
14825 fi
14826 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14827 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14828 cat >>confdefs.h <<_ACEOF
14829 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14830 _ACEOF
14831
14832
14833 echo "$as_me:$LINENO: checking for int" >&5
14834 echo $ECHO_N "checking for int... $ECHO_C" >&6
14835 if test "${ac_cv_type_int+set}" = set; then
14836 echo $ECHO_N "(cached) $ECHO_C" >&6
14837 else
14838 cat >conftest.$ac_ext <<_ACEOF
14839 #line $LINENO "configure"
14840 /* confdefs.h. */
14841 _ACEOF
14842 cat confdefs.h >>conftest.$ac_ext
14843 cat >>conftest.$ac_ext <<_ACEOF
14844 /* end confdefs.h. */
14845 $ac_includes_default
14846 int
14847 main ()
14848 {
14849 if ((int *) 0)
14850 return 0;
14851 if (sizeof (int))
14852 return 0;
14853 ;
14854 return 0;
14855 }
14856 _ACEOF
14857 rm -f conftest.$ac_objext
14858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14859 (eval $ac_compile) 2>&5
14860 ac_status=$?
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); } &&
14863 { ac_try='test -s conftest.$ac_objext'
14864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14865 (eval $ac_try) 2>&5
14866 ac_status=$?
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); }; }; then
14869 ac_cv_type_int=yes
14870 else
14871 echo "$as_me: failed program was:" >&5
14872 sed 's/^/| /' conftest.$ac_ext >&5
14873
14874 ac_cv_type_int=no
14875 fi
14876 rm -f conftest.$ac_objext conftest.$ac_ext
14877 fi
14878 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14879 echo "${ECHO_T}$ac_cv_type_int" >&6
14880
14881 echo "$as_me:$LINENO: checking size of int" >&5
14882 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14883 if test "${ac_cv_sizeof_int+set}" = set; then
14884 echo $ECHO_N "(cached) $ECHO_C" >&6
14885 else
14886 if test "$ac_cv_type_int" = yes; then
14887 # The cast to unsigned long works around a bug in the HP C Compiler
14888 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14889 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14890 # This bug is HP SR number 8606223364.
14891 if test "$cross_compiling" = yes; then
14892 # Depending upon the size, compute the lo and hi bounds.
14893 cat >conftest.$ac_ext <<_ACEOF
14894 #line $LINENO "configure"
14895 /* confdefs.h. */
14896 _ACEOF
14897 cat confdefs.h >>conftest.$ac_ext
14898 cat >>conftest.$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14900 $ac_includes_default
14901 int
14902 main ()
14903 {
14904 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14905 test_array [0] = 0
14906
14907 ;
14908 return 0;
14909 }
14910 _ACEOF
14911 rm -f conftest.$ac_objext
14912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14913 (eval $ac_compile) 2>&5
14914 ac_status=$?
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); } &&
14917 { ac_try='test -s conftest.$ac_objext'
14918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14919 (eval $ac_try) 2>&5
14920 ac_status=$?
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); }; }; then
14923 ac_lo=0 ac_mid=0
14924 while :; do
14925 cat >conftest.$ac_ext <<_ACEOF
14926 #line $LINENO "configure"
14927 /* confdefs.h. */
14928 _ACEOF
14929 cat confdefs.h >>conftest.$ac_ext
14930 cat >>conftest.$ac_ext <<_ACEOF
14931 /* end confdefs.h. */
14932 $ac_includes_default
14933 int
14934 main ()
14935 {
14936 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14937 test_array [0] = 0
14938
14939 ;
14940 return 0;
14941 }
14942 _ACEOF
14943 rm -f conftest.$ac_objext
14944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14945 (eval $ac_compile) 2>&5
14946 ac_status=$?
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); } &&
14949 { ac_try='test -s conftest.$ac_objext'
14950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14951 (eval $ac_try) 2>&5
14952 ac_status=$?
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); }; }; then
14955 ac_hi=$ac_mid; break
14956 else
14957 echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.$ac_ext >&5
14959
14960 ac_lo=`expr $ac_mid + 1`
14961 if test $ac_lo -le $ac_mid; then
14962 ac_lo= ac_hi=
14963 break
14964 fi
14965 ac_mid=`expr 2 '*' $ac_mid + 1`
14966 fi
14967 rm -f conftest.$ac_objext conftest.$ac_ext
14968 done
14969 else
14970 echo "$as_me: failed program was:" >&5
14971 sed 's/^/| /' conftest.$ac_ext >&5
14972
14973 cat >conftest.$ac_ext <<_ACEOF
14974 #line $LINENO "configure"
14975 /* confdefs.h. */
14976 _ACEOF
14977 cat confdefs.h >>conftest.$ac_ext
14978 cat >>conftest.$ac_ext <<_ACEOF
14979 /* end confdefs.h. */
14980 $ac_includes_default
14981 int
14982 main ()
14983 {
14984 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14985 test_array [0] = 0
14986
14987 ;
14988 return 0;
14989 }
14990 _ACEOF
14991 rm -f conftest.$ac_objext
14992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14993 (eval $ac_compile) 2>&5
14994 ac_status=$?
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); } &&
14997 { ac_try='test -s conftest.$ac_objext'
14998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14999 (eval $ac_try) 2>&5
15000 ac_status=$?
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; }; then
15003 ac_hi=-1 ac_mid=-1
15004 while :; do
15005 cat >conftest.$ac_ext <<_ACEOF
15006 #line $LINENO "configure"
15007 /* confdefs.h. */
15008 _ACEOF
15009 cat confdefs.h >>conftest.$ac_ext
15010 cat >>conftest.$ac_ext <<_ACEOF
15011 /* end confdefs.h. */
15012 $ac_includes_default
15013 int
15014 main ()
15015 {
15016 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15017 test_array [0] = 0
15018
15019 ;
15020 return 0;
15021 }
15022 _ACEOF
15023 rm -f conftest.$ac_objext
15024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15025 (eval $ac_compile) 2>&5
15026 ac_status=$?
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } &&
15029 { ac_try='test -s conftest.$ac_objext'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15032 ac_status=$?
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; }; then
15035 ac_lo=$ac_mid; break
15036 else
15037 echo "$as_me: failed program was:" >&5
15038 sed 's/^/| /' conftest.$ac_ext >&5
15039
15040 ac_hi=`expr '(' $ac_mid ')' - 1`
15041 if test $ac_mid -le $ac_hi; then
15042 ac_lo= ac_hi=
15043 break
15044 fi
15045 ac_mid=`expr 2 '*' $ac_mid`
15046 fi
15047 rm -f conftest.$ac_objext conftest.$ac_ext
15048 done
15049 else
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.$ac_ext >&5
15052
15053 ac_lo= ac_hi=
15054 fi
15055 rm -f conftest.$ac_objext conftest.$ac_ext
15056 fi
15057 rm -f conftest.$ac_objext conftest.$ac_ext
15058 # Binary search between lo and hi bounds.
15059 while test "x$ac_lo" != "x$ac_hi"; do
15060 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15061 cat >conftest.$ac_ext <<_ACEOF
15062 #line $LINENO "configure"
15063 /* confdefs.h. */
15064 _ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15068 $ac_includes_default
15069 int
15070 main ()
15071 {
15072 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15073 test_array [0] = 0
15074
15075 ;
15076 return 0;
15077 }
15078 _ACEOF
15079 rm -f conftest.$ac_objext
15080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15081 (eval $ac_compile) 2>&5
15082 ac_status=$?
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); } &&
15085 { ac_try='test -s conftest.$ac_objext'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15088 ac_status=$?
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; }; then
15091 ac_hi=$ac_mid
15092 else
15093 echo "$as_me: failed program was:" >&5
15094 sed 's/^/| /' conftest.$ac_ext >&5
15095
15096 ac_lo=`expr '(' $ac_mid ')' + 1`
15097 fi
15098 rm -f conftest.$ac_objext conftest.$ac_ext
15099 done
15100 case $ac_lo in
15101 ?*) ac_cv_sizeof_int=$ac_lo;;
15102 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15103 See \`config.log' for more details." >&5
15104 echo "$as_me: error: cannot compute sizeof (int), 77
15105 See \`config.log' for more details." >&2;}
15106 { (exit 1); exit 1; }; } ;;
15107 esac
15108 else
15109 if test "$cross_compiling" = yes; then
15110 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15111 See \`config.log' for more details." >&5
15112 echo "$as_me: error: cannot run test program while cross compiling
15113 See \`config.log' for more details." >&2;}
15114 { (exit 1); exit 1; }; }
15115 else
15116 cat >conftest.$ac_ext <<_ACEOF
15117 #line $LINENO "configure"
15118 /* confdefs.h. */
15119 _ACEOF
15120 cat confdefs.h >>conftest.$ac_ext
15121 cat >>conftest.$ac_ext <<_ACEOF
15122 /* end confdefs.h. */
15123 $ac_includes_default
15124 long longval () { return (long) (sizeof (int)); }
15125 unsigned long ulongval () { return (long) (sizeof (int)); }
15126 #include <stdio.h>
15127 #include <stdlib.h>
15128 int
15129 main ()
15130 {
15131
15132 FILE *f = fopen ("conftest.val", "w");
15133 if (! f)
15134 exit (1);
15135 if (((long) (sizeof (int))) < 0)
15136 {
15137 long i = longval ();
15138 if (i != ((long) (sizeof (int))))
15139 exit (1);
15140 fprintf (f, "%ld\n", i);
15141 }
15142 else
15143 {
15144 unsigned long i = ulongval ();
15145 if (i != ((long) (sizeof (int))))
15146 exit (1);
15147 fprintf (f, "%lu\n", i);
15148 }
15149 exit (ferror (f) || fclose (f) != 0);
15150
15151 ;
15152 return 0;
15153 }
15154 _ACEOF
15155 rm -f conftest$ac_exeext
15156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15157 (eval $ac_link) 2>&5
15158 ac_status=$?
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_cv_sizeof_int=`cat conftest.val`
15167 else
15168 echo "$as_me: program exited with status $ac_status" >&5
15169 echo "$as_me: failed program was:" >&5
15170 sed 's/^/| /' conftest.$ac_ext >&5
15171
15172 ( exit $ac_status )
15173 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15174 See \`config.log' for more details." >&5
15175 echo "$as_me: error: cannot compute sizeof (int), 77
15176 See \`config.log' for more details." >&2;}
15177 { (exit 1); exit 1; }; }
15178 fi
15179 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15180 fi
15181 fi
15182 rm -f conftest.val
15183 else
15184 ac_cv_sizeof_int=0
15185 fi
15186 fi
15187 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15188 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15189 cat >>confdefs.h <<_ACEOF
15190 #define SIZEOF_INT $ac_cv_sizeof_int
15191 _ACEOF
15192
15193
15194 echo "$as_me:$LINENO: checking for long" >&5
15195 echo $ECHO_N "checking for long... $ECHO_C" >&6
15196 if test "${ac_cv_type_long+set}" = set; then
15197 echo $ECHO_N "(cached) $ECHO_C" >&6
15198 else
15199 cat >conftest.$ac_ext <<_ACEOF
15200 #line $LINENO "configure"
15201 /* confdefs.h. */
15202 _ACEOF
15203 cat confdefs.h >>conftest.$ac_ext
15204 cat >>conftest.$ac_ext <<_ACEOF
15205 /* end confdefs.h. */
15206 $ac_includes_default
15207 int
15208 main ()
15209 {
15210 if ((long *) 0)
15211 return 0;
15212 if (sizeof (long))
15213 return 0;
15214 ;
15215 return 0;
15216 }
15217 _ACEOF
15218 rm -f conftest.$ac_objext
15219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15220 (eval $ac_compile) 2>&5
15221 ac_status=$?
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); } &&
15224 { ac_try='test -s conftest.$ac_objext'
15225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15226 (eval $ac_try) 2>&5
15227 ac_status=$?
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); }; }; then
15230 ac_cv_type_long=yes
15231 else
15232 echo "$as_me: failed program was:" >&5
15233 sed 's/^/| /' conftest.$ac_ext >&5
15234
15235 ac_cv_type_long=no
15236 fi
15237 rm -f conftest.$ac_objext conftest.$ac_ext
15238 fi
15239 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15240 echo "${ECHO_T}$ac_cv_type_long" >&6
15241
15242 echo "$as_me:$LINENO: checking size of long" >&5
15243 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15244 if test "${ac_cv_sizeof_long+set}" = set; then
15245 echo $ECHO_N "(cached) $ECHO_C" >&6
15246 else
15247 if test "$ac_cv_type_long" = yes; then
15248 # The cast to unsigned long works around a bug in the HP C Compiler
15249 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15250 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15251 # This bug is HP SR number 8606223364.
15252 if test "$cross_compiling" = yes; then
15253 # Depending upon the size, compute the lo and hi bounds.
15254 cat >conftest.$ac_ext <<_ACEOF
15255 #line $LINENO "configure"
15256 /* confdefs.h. */
15257 _ACEOF
15258 cat confdefs.h >>conftest.$ac_ext
15259 cat >>conftest.$ac_ext <<_ACEOF
15260 /* end confdefs.h. */
15261 $ac_includes_default
15262 int
15263 main ()
15264 {
15265 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15266 test_array [0] = 0
15267
15268 ;
15269 return 0;
15270 }
15271 _ACEOF
15272 rm -f conftest.$ac_objext
15273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15274 (eval $ac_compile) 2>&5
15275 ac_status=$?
15276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15277 (exit $ac_status); } &&
15278 { ac_try='test -s conftest.$ac_objext'
15279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15280 (eval $ac_try) 2>&5
15281 ac_status=$?
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); }; }; then
15284 ac_lo=0 ac_mid=0
15285 while :; do
15286 cat >conftest.$ac_ext <<_ACEOF
15287 #line $LINENO "configure"
15288 /* confdefs.h. */
15289 _ACEOF
15290 cat confdefs.h >>conftest.$ac_ext
15291 cat >>conftest.$ac_ext <<_ACEOF
15292 /* end confdefs.h. */
15293 $ac_includes_default
15294 int
15295 main ()
15296 {
15297 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15298 test_array [0] = 0
15299
15300 ;
15301 return 0;
15302 }
15303 _ACEOF
15304 rm -f conftest.$ac_objext
15305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15306 (eval $ac_compile) 2>&5
15307 ac_status=$?
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } &&
15310 { ac_try='test -s conftest.$ac_objext'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15313 ac_status=$?
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; }; then
15316 ac_hi=$ac_mid; break
15317 else
15318 echo "$as_me: failed program was:" >&5
15319 sed 's/^/| /' conftest.$ac_ext >&5
15320
15321 ac_lo=`expr $ac_mid + 1`
15322 if test $ac_lo -le $ac_mid; then
15323 ac_lo= ac_hi=
15324 break
15325 fi
15326 ac_mid=`expr 2 '*' $ac_mid + 1`
15327 fi
15328 rm -f conftest.$ac_objext conftest.$ac_ext
15329 done
15330 else
15331 echo "$as_me: failed program was:" >&5
15332 sed 's/^/| /' conftest.$ac_ext >&5
15333
15334 cat >conftest.$ac_ext <<_ACEOF
15335 #line $LINENO "configure"
15336 /* confdefs.h. */
15337 _ACEOF
15338 cat confdefs.h >>conftest.$ac_ext
15339 cat >>conftest.$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15341 $ac_includes_default
15342 int
15343 main ()
15344 {
15345 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15346 test_array [0] = 0
15347
15348 ;
15349 return 0;
15350 }
15351 _ACEOF
15352 rm -f conftest.$ac_objext
15353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15354 (eval $ac_compile) 2>&5
15355 ac_status=$?
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); } &&
15358 { ac_try='test -s conftest.$ac_objext'
15359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15360 (eval $ac_try) 2>&5
15361 ac_status=$?
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); }; }; then
15364 ac_hi=-1 ac_mid=-1
15365 while :; do
15366 cat >conftest.$ac_ext <<_ACEOF
15367 #line $LINENO "configure"
15368 /* confdefs.h. */
15369 _ACEOF
15370 cat confdefs.h >>conftest.$ac_ext
15371 cat >>conftest.$ac_ext <<_ACEOF
15372 /* end confdefs.h. */
15373 $ac_includes_default
15374 int
15375 main ()
15376 {
15377 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15378 test_array [0] = 0
15379
15380 ;
15381 return 0;
15382 }
15383 _ACEOF
15384 rm -f conftest.$ac_objext
15385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386 (eval $ac_compile) 2>&5
15387 ac_status=$?
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); } &&
15390 { ac_try='test -s conftest.$ac_objext'
15391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392 (eval $ac_try) 2>&5
15393 ac_status=$?
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; }; then
15396 ac_lo=$ac_mid; break
15397 else
15398 echo "$as_me: failed program was:" >&5
15399 sed 's/^/| /' conftest.$ac_ext >&5
15400
15401 ac_hi=`expr '(' $ac_mid ')' - 1`
15402 if test $ac_mid -le $ac_hi; then
15403 ac_lo= ac_hi=
15404 break
15405 fi
15406 ac_mid=`expr 2 '*' $ac_mid`
15407 fi
15408 rm -f conftest.$ac_objext conftest.$ac_ext
15409 done
15410 else
15411 echo "$as_me: failed program was:" >&5
15412 sed 's/^/| /' conftest.$ac_ext >&5
15413
15414 ac_lo= ac_hi=
15415 fi
15416 rm -f conftest.$ac_objext conftest.$ac_ext
15417 fi
15418 rm -f conftest.$ac_objext conftest.$ac_ext
15419 # Binary search between lo and hi bounds.
15420 while test "x$ac_lo" != "x$ac_hi"; do
15421 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15422 cat >conftest.$ac_ext <<_ACEOF
15423 #line $LINENO "configure"
15424 /* confdefs.h. */
15425 _ACEOF
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15429 $ac_includes_default
15430 int
15431 main ()
15432 {
15433 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15434 test_array [0] = 0
15435
15436 ;
15437 return 0;
15438 }
15439 _ACEOF
15440 rm -f conftest.$ac_objext
15441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15442 (eval $ac_compile) 2>&5
15443 ac_status=$?
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } &&
15446 { ac_try='test -s conftest.$ac_objext'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15449 ac_status=$?
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; }; then
15452 ac_hi=$ac_mid
15453 else
15454 echo "$as_me: failed program was:" >&5
15455 sed 's/^/| /' conftest.$ac_ext >&5
15456
15457 ac_lo=`expr '(' $ac_mid ')' + 1`
15458 fi
15459 rm -f conftest.$ac_objext conftest.$ac_ext
15460 done
15461 case $ac_lo in
15462 ?*) ac_cv_sizeof_long=$ac_lo;;
15463 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15464 See \`config.log' for more details." >&5
15465 echo "$as_me: error: cannot compute sizeof (long), 77
15466 See \`config.log' for more details." >&2;}
15467 { (exit 1); exit 1; }; } ;;
15468 esac
15469 else
15470 if test "$cross_compiling" = yes; then
15471 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15472 See \`config.log' for more details." >&5
15473 echo "$as_me: error: cannot run test program while cross compiling
15474 See \`config.log' for more details." >&2;}
15475 { (exit 1); exit 1; }; }
15476 else
15477 cat >conftest.$ac_ext <<_ACEOF
15478 #line $LINENO "configure"
15479 /* confdefs.h. */
15480 _ACEOF
15481 cat confdefs.h >>conftest.$ac_ext
15482 cat >>conftest.$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15484 $ac_includes_default
15485 long longval () { return (long) (sizeof (long)); }
15486 unsigned long ulongval () { return (long) (sizeof (long)); }
15487 #include <stdio.h>
15488 #include <stdlib.h>
15489 int
15490 main ()
15491 {
15492
15493 FILE *f = fopen ("conftest.val", "w");
15494 if (! f)
15495 exit (1);
15496 if (((long) (sizeof (long))) < 0)
15497 {
15498 long i = longval ();
15499 if (i != ((long) (sizeof (long))))
15500 exit (1);
15501 fprintf (f, "%ld\n", i);
15502 }
15503 else
15504 {
15505 unsigned long i = ulongval ();
15506 if (i != ((long) (sizeof (long))))
15507 exit (1);
15508 fprintf (f, "%lu\n", i);
15509 }
15510 exit (ferror (f) || fclose (f) != 0);
15511
15512 ;
15513 return 0;
15514 }
15515 _ACEOF
15516 rm -f conftest$ac_exeext
15517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15518 (eval $ac_link) 2>&5
15519 ac_status=$?
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523 (eval $ac_try) 2>&5
15524 ac_status=$?
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); }; }; then
15527 ac_cv_sizeof_long=`cat conftest.val`
15528 else
15529 echo "$as_me: program exited with status $ac_status" >&5
15530 echo "$as_me: failed program was:" >&5
15531 sed 's/^/| /' conftest.$ac_ext >&5
15532
15533 ( exit $ac_status )
15534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15535 See \`config.log' for more details." >&5
15536 echo "$as_me: error: cannot compute sizeof (long), 77
15537 See \`config.log' for more details." >&2;}
15538 { (exit 1); exit 1; }; }
15539 fi
15540 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15541 fi
15542 fi
15543 rm -f conftest.val
15544 else
15545 ac_cv_sizeof_long=0
15546 fi
15547 fi
15548 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15549 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15550 cat >>confdefs.h <<_ACEOF
15551 #define SIZEOF_LONG $ac_cv_sizeof_long
15552 _ACEOF
15553
15554
15555
15556 case "${host}" in
15557 arm-*-linux* )
15558 echo "$as_me:$LINENO: checking for long long" >&5
15559 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15560 if test "${ac_cv_type_long_long+set}" = set; then
15561 echo $ECHO_N "(cached) $ECHO_C" >&6
15562 else
15563 cat >conftest.$ac_ext <<_ACEOF
15564 #line $LINENO "configure"
15565 /* confdefs.h. */
15566 _ACEOF
15567 cat confdefs.h >>conftest.$ac_ext
15568 cat >>conftest.$ac_ext <<_ACEOF
15569 /* end confdefs.h. */
15570 $ac_includes_default
15571 int
15572 main ()
15573 {
15574 if ((long long *) 0)
15575 return 0;
15576 if (sizeof (long long))
15577 return 0;
15578 ;
15579 return 0;
15580 }
15581 _ACEOF
15582 rm -f conftest.$ac_objext
15583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15584 (eval $ac_compile) 2>&5
15585 ac_status=$?
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); } &&
15588 { ac_try='test -s conftest.$ac_objext'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15591 ac_status=$?
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; }; then
15594 ac_cv_type_long_long=yes
15595 else
15596 echo "$as_me: failed program was:" >&5
15597 sed 's/^/| /' conftest.$ac_ext >&5
15598
15599 ac_cv_type_long_long=no
15600 fi
15601 rm -f conftest.$ac_objext conftest.$ac_ext
15602 fi
15603 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15604 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15605
15606 echo "$as_me:$LINENO: checking size of long long" >&5
15607 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15608 if test "${ac_cv_sizeof_long_long+set}" = set; then
15609 echo $ECHO_N "(cached) $ECHO_C" >&6
15610 else
15611 if test "$ac_cv_type_long_long" = yes; then
15612 # The cast to unsigned long works around a bug in the HP C Compiler
15613 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15614 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15615 # This bug is HP SR number 8606223364.
15616 if test "$cross_compiling" = yes; then
15617 # Depending upon the size, compute the lo and hi bounds.
15618 cat >conftest.$ac_ext <<_ACEOF
15619 #line $LINENO "configure"
15620 /* confdefs.h. */
15621 _ACEOF
15622 cat confdefs.h >>conftest.$ac_ext
15623 cat >>conftest.$ac_ext <<_ACEOF
15624 /* end confdefs.h. */
15625 $ac_includes_default
15626 int
15627 main ()
15628 {
15629 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15630 test_array [0] = 0
15631
15632 ;
15633 return 0;
15634 }
15635 _ACEOF
15636 rm -f conftest.$ac_objext
15637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15638 (eval $ac_compile) 2>&5
15639 ac_status=$?
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); } &&
15642 { ac_try='test -s conftest.$ac_objext'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15645 ac_status=$?
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; }; then
15648 ac_lo=0 ac_mid=0
15649 while :; do
15650 cat >conftest.$ac_ext <<_ACEOF
15651 #line $LINENO "configure"
15652 /* confdefs.h. */
15653 _ACEOF
15654 cat confdefs.h >>conftest.$ac_ext
15655 cat >>conftest.$ac_ext <<_ACEOF
15656 /* end confdefs.h. */
15657 $ac_includes_default
15658 int
15659 main ()
15660 {
15661 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15662 test_array [0] = 0
15663
15664 ;
15665 return 0;
15666 }
15667 _ACEOF
15668 rm -f conftest.$ac_objext
15669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15670 (eval $ac_compile) 2>&5
15671 ac_status=$?
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); } &&
15674 { ac_try='test -s conftest.$ac_objext'
15675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15676 (eval $ac_try) 2>&5
15677 ac_status=$?
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); }; }; then
15680 ac_hi=$ac_mid; break
15681 else
15682 echo "$as_me: failed program was:" >&5
15683 sed 's/^/| /' conftest.$ac_ext >&5
15684
15685 ac_lo=`expr $ac_mid + 1`
15686 if test $ac_lo -le $ac_mid; then
15687 ac_lo= ac_hi=
15688 break
15689 fi
15690 ac_mid=`expr 2 '*' $ac_mid + 1`
15691 fi
15692 rm -f conftest.$ac_objext conftest.$ac_ext
15693 done
15694 else
15695 echo "$as_me: failed program was:" >&5
15696 sed 's/^/| /' conftest.$ac_ext >&5
15697
15698 cat >conftest.$ac_ext <<_ACEOF
15699 #line $LINENO "configure"
15700 /* confdefs.h. */
15701 _ACEOF
15702 cat confdefs.h >>conftest.$ac_ext
15703 cat >>conftest.$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15705 $ac_includes_default
15706 int
15707 main ()
15708 {
15709 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15710 test_array [0] = 0
15711
15712 ;
15713 return 0;
15714 }
15715 _ACEOF
15716 rm -f conftest.$ac_objext
15717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15718 (eval $ac_compile) 2>&5
15719 ac_status=$?
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); } &&
15722 { ac_try='test -s conftest.$ac_objext'
15723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15724 (eval $ac_try) 2>&5
15725 ac_status=$?
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; }; then
15728 ac_hi=-1 ac_mid=-1
15729 while :; do
15730 cat >conftest.$ac_ext <<_ACEOF
15731 #line $LINENO "configure"
15732 /* confdefs.h. */
15733 _ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15737 $ac_includes_default
15738 int
15739 main ()
15740 {
15741 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15742 test_array [0] = 0
15743
15744 ;
15745 return 0;
15746 }
15747 _ACEOF
15748 rm -f conftest.$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750 (eval $ac_compile) 2>&5
15751 ac_status=$?
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); } &&
15754 { ac_try='test -s conftest.$ac_objext'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15757 ac_status=$?
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; }; then
15760 ac_lo=$ac_mid; break
15761 else
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15764
15765 ac_hi=`expr '(' $ac_mid ')' - 1`
15766 if test $ac_mid -le $ac_hi; then
15767 ac_lo= ac_hi=
15768 break
15769 fi
15770 ac_mid=`expr 2 '*' $ac_mid`
15771 fi
15772 rm -f conftest.$ac_objext conftest.$ac_ext
15773 done
15774 else
15775 echo "$as_me: failed program was:" >&5
15776 sed 's/^/| /' conftest.$ac_ext >&5
15777
15778 ac_lo= ac_hi=
15779 fi
15780 rm -f conftest.$ac_objext conftest.$ac_ext
15781 fi
15782 rm -f conftest.$ac_objext conftest.$ac_ext
15783 # Binary search between lo and hi bounds.
15784 while test "x$ac_lo" != "x$ac_hi"; do
15785 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15786 cat >conftest.$ac_ext <<_ACEOF
15787 #line $LINENO "configure"
15788 /* confdefs.h. */
15789 _ACEOF
15790 cat confdefs.h >>conftest.$ac_ext
15791 cat >>conftest.$ac_ext <<_ACEOF
15792 /* end confdefs.h. */
15793 $ac_includes_default
15794 int
15795 main ()
15796 {
15797 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15798 test_array [0] = 0
15799
15800 ;
15801 return 0;
15802 }
15803 _ACEOF
15804 rm -f conftest.$ac_objext
15805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15806 (eval $ac_compile) 2>&5
15807 ac_status=$?
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } &&
15810 { ac_try='test -s conftest.$ac_objext'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15813 ac_status=$?
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; }; then
15816 ac_hi=$ac_mid
15817 else
15818 echo "$as_me: failed program was:" >&5
15819 sed 's/^/| /' conftest.$ac_ext >&5
15820
15821 ac_lo=`expr '(' $ac_mid ')' + 1`
15822 fi
15823 rm -f conftest.$ac_objext conftest.$ac_ext
15824 done
15825 case $ac_lo in
15826 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15827 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15828 See \`config.log' for more details." >&5
15829 echo "$as_me: error: cannot compute sizeof (long long), 77
15830 See \`config.log' for more details." >&2;}
15831 { (exit 1); exit 1; }; } ;;
15832 esac
15833 else
15834 if test "$cross_compiling" = yes; then
15835 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15836 See \`config.log' for more details." >&5
15837 echo "$as_me: error: cannot run test program while cross compiling
15838 See \`config.log' for more details." >&2;}
15839 { (exit 1); exit 1; }; }
15840 else
15841 cat >conftest.$ac_ext <<_ACEOF
15842 #line $LINENO "configure"
15843 /* confdefs.h. */
15844 _ACEOF
15845 cat confdefs.h >>conftest.$ac_ext
15846 cat >>conftest.$ac_ext <<_ACEOF
15847 /* end confdefs.h. */
15848 $ac_includes_default
15849 long longval () { return (long) (sizeof (long long)); }
15850 unsigned long ulongval () { return (long) (sizeof (long long)); }
15851 #include <stdio.h>
15852 #include <stdlib.h>
15853 int
15854 main ()
15855 {
15856
15857 FILE *f = fopen ("conftest.val", "w");
15858 if (! f)
15859 exit (1);
15860 if (((long) (sizeof (long long))) < 0)
15861 {
15862 long i = longval ();
15863 if (i != ((long) (sizeof (long long))))
15864 exit (1);
15865 fprintf (f, "%ld\n", i);
15866 }
15867 else
15868 {
15869 unsigned long i = ulongval ();
15870 if (i != ((long) (sizeof (long long))))
15871 exit (1);
15872 fprintf (f, "%lu\n", i);
15873 }
15874 exit (ferror (f) || fclose (f) != 0);
15875
15876 ;
15877 return 0;
15878 }
15879 _ACEOF
15880 rm -f conftest$ac_exeext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15882 (eval $ac_link) 2>&5
15883 ac_status=$?
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15888 ac_status=$?
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; }; then
15891 ac_cv_sizeof_long_long=`cat conftest.val`
15892 else
15893 echo "$as_me: program exited with status $ac_status" >&5
15894 echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15896
15897 ( exit $ac_status )
15898 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15899 See \`config.log' for more details." >&5
15900 echo "$as_me: error: cannot compute sizeof (long long), 77
15901 See \`config.log' for more details." >&2;}
15902 { (exit 1); exit 1; }; }
15903 fi
15904 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15905 fi
15906 fi
15907 rm -f conftest.val
15908 else
15909 ac_cv_sizeof_long_long=0
15910 fi
15911 fi
15912 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15913 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15914 cat >>confdefs.h <<_ACEOF
15915 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15916 _ACEOF
15917
15918
15919 ;;
15920 *-hp-hpux* )
15921 echo "$as_me:$LINENO: checking for long long" >&5
15922 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15923 if test "${ac_cv_type_long_long+set}" = set; then
15924 echo $ECHO_N "(cached) $ECHO_C" >&6
15925 else
15926 cat >conftest.$ac_ext <<_ACEOF
15927 #line $LINENO "configure"
15928 /* confdefs.h. */
15929 _ACEOF
15930 cat confdefs.h >>conftest.$ac_ext
15931 cat >>conftest.$ac_ext <<_ACEOF
15932 /* end confdefs.h. */
15933 $ac_includes_default
15934 int
15935 main ()
15936 {
15937 if ((long long *) 0)
15938 return 0;
15939 if (sizeof (long long))
15940 return 0;
15941 ;
15942 return 0;
15943 }
15944 _ACEOF
15945 rm -f conftest.$ac_objext
15946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15947 (eval $ac_compile) 2>&5
15948 ac_status=$?
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); } &&
15951 { ac_try='test -s conftest.$ac_objext'
15952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15953 (eval $ac_try) 2>&5
15954 ac_status=$?
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); }; }; then
15957 ac_cv_type_long_long=yes
15958 else
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.$ac_ext >&5
15961
15962 ac_cv_type_long_long=no
15963 fi
15964 rm -f conftest.$ac_objext conftest.$ac_ext
15965 fi
15966 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15967 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15968
15969 echo "$as_me:$LINENO: checking size of long long" >&5
15970 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15971 if test "${ac_cv_sizeof_long_long+set}" = set; then
15972 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 else
15974 if test "$ac_cv_type_long_long" = yes; then
15975 # The cast to unsigned long works around a bug in the HP C Compiler
15976 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15977 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15978 # This bug is HP SR number 8606223364.
15979 if test "$cross_compiling" = yes; then
15980 # Depending upon the size, compute the lo and hi bounds.
15981 cat >conftest.$ac_ext <<_ACEOF
15982 #line $LINENO "configure"
15983 /* confdefs.h. */
15984 _ACEOF
15985 cat confdefs.h >>conftest.$ac_ext
15986 cat >>conftest.$ac_ext <<_ACEOF
15987 /* end confdefs.h. */
15988 $ac_includes_default
15989 int
15990 main ()
15991 {
15992 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15993 test_array [0] = 0
15994
15995 ;
15996 return 0;
15997 }
15998 _ACEOF
15999 rm -f conftest.$ac_objext
16000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16001 (eval $ac_compile) 2>&5
16002 ac_status=$?
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } &&
16005 { ac_try='test -s conftest.$ac_objext'
16006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16007 (eval $ac_try) 2>&5
16008 ac_status=$?
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; }; then
16011 ac_lo=0 ac_mid=0
16012 while :; do
16013 cat >conftest.$ac_ext <<_ACEOF
16014 #line $LINENO "configure"
16015 /* confdefs.h. */
16016 _ACEOF
16017 cat confdefs.h >>conftest.$ac_ext
16018 cat >>conftest.$ac_ext <<_ACEOF
16019 /* end confdefs.h. */
16020 $ac_includes_default
16021 int
16022 main ()
16023 {
16024 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16025 test_array [0] = 0
16026
16027 ;
16028 return 0;
16029 }
16030 _ACEOF
16031 rm -f conftest.$ac_objext
16032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16033 (eval $ac_compile) 2>&5
16034 ac_status=$?
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } &&
16037 { ac_try='test -s conftest.$ac_objext'
16038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16039 (eval $ac_try) 2>&5
16040 ac_status=$?
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); }; }; then
16043 ac_hi=$ac_mid; break
16044 else
16045 echo "$as_me: failed program was:" >&5
16046 sed 's/^/| /' conftest.$ac_ext >&5
16047
16048 ac_lo=`expr $ac_mid + 1`
16049 if test $ac_lo -le $ac_mid; then
16050 ac_lo= ac_hi=
16051 break
16052 fi
16053 ac_mid=`expr 2 '*' $ac_mid + 1`
16054 fi
16055 rm -f conftest.$ac_objext conftest.$ac_ext
16056 done
16057 else
16058 echo "$as_me: failed program was:" >&5
16059 sed 's/^/| /' conftest.$ac_ext >&5
16060
16061 cat >conftest.$ac_ext <<_ACEOF
16062 #line $LINENO "configure"
16063 /* confdefs.h. */
16064 _ACEOF
16065 cat confdefs.h >>conftest.$ac_ext
16066 cat >>conftest.$ac_ext <<_ACEOF
16067 /* end confdefs.h. */
16068 $ac_includes_default
16069 int
16070 main ()
16071 {
16072 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16073 test_array [0] = 0
16074
16075 ;
16076 return 0;
16077 }
16078 _ACEOF
16079 rm -f conftest.$ac_objext
16080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16081 (eval $ac_compile) 2>&5
16082 ac_status=$?
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); } &&
16085 { ac_try='test -s conftest.$ac_objext'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16088 ac_status=$?
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; }; then
16091 ac_hi=-1 ac_mid=-1
16092 while :; do
16093 cat >conftest.$ac_ext <<_ACEOF
16094 #line $LINENO "configure"
16095 /* confdefs.h. */
16096 _ACEOF
16097 cat confdefs.h >>conftest.$ac_ext
16098 cat >>conftest.$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16100 $ac_includes_default
16101 int
16102 main ()
16103 {
16104 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16105 test_array [0] = 0
16106
16107 ;
16108 return 0;
16109 }
16110 _ACEOF
16111 rm -f conftest.$ac_objext
16112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16113 (eval $ac_compile) 2>&5
16114 ac_status=$?
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); } &&
16117 { ac_try='test -s conftest.$ac_objext'
16118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16119 (eval $ac_try) 2>&5
16120 ac_status=$?
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); }; }; then
16123 ac_lo=$ac_mid; break
16124 else
16125 echo "$as_me: failed program was:" >&5
16126 sed 's/^/| /' conftest.$ac_ext >&5
16127
16128 ac_hi=`expr '(' $ac_mid ')' - 1`
16129 if test $ac_mid -le $ac_hi; then
16130 ac_lo= ac_hi=
16131 break
16132 fi
16133 ac_mid=`expr 2 '*' $ac_mid`
16134 fi
16135 rm -f conftest.$ac_objext conftest.$ac_ext
16136 done
16137 else
16138 echo "$as_me: failed program was:" >&5
16139 sed 's/^/| /' conftest.$ac_ext >&5
16140
16141 ac_lo= ac_hi=
16142 fi
16143 rm -f conftest.$ac_objext conftest.$ac_ext
16144 fi
16145 rm -f conftest.$ac_objext conftest.$ac_ext
16146 # Binary search between lo and hi bounds.
16147 while test "x$ac_lo" != "x$ac_hi"; do
16148 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16149 cat >conftest.$ac_ext <<_ACEOF
16150 #line $LINENO "configure"
16151 /* confdefs.h. */
16152 _ACEOF
16153 cat confdefs.h >>conftest.$ac_ext
16154 cat >>conftest.$ac_ext <<_ACEOF
16155 /* end confdefs.h. */
16156 $ac_includes_default
16157 int
16158 main ()
16159 {
16160 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16161 test_array [0] = 0
16162
16163 ;
16164 return 0;
16165 }
16166 _ACEOF
16167 rm -f conftest.$ac_objext
16168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16169 (eval $ac_compile) 2>&5
16170 ac_status=$?
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); } &&
16173 { ac_try='test -s conftest.$ac_objext'
16174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16175 (eval $ac_try) 2>&5
16176 ac_status=$?
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; }; then
16179 ac_hi=$ac_mid
16180 else
16181 echo "$as_me: failed program was:" >&5
16182 sed 's/^/| /' conftest.$ac_ext >&5
16183
16184 ac_lo=`expr '(' $ac_mid ')' + 1`
16185 fi
16186 rm -f conftest.$ac_objext conftest.$ac_ext
16187 done
16188 case $ac_lo in
16189 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16190 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16191 See \`config.log' for more details." >&5
16192 echo "$as_me: error: cannot compute sizeof (long long), 77
16193 See \`config.log' for more details." >&2;}
16194 { (exit 1); exit 1; }; } ;;
16195 esac
16196 else
16197 if test "$cross_compiling" = yes; then
16198 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16199 See \`config.log' for more details." >&5
16200 echo "$as_me: error: cannot run test program while cross compiling
16201 See \`config.log' for more details." >&2;}
16202 { (exit 1); exit 1; }; }
16203 else
16204 cat >conftest.$ac_ext <<_ACEOF
16205 #line $LINENO "configure"
16206 /* confdefs.h. */
16207 _ACEOF
16208 cat confdefs.h >>conftest.$ac_ext
16209 cat >>conftest.$ac_ext <<_ACEOF
16210 /* end confdefs.h. */
16211 $ac_includes_default
16212 long longval () { return (long) (sizeof (long long)); }
16213 unsigned long ulongval () { return (long) (sizeof (long long)); }
16214 #include <stdio.h>
16215 #include <stdlib.h>
16216 int
16217 main ()
16218 {
16219
16220 FILE *f = fopen ("conftest.val", "w");
16221 if (! f)
16222 exit (1);
16223 if (((long) (sizeof (long long))) < 0)
16224 {
16225 long i = longval ();
16226 if (i != ((long) (sizeof (long long))))
16227 exit (1);
16228 fprintf (f, "%ld\n", i);
16229 }
16230 else
16231 {
16232 unsigned long i = ulongval ();
16233 if (i != ((long) (sizeof (long long))))
16234 exit (1);
16235 fprintf (f, "%lu\n", i);
16236 }
16237 exit (ferror (f) || fclose (f) != 0);
16238
16239 ;
16240 return 0;
16241 }
16242 _ACEOF
16243 rm -f conftest$ac_exeext
16244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16245 (eval $ac_link) 2>&5
16246 ac_status=$?
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 ac_cv_sizeof_long_long=`cat conftest.val`
16255 else
16256 echo "$as_me: program exited with status $ac_status" >&5
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.$ac_ext >&5
16259
16260 ( exit $ac_status )
16261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16262 See \`config.log' for more details." >&5
16263 echo "$as_me: error: cannot compute sizeof (long long), 77
16264 See \`config.log' for more details." >&2;}
16265 { (exit 1); exit 1; }; }
16266 fi
16267 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16268 fi
16269 fi
16270 rm -f conftest.val
16271 else
16272 ac_cv_sizeof_long_long=0
16273 fi
16274 fi
16275 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16276 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16277 cat >>confdefs.h <<_ACEOF
16278 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16279 _ACEOF
16280
16281
16282 if test "$ac_cv_sizeof_long_long" != "0"; then
16283 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16284 fi
16285 ;;
16286 * )
16287 echo "$as_me:$LINENO: checking for long long" >&5
16288 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16289 if test "${ac_cv_type_long_long+set}" = set; then
16290 echo $ECHO_N "(cached) $ECHO_C" >&6
16291 else
16292 cat >conftest.$ac_ext <<_ACEOF
16293 #line $LINENO "configure"
16294 /* confdefs.h. */
16295 _ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299 $ac_includes_default
16300 int
16301 main ()
16302 {
16303 if ((long long *) 0)
16304 return 0;
16305 if (sizeof (long long))
16306 return 0;
16307 ;
16308 return 0;
16309 }
16310 _ACEOF
16311 rm -f conftest.$ac_objext
16312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16313 (eval $ac_compile) 2>&5
16314 ac_status=$?
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); } &&
16317 { ac_try='test -s conftest.$ac_objext'
16318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16319 (eval $ac_try) 2>&5
16320 ac_status=$?
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); }; }; then
16323 ac_cv_type_long_long=yes
16324 else
16325 echo "$as_me: failed program was:" >&5
16326 sed 's/^/| /' conftest.$ac_ext >&5
16327
16328 ac_cv_type_long_long=no
16329 fi
16330 rm -f conftest.$ac_objext conftest.$ac_ext
16331 fi
16332 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16333 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16334
16335 echo "$as_me:$LINENO: checking size of long long" >&5
16336 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16337 if test "${ac_cv_sizeof_long_long+set}" = set; then
16338 echo $ECHO_N "(cached) $ECHO_C" >&6
16339 else
16340 if test "$ac_cv_type_long_long" = yes; then
16341 # The cast to unsigned long works around a bug in the HP C Compiler
16342 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16343 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16344 # This bug is HP SR number 8606223364.
16345 if test "$cross_compiling" = yes; then
16346 # Depending upon the size, compute the lo and hi bounds.
16347 cat >conftest.$ac_ext <<_ACEOF
16348 #line $LINENO "configure"
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354 $ac_includes_default
16355 int
16356 main ()
16357 {
16358 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16359 test_array [0] = 0
16360
16361 ;
16362 return 0;
16363 }
16364 _ACEOF
16365 rm -f conftest.$ac_objext
16366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16367 (eval $ac_compile) 2>&5
16368 ac_status=$?
16369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370 (exit $ac_status); } &&
16371 { ac_try='test -s conftest.$ac_objext'
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16374 ac_status=$?
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; }; then
16377 ac_lo=0 ac_mid=0
16378 while :; do
16379 cat >conftest.$ac_ext <<_ACEOF
16380 #line $LINENO "configure"
16381 /* confdefs.h. */
16382 _ACEOF
16383 cat confdefs.h >>conftest.$ac_ext
16384 cat >>conftest.$ac_ext <<_ACEOF
16385 /* end confdefs.h. */
16386 $ac_includes_default
16387 int
16388 main ()
16389 {
16390 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16391 test_array [0] = 0
16392
16393 ;
16394 return 0;
16395 }
16396 _ACEOF
16397 rm -f conftest.$ac_objext
16398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16399 (eval $ac_compile) 2>&5
16400 ac_status=$?
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); } &&
16403 { ac_try='test -s conftest.$ac_objext'
16404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16405 (eval $ac_try) 2>&5
16406 ac_status=$?
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); }; }; then
16409 ac_hi=$ac_mid; break
16410 else
16411 echo "$as_me: failed program was:" >&5
16412 sed 's/^/| /' conftest.$ac_ext >&5
16413
16414 ac_lo=`expr $ac_mid + 1`
16415 if test $ac_lo -le $ac_mid; then
16416 ac_lo= ac_hi=
16417 break
16418 fi
16419 ac_mid=`expr 2 '*' $ac_mid + 1`
16420 fi
16421 rm -f conftest.$ac_objext conftest.$ac_ext
16422 done
16423 else
16424 echo "$as_me: failed program was:" >&5
16425 sed 's/^/| /' conftest.$ac_ext >&5
16426
16427 cat >conftest.$ac_ext <<_ACEOF
16428 #line $LINENO "configure"
16429 /* confdefs.h. */
16430 _ACEOF
16431 cat confdefs.h >>conftest.$ac_ext
16432 cat >>conftest.$ac_ext <<_ACEOF
16433 /* end confdefs.h. */
16434 $ac_includes_default
16435 int
16436 main ()
16437 {
16438 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16439 test_array [0] = 0
16440
16441 ;
16442 return 0;
16443 }
16444 _ACEOF
16445 rm -f conftest.$ac_objext
16446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16447 (eval $ac_compile) 2>&5
16448 ac_status=$?
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); } &&
16451 { ac_try='test -s conftest.$ac_objext'
16452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16453 (eval $ac_try) 2>&5
16454 ac_status=$?
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); }; }; then
16457 ac_hi=-1 ac_mid=-1
16458 while :; do
16459 cat >conftest.$ac_ext <<_ACEOF
16460 #line $LINENO "configure"
16461 /* confdefs.h. */
16462 _ACEOF
16463 cat confdefs.h >>conftest.$ac_ext
16464 cat >>conftest.$ac_ext <<_ACEOF
16465 /* end confdefs.h. */
16466 $ac_includes_default
16467 int
16468 main ()
16469 {
16470 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16471 test_array [0] = 0
16472
16473 ;
16474 return 0;
16475 }
16476 _ACEOF
16477 rm -f conftest.$ac_objext
16478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16479 (eval $ac_compile) 2>&5
16480 ac_status=$?
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); } &&
16483 { ac_try='test -s conftest.$ac_objext'
16484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16485 (eval $ac_try) 2>&5
16486 ac_status=$?
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); }; }; then
16489 ac_lo=$ac_mid; break
16490 else
16491 echo "$as_me: failed program was:" >&5
16492 sed 's/^/| /' conftest.$ac_ext >&5
16493
16494 ac_hi=`expr '(' $ac_mid ')' - 1`
16495 if test $ac_mid -le $ac_hi; then
16496 ac_lo= ac_hi=
16497 break
16498 fi
16499 ac_mid=`expr 2 '*' $ac_mid`
16500 fi
16501 rm -f conftest.$ac_objext conftest.$ac_ext
16502 done
16503 else
16504 echo "$as_me: failed program was:" >&5
16505 sed 's/^/| /' conftest.$ac_ext >&5
16506
16507 ac_lo= ac_hi=
16508 fi
16509 rm -f conftest.$ac_objext conftest.$ac_ext
16510 fi
16511 rm -f conftest.$ac_objext conftest.$ac_ext
16512 # Binary search between lo and hi bounds.
16513 while test "x$ac_lo" != "x$ac_hi"; do
16514 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16515 cat >conftest.$ac_ext <<_ACEOF
16516 #line $LINENO "configure"
16517 /* confdefs.h. */
16518 _ACEOF
16519 cat confdefs.h >>conftest.$ac_ext
16520 cat >>conftest.$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16522 $ac_includes_default
16523 int
16524 main ()
16525 {
16526 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16527 test_array [0] = 0
16528
16529 ;
16530 return 0;
16531 }
16532 _ACEOF
16533 rm -f conftest.$ac_objext
16534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16535 (eval $ac_compile) 2>&5
16536 ac_status=$?
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); } &&
16539 { ac_try='test -s conftest.$ac_objext'
16540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16541 (eval $ac_try) 2>&5
16542 ac_status=$?
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); }; }; then
16545 ac_hi=$ac_mid
16546 else
16547 echo "$as_me: failed program was:" >&5
16548 sed 's/^/| /' conftest.$ac_ext >&5
16549
16550 ac_lo=`expr '(' $ac_mid ')' + 1`
16551 fi
16552 rm -f conftest.$ac_objext conftest.$ac_ext
16553 done
16554 case $ac_lo in
16555 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16556 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16557 See \`config.log' for more details." >&5
16558 echo "$as_me: error: cannot compute sizeof (long long), 77
16559 See \`config.log' for more details." >&2;}
16560 { (exit 1); exit 1; }; } ;;
16561 esac
16562 else
16563 if test "$cross_compiling" = yes; then
16564 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16565 See \`config.log' for more details." >&5
16566 echo "$as_me: error: cannot run test program while cross compiling
16567 See \`config.log' for more details." >&2;}
16568 { (exit 1); exit 1; }; }
16569 else
16570 cat >conftest.$ac_ext <<_ACEOF
16571 #line $LINENO "configure"
16572 /* confdefs.h. */
16573 _ACEOF
16574 cat confdefs.h >>conftest.$ac_ext
16575 cat >>conftest.$ac_ext <<_ACEOF
16576 /* end confdefs.h. */
16577 $ac_includes_default
16578 long longval () { return (long) (sizeof (long long)); }
16579 unsigned long ulongval () { return (long) (sizeof (long long)); }
16580 #include <stdio.h>
16581 #include <stdlib.h>
16582 int
16583 main ()
16584 {
16585
16586 FILE *f = fopen ("conftest.val", "w");
16587 if (! f)
16588 exit (1);
16589 if (((long) (sizeof (long long))) < 0)
16590 {
16591 long i = longval ();
16592 if (i != ((long) (sizeof (long long))))
16593 exit (1);
16594 fprintf (f, "%ld\n", i);
16595 }
16596 else
16597 {
16598 unsigned long i = ulongval ();
16599 if (i != ((long) (sizeof (long long))))
16600 exit (1);
16601 fprintf (f, "%lu\n", i);
16602 }
16603 exit (ferror (f) || fclose (f) != 0);
16604
16605 ;
16606 return 0;
16607 }
16608 _ACEOF
16609 rm -f conftest$ac_exeext
16610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16611 (eval $ac_link) 2>&5
16612 ac_status=$?
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16617 ac_status=$?
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; }; then
16620 ac_cv_sizeof_long_long=`cat conftest.val`
16621 else
16622 echo "$as_me: program exited with status $ac_status" >&5
16623 echo "$as_me: failed program was:" >&5
16624 sed 's/^/| /' conftest.$ac_ext >&5
16625
16626 ( exit $ac_status )
16627 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16628 See \`config.log' for more details." >&5
16629 echo "$as_me: error: cannot compute sizeof (long long), 77
16630 See \`config.log' for more details." >&2;}
16631 { (exit 1); exit 1; }; }
16632 fi
16633 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16634 fi
16635 fi
16636 rm -f conftest.val
16637 else
16638 ac_cv_sizeof_long_long=0
16639 fi
16640 fi
16641 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16642 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16643 cat >>confdefs.h <<_ACEOF
16644 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16645 _ACEOF
16646
16647
16648 esac
16649
16650 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16651 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16652 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16653 echo $ECHO_N "(cached) $ECHO_C" >&6
16654 else
16655
16656 if test "$cross_compiling" = yes; then
16657
16658 case "${host}" in
16659 *-pc-msdosdjgpp )
16660 wx_cv_sizeof_wchar_t=0
16661 ;;
16662 * )
16663 wx_cv_sizeof_wchar_t=4
16664 ;;
16665 esac
16666
16667
16668 else
16669 cat >conftest.$ac_ext <<_ACEOF
16670 #line $LINENO "configure"
16671 /* confdefs.h. */
16672 _ACEOF
16673 cat confdefs.h >>conftest.$ac_ext
16674 cat >>conftest.$ac_ext <<_ACEOF
16675 /* end confdefs.h. */
16676
16677 /* DJGPP only has fake wchar_t: */
16678 #ifdef __DJGPP__
16679 # error "fake wchar_t"
16680 #endif
16681 #ifdef HAVE_WCHAR_H
16682 # ifdef __CYGWIN__
16683 # include <stddef.h>
16684 # endif
16685 # include <wchar.h>
16686 #endif
16687 #ifdef HAVE_STDLIB_H
16688 # include <stdlib.h>
16689 #endif
16690 #include <stdio.h>
16691 int main()
16692 {
16693 FILE *f=fopen("conftestval", "w");
16694 if (!f) exit(1);
16695 fprintf(f, "%i", sizeof(wchar_t));
16696 exit(0);
16697 }
16698
16699 _ACEOF
16700 rm -f conftest$ac_exeext
16701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16702 (eval $ac_link) 2>&5
16703 ac_status=$?
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16707 (eval $ac_try) 2>&5
16708 ac_status=$?
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); }; }; then
16711 wx_cv_sizeof_wchar_t=`cat conftestval`
16712 else
16713 echo "$as_me: program exited with status $ac_status" >&5
16714 echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.$ac_ext >&5
16716
16717 ( exit $ac_status )
16718 wx_cv_sizeof_wchar_t=0
16719 fi
16720 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16721 fi
16722
16723 fi
16724 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16725 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16726
16727 cat >>confdefs.h <<_ACEOF
16728 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16729 _ACEOF
16730
16731
16732 # Check whether --enable-largefile or --disable-largefile was given.
16733 if test "${enable_largefile+set}" = set; then
16734 enableval="$enable_largefile"
16735
16736 fi;
16737 if test "$enable_largefile" != no; then
16738 wx_largefile=no
16739
16740 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16741 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16742 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16743 echo $ECHO_N "(cached) $ECHO_C" >&6
16744 else
16745
16746 cat >conftest.$ac_ext <<_ACEOF
16747 #line $LINENO "configure"
16748 /* confdefs.h. */
16749 _ACEOF
16750 cat confdefs.h >>conftest.$ac_ext
16751 cat >>conftest.$ac_ext <<_ACEOF
16752 /* end confdefs.h. */
16753 #define _FILE_OFFSET_BITS 64
16754 #include <sys/types.h>
16755 int
16756 main ()
16757 {
16758 typedef struct {
16759 unsigned int field: sizeof(off_t) == 8;
16760 } wxlf;
16761
16762 ;
16763 return 0;
16764 }
16765 _ACEOF
16766 rm -f conftest.$ac_objext
16767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16768 (eval $ac_compile) 2>&5
16769 ac_status=$?
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } &&
16772 { ac_try='test -s conftest.$ac_objext'
16773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16774 (eval $ac_try) 2>&5
16775 ac_status=$?
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); }; }; then
16778 ac_cv_sys_file_offset_bits=64
16779 else
16780 echo "$as_me: failed program was:" >&5
16781 sed 's/^/| /' conftest.$ac_ext >&5
16782
16783 ac_cv_sys_file_offset_bits=no
16784 fi
16785 rm -f conftest.$ac_objext conftest.$ac_ext
16786
16787
16788 fi
16789 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16790 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16791
16792 if test "$ac_cv_sys_file_offset_bits" != no; then
16793 wx_largefile=yes
16794 cat >>confdefs.h <<_ACEOF
16795 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16796 _ACEOF
16797
16798 fi
16799
16800 if test "x$wx_largefile" != "xyes"; then
16801
16802 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16803 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16804 if test "${ac_cv_sys_large_files+set}" = set; then
16805 echo $ECHO_N "(cached) $ECHO_C" >&6
16806 else
16807
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 #define _LARGE_FILES 1
16816 #include <sys/types.h>
16817 int
16818 main ()
16819 {
16820 typedef struct {
16821 unsigned int field: sizeof(off_t) == 8;
16822 } wxlf;
16823
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_sys_large_files=1
16841 else
16842 echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
16844
16845 ac_cv_sys_large_files=no
16846 fi
16847 rm -f conftest.$ac_objext conftest.$ac_ext
16848
16849
16850 fi
16851 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16852 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16853
16854 if test "$ac_cv_sys_large_files" != no; then
16855 wx_largefile=yes
16856 cat >>confdefs.h <<_ACEOF
16857 #define _LARGE_FILES $ac_cv_sys_large_files
16858 _ACEOF
16859
16860 fi
16861
16862 fi
16863
16864 echo "$as_me:$LINENO: checking if large file support is available" >&5
16865 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16866 if test "x$wx_largefile" = "xyes"; then
16867 cat >>confdefs.h <<\_ACEOF
16868 #define HAVE_LARGEFILE_SUPPORT 1
16869 _ACEOF
16870
16871 fi
16872 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16873 echo "${ECHO_T}$wx_largefile" >&6
16874 fi
16875
16876
16877 if test "x$wx_largefile" = "xyes"; then
16878 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16879 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16880 else
16881 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16882 fi
16883 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16884 fi
16885
16886 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16887 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16888 if test "${ac_cv_c_bigendian+set}" = set; then
16889 echo $ECHO_N "(cached) $ECHO_C" >&6
16890 else
16891 ac_cv_c_bigendian=unknown
16892 # See if sys/param.h defines the BYTE_ORDER macro.
16893 cat >conftest.$ac_ext <<_ACEOF
16894 #line $LINENO "configure"
16895 /* confdefs.h. */
16896 _ACEOF
16897 cat confdefs.h >>conftest.$ac_ext
16898 cat >>conftest.$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900 #include <sys/types.h>
16901 #include <sys/param.h>
16902 int
16903 main ()
16904 {
16905
16906 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16907 bogus endian macros
16908 #endif
16909 ;
16910 return 0;
16911 }
16912 _ACEOF
16913 rm -f conftest.$ac_objext
16914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16915 (eval $ac_compile) 2>&5
16916 ac_status=$?
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); } &&
16919 { ac_try='test -s conftest.$ac_objext'
16920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921 (eval $ac_try) 2>&5
16922 ac_status=$?
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); }; }; then
16925 # It does; now see whether it defined to BIG_ENDIAN or not.
16926 cat >conftest.$ac_ext <<_ACEOF
16927 #line $LINENO "configure"
16928 /* confdefs.h. */
16929 _ACEOF
16930 cat confdefs.h >>conftest.$ac_ext
16931 cat >>conftest.$ac_ext <<_ACEOF
16932 /* end confdefs.h. */
16933 #include <sys/types.h>
16934 #include <sys/param.h>
16935 int
16936 main ()
16937 {
16938
16939 #if BYTE_ORDER != BIG_ENDIAN
16940 not big endian
16941 #endif
16942 ;
16943 return 0;
16944 }
16945 _ACEOF
16946 rm -f conftest.$ac_objext
16947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16948 (eval $ac_compile) 2>&5
16949 ac_status=$?
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); } &&
16952 { ac_try='test -s conftest.$ac_objext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16955 ac_status=$?
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 ac_cv_c_bigendian=yes
16959 else
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.$ac_ext >&5
16962
16963 ac_cv_c_bigendian=no
16964 fi
16965 rm -f conftest.$ac_objext conftest.$ac_ext
16966 else
16967 echo "$as_me: failed program was:" >&5
16968 sed 's/^/| /' conftest.$ac_ext >&5
16969
16970 fi
16971 rm -f conftest.$ac_objext conftest.$ac_ext
16972 if test $ac_cv_c_bigendian = unknown; then
16973 if test "$cross_compiling" = yes; then
16974 ac_cv_c_bigendian=unknown
16975 else
16976 cat >conftest.$ac_ext <<_ACEOF
16977 #line $LINENO "configure"
16978 /* confdefs.h. */
16979 _ACEOF
16980 cat confdefs.h >>conftest.$ac_ext
16981 cat >>conftest.$ac_ext <<_ACEOF
16982 /* end confdefs.h. */
16983 main () {
16984 /* Are we little or big endian? From Harbison&Steele. */
16985 union
16986 {
16987 long l;
16988 char c[sizeof (long)];
16989 } u;
16990 u.l = 1;
16991 exit (u.c[sizeof (long) - 1] == 1);
16992 }
16993 _ACEOF
16994 rm -f conftest$ac_exeext
16995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16996 (eval $ac_link) 2>&5
16997 ac_status=$?
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17001 (eval $ac_try) 2>&5
17002 ac_status=$?
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; }; then
17005 ac_cv_c_bigendian=no
17006 else
17007 echo "$as_me: program exited with status $ac_status" >&5
17008 echo "$as_me: failed program was:" >&5
17009 sed 's/^/| /' conftest.$ac_ext >&5
17010
17011 ( exit $ac_status )
17012 ac_cv_c_bigendian=yes
17013 fi
17014 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17015 fi
17016 fi
17017 fi
17018 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17019 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17020 if test $ac_cv_c_bigendian = unknown; then
17021 { 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
17022 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;}
17023 fi
17024 if test $ac_cv_c_bigendian = yes; then
17025 cat >>confdefs.h <<\_ACEOF
17026 #define WORDS_BIGENDIAN 1
17027 _ACEOF
17028
17029 fi
17030
17031
17032
17033 ac_ext=cc
17034 ac_cpp='$CXXCPP $CPPFLAGS'
17035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17038 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17039 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17040 if test -z "$CXXCPP"; then
17041 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17042 echo $ECHO_N "(cached) $ECHO_C" >&6
17043 else
17044 # Double quotes because CXXCPP needs to be expanded
17045 for CXXCPP in "$CXX -E" "/lib/cpp"
17046 do
17047 ac_preproc_ok=false
17048 for ac_cxx_preproc_warn_flag in '' yes
17049 do
17050 # Use a header file that comes with gcc, so configuring glibc
17051 # with a fresh cross-compiler works.
17052 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17053 # <limits.h> exists even on freestanding compilers.
17054 # On the NeXT, cc -E runs the code through the compiler's parser,
17055 # not just through cpp. "Syntax error" is here to catch this case.
17056 cat >conftest.$ac_ext <<_ACEOF
17057 #line $LINENO "configure"
17058 /* confdefs.h. */
17059 _ACEOF
17060 cat confdefs.h >>conftest.$ac_ext
17061 cat >>conftest.$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17063 #ifdef __STDC__
17064 # include <limits.h>
17065 #else
17066 # include <assert.h>
17067 #endif
17068 Syntax error
17069 _ACEOF
17070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17071 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17072 ac_status=$?
17073 grep -v '^ *+' conftest.er1 >conftest.err
17074 rm -f conftest.er1
17075 cat conftest.err >&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); } >/dev/null; then
17078 if test -s conftest.err; then
17079 ac_cpp_err=$ac_cxx_preproc_warn_flag
17080 else
17081 ac_cpp_err=
17082 fi
17083 else
17084 ac_cpp_err=yes
17085 fi
17086 if test -z "$ac_cpp_err"; then
17087 :
17088 else
17089 echo "$as_me: failed program was:" >&5
17090 sed 's/^/| /' conftest.$ac_ext >&5
17091
17092 # Broken: fails on valid input.
17093 continue
17094 fi
17095 rm -f conftest.err conftest.$ac_ext
17096
17097 # OK, works on sane cases. Now check whether non-existent headers
17098 # can be detected and how.
17099 cat >conftest.$ac_ext <<_ACEOF
17100 #line $LINENO "configure"
17101 /* confdefs.h. */
17102 _ACEOF
17103 cat confdefs.h >>conftest.$ac_ext
17104 cat >>conftest.$ac_ext <<_ACEOF
17105 /* end confdefs.h. */
17106 #include <ac_nonexistent.h>
17107 _ACEOF
17108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17109 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17110 ac_status=$?
17111 grep -v '^ *+' conftest.er1 >conftest.err
17112 rm -f conftest.er1
17113 cat conftest.err >&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } >/dev/null; then
17116 if test -s conftest.err; then
17117 ac_cpp_err=$ac_cxx_preproc_warn_flag
17118 else
17119 ac_cpp_err=
17120 fi
17121 else
17122 ac_cpp_err=yes
17123 fi
17124 if test -z "$ac_cpp_err"; then
17125 # Broken: success on invalid input.
17126 continue
17127 else
17128 echo "$as_me: failed program was:" >&5
17129 sed 's/^/| /' conftest.$ac_ext >&5
17130
17131 # Passes both tests.
17132 ac_preproc_ok=:
17133 break
17134 fi
17135 rm -f conftest.err conftest.$ac_ext
17136
17137 done
17138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17139 rm -f conftest.err conftest.$ac_ext
17140 if $ac_preproc_ok; then
17141 break
17142 fi
17143
17144 done
17145 ac_cv_prog_CXXCPP=$CXXCPP
17146
17147 fi
17148 CXXCPP=$ac_cv_prog_CXXCPP
17149 else
17150 ac_cv_prog_CXXCPP=$CXXCPP
17151 fi
17152 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17153 echo "${ECHO_T}$CXXCPP" >&6
17154 ac_preproc_ok=false
17155 for ac_cxx_preproc_warn_flag in '' yes
17156 do
17157 # Use a header file that comes with gcc, so configuring glibc
17158 # with a fresh cross-compiler works.
17159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17160 # <limits.h> exists even on freestanding compilers.
17161 # On the NeXT, cc -E runs the code through the compiler's parser,
17162 # not just through cpp. "Syntax error" is here to catch this case.
17163 cat >conftest.$ac_ext <<_ACEOF
17164 #line $LINENO "configure"
17165 /* confdefs.h. */
17166 _ACEOF
17167 cat confdefs.h >>conftest.$ac_ext
17168 cat >>conftest.$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170 #ifdef __STDC__
17171 # include <limits.h>
17172 #else
17173 # include <assert.h>
17174 #endif
17175 Syntax error
17176 _ACEOF
17177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17179 ac_status=$?
17180 grep -v '^ *+' conftest.er1 >conftest.err
17181 rm -f conftest.er1
17182 cat conftest.err >&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); } >/dev/null; then
17185 if test -s conftest.err; then
17186 ac_cpp_err=$ac_cxx_preproc_warn_flag
17187 else
17188 ac_cpp_err=
17189 fi
17190 else
17191 ac_cpp_err=yes
17192 fi
17193 if test -z "$ac_cpp_err"; then
17194 :
17195 else
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.$ac_ext >&5
17198
17199 # Broken: fails on valid input.
17200 continue
17201 fi
17202 rm -f conftest.err conftest.$ac_ext
17203
17204 # OK, works on sane cases. Now check whether non-existent headers
17205 # can be detected and how.
17206 cat >conftest.$ac_ext <<_ACEOF
17207 #line $LINENO "configure"
17208 /* confdefs.h. */
17209 _ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17213 #include <ac_nonexistent.h>
17214 _ACEOF
17215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17217 ac_status=$?
17218 grep -v '^ *+' conftest.er1 >conftest.err
17219 rm -f conftest.er1
17220 cat conftest.err >&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); } >/dev/null; then
17223 if test -s conftest.err; then
17224 ac_cpp_err=$ac_cxx_preproc_warn_flag
17225 else
17226 ac_cpp_err=
17227 fi
17228 else
17229 ac_cpp_err=yes
17230 fi
17231 if test -z "$ac_cpp_err"; then
17232 # Broken: success on invalid input.
17233 continue
17234 else
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.$ac_ext >&5
17237
17238 # Passes both tests.
17239 ac_preproc_ok=:
17240 break
17241 fi
17242 rm -f conftest.err conftest.$ac_ext
17243
17244 done
17245 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17246 rm -f conftest.err conftest.$ac_ext
17247 if $ac_preproc_ok; then
17248 :
17249 else
17250 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17251 See \`config.log' for more details." >&5
17252 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17253 See \`config.log' for more details." >&2;}
17254 { (exit 1); exit 1; }; }
17255 fi
17256
17257 ac_ext=cc
17258 ac_cpp='$CXXCPP $CPPFLAGS'
17259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17262
17263
17264
17265 if test "$cross_compiling" = "yes"; then
17266 cat >>confdefs.h <<\_ACEOF
17267 #define wxUSE_IOSTREAMH 1
17268 _ACEOF
17269
17270 else
17271
17272
17273 ac_ext=cc
17274 ac_cpp='$CXXCPP $CPPFLAGS'
17275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17278
17279
17280
17281 for ac_header in iostream
17282 do
17283 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17285 echo "$as_me:$LINENO: checking for $ac_header" >&5
17286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 fi
17290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17292 else
17293 # Is the header compilable?
17294 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17295 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17296 cat >conftest.$ac_ext <<_ACEOF
17297 #line $LINENO "configure"
17298 /* confdefs.h. */
17299 _ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303 $ac_includes_default
17304 #include <$ac_header>
17305 _ACEOF
17306 rm -f conftest.$ac_objext
17307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17308 (eval $ac_compile) 2>&5
17309 ac_status=$?
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } &&
17312 { ac_try='test -s conftest.$ac_objext'
17313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17314 (eval $ac_try) 2>&5
17315 ac_status=$?
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); }; }; then
17318 ac_header_compiler=yes
17319 else
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.$ac_ext >&5
17322
17323 ac_header_compiler=no
17324 fi
17325 rm -f conftest.$ac_objext conftest.$ac_ext
17326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17327 echo "${ECHO_T}$ac_header_compiler" >&6
17328
17329 # Is the header present?
17330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17332 cat >conftest.$ac_ext <<_ACEOF
17333 #line $LINENO "configure"
17334 /* confdefs.h. */
17335 _ACEOF
17336 cat confdefs.h >>conftest.$ac_ext
17337 cat >>conftest.$ac_ext <<_ACEOF
17338 /* end confdefs.h. */
17339 #include <$ac_header>
17340 _ACEOF
17341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17343 ac_status=$?
17344 grep -v '^ *+' conftest.er1 >conftest.err
17345 rm -f conftest.er1
17346 cat conftest.err >&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } >/dev/null; then
17349 if test -s conftest.err; then
17350 ac_cpp_err=$ac_cxx_preproc_warn_flag
17351 else
17352 ac_cpp_err=
17353 fi
17354 else
17355 ac_cpp_err=yes
17356 fi
17357 if test -z "$ac_cpp_err"; then
17358 ac_header_preproc=yes
17359 else
17360 echo "$as_me: failed program was:" >&5
17361 sed 's/^/| /' conftest.$ac_ext >&5
17362
17363 ac_header_preproc=no
17364 fi
17365 rm -f conftest.err conftest.$ac_ext
17366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17367 echo "${ECHO_T}$ac_header_preproc" >&6
17368
17369 # So? What about this header?
17370 case $ac_header_compiler:$ac_header_preproc in
17371 yes:no )
17372 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17375 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17376 (
17377 cat <<\_ASBOX
17378 ## ------------------------------------ ##
17379 ## Report this to bug-autoconf@gnu.org. ##
17380 ## ------------------------------------ ##
17381 _ASBOX
17382 ) |
17383 sed "s/^/$as_me: WARNING: /" >&2
17384 ;;
17385 no:yes )
17386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17392 (
17393 cat <<\_ASBOX
17394 ## ------------------------------------ ##
17395 ## Report this to bug-autoconf@gnu.org. ##
17396 ## ------------------------------------ ##
17397 _ASBOX
17398 ) |
17399 sed "s/^/$as_me: WARNING: /" >&2
17400 ;;
17401 esac
17402 echo "$as_me:$LINENO: checking for $ac_header" >&5
17403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17405 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 else
17407 eval "$as_ac_Header=$ac_header_preproc"
17408 fi
17409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17411
17412 fi
17413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17414 cat >>confdefs.h <<_ACEOF
17415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17416 _ACEOF
17417
17418 fi
17419
17420 done
17421
17422
17423 if test "$ac_cv_header_iostream" = "yes" ; then
17424 :
17425 else
17426 cat >>confdefs.h <<\_ACEOF
17427 #define wxUSE_IOSTREAMH 1
17428 _ACEOF
17429
17430 fi
17431
17432 ac_ext=c
17433 ac_cpp='$CPP $CPPFLAGS'
17434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17437
17438 fi
17439
17440
17441
17442 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17443 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17444 if test "${wx_cv_cpp_bool+set}" = set; then
17445 echo $ECHO_N "(cached) $ECHO_C" >&6
17446 else
17447
17448
17449
17450 ac_ext=cc
17451 ac_cpp='$CXXCPP $CPPFLAGS'
17452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17455
17456
17457 cat >conftest.$ac_ext <<_ACEOF
17458 #line $LINENO "configure"
17459 /* confdefs.h. */
17460 _ACEOF
17461 cat confdefs.h >>conftest.$ac_ext
17462 cat >>conftest.$ac_ext <<_ACEOF
17463 /* end confdefs.h. */
17464
17465
17466 int
17467 main ()
17468 {
17469
17470 bool b = true;
17471
17472 return 0;
17473
17474 ;
17475 return 0;
17476 }
17477 _ACEOF
17478 rm -f conftest.$ac_objext
17479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17480 (eval $ac_compile) 2>&5
17481 ac_status=$?
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); } &&
17484 { ac_try='test -s conftest.$ac_objext'
17485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17486 (eval $ac_try) 2>&5
17487 ac_status=$?
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); }; }; then
17490
17491 wx_cv_cpp_bool=yes
17492
17493 else
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.$ac_ext >&5
17496
17497
17498 wx_cv_cpp_bool=no
17499
17500
17501 fi
17502 rm -f conftest.$ac_objext conftest.$ac_ext
17503
17504 ac_ext=c
17505 ac_cpp='$CPP $CPPFLAGS'
17506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17509
17510
17511 fi
17512 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17513 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17514
17515 if test "$wx_cv_cpp_bool" = "yes"; then
17516 cat >>confdefs.h <<\_ACEOF
17517 #define HAVE_BOOL 1
17518 _ACEOF
17519
17520 fi
17521
17522
17523
17524 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17525 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17526 if test "${wx_cv_explicit+set}" = set; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 else
17529
17530
17531
17532 ac_ext=cc
17533 ac_cpp='$CXXCPP $CPPFLAGS'
17534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17537
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 class Foo { public: explicit Foo(int) {} };
17548
17549 int
17550 main ()
17551 {
17552
17553 return 0;
17554
17555 ;
17556 return 0;
17557 }
17558 _ACEOF
17559 rm -f conftest.$ac_objext
17560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17561 (eval $ac_compile) 2>&5
17562 ac_status=$?
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } &&
17565 { ac_try='test -s conftest.$ac_objext'
17566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17567 (eval $ac_try) 2>&5
17568 ac_status=$?
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; }; then
17571
17572 cat >conftest.$ac_ext <<_ACEOF
17573 #line $LINENO "configure"
17574 /* confdefs.h. */
17575 _ACEOF
17576 cat confdefs.h >>conftest.$ac_ext
17577 cat >>conftest.$ac_ext <<_ACEOF
17578 /* end confdefs.h. */
17579
17580 class Foo { public: explicit Foo(int) {} };
17581 static void TakeFoo(const Foo& foo) { }
17582
17583 int
17584 main ()
17585 {
17586
17587 TakeFoo(17);
17588 return 0;
17589
17590 ;
17591 return 0;
17592 }
17593 _ACEOF
17594 rm -f conftest.$ac_objext
17595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17596 (eval $ac_compile) 2>&5
17597 ac_status=$?
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } &&
17600 { ac_try='test -s conftest.$ac_objext'
17601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17602 (eval $ac_try) 2>&5
17603 ac_status=$?
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); }; }; then
17606 wx_cv_explicit=no
17607 else
17608 echo "$as_me: failed program was:" >&5
17609 sed 's/^/| /' conftest.$ac_ext >&5
17610
17611 wx_cv_explicit=yes
17612
17613 fi
17614 rm -f conftest.$ac_objext conftest.$ac_ext
17615
17616 else
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17619
17620 wx_cv_explicit=no
17621
17622 fi
17623 rm -f conftest.$ac_objext conftest.$ac_ext
17624
17625 ac_ext=c
17626 ac_cpp='$CPP $CPPFLAGS'
17627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17630
17631
17632 fi
17633 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17634 echo "${ECHO_T}$wx_cv_explicit" >&6
17635
17636 if test "$wx_cv_explicit" = "yes"; then
17637 cat >>confdefs.h <<\_ACEOF
17638 #define HAVE_EXPLICIT 1
17639 _ACEOF
17640
17641 fi
17642
17643
17644 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17645 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17646 if test "${ac_cv_cxx_const_cast+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 else
17649
17650
17651 ac_ext=cc
17652 ac_cpp='$CXXCPP $CPPFLAGS'
17653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17656
17657 cat >conftest.$ac_ext <<_ACEOF
17658 #line $LINENO "configure"
17659 /* confdefs.h. */
17660 _ACEOF
17661 cat confdefs.h >>conftest.$ac_ext
17662 cat >>conftest.$ac_ext <<_ACEOF
17663 /* end confdefs.h. */
17664
17665 int
17666 main ()
17667 {
17668 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17669 ;
17670 return 0;
17671 }
17672 _ACEOF
17673 rm -f conftest.$ac_objext
17674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17675 (eval $ac_compile) 2>&5
17676 ac_status=$?
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); } &&
17679 { ac_try='test -s conftest.$ac_objext'
17680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17681 (eval $ac_try) 2>&5
17682 ac_status=$?
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); }; }; then
17685 ac_cv_cxx_const_cast=yes
17686 else
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.$ac_ext >&5
17689
17690 ac_cv_cxx_const_cast=no
17691 fi
17692 rm -f conftest.$ac_objext conftest.$ac_ext
17693 ac_ext=c
17694 ac_cpp='$CPP $CPPFLAGS'
17695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17698
17699
17700 fi
17701 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17702 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17703 if test "$ac_cv_cxx_const_cast" = yes; then
17704
17705 cat >>confdefs.h <<\_ACEOF
17706 #define HAVE_CONST_CAST
17707 _ACEOF
17708
17709 fi
17710
17711
17712 if test "$wxUSE_STL" = "yes"; then
17713 ac_ext=cc
17714 ac_cpp='$CXXCPP $CPPFLAGS'
17715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17718
17719
17720 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17721 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17722 cat >conftest.$ac_ext <<_ACEOF
17723 #line $LINENO "configure"
17724 /* confdefs.h. */
17725 _ACEOF
17726 cat confdefs.h >>conftest.$ac_ext
17727 cat >>conftest.$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 #include <string>
17730 #include <functional>
17731 #include <algorithm>
17732 #include <vector>
17733 #include <list>
17734 int
17735 main ()
17736 {
17737 std::vector<int> moo;
17738 std::list<int> foo;
17739 std::vector<int>::iterator it =
17740 std::find_if(moo.begin(), moo.end(),
17741 std::bind2nd(std::less<int>(), 3));
17742 ;
17743 return 0;
17744 }
17745 _ACEOF
17746 rm -f conftest.$ac_objext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17748 (eval $ac_compile) 2>&5
17749 ac_status=$?
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); } &&
17752 { ac_try='test -s conftest.$ac_objext'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17755 ac_status=$?
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; }; then
17758 echo "$as_me:$LINENO: result: yes" >&5
17759 echo "${ECHO_T}yes" >&6
17760 else
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.$ac_ext >&5
17763
17764 echo "$as_me:$LINENO: result: no" >&5
17765 echo "${ECHO_T}no" >&6
17766 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17767 echo "$as_me: error: Basic STL functionality missing" >&2;}
17768 { (exit 1); exit 1; }; }
17769 fi
17770 rm -f conftest.$ac_objext conftest.$ac_ext
17771
17772 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17773 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17774 cat >conftest.$ac_ext <<_ACEOF
17775 #line $LINENO "configure"
17776 /* confdefs.h. */
17777 _ACEOF
17778 cat confdefs.h >>conftest.$ac_ext
17779 cat >>conftest.$ac_ext <<_ACEOF
17780 /* end confdefs.h. */
17781 #include <string>
17782 int
17783 main ()
17784 {
17785 std::wstring foo;
17786 ;
17787 return 0;
17788 }
17789 _ACEOF
17790 rm -f conftest.$ac_objext
17791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17792 (eval $ac_compile) 2>&5
17793 ac_status=$?
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); } &&
17796 { ac_try='test -s conftest.$ac_objext'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17799 ac_status=$?
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; }; then
17802 echo "$as_me:$LINENO: result: yes" >&5
17803 echo "${ECHO_T}yes" >&6
17804 cat >>confdefs.h <<\_ACEOF
17805 #define HAVE_STD_WSTRING 1
17806 _ACEOF
17807
17808 else
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17811
17812 echo "$as_me:$LINENO: result: no" >&5
17813 echo "${ECHO_T}no" >&6
17814 fi
17815 rm -f conftest.$ac_objext conftest.$ac_ext
17816
17817 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17818 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17819 cat >conftest.$ac_ext <<_ACEOF
17820 #line $LINENO "configure"
17821 /* confdefs.h. */
17822 _ACEOF
17823 cat confdefs.h >>conftest.$ac_ext
17824 cat >>conftest.$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17826 #include <string>
17827 int
17828 main ()
17829 {
17830 std::string foo, bar;
17831 foo.compare(bar);
17832 foo.compare(1, 1, bar);
17833 foo.compare(1, 1, bar, 1, 1);
17834 foo.compare("");
17835 foo.compare(1, 1, "");
17836 foo.compare(1, 1, "", 2);
17837 ;
17838 return 0;
17839 }
17840 _ACEOF
17841 rm -f conftest.$ac_objext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17843 (eval $ac_compile) 2>&5
17844 ac_status=$?
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); } &&
17847 { ac_try='test -s conftest.$ac_objext'
17848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17849 (eval $ac_try) 2>&5
17850 ac_status=$?
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; }; then
17853 echo "$as_me:$LINENO: result: yes" >&5
17854 echo "${ECHO_T}yes" >&6
17855 cat >>confdefs.h <<\_ACEOF
17856 #define HAVE_STD_STRING_COMPARE 1
17857 _ACEOF
17858
17859 else
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.$ac_ext >&5
17862
17863 echo "$as_me:$LINENO: result: no" >&5
17864 echo "${ECHO_T}no" >&6
17865 fi
17866 rm -f conftest.$ac_objext conftest.$ac_ext
17867
17868 ac_ext=c
17869 ac_cpp='$CPP $CPPFLAGS'
17870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17873
17874 fi
17875
17876
17877 SEARCH_INCLUDE="\
17878 /usr/local/include \
17879 \
17880 /usr/Motif-1.2/include \
17881 /usr/Motif-2.1/include \
17882 \
17883 /usr/include/Motif1.2 \
17884 /opt/xpm/include/X11 \
17885 /opt/GBxpm/include/ \
17886 /opt/GBxpm/X11/include/ \
17887 \
17888 /usr/Motif1.2/include \
17889 /usr/dt/include \
17890 /usr/openwin/include \
17891 \
17892 /usr/include/Xm \
17893 \
17894 /usr/X11R6/include \
17895 /usr/X11R6.4/include \
17896 /usr/X11R5/include \
17897 /usr/X11R4/include \
17898 \
17899 /usr/include/X11R6 \
17900 /usr/include/X11R5 \
17901 /usr/include/X11R4 \
17902 \
17903 /usr/local/X11R6/include \
17904 /usr/local/X11R5/include \
17905 /usr/local/X11R4/include \
17906 \
17907 /usr/local/include/X11R6 \
17908 /usr/local/include/X11R5 \
17909 /usr/local/include/X11R4 \
17910 \
17911 /usr/X11/include \
17912 /usr/include/X11 \
17913 /usr/local/X11/include \
17914 /usr/local/include/X11 \
17915 \
17916 /usr/X386/include \
17917 /usr/x386/include \
17918 /usr/XFree86/include/X11 \
17919 \
17920 X:/XFree86/include \
17921 X:/XFree86/include/X11 \
17922 \
17923 /usr/include/gtk \
17924 /usr/local/include/gtk \
17925 /usr/include/glib \
17926 /usr/local/include/glib \
17927 \
17928 /usr/include/qt \
17929 /usr/local/include/qt \
17930 \
17931 /usr/include/windows \
17932 /usr/include/wine \
17933 /usr/local/include/wine \
17934 \
17935 /usr/unsupported/include \
17936 /usr/athena/include \
17937 /usr/local/x11r5/include \
17938 /usr/lpp/Xamples/include \
17939 \
17940 /usr/openwin/share/include"
17941
17942 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17943
17944
17945 cat >confcache <<\_ACEOF
17946 # This file is a shell script that caches the results of configure
17947 # tests run on this system so they can be shared between configure
17948 # scripts and configure runs, see configure's option --config-cache.
17949 # It is not useful on other systems. If it contains results you don't
17950 # want to keep, you may remove or edit it.
17951 #
17952 # config.status only pays attention to the cache file if you give it
17953 # the --recheck option to rerun configure.
17954 #
17955 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17956 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17957 # following values.
17958
17959 _ACEOF
17960
17961 # The following way of writing the cache mishandles newlines in values,
17962 # but we know of no workaround that is simple, portable, and efficient.
17963 # So, don't put newlines in cache variables' values.
17964 # Ultrix sh set writes to stderr and can't be redirected directly,
17965 # and sets the high bit in the cache file unless we assign to the vars.
17966 {
17967 (set) 2>&1 |
17968 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17969 *ac_space=\ *)
17970 # `set' does not quote correctly, so add quotes (double-quote
17971 # substitution turns \\\\ into \\, and sed turns \\ into \).
17972 sed -n \
17973 "s/'/'\\\\''/g;
17974 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17975 ;;
17976 *)
17977 # `set' quotes correctly as required by POSIX, so do not add quotes.
17978 sed -n \
17979 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17980 ;;
17981 esac;
17982 } |
17983 sed '
17984 t clear
17985 : clear
17986 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17987 t end
17988 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17989 : end' >>confcache
17990 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17991 if test -w $cache_file; then
17992 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17993 cat confcache >$cache_file
17994 else
17995 echo "not updating unwritable cache $cache_file"
17996 fi
17997 fi
17998 rm -f confcache
17999
18000 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18001 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18002 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18003 if test "${wx_cv_lib_glibc21+set}" = set; then
18004 echo $ECHO_N "(cached) $ECHO_C" >&6
18005 else
18006
18007 cat >conftest.$ac_ext <<_ACEOF
18008 #line $LINENO "configure"
18009 /* confdefs.h. */
18010 _ACEOF
18011 cat confdefs.h >>conftest.$ac_ext
18012 cat >>conftest.$ac_ext <<_ACEOF
18013 /* end confdefs.h. */
18014 #include <features.h>
18015 int
18016 main ()
18017 {
18018
18019 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18020 #error not glibc2.1
18021 #endif
18022
18023 ;
18024 return 0;
18025 }
18026 _ACEOF
18027 rm -f conftest.$ac_objext
18028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18029 (eval $ac_compile) 2>&5
18030 ac_status=$?
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); } &&
18033 { ac_try='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18036 ac_status=$?
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18039
18040 wx_cv_lib_glibc21=yes
18041
18042 else
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18045
18046
18047 wx_cv_lib_glibc21=no
18048
18049
18050 fi
18051 rm -f conftest.$ac_objext conftest.$ac_ext
18052
18053 fi
18054 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18055 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18056 if test "$wx_cv_lib_glibc21" = "yes"; then
18057 cat >>confdefs.h <<\_ACEOF
18058 #define wxHAVE_GLIBC2 1
18059 _ACEOF
18060
18061 fi
18062 fi
18063
18064 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18065 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18066 cat >>confdefs.h <<\_ACEOF
18067 #define _GNU_SOURCE 1
18068 _ACEOF
18069
18070 fi
18071 fi
18072
18073
18074
18075 REGEX_INCLUDE=
18076 if test "$wxUSE_REGEX" != "no"; then
18077 cat >>confdefs.h <<\_ACEOF
18078 #define wxUSE_REGEX 1
18079 _ACEOF
18080
18081
18082 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18083 if test "${ac_cv_header_regex_h+set}" = set; then
18084 echo "$as_me:$LINENO: checking for regex.h" >&5
18085 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18086 if test "${ac_cv_header_regex_h+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 fi
18089 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18090 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18091 else
18092 # Is the header compilable?
18093 echo "$as_me:$LINENO: checking regex.h usability" >&5
18094 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18095 cat >conftest.$ac_ext <<_ACEOF
18096 #line $LINENO "configure"
18097 /* confdefs.h. */
18098 _ACEOF
18099 cat confdefs.h >>conftest.$ac_ext
18100 cat >>conftest.$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18102 $ac_includes_default
18103 #include <regex.h>
18104 _ACEOF
18105 rm -f conftest.$ac_objext
18106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18107 (eval $ac_compile) 2>&5
18108 ac_status=$?
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); } &&
18111 { ac_try='test -s conftest.$ac_objext'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18114 ac_status=$?
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; }; then
18117 ac_header_compiler=yes
18118 else
18119 echo "$as_me: failed program was:" >&5
18120 sed 's/^/| /' conftest.$ac_ext >&5
18121
18122 ac_header_compiler=no
18123 fi
18124 rm -f conftest.$ac_objext conftest.$ac_ext
18125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18126 echo "${ECHO_T}$ac_header_compiler" >&6
18127
18128 # Is the header present?
18129 echo "$as_me:$LINENO: checking regex.h presence" >&5
18130 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18131 cat >conftest.$ac_ext <<_ACEOF
18132 #line $LINENO "configure"
18133 /* confdefs.h. */
18134 _ACEOF
18135 cat confdefs.h >>conftest.$ac_ext
18136 cat >>conftest.$ac_ext <<_ACEOF
18137 /* end confdefs.h. */
18138 #include <regex.h>
18139 _ACEOF
18140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } >/dev/null; then
18148 if test -s conftest.err; then
18149 ac_cpp_err=$ac_c_preproc_warn_flag
18150 else
18151 ac_cpp_err=
18152 fi
18153 else
18154 ac_cpp_err=yes
18155 fi
18156 if test -z "$ac_cpp_err"; then
18157 ac_header_preproc=yes
18158 else
18159 echo "$as_me: failed program was:" >&5
18160 sed 's/^/| /' conftest.$ac_ext >&5
18161
18162 ac_header_preproc=no
18163 fi
18164 rm -f conftest.err conftest.$ac_ext
18165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18166 echo "${ECHO_T}$ac_header_preproc" >&6
18167
18168 # So? What about this header?
18169 case $ac_header_compiler:$ac_header_preproc in
18170 yes:no )
18171 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18172 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18173 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18174 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18175 (
18176 cat <<\_ASBOX
18177 ## ------------------------------------ ##
18178 ## Report this to bug-autoconf@gnu.org. ##
18179 ## ------------------------------------ ##
18180 _ASBOX
18181 ) |
18182 sed "s/^/$as_me: WARNING: /" >&2
18183 ;;
18184 no:yes )
18185 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18186 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18187 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18188 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18189 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18190 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18191 (
18192 cat <<\_ASBOX
18193 ## ------------------------------------ ##
18194 ## Report this to bug-autoconf@gnu.org. ##
18195 ## ------------------------------------ ##
18196 _ASBOX
18197 ) |
18198 sed "s/^/$as_me: WARNING: /" >&2
18199 ;;
18200 esac
18201 echo "$as_me:$LINENO: checking for regex.h" >&5
18202 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18203 if test "${ac_cv_header_regex_h+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18205 else
18206 ac_cv_header_regex_h=$ac_header_preproc
18207 fi
18208 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18209 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18210
18211 fi
18212 if test $ac_cv_header_regex_h = yes; then
18213
18214 for ac_func in regcomp
18215 do
18216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18217 echo "$as_me:$LINENO: checking for $ac_func" >&5
18218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18219 if eval "test \"\${$as_ac_var+set}\" = set"; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18221 else
18222 cat >conftest.$ac_ext <<_ACEOF
18223 #line $LINENO "configure"
18224 /* confdefs.h. */
18225 _ACEOF
18226 cat confdefs.h >>conftest.$ac_ext
18227 cat >>conftest.$ac_ext <<_ACEOF
18228 /* end confdefs.h. */
18229 /* System header to define __stub macros and hopefully few prototypes,
18230 which can conflict with char $ac_func (); below.
18231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18232 <limits.h> exists even on freestanding compilers. */
18233 #ifdef __STDC__
18234 # include <limits.h>
18235 #else
18236 # include <assert.h>
18237 #endif
18238 /* Override any gcc2 internal prototype to avoid an error. */
18239 #ifdef __cplusplus
18240 extern "C"
18241 {
18242 #endif
18243 /* We use char because int might match the return type of a gcc2
18244 builtin and then its argument prototype would still apply. */
18245 char $ac_func ();
18246 /* The GNU C library defines this for functions which it implements
18247 to always fail with ENOSYS. Some functions are actually named
18248 something starting with __ and the normal name is an alias. */
18249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18250 choke me
18251 #else
18252 char (*f) () = $ac_func;
18253 #endif
18254 #ifdef __cplusplus
18255 }
18256 #endif
18257
18258 int
18259 main ()
18260 {
18261 return f != $ac_func;
18262 ;
18263 return 0;
18264 }
18265 _ACEOF
18266 rm -f conftest.$ac_objext conftest$ac_exeext
18267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18268 (eval $ac_link) 2>&5
18269 ac_status=$?
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); } &&
18272 { ac_try='test -s conftest$ac_exeext'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18275 ac_status=$?
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; }; then
18278 eval "$as_ac_var=yes"
18279 else
18280 echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.$ac_ext >&5
18282
18283 eval "$as_ac_var=no"
18284 fi
18285 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18286 fi
18287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18289 if test `eval echo '${'$as_ac_var'}'` = yes; then
18290 cat >>confdefs.h <<_ACEOF
18291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18292 _ACEOF
18293
18294 fi
18295 done
18296
18297 fi
18298
18299
18300
18301 if test "x$ac_cv_func_regcomp" != "xyes"; then
18302 if test "$wxUSE_REGEX" = "sys" ; then
18303 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18304 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18305 { (exit 1); exit 1; }; }
18306 else
18307 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18308 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18309 wxUSE_REGEX=builtin
18310 fi
18311 else
18312 wxUSE_REGEX=sys
18313 fi
18314 fi
18315
18316 if test "$wxUSE_REGEX" = "builtin" ; then
18317 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18318 fi
18319 fi
18320
18321
18322 ZLIB_INCLUDE=
18323 ZLIB_LINK=
18324 if test "$wxUSE_ZLIB" != "no" ; then
18325 cat >>confdefs.h <<\_ACEOF
18326 #define wxUSE_ZLIB 1
18327 _ACEOF
18328
18329
18330 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18331 if test "$USE_DARWIN" = 1; then
18332 system_zlib_h_ok="yes"
18333 else
18334 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18335 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18336 if test "${ac_cv_header_zlib_h+set}" = set; then
18337 echo $ECHO_N "(cached) $ECHO_C" >&6
18338 else
18339 if test "$cross_compiling" = yes; then
18340 unset ac_cv_header_zlib_h
18341
18342 else
18343 cat >conftest.$ac_ext <<_ACEOF
18344 #line $LINENO "configure"
18345 /* confdefs.h. */
18346 _ACEOF
18347 cat confdefs.h >>conftest.$ac_ext
18348 cat >>conftest.$ac_ext <<_ACEOF
18349 /* end confdefs.h. */
18350
18351 #include <zlib.h>
18352 #include <stdio.h>
18353
18354 int main()
18355 {
18356 FILE *f=fopen("conftestval", "w");
18357 if (!f) exit(1);
18358 fprintf(f, "%s",
18359 ZLIB_VERSION[0] == '1' &&
18360 (ZLIB_VERSION[2] > '1' ||
18361 (ZLIB_VERSION[2] == '1' &&
18362 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18363 exit(0);
18364 }
18365
18366 _ACEOF
18367 rm -f conftest$ac_exeext
18368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18369 (eval $ac_link) 2>&5
18370 ac_status=$?
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18375 ac_status=$?
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; }; then
18378 ac_cv_header_zlib_h=`cat conftestval`
18379 else
18380 echo "$as_me: program exited with status $ac_status" >&5
18381 echo "$as_me: failed program was:" >&5
18382 sed 's/^/| /' conftest.$ac_ext >&5
18383
18384 ( exit $ac_status )
18385 ac_cv_header_zlib_h=no
18386 fi
18387 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18388 fi
18389
18390 fi
18391 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18392 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18393 if test "${ac_cv_header_zlib_h+set}" = set; then
18394 echo "$as_me:$LINENO: checking for zlib.h" >&5
18395 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18396 if test "${ac_cv_header_zlib_h+set}" = set; then
18397 echo $ECHO_N "(cached) $ECHO_C" >&6
18398 fi
18399 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18400 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18401 else
18402 # Is the header compilable?
18403 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18404 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18405 cat >conftest.$ac_ext <<_ACEOF
18406 #line $LINENO "configure"
18407 /* confdefs.h. */
18408 _ACEOF
18409 cat confdefs.h >>conftest.$ac_ext
18410 cat >>conftest.$ac_ext <<_ACEOF
18411 /* end confdefs.h. */
18412 $ac_includes_default
18413 #include <zlib.h>
18414 _ACEOF
18415 rm -f conftest.$ac_objext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18417 (eval $ac_compile) 2>&5
18418 ac_status=$?
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); } &&
18421 { ac_try='test -s conftest.$ac_objext'
18422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18423 (eval $ac_try) 2>&5
18424 ac_status=$?
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); }; }; then
18427 ac_header_compiler=yes
18428 else
18429 echo "$as_me: failed program was:" >&5
18430 sed 's/^/| /' conftest.$ac_ext >&5
18431
18432 ac_header_compiler=no
18433 fi
18434 rm -f conftest.$ac_objext conftest.$ac_ext
18435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18436 echo "${ECHO_T}$ac_header_compiler" >&6
18437
18438 # Is the header present?
18439 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18440 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18441 cat >conftest.$ac_ext <<_ACEOF
18442 #line $LINENO "configure"
18443 /* confdefs.h. */
18444 _ACEOF
18445 cat confdefs.h >>conftest.$ac_ext
18446 cat >>conftest.$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18448 #include <zlib.h>
18449 _ACEOF
18450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18452 ac_status=$?
18453 grep -v '^ *+' conftest.er1 >conftest.err
18454 rm -f conftest.er1
18455 cat conftest.err >&5
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); } >/dev/null; then
18458 if test -s conftest.err; then
18459 ac_cpp_err=$ac_c_preproc_warn_flag
18460 else
18461 ac_cpp_err=
18462 fi
18463 else
18464 ac_cpp_err=yes
18465 fi
18466 if test -z "$ac_cpp_err"; then
18467 ac_header_preproc=yes
18468 else
18469 echo "$as_me: failed program was:" >&5
18470 sed 's/^/| /' conftest.$ac_ext >&5
18471
18472 ac_header_preproc=no
18473 fi
18474 rm -f conftest.err conftest.$ac_ext
18475 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18476 echo "${ECHO_T}$ac_header_preproc" >&6
18477
18478 # So? What about this header?
18479 case $ac_header_compiler:$ac_header_preproc in
18480 yes:no )
18481 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18482 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18483 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18484 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18485 (
18486 cat <<\_ASBOX
18487 ## ------------------------------------ ##
18488 ## Report this to bug-autoconf@gnu.org. ##
18489 ## ------------------------------------ ##
18490 _ASBOX
18491 ) |
18492 sed "s/^/$as_me: WARNING: /" >&2
18493 ;;
18494 no:yes )
18495 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18496 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18497 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18498 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18499 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18500 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18501 (
18502 cat <<\_ASBOX
18503 ## ------------------------------------ ##
18504 ## Report this to bug-autoconf@gnu.org. ##
18505 ## ------------------------------------ ##
18506 _ASBOX
18507 ) |
18508 sed "s/^/$as_me: WARNING: /" >&2
18509 ;;
18510 esac
18511 echo "$as_me:$LINENO: checking for zlib.h" >&5
18512 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18513 if test "${ac_cv_header_zlib_h+set}" = set; then
18514 echo $ECHO_N "(cached) $ECHO_C" >&6
18515 else
18516 ac_cv_header_zlib_h=$ac_header_preproc
18517 fi
18518 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18519 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18520
18521 fi
18522
18523
18524
18525 system_zlib_h_ok=$ac_cv_header_zlib_h
18526 fi
18527
18528 if test "$system_zlib_h_ok" = "yes"; then
18529 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18530 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18531 if test "${ac_cv_lib_z_deflate+set}" = set; then
18532 echo $ECHO_N "(cached) $ECHO_C" >&6
18533 else
18534 ac_check_lib_save_LIBS=$LIBS
18535 LIBS="-lz $LIBS"
18536 cat >conftest.$ac_ext <<_ACEOF
18537 #line $LINENO "configure"
18538 /* confdefs.h. */
18539 _ACEOF
18540 cat confdefs.h >>conftest.$ac_ext
18541 cat >>conftest.$ac_ext <<_ACEOF
18542 /* end confdefs.h. */
18543
18544 /* Override any gcc2 internal prototype to avoid an error. */
18545 #ifdef __cplusplus
18546 extern "C"
18547 #endif
18548 /* We use char because int might match the return type of a gcc2
18549 builtin and then its argument prototype would still apply. */
18550 char deflate ();
18551 int
18552 main ()
18553 {
18554 deflate ();
18555 ;
18556 return 0;
18557 }
18558 _ACEOF
18559 rm -f conftest.$ac_objext conftest$ac_exeext
18560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18561 (eval $ac_link) 2>&5
18562 ac_status=$?
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } &&
18565 { ac_try='test -s conftest$ac_exeext'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18568 ac_status=$?
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; }; then
18571 ac_cv_lib_z_deflate=yes
18572 else
18573 echo "$as_me: failed program was:" >&5
18574 sed 's/^/| /' conftest.$ac_ext >&5
18575
18576 ac_cv_lib_z_deflate=no
18577 fi
18578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18579 LIBS=$ac_check_lib_save_LIBS
18580 fi
18581 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18582 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18583 if test $ac_cv_lib_z_deflate = yes; then
18584 ZLIB_LINK=" -lz"
18585 fi
18586
18587 fi
18588
18589 if test "x$ZLIB_LINK" = "x" ; then
18590 if test "$wxUSE_ZLIB" = "sys" ; then
18591 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18592 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18593 { (exit 1); exit 1; }; }
18594 else
18595 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18596 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18597 wxUSE_ZLIB=builtin
18598 fi
18599 else
18600 wxUSE_ZLIB=sys
18601 fi
18602 fi
18603
18604 if test "$wxUSE_ZLIB" = "builtin" ; then
18605 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18606 fi
18607 fi
18608
18609
18610 PNG_INCLUDE=
18611 PNG_LINK=
18612 if test "$wxUSE_LIBPNG" != "no" ; then
18613 cat >>confdefs.h <<\_ACEOF
18614 #define wxUSE_LIBPNG 1
18615 _ACEOF
18616
18617
18618 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18619 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18620 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18621 wxUSE_LIBPNG=sys
18622 fi
18623
18624 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18625 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18626 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18627 wxUSE_LIBPNG=builtin
18628 fi
18629
18630 if test "$wxUSE_MGL" != 1 ; then
18631 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18632 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18633 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18634 if test "${ac_cv_header_png_h+set}" = set; then
18635 echo $ECHO_N "(cached) $ECHO_C" >&6
18636 else
18637 if test "$cross_compiling" = yes; then
18638 unset ac_cv_header_png_h
18639
18640 else
18641 cat >conftest.$ac_ext <<_ACEOF
18642 #line $LINENO "configure"
18643 /* confdefs.h. */
18644 _ACEOF
18645 cat confdefs.h >>conftest.$ac_ext
18646 cat >>conftest.$ac_ext <<_ACEOF
18647 /* end confdefs.h. */
18648
18649 #include <png.h>
18650 #include <stdio.h>
18651
18652 int main()
18653 {
18654 FILE *f=fopen("conftestval", "w");
18655 if (!f) exit(1);
18656 fprintf(f, "%s",
18657 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18658 exit(0);
18659 }
18660
18661 _ACEOF
18662 rm -f conftest$ac_exeext
18663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18664 (eval $ac_link) 2>&5
18665 ac_status=$?
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18669 (eval $ac_try) 2>&5
18670 ac_status=$?
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18673 ac_cv_header_png_h=`cat conftestval`
18674 else
18675 echo "$as_me: program exited with status $ac_status" >&5
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18678
18679 ( exit $ac_status )
18680 ac_cv_header_png_h=no
18681 fi
18682 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18683 fi
18684
18685 fi
18686 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18687 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18688 if test "${ac_cv_header_png_h+set}" = set; then
18689 echo "$as_me:$LINENO: checking for png.h" >&5
18690 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18691 if test "${ac_cv_header_png_h+set}" = set; then
18692 echo $ECHO_N "(cached) $ECHO_C" >&6
18693 fi
18694 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18695 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18696 else
18697 # Is the header compilable?
18698 echo "$as_me:$LINENO: checking png.h usability" >&5
18699 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
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 $ac_includes_default
18708 #include <png.h>
18709 _ACEOF
18710 rm -f conftest.$ac_objext
18711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18712 (eval $ac_compile) 2>&5
18713 ac_status=$?
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } &&
18716 { ac_try='test -s conftest.$ac_objext'
18717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18718 (eval $ac_try) 2>&5
18719 ac_status=$?
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); }; }; then
18722 ac_header_compiler=yes
18723 else
18724 echo "$as_me: failed program was:" >&5
18725 sed 's/^/| /' conftest.$ac_ext >&5
18726
18727 ac_header_compiler=no
18728 fi
18729 rm -f conftest.$ac_objext conftest.$ac_ext
18730 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18731 echo "${ECHO_T}$ac_header_compiler" >&6
18732
18733 # Is the header present?
18734 echo "$as_me:$LINENO: checking png.h presence" >&5
18735 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18736 cat >conftest.$ac_ext <<_ACEOF
18737 #line $LINENO "configure"
18738 /* confdefs.h. */
18739 _ACEOF
18740 cat confdefs.h >>conftest.$ac_ext
18741 cat >>conftest.$ac_ext <<_ACEOF
18742 /* end confdefs.h. */
18743 #include <png.h>
18744 _ACEOF
18745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18747 ac_status=$?
18748 grep -v '^ *+' conftest.er1 >conftest.err
18749 rm -f conftest.er1
18750 cat conftest.err >&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); } >/dev/null; then
18753 if test -s conftest.err; then
18754 ac_cpp_err=$ac_c_preproc_warn_flag
18755 else
18756 ac_cpp_err=
18757 fi
18758 else
18759 ac_cpp_err=yes
18760 fi
18761 if test -z "$ac_cpp_err"; then
18762 ac_header_preproc=yes
18763 else
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.$ac_ext >&5
18766
18767 ac_header_preproc=no
18768 fi
18769 rm -f conftest.err conftest.$ac_ext
18770 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18771 echo "${ECHO_T}$ac_header_preproc" >&6
18772
18773 # So? What about this header?
18774 case $ac_header_compiler:$ac_header_preproc in
18775 yes:no )
18776 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18777 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18778 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18779 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18780 (
18781 cat <<\_ASBOX
18782 ## ------------------------------------ ##
18783 ## Report this to bug-autoconf@gnu.org. ##
18784 ## ------------------------------------ ##
18785 _ASBOX
18786 ) |
18787 sed "s/^/$as_me: WARNING: /" >&2
18788 ;;
18789 no:yes )
18790 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18791 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18792 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18793 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18794 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18795 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18796 (
18797 cat <<\_ASBOX
18798 ## ------------------------------------ ##
18799 ## Report this to bug-autoconf@gnu.org. ##
18800 ## ------------------------------------ ##
18801 _ASBOX
18802 ) |
18803 sed "s/^/$as_me: WARNING: /" >&2
18804 ;;
18805 esac
18806 echo "$as_me:$LINENO: checking for png.h" >&5
18807 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18808 if test "${ac_cv_header_png_h+set}" = set; then
18809 echo $ECHO_N "(cached) $ECHO_C" >&6
18810 else
18811 ac_cv_header_png_h=$ac_header_preproc
18812 fi
18813 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18814 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18815
18816 fi
18817
18818
18819
18820 if test "$ac_cv_header_png_h" = "yes"; then
18821 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18822 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18823 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18824 echo $ECHO_N "(cached) $ECHO_C" >&6
18825 else
18826 ac_check_lib_save_LIBS=$LIBS
18827 LIBS="-lpng -lz -lm $LIBS"
18828 cat >conftest.$ac_ext <<_ACEOF
18829 #line $LINENO "configure"
18830 /* confdefs.h. */
18831 _ACEOF
18832 cat confdefs.h >>conftest.$ac_ext
18833 cat >>conftest.$ac_ext <<_ACEOF
18834 /* end confdefs.h. */
18835
18836 /* Override any gcc2 internal prototype to avoid an error. */
18837 #ifdef __cplusplus
18838 extern "C"
18839 #endif
18840 /* We use char because int might match the return type of a gcc2
18841 builtin and then its argument prototype would still apply. */
18842 char png_check_sig ();
18843 int
18844 main ()
18845 {
18846 png_check_sig ();
18847 ;
18848 return 0;
18849 }
18850 _ACEOF
18851 rm -f conftest.$ac_objext conftest$ac_exeext
18852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18853 (eval $ac_link) 2>&5
18854 ac_status=$?
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); } &&
18857 { ac_try='test -s conftest$ac_exeext'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; }; then
18863 ac_cv_lib_png_png_check_sig=yes
18864 else
18865 echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18867
18868 ac_cv_lib_png_png_check_sig=no
18869 fi
18870 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18871 LIBS=$ac_check_lib_save_LIBS
18872 fi
18873 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18874 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18875 if test $ac_cv_lib_png_png_check_sig = yes; then
18876 PNG_LINK=" -lpng"
18877 fi
18878
18879 fi
18880
18881 if test "x$PNG_LINK" = "x" ; then
18882 if test "$wxUSE_LIBPNG" = "sys" ; then
18883 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18884 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18885 { (exit 1); exit 1; }; }
18886 else
18887 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18888 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18889 wxUSE_LIBPNG=builtin
18890 fi
18891 else
18892 wxUSE_LIBPNG=sys
18893 fi
18894 fi
18895 fi
18896
18897 if test "$wxUSE_LIBPNG" = "builtin" ; then
18898 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18899 fi
18900
18901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18902 fi
18903
18904
18905 JPEG_INCLUDE=
18906 JPEG_LINK=
18907 if test "$wxUSE_LIBJPEG" != "no" ; then
18908 cat >>confdefs.h <<\_ACEOF
18909 #define wxUSE_LIBJPEG 1
18910 _ACEOF
18911
18912
18913 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18914 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18915 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18916 wxUSE_LIBJPEG=sys
18917 fi
18918
18919 if test "$wxUSE_MGL" != 1 ; then
18920 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18921 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18922 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18923 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 else
18926 cat >conftest.$ac_ext <<_ACEOF
18927 #line $LINENO "configure"
18928 /* confdefs.h. */
18929 _ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933
18934 #undef HAVE_STDLIB_H
18935 #include <stdio.h>
18936 #include <jpeglib.h>
18937
18938 int
18939 main ()
18940 {
18941
18942
18943 ;
18944 return 0;
18945 }
18946 _ACEOF
18947 rm -f conftest.$ac_objext
18948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18949 (eval $ac_compile) 2>&5
18950 ac_status=$?
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } &&
18953 { ac_try='test -s conftest.$ac_objext'
18954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18955 (eval $ac_try) 2>&5
18956 ac_status=$?
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); }; }; then
18959 ac_cv_header_jpeglib_h=yes
18960 else
18961 echo "$as_me: failed program was:" >&5
18962 sed 's/^/| /' conftest.$ac_ext >&5
18963
18964 ac_cv_header_jpeglib_h=no
18965
18966 fi
18967 rm -f conftest.$ac_objext conftest.$ac_ext
18968
18969 fi
18970
18971 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18972 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18973
18974 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18975 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18976 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18977 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18978 echo $ECHO_N "(cached) $ECHO_C" >&6
18979 else
18980 ac_check_lib_save_LIBS=$LIBS
18981 LIBS="-ljpeg $LIBS"
18982 cat >conftest.$ac_ext <<_ACEOF
18983 #line $LINENO "configure"
18984 /* confdefs.h. */
18985 _ACEOF
18986 cat confdefs.h >>conftest.$ac_ext
18987 cat >>conftest.$ac_ext <<_ACEOF
18988 /* end confdefs.h. */
18989
18990 /* Override any gcc2 internal prototype to avoid an error. */
18991 #ifdef __cplusplus
18992 extern "C"
18993 #endif
18994 /* We use char because int might match the return type of a gcc2
18995 builtin and then its argument prototype would still apply. */
18996 char jpeg_read_header ();
18997 int
18998 main ()
18999 {
19000 jpeg_read_header ();
19001 ;
19002 return 0;
19003 }
19004 _ACEOF
19005 rm -f conftest.$ac_objext conftest$ac_exeext
19006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19007 (eval $ac_link) 2>&5
19008 ac_status=$?
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); } &&
19011 { ac_try='test -s conftest$ac_exeext'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19014 ac_status=$?
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; }; then
19017 ac_cv_lib_jpeg_jpeg_read_header=yes
19018 else
19019 echo "$as_me: failed program was:" >&5
19020 sed 's/^/| /' conftest.$ac_ext >&5
19021
19022 ac_cv_lib_jpeg_jpeg_read_header=no
19023 fi
19024 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19025 LIBS=$ac_check_lib_save_LIBS
19026 fi
19027 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19028 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19029 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19030 JPEG_LINK=" -ljpeg"
19031 fi
19032
19033 fi
19034
19035 if test "x$JPEG_LINK" = "x" ; then
19036 if test "$wxUSE_LIBJPEG" = "sys" ; then
19037 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19038 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19039 { (exit 1); exit 1; }; }
19040 else
19041 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19042 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19043 wxUSE_LIBJPEG=builtin
19044 fi
19045 else
19046 wxUSE_LIBJPEG=sys
19047 fi
19048 fi
19049 fi
19050
19051 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19052 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
19053 fi
19054 fi
19055
19056
19057 TIFF_INCLUDE=
19058 TIFF_LINK=
19059 TIFF_PREREQ_LINKS=-lm
19060 if test "$wxUSE_LIBTIFF" != "no" ; then
19061 cat >>confdefs.h <<\_ACEOF
19062 #define wxUSE_LIBTIFF 1
19063 _ACEOF
19064
19065
19066 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19067 if test "$wxUSE_LIBJPEG" = "sys"; then
19068 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19069 fi
19070 if test "$wxUSE_ZLIB" = "sys"; then
19071 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19072 fi
19073 if test "${ac_cv_header_tiffio_h+set}" = set; then
19074 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19075 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19076 if test "${ac_cv_header_tiffio_h+set}" = set; then
19077 echo $ECHO_N "(cached) $ECHO_C" >&6
19078 fi
19079 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19080 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19081 else
19082 # Is the header compilable?
19083 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19084 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19085 cat >conftest.$ac_ext <<_ACEOF
19086 #line $LINENO "configure"
19087 /* confdefs.h. */
19088 _ACEOF
19089 cat confdefs.h >>conftest.$ac_ext
19090 cat >>conftest.$ac_ext <<_ACEOF
19091 /* end confdefs.h. */
19092 $ac_includes_default
19093 #include <tiffio.h>
19094 _ACEOF
19095 rm -f conftest.$ac_objext
19096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19097 (eval $ac_compile) 2>&5
19098 ac_status=$?
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -s conftest.$ac_objext'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19104 ac_status=$?
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; }; then
19107 ac_header_compiler=yes
19108 else
19109 echo "$as_me: failed program was:" >&5
19110 sed 's/^/| /' conftest.$ac_ext >&5
19111
19112 ac_header_compiler=no
19113 fi
19114 rm -f conftest.$ac_objext conftest.$ac_ext
19115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19116 echo "${ECHO_T}$ac_header_compiler" >&6
19117
19118 # Is the header present?
19119 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19120 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19121 cat >conftest.$ac_ext <<_ACEOF
19122 #line $LINENO "configure"
19123 /* confdefs.h. */
19124 _ACEOF
19125 cat confdefs.h >>conftest.$ac_ext
19126 cat >>conftest.$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19128 #include <tiffio.h>
19129 _ACEOF
19130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19132 ac_status=$?
19133 grep -v '^ *+' conftest.er1 >conftest.err
19134 rm -f conftest.er1
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } >/dev/null; then
19138 if test -s conftest.err; then
19139 ac_cpp_err=$ac_c_preproc_warn_flag
19140 else
19141 ac_cpp_err=
19142 fi
19143 else
19144 ac_cpp_err=yes
19145 fi
19146 if test -z "$ac_cpp_err"; then
19147 ac_header_preproc=yes
19148 else
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19151
19152 ac_header_preproc=no
19153 fi
19154 rm -f conftest.err conftest.$ac_ext
19155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19156 echo "${ECHO_T}$ac_header_preproc" >&6
19157
19158 # So? What about this header?
19159 case $ac_header_compiler:$ac_header_preproc in
19160 yes:no )
19161 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19162 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19163 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19164 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19165 (
19166 cat <<\_ASBOX
19167 ## ------------------------------------ ##
19168 ## Report this to bug-autoconf@gnu.org. ##
19169 ## ------------------------------------ ##
19170 _ASBOX
19171 ) |
19172 sed "s/^/$as_me: WARNING: /" >&2
19173 ;;
19174 no:yes )
19175 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19176 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19177 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19178 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19179 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19180 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19181 (
19182 cat <<\_ASBOX
19183 ## ------------------------------------ ##
19184 ## Report this to bug-autoconf@gnu.org. ##
19185 ## ------------------------------------ ##
19186 _ASBOX
19187 ) |
19188 sed "s/^/$as_me: WARNING: /" >&2
19189 ;;
19190 esac
19191 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19192 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19193 if test "${ac_cv_header_tiffio_h+set}" = set; then
19194 echo $ECHO_N "(cached) $ECHO_C" >&6
19195 else
19196 ac_cv_header_tiffio_h=$ac_header_preproc
19197 fi
19198 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19199 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19200
19201 fi
19202 if test $ac_cv_header_tiffio_h = yes; then
19203 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19204 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19205 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19206 echo $ECHO_N "(cached) $ECHO_C" >&6
19207 else
19208 ac_check_lib_save_LIBS=$LIBS
19209 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19210 cat >conftest.$ac_ext <<_ACEOF
19211 #line $LINENO "configure"
19212 /* confdefs.h. */
19213 _ACEOF
19214 cat confdefs.h >>conftest.$ac_ext
19215 cat >>conftest.$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217
19218 /* Override any gcc2 internal prototype to avoid an error. */
19219 #ifdef __cplusplus
19220 extern "C"
19221 #endif
19222 /* We use char because int might match the return type of a gcc2
19223 builtin and then its argument prototype would still apply. */
19224 char TIFFError ();
19225 int
19226 main ()
19227 {
19228 TIFFError ();
19229 ;
19230 return 0;
19231 }
19232 _ACEOF
19233 rm -f conftest.$ac_objext conftest$ac_exeext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19235 (eval $ac_link) 2>&5
19236 ac_status=$?
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try='test -s conftest$ac_exeext'
19240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241 (eval $ac_try) 2>&5
19242 ac_status=$?
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); }; }; then
19245 ac_cv_lib_tiff_TIFFError=yes
19246 else
19247 echo "$as_me: failed program was:" >&5
19248 sed 's/^/| /' conftest.$ac_ext >&5
19249
19250 ac_cv_lib_tiff_TIFFError=no
19251 fi
19252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19253 LIBS=$ac_check_lib_save_LIBS
19254 fi
19255 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19256 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19257 if test $ac_cv_lib_tiff_TIFFError = yes; then
19258 TIFF_LINK=" -ltiff"
19259 fi
19260
19261
19262 fi
19263
19264
19265
19266 if test "x$TIFF_LINK" = "x" ; then
19267 if test "$wxUSE_LIBTIFF" = "sys" ; then
19268 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19269 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19270 { (exit 1); exit 1; }; }
19271 else
19272 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19273 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19274 wxUSE_LIBTIFF=builtin
19275 fi
19276 else
19277 wxUSE_LIBTIFF=sys
19278 fi
19279 fi
19280
19281 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19282 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19283 fi
19284 fi
19285
19286
19287 if test "$wxUSE_EXPAT" != "no"; then
19288 wxUSE_XML=1
19289 cat >>confdefs.h <<\_ACEOF
19290 #define wxUSE_EXPAT 1
19291 _ACEOF
19292
19293 cat >>confdefs.h <<\_ACEOF
19294 #define wxUSE_XML 1
19295 _ACEOF
19296
19297
19298 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19299 if test "${ac_cv_header_expat_h+set}" = set; then
19300 echo "$as_me:$LINENO: checking for expat.h" >&5
19301 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19302 if test "${ac_cv_header_expat_h+set}" = set; then
19303 echo $ECHO_N "(cached) $ECHO_C" >&6
19304 fi
19305 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19306 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19307 else
19308 # Is the header compilable?
19309 echo "$as_me:$LINENO: checking expat.h usability" >&5
19310 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19311 cat >conftest.$ac_ext <<_ACEOF
19312 #line $LINENO "configure"
19313 /* confdefs.h. */
19314 _ACEOF
19315 cat confdefs.h >>conftest.$ac_ext
19316 cat >>conftest.$ac_ext <<_ACEOF
19317 /* end confdefs.h. */
19318 $ac_includes_default
19319 #include <expat.h>
19320 _ACEOF
19321 rm -f conftest.$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>&5
19324 ac_status=$?
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } &&
19327 { ac_try='test -s conftest.$ac_objext'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19330 ac_status=$?
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; }; then
19333 ac_header_compiler=yes
19334 else
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19337
19338 ac_header_compiler=no
19339 fi
19340 rm -f conftest.$ac_objext conftest.$ac_ext
19341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19342 echo "${ECHO_T}$ac_header_compiler" >&6
19343
19344 # Is the header present?
19345 echo "$as_me:$LINENO: checking expat.h presence" >&5
19346 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19347 cat >conftest.$ac_ext <<_ACEOF
19348 #line $LINENO "configure"
19349 /* confdefs.h. */
19350 _ACEOF
19351 cat confdefs.h >>conftest.$ac_ext
19352 cat >>conftest.$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19354 #include <expat.h>
19355 _ACEOF
19356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19358 ac_status=$?
19359 grep -v '^ *+' conftest.er1 >conftest.err
19360 rm -f conftest.er1
19361 cat conftest.err >&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); } >/dev/null; then
19364 if test -s conftest.err; then
19365 ac_cpp_err=$ac_c_preproc_warn_flag
19366 else
19367 ac_cpp_err=
19368 fi
19369 else
19370 ac_cpp_err=yes
19371 fi
19372 if test -z "$ac_cpp_err"; then
19373 ac_header_preproc=yes
19374 else
19375 echo "$as_me: failed program was:" >&5
19376 sed 's/^/| /' conftest.$ac_ext >&5
19377
19378 ac_header_preproc=no
19379 fi
19380 rm -f conftest.err conftest.$ac_ext
19381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19382 echo "${ECHO_T}$ac_header_preproc" >&6
19383
19384 # So? What about this header?
19385 case $ac_header_compiler:$ac_header_preproc in
19386 yes:no )
19387 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19388 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19389 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19390 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19391 (
19392 cat <<\_ASBOX
19393 ## ------------------------------------ ##
19394 ## Report this to bug-autoconf@gnu.org. ##
19395 ## ------------------------------------ ##
19396 _ASBOX
19397 ) |
19398 sed "s/^/$as_me: WARNING: /" >&2
19399 ;;
19400 no:yes )
19401 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19402 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19403 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19404 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19405 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19406 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19407 (
19408 cat <<\_ASBOX
19409 ## ------------------------------------ ##
19410 ## Report this to bug-autoconf@gnu.org. ##
19411 ## ------------------------------------ ##
19412 _ASBOX
19413 ) |
19414 sed "s/^/$as_me: WARNING: /" >&2
19415 ;;
19416 esac
19417 echo "$as_me:$LINENO: checking for expat.h" >&5
19418 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19419 if test "${ac_cv_header_expat_h+set}" = set; then
19420 echo $ECHO_N "(cached) $ECHO_C" >&6
19421 else
19422 ac_cv_header_expat_h=$ac_header_preproc
19423 fi
19424 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19425 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19426
19427 fi
19428 if test $ac_cv_header_expat_h = yes; then
19429 found_expat_h=1
19430 fi
19431
19432
19433 if test "x$found_expat_h" = "x1"; then
19434 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19435 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19436 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19437 echo $ECHO_N "(cached) $ECHO_C" >&6
19438 else
19439
19440
19441
19442 ac_ext=cc
19443 ac_cpp='$CXXCPP $CPPFLAGS'
19444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19447
19448 cat >conftest.$ac_ext <<_ACEOF
19449 #line $LINENO "configure"
19450 /* confdefs.h. */
19451 _ACEOF
19452 cat confdefs.h >>conftest.$ac_ext
19453 cat >>conftest.$ac_ext <<_ACEOF
19454 /* end confdefs.h. */
19455 #include <expat.h>
19456 int
19457 main ()
19458 {
19459
19460 ;
19461 return 0;
19462 }
19463 _ACEOF
19464 rm -f conftest.$ac_objext
19465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19466 (eval $ac_compile) 2>&5
19467 ac_status=$?
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try='test -s conftest.$ac_objext'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; }; then
19476 wx_cv_expat_is_not_broken=yes
19477 else
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.$ac_ext >&5
19480
19481 wx_cv_expat_is_not_broken=no
19482
19483 fi
19484 rm -f conftest.$ac_objext conftest.$ac_ext
19485 ac_ext=c
19486 ac_cpp='$CPP $CPPFLAGS'
19487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19490
19491
19492
19493 fi
19494 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19495 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19496 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19497 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19498 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19499 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19500 echo $ECHO_N "(cached) $ECHO_C" >&6
19501 else
19502 ac_check_lib_save_LIBS=$LIBS
19503 LIBS="-lexpat $LIBS"
19504 cat >conftest.$ac_ext <<_ACEOF
19505 #line $LINENO "configure"
19506 /* confdefs.h. */
19507 _ACEOF
19508 cat confdefs.h >>conftest.$ac_ext
19509 cat >>conftest.$ac_ext <<_ACEOF
19510 /* end confdefs.h. */
19511
19512 /* Override any gcc2 internal prototype to avoid an error. */
19513 #ifdef __cplusplus
19514 extern "C"
19515 #endif
19516 /* We use char because int might match the return type of a gcc2
19517 builtin and then its argument prototype would still apply. */
19518 char XML_ParserCreate ();
19519 int
19520 main ()
19521 {
19522 XML_ParserCreate ();
19523 ;
19524 return 0;
19525 }
19526 _ACEOF
19527 rm -f conftest.$ac_objext conftest$ac_exeext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19529 (eval $ac_link) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } &&
19533 { ac_try='test -s conftest$ac_exeext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19536 ac_status=$?
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 ac_cv_lib_expat_XML_ParserCreate=yes
19540 else
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19543
19544 ac_cv_lib_expat_XML_ParserCreate=no
19545 fi
19546 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19547 LIBS=$ac_check_lib_save_LIBS
19548 fi
19549 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19550 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19551 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19552 EXPAT_LINK=" -lexpat"
19553 fi
19554
19555 fi
19556 fi
19557 if test "x$EXPAT_LINK" = "x" ; then
19558 if test "$wxUSE_EXPAT" = "sys" ; then
19559 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19560 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19561 { (exit 1); exit 1; }; }
19562 else
19563 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19564 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19565 wxUSE_EXPAT=builtin
19566 fi
19567 else
19568 wxUSE_EXPAT=sys
19569 fi
19570 fi
19571 if test "$wxUSE_EXPAT" = "builtin" ; then
19572
19573
19574 subdirs="$subdirs src/expat"
19575
19576 fi
19577 fi
19578
19579
19580
19581 AFMINSTALL=
19582 WIN32INSTALL=
19583
19584 TOOLKIT=
19585 TOOLKIT_INCLUDE=
19586 WIDGET_SET=
19587
19588 if test "$USE_WIN32" = 1 ; then
19589
19590 for ac_header in w32api.h
19591 do
19592 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19594 echo "$as_me:$LINENO: checking for $ac_header" >&5
19595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19597 echo $ECHO_N "(cached) $ECHO_C" >&6
19598 fi
19599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19601 else
19602 # Is the header compilable?
19603 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19604 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19605 cat >conftest.$ac_ext <<_ACEOF
19606 #line $LINENO "configure"
19607 /* confdefs.h. */
19608 _ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 $ac_includes_default
19613 #include <$ac_header>
19614 _ACEOF
19615 rm -f conftest.$ac_objext
19616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19617 (eval $ac_compile) 2>&5
19618 ac_status=$?
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } &&
19621 { ac_try='test -s conftest.$ac_objext'
19622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 (eval $ac_try) 2>&5
19624 ac_status=$?
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); }; }; then
19627 ac_header_compiler=yes
19628 else
19629 echo "$as_me: failed program was:" >&5
19630 sed 's/^/| /' conftest.$ac_ext >&5
19631
19632 ac_header_compiler=no
19633 fi
19634 rm -f conftest.$ac_objext conftest.$ac_ext
19635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19636 echo "${ECHO_T}$ac_header_compiler" >&6
19637
19638 # Is the header present?
19639 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19640 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19641 cat >conftest.$ac_ext <<_ACEOF
19642 #line $LINENO "configure"
19643 /* confdefs.h. */
19644 _ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 #include <$ac_header>
19649 _ACEOF
19650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19651 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19652 ac_status=$?
19653 grep -v '^ *+' conftest.er1 >conftest.err
19654 rm -f conftest.er1
19655 cat conftest.err >&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); } >/dev/null; then
19658 if test -s conftest.err; then
19659 ac_cpp_err=$ac_c_preproc_warn_flag
19660 else
19661 ac_cpp_err=
19662 fi
19663 else
19664 ac_cpp_err=yes
19665 fi
19666 if test -z "$ac_cpp_err"; then
19667 ac_header_preproc=yes
19668 else
19669 echo "$as_me: failed program was:" >&5
19670 sed 's/^/| /' conftest.$ac_ext >&5
19671
19672 ac_header_preproc=no
19673 fi
19674 rm -f conftest.err conftest.$ac_ext
19675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19676 echo "${ECHO_T}$ac_header_preproc" >&6
19677
19678 # So? What about this header?
19679 case $ac_header_compiler:$ac_header_preproc in
19680 yes:no )
19681 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19682 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19685 (
19686 cat <<\_ASBOX
19687 ## ------------------------------------ ##
19688 ## Report this to bug-autoconf@gnu.org. ##
19689 ## ------------------------------------ ##
19690 _ASBOX
19691 ) |
19692 sed "s/^/$as_me: WARNING: /" >&2
19693 ;;
19694 no:yes )
19695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19698 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19701 (
19702 cat <<\_ASBOX
19703 ## ------------------------------------ ##
19704 ## Report this to bug-autoconf@gnu.org. ##
19705 ## ------------------------------------ ##
19706 _ASBOX
19707 ) |
19708 sed "s/^/$as_me: WARNING: /" >&2
19709 ;;
19710 esac
19711 echo "$as_me:$LINENO: checking for $ac_header" >&5
19712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19714 echo $ECHO_N "(cached) $ECHO_C" >&6
19715 else
19716 eval "$as_ac_Header=$ac_header_preproc"
19717 fi
19718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19720
19721 fi
19722 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19723 cat >>confdefs.h <<_ACEOF
19724 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19725 _ACEOF
19726
19727 fi
19728
19729 done
19730
19731 if test "${ac_cv_header_windows_h+set}" = set; then
19732 echo "$as_me:$LINENO: checking for windows.h" >&5
19733 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19734 if test "${ac_cv_header_windows_h+set}" = set; then
19735 echo $ECHO_N "(cached) $ECHO_C" >&6
19736 fi
19737 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19738 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19739 else
19740 # Is the header compilable?
19741 echo "$as_me:$LINENO: checking windows.h usability" >&5
19742 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19743 cat >conftest.$ac_ext <<_ACEOF
19744 #line $LINENO "configure"
19745 /* confdefs.h. */
19746 _ACEOF
19747 cat confdefs.h >>conftest.$ac_ext
19748 cat >>conftest.$ac_ext <<_ACEOF
19749 /* end confdefs.h. */
19750 $ac_includes_default
19751 #include <windows.h>
19752 _ACEOF
19753 rm -f conftest.$ac_objext
19754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19755 (eval $ac_compile) 2>&5
19756 ac_status=$?
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); } &&
19759 { ac_try='test -s conftest.$ac_objext'
19760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19761 (eval $ac_try) 2>&5
19762 ac_status=$?
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); }; }; then
19765 ac_header_compiler=yes
19766 else
19767 echo "$as_me: failed program was:" >&5
19768 sed 's/^/| /' conftest.$ac_ext >&5
19769
19770 ac_header_compiler=no
19771 fi
19772 rm -f conftest.$ac_objext conftest.$ac_ext
19773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19774 echo "${ECHO_T}$ac_header_compiler" >&6
19775
19776 # Is the header present?
19777 echo "$as_me:$LINENO: checking windows.h presence" >&5
19778 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19779 cat >conftest.$ac_ext <<_ACEOF
19780 #line $LINENO "configure"
19781 /* confdefs.h. */
19782 _ACEOF
19783 cat confdefs.h >>conftest.$ac_ext
19784 cat >>conftest.$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19786 #include <windows.h>
19787 _ACEOF
19788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19789 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19790 ac_status=$?
19791 grep -v '^ *+' conftest.er1 >conftest.err
19792 rm -f conftest.er1
19793 cat conftest.err >&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); } >/dev/null; then
19796 if test -s conftest.err; then
19797 ac_cpp_err=$ac_c_preproc_warn_flag
19798 else
19799 ac_cpp_err=
19800 fi
19801 else
19802 ac_cpp_err=yes
19803 fi
19804 if test -z "$ac_cpp_err"; then
19805 ac_header_preproc=yes
19806 else
19807 echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.$ac_ext >&5
19809
19810 ac_header_preproc=no
19811 fi
19812 rm -f conftest.err conftest.$ac_ext
19813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19814 echo "${ECHO_T}$ac_header_preproc" >&6
19815
19816 # So? What about this header?
19817 case $ac_header_compiler:$ac_header_preproc in
19818 yes:no )
19819 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19820 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19821 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19822 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19823 (
19824 cat <<\_ASBOX
19825 ## ------------------------------------ ##
19826 ## Report this to bug-autoconf@gnu.org. ##
19827 ## ------------------------------------ ##
19828 _ASBOX
19829 ) |
19830 sed "s/^/$as_me: WARNING: /" >&2
19831 ;;
19832 no:yes )
19833 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19834 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19835 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19836 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19837 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19838 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19839 (
19840 cat <<\_ASBOX
19841 ## ------------------------------------ ##
19842 ## Report this to bug-autoconf@gnu.org. ##
19843 ## ------------------------------------ ##
19844 _ASBOX
19845 ) |
19846 sed "s/^/$as_me: WARNING: /" >&2
19847 ;;
19848 esac
19849 echo "$as_me:$LINENO: checking for windows.h" >&5
19850 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19851 if test "${ac_cv_header_windows_h+set}" = set; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19853 else
19854 ac_cv_header_windows_h=$ac_header_preproc
19855 fi
19856 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19857 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19858
19859 fi
19860 if test $ac_cv_header_windows_h = yes; then
19861 :
19862 else
19863
19864 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19865 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19866 { (exit 1); exit 1; }; }
19867
19868 fi
19869
19870
19871
19872 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19873
19874 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19875 LIBS="$LIBS -loleacc"
19876 fi
19877
19878 case "${host}" in
19879 *-*-cygwin* )
19880 LIBS="$LIBS -lkernel32 -luser32"
19881 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19882 esac
19883
19884 if test "$wxUSE_ODBC" = "sys" ; then
19885 wxUSE_ODBC = "yes"
19886 fi
19887 if test "$wxUSE_ODBC" = "yes" ; then
19888 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19889 cat >>confdefs.h <<\_ACEOF
19890 #define wxUSE_ODBC 1
19891 _ACEOF
19892
19893 fi
19894
19895 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19896 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19897
19898 WIN32INSTALL=win32install
19899 fi
19900
19901 if test "$wxUSE_GUI" = "yes"; then
19902 USE_GUI=1
19903
19904 GUI_TK_LIBRARY=
19905
19906 WXGTK12=
19907 WXGTK127=
19908 WXGTK20=
19909
19910 if test "$wxUSE_MSW" = 1 ; then
19911 TOOLKIT=MSW
19912 GUIDIST=MSW_DIST
19913 fi
19914
19915 if test "$wxUSE_GTK" = 1; then
19916 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19917 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19918
19919 gtk_version_cached=1
19920 if test "${wx_cv_lib_gtk+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 else
19923
19924 gtk_version_cached=0
19925 echo "$as_me:$LINENO: result: " >&5
19926 echo "${ECHO_T}" >&6
19927
19928 GTK_MODULES=
19929 if test "$wxUSE_THREADS" = "yes"; then
19930 GTK_MODULES=gthread
19931 fi
19932
19933 wx_cv_lib_gtk=
19934 if test "x$wxUSE_GTK2" = "xyes"; then
19935 # Check whether --enable-gtktest or --disable-gtktest was given.
19936 if test "${enable_gtktest+set}" = set; then
19937 enableval="$enable_gtktest"
19938
19939 else
19940 enable_gtktest=yes
19941 fi;
19942
19943 pkg_config_args=gtk+-2.0
19944 for module in . $GTK_MODULES
19945 do
19946 case "$module" in
19947 gthread)
19948 pkg_config_args="$pkg_config_args gthread-2.0"
19949 ;;
19950 esac
19951 done
19952
19953 no_gtk=""
19954
19955 # Extract the first word of "pkg-config", so it can be a program name with args.
19956 set dummy pkg-config; ac_word=$2
19957 echo "$as_me:$LINENO: checking for $ac_word" >&5
19958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19959 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19960 echo $ECHO_N "(cached) $ECHO_C" >&6
19961 else
19962 case $PKG_CONFIG in
19963 [\\/]* | ?:[\\/]*)
19964 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19965 ;;
19966 *)
19967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19968 for as_dir in $PATH
19969 do
19970 IFS=$as_save_IFS
19971 test -z "$as_dir" && as_dir=.
19972 for ac_exec_ext in '' $ac_executable_extensions; do
19973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19974 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19976 break 2
19977 fi
19978 done
19979 done
19980
19981 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19982 ;;
19983 esac
19984 fi
19985 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19986
19987 if test -n "$PKG_CONFIG"; then
19988 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19989 echo "${ECHO_T}$PKG_CONFIG" >&6
19990 else
19991 echo "$as_me:$LINENO: result: no" >&5
19992 echo "${ECHO_T}no" >&6
19993 fi
19994
19995
19996 if test x$PKG_CONFIG != xno ; then
19997 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19998 :
19999 else
20000 echo *** pkg-config too old; version 0.7 or better required.
20001 no_gtk=yes
20002 PKG_CONFIG=no
20003 fi
20004 else
20005 no_gtk=yes
20006 fi
20007
20008 min_gtk_version=2.0.0
20009 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20010 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20011
20012 if test x$PKG_CONFIG != xno ; then
20013 ## don't try to run the test against uninstalled libtool libs
20014 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20015 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20016 enable_gtktest=no
20017 fi
20018
20019 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20020 :
20021 else
20022 no_gtk=yes
20023 fi
20024 fi
20025
20026 if test x"$no_gtk" = x ; then
20027 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20028 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20029 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20031 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20033 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20035 if test "x$enable_gtktest" = "xyes" ; then
20036 ac_save_CFLAGS="$CFLAGS"
20037 ac_save_LIBS="$LIBS"
20038 CFLAGS="$CFLAGS $GTK_CFLAGS"
20039 LIBS="$GTK_LIBS $LIBS"
20040 rm -f conf.gtktest
20041 if test "$cross_compiling" = yes; then
20042 echo $ac_n "cross compiling; assumed OK... $ac_c"
20043 else
20044 cat >conftest.$ac_ext <<_ACEOF
20045 #line $LINENO "configure"
20046 /* confdefs.h. */
20047 _ACEOF
20048 cat confdefs.h >>conftest.$ac_ext
20049 cat >>conftest.$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051
20052 #include <gtk/gtk.h>
20053 #include <stdio.h>
20054 #include <stdlib.h>
20055
20056 int
20057 main ()
20058 {
20059 int major, minor, micro;
20060 char *tmp_version;
20061
20062 system ("touch conf.gtktest");
20063
20064 /* HP/UX 9 (%@#!) writes to sscanf strings */
20065 tmp_version = g_strdup("$min_gtk_version");
20066 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20067 printf("%s, bad version string\n", "$min_gtk_version");
20068 exit(1);
20069 }
20070
20071 if ((gtk_major_version != $gtk_config_major_version) ||
20072 (gtk_minor_version != $gtk_config_minor_version) ||
20073 (gtk_micro_version != $gtk_config_micro_version))
20074 {
20075 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20076 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20077 gtk_major_version, gtk_minor_version, gtk_micro_version);
20078 printf ("*** was found! If pkg-config was correct, then it is best\n");
20079 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20080 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20081 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20082 printf("*** required on your system.\n");
20083 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20084 printf("*** to point to the correct configuration files\n");
20085 }
20086 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20087 (gtk_minor_version != GTK_MINOR_VERSION) ||
20088 (gtk_micro_version != GTK_MICRO_VERSION))
20089 {
20090 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20091 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20092 printf("*** library (version %d.%d.%d)\n",
20093 gtk_major_version, gtk_minor_version, gtk_micro_version);
20094 }
20095 else
20096 {
20097 if ((gtk_major_version > major) ||
20098 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20099 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20100 {
20101 return 0;
20102 }
20103 else
20104 {
20105 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20106 gtk_major_version, gtk_minor_version, gtk_micro_version);
20107 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20108 major, minor, micro);
20109 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20110 printf("***\n");
20111 printf("*** If you have already installed a sufficiently new version, this error\n");
20112 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20113 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20114 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20115 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20116 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20117 printf("*** so that the correct libraries are found at run-time))\n");
20118 }
20119 }
20120 return 1;
20121 }
20122
20123 _ACEOF
20124 rm -f conftest$ac_exeext
20125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20126 (eval $ac_link) 2>&5
20127 ac_status=$?
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20132 ac_status=$?
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; }; then
20135 :
20136 else
20137 echo "$as_me: program exited with status $ac_status" >&5
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.$ac_ext >&5
20140
20141 ( exit $ac_status )
20142 no_gtk=yes
20143 fi
20144 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20145 fi
20146 CFLAGS="$ac_save_CFLAGS"
20147 LIBS="$ac_save_LIBS"
20148 fi
20149 fi
20150 if test "x$no_gtk" = x ; then
20151 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20152 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20153 wx_cv_lib_gtk=2.0
20154 else
20155 echo "$as_me:$LINENO: result: no" >&5
20156 echo "${ECHO_T}no" >&6
20157 if test "$PKG_CONFIG" = "no" ; then
20158 echo "*** A new enough version of pkg-config was not found."
20159 echo "*** See http://pkgconfig.sourceforge.net"
20160 else
20161 if test -f conf.gtktest ; then
20162 :
20163 else
20164 echo "*** Could not run GTK+ test program, checking why..."
20165 ac_save_CFLAGS="$CFLAGS"
20166 ac_save_LIBS="$LIBS"
20167 CFLAGS="$CFLAGS $GTK_CFLAGS"
20168 LIBS="$LIBS $GTK_LIBS"
20169 cat >conftest.$ac_ext <<_ACEOF
20170 #line $LINENO "configure"
20171 /* confdefs.h. */
20172 _ACEOF
20173 cat confdefs.h >>conftest.$ac_ext
20174 cat >>conftest.$ac_ext <<_ACEOF
20175 /* end confdefs.h. */
20176
20177 #include <gtk/gtk.h>
20178 #include <stdio.h>
20179
20180 int
20181 main ()
20182 {
20183 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20184 ;
20185 return 0;
20186 }
20187 _ACEOF
20188 rm -f conftest.$ac_objext conftest$ac_exeext
20189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20190 (eval $ac_link) 2>&5
20191 ac_status=$?
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); } &&
20194 { ac_try='test -s conftest$ac_exeext'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20197 ac_status=$?
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; }; then
20200 echo "*** The test program compiled, but did not run. This usually means"
20201 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20202 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20203 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20204 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20205 echo "*** is required on your system"
20206 echo "***"
20207 echo "*** If you have an old version installed, it is best to remove it, although"
20208 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20209 else
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.$ac_ext >&5
20212
20213 echo "*** The test program failed to compile or link. See the file config.log for the"
20214 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20215 fi
20216 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20217 CFLAGS="$ac_save_CFLAGS"
20218 LIBS="$ac_save_LIBS"
20219 fi
20220 fi
20221 GTK_CFLAGS=""
20222 GTK_LIBS=""
20223 :
20224 fi
20225
20226
20227 rm -f conf.gtktest
20228
20229 else
20230
20231 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20232 if test "${with_gtk_prefix+set}" = set; then
20233 withval="$with_gtk_prefix"
20234 gtk_config_prefix="$withval"
20235 else
20236 gtk_config_prefix=""
20237 fi;
20238
20239 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20240 if test "${with_gtk_exec_prefix+set}" = set; then
20241 withval="$with_gtk_exec_prefix"
20242 gtk_config_exec_prefix="$withval"
20243 else
20244 gtk_config_exec_prefix=""
20245 fi;
20246 # Check whether --enable-gtktest or --disable-gtktest was given.
20247 if test "${enable_gtktest+set}" = set; then
20248 enableval="$enable_gtktest"
20249
20250 else
20251 enable_gtktest=yes
20252 fi;
20253
20254 for module in . $GTK_MODULES
20255 do
20256 case "$module" in
20257 gthread)
20258 gtk_config_args="$gtk_config_args gthread"
20259 ;;
20260 esac
20261 done
20262
20263 if test x$gtk_config_exec_prefix != x ; then
20264 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20265 if test x${GTK_CONFIG+set} != xset ; then
20266 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20267 fi
20268 fi
20269 if test x$gtk_config_prefix != x ; then
20270 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20271 if test x${GTK_CONFIG+set} != xset ; then
20272 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20273 fi
20274 fi
20275
20276 # Extract the first word of "gtk-config", so it can be a program name with args.
20277 set dummy gtk-config; ac_word=$2
20278 echo "$as_me:$LINENO: checking for $ac_word" >&5
20279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20280 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20281 echo $ECHO_N "(cached) $ECHO_C" >&6
20282 else
20283 case $GTK_CONFIG in
20284 [\\/]* | ?:[\\/]*)
20285 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20286 ;;
20287 *)
20288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20289 for as_dir in $PATH
20290 do
20291 IFS=$as_save_IFS
20292 test -z "$as_dir" && as_dir=.
20293 for ac_exec_ext in '' $ac_executable_extensions; do
20294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20295 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20297 break 2
20298 fi
20299 done
20300 done
20301
20302 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20303 ;;
20304 esac
20305 fi
20306 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20307
20308 if test -n "$GTK_CONFIG"; then
20309 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20310 echo "${ECHO_T}$GTK_CONFIG" >&6
20311 else
20312 echo "$as_me:$LINENO: result: no" >&5
20313 echo "${ECHO_T}no" >&6
20314 fi
20315
20316 min_gtk_version=1.2.7
20317 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20318 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20319 no_gtk=""
20320 if test "$GTK_CONFIG" = "no" ; then
20321 no_gtk=yes
20322 else
20323 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20324 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20325 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20326 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20327 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20329 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20331 if test "x$enable_gtktest" = "xyes" ; then
20332 ac_save_CFLAGS="$CFLAGS"
20333 ac_save_LIBS="$LIBS"
20334 CFLAGS="$CFLAGS $GTK_CFLAGS"
20335 LIBS="$GTK_LIBS $LIBS"
20336 rm -f conf.gtktest
20337 if test "$cross_compiling" = yes; then
20338 echo $ac_n "cross compiling; assumed OK... $ac_c"
20339 else
20340 cat >conftest.$ac_ext <<_ACEOF
20341 #line $LINENO "configure"
20342 /* confdefs.h. */
20343 _ACEOF
20344 cat confdefs.h >>conftest.$ac_ext
20345 cat >>conftest.$ac_ext <<_ACEOF
20346 /* end confdefs.h. */
20347
20348 #include <gtk/gtk.h>
20349 #include <stdio.h>
20350 #include <stdlib.h>
20351
20352 int
20353 main ()
20354 {
20355 int major, minor, micro;
20356 char *tmp_version;
20357
20358 system ("touch conf.gtktest");
20359
20360 /* HP/UX 9 (%@#!) writes to sscanf strings */
20361 tmp_version = g_strdup("$min_gtk_version");
20362 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20363 printf("%s, bad version string\n", "$min_gtk_version");
20364 exit(1);
20365 }
20366
20367 if ((gtk_major_version != $gtk_config_major_version) ||
20368 (gtk_minor_version != $gtk_config_minor_version) ||
20369 (gtk_micro_version != $gtk_config_micro_version))
20370 {
20371 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20372 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20373 gtk_major_version, gtk_minor_version, gtk_micro_version);
20374 printf ("*** was found! If gtk-config was correct, then it is best\n");
20375 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20376 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20377 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20378 printf("*** required on your system.\n");
20379 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20380 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20381 printf("*** before re-running configure\n");
20382 }
20383 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20384 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20385 (gtk_minor_version != GTK_MINOR_VERSION) ||
20386 (gtk_micro_version != GTK_MICRO_VERSION))
20387 {
20388 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20389 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20390 printf("*** library (version %d.%d.%d)\n",
20391 gtk_major_version, gtk_minor_version, gtk_micro_version);
20392 }
20393 #endif /* defined (GTK_MAJOR_VERSION) ... */
20394 else
20395 {
20396 if ((gtk_major_version > major) ||
20397 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20398 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20399 {
20400 return 0;
20401 }
20402 else
20403 {
20404 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20405 gtk_major_version, gtk_minor_version, gtk_micro_version);
20406 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20407 major, minor, micro);
20408 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20409 printf("***\n");
20410 printf("*** If you have already installed a sufficiently new version, this error\n");
20411 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20412 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20413 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20414 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20415 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20416 printf("*** so that the correct libraries are found at run-time))\n");
20417 }
20418 }
20419 return 1;
20420 }
20421
20422 _ACEOF
20423 rm -f conftest$ac_exeext
20424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20425 (eval $ac_link) 2>&5
20426 ac_status=$?
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20430 (eval $ac_try) 2>&5
20431 ac_status=$?
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }; }; then
20434 :
20435 else
20436 echo "$as_me: program exited with status $ac_status" >&5
20437 echo "$as_me: failed program was:" >&5
20438 sed 's/^/| /' conftest.$ac_ext >&5
20439
20440 ( exit $ac_status )
20441 no_gtk=yes
20442 fi
20443 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20444 fi
20445 CFLAGS="$ac_save_CFLAGS"
20446 LIBS="$ac_save_LIBS"
20447 fi
20448 fi
20449 if test "x$no_gtk" = x ; then
20450 echo "$as_me:$LINENO: result: yes" >&5
20451 echo "${ECHO_T}yes" >&6
20452 wx_cv_lib_gtk=1.2.7
20453 else
20454 echo "$as_me:$LINENO: result: no" >&5
20455 echo "${ECHO_T}no" >&6
20456 if test "$GTK_CONFIG" = "no" ; then
20457 echo "*** The gtk-config script installed by GTK could not be found"
20458 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20459 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20460 echo "*** full path to gtk-config."
20461 else
20462 if test -f conf.gtktest ; then
20463 :
20464 else
20465 echo "*** Could not run GTK test program, checking why..."
20466 CFLAGS="$CFLAGS $GTK_CFLAGS"
20467 LIBS="$LIBS $GTK_LIBS"
20468 cat >conftest.$ac_ext <<_ACEOF
20469 #line $LINENO "configure"
20470 /* confdefs.h. */
20471 _ACEOF
20472 cat confdefs.h >>conftest.$ac_ext
20473 cat >>conftest.$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20475
20476 #include <gtk/gtk.h>
20477 #include <stdio.h>
20478
20479 int
20480 main ()
20481 {
20482 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20483 ;
20484 return 0;
20485 }
20486 _ACEOF
20487 rm -f conftest.$ac_objext conftest$ac_exeext
20488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20489 (eval $ac_link) 2>&5
20490 ac_status=$?
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); } &&
20493 { ac_try='test -s conftest$ac_exeext'
20494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20495 (eval $ac_try) 2>&5
20496 ac_status=$?
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); }; }; then
20499 echo "*** The test program compiled, but did not run. This usually means"
20500 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20501 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20502 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20503 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20504 echo "*** is required on your system"
20505 echo "***"
20506 echo "*** If you have an old version installed, it is best to remove it, although"
20507 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20508 echo "***"
20509 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20510 echo "*** came with the system with the command"
20511 echo "***"
20512 echo "*** rpm --erase --nodeps gtk gtk-devel"
20513 else
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20516
20517 echo "*** The test program failed to compile or link. See the file config.log for the"
20518 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20519 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20520 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20521 fi
20522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20523 CFLAGS="$ac_save_CFLAGS"
20524 LIBS="$ac_save_LIBS"
20525 fi
20526 fi
20527 GTK_CFLAGS=""
20528 GTK_LIBS=""
20529 :
20530 fi
20531
20532
20533 rm -f conf.gtktest
20534
20535
20536 if test -z "$wx_cv_lib_gtk"; then
20537
20538 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20539 if test "${with_gtk_prefix+set}" = set; then
20540 withval="$with_gtk_prefix"
20541 gtk_config_prefix="$withval"
20542 else
20543 gtk_config_prefix=""
20544 fi;
20545
20546 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20547 if test "${with_gtk_exec_prefix+set}" = set; then
20548 withval="$with_gtk_exec_prefix"
20549 gtk_config_exec_prefix="$withval"
20550 else
20551 gtk_config_exec_prefix=""
20552 fi;
20553 # Check whether --enable-gtktest or --disable-gtktest was given.
20554 if test "${enable_gtktest+set}" = set; then
20555 enableval="$enable_gtktest"
20556
20557 else
20558 enable_gtktest=yes
20559 fi;
20560
20561 for module in . $GTK_MODULES
20562 do
20563 case "$module" in
20564 gthread)
20565 gtk_config_args="$gtk_config_args gthread"
20566 ;;
20567 esac
20568 done
20569
20570 if test x$gtk_config_exec_prefix != x ; then
20571 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20572 if test x${GTK_CONFIG+set} != xset ; then
20573 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20574 fi
20575 fi
20576 if test x$gtk_config_prefix != x ; then
20577 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20578 if test x${GTK_CONFIG+set} != xset ; then
20579 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20580 fi
20581 fi
20582
20583 # Extract the first word of "gtk-config", so it can be a program name with args.
20584 set dummy gtk-config; ac_word=$2
20585 echo "$as_me:$LINENO: checking for $ac_word" >&5
20586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20587 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20588 echo $ECHO_N "(cached) $ECHO_C" >&6
20589 else
20590 case $GTK_CONFIG in
20591 [\\/]* | ?:[\\/]*)
20592 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20593 ;;
20594 *)
20595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20596 for as_dir in $PATH
20597 do
20598 IFS=$as_save_IFS
20599 test -z "$as_dir" && as_dir=.
20600 for ac_exec_ext in '' $ac_executable_extensions; do
20601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20602 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20604 break 2
20605 fi
20606 done
20607 done
20608
20609 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20610 ;;
20611 esac
20612 fi
20613 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20614
20615 if test -n "$GTK_CONFIG"; then
20616 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20617 echo "${ECHO_T}$GTK_CONFIG" >&6
20618 else
20619 echo "$as_me:$LINENO: result: no" >&5
20620 echo "${ECHO_T}no" >&6
20621 fi
20622
20623 min_gtk_version=1.2.3
20624 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20625 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20626 no_gtk=""
20627 if test "$GTK_CONFIG" = "no" ; then
20628 no_gtk=yes
20629 else
20630 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20631 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20632 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20633 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20634 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20635 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20636 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20638 if test "x$enable_gtktest" = "xyes" ; then
20639 ac_save_CFLAGS="$CFLAGS"
20640 ac_save_LIBS="$LIBS"
20641 CFLAGS="$CFLAGS $GTK_CFLAGS"
20642 LIBS="$GTK_LIBS $LIBS"
20643 rm -f conf.gtktest
20644 if test "$cross_compiling" = yes; then
20645 echo $ac_n "cross compiling; assumed OK... $ac_c"
20646 else
20647 cat >conftest.$ac_ext <<_ACEOF
20648 #line $LINENO "configure"
20649 /* confdefs.h. */
20650 _ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654
20655 #include <gtk/gtk.h>
20656 #include <stdio.h>
20657 #include <stdlib.h>
20658
20659 int
20660 main ()
20661 {
20662 int major, minor, micro;
20663 char *tmp_version;
20664
20665 system ("touch conf.gtktest");
20666
20667 /* HP/UX 9 (%@#!) writes to sscanf strings */
20668 tmp_version = g_strdup("$min_gtk_version");
20669 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20670 printf("%s, bad version string\n", "$min_gtk_version");
20671 exit(1);
20672 }
20673
20674 if ((gtk_major_version != $gtk_config_major_version) ||
20675 (gtk_minor_version != $gtk_config_minor_version) ||
20676 (gtk_micro_version != $gtk_config_micro_version))
20677 {
20678 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20679 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20680 gtk_major_version, gtk_minor_version, gtk_micro_version);
20681 printf ("*** was found! If gtk-config was correct, then it is best\n");
20682 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20683 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20684 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20685 printf("*** required on your system.\n");
20686 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20687 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20688 printf("*** before re-running configure\n");
20689 }
20690 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20691 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20692 (gtk_minor_version != GTK_MINOR_VERSION) ||
20693 (gtk_micro_version != GTK_MICRO_VERSION))
20694 {
20695 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20696 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20697 printf("*** library (version %d.%d.%d)\n",
20698 gtk_major_version, gtk_minor_version, gtk_micro_version);
20699 }
20700 #endif /* defined (GTK_MAJOR_VERSION) ... */
20701 else
20702 {
20703 if ((gtk_major_version > major) ||
20704 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20705 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20706 {
20707 return 0;
20708 }
20709 else
20710 {
20711 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20712 gtk_major_version, gtk_minor_version, gtk_micro_version);
20713 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20714 major, minor, micro);
20715 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20716 printf("***\n");
20717 printf("*** If you have already installed a sufficiently new version, this error\n");
20718 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20719 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20720 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20721 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20722 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20723 printf("*** so that the correct libraries are found at run-time))\n");
20724 }
20725 }
20726 return 1;
20727 }
20728
20729 _ACEOF
20730 rm -f conftest$ac_exeext
20731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20732 (eval $ac_link) 2>&5
20733 ac_status=$?
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20737 (eval $ac_try) 2>&5
20738 ac_status=$?
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); }; }; then
20741 :
20742 else
20743 echo "$as_me: program exited with status $ac_status" >&5
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.$ac_ext >&5
20746
20747 ( exit $ac_status )
20748 no_gtk=yes
20749 fi
20750 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20751 fi
20752 CFLAGS="$ac_save_CFLAGS"
20753 LIBS="$ac_save_LIBS"
20754 fi
20755 fi
20756 if test "x$no_gtk" = x ; then
20757 echo "$as_me:$LINENO: result: yes" >&5
20758 echo "${ECHO_T}yes" >&6
20759 wx_cv_lib_gtk=1.2.3
20760 else
20761 echo "$as_me:$LINENO: result: no" >&5
20762 echo "${ECHO_T}no" >&6
20763 if test "$GTK_CONFIG" = "no" ; then
20764 echo "*** The gtk-config script installed by GTK could not be found"
20765 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20766 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20767 echo "*** full path to gtk-config."
20768 else
20769 if test -f conf.gtktest ; then
20770 :
20771 else
20772 echo "*** Could not run GTK test program, checking why..."
20773 CFLAGS="$CFLAGS $GTK_CFLAGS"
20774 LIBS="$LIBS $GTK_LIBS"
20775 cat >conftest.$ac_ext <<_ACEOF
20776 #line $LINENO "configure"
20777 /* confdefs.h. */
20778 _ACEOF
20779 cat confdefs.h >>conftest.$ac_ext
20780 cat >>conftest.$ac_ext <<_ACEOF
20781 /* end confdefs.h. */
20782
20783 #include <gtk/gtk.h>
20784 #include <stdio.h>
20785
20786 int
20787 main ()
20788 {
20789 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20790 ;
20791 return 0;
20792 }
20793 _ACEOF
20794 rm -f conftest.$ac_objext conftest$ac_exeext
20795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20796 (eval $ac_link) 2>&5
20797 ac_status=$?
20798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20799 (exit $ac_status); } &&
20800 { ac_try='test -s conftest$ac_exeext'
20801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20802 (eval $ac_try) 2>&5
20803 ac_status=$?
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); }; }; then
20806 echo "*** The test program compiled, but did not run. This usually means"
20807 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20808 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20809 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20810 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20811 echo "*** is required on your system"
20812 echo "***"
20813 echo "*** If you have an old version installed, it is best to remove it, although"
20814 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20815 echo "***"
20816 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20817 echo "*** came with the system with the command"
20818 echo "***"
20819 echo "*** rpm --erase --nodeps gtk gtk-devel"
20820 else
20821 echo "$as_me: failed program was:" >&5
20822 sed 's/^/| /' conftest.$ac_ext >&5
20823
20824 echo "*** The test program failed to compile or link. See the file config.log for the"
20825 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20826 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20827 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20828 fi
20829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20830 CFLAGS="$ac_save_CFLAGS"
20831 LIBS="$ac_save_LIBS"
20832 fi
20833 fi
20834 GTK_CFLAGS=""
20835 GTK_LIBS=""
20836 :
20837 fi
20838
20839
20840 rm -f conf.gtktest
20841
20842 fi
20843 fi
20844
20845 if test -z "$wx_cv_lib_gtk"; then
20846 wx_cv_lib_gtk=none
20847 else
20848 wx_cv_cflags_gtk=$GTK_CFLAGS
20849 wx_cv_libs_gtk=$GTK_LIBS
20850 fi
20851
20852
20853 fi
20854
20855
20856 if test "$gtk_version_cached" = 1; then
20857 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20858 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20859 fi
20860
20861 case "$wx_cv_lib_gtk" in
20862 2.0) WXGTK20=1
20863 TOOLKIT_VERSION=2
20864 ;;
20865 1.2.7) WXGTK127=1
20866 WXGTK12=1
20867 ;;
20868 1.2.3) WXGTK12=1
20869 ;;
20870 *) { { echo "$as_me:$LINENO: error:
20871 Please check that gtk-config is in path, the directory
20872 where GTK+ libraries are installed (returned by
20873 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20874 equivalent variable and GTK+ is version 1.2.3 or above.
20875 " >&5
20876 echo "$as_me: error:
20877 Please check that gtk-config is in path, the directory
20878 where GTK+ libraries are installed (returned by
20879 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20880 equivalent variable and GTK+ is version 1.2.3 or above.
20881 " >&2;}
20882 { (exit 1); exit 1; }; }
20883 ;;
20884 esac
20885
20886 if test "$WXGTK20" = 1; then
20887 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20888
20889 succeeded=no
20890
20891 if test -z "$PKG_CONFIG"; then
20892 # Extract the first word of "pkg-config", so it can be a program name with args.
20893 set dummy pkg-config; ac_word=$2
20894 echo "$as_me:$LINENO: checking for $ac_word" >&5
20895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20896 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20897 echo $ECHO_N "(cached) $ECHO_C" >&6
20898 else
20899 case $PKG_CONFIG in
20900 [\\/]* | ?:[\\/]*)
20901 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20902 ;;
20903 *)
20904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20905 for as_dir in $PATH
20906 do
20907 IFS=$as_save_IFS
20908 test -z "$as_dir" && as_dir=.
20909 for ac_exec_ext in '' $ac_executable_extensions; do
20910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20911 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20913 break 2
20914 fi
20915 done
20916 done
20917
20918 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20919 ;;
20920 esac
20921 fi
20922 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20923
20924 if test -n "$PKG_CONFIG"; then
20925 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20926 echo "${ECHO_T}$PKG_CONFIG" >&6
20927 else
20928 echo "$as_me:$LINENO: result: no" >&5
20929 echo "${ECHO_T}no" >&6
20930 fi
20931
20932 fi
20933
20934 if test "$PKG_CONFIG" = "no" ; then
20935 echo "*** The pkg-config script could not be found. Make sure it is"
20936 echo "*** in your path, or set the PKG_CONFIG environment variable"
20937 echo "*** to the full path to pkg-config."
20938 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20939 else
20940 PKG_CONFIG_MIN_VERSION=0.9.0
20941 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20942 echo "$as_me:$LINENO: checking for pangoft2" >&5
20943 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20944
20945 if $PKG_CONFIG --exists "pangoft2" ; then
20946 echo "$as_me:$LINENO: result: yes" >&5
20947 echo "${ECHO_T}yes" >&6
20948 succeeded=yes
20949
20950 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20951 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20952 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20953 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20954 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20955
20956 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20957 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20958 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20959 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20960 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20961 else
20962 PANGOFT2_CFLAGS=""
20963 PANGOFT2_LIBS=""
20964 ## If we have a custom action on failure, don't print errors, but
20965 ## do set a variable so people can do so.
20966 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20967
20968 fi
20969
20970
20971
20972 else
20973 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20974 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20975 fi
20976 fi
20977
20978 if test $succeeded = yes; then
20979
20980 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20981 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20982
20983 else
20984
20985 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20986 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20987 wxUSE_PRINTING_ARCHITECTURE="no"
20988
20989
20990 fi
20991
20992 fi
20993 else
20994 if test "$wxUSE_UNICODE" = "yes"; then
20995 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20996 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20997 wxUSE_UNICODE=no
20998 fi
20999 fi
21000
21001 if test "$USE_DARWIN" != 1; then
21002
21003 for ac_func in poll
21004 do
21005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21006 echo "$as_me:$LINENO: checking for $ac_func" >&5
21007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21008 if eval "test \"\${$as_ac_var+set}\" = set"; then
21009 echo $ECHO_N "(cached) $ECHO_C" >&6
21010 else
21011 cat >conftest.$ac_ext <<_ACEOF
21012 #line $LINENO "configure"
21013 /* confdefs.h. */
21014 _ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 /* System header to define __stub macros and hopefully few prototypes,
21019 which can conflict with char $ac_func (); below.
21020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21021 <limits.h> exists even on freestanding compilers. */
21022 #ifdef __STDC__
21023 # include <limits.h>
21024 #else
21025 # include <assert.h>
21026 #endif
21027 /* Override any gcc2 internal prototype to avoid an error. */
21028 #ifdef __cplusplus
21029 extern "C"
21030 {
21031 #endif
21032 /* We use char because int might match the return type of a gcc2
21033 builtin and then its argument prototype would still apply. */
21034 char $ac_func ();
21035 /* The GNU C library defines this for functions which it implements
21036 to always fail with ENOSYS. Some functions are actually named
21037 something starting with __ and the normal name is an alias. */
21038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21039 choke me
21040 #else
21041 char (*f) () = $ac_func;
21042 #endif
21043 #ifdef __cplusplus
21044 }
21045 #endif
21046
21047 int
21048 main ()
21049 {
21050 return f != $ac_func;
21051 ;
21052 return 0;
21053 }
21054 _ACEOF
21055 rm -f conftest.$ac_objext conftest$ac_exeext
21056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21057 (eval $ac_link) 2>&5
21058 ac_status=$?
21059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060 (exit $ac_status); } &&
21061 { ac_try='test -s conftest$ac_exeext'
21062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21063 (eval $ac_try) 2>&5
21064 ac_status=$?
21065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066 (exit $ac_status); }; }; then
21067 eval "$as_ac_var=yes"
21068 else
21069 echo "$as_me: failed program was:" >&5
21070 sed 's/^/| /' conftest.$ac_ext >&5
21071
21072 eval "$as_ac_var=no"
21073 fi
21074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21075 fi
21076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21078 if test `eval echo '${'$as_ac_var'}'` = yes; then
21079 cat >>confdefs.h <<_ACEOF
21080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21081 _ACEOF
21082
21083 fi
21084 done
21085
21086 fi
21087
21088 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21089 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21090
21091 AFMINSTALL=afminstall
21092 TOOLKIT=GTK
21093 GUIDIST=GTK_DIST
21094
21095 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21096 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21097 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21098 echo $ECHO_N "(cached) $ECHO_C" >&6
21099 else
21100 ac_check_lib_save_LIBS=$LIBS
21101 LIBS="-lgdk $LIBS"
21102 cat >conftest.$ac_ext <<_ACEOF
21103 #line $LINENO "configure"
21104 /* confdefs.h. */
21105 _ACEOF
21106 cat confdefs.h >>conftest.$ac_ext
21107 cat >>conftest.$ac_ext <<_ACEOF
21108 /* end confdefs.h. */
21109
21110 /* Override any gcc2 internal prototype to avoid an error. */
21111 #ifdef __cplusplus
21112 extern "C"
21113 #endif
21114 /* We use char because int might match the return type of a gcc2
21115 builtin and then its argument prototype would still apply. */
21116 char gdk_im_open ();
21117 int
21118 main ()
21119 {
21120 gdk_im_open ();
21121 ;
21122 return 0;
21123 }
21124 _ACEOF
21125 rm -f conftest.$ac_objext conftest$ac_exeext
21126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21127 (eval $ac_link) 2>&5
21128 ac_status=$?
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); } &&
21131 { ac_try='test -s conftest$ac_exeext'
21132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133 (eval $ac_try) 2>&5
21134 ac_status=$?
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); }; }; then
21137 ac_cv_lib_gdk_gdk_im_open=yes
21138 else
21139 echo "$as_me: failed program was:" >&5
21140 sed 's/^/| /' conftest.$ac_ext >&5
21141
21142 ac_cv_lib_gdk_gdk_im_open=no
21143 fi
21144 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21145 LIBS=$ac_check_lib_save_LIBS
21146 fi
21147 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21148 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21149 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21150 cat >>confdefs.h <<\_ACEOF
21151 #define HAVE_XIM 1
21152 _ACEOF
21153
21154 fi
21155
21156 fi
21157
21158 if test "$wxUSE_MGL" = 1; then
21159 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21160 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21161 if test "x$MGL_ROOT" = x ; then
21162 echo "$as_me:$LINENO: result: not found" >&5
21163 echo "${ECHO_T}not found" >&6
21164 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21165 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21166 { (exit 1); exit 1; }; }
21167 else
21168 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21169 echo "${ECHO_T}$MGL_ROOT" >&6
21170 fi
21171
21172 echo "$as_me:$LINENO: checking for libmgl location" >&5
21173 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21174 case "${host}" in
21175 *-*-linux* )
21176 if test "x$wxUSE_SHARED" = xyes ; then
21177 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
21178 else
21179 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
21180 fi
21181 ;;
21182 *-pc-msdosdjgpp )
21183 mgl_os_candidates="dos32/dj2"
21184 ;;
21185 *)
21186 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21187 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21188 { (exit 1); exit 1; }; }
21189 esac
21190
21191 mgl_lib_type=""
21192 mgl_os=""
21193
21194 for mgl_os_i in $mgl_os_candidates ; do
21195 if test "x$mgl_os" = x ; then
21196 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21197 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21198 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21199 mgl_lib_type=debug
21200 mgl_os=$mgl_os_i
21201 fi
21202 fi
21203 if test "x$mgl_lib_type" = x ; then
21204 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21205 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21206 mgl_lib_type=release
21207 mgl_os=$mgl_os_i
21208 fi
21209 fi
21210 fi
21211 done
21212
21213 if test "x$mgl_os" = x ; then
21214 echo "$as_me:$LINENO: result: not found" >&5
21215 echo "${ECHO_T}not found" >&6
21216 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21217 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21218 { (exit 1); exit 1; }; }
21219 fi
21220 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21221 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21222
21223 wxUSE_UNIVERSAL="yes"
21224
21225 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21226 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21227
21228 AFMINSTALL=afminstall
21229 TOOLKIT=MGL
21230 GUIDIST=MGL_DIST
21231 fi
21232
21233 if test "$wxUSE_MICROWIN" = 1; then
21234 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21235 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21236 if test "x$MICROWINDOWS" = x ; then
21237 echo "$as_me:$LINENO: result: not found" >&5
21238 echo "${ECHO_T}not found" >&6
21239 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21240 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21241 { (exit 1); exit 1; }; }
21242 else
21243 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21244 echo "${ECHO_T}$MICROWINDOWS" >&6
21245 fi
21246
21247 if test -f $MICROWINDOWS/lib/libmwin.a; then
21248 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21249 echo "${ECHO_T}MicroWindows' libraries found." >&6
21250 else
21251 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21252 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21253 { (exit 1); exit 1; }; }
21254 fi
21255
21256 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21257 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21258
21259 wxUSE_UNIVERSAL="yes"
21260
21261 AFMINSTALL=afminstall
21262 TOOLKIT=MICROWIN
21263 GUIDIST=MICROWIN_DIST
21264
21265 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21266 fi
21267
21268 if test "$wxUSE_X11" = 1; then
21269 echo "$as_me:$LINENO: checking for X" >&5
21270 echo $ECHO_N "checking for X... $ECHO_C" >&6
21271
21272
21273 # Check whether --with-x or --without-x was given.
21274 if test "${with_x+set}" = set; then
21275 withval="$with_x"
21276
21277 fi;
21278 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21279 if test "x$with_x" = xno; then
21280 # The user explicitly disabled X.
21281 have_x=disabled
21282 else
21283 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21284 # Both variables are already set.
21285 have_x=yes
21286 else
21287 if test "${ac_cv_have_x+set}" = set; then
21288 echo $ECHO_N "(cached) $ECHO_C" >&6
21289 else
21290 # One or both of the vars are not set, and there is no cached value.
21291 ac_x_includes=no ac_x_libraries=no
21292 rm -fr conftest.dir
21293 if mkdir conftest.dir; then
21294 cd conftest.dir
21295 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21296 cat >Imakefile <<'_ACEOF'
21297 acfindx:
21298 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21299 _ACEOF
21300 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21301 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21302 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21303 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21304 for ac_extension in a so sl; do
21305 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21306 test -f $ac_im_libdir/libX11.$ac_extension; then
21307 ac_im_usrlibdir=$ac_im_libdir; break
21308 fi
21309 done
21310 # Screen out bogus values from the imake configuration. They are
21311 # bogus both because they are the default anyway, and because
21312 # using them would break gcc on systems where it needs fixed includes.
21313 case $ac_im_incroot in
21314 /usr/include) ;;
21315 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21316 esac
21317 case $ac_im_usrlibdir in
21318 /usr/lib | /lib) ;;
21319 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21320 esac
21321 fi
21322 cd ..
21323 rm -fr conftest.dir
21324 fi
21325
21326 # Standard set of common directories for X headers.
21327 # Check X11 before X11Rn because it is often a symlink to the current release.
21328 ac_x_header_dirs='
21329 /usr/X11/include
21330 /usr/X11R6/include
21331 /usr/X11R5/include
21332 /usr/X11R4/include
21333
21334 /usr/include/X11
21335 /usr/include/X11R6
21336 /usr/include/X11R5
21337 /usr/include/X11R4
21338
21339 /usr/local/X11/include
21340 /usr/local/X11R6/include
21341 /usr/local/X11R5/include
21342 /usr/local/X11R4/include
21343
21344 /usr/local/include/X11
21345 /usr/local/include/X11R6
21346 /usr/local/include/X11R5
21347 /usr/local/include/X11R4
21348
21349 /usr/X386/include
21350 /usr/x386/include
21351 /usr/XFree86/include/X11
21352
21353 /usr/include
21354 /usr/local/include
21355 /usr/unsupported/include
21356 /usr/athena/include
21357 /usr/local/x11r5/include
21358 /usr/lpp/Xamples/include
21359
21360 /usr/openwin/include
21361 /usr/openwin/share/include'
21362
21363 if test "$ac_x_includes" = no; then
21364 # Guess where to find include files, by looking for Intrinsic.h.
21365 # First, try using that file with no special directory specified.
21366 cat >conftest.$ac_ext <<_ACEOF
21367 #line $LINENO "configure"
21368 /* confdefs.h. */
21369 _ACEOF
21370 cat confdefs.h >>conftest.$ac_ext
21371 cat >>conftest.$ac_ext <<_ACEOF
21372 /* end confdefs.h. */
21373 #include <X11/Intrinsic.h>
21374 _ACEOF
21375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21377 ac_status=$?
21378 grep -v '^ *+' conftest.er1 >conftest.err
21379 rm -f conftest.er1
21380 cat conftest.err >&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } >/dev/null; then
21383 if test -s conftest.err; then
21384 ac_cpp_err=$ac_c_preproc_warn_flag
21385 else
21386 ac_cpp_err=
21387 fi
21388 else
21389 ac_cpp_err=yes
21390 fi
21391 if test -z "$ac_cpp_err"; then
21392 # We can compile using X headers with no special include directory.
21393 ac_x_includes=
21394 else
21395 echo "$as_me: failed program was:" >&5
21396 sed 's/^/| /' conftest.$ac_ext >&5
21397
21398 for ac_dir in $ac_x_header_dirs; do
21399 if test -r "$ac_dir/X11/Intrinsic.h"; then
21400 ac_x_includes=$ac_dir
21401 break
21402 fi
21403 done
21404 fi
21405 rm -f conftest.err conftest.$ac_ext
21406 fi # $ac_x_includes = no
21407
21408 if test "$ac_x_libraries" = no; then
21409 # Check for the libraries.
21410 # See if we find them without any special options.
21411 # Don't add to $LIBS permanently.
21412 ac_save_LIBS=$LIBS
21413 LIBS="-lXt $LIBS"
21414 cat >conftest.$ac_ext <<_ACEOF
21415 #line $LINENO "configure"
21416 /* confdefs.h. */
21417 _ACEOF
21418 cat confdefs.h >>conftest.$ac_ext
21419 cat >>conftest.$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21421 #include <X11/Intrinsic.h>
21422 int
21423 main ()
21424 {
21425 XtMalloc (0)
21426 ;
21427 return 0;
21428 }
21429 _ACEOF
21430 rm -f conftest.$ac_objext conftest$ac_exeext
21431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21432 (eval $ac_link) 2>&5
21433 ac_status=$?
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); } &&
21436 { ac_try='test -s conftest$ac_exeext'
21437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21438 (eval $ac_try) 2>&5
21439 ac_status=$?
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; }; then
21442 LIBS=$ac_save_LIBS
21443 # We can link X programs with no special library path.
21444 ac_x_libraries=
21445 else
21446 echo "$as_me: failed program was:" >&5
21447 sed 's/^/| /' conftest.$ac_ext >&5
21448
21449 LIBS=$ac_save_LIBS
21450 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21451 do
21452 # Don't even attempt the hair of trying to link an X program!
21453 for ac_extension in a so sl; do
21454 if test -r $ac_dir/libXt.$ac_extension; then
21455 ac_x_libraries=$ac_dir
21456 break 2
21457 fi
21458 done
21459 done
21460 fi
21461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21462 fi # $ac_x_libraries = no
21463
21464 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21465 # Didn't find X anywhere. Cache the known absence of X.
21466 ac_cv_have_x="have_x=no"
21467 else
21468 # Record where we found X for the cache.
21469 ac_cv_have_x="have_x=yes \
21470 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21471 fi
21472 fi
21473
21474 fi
21475 eval "$ac_cv_have_x"
21476 fi # $with_x != no
21477
21478 if test "$have_x" != yes; then
21479 echo "$as_me:$LINENO: result: $have_x" >&5
21480 echo "${ECHO_T}$have_x" >&6
21481 no_x=yes
21482 else
21483 # If each of the values was on the command line, it overrides each guess.
21484 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21485 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21486 # Update the cache value to reflect the command line values.
21487 ac_cv_have_x="have_x=yes \
21488 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21489 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21490 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21491 fi
21492
21493 if test "$no_x" = yes; then
21494 # Not all programs may use this symbol, but it does not hurt to define it.
21495
21496 cat >>confdefs.h <<\_ACEOF
21497 #define X_DISPLAY_MISSING 1
21498 _ACEOF
21499
21500 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21501 else
21502 if test -n "$x_includes"; then
21503 X_CFLAGS="$X_CFLAGS -I$x_includes"
21504 fi
21505
21506 # It would also be nice to do this for all -L options, not just this one.
21507 if test -n "$x_libraries"; then
21508 X_LIBS="$X_LIBS -L$x_libraries"
21509 # For Solaris; some versions of Sun CC require a space after -R and
21510 # others require no space. Words are not sufficient . . . .
21511 case `(uname -sr) 2>/dev/null` in
21512 "SunOS 5"*)
21513 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21514 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21515 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21516 cat >conftest.$ac_ext <<_ACEOF
21517 #line $LINENO "configure"
21518 /* confdefs.h. */
21519 _ACEOF
21520 cat confdefs.h >>conftest.$ac_ext
21521 cat >>conftest.$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21523
21524 int
21525 main ()
21526 {
21527
21528 ;
21529 return 0;
21530 }
21531 _ACEOF
21532 rm -f conftest.$ac_objext conftest$ac_exeext
21533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21534 (eval $ac_link) 2>&5
21535 ac_status=$?
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); } &&
21538 { ac_try='test -s conftest$ac_exeext'
21539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21540 (eval $ac_try) 2>&5
21541 ac_status=$?
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; }; then
21544 ac_R_nospace=yes
21545 else
21546 echo "$as_me: failed program was:" >&5
21547 sed 's/^/| /' conftest.$ac_ext >&5
21548
21549 ac_R_nospace=no
21550 fi
21551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21552 if test $ac_R_nospace = yes; then
21553 echo "$as_me:$LINENO: result: no" >&5
21554 echo "${ECHO_T}no" >&6
21555 X_LIBS="$X_LIBS -R$x_libraries"
21556 else
21557 LIBS="$ac_xsave_LIBS -R $x_libraries"
21558 cat >conftest.$ac_ext <<_ACEOF
21559 #line $LINENO "configure"
21560 /* confdefs.h. */
21561 _ACEOF
21562 cat confdefs.h >>conftest.$ac_ext
21563 cat >>conftest.$ac_ext <<_ACEOF
21564 /* end confdefs.h. */
21565
21566 int
21567 main ()
21568 {
21569
21570 ;
21571 return 0;
21572 }
21573 _ACEOF
21574 rm -f conftest.$ac_objext conftest$ac_exeext
21575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21576 (eval $ac_link) 2>&5
21577 ac_status=$?
21578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579 (exit $ac_status); } &&
21580 { ac_try='test -s conftest$ac_exeext'
21581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21582 (eval $ac_try) 2>&5
21583 ac_status=$?
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); }; }; then
21586 ac_R_space=yes
21587 else
21588 echo "$as_me: failed program was:" >&5
21589 sed 's/^/| /' conftest.$ac_ext >&5
21590
21591 ac_R_space=no
21592 fi
21593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21594 if test $ac_R_space = yes; then
21595 echo "$as_me:$LINENO: result: yes" >&5
21596 echo "${ECHO_T}yes" >&6
21597 X_LIBS="$X_LIBS -R $x_libraries"
21598 else
21599 echo "$as_me:$LINENO: result: neither works" >&5
21600 echo "${ECHO_T}neither works" >&6
21601 fi
21602 fi
21603 LIBS=$ac_xsave_LIBS
21604 esac
21605 fi
21606
21607 # Check for system-dependent libraries X programs must link with.
21608 # Do this before checking for the system-independent R6 libraries
21609 # (-lICE), since we may need -lsocket or whatever for X linking.
21610
21611 if test "$ISC" = yes; then
21612 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21613 else
21614 # Martyn Johnson says this is needed for Ultrix, if the X
21615 # libraries were built with DECnet support. And Karl Berry says
21616 # the Alpha needs dnet_stub (dnet does not exist).
21617 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21618 cat >conftest.$ac_ext <<_ACEOF
21619 #line $LINENO "configure"
21620 /* confdefs.h. */
21621 _ACEOF
21622 cat confdefs.h >>conftest.$ac_ext
21623 cat >>conftest.$ac_ext <<_ACEOF
21624 /* end confdefs.h. */
21625
21626 /* Override any gcc2 internal prototype to avoid an error. */
21627 #ifdef __cplusplus
21628 extern "C"
21629 #endif
21630 /* We use char because int might match the return type of a gcc2
21631 builtin and then its argument prototype would still apply. */
21632 char XOpenDisplay ();
21633 int
21634 main ()
21635 {
21636 XOpenDisplay ();
21637 ;
21638 return 0;
21639 }
21640 _ACEOF
21641 rm -f conftest.$ac_objext conftest$ac_exeext
21642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21643 (eval $ac_link) 2>&5
21644 ac_status=$?
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); } &&
21647 { ac_try='test -s conftest$ac_exeext'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21650 ac_status=$?
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; }; then
21653 :
21654 else
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21657
21658 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21659 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21660 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21661 echo $ECHO_N "(cached) $ECHO_C" >&6
21662 else
21663 ac_check_lib_save_LIBS=$LIBS
21664 LIBS="-ldnet $LIBS"
21665 cat >conftest.$ac_ext <<_ACEOF
21666 #line $LINENO "configure"
21667 /* confdefs.h. */
21668 _ACEOF
21669 cat confdefs.h >>conftest.$ac_ext
21670 cat >>conftest.$ac_ext <<_ACEOF
21671 /* end confdefs.h. */
21672
21673 /* Override any gcc2 internal prototype to avoid an error. */
21674 #ifdef __cplusplus
21675 extern "C"
21676 #endif
21677 /* We use char because int might match the return type of a gcc2
21678 builtin and then its argument prototype would still apply. */
21679 char dnet_ntoa ();
21680 int
21681 main ()
21682 {
21683 dnet_ntoa ();
21684 ;
21685 return 0;
21686 }
21687 _ACEOF
21688 rm -f conftest.$ac_objext conftest$ac_exeext
21689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21690 (eval $ac_link) 2>&5
21691 ac_status=$?
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); } &&
21694 { ac_try='test -s conftest$ac_exeext'
21695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21696 (eval $ac_try) 2>&5
21697 ac_status=$?
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); }; }; then
21700 ac_cv_lib_dnet_dnet_ntoa=yes
21701 else
21702 echo "$as_me: failed program was:" >&5
21703 sed 's/^/| /' conftest.$ac_ext >&5
21704
21705 ac_cv_lib_dnet_dnet_ntoa=no
21706 fi
21707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21708 LIBS=$ac_check_lib_save_LIBS
21709 fi
21710 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21711 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21712 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21713 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21714 fi
21715
21716 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21717 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21718 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21719 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21720 echo $ECHO_N "(cached) $ECHO_C" >&6
21721 else
21722 ac_check_lib_save_LIBS=$LIBS
21723 LIBS="-ldnet_stub $LIBS"
21724 cat >conftest.$ac_ext <<_ACEOF
21725 #line $LINENO "configure"
21726 /* confdefs.h. */
21727 _ACEOF
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731
21732 /* Override any gcc2 internal prototype to avoid an error. */
21733 #ifdef __cplusplus
21734 extern "C"
21735 #endif
21736 /* We use char because int might match the return type of a gcc2
21737 builtin and then its argument prototype would still apply. */
21738 char dnet_ntoa ();
21739 int
21740 main ()
21741 {
21742 dnet_ntoa ();
21743 ;
21744 return 0;
21745 }
21746 _ACEOF
21747 rm -f conftest.$ac_objext conftest$ac_exeext
21748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21749 (eval $ac_link) 2>&5
21750 ac_status=$?
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); } &&
21753 { ac_try='test -s conftest$ac_exeext'
21754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755 (eval $ac_try) 2>&5
21756 ac_status=$?
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; }; then
21759 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21760 else
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21763
21764 ac_cv_lib_dnet_stub_dnet_ntoa=no
21765 fi
21766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21767 LIBS=$ac_check_lib_save_LIBS
21768 fi
21769 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21770 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21771 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21772 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21773 fi
21774
21775 fi
21776 fi
21777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21778 LIBS="$ac_xsave_LIBS"
21779
21780 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21781 # to get the SysV transport functions.
21782 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21783 # needs -lnsl.
21784 # The nsl library prevents programs from opening the X display
21785 # on Irix 5.2, according to T.E. Dickey.
21786 # The functions gethostbyname, getservbyname, and inet_addr are
21787 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21788 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21789 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21790 if test "${ac_cv_func_gethostbyname+set}" = set; then
21791 echo $ECHO_N "(cached) $ECHO_C" >&6
21792 else
21793 cat >conftest.$ac_ext <<_ACEOF
21794 #line $LINENO "configure"
21795 /* confdefs.h. */
21796 _ACEOF
21797 cat confdefs.h >>conftest.$ac_ext
21798 cat >>conftest.$ac_ext <<_ACEOF
21799 /* end confdefs.h. */
21800 /* System header to define __stub macros and hopefully few prototypes,
21801 which can conflict with char gethostbyname (); below.
21802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21803 <limits.h> exists even on freestanding compilers. */
21804 #ifdef __STDC__
21805 # include <limits.h>
21806 #else
21807 # include <assert.h>
21808 #endif
21809 /* Override any gcc2 internal prototype to avoid an error. */
21810 #ifdef __cplusplus
21811 extern "C"
21812 {
21813 #endif
21814 /* We use char because int might match the return type of a gcc2
21815 builtin and then its argument prototype would still apply. */
21816 char gethostbyname ();
21817 /* The GNU C library defines this for functions which it implements
21818 to always fail with ENOSYS. Some functions are actually named
21819 something starting with __ and the normal name is an alias. */
21820 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21821 choke me
21822 #else
21823 char (*f) () = gethostbyname;
21824 #endif
21825 #ifdef __cplusplus
21826 }
21827 #endif
21828
21829 int
21830 main ()
21831 {
21832 return f != gethostbyname;
21833 ;
21834 return 0;
21835 }
21836 _ACEOF
21837 rm -f conftest.$ac_objext conftest$ac_exeext
21838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21839 (eval $ac_link) 2>&5
21840 ac_status=$?
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); } &&
21843 { ac_try='test -s conftest$ac_exeext'
21844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845 (eval $ac_try) 2>&5
21846 ac_status=$?
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); }; }; then
21849 ac_cv_func_gethostbyname=yes
21850 else
21851 echo "$as_me: failed program was:" >&5
21852 sed 's/^/| /' conftest.$ac_ext >&5
21853
21854 ac_cv_func_gethostbyname=no
21855 fi
21856 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21857 fi
21858 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21859 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21860
21861 if test $ac_cv_func_gethostbyname = no; then
21862 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21863 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21864 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21865 echo $ECHO_N "(cached) $ECHO_C" >&6
21866 else
21867 ac_check_lib_save_LIBS=$LIBS
21868 LIBS="-lnsl $LIBS"
21869 cat >conftest.$ac_ext <<_ACEOF
21870 #line $LINENO "configure"
21871 /* confdefs.h. */
21872 _ACEOF
21873 cat confdefs.h >>conftest.$ac_ext
21874 cat >>conftest.$ac_ext <<_ACEOF
21875 /* end confdefs.h. */
21876
21877 /* Override any gcc2 internal prototype to avoid an error. */
21878 #ifdef __cplusplus
21879 extern "C"
21880 #endif
21881 /* We use char because int might match the return type of a gcc2
21882 builtin and then its argument prototype would still apply. */
21883 char gethostbyname ();
21884 int
21885 main ()
21886 {
21887 gethostbyname ();
21888 ;
21889 return 0;
21890 }
21891 _ACEOF
21892 rm -f conftest.$ac_objext conftest$ac_exeext
21893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21894 (eval $ac_link) 2>&5
21895 ac_status=$?
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); } &&
21898 { ac_try='test -s conftest$ac_exeext'
21899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21900 (eval $ac_try) 2>&5
21901 ac_status=$?
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); }; }; then
21904 ac_cv_lib_nsl_gethostbyname=yes
21905 else
21906 echo "$as_me: failed program was:" >&5
21907 sed 's/^/| /' conftest.$ac_ext >&5
21908
21909 ac_cv_lib_nsl_gethostbyname=no
21910 fi
21911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21912 LIBS=$ac_check_lib_save_LIBS
21913 fi
21914 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21915 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21916 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21917 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21918 fi
21919
21920 if test $ac_cv_lib_nsl_gethostbyname = no; then
21921 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21922 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21923 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21924 echo $ECHO_N "(cached) $ECHO_C" >&6
21925 else
21926 ac_check_lib_save_LIBS=$LIBS
21927 LIBS="-lbsd $LIBS"
21928 cat >conftest.$ac_ext <<_ACEOF
21929 #line $LINENO "configure"
21930 /* confdefs.h. */
21931 _ACEOF
21932 cat confdefs.h >>conftest.$ac_ext
21933 cat >>conftest.$ac_ext <<_ACEOF
21934 /* end confdefs.h. */
21935
21936 /* Override any gcc2 internal prototype to avoid an error. */
21937 #ifdef __cplusplus
21938 extern "C"
21939 #endif
21940 /* We use char because int might match the return type of a gcc2
21941 builtin and then its argument prototype would still apply. */
21942 char gethostbyname ();
21943 int
21944 main ()
21945 {
21946 gethostbyname ();
21947 ;
21948 return 0;
21949 }
21950 _ACEOF
21951 rm -f conftest.$ac_objext conftest$ac_exeext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21953 (eval $ac_link) 2>&5
21954 ac_status=$?
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); } &&
21957 { ac_try='test -s conftest$ac_exeext'
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21960 ac_status=$?
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; }; then
21963 ac_cv_lib_bsd_gethostbyname=yes
21964 else
21965 echo "$as_me: failed program was:" >&5
21966 sed 's/^/| /' conftest.$ac_ext >&5
21967
21968 ac_cv_lib_bsd_gethostbyname=no
21969 fi
21970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21971 LIBS=$ac_check_lib_save_LIBS
21972 fi
21973 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21974 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21975 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21976 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21977 fi
21978
21979 fi
21980 fi
21981
21982 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21983 # socket/setsockopt and other routines are undefined under SCO ODT
21984 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21985 # on later versions), says Simon Leinen: it contains gethostby*
21986 # variants that don't use the name server (or something). -lsocket
21987 # must be given before -lnsl if both are needed. We assume that
21988 # if connect needs -lnsl, so does gethostbyname.
21989 echo "$as_me:$LINENO: checking for connect" >&5
21990 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21991 if test "${ac_cv_func_connect+set}" = set; then
21992 echo $ECHO_N "(cached) $ECHO_C" >&6
21993 else
21994 cat >conftest.$ac_ext <<_ACEOF
21995 #line $LINENO "configure"
21996 /* confdefs.h. */
21997 _ACEOF
21998 cat confdefs.h >>conftest.$ac_ext
21999 cat >>conftest.$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 /* System header to define __stub macros and hopefully few prototypes,
22002 which can conflict with char connect (); below.
22003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22004 <limits.h> exists even on freestanding compilers. */
22005 #ifdef __STDC__
22006 # include <limits.h>
22007 #else
22008 # include <assert.h>
22009 #endif
22010 /* Override any gcc2 internal prototype to avoid an error. */
22011 #ifdef __cplusplus
22012 extern "C"
22013 {
22014 #endif
22015 /* We use char because int might match the return type of a gcc2
22016 builtin and then its argument prototype would still apply. */
22017 char connect ();
22018 /* The GNU C library defines this for functions which it implements
22019 to always fail with ENOSYS. Some functions are actually named
22020 something starting with __ and the normal name is an alias. */
22021 #if defined (__stub_connect) || defined (__stub___connect)
22022 choke me
22023 #else
22024 char (*f) () = connect;
22025 #endif
22026 #ifdef __cplusplus
22027 }
22028 #endif
22029
22030 int
22031 main ()
22032 {
22033 return f != connect;
22034 ;
22035 return 0;
22036 }
22037 _ACEOF
22038 rm -f conftest.$ac_objext conftest$ac_exeext
22039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22040 (eval $ac_link) 2>&5
22041 ac_status=$?
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); } &&
22044 { ac_try='test -s conftest$ac_exeext'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22047 ac_status=$?
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; }; then
22050 ac_cv_func_connect=yes
22051 else
22052 echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.$ac_ext >&5
22054
22055 ac_cv_func_connect=no
22056 fi
22057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22058 fi
22059 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22060 echo "${ECHO_T}$ac_cv_func_connect" >&6
22061
22062 if test $ac_cv_func_connect = no; then
22063 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22064 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22065 if test "${ac_cv_lib_socket_connect+set}" = set; then
22066 echo $ECHO_N "(cached) $ECHO_C" >&6
22067 else
22068 ac_check_lib_save_LIBS=$LIBS
22069 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22070 cat >conftest.$ac_ext <<_ACEOF
22071 #line $LINENO "configure"
22072 /* confdefs.h. */
22073 _ACEOF
22074 cat confdefs.h >>conftest.$ac_ext
22075 cat >>conftest.$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077
22078 /* Override any gcc2 internal prototype to avoid an error. */
22079 #ifdef __cplusplus
22080 extern "C"
22081 #endif
22082 /* We use char because int might match the return type of a gcc2
22083 builtin and then its argument prototype would still apply. */
22084 char connect ();
22085 int
22086 main ()
22087 {
22088 connect ();
22089 ;
22090 return 0;
22091 }
22092 _ACEOF
22093 rm -f conftest.$ac_objext conftest$ac_exeext
22094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22095 (eval $ac_link) 2>&5
22096 ac_status=$?
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); } &&
22099 { ac_try='test -s conftest$ac_exeext'
22100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22101 (eval $ac_try) 2>&5
22102 ac_status=$?
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); }; }; then
22105 ac_cv_lib_socket_connect=yes
22106 else
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.$ac_ext >&5
22109
22110 ac_cv_lib_socket_connect=no
22111 fi
22112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22113 LIBS=$ac_check_lib_save_LIBS
22114 fi
22115 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22116 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22117 if test $ac_cv_lib_socket_connect = yes; then
22118 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22119 fi
22120
22121 fi
22122
22123 # Guillermo Gomez says -lposix is necessary on A/UX.
22124 echo "$as_me:$LINENO: checking for remove" >&5
22125 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22126 if test "${ac_cv_func_remove+set}" = set; then
22127 echo $ECHO_N "(cached) $ECHO_C" >&6
22128 else
22129 cat >conftest.$ac_ext <<_ACEOF
22130 #line $LINENO "configure"
22131 /* confdefs.h. */
22132 _ACEOF
22133 cat confdefs.h >>conftest.$ac_ext
22134 cat >>conftest.$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22136 /* System header to define __stub macros and hopefully few prototypes,
22137 which can conflict with char remove (); below.
22138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22139 <limits.h> exists even on freestanding compilers. */
22140 #ifdef __STDC__
22141 # include <limits.h>
22142 #else
22143 # include <assert.h>
22144 #endif
22145 /* Override any gcc2 internal prototype to avoid an error. */
22146 #ifdef __cplusplus
22147 extern "C"
22148 {
22149 #endif
22150 /* We use char because int might match the return type of a gcc2
22151 builtin and then its argument prototype would still apply. */
22152 char remove ();
22153 /* The GNU C library defines this for functions which it implements
22154 to always fail with ENOSYS. Some functions are actually named
22155 something starting with __ and the normal name is an alias. */
22156 #if defined (__stub_remove) || defined (__stub___remove)
22157 choke me
22158 #else
22159 char (*f) () = remove;
22160 #endif
22161 #ifdef __cplusplus
22162 }
22163 #endif
22164
22165 int
22166 main ()
22167 {
22168 return f != remove;
22169 ;
22170 return 0;
22171 }
22172 _ACEOF
22173 rm -f conftest.$ac_objext conftest$ac_exeext
22174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22175 (eval $ac_link) 2>&5
22176 ac_status=$?
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } &&
22179 { ac_try='test -s conftest$ac_exeext'
22180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181 (eval $ac_try) 2>&5
22182 ac_status=$?
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); }; }; then
22185 ac_cv_func_remove=yes
22186 else
22187 echo "$as_me: failed program was:" >&5
22188 sed 's/^/| /' conftest.$ac_ext >&5
22189
22190 ac_cv_func_remove=no
22191 fi
22192 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22193 fi
22194 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22195 echo "${ECHO_T}$ac_cv_func_remove" >&6
22196
22197 if test $ac_cv_func_remove = no; then
22198 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22199 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22200 if test "${ac_cv_lib_posix_remove+set}" = set; then
22201 echo $ECHO_N "(cached) $ECHO_C" >&6
22202 else
22203 ac_check_lib_save_LIBS=$LIBS
22204 LIBS="-lposix $LIBS"
22205 cat >conftest.$ac_ext <<_ACEOF
22206 #line $LINENO "configure"
22207 /* confdefs.h. */
22208 _ACEOF
22209 cat confdefs.h >>conftest.$ac_ext
22210 cat >>conftest.$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22212
22213 /* Override any gcc2 internal prototype to avoid an error. */
22214 #ifdef __cplusplus
22215 extern "C"
22216 #endif
22217 /* We use char because int might match the return type of a gcc2
22218 builtin and then its argument prototype would still apply. */
22219 char remove ();
22220 int
22221 main ()
22222 {
22223 remove ();
22224 ;
22225 return 0;
22226 }
22227 _ACEOF
22228 rm -f conftest.$ac_objext conftest$ac_exeext
22229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22230 (eval $ac_link) 2>&5
22231 ac_status=$?
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } &&
22234 { ac_try='test -s conftest$ac_exeext'
22235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236 (eval $ac_try) 2>&5
22237 ac_status=$?
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; }; then
22240 ac_cv_lib_posix_remove=yes
22241 else
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.$ac_ext >&5
22244
22245 ac_cv_lib_posix_remove=no
22246 fi
22247 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22248 LIBS=$ac_check_lib_save_LIBS
22249 fi
22250 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22251 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22252 if test $ac_cv_lib_posix_remove = yes; then
22253 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22254 fi
22255
22256 fi
22257
22258 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22259 echo "$as_me:$LINENO: checking for shmat" >&5
22260 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22261 if test "${ac_cv_func_shmat+set}" = set; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22263 else
22264 cat >conftest.$ac_ext <<_ACEOF
22265 #line $LINENO "configure"
22266 /* confdefs.h. */
22267 _ACEOF
22268 cat confdefs.h >>conftest.$ac_ext
22269 cat >>conftest.$ac_ext <<_ACEOF
22270 /* end confdefs.h. */
22271 /* System header to define __stub macros and hopefully few prototypes,
22272 which can conflict with char shmat (); below.
22273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22274 <limits.h> exists even on freestanding compilers. */
22275 #ifdef __STDC__
22276 # include <limits.h>
22277 #else
22278 # include <assert.h>
22279 #endif
22280 /* Override any gcc2 internal prototype to avoid an error. */
22281 #ifdef __cplusplus
22282 extern "C"
22283 {
22284 #endif
22285 /* We use char because int might match the return type of a gcc2
22286 builtin and then its argument prototype would still apply. */
22287 char shmat ();
22288 /* The GNU C library defines this for functions which it implements
22289 to always fail with ENOSYS. Some functions are actually named
22290 something starting with __ and the normal name is an alias. */
22291 #if defined (__stub_shmat) || defined (__stub___shmat)
22292 choke me
22293 #else
22294 char (*f) () = shmat;
22295 #endif
22296 #ifdef __cplusplus
22297 }
22298 #endif
22299
22300 int
22301 main ()
22302 {
22303 return f != shmat;
22304 ;
22305 return 0;
22306 }
22307 _ACEOF
22308 rm -f conftest.$ac_objext conftest$ac_exeext
22309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22310 (eval $ac_link) 2>&5
22311 ac_status=$?
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } &&
22314 { ac_try='test -s conftest$ac_exeext'
22315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22316 (eval $ac_try) 2>&5
22317 ac_status=$?
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); }; }; then
22320 ac_cv_func_shmat=yes
22321 else
22322 echo "$as_me: failed program was:" >&5
22323 sed 's/^/| /' conftest.$ac_ext >&5
22324
22325 ac_cv_func_shmat=no
22326 fi
22327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22328 fi
22329 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22330 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22331
22332 if test $ac_cv_func_shmat = no; then
22333 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22334 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22335 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22336 echo $ECHO_N "(cached) $ECHO_C" >&6
22337 else
22338 ac_check_lib_save_LIBS=$LIBS
22339 LIBS="-lipc $LIBS"
22340 cat >conftest.$ac_ext <<_ACEOF
22341 #line $LINENO "configure"
22342 /* confdefs.h. */
22343 _ACEOF
22344 cat confdefs.h >>conftest.$ac_ext
22345 cat >>conftest.$ac_ext <<_ACEOF
22346 /* end confdefs.h. */
22347
22348 /* Override any gcc2 internal prototype to avoid an error. */
22349 #ifdef __cplusplus
22350 extern "C"
22351 #endif
22352 /* We use char because int might match the return type of a gcc2
22353 builtin and then its argument prototype would still apply. */
22354 char shmat ();
22355 int
22356 main ()
22357 {
22358 shmat ();
22359 ;
22360 return 0;
22361 }
22362 _ACEOF
22363 rm -f conftest.$ac_objext conftest$ac_exeext
22364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22365 (eval $ac_link) 2>&5
22366 ac_status=$?
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); } &&
22369 { ac_try='test -s conftest$ac_exeext'
22370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22371 (eval $ac_try) 2>&5
22372 ac_status=$?
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); }; }; then
22375 ac_cv_lib_ipc_shmat=yes
22376 else
22377 echo "$as_me: failed program was:" >&5
22378 sed 's/^/| /' conftest.$ac_ext >&5
22379
22380 ac_cv_lib_ipc_shmat=no
22381 fi
22382 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22383 LIBS=$ac_check_lib_save_LIBS
22384 fi
22385 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22386 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22387 if test $ac_cv_lib_ipc_shmat = yes; then
22388 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22389 fi
22390
22391 fi
22392 fi
22393
22394 # Check for libraries that X11R6 Xt/Xaw programs need.
22395 ac_save_LDFLAGS=$LDFLAGS
22396 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22397 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22398 # check for ICE first), but we must link in the order -lSM -lICE or
22399 # we get undefined symbols. So assume we have SM if we have ICE.
22400 # These have to be linked with before -lX11, unlike the other
22401 # libraries we check for below, so use a different variable.
22402 # John Interrante, Karl Berry
22403 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22404 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22405 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22406 echo $ECHO_N "(cached) $ECHO_C" >&6
22407 else
22408 ac_check_lib_save_LIBS=$LIBS
22409 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22410 cat >conftest.$ac_ext <<_ACEOF
22411 #line $LINENO "configure"
22412 /* confdefs.h. */
22413 _ACEOF
22414 cat confdefs.h >>conftest.$ac_ext
22415 cat >>conftest.$ac_ext <<_ACEOF
22416 /* end confdefs.h. */
22417
22418 /* Override any gcc2 internal prototype to avoid an error. */
22419 #ifdef __cplusplus
22420 extern "C"
22421 #endif
22422 /* We use char because int might match the return type of a gcc2
22423 builtin and then its argument prototype would still apply. */
22424 char IceConnectionNumber ();
22425 int
22426 main ()
22427 {
22428 IceConnectionNumber ();
22429 ;
22430 return 0;
22431 }
22432 _ACEOF
22433 rm -f conftest.$ac_objext conftest$ac_exeext
22434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22435 (eval $ac_link) 2>&5
22436 ac_status=$?
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); } &&
22439 { ac_try='test -s conftest$ac_exeext'
22440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22441 (eval $ac_try) 2>&5
22442 ac_status=$?
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); }; }; then
22445 ac_cv_lib_ICE_IceConnectionNumber=yes
22446 else
22447 echo "$as_me: failed program was:" >&5
22448 sed 's/^/| /' conftest.$ac_ext >&5
22449
22450 ac_cv_lib_ICE_IceConnectionNumber=no
22451 fi
22452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22453 LIBS=$ac_check_lib_save_LIBS
22454 fi
22455 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22456 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22457 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22458 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22459 fi
22460
22461 LDFLAGS=$ac_save_LDFLAGS
22462
22463 fi
22464
22465
22466 if test "$no_x" = "yes"; then
22467 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22468 echo "$as_me: error: X11 not found" >&2;}
22469 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22470 fi
22471
22472 GUI_TK_LIBRARY="$X_LIBS"
22473 TOOLKIT_INCLUDE="$X_CFLAGS"
22474 AFMINSTALL=afminstall
22475 COMPILED_X_PROGRAM=0
22476
22477 if test "$wxUSE_NANOX" = "yes"; then
22478 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22479 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22480 if test "x$MICROWIN" = x ; then
22481 echo "$as_me:$LINENO: result: not found" >&5
22482 echo "${ECHO_T}not found" >&6
22483 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22484 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22485 { (exit 1); exit 1; }; }
22486 else
22487 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22488 echo "${ECHO_T}$MICROWIN" >&6
22489 cat >>confdefs.h <<\_ACEOF
22490 #define wxUSE_NANOX 1
22491 _ACEOF
22492
22493 fi
22494 fi
22495
22496 xpm_link=
22497 echo "$as_me:$LINENO: checking for Xpm library" >&5
22498 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22499
22500 ac_find_libraries=
22501 for ac_dir in $SEARCH_LIB /usr/lib;
22502 do
22503 for ac_extension in a so sl dylib; do
22504 if test -f "$ac_dir/libXpm.$ac_extension"; then
22505 ac_find_libraries=$ac_dir
22506 break 2
22507 fi
22508 done
22509 done
22510
22511 if test "$ac_find_libraries" != "" ; then
22512
22513 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22514 result=$?
22515 if test $result = 0; then
22516 ac_path_to_link=""
22517 else
22518 ac_path_to_link=" -L$ac_find_libraries"
22519 fi
22520
22521 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22522 xpm_link=" -lXpm"
22523 cat >>confdefs.h <<\_ACEOF
22524 #define wxHAVE_LIB_XPM 1
22525 _ACEOF
22526
22527 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22528 echo "${ECHO_T}found at $ac_find_libraries" >&6
22529 else
22530 cat >conftest.$ac_ext <<_ACEOF
22531 #line $LINENO "configure"
22532 /* confdefs.h. */
22533 _ACEOF
22534 cat confdefs.h >>conftest.$ac_ext
22535 cat >>conftest.$ac_ext <<_ACEOF
22536 /* end confdefs.h. */
22537
22538 #include <X11/xpm.h>
22539
22540 int
22541 main ()
22542 {
22543
22544 int version;
22545 version = XpmLibraryVersion();
22546
22547 ;
22548 return 0;
22549 }
22550 _ACEOF
22551 rm -f conftest.$ac_objext
22552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22553 (eval $ac_compile) 2>&5
22554 ac_status=$?
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); } &&
22557 { ac_try='test -s conftest.$ac_objext'
22558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22559 (eval $ac_try) 2>&5
22560 ac_status=$?
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); }; }; then
22563
22564 xpm_link=" -lXpm"
22565 cat >>confdefs.h <<\_ACEOF
22566 #define wxHAVE_LIB_XPM 1
22567 _ACEOF
22568
22569 echo "$as_me:$LINENO: result: found in default search path" >&5
22570 echo "${ECHO_T}found in default search path" >&6
22571 COMPILED_X_PROGRAM=0
22572
22573 else
22574 echo "$as_me: failed program was:" >&5
22575 sed 's/^/| /' conftest.$ac_ext >&5
22576
22577
22578 echo "$as_me:$LINENO: result: no" >&5
22579 echo "${ECHO_T}no" >&6
22580 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22581 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22582
22583
22584 fi
22585 rm -f conftest.$ac_objext conftest.$ac_ext
22586 fi
22587
22588 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22589 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22590 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22591 echo $ECHO_N "(cached) $ECHO_C" >&6
22592 else
22593 ac_check_lib_save_LIBS=$LIBS
22594 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22595 cat >conftest.$ac_ext <<_ACEOF
22596 #line $LINENO "configure"
22597 /* confdefs.h. */
22598 _ACEOF
22599 cat confdefs.h >>conftest.$ac_ext
22600 cat >>conftest.$ac_ext <<_ACEOF
22601 /* end confdefs.h. */
22602
22603 /* Override any gcc2 internal prototype to avoid an error. */
22604 #ifdef __cplusplus
22605 extern "C"
22606 #endif
22607 /* We use char because int might match the return type of a gcc2
22608 builtin and then its argument prototype would still apply. */
22609 char XShapeQueryExtension ();
22610 int
22611 main ()
22612 {
22613 XShapeQueryExtension ();
22614 ;
22615 return 0;
22616 }
22617 _ACEOF
22618 rm -f conftest.$ac_objext conftest$ac_exeext
22619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22620 (eval $ac_link) 2>&5
22621 ac_status=$?
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } &&
22624 { ac_try='test -s conftest$ac_exeext'
22625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22626 (eval $ac_try) 2>&5
22627 ac_status=$?
22628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629 (exit $ac_status); }; }; then
22630 ac_cv_lib_Xext_XShapeQueryExtension=yes
22631 else
22632 echo "$as_me: failed program was:" >&5
22633 sed 's/^/| /' conftest.$ac_ext >&5
22634
22635 ac_cv_lib_Xext_XShapeQueryExtension=no
22636 fi
22637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22638 LIBS=$ac_check_lib_save_LIBS
22639 fi
22640 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22641 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22642 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22643
22644 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22645 wxHAVE_XEXT_LIB=1
22646
22647 fi
22648
22649
22650 if test "$wxUSE_UNICODE" = "yes"; then
22651
22652 succeeded=no
22653
22654 if test -z "$PKG_CONFIG"; then
22655 # Extract the first word of "pkg-config", so it can be a program name with args.
22656 set dummy pkg-config; ac_word=$2
22657 echo "$as_me:$LINENO: checking for $ac_word" >&5
22658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22659 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22660 echo $ECHO_N "(cached) $ECHO_C" >&6
22661 else
22662 case $PKG_CONFIG in
22663 [\\/]* | ?:[\\/]*)
22664 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22665 ;;
22666 *)
22667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22668 for as_dir in $PATH
22669 do
22670 IFS=$as_save_IFS
22671 test -z "$as_dir" && as_dir=.
22672 for ac_exec_ext in '' $ac_executable_extensions; do
22673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22674 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22676 break 2
22677 fi
22678 done
22679 done
22680
22681 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22682 ;;
22683 esac
22684 fi
22685 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22686
22687 if test -n "$PKG_CONFIG"; then
22688 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22689 echo "${ECHO_T}$PKG_CONFIG" >&6
22690 else
22691 echo "$as_me:$LINENO: result: no" >&5
22692 echo "${ECHO_T}no" >&6
22693 fi
22694
22695 fi
22696
22697 if test "$PKG_CONFIG" = "no" ; then
22698 echo "*** The pkg-config script could not be found. Make sure it is"
22699 echo "*** in your path, or set the PKG_CONFIG environment variable"
22700 echo "*** to the full path to pkg-config."
22701 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22702 else
22703 PKG_CONFIG_MIN_VERSION=0.9.0
22704 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22705 echo "$as_me:$LINENO: checking for pangox" >&5
22706 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22707
22708 if $PKG_CONFIG --exists "pangox" ; then
22709 echo "$as_me:$LINENO: result: yes" >&5
22710 echo "${ECHO_T}yes" >&6
22711 succeeded=yes
22712
22713 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22714 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22715 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22716 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22717 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22718
22719 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22720 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22721 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22722 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22723 echo "${ECHO_T}$PANGOX_LIBS" >&6
22724 else
22725 PANGOX_CFLAGS=""
22726 PANGOX_LIBS=""
22727 ## If we have a custom action on failure, don't print errors, but
22728 ## do set a variable so people can do so.
22729 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22730
22731 fi
22732
22733
22734
22735 else
22736 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22737 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22738 fi
22739 fi
22740
22741 if test $succeeded = yes; then
22742
22743 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22744 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22745
22746 else
22747
22748 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22749 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22750 { (exit 1); exit 1; }; }
22751
22752
22753 fi
22754
22755
22756 succeeded=no
22757
22758 if test -z "$PKG_CONFIG"; then
22759 # Extract the first word of "pkg-config", so it can be a program name with args.
22760 set dummy pkg-config; ac_word=$2
22761 echo "$as_me:$LINENO: checking for $ac_word" >&5
22762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22763 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22764 echo $ECHO_N "(cached) $ECHO_C" >&6
22765 else
22766 case $PKG_CONFIG in
22767 [\\/]* | ?:[\\/]*)
22768 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22769 ;;
22770 *)
22771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22772 for as_dir in $PATH
22773 do
22774 IFS=$as_save_IFS
22775 test -z "$as_dir" && as_dir=.
22776 for ac_exec_ext in '' $ac_executable_extensions; do
22777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22778 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22780 break 2
22781 fi
22782 done
22783 done
22784
22785 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22786 ;;
22787 esac
22788 fi
22789 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22790
22791 if test -n "$PKG_CONFIG"; then
22792 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22793 echo "${ECHO_T}$PKG_CONFIG" >&6
22794 else
22795 echo "$as_me:$LINENO: result: no" >&5
22796 echo "${ECHO_T}no" >&6
22797 fi
22798
22799 fi
22800
22801 if test "$PKG_CONFIG" = "no" ; then
22802 echo "*** The pkg-config script could not be found. Make sure it is"
22803 echo "*** in your path, or set the PKG_CONFIG environment variable"
22804 echo "*** to the full path to pkg-config."
22805 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22806 else
22807 PKG_CONFIG_MIN_VERSION=0.9.0
22808 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22809 echo "$as_me:$LINENO: checking for pangoft2" >&5
22810 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22811
22812 if $PKG_CONFIG --exists "pangoft2" ; then
22813 echo "$as_me:$LINENO: result: yes" >&5
22814 echo "${ECHO_T}yes" >&6
22815 succeeded=yes
22816
22817 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22818 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22819 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22820 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22821 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22822
22823 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22824 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22825 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22826 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22827 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22828 else
22829 PANGOFT2_CFLAGS=""
22830 PANGOFT2_LIBS=""
22831 ## If we have a custom action on failure, don't print errors, but
22832 ## do set a variable so people can do so.
22833 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22834
22835 fi
22836
22837
22838
22839 else
22840 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22841 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22842 fi
22843 fi
22844
22845 if test $succeeded = yes; then
22846
22847 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22848 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22849
22850 else
22851
22852 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22853 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22854 wxUSE_PRINTING_ARCHITECTURE="no"
22855
22856
22857 fi
22858
22859
22860 succeeded=no
22861
22862 if test -z "$PKG_CONFIG"; then
22863 # Extract the first word of "pkg-config", so it can be a program name with args.
22864 set dummy pkg-config; ac_word=$2
22865 echo "$as_me:$LINENO: checking for $ac_word" >&5
22866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22867 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22868 echo $ECHO_N "(cached) $ECHO_C" >&6
22869 else
22870 case $PKG_CONFIG in
22871 [\\/]* | ?:[\\/]*)
22872 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22873 ;;
22874 *)
22875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22876 for as_dir in $PATH
22877 do
22878 IFS=$as_save_IFS
22879 test -z "$as_dir" && as_dir=.
22880 for ac_exec_ext in '' $ac_executable_extensions; do
22881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22882 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22884 break 2
22885 fi
22886 done
22887 done
22888
22889 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22890 ;;
22891 esac
22892 fi
22893 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22894
22895 if test -n "$PKG_CONFIG"; then
22896 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22897 echo "${ECHO_T}$PKG_CONFIG" >&6
22898 else
22899 echo "$as_me:$LINENO: result: no" >&5
22900 echo "${ECHO_T}no" >&6
22901 fi
22902
22903 fi
22904
22905 if test "$PKG_CONFIG" = "no" ; then
22906 echo "*** The pkg-config script could not be found. Make sure it is"
22907 echo "*** in your path, or set the PKG_CONFIG environment variable"
22908 echo "*** to the full path to pkg-config."
22909 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22910 else
22911 PKG_CONFIG_MIN_VERSION=0.9.0
22912 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22913 echo "$as_me:$LINENO: checking for pangoxft" >&5
22914 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22915
22916 if $PKG_CONFIG --exists "pangoxft" ; then
22917 echo "$as_me:$LINENO: result: yes" >&5
22918 echo "${ECHO_T}yes" >&6
22919 succeeded=yes
22920
22921 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22922 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22923 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22924 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22925 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22926
22927 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22928 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22929 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22930 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22931 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22932 else
22933 PANGOXFT_CFLAGS=""
22934 PANGOXFT_LIBS=""
22935 ## If we have a custom action on failure, don't print errors, but
22936 ## do set a variable so people can do so.
22937 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22938
22939 fi
22940
22941
22942
22943 else
22944 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22945 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22946 fi
22947 fi
22948
22949 if test $succeeded = yes; then
22950
22951 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22952 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22953
22954 else
22955
22956 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22957 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22958
22959
22960 fi
22961
22962 fi
22963
22964 wxUSE_UNIVERSAL="yes"
22965
22966 if test "$wxUSE_NANOX" = "yes"; then
22967 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22968 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"
22969 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22970 else
22971 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22972 fi
22973
22974 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22975 TOOLKIT=X11
22976 GUIDIST=X11_DIST
22977 fi
22978
22979 if test "$wxUSE_MOTIF" = 1; then
22980 if test "$no_x" = yes; then
22981 # Not all programs may use this symbol, but it does not hurt to define it.
22982
22983 cat >>confdefs.h <<\_ACEOF
22984 #define X_DISPLAY_MISSING 1
22985 _ACEOF
22986
22987 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22988 else
22989 if test -n "$x_includes"; then
22990 X_CFLAGS="$X_CFLAGS -I$x_includes"
22991 fi
22992
22993 # It would also be nice to do this for all -L options, not just this one.
22994 if test -n "$x_libraries"; then
22995 X_LIBS="$X_LIBS -L$x_libraries"
22996 # For Solaris; some versions of Sun CC require a space after -R and
22997 # others require no space. Words are not sufficient . . . .
22998 case `(uname -sr) 2>/dev/null` in
22999 "SunOS 5"*)
23000 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23001 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23002 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23003 cat >conftest.$ac_ext <<_ACEOF
23004 #line $LINENO "configure"
23005 /* confdefs.h. */
23006 _ACEOF
23007 cat confdefs.h >>conftest.$ac_ext
23008 cat >>conftest.$ac_ext <<_ACEOF
23009 /* end confdefs.h. */
23010
23011 int
23012 main ()
23013 {
23014
23015 ;
23016 return 0;
23017 }
23018 _ACEOF
23019 rm -f conftest.$ac_objext conftest$ac_exeext
23020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23021 (eval $ac_link) 2>&5
23022 ac_status=$?
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } &&
23025 { ac_try='test -s conftest$ac_exeext'
23026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23027 (eval $ac_try) 2>&5
23028 ac_status=$?
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); }; }; then
23031 ac_R_nospace=yes
23032 else
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.$ac_ext >&5
23035
23036 ac_R_nospace=no
23037 fi
23038 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23039 if test $ac_R_nospace = yes; then
23040 echo "$as_me:$LINENO: result: no" >&5
23041 echo "${ECHO_T}no" >&6
23042 X_LIBS="$X_LIBS -R$x_libraries"
23043 else
23044 LIBS="$ac_xsave_LIBS -R $x_libraries"
23045 cat >conftest.$ac_ext <<_ACEOF
23046 #line $LINENO "configure"
23047 /* confdefs.h. */
23048 _ACEOF
23049 cat confdefs.h >>conftest.$ac_ext
23050 cat >>conftest.$ac_ext <<_ACEOF
23051 /* end confdefs.h. */
23052
23053 int
23054 main ()
23055 {
23056
23057 ;
23058 return 0;
23059 }
23060 _ACEOF
23061 rm -f conftest.$ac_objext conftest$ac_exeext
23062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23063 (eval $ac_link) 2>&5
23064 ac_status=$?
23065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066 (exit $ac_status); } &&
23067 { ac_try='test -s conftest$ac_exeext'
23068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23069 (eval $ac_try) 2>&5
23070 ac_status=$?
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); }; }; then
23073 ac_R_space=yes
23074 else
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23077
23078 ac_R_space=no
23079 fi
23080 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23081 if test $ac_R_space = yes; then
23082 echo "$as_me:$LINENO: result: yes" >&5
23083 echo "${ECHO_T}yes" >&6
23084 X_LIBS="$X_LIBS -R $x_libraries"
23085 else
23086 echo "$as_me:$LINENO: result: neither works" >&5
23087 echo "${ECHO_T}neither works" >&6
23088 fi
23089 fi
23090 LIBS=$ac_xsave_LIBS
23091 esac
23092 fi
23093
23094 # Check for system-dependent libraries X programs must link with.
23095 # Do this before checking for the system-independent R6 libraries
23096 # (-lICE), since we may need -lsocket or whatever for X linking.
23097
23098 if test "$ISC" = yes; then
23099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23100 else
23101 # Martyn Johnson says this is needed for Ultrix, if the X
23102 # libraries were built with DECnet support. And Karl Berry says
23103 # the Alpha needs dnet_stub (dnet does not exist).
23104 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23105 cat >conftest.$ac_ext <<_ACEOF
23106 #line $LINENO "configure"
23107 /* confdefs.h. */
23108 _ACEOF
23109 cat confdefs.h >>conftest.$ac_ext
23110 cat >>conftest.$ac_ext <<_ACEOF
23111 /* end confdefs.h. */
23112
23113 /* Override any gcc2 internal prototype to avoid an error. */
23114 #ifdef __cplusplus
23115 extern "C"
23116 #endif
23117 /* We use char because int might match the return type of a gcc2
23118 builtin and then its argument prototype would still apply. */
23119 char XOpenDisplay ();
23120 int
23121 main ()
23122 {
23123 XOpenDisplay ();
23124 ;
23125 return 0;
23126 }
23127 _ACEOF
23128 rm -f conftest.$ac_objext conftest$ac_exeext
23129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23130 (eval $ac_link) 2>&5
23131 ac_status=$?
23132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23133 (exit $ac_status); } &&
23134 { ac_try='test -s conftest$ac_exeext'
23135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23136 (eval $ac_try) 2>&5
23137 ac_status=$?
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); }; }; then
23140 :
23141 else
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23144
23145 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23146 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23147 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23148 echo $ECHO_N "(cached) $ECHO_C" >&6
23149 else
23150 ac_check_lib_save_LIBS=$LIBS
23151 LIBS="-ldnet $LIBS"
23152 cat >conftest.$ac_ext <<_ACEOF
23153 #line $LINENO "configure"
23154 /* confdefs.h. */
23155 _ACEOF
23156 cat confdefs.h >>conftest.$ac_ext
23157 cat >>conftest.$ac_ext <<_ACEOF
23158 /* end confdefs.h. */
23159
23160 /* Override any gcc2 internal prototype to avoid an error. */
23161 #ifdef __cplusplus
23162 extern "C"
23163 #endif
23164 /* We use char because int might match the return type of a gcc2
23165 builtin and then its argument prototype would still apply. */
23166 char dnet_ntoa ();
23167 int
23168 main ()
23169 {
23170 dnet_ntoa ();
23171 ;
23172 return 0;
23173 }
23174 _ACEOF
23175 rm -f conftest.$ac_objext conftest$ac_exeext
23176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23177 (eval $ac_link) 2>&5
23178 ac_status=$?
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); } &&
23181 { ac_try='test -s conftest$ac_exeext'
23182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23183 (eval $ac_try) 2>&5
23184 ac_status=$?
23185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23186 (exit $ac_status); }; }; then
23187 ac_cv_lib_dnet_dnet_ntoa=yes
23188 else
23189 echo "$as_me: failed program was:" >&5
23190 sed 's/^/| /' conftest.$ac_ext >&5
23191
23192 ac_cv_lib_dnet_dnet_ntoa=no
23193 fi
23194 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23195 LIBS=$ac_check_lib_save_LIBS
23196 fi
23197 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23198 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23199 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23200 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23201 fi
23202
23203 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23204 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23205 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23206 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23207 echo $ECHO_N "(cached) $ECHO_C" >&6
23208 else
23209 ac_check_lib_save_LIBS=$LIBS
23210 LIBS="-ldnet_stub $LIBS"
23211 cat >conftest.$ac_ext <<_ACEOF
23212 #line $LINENO "configure"
23213 /* confdefs.h. */
23214 _ACEOF
23215 cat confdefs.h >>conftest.$ac_ext
23216 cat >>conftest.$ac_ext <<_ACEOF
23217 /* end confdefs.h. */
23218
23219 /* Override any gcc2 internal prototype to avoid an error. */
23220 #ifdef __cplusplus
23221 extern "C"
23222 #endif
23223 /* We use char because int might match the return type of a gcc2
23224 builtin and then its argument prototype would still apply. */
23225 char dnet_ntoa ();
23226 int
23227 main ()
23228 {
23229 dnet_ntoa ();
23230 ;
23231 return 0;
23232 }
23233 _ACEOF
23234 rm -f conftest.$ac_objext conftest$ac_exeext
23235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23236 (eval $ac_link) 2>&5
23237 ac_status=$?
23238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23239 (exit $ac_status); } &&
23240 { ac_try='test -s conftest$ac_exeext'
23241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23242 (eval $ac_try) 2>&5
23243 ac_status=$?
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); }; }; then
23246 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23247 else
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.$ac_ext >&5
23250
23251 ac_cv_lib_dnet_stub_dnet_ntoa=no
23252 fi
23253 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23254 LIBS=$ac_check_lib_save_LIBS
23255 fi
23256 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23257 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23258 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23259 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23260 fi
23261
23262 fi
23263 fi
23264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23265 LIBS="$ac_xsave_LIBS"
23266
23267 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23268 # to get the SysV transport functions.
23269 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23270 # needs -lnsl.
23271 # The nsl library prevents programs from opening the X display
23272 # on Irix 5.2, according to T.E. Dickey.
23273 # The functions gethostbyname, getservbyname, and inet_addr are
23274 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23275 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23276 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23277 if test "${ac_cv_func_gethostbyname+set}" = set; then
23278 echo $ECHO_N "(cached) $ECHO_C" >&6
23279 else
23280 cat >conftest.$ac_ext <<_ACEOF
23281 #line $LINENO "configure"
23282 /* confdefs.h. */
23283 _ACEOF
23284 cat confdefs.h >>conftest.$ac_ext
23285 cat >>conftest.$ac_ext <<_ACEOF
23286 /* end confdefs.h. */
23287 /* System header to define __stub macros and hopefully few prototypes,
23288 which can conflict with char gethostbyname (); below.
23289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23290 <limits.h> exists even on freestanding compilers. */
23291 #ifdef __STDC__
23292 # include <limits.h>
23293 #else
23294 # include <assert.h>
23295 #endif
23296 /* Override any gcc2 internal prototype to avoid an error. */
23297 #ifdef __cplusplus
23298 extern "C"
23299 {
23300 #endif
23301 /* We use char because int might match the return type of a gcc2
23302 builtin and then its argument prototype would still apply. */
23303 char gethostbyname ();
23304 /* The GNU C library defines this for functions which it implements
23305 to always fail with ENOSYS. Some functions are actually named
23306 something starting with __ and the normal name is an alias. */
23307 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23308 choke me
23309 #else
23310 char (*f) () = gethostbyname;
23311 #endif
23312 #ifdef __cplusplus
23313 }
23314 #endif
23315
23316 int
23317 main ()
23318 {
23319 return f != gethostbyname;
23320 ;
23321 return 0;
23322 }
23323 _ACEOF
23324 rm -f conftest.$ac_objext conftest$ac_exeext
23325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23326 (eval $ac_link) 2>&5
23327 ac_status=$?
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); } &&
23330 { ac_try='test -s conftest$ac_exeext'
23331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23332 (eval $ac_try) 2>&5
23333 ac_status=$?
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); }; }; then
23336 ac_cv_func_gethostbyname=yes
23337 else
23338 echo "$as_me: failed program was:" >&5
23339 sed 's/^/| /' conftest.$ac_ext >&5
23340
23341 ac_cv_func_gethostbyname=no
23342 fi
23343 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23344 fi
23345 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23346 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23347
23348 if test $ac_cv_func_gethostbyname = no; then
23349 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23350 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23351 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23352 echo $ECHO_N "(cached) $ECHO_C" >&6
23353 else
23354 ac_check_lib_save_LIBS=$LIBS
23355 LIBS="-lnsl $LIBS"
23356 cat >conftest.$ac_ext <<_ACEOF
23357 #line $LINENO "configure"
23358 /* confdefs.h. */
23359 _ACEOF
23360 cat confdefs.h >>conftest.$ac_ext
23361 cat >>conftest.$ac_ext <<_ACEOF
23362 /* end confdefs.h. */
23363
23364 /* Override any gcc2 internal prototype to avoid an error. */
23365 #ifdef __cplusplus
23366 extern "C"
23367 #endif
23368 /* We use char because int might match the return type of a gcc2
23369 builtin and then its argument prototype would still apply. */
23370 char gethostbyname ();
23371 int
23372 main ()
23373 {
23374 gethostbyname ();
23375 ;
23376 return 0;
23377 }
23378 _ACEOF
23379 rm -f conftest.$ac_objext conftest$ac_exeext
23380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23381 (eval $ac_link) 2>&5
23382 ac_status=$?
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); } &&
23385 { ac_try='test -s conftest$ac_exeext'
23386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23387 (eval $ac_try) 2>&5
23388 ac_status=$?
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); }; }; then
23391 ac_cv_lib_nsl_gethostbyname=yes
23392 else
23393 echo "$as_me: failed program was:" >&5
23394 sed 's/^/| /' conftest.$ac_ext >&5
23395
23396 ac_cv_lib_nsl_gethostbyname=no
23397 fi
23398 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23399 LIBS=$ac_check_lib_save_LIBS
23400 fi
23401 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23402 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23403 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23405 fi
23406
23407 if test $ac_cv_lib_nsl_gethostbyname = no; then
23408 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23409 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23410 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23411 echo $ECHO_N "(cached) $ECHO_C" >&6
23412 else
23413 ac_check_lib_save_LIBS=$LIBS
23414 LIBS="-lbsd $LIBS"
23415 cat >conftest.$ac_ext <<_ACEOF
23416 #line $LINENO "configure"
23417 /* confdefs.h. */
23418 _ACEOF
23419 cat confdefs.h >>conftest.$ac_ext
23420 cat >>conftest.$ac_ext <<_ACEOF
23421 /* end confdefs.h. */
23422
23423 /* Override any gcc2 internal prototype to avoid an error. */
23424 #ifdef __cplusplus
23425 extern "C"
23426 #endif
23427 /* We use char because int might match the return type of a gcc2
23428 builtin and then its argument prototype would still apply. */
23429 char gethostbyname ();
23430 int
23431 main ()
23432 {
23433 gethostbyname ();
23434 ;
23435 return 0;
23436 }
23437 _ACEOF
23438 rm -f conftest.$ac_objext conftest$ac_exeext
23439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23440 (eval $ac_link) 2>&5
23441 ac_status=$?
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } &&
23444 { ac_try='test -s conftest$ac_exeext'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23447 ac_status=$?
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; }; then
23450 ac_cv_lib_bsd_gethostbyname=yes
23451 else
23452 echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.$ac_ext >&5
23454
23455 ac_cv_lib_bsd_gethostbyname=no
23456 fi
23457 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23458 LIBS=$ac_check_lib_save_LIBS
23459 fi
23460 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23461 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23462 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23463 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23464 fi
23465
23466 fi
23467 fi
23468
23469 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23470 # socket/setsockopt and other routines are undefined under SCO ODT
23471 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23472 # on later versions), says Simon Leinen: it contains gethostby*
23473 # variants that don't use the name server (or something). -lsocket
23474 # must be given before -lnsl if both are needed. We assume that
23475 # if connect needs -lnsl, so does gethostbyname.
23476 echo "$as_me:$LINENO: checking for connect" >&5
23477 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23478 if test "${ac_cv_func_connect+set}" = set; then
23479 echo $ECHO_N "(cached) $ECHO_C" >&6
23480 else
23481 cat >conftest.$ac_ext <<_ACEOF
23482 #line $LINENO "configure"
23483 /* confdefs.h. */
23484 _ACEOF
23485 cat confdefs.h >>conftest.$ac_ext
23486 cat >>conftest.$ac_ext <<_ACEOF
23487 /* end confdefs.h. */
23488 /* System header to define __stub macros and hopefully few prototypes,
23489 which can conflict with char connect (); below.
23490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23491 <limits.h> exists even on freestanding compilers. */
23492 #ifdef __STDC__
23493 # include <limits.h>
23494 #else
23495 # include <assert.h>
23496 #endif
23497 /* Override any gcc2 internal prototype to avoid an error. */
23498 #ifdef __cplusplus
23499 extern "C"
23500 {
23501 #endif
23502 /* We use char because int might match the return type of a gcc2
23503 builtin and then its argument prototype would still apply. */
23504 char connect ();
23505 /* The GNU C library defines this for functions which it implements
23506 to always fail with ENOSYS. Some functions are actually named
23507 something starting with __ and the normal name is an alias. */
23508 #if defined (__stub_connect) || defined (__stub___connect)
23509 choke me
23510 #else
23511 char (*f) () = connect;
23512 #endif
23513 #ifdef __cplusplus
23514 }
23515 #endif
23516
23517 int
23518 main ()
23519 {
23520 return f != connect;
23521 ;
23522 return 0;
23523 }
23524 _ACEOF
23525 rm -f conftest.$ac_objext conftest$ac_exeext
23526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23527 (eval $ac_link) 2>&5
23528 ac_status=$?
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); } &&
23531 { ac_try='test -s conftest$ac_exeext'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23534 ac_status=$?
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; }; then
23537 ac_cv_func_connect=yes
23538 else
23539 echo "$as_me: failed program was:" >&5
23540 sed 's/^/| /' conftest.$ac_ext >&5
23541
23542 ac_cv_func_connect=no
23543 fi
23544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23545 fi
23546 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23547 echo "${ECHO_T}$ac_cv_func_connect" >&6
23548
23549 if test $ac_cv_func_connect = no; then
23550 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23551 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23552 if test "${ac_cv_lib_socket_connect+set}" = set; then
23553 echo $ECHO_N "(cached) $ECHO_C" >&6
23554 else
23555 ac_check_lib_save_LIBS=$LIBS
23556 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23557 cat >conftest.$ac_ext <<_ACEOF
23558 #line $LINENO "configure"
23559 /* confdefs.h. */
23560 _ACEOF
23561 cat confdefs.h >>conftest.$ac_ext
23562 cat >>conftest.$ac_ext <<_ACEOF
23563 /* end confdefs.h. */
23564
23565 /* Override any gcc2 internal prototype to avoid an error. */
23566 #ifdef __cplusplus
23567 extern "C"
23568 #endif
23569 /* We use char because int might match the return type of a gcc2
23570 builtin and then its argument prototype would still apply. */
23571 char connect ();
23572 int
23573 main ()
23574 {
23575 connect ();
23576 ;
23577 return 0;
23578 }
23579 _ACEOF
23580 rm -f conftest.$ac_objext conftest$ac_exeext
23581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23582 (eval $ac_link) 2>&5
23583 ac_status=$?
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } &&
23586 { ac_try='test -s conftest$ac_exeext'
23587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23588 (eval $ac_try) 2>&5
23589 ac_status=$?
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); }; }; then
23592 ac_cv_lib_socket_connect=yes
23593 else
23594 echo "$as_me: failed program was:" >&5
23595 sed 's/^/| /' conftest.$ac_ext >&5
23596
23597 ac_cv_lib_socket_connect=no
23598 fi
23599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23600 LIBS=$ac_check_lib_save_LIBS
23601 fi
23602 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23603 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23604 if test $ac_cv_lib_socket_connect = yes; then
23605 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23606 fi
23607
23608 fi
23609
23610 # Guillermo Gomez says -lposix is necessary on A/UX.
23611 echo "$as_me:$LINENO: checking for remove" >&5
23612 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23613 if test "${ac_cv_func_remove+set}" = set; then
23614 echo $ECHO_N "(cached) $ECHO_C" >&6
23615 else
23616 cat >conftest.$ac_ext <<_ACEOF
23617 #line $LINENO "configure"
23618 /* confdefs.h. */
23619 _ACEOF
23620 cat confdefs.h >>conftest.$ac_ext
23621 cat >>conftest.$ac_ext <<_ACEOF
23622 /* end confdefs.h. */
23623 /* System header to define __stub macros and hopefully few prototypes,
23624 which can conflict with char remove (); below.
23625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23626 <limits.h> exists even on freestanding compilers. */
23627 #ifdef __STDC__
23628 # include <limits.h>
23629 #else
23630 # include <assert.h>
23631 #endif
23632 /* Override any gcc2 internal prototype to avoid an error. */
23633 #ifdef __cplusplus
23634 extern "C"
23635 {
23636 #endif
23637 /* We use char because int might match the return type of a gcc2
23638 builtin and then its argument prototype would still apply. */
23639 char remove ();
23640 /* The GNU C library defines this for functions which it implements
23641 to always fail with ENOSYS. Some functions are actually named
23642 something starting with __ and the normal name is an alias. */
23643 #if defined (__stub_remove) || defined (__stub___remove)
23644 choke me
23645 #else
23646 char (*f) () = remove;
23647 #endif
23648 #ifdef __cplusplus
23649 }
23650 #endif
23651
23652 int
23653 main ()
23654 {
23655 return f != remove;
23656 ;
23657 return 0;
23658 }
23659 _ACEOF
23660 rm -f conftest.$ac_objext conftest$ac_exeext
23661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23662 (eval $ac_link) 2>&5
23663 ac_status=$?
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); } &&
23666 { ac_try='test -s conftest$ac_exeext'
23667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23668 (eval $ac_try) 2>&5
23669 ac_status=$?
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); }; }; then
23672 ac_cv_func_remove=yes
23673 else
23674 echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.$ac_ext >&5
23676
23677 ac_cv_func_remove=no
23678 fi
23679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23680 fi
23681 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23682 echo "${ECHO_T}$ac_cv_func_remove" >&6
23683
23684 if test $ac_cv_func_remove = no; then
23685 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23686 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23687 if test "${ac_cv_lib_posix_remove+set}" = set; then
23688 echo $ECHO_N "(cached) $ECHO_C" >&6
23689 else
23690 ac_check_lib_save_LIBS=$LIBS
23691 LIBS="-lposix $LIBS"
23692 cat >conftest.$ac_ext <<_ACEOF
23693 #line $LINENO "configure"
23694 /* confdefs.h. */
23695 _ACEOF
23696 cat confdefs.h >>conftest.$ac_ext
23697 cat >>conftest.$ac_ext <<_ACEOF
23698 /* end confdefs.h. */
23699
23700 /* Override any gcc2 internal prototype to avoid an error. */
23701 #ifdef __cplusplus
23702 extern "C"
23703 #endif
23704 /* We use char because int might match the return type of a gcc2
23705 builtin and then its argument prototype would still apply. */
23706 char remove ();
23707 int
23708 main ()
23709 {
23710 remove ();
23711 ;
23712 return 0;
23713 }
23714 _ACEOF
23715 rm -f conftest.$ac_objext conftest$ac_exeext
23716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23717 (eval $ac_link) 2>&5
23718 ac_status=$?
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); } &&
23721 { ac_try='test -s conftest$ac_exeext'
23722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723 (eval $ac_try) 2>&5
23724 ac_status=$?
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; }; then
23727 ac_cv_lib_posix_remove=yes
23728 else
23729 echo "$as_me: failed program was:" >&5
23730 sed 's/^/| /' conftest.$ac_ext >&5
23731
23732 ac_cv_lib_posix_remove=no
23733 fi
23734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23735 LIBS=$ac_check_lib_save_LIBS
23736 fi
23737 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23738 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23739 if test $ac_cv_lib_posix_remove = yes; then
23740 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23741 fi
23742
23743 fi
23744
23745 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23746 echo "$as_me:$LINENO: checking for shmat" >&5
23747 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23748 if test "${ac_cv_func_shmat+set}" = set; then
23749 echo $ECHO_N "(cached) $ECHO_C" >&6
23750 else
23751 cat >conftest.$ac_ext <<_ACEOF
23752 #line $LINENO "configure"
23753 /* confdefs.h. */
23754 _ACEOF
23755 cat confdefs.h >>conftest.$ac_ext
23756 cat >>conftest.$ac_ext <<_ACEOF
23757 /* end confdefs.h. */
23758 /* System header to define __stub macros and hopefully few prototypes,
23759 which can conflict with char shmat (); below.
23760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23761 <limits.h> exists even on freestanding compilers. */
23762 #ifdef __STDC__
23763 # include <limits.h>
23764 #else
23765 # include <assert.h>
23766 #endif
23767 /* Override any gcc2 internal prototype to avoid an error. */
23768 #ifdef __cplusplus
23769 extern "C"
23770 {
23771 #endif
23772 /* We use char because int might match the return type of a gcc2
23773 builtin and then its argument prototype would still apply. */
23774 char shmat ();
23775 /* The GNU C library defines this for functions which it implements
23776 to always fail with ENOSYS. Some functions are actually named
23777 something starting with __ and the normal name is an alias. */
23778 #if defined (__stub_shmat) || defined (__stub___shmat)
23779 choke me
23780 #else
23781 char (*f) () = shmat;
23782 #endif
23783 #ifdef __cplusplus
23784 }
23785 #endif
23786
23787 int
23788 main ()
23789 {
23790 return f != shmat;
23791 ;
23792 return 0;
23793 }
23794 _ACEOF
23795 rm -f conftest.$ac_objext conftest$ac_exeext
23796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23797 (eval $ac_link) 2>&5
23798 ac_status=$?
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); } &&
23801 { ac_try='test -s conftest$ac_exeext'
23802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23803 (eval $ac_try) 2>&5
23804 ac_status=$?
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); }; }; then
23807 ac_cv_func_shmat=yes
23808 else
23809 echo "$as_me: failed program was:" >&5
23810 sed 's/^/| /' conftest.$ac_ext >&5
23811
23812 ac_cv_func_shmat=no
23813 fi
23814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23815 fi
23816 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23817 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23818
23819 if test $ac_cv_func_shmat = no; then
23820 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23821 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23822 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23823 echo $ECHO_N "(cached) $ECHO_C" >&6
23824 else
23825 ac_check_lib_save_LIBS=$LIBS
23826 LIBS="-lipc $LIBS"
23827 cat >conftest.$ac_ext <<_ACEOF
23828 #line $LINENO "configure"
23829 /* confdefs.h. */
23830 _ACEOF
23831 cat confdefs.h >>conftest.$ac_ext
23832 cat >>conftest.$ac_ext <<_ACEOF
23833 /* end confdefs.h. */
23834
23835 /* Override any gcc2 internal prototype to avoid an error. */
23836 #ifdef __cplusplus
23837 extern "C"
23838 #endif
23839 /* We use char because int might match the return type of a gcc2
23840 builtin and then its argument prototype would still apply. */
23841 char shmat ();
23842 int
23843 main ()
23844 {
23845 shmat ();
23846 ;
23847 return 0;
23848 }
23849 _ACEOF
23850 rm -f conftest.$ac_objext conftest$ac_exeext
23851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23852 (eval $ac_link) 2>&5
23853 ac_status=$?
23854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23855 (exit $ac_status); } &&
23856 { ac_try='test -s conftest$ac_exeext'
23857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23858 (eval $ac_try) 2>&5
23859 ac_status=$?
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); }; }; then
23862 ac_cv_lib_ipc_shmat=yes
23863 else
23864 echo "$as_me: failed program was:" >&5
23865 sed 's/^/| /' conftest.$ac_ext >&5
23866
23867 ac_cv_lib_ipc_shmat=no
23868 fi
23869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23870 LIBS=$ac_check_lib_save_LIBS
23871 fi
23872 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23873 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23874 if test $ac_cv_lib_ipc_shmat = yes; then
23875 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23876 fi
23877
23878 fi
23879 fi
23880
23881 # Check for libraries that X11R6 Xt/Xaw programs need.
23882 ac_save_LDFLAGS=$LDFLAGS
23883 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23884 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23885 # check for ICE first), but we must link in the order -lSM -lICE or
23886 # we get undefined symbols. So assume we have SM if we have ICE.
23887 # These have to be linked with before -lX11, unlike the other
23888 # libraries we check for below, so use a different variable.
23889 # John Interrante, Karl Berry
23890 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23891 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23892 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23894 else
23895 ac_check_lib_save_LIBS=$LIBS
23896 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23897 cat >conftest.$ac_ext <<_ACEOF
23898 #line $LINENO "configure"
23899 /* confdefs.h. */
23900 _ACEOF
23901 cat confdefs.h >>conftest.$ac_ext
23902 cat >>conftest.$ac_ext <<_ACEOF
23903 /* end confdefs.h. */
23904
23905 /* Override any gcc2 internal prototype to avoid an error. */
23906 #ifdef __cplusplus
23907 extern "C"
23908 #endif
23909 /* We use char because int might match the return type of a gcc2
23910 builtin and then its argument prototype would still apply. */
23911 char IceConnectionNumber ();
23912 int
23913 main ()
23914 {
23915 IceConnectionNumber ();
23916 ;
23917 return 0;
23918 }
23919 _ACEOF
23920 rm -f conftest.$ac_objext conftest$ac_exeext
23921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23922 (eval $ac_link) 2>&5
23923 ac_status=$?
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); } &&
23926 { ac_try='test -s conftest$ac_exeext'
23927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928 (eval $ac_try) 2>&5
23929 ac_status=$?
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); }; }; then
23932 ac_cv_lib_ICE_IceConnectionNumber=yes
23933 else
23934 echo "$as_me: failed program was:" >&5
23935 sed 's/^/| /' conftest.$ac_ext >&5
23936
23937 ac_cv_lib_ICE_IceConnectionNumber=no
23938 fi
23939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23940 LIBS=$ac_check_lib_save_LIBS
23941 fi
23942 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23943 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23944 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23945 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23946 fi
23947
23948 LDFLAGS=$ac_save_LDFLAGS
23949
23950 fi
23951
23952
23953 if test "$no_x" = "yes"; then
23954 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23955 echo "$as_me: error: X11 not found" >&2;}
23956 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23957 fi
23958
23959 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23960 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23961 AFMINSTALL=afminstall
23962 COMPILED_X_PROGRAM=0
23963
23964 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23965 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23966
23967 ac_find_includes=
23968 for ac_dir in $SEARCH_INCLUDE /usr/include;
23969 do
23970 if test -f "$ac_dir/Xm/Xm.h"; then
23971 ac_find_includes=$ac_dir
23972 break
23973 fi
23974 done
23975
23976 if test "$ac_find_includes" != "" ; then
23977 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23978 echo "${ECHO_T}found in $ac_find_includes" >&6
23979
23980 if test "x$ac_find_includes" = "x/usr/include"; then
23981 ac_path_to_include=""
23982 else
23983 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23984 result=$?
23985 if test $result = 0; then
23986 ac_path_to_include=""
23987 else
23988 ac_path_to_include=" -I$ac_find_includes"
23989 fi
23990 fi
23991
23992 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23993 else
23994 cat >conftest.$ac_ext <<_ACEOF
23995 #line $LINENO "configure"
23996 /* confdefs.h. */
23997 _ACEOF
23998 cat confdefs.h >>conftest.$ac_ext
23999 cat >>conftest.$ac_ext <<_ACEOF
24000 /* end confdefs.h. */
24001
24002 #include <Xm/Xm.h>
24003
24004 int
24005 main ()
24006 {
24007
24008 int version;
24009 version = xmUseVersion;
24010
24011 ;
24012 return 0;
24013 }
24014 _ACEOF
24015 rm -f conftest.$ac_objext
24016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24017 (eval $ac_compile) 2>&5
24018 ac_status=$?
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); } &&
24021 { ac_try='test -s conftest.$ac_objext'
24022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24023 (eval $ac_try) 2>&5
24024 ac_status=$?
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); }; }; then
24027
24028 echo "$as_me:$LINENO: result: found in default search path" >&5
24029 echo "${ECHO_T}found in default search path" >&6
24030 COMPILED_X_PROGRAM=1
24031
24032 else
24033 echo "$as_me: failed program was:" >&5
24034 sed 's/^/| /' conftest.$ac_ext >&5
24035
24036
24037 echo "$as_me:$LINENO: result: no" >&5
24038 echo "${ECHO_T}no" >&6
24039 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24040 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24041 { (exit 1); exit 1; }; }
24042
24043
24044 fi
24045 rm -f conftest.$ac_objext conftest.$ac_ext
24046 fi
24047
24048 if test "$COMPILED_X_PROGRAM" = 0; then
24049 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24050 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24051
24052 ac_find_libraries=
24053 for ac_dir in $SEARCH_LIB /usr/lib;
24054 do
24055 for ac_extension in a so sl dylib; do
24056 if test -f "$ac_dir/libXm.$ac_extension"; then
24057 ac_find_libraries=$ac_dir
24058 break 2
24059 fi
24060 done
24061 done
24062
24063 if test "$ac_find_libraries" != "" ; then
24064 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24065 echo "${ECHO_T}found at $ac_find_libraries" >&6
24066
24067
24068 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24069 result=$?
24070 if test $result = 0; then
24071 ac_path_to_link=""
24072 else
24073 ac_path_to_link=" -L$ac_find_libraries"
24074 fi
24075
24076 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24077 else
24078 save_CFLAGS=$CFLAGS
24079 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24080
24081 cat >conftest.$ac_ext <<_ACEOF
24082 #line $LINENO "configure"
24083 /* confdefs.h. */
24084 _ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24088
24089 #include <Xm/Xm.h>
24090
24091 int
24092 main ()
24093 {
24094
24095 int version;
24096 version = xmUseVersion;
24097
24098 ;
24099 return 0;
24100 }
24101 _ACEOF
24102 rm -f conftest.$ac_objext
24103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24104 (eval $ac_compile) 2>&5
24105 ac_status=$?
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); } &&
24108 { ac_try='test -s conftest.$ac_objext'
24109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24110 (eval $ac_try) 2>&5
24111 ac_status=$?
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; }; then
24114
24115 echo "$as_me:$LINENO: result: found in default search path" >&5
24116 echo "${ECHO_T}found in default search path" >&6
24117 COMPILED_X_PROGRAM=1
24118
24119 else
24120 echo "$as_me: failed program was:" >&5
24121 sed 's/^/| /' conftest.$ac_ext >&5
24122
24123
24124 echo "$as_me:$LINENO: result: no" >&5
24125 echo "${ECHO_T}no" >&6
24126 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24127 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24128 { (exit 1); exit 1; }; }
24129
24130
24131 fi
24132 rm -f conftest.$ac_objext conftest.$ac_ext
24133
24134 CFLAGS=$save_CFLAGS
24135 fi
24136 fi
24137
24138 xpm_link=
24139 echo "$as_me:$LINENO: checking for Xpm library" >&5
24140 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24141
24142 ac_find_libraries=
24143 for ac_dir in $SEARCH_LIB /usr/lib;
24144 do
24145 for ac_extension in a so sl dylib; do
24146 if test -f "$ac_dir/libXpm.$ac_extension"; then
24147 ac_find_libraries=$ac_dir
24148 break 2
24149 fi
24150 done
24151 done
24152
24153 if test "$ac_find_libraries" != "" ; then
24154
24155 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24156 result=$?
24157 if test $result = 0; then
24158 ac_path_to_link=""
24159 else
24160 ac_path_to_link=" -L$ac_find_libraries"
24161 fi
24162
24163 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24164
24165 xpm_link=" -lXpm"
24166 cat >>confdefs.h <<\_ACEOF
24167 #define wxHAVE_LIB_XPM 1
24168 _ACEOF
24169
24170 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24171 echo "${ECHO_T}found at $ac_find_libraries" >&6
24172 else
24173 save_CFLAGS=$CFLAGS
24174 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24175
24176 cat >conftest.$ac_ext <<_ACEOF
24177 #line $LINENO "configure"
24178 /* confdefs.h. */
24179 _ACEOF
24180 cat confdefs.h >>conftest.$ac_ext
24181 cat >>conftest.$ac_ext <<_ACEOF
24182 /* end confdefs.h. */
24183
24184 #include <X11/xpm.h>
24185
24186 int
24187 main ()
24188 {
24189
24190 int version;
24191 version = XpmLibraryVersion();
24192
24193 ;
24194 return 0;
24195 }
24196 _ACEOF
24197 rm -f conftest.$ac_objext
24198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24199 (eval $ac_compile) 2>&5
24200 ac_status=$?
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); } &&
24203 { ac_try='test -s conftest.$ac_objext'
24204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24205 (eval $ac_try) 2>&5
24206 ac_status=$?
24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24208 (exit $ac_status); }; }; then
24209
24210 xpm_link=" -lXpm"
24211 cat >>confdefs.h <<\_ACEOF
24212 #define wxHAVE_LIB_XPM 1
24213 _ACEOF
24214
24215 echo "$as_me:$LINENO: result: found in default search path" >&5
24216 echo "${ECHO_T}found in default search path" >&6
24217 COMPILED_X_PROGRAM=0
24218
24219 else
24220 echo "$as_me: failed program was:" >&5
24221 sed 's/^/| /' conftest.$ac_ext >&5
24222
24223
24224 echo "$as_me:$LINENO: result: no" >&5
24225 echo "${ECHO_T}no" >&6
24226 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24227 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24228
24229
24230 fi
24231 rm -f conftest.$ac_objext conftest.$ac_ext
24232
24233 CFLAGS=$save_CFLAGS
24234 fi
24235
24236 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24237 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24238 libp_link=""
24239 libsm_ice_link=""
24240 libs_found=0
24241 for libp in "" " -lXp"; do
24242 if test "$libs_found" = "0"; then
24243 for libsm_ice in " -lSM -lICE"; do
24244 if test "$libs_found" = "0"; then
24245 save_LIBS="$LIBS"
24246 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24247 save_CFLAGS=$CFLAGS
24248 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24249
24250 cat >conftest.$ac_ext <<_ACEOF
24251 #line $LINENO "configure"
24252 /* confdefs.h. */
24253 _ACEOF
24254 cat confdefs.h >>conftest.$ac_ext
24255 cat >>conftest.$ac_ext <<_ACEOF
24256 /* end confdefs.h. */
24257
24258 #include <Xm/Xm.h>
24259 #include <Xm/List.h>
24260
24261 int
24262 main ()
24263 {
24264
24265 XmString string = NULL;
24266 Widget w = NULL;
24267 int position = 0;
24268 XmListAddItem(w, string, position);
24269
24270 ;
24271 return 0;
24272 }
24273 _ACEOF
24274 rm -f conftest.$ac_objext conftest$ac_exeext
24275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24276 (eval $ac_link) 2>&5
24277 ac_status=$?
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); } &&
24280 { ac_try='test -s conftest$ac_exeext'
24281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24282 (eval $ac_try) 2>&5
24283 ac_status=$?
24284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24285 (exit $ac_status); }; }; then
24286
24287 libp_link="$libp"
24288 libsm_ice_link="$libsm_ice"
24289 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24290 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24291 libs_found=1
24292
24293 else
24294 echo "$as_me: failed program was:" >&5
24295 sed 's/^/| /' conftest.$ac_ext >&5
24296
24297
24298
24299 fi
24300 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24301
24302 LIBS="$save_LIBS"
24303 CFLAGS=$save_CFLAGS
24304 fi
24305 done
24306 fi
24307 done
24308
24309 if test "$libs_found" = "0"; then
24310 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24311 echo "${ECHO_T}can't find the right libraries" >&6
24312 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24313 echo "$as_me: error: can't link a simple motif program" >&2;}
24314 { (exit 1); exit 1; }; }
24315 fi
24316
24317 save_CFLAGS=$CFLAGS
24318 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24319 echo "$as_me:$LINENO: checking for Motif 2" >&5
24320 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24321 cat >conftest.$ac_ext <<_ACEOF
24322 #line $LINENO "configure"
24323 /* confdefs.h. */
24324 _ACEOF
24325 cat confdefs.h >>conftest.$ac_ext
24326 cat >>conftest.$ac_ext <<_ACEOF
24327 /* end confdefs.h. */
24328
24329 #include <Xm/Xm.h>
24330
24331 int
24332 main ()
24333 {
24334
24335 #if XmVersion < 2000
24336 #error "Not Motif 2"
24337 #endif
24338
24339 ;
24340 return 0;
24341 }
24342 _ACEOF
24343 rm -f conftest.$ac_objext
24344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24345 (eval $ac_compile) 2>&5
24346 ac_status=$?
24347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24348 (exit $ac_status); } &&
24349 { ac_try='test -s conftest.$ac_objext'
24350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24351 (eval $ac_try) 2>&5
24352 ac_status=$?
24353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24354 (exit $ac_status); }; }; then
24355
24356 cat >>confdefs.h <<\_ACEOF
24357 #define __WXMOTIF20__ 1
24358 _ACEOF
24359
24360 echo "$as_me:$LINENO: result: found" >&5
24361 echo "${ECHO_T}found" >&6
24362
24363 else
24364 echo "$as_me: failed program was:" >&5
24365 sed 's/^/| /' conftest.$ac_ext >&5
24366
24367
24368 cat >>confdefs.h <<\_ACEOF
24369 #define __WXMOTIF20__ 0
24370 _ACEOF
24371
24372 echo "$as_me:$LINENO: result: not found" >&5
24373 echo "${ECHO_T}not found" >&6
24374
24375 fi
24376 rm -f conftest.$ac_objext conftest.$ac_ext
24377 CFLAGS=$save_CFLAGS
24378
24379 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24380 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24381 TOOLKIT=MOTIF
24382 GUIDIST=MOTIF_DIST
24383 wxHAVE_XEXT_LIB=1
24384 fi
24385
24386 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24387 test "$wxHAVE_XEXT_LIB" = 1; then
24388 save_CFLAGS="$CFLAGS"
24389 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24390
24391 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24392 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24393 cat >conftest.$ac_ext <<_ACEOF
24394 #line $LINENO "configure"
24395 /* confdefs.h. */
24396 _ACEOF
24397 cat confdefs.h >>conftest.$ac_ext
24398 cat >>conftest.$ac_ext <<_ACEOF
24399 /* end confdefs.h. */
24400
24401 #include <X11/Xlib.h>
24402 #include <X11/extensions/shape.h>
24403
24404 int
24405 main ()
24406 {
24407
24408 int dummy1, dummy2;
24409 XShapeQueryExtension((Display*)NULL,
24410 (int*)NULL, (int*)NULL);
24411
24412 ;
24413 return 0;
24414 }
24415 _ACEOF
24416 rm -f conftest.$ac_objext
24417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24418 (eval $ac_compile) 2>&5
24419 ac_status=$?
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); } &&
24422 { ac_try='test -s conftest.$ac_objext'
24423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24424 (eval $ac_try) 2>&5
24425 ac_status=$?
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); }; }; then
24428
24429 cat >>confdefs.h <<\_ACEOF
24430 #define HAVE_XSHAPE 1
24431 _ACEOF
24432
24433 echo "$as_me:$LINENO: result: found" >&5
24434 echo "${ECHO_T}found" >&6
24435
24436 else
24437 echo "$as_me: failed program was:" >&5
24438 sed 's/^/| /' conftest.$ac_ext >&5
24439
24440
24441 echo "$as_me:$LINENO: result: not found" >&5
24442 echo "${ECHO_T}not found" >&6
24443
24444 fi
24445 rm -f conftest.$ac_objext conftest.$ac_ext
24446 CFLAGS="$save_CFLAGS"
24447 fi
24448
24449 if test "$wxUSE_MAC" = 1; then
24450 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24451
24452 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24453 TOOLKIT=MAC
24454 GUIDIST=MACX_DIST
24455 WXBASEPORT="_carbon"
24456 fi
24457
24458 if test "$wxUSE_COCOA" = 1; then
24459 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24460 TOOLKIT=COCOA
24461 GUIDIST=COCOA_DIST
24462 fi
24463
24464 if test "$wxUSE_PM" = 1; then
24465 TOOLKIT=PM
24466 GUIDIST=GTK_DIST
24467 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24468 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24469 wxUSE_THREADS="no"
24470 fi
24471
24472 if test "$TOOLKIT" = "PM" ; then
24473 TOOLKIT_DIR="os2"
24474 else
24475 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24476 fi
24477
24478 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24479
24480 if test "$wxUSE_UNIVERSAL" = "yes"; then
24481 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24482
24483 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24484 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24485
24486 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24487 if test "$wxUSE_X11" = 1; then
24488 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24489 else
24490 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24491 fi
24492 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24493 WIDGET_SET=univ
24494 else
24495 ALL_OBJECTS="\$(GUIOBJS)"
24496 ALL_SOURCES="\$(ALL_SOURCES)"
24497 ALL_HEADERS="\$(ALL_HEADERS)"
24498 fi
24499
24500 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24501
24502 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24503 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24504 fi
24505
24506 if test "$wxUSE_HTML" = "yes"; then
24507 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24508 fi
24509
24510 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24511 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24512 fi
24513 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24514 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24515 fi
24516 if test "$wxUSE_LIBPNG" = "builtin" ; then
24517 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24518 fi
24519
24520 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24521 DISTDIR="wx\$(TOOLKIT)"
24522 else
24523 USE_GUI=0
24524
24525 TOOLKIT_DIR="base"
24526
24527 if test "$USE_WIN32" = 1 ; then
24528 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24529 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24530
24531 TOOLKIT="MSW"
24532 else
24533 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24534 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24535 fi
24536
24537 ALL_SOURCES="\$(ALL_SOURCES)"
24538 ALL_HEADERS="\$(ALL_HEADERS)"
24539
24540 PORT_FILES="\${top_srcdir}/src/files.lst"
24541
24542 GUIDIST="BASE_DIST"
24543 DISTDIR="wxBase"
24544 fi
24545
24546
24547
24548
24549 IODBC_C_SRC=""
24550
24551
24552 if test "$TOOLKIT" != "MSW" ; then
24553
24554 if test "$wxUSE_ODBC" != "no" ; then
24555 cat >>confdefs.h <<\_ACEOF
24556 #define wxUSE_ODBC 1
24557 _ACEOF
24558
24559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24560
24561 WXODBCFLAG="-D_IODBC_"
24562
24563
24564 if test "$wxUSE_ODBC" = "sys" ; then
24565
24566 if test "${ac_cv_header_sql_h+set}" = set; then
24567 echo "$as_me:$LINENO: checking for sql.h" >&5
24568 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24569 if test "${ac_cv_header_sql_h+set}" = set; then
24570 echo $ECHO_N "(cached) $ECHO_C" >&6
24571 fi
24572 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24573 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24574 else
24575 # Is the header compilable?
24576 echo "$as_me:$LINENO: checking sql.h usability" >&5
24577 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24578 cat >conftest.$ac_ext <<_ACEOF
24579 #line $LINENO "configure"
24580 /* confdefs.h. */
24581 _ACEOF
24582 cat confdefs.h >>conftest.$ac_ext
24583 cat >>conftest.$ac_ext <<_ACEOF
24584 /* end confdefs.h. */
24585 $ac_includes_default
24586 #include <sql.h>
24587 _ACEOF
24588 rm -f conftest.$ac_objext
24589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24590 (eval $ac_compile) 2>&5
24591 ac_status=$?
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); } &&
24594 { ac_try='test -s conftest.$ac_objext'
24595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24596 (eval $ac_try) 2>&5
24597 ac_status=$?
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); }; }; then
24600 ac_header_compiler=yes
24601 else
24602 echo "$as_me: failed program was:" >&5
24603 sed 's/^/| /' conftest.$ac_ext >&5
24604
24605 ac_header_compiler=no
24606 fi
24607 rm -f conftest.$ac_objext conftest.$ac_ext
24608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24609 echo "${ECHO_T}$ac_header_compiler" >&6
24610
24611 # Is the header present?
24612 echo "$as_me:$LINENO: checking sql.h presence" >&5
24613 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24614 cat >conftest.$ac_ext <<_ACEOF
24615 #line $LINENO "configure"
24616 /* confdefs.h. */
24617 _ACEOF
24618 cat confdefs.h >>conftest.$ac_ext
24619 cat >>conftest.$ac_ext <<_ACEOF
24620 /* end confdefs.h. */
24621 #include <sql.h>
24622 _ACEOF
24623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24625 ac_status=$?
24626 grep -v '^ *+' conftest.er1 >conftest.err
24627 rm -f conftest.er1
24628 cat conftest.err >&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); } >/dev/null; then
24631 if test -s conftest.err; then
24632 ac_cpp_err=$ac_c_preproc_warn_flag
24633 else
24634 ac_cpp_err=
24635 fi
24636 else
24637 ac_cpp_err=yes
24638 fi
24639 if test -z "$ac_cpp_err"; then
24640 ac_header_preproc=yes
24641 else
24642 echo "$as_me: failed program was:" >&5
24643 sed 's/^/| /' conftest.$ac_ext >&5
24644
24645 ac_header_preproc=no
24646 fi
24647 rm -f conftest.err conftest.$ac_ext
24648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24649 echo "${ECHO_T}$ac_header_preproc" >&6
24650
24651 # So? What about this header?
24652 case $ac_header_compiler:$ac_header_preproc in
24653 yes:no )
24654 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24655 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24656 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24657 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24658 (
24659 cat <<\_ASBOX
24660 ## ------------------------------------ ##
24661 ## Report this to bug-autoconf@gnu.org. ##
24662 ## ------------------------------------ ##
24663 _ASBOX
24664 ) |
24665 sed "s/^/$as_me: WARNING: /" >&2
24666 ;;
24667 no:yes )
24668 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24669 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24670 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24671 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24672 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24673 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24674 (
24675 cat <<\_ASBOX
24676 ## ------------------------------------ ##
24677 ## Report this to bug-autoconf@gnu.org. ##
24678 ## ------------------------------------ ##
24679 _ASBOX
24680 ) |
24681 sed "s/^/$as_me: WARNING: /" >&2
24682 ;;
24683 esac
24684 echo "$as_me:$LINENO: checking for sql.h" >&5
24685 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24686 if test "${ac_cv_header_sql_h+set}" = set; then
24687 echo $ECHO_N "(cached) $ECHO_C" >&6
24688 else
24689 ac_cv_header_sql_h=$ac_header_preproc
24690 fi
24691 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24692 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24693
24694 fi
24695
24696
24697 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24698 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24699 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 else
24702 ac_func_search_save_LIBS=$LIBS
24703 ac_cv_search_SQLAllocEnv=no
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 /* Override any gcc2 internal prototype to avoid an error. */
24713 #ifdef __cplusplus
24714 extern "C"
24715 #endif
24716 /* We use char because int might match the return type of a gcc2
24717 builtin and then its argument prototype would still apply. */
24718 char SQLAllocEnv ();
24719 int
24720 main ()
24721 {
24722 SQLAllocEnv ();
24723 ;
24724 return 0;
24725 }
24726 _ACEOF
24727 rm -f conftest.$ac_objext conftest$ac_exeext
24728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24729 (eval $ac_link) 2>&5
24730 ac_status=$?
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } &&
24733 { ac_try='test -s conftest$ac_exeext'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24736 ac_status=$?
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; }; then
24739 ac_cv_search_SQLAllocEnv="none required"
24740 else
24741 echo "$as_me: failed program was:" >&5
24742 sed 's/^/| /' conftest.$ac_ext >&5
24743
24744 fi
24745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24746 if test "$ac_cv_search_SQLAllocEnv" = no; then
24747 for ac_lib in iodbc unixodbc odbc ; do
24748 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24749 cat >conftest.$ac_ext <<_ACEOF
24750 #line $LINENO "configure"
24751 /* confdefs.h. */
24752 _ACEOF
24753 cat confdefs.h >>conftest.$ac_ext
24754 cat >>conftest.$ac_ext <<_ACEOF
24755 /* end confdefs.h. */
24756
24757 /* Override any gcc2 internal prototype to avoid an error. */
24758 #ifdef __cplusplus
24759 extern "C"
24760 #endif
24761 /* We use char because int might match the return type of a gcc2
24762 builtin and then its argument prototype would still apply. */
24763 char SQLAllocEnv ();
24764 int
24765 main ()
24766 {
24767 SQLAllocEnv ();
24768 ;
24769 return 0;
24770 }
24771 _ACEOF
24772 rm -f conftest.$ac_objext conftest$ac_exeext
24773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24774 (eval $ac_link) 2>&5
24775 ac_status=$?
24776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777 (exit $ac_status); } &&
24778 { ac_try='test -s conftest$ac_exeext'
24779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24780 (eval $ac_try) 2>&5
24781 ac_status=$?
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); }; }; then
24784 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24785 break
24786 else
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.$ac_ext >&5
24789
24790 fi
24791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24792 done
24793 fi
24794 LIBS=$ac_func_search_save_LIBS
24795 fi
24796 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24797 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24798 if test "$ac_cv_search_SQLAllocEnv" != no; then
24799 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24800
24801 else
24802
24803 wxUSE_ODBC=builtin;
24804 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24805 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24806
24807 fi
24808
24809 fi
24810 if test "$wxUSE_ODBC" != "sys" ; then
24811 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24812 fi
24813
24814 fi
24815
24816 fi
24817
24818 if test "$wxUSE_REGEX" = "builtin" ; then
24819 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24820 fi
24821 if test "$wxUSE_ZLIB" = "builtin" ; then
24822 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24823 fi
24824
24825
24826 USE_OPENGL=0
24827 if test "$wxUSE_OPENGL" = "yes"; then
24828 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24829 OPENGL_LIBS="-framework OpenGL -framework AGL"
24830 elif test "$wxUSE_MSW" = 1; then
24831 OPENGL_LIBS="-lopengl32 -lglu32"
24832 else
24833
24834
24835 ac_find_includes=
24836 for ac_dir in $SEARCH_INCLUDE /usr/include;
24837 do
24838 if test -f "$ac_dir/GL/gl.h"; then
24839 ac_find_includes=$ac_dir
24840 break
24841 fi
24842 done
24843
24844 if test "$ac_find_includes" != "" ; then
24845 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24846 echo "${ECHO_T}found in $ac_find_includes" >&6
24847 set -x
24848
24849 if test "x$ac_find_includes" = "x/usr/include"; then
24850 ac_path_to_include=""
24851 else
24852 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24853 result=$?
24854 if test $result = 0; then
24855 ac_path_to_include=""
24856 else
24857 ac_path_to_include=" -I$ac_find_includes"
24858 fi
24859 fi
24860
24861 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24862 set +x
24863 fi
24864
24865 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24866 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24867 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24868 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24869 echo $ECHO_N "(cached) $ECHO_C" >&6
24870 fi
24871 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24872 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24873 else
24874 # Is the header compilable?
24875 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24876 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24877 cat >conftest.$ac_ext <<_ACEOF
24878 #line $LINENO "configure"
24879 /* confdefs.h. */
24880 _ACEOF
24881 cat confdefs.h >>conftest.$ac_ext
24882 cat >>conftest.$ac_ext <<_ACEOF
24883 /* end confdefs.h. */
24884 $ac_includes_default
24885 #include <GL/gl.h>
24886 _ACEOF
24887 rm -f conftest.$ac_objext
24888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24889 (eval $ac_compile) 2>&5
24890 ac_status=$?
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); } &&
24893 { ac_try='test -s conftest.$ac_objext'
24894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24895 (eval $ac_try) 2>&5
24896 ac_status=$?
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); }; }; then
24899 ac_header_compiler=yes
24900 else
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.$ac_ext >&5
24903
24904 ac_header_compiler=no
24905 fi
24906 rm -f conftest.$ac_objext conftest.$ac_ext
24907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24908 echo "${ECHO_T}$ac_header_compiler" >&6
24909
24910 # Is the header present?
24911 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24912 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24913 cat >conftest.$ac_ext <<_ACEOF
24914 #line $LINENO "configure"
24915 /* confdefs.h. */
24916 _ACEOF
24917 cat confdefs.h >>conftest.$ac_ext
24918 cat >>conftest.$ac_ext <<_ACEOF
24919 /* end confdefs.h. */
24920 #include <GL/gl.h>
24921 _ACEOF
24922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24924 ac_status=$?
24925 grep -v '^ *+' conftest.er1 >conftest.err
24926 rm -f conftest.er1
24927 cat conftest.err >&5
24928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24929 (exit $ac_status); } >/dev/null; then
24930 if test -s conftest.err; then
24931 ac_cpp_err=$ac_c_preproc_warn_flag
24932 else
24933 ac_cpp_err=
24934 fi
24935 else
24936 ac_cpp_err=yes
24937 fi
24938 if test -z "$ac_cpp_err"; then
24939 ac_header_preproc=yes
24940 else
24941 echo "$as_me: failed program was:" >&5
24942 sed 's/^/| /' conftest.$ac_ext >&5
24943
24944 ac_header_preproc=no
24945 fi
24946 rm -f conftest.err conftest.$ac_ext
24947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24948 echo "${ECHO_T}$ac_header_preproc" >&6
24949
24950 # So? What about this header?
24951 case $ac_header_compiler:$ac_header_preproc in
24952 yes:no )
24953 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24954 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24955 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24956 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24957 (
24958 cat <<\_ASBOX
24959 ## ------------------------------------ ##
24960 ## Report this to bug-autoconf@gnu.org. ##
24961 ## ------------------------------------ ##
24962 _ASBOX
24963 ) |
24964 sed "s/^/$as_me: WARNING: /" >&2
24965 ;;
24966 no:yes )
24967 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24968 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24969 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24970 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24971 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24972 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24973 (
24974 cat <<\_ASBOX
24975 ## ------------------------------------ ##
24976 ## Report this to bug-autoconf@gnu.org. ##
24977 ## ------------------------------------ ##
24978 _ASBOX
24979 ) |
24980 sed "s/^/$as_me: WARNING: /" >&2
24981 ;;
24982 esac
24983 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24984 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24985 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24986 echo $ECHO_N "(cached) $ECHO_C" >&6
24987 else
24988 ac_cv_header_GL_gl_h=$ac_header_preproc
24989 fi
24990 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24991 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24992
24993 fi
24994 if test $ac_cv_header_GL_gl_h = yes; then
24995
24996 found_gl=0
24997
24998 echo "$as_me:$LINENO: checking for -lGL" >&5
24999 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25000
25001 ac_find_libraries=
25002 for ac_dir in $SEARCH_LIB /usr/lib;
25003 do
25004 for ac_extension in a so sl dylib; do
25005 if test -f "$ac_dir/libGL.$ac_extension"; then
25006 ac_find_libraries=$ac_dir
25007 break 2
25008 fi
25009 done
25010 done
25011
25012 if test "$ac_find_libraries" != "" ; then
25013
25014 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25015 result=$?
25016 if test $result = 0; then
25017 ac_path_to_link=""
25018 else
25019 ac_path_to_link=" -L$ac_find_libraries"
25020 fi
25021
25022 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25023 LDFLAGS_GL="$ac_path_to_link"
25024 fi
25025
25026
25027 ac_find_libraries=
25028 for ac_dir in $SEARCH_LIB /usr/lib;
25029 do
25030 for ac_extension in a so sl dylib; do
25031 if test -f "$ac_dir/libGLU.$ac_extension"; then
25032 ac_find_libraries=$ac_dir
25033 break 2
25034 fi
25035 done
25036 done
25037
25038 if test "$ac_find_libraries" != "" ; then
25039
25040 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25041 result=$?
25042 if test $result = 0; then
25043 ac_path_to_link=""
25044 else
25045 ac_path_to_link=" -L$ac_find_libraries"
25046 fi
25047
25048 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25049 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25050 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25051 fi
25052
25053 found_gl=1
25054 OPENGL_LIBS="-lGL -lGLU"
25055 echo "$as_me:$LINENO: result: yes" >&5
25056 echo "${ECHO_T}yes" >&6
25057 fi
25058 fi
25059
25060 if "$found_gl" != 1; then
25061 echo "$as_me:$LINENO: result: no" >&5
25062 echo "${ECHO_T}no" >&6
25063 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25064 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25065
25066 ac_find_libraries=
25067 for ac_dir in $SEARCH_LIB /usr/lib;
25068 do
25069 for ac_extension in a so sl dylib; do
25070 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25071 ac_find_libraries=$ac_dir
25072 break 2
25073 fi
25074 done
25075 done
25076
25077 if test "$ac_find_libraries" != "" ; then
25078
25079 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25080 result=$?
25081 if test $result = 0; then
25082 ac_path_to_link=""
25083 else
25084 ac_path_to_link=" -L$ac_find_libraries"
25085 fi
25086
25087 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25088 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25089 echo "$as_me:$LINENO: result: yes" >&5
25090 echo "${ECHO_T}yes" >&6
25091 else
25092 echo "$as_me:$LINENO: result: no" >&5
25093 echo "${ECHO_T}no" >&6
25094 fi
25095 fi
25096
25097 fi
25098
25099
25100
25101 if test "x$OPENGL_LIBS" = "x"; then
25102 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25103 echo "$as_me: error: OpenGL libraries not available" >&2;}
25104 { (exit 1); exit 1; }; }
25105 fi
25106 fi
25107
25108 if test "$wxUSE_OPENGL" = "yes"; then
25109 USE_OPENGL=1
25110 cat >>confdefs.h <<\_ACEOF
25111 #define wxUSE_OPENGL 1
25112 _ACEOF
25113
25114 cat >>confdefs.h <<\_ACEOF
25115 #define wxUSE_GLCANVAS 1
25116 _ACEOF
25117
25118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
25119 fi
25120 fi
25121
25122 if test -z "$TOOLKIT_VPATH" ; then
25123 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25124 fi
25125
25126 if test -n "$TOOLKIT" ; then
25127 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25128 fi
25129
25130 UNICODE=0
25131 lib_unicode_suffix=
25132 if test "$wxUSE_UNICODE" = "yes"; then
25133 lib_unicode_suffix=u
25134 UNICODE=1
25135 fi
25136
25137 lib_debug_suffix=
25138 BUILD=release
25139 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25140 lib_debug_suffix=d
25141 BUILD=debug
25142 fi
25143
25144 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25145
25146 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25147 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25148
25149 if test "$cross_compiling" = "yes"; then
25150 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25151 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25152 HOST_SUFFIX="-${host_alias}"
25153 fi
25154
25155 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25156 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25157 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25158 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25159
25160 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25161 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25162
25163 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25164 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25165 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25166 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25167
25168 case "${host}" in
25169 *-*-cygwin* | *-*-mingw32* )
25170 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25171 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25172 ;;
25173
25174 *-*-darwin* )
25175
25176 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25177 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25178
25179 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25180 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25181 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25182 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25183
25184 if test "$wxUSE_MAC" = 1; then
25185 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25186 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25187 fi
25188 ;;
25189 esac
25190
25191 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25192 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25193
25194 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25195 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25196
25197 if test "$wxUSE_OPENGL" = "yes"; then
25198 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25199 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25200 fi
25201
25202
25203
25204 if test "$wxUSE_SHARED" = "yes"; then
25205 case "${host}" in
25206 *-pc-os2_emx | *-pc-os2-emx | \
25207 *-pc-msdosdjgpp )
25208 wxUSE_SHARED=no
25209 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25210 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25211 ;;
25212 esac
25213 fi
25214
25215 SHARED=0
25216 if test "$wxUSE_SHARED" = "yes"; then
25217 SHARED=1
25218
25219
25220 found_versioning=no
25221
25222
25223 if test $found_versioning = no ; then
25224 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25225 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25226 if test "${wx_cv_version_script+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25228 else
25229
25230 echo "VER_1 { *; };" >conftest.sym
25231 echo "int main() { return 0; }" >conftest.cpp
25232
25233 if { ac_try='
25234 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25235 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25237 (eval $ac_try) 2>&5
25238 ac_status=$?
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); }; } ; then
25241 if test -s conftest.stderr ; then
25242 wx_cv_version_script=no
25243 else
25244 wx_cv_version_script=yes
25245 fi
25246 else
25247 wx_cv_version_script=no
25248 fi
25249 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25250
25251 fi
25252 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25253 echo "${ECHO_T}$wx_cv_version_script" >&6
25254 if test $wx_cv_version_script = yes ; then
25255 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25256 fi
25257 fi
25258
25259
25260 case "${host}" in
25261 *-*-linux* | *-*-gnu* )
25262 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25263 ;;
25264
25265 *-*-solaris2* )
25266 if test "$GCC" = yes ; then
25267 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25268
25269 saveLdflags="$LDFLAGS"
25270 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25271 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25272 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25273 cat >conftest.$ac_ext <<_ACEOF
25274 #line $LINENO "configure"
25275 /* confdefs.h. */
25276 _ACEOF
25277 cat confdefs.h >>conftest.$ac_ext
25278 cat >>conftest.$ac_ext <<_ACEOF
25279 /* end confdefs.h. */
25280
25281 int
25282 main ()
25283 {
25284
25285 ;
25286 return 0;
25287 }
25288 _ACEOF
25289 rm -f conftest.$ac_objext conftest$ac_exeext
25290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25291 (eval $ac_link) 2>&5
25292 ac_status=$?
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); } &&
25295 { ac_try='test -s conftest$ac_exeext'
25296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25297 (eval $ac_try) 2>&5
25298 ac_status=$?
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); }; }; then
25301
25302 echo "$as_me:$LINENO: result: yes" >&5
25303 echo "${ECHO_T}yes" >&6
25304 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25305
25306 else
25307 echo "$as_me: failed program was:" >&5
25308 sed 's/^/| /' conftest.$ac_ext >&5
25309
25310
25311 echo "$as_me:$LINENO: result: no" >&5
25312 echo "${ECHO_T}no" >&6
25313 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25314 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25315 LDFLAGS="$saveLdflags -Wl,-R,/"
25316 cat >conftest.$ac_ext <<_ACEOF
25317 #line $LINENO "configure"
25318 /* confdefs.h. */
25319 _ACEOF
25320 cat confdefs.h >>conftest.$ac_ext
25321 cat >>conftest.$ac_ext <<_ACEOF
25322 /* end confdefs.h. */
25323
25324 int
25325 main ()
25326 {
25327
25328 ;
25329 return 0;
25330 }
25331 _ACEOF
25332 rm -f conftest.$ac_objext conftest$ac_exeext
25333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25334 (eval $ac_link) 2>&5
25335 ac_status=$?
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); } &&
25338 { ac_try='test -s conftest$ac_exeext'
25339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25340 (eval $ac_try) 2>&5
25341 ac_status=$?
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); }; }; then
25344
25345 echo "$as_me:$LINENO: result: yes" >&5
25346 echo "${ECHO_T}yes" >&6
25347 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25348 else
25349 echo "$as_me: failed program was:" >&5
25350 sed 's/^/| /' conftest.$ac_ext >&5
25351
25352
25353 echo "$as_me:$LINENO: result: no" >&5
25354 echo "${ECHO_T}no" >&6
25355
25356 fi
25357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25358
25359 fi
25360 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25361 LDFLAGS="$saveLdflags"
25362 else
25363 SHARED_LD="${CXX} -G -o"
25364 PIC_FLAG="-KPIC"
25365 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25366 fi
25367 ;;
25368 esac
25369
25370 if test "x$WX_TARGET_LIBRARY" = "x"; then
25371 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25372 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25373 fi
25374
25375 WX_TARGET_LIBRARY_TYPE="so"
25376 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25377 fi
25378
25379 if test "$wxUSE_SHARED" = "no"; then
25380
25381 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25382 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25383 fi
25384
25385 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25386 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25387 fi
25388
25389 if test "$wxUSE_OPENGL" = "yes"; then
25390 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25391 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25392 else
25393 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25394 fi
25395
25396 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25397 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25398
25399 WX_TARGET_LIBRARY_TYPE="a"
25400 INSTALL_LIBRARY='$(INSTALL_DATA)'
25401
25402 STATIC_FLAG="yes"
25403 else
25404 STATIC_FLAG="no"
25405 fi
25406
25407 MACRESCOMP="@#"
25408 MACSETFILE="@#"
25409 MACRESWXCONFIG="#"
25410 if test "$wxUSE_MAC" = 1; then
25411 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25412 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25413 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25414 # Extract the first word of "Rez", so it can be a program name with args.
25415 set dummy Rez; ac_word=$2
25416 echo "$as_me:$LINENO: checking for $ac_word" >&5
25417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25418 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25419 echo $ECHO_N "(cached) $ECHO_C" >&6
25420 else
25421 if test -n "$RESCOMP"; then
25422 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25423 else
25424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25425 for as_dir in $PATH
25426 do
25427 IFS=$as_save_IFS
25428 test -z "$as_dir" && as_dir=.
25429 for ac_exec_ext in '' $ac_executable_extensions; do
25430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25431 ac_cv_prog_RESCOMP="Rez"
25432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25433 break 2
25434 fi
25435 done
25436 done
25437
25438 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25439 fi
25440 fi
25441 RESCOMP=$ac_cv_prog_RESCOMP
25442 if test -n "$RESCOMP"; then
25443 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25444 echo "${ECHO_T}$RESCOMP" >&6
25445 else
25446 echo "$as_me:$LINENO: result: no" >&5
25447 echo "${ECHO_T}no" >&6
25448 fi
25449
25450 # Extract the first word of "DeRez", so it can be a program name with args.
25451 set dummy DeRez; ac_word=$2
25452 echo "$as_me:$LINENO: checking for $ac_word" >&5
25453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25454 if test "${ac_cv_prog_DEREZ+set}" = set; then
25455 echo $ECHO_N "(cached) $ECHO_C" >&6
25456 else
25457 if test -n "$DEREZ"; then
25458 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25459 else
25460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25461 for as_dir in $PATH
25462 do
25463 IFS=$as_save_IFS
25464 test -z "$as_dir" && as_dir=.
25465 for ac_exec_ext in '' $ac_executable_extensions; do
25466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25467 ac_cv_prog_DEREZ="DeRez"
25468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25469 break 2
25470 fi
25471 done
25472 done
25473
25474 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25475 fi
25476 fi
25477 DEREZ=$ac_cv_prog_DEREZ
25478 if test -n "$DEREZ"; then
25479 echo "$as_me:$LINENO: result: $DEREZ" >&5
25480 echo "${ECHO_T}$DEREZ" >&6
25481 else
25482 echo "$as_me:$LINENO: result: no" >&5
25483 echo "${ECHO_T}no" >&6
25484 fi
25485
25486 # Extract the first word of "SetFile", so it can be a program name with args.
25487 set dummy SetFile; ac_word=$2
25488 echo "$as_me:$LINENO: checking for $ac_word" >&5
25489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25490 if test "${ac_cv_prog_SETFILE+set}" = set; then
25491 echo $ECHO_N "(cached) $ECHO_C" >&6
25492 else
25493 if test -n "$SETFILE"; then
25494 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25495 else
25496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25497 for as_dir in $PATH
25498 do
25499 IFS=$as_save_IFS
25500 test -z "$as_dir" && as_dir=.
25501 for ac_exec_ext in '' $ac_executable_extensions; do
25502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25503 ac_cv_prog_SETFILE="SetFile"
25504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25505 break 2
25506 fi
25507 done
25508 done
25509
25510 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25511 fi
25512 fi
25513 SETFILE=$ac_cv_prog_SETFILE
25514 if test -n "$SETFILE"; then
25515 echo "$as_me:$LINENO: result: $SETFILE" >&5
25516 echo "${ECHO_T}$SETFILE" >&6
25517 else
25518 echo "$as_me:$LINENO: result: no" >&5
25519 echo "${ECHO_T}no" >&6
25520 fi
25521
25522 MACOSX_BUNDLE="bundle"
25523 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25524 MACSETFILE="\$(SETFILE)"
25525 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25526 elif test "$wxUSE_COCOA" = 1; then
25527 # Extract the first word of "Rez", so it can be a program name with args.
25528 set dummy Rez; ac_word=$2
25529 echo "$as_me:$LINENO: checking for $ac_word" >&5
25530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25531 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25532 echo $ECHO_N "(cached) $ECHO_C" >&6
25533 else
25534 if test -n "$RESCOMP"; then
25535 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25536 else
25537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25538 for as_dir in $PATH
25539 do
25540 IFS=$as_save_IFS
25541 test -z "$as_dir" && as_dir=.
25542 for ac_exec_ext in '' $ac_executable_extensions; do
25543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25544 ac_cv_prog_RESCOMP="Rez"
25545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25546 break 2
25547 fi
25548 done
25549 done
25550
25551 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25552 fi
25553 fi
25554 RESCOMP=$ac_cv_prog_RESCOMP
25555 if test -n "$RESCOMP"; then
25556 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25557 echo "${ECHO_T}$RESCOMP" >&6
25558 else
25559 echo "$as_me:$LINENO: result: no" >&5
25560 echo "${ECHO_T}no" >&6
25561 fi
25562
25563 # Extract the first word of "DeRez", so it can be a program name with args.
25564 set dummy DeRez; ac_word=$2
25565 echo "$as_me:$LINENO: checking for $ac_word" >&5
25566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25567 if test "${ac_cv_prog_DEREZ+set}" = set; then
25568 echo $ECHO_N "(cached) $ECHO_C" >&6
25569 else
25570 if test -n "$DEREZ"; then
25571 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25572 else
25573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25574 for as_dir in $PATH
25575 do
25576 IFS=$as_save_IFS
25577 test -z "$as_dir" && as_dir=.
25578 for ac_exec_ext in '' $ac_executable_extensions; do
25579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25580 ac_cv_prog_DEREZ="DeRez"
25581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25582 break 2
25583 fi
25584 done
25585 done
25586
25587 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25588 fi
25589 fi
25590 DEREZ=$ac_cv_prog_DEREZ
25591 if test -n "$DEREZ"; then
25592 echo "$as_me:$LINENO: result: $DEREZ" >&5
25593 echo "${ECHO_T}$DEREZ" >&6
25594 else
25595 echo "$as_me:$LINENO: result: no" >&5
25596 echo "${ECHO_T}no" >&6
25597 fi
25598
25599 # Extract the first word of "SetFile", so it can be a program name with args.
25600 set dummy SetFile; ac_word=$2
25601 echo "$as_me:$LINENO: checking for $ac_word" >&5
25602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25603 if test "${ac_cv_prog_SETFILE+set}" = set; then
25604 echo $ECHO_N "(cached) $ECHO_C" >&6
25605 else
25606 if test -n "$SETFILE"; then
25607 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25608 else
25609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25610 for as_dir in $PATH
25611 do
25612 IFS=$as_save_IFS
25613 test -z "$as_dir" && as_dir=.
25614 for ac_exec_ext in '' $ac_executable_extensions; do
25615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25616 ac_cv_prog_SETFILE="SetFile"
25617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25618 break 2
25619 fi
25620 done
25621 done
25622
25623 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25624 fi
25625 fi
25626 SETFILE=$ac_cv_prog_SETFILE
25627 if test -n "$SETFILE"; then
25628 echo "$as_me:$LINENO: result: $SETFILE" >&5
25629 echo "${ECHO_T}$SETFILE" >&6
25630 else
25631 echo "$as_me:$LINENO: result: no" >&5
25632 echo "${ECHO_T}no" >&6
25633 fi
25634
25635 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25636 MACSETFILE="\$(SETFILE)"
25637 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25638 else
25639 if test "$wxUSE_PM" = 1; then
25640 MACRESCOMP="emxbind -ep"
25641 fi
25642 fi
25643
25644
25645 echo "$as_me:$LINENO: checking for mode_t" >&5
25646 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25647 if test "${ac_cv_type_mode_t+set}" = set; then
25648 echo $ECHO_N "(cached) $ECHO_C" >&6
25649 else
25650 cat >conftest.$ac_ext <<_ACEOF
25651 #line $LINENO "configure"
25652 /* confdefs.h. */
25653 _ACEOF
25654 cat confdefs.h >>conftest.$ac_ext
25655 cat >>conftest.$ac_ext <<_ACEOF
25656 /* end confdefs.h. */
25657 $ac_includes_default
25658 int
25659 main ()
25660 {
25661 if ((mode_t *) 0)
25662 return 0;
25663 if (sizeof (mode_t))
25664 return 0;
25665 ;
25666 return 0;
25667 }
25668 _ACEOF
25669 rm -f conftest.$ac_objext
25670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25671 (eval $ac_compile) 2>&5
25672 ac_status=$?
25673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674 (exit $ac_status); } &&
25675 { ac_try='test -s conftest.$ac_objext'
25676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25677 (eval $ac_try) 2>&5
25678 ac_status=$?
25679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); }; }; then
25681 ac_cv_type_mode_t=yes
25682 else
25683 echo "$as_me: failed program was:" >&5
25684 sed 's/^/| /' conftest.$ac_ext >&5
25685
25686 ac_cv_type_mode_t=no
25687 fi
25688 rm -f conftest.$ac_objext conftest.$ac_ext
25689 fi
25690 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25691 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25692 if test $ac_cv_type_mode_t = yes; then
25693 :
25694 else
25695
25696 cat >>confdefs.h <<_ACEOF
25697 #define mode_t int
25698 _ACEOF
25699
25700 fi
25701
25702 echo "$as_me:$LINENO: checking for off_t" >&5
25703 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25704 if test "${ac_cv_type_off_t+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 else
25707 cat >conftest.$ac_ext <<_ACEOF
25708 #line $LINENO "configure"
25709 /* confdefs.h. */
25710 _ACEOF
25711 cat confdefs.h >>conftest.$ac_ext
25712 cat >>conftest.$ac_ext <<_ACEOF
25713 /* end confdefs.h. */
25714 $ac_includes_default
25715 int
25716 main ()
25717 {
25718 if ((off_t *) 0)
25719 return 0;
25720 if (sizeof (off_t))
25721 return 0;
25722 ;
25723 return 0;
25724 }
25725 _ACEOF
25726 rm -f conftest.$ac_objext
25727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25728 (eval $ac_compile) 2>&5
25729 ac_status=$?
25730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731 (exit $ac_status); } &&
25732 { ac_try='test -s conftest.$ac_objext'
25733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25734 (eval $ac_try) 2>&5
25735 ac_status=$?
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); }; }; then
25738 ac_cv_type_off_t=yes
25739 else
25740 echo "$as_me: failed program was:" >&5
25741 sed 's/^/| /' conftest.$ac_ext >&5
25742
25743 ac_cv_type_off_t=no
25744 fi
25745 rm -f conftest.$ac_objext conftest.$ac_ext
25746 fi
25747 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25748 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25749 if test $ac_cv_type_off_t = yes; then
25750 :
25751 else
25752
25753 cat >>confdefs.h <<_ACEOF
25754 #define off_t long
25755 _ACEOF
25756
25757 fi
25758
25759 echo "$as_me:$LINENO: checking for pid_t" >&5
25760 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25761 if test "${ac_cv_type_pid_t+set}" = set; then
25762 echo $ECHO_N "(cached) $ECHO_C" >&6
25763 else
25764 cat >conftest.$ac_ext <<_ACEOF
25765 #line $LINENO "configure"
25766 /* confdefs.h. */
25767 _ACEOF
25768 cat confdefs.h >>conftest.$ac_ext
25769 cat >>conftest.$ac_ext <<_ACEOF
25770 /* end confdefs.h. */
25771 $ac_includes_default
25772 int
25773 main ()
25774 {
25775 if ((pid_t *) 0)
25776 return 0;
25777 if (sizeof (pid_t))
25778 return 0;
25779 ;
25780 return 0;
25781 }
25782 _ACEOF
25783 rm -f conftest.$ac_objext
25784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25785 (eval $ac_compile) 2>&5
25786 ac_status=$?
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); } &&
25789 { ac_try='test -s conftest.$ac_objext'
25790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25791 (eval $ac_try) 2>&5
25792 ac_status=$?
25793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25794 (exit $ac_status); }; }; then
25795 ac_cv_type_pid_t=yes
25796 else
25797 echo "$as_me: failed program was:" >&5
25798 sed 's/^/| /' conftest.$ac_ext >&5
25799
25800 ac_cv_type_pid_t=no
25801 fi
25802 rm -f conftest.$ac_objext conftest.$ac_ext
25803 fi
25804 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25805 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25806 if test $ac_cv_type_pid_t = yes; then
25807 :
25808 else
25809
25810 cat >>confdefs.h <<_ACEOF
25811 #define pid_t int
25812 _ACEOF
25813
25814 fi
25815
25816 echo "$as_me:$LINENO: checking for size_t" >&5
25817 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25818 if test "${ac_cv_type_size_t+set}" = set; then
25819 echo $ECHO_N "(cached) $ECHO_C" >&6
25820 else
25821 cat >conftest.$ac_ext <<_ACEOF
25822 #line $LINENO "configure"
25823 /* confdefs.h. */
25824 _ACEOF
25825 cat confdefs.h >>conftest.$ac_ext
25826 cat >>conftest.$ac_ext <<_ACEOF
25827 /* end confdefs.h. */
25828 $ac_includes_default
25829 int
25830 main ()
25831 {
25832 if ((size_t *) 0)
25833 return 0;
25834 if (sizeof (size_t))
25835 return 0;
25836 ;
25837 return 0;
25838 }
25839 _ACEOF
25840 rm -f conftest.$ac_objext
25841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25842 (eval $ac_compile) 2>&5
25843 ac_status=$?
25844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845 (exit $ac_status); } &&
25846 { ac_try='test -s conftest.$ac_objext'
25847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25848 (eval $ac_try) 2>&5
25849 ac_status=$?
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); }; }; then
25852 ac_cv_type_size_t=yes
25853 else
25854 echo "$as_me: failed program was:" >&5
25855 sed 's/^/| /' conftest.$ac_ext >&5
25856
25857 ac_cv_type_size_t=no
25858 fi
25859 rm -f conftest.$ac_objext conftest.$ac_ext
25860 fi
25861 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25862 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25863 if test $ac_cv_type_size_t = yes; then
25864 :
25865 else
25866
25867 cat >>confdefs.h <<_ACEOF
25868 #define size_t unsigned
25869 _ACEOF
25870
25871 fi
25872
25873 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25874 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25875 if test "${ac_cv_type_uid_t+set}" = set; then
25876 echo $ECHO_N "(cached) $ECHO_C" >&6
25877 else
25878 cat >conftest.$ac_ext <<_ACEOF
25879 #line $LINENO "configure"
25880 /* confdefs.h. */
25881 _ACEOF
25882 cat confdefs.h >>conftest.$ac_ext
25883 cat >>conftest.$ac_ext <<_ACEOF
25884 /* end confdefs.h. */
25885 #include <sys/types.h>
25886
25887 _ACEOF
25888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25889 $EGREP "uid_t" >/dev/null 2>&1; then
25890 ac_cv_type_uid_t=yes
25891 else
25892 ac_cv_type_uid_t=no
25893 fi
25894 rm -f conftest*
25895
25896 fi
25897 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25898 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25899 if test $ac_cv_type_uid_t = no; then
25900
25901 cat >>confdefs.h <<\_ACEOF
25902 #define uid_t int
25903 _ACEOF
25904
25905
25906 cat >>confdefs.h <<\_ACEOF
25907 #define gid_t int
25908 _ACEOF
25909
25910 fi
25911
25912
25913
25914
25915 ac_ext=cc
25916 ac_cpp='$CXXCPP $CPPFLAGS'
25917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25920
25921 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25922 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25923 if test "${wx_cv_size_t_is_uint+set}" = set; then
25924 echo $ECHO_N "(cached) $ECHO_C" >&6
25925 else
25926
25927 cat >conftest.$ac_ext <<_ACEOF
25928 #line $LINENO "configure"
25929 /* confdefs.h. */
25930 _ACEOF
25931 cat confdefs.h >>conftest.$ac_ext
25932 cat >>conftest.$ac_ext <<_ACEOF
25933 /* end confdefs.h. */
25934 #include <stddef.h>
25935 int
25936 main ()
25937 {
25938
25939 return 0; }
25940
25941 struct Foo { void foo(size_t); void foo(unsigned int); };
25942
25943 int bar() {
25944
25945 ;
25946 return 0;
25947 }
25948 _ACEOF
25949 rm -f conftest.$ac_objext
25950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25951 (eval $ac_compile) 2>&5
25952 ac_status=$?
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); } &&
25955 { ac_try='test -s conftest.$ac_objext'
25956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25957 (eval $ac_try) 2>&5
25958 ac_status=$?
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); }; }; then
25961 wx_cv_size_t_is_uint=no
25962 else
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.$ac_ext >&5
25965
25966 wx_cv_size_t_is_uint=yes
25967
25968 fi
25969 rm -f conftest.$ac_objext conftest.$ac_ext
25970
25971
25972 fi
25973 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25974 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25975
25976 if test "$wx_cv_size_t_is_uint" = "yes"; then
25977 cat >>confdefs.h <<\_ACEOF
25978 #define wxSIZE_T_IS_UINT 1
25979 _ACEOF
25980
25981 else
25982 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25983 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25984 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25985 echo $ECHO_N "(cached) $ECHO_C" >&6
25986 else
25987 cat >conftest.$ac_ext <<_ACEOF
25988 #line $LINENO "configure"
25989 /* confdefs.h. */
25990 _ACEOF
25991 cat confdefs.h >>conftest.$ac_ext
25992 cat >>conftest.$ac_ext <<_ACEOF
25993 /* end confdefs.h. */
25994 #include <stddef.h>
25995 int
25996 main ()
25997 {
25998
25999 return 0; }
26000
26001 struct Foo { void foo(size_t); void foo(unsigned long); };
26002
26003 int bar() {
26004
26005 ;
26006 return 0;
26007 }
26008 _ACEOF
26009 rm -f conftest.$ac_objext
26010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26011 (eval $ac_compile) 2>&5
26012 ac_status=$?
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } &&
26015 { ac_try='test -s conftest.$ac_objext'
26016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017 (eval $ac_try) 2>&5
26018 ac_status=$?
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); }; }; then
26021 wx_cv_size_t_is_ulong=no
26022 else
26023 echo "$as_me: failed program was:" >&5
26024 sed 's/^/| /' conftest.$ac_ext >&5
26025
26026 wx_cv_size_t_is_ulong=yes
26027
26028 fi
26029 rm -f conftest.$ac_objext conftest.$ac_ext
26030
26031 fi
26032 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26033 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26034
26035 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26036 cat >>confdefs.h <<\_ACEOF
26037 #define wxSIZE_T_IS_ULONG 1
26038 _ACEOF
26039
26040 fi
26041 fi
26042
26043 ac_ext=c
26044 ac_cpp='$CPP $CPPFLAGS'
26045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26048
26049
26050
26051 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26052 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26053 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26054 echo $ECHO_N "(cached) $ECHO_C" >&6
26055 else
26056
26057 cat >conftest.$ac_ext <<_ACEOF
26058 #line $LINENO "configure"
26059 /* confdefs.h. */
26060 _ACEOF
26061 cat confdefs.h >>conftest.$ac_ext
26062 cat >>conftest.$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26064 #include <pwd.h>
26065 int
26066 main ()
26067 {
26068
26069 char *p;
26070 struct passwd *pw;
26071 p = pw->pw_gecos;
26072
26073 ;
26074 return 0;
26075 }
26076 _ACEOF
26077 rm -f conftest.$ac_objext
26078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26079 (eval $ac_compile) 2>&5
26080 ac_status=$?
26081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26082 (exit $ac_status); } &&
26083 { ac_try='test -s conftest.$ac_objext'
26084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26085 (eval $ac_try) 2>&5
26086 ac_status=$?
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); }; }; then
26089
26090 wx_cv_struct_pw_gecos=yes
26091
26092 else
26093 echo "$as_me: failed program was:" >&5
26094 sed 's/^/| /' conftest.$ac_ext >&5
26095
26096
26097 wx_cv_struct_pw_gecos=no
26098
26099
26100 fi
26101 rm -f conftest.$ac_objext conftest.$ac_ext
26102
26103
26104 fi
26105 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26106 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26107
26108 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26109 cat >>confdefs.h <<\_ACEOF
26110 #define HAVE_PW_GECOS 1
26111 _ACEOF
26112
26113 fi
26114
26115
26116 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26117 cat >>confdefs.h <<\_ACEOF
26118 #define wxUSE_WCHAR_T 1
26119 _ACEOF
26120
26121
26122 WCSLEN_FOUND=0
26123 WCHAR_LINK=
26124
26125 for ac_func in wcslen
26126 do
26127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26128 echo "$as_me:$LINENO: checking for $ac_func" >&5
26129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26130 if eval "test \"\${$as_ac_var+set}\" = set"; then
26131 echo $ECHO_N "(cached) $ECHO_C" >&6
26132 else
26133 cat >conftest.$ac_ext <<_ACEOF
26134 #line $LINENO "configure"
26135 /* confdefs.h. */
26136 _ACEOF
26137 cat confdefs.h >>conftest.$ac_ext
26138 cat >>conftest.$ac_ext <<_ACEOF
26139 /* end confdefs.h. */
26140 /* System header to define __stub macros and hopefully few prototypes,
26141 which can conflict with char $ac_func (); below.
26142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26143 <limits.h> exists even on freestanding compilers. */
26144 #ifdef __STDC__
26145 # include <limits.h>
26146 #else
26147 # include <assert.h>
26148 #endif
26149 /* Override any gcc2 internal prototype to avoid an error. */
26150 #ifdef __cplusplus
26151 extern "C"
26152 {
26153 #endif
26154 /* We use char because int might match the return type of a gcc2
26155 builtin and then its argument prototype would still apply. */
26156 char $ac_func ();
26157 /* The GNU C library defines this for functions which it implements
26158 to always fail with ENOSYS. Some functions are actually named
26159 something starting with __ and the normal name is an alias. */
26160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26161 choke me
26162 #else
26163 char (*f) () = $ac_func;
26164 #endif
26165 #ifdef __cplusplus
26166 }
26167 #endif
26168
26169 int
26170 main ()
26171 {
26172 return f != $ac_func;
26173 ;
26174 return 0;
26175 }
26176 _ACEOF
26177 rm -f conftest.$ac_objext conftest$ac_exeext
26178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26179 (eval $ac_link) 2>&5
26180 ac_status=$?
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } &&
26183 { ac_try='test -s conftest$ac_exeext'
26184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26185 (eval $ac_try) 2>&5
26186 ac_status=$?
26187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188 (exit $ac_status); }; }; then
26189 eval "$as_ac_var=yes"
26190 else
26191 echo "$as_me: failed program was:" >&5
26192 sed 's/^/| /' conftest.$ac_ext >&5
26193
26194 eval "$as_ac_var=no"
26195 fi
26196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26197 fi
26198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26200 if test `eval echo '${'$as_ac_var'}'` = yes; then
26201 cat >>confdefs.h <<_ACEOF
26202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26203 _ACEOF
26204 WCSLEN_FOUND=1
26205 fi
26206 done
26207
26208
26209 if test "$WCSLEN_FOUND" = 0; then
26210 if test "$TOOLKIT" = "MSW"; then
26211 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26212 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26213 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26215 else
26216 ac_check_lib_save_LIBS=$LIBS
26217 LIBS="-lmsvcrt $LIBS"
26218 cat >conftest.$ac_ext <<_ACEOF
26219 #line $LINENO "configure"
26220 /* confdefs.h. */
26221 _ACEOF
26222 cat confdefs.h >>conftest.$ac_ext
26223 cat >>conftest.$ac_ext <<_ACEOF
26224 /* end confdefs.h. */
26225
26226 /* Override any gcc2 internal prototype to avoid an error. */
26227 #ifdef __cplusplus
26228 extern "C"
26229 #endif
26230 /* We use char because int might match the return type of a gcc2
26231 builtin and then its argument prototype would still apply. */
26232 char wcslen ();
26233 int
26234 main ()
26235 {
26236 wcslen ();
26237 ;
26238 return 0;
26239 }
26240 _ACEOF
26241 rm -f conftest.$ac_objext conftest$ac_exeext
26242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26243 (eval $ac_link) 2>&5
26244 ac_status=$?
26245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26246 (exit $ac_status); } &&
26247 { ac_try='test -s conftest$ac_exeext'
26248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26249 (eval $ac_try) 2>&5
26250 ac_status=$?
26251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26252 (exit $ac_status); }; }; then
26253 ac_cv_lib_msvcrt_wcslen=yes
26254 else
26255 echo "$as_me: failed program was:" >&5
26256 sed 's/^/| /' conftest.$ac_ext >&5
26257
26258 ac_cv_lib_msvcrt_wcslen=no
26259 fi
26260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26261 LIBS=$ac_check_lib_save_LIBS
26262 fi
26263 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26264 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26265 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26266 WCHAR_OK=1
26267 fi
26268
26269 else
26270 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26271 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26272 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26273 echo $ECHO_N "(cached) $ECHO_C" >&6
26274 else
26275 ac_check_lib_save_LIBS=$LIBS
26276 LIBS="-lw $LIBS"
26277 cat >conftest.$ac_ext <<_ACEOF
26278 #line $LINENO "configure"
26279 /* confdefs.h. */
26280 _ACEOF
26281 cat confdefs.h >>conftest.$ac_ext
26282 cat >>conftest.$ac_ext <<_ACEOF
26283 /* end confdefs.h. */
26284
26285 /* Override any gcc2 internal prototype to avoid an error. */
26286 #ifdef __cplusplus
26287 extern "C"
26288 #endif
26289 /* We use char because int might match the return type of a gcc2
26290 builtin and then its argument prototype would still apply. */
26291 char wcslen ();
26292 int
26293 main ()
26294 {
26295 wcslen ();
26296 ;
26297 return 0;
26298 }
26299 _ACEOF
26300 rm -f conftest.$ac_objext conftest$ac_exeext
26301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26302 (eval $ac_link) 2>&5
26303 ac_status=$?
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); } &&
26306 { ac_try='test -s conftest$ac_exeext'
26307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308 (eval $ac_try) 2>&5
26309 ac_status=$?
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; }; then
26312 ac_cv_lib_w_wcslen=yes
26313 else
26314 echo "$as_me: failed program was:" >&5
26315 sed 's/^/| /' conftest.$ac_ext >&5
26316
26317 ac_cv_lib_w_wcslen=no
26318 fi
26319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26320 LIBS=$ac_check_lib_save_LIBS
26321 fi
26322 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26323 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26324 if test $ac_cv_lib_w_wcslen = yes; then
26325
26326 WCHAR_LINK=" -lw"
26327 WCSLEN_FOUND=1
26328
26329 fi
26330
26331 fi
26332 fi
26333
26334 if test "$WCSLEN_FOUND" = 1; then
26335 cat >>confdefs.h <<\_ACEOF
26336 #define HAVE_WCSLEN 1
26337 _ACEOF
26338
26339 fi
26340
26341
26342 for ac_func in wcsrtombs
26343 do
26344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26345 echo "$as_me:$LINENO: checking for $ac_func" >&5
26346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26347 if eval "test \"\${$as_ac_var+set}\" = set"; then
26348 echo $ECHO_N "(cached) $ECHO_C" >&6
26349 else
26350 cat >conftest.$ac_ext <<_ACEOF
26351 #line $LINENO "configure"
26352 /* confdefs.h. */
26353 _ACEOF
26354 cat confdefs.h >>conftest.$ac_ext
26355 cat >>conftest.$ac_ext <<_ACEOF
26356 /* end confdefs.h. */
26357 /* System header to define __stub macros and hopefully few prototypes,
26358 which can conflict with char $ac_func (); below.
26359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26360 <limits.h> exists even on freestanding compilers. */
26361 #ifdef __STDC__
26362 # include <limits.h>
26363 #else
26364 # include <assert.h>
26365 #endif
26366 /* Override any gcc2 internal prototype to avoid an error. */
26367 #ifdef __cplusplus
26368 extern "C"
26369 {
26370 #endif
26371 /* We use char because int might match the return type of a gcc2
26372 builtin and then its argument prototype would still apply. */
26373 char $ac_func ();
26374 /* The GNU C library defines this for functions which it implements
26375 to always fail with ENOSYS. Some functions are actually named
26376 something starting with __ and the normal name is an alias. */
26377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26378 choke me
26379 #else
26380 char (*f) () = $ac_func;
26381 #endif
26382 #ifdef __cplusplus
26383 }
26384 #endif
26385
26386 int
26387 main ()
26388 {
26389 return f != $ac_func;
26390 ;
26391 return 0;
26392 }
26393 _ACEOF
26394 rm -f conftest.$ac_objext conftest$ac_exeext
26395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26396 (eval $ac_link) 2>&5
26397 ac_status=$?
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } &&
26400 { ac_try='test -s conftest$ac_exeext'
26401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26402 (eval $ac_try) 2>&5
26403 ac_status=$?
26404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26405 (exit $ac_status); }; }; then
26406 eval "$as_ac_var=yes"
26407 else
26408 echo "$as_me: failed program was:" >&5
26409 sed 's/^/| /' conftest.$ac_ext >&5
26410
26411 eval "$as_ac_var=no"
26412 fi
26413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26414 fi
26415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26417 if test `eval echo '${'$as_ac_var'}'` = yes; then
26418 cat >>confdefs.h <<_ACEOF
26419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26420 _ACEOF
26421
26422 fi
26423 done
26424
26425 else
26426 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26427 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26428 fi
26429
26430
26431
26432 ac_ext=cc
26433 ac_cpp='$CXXCPP $CPPFLAGS'
26434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26437
26438
26439
26440 for ac_func in vsnprintf
26441 do
26442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26443 echo "$as_me:$LINENO: checking for $ac_func" >&5
26444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26445 if eval "test \"\${$as_ac_var+set}\" = set"; then
26446 echo $ECHO_N "(cached) $ECHO_C" >&6
26447 else
26448 cat >conftest.$ac_ext <<_ACEOF
26449 #line $LINENO "configure"
26450 /* confdefs.h. */
26451 _ACEOF
26452 cat confdefs.h >>conftest.$ac_ext
26453 cat >>conftest.$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26455 /* System header to define __stub macros and hopefully few prototypes,
26456 which can conflict with char $ac_func (); below.
26457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26458 <limits.h> exists even on freestanding compilers. */
26459 #ifdef __STDC__
26460 # include <limits.h>
26461 #else
26462 # include <assert.h>
26463 #endif
26464 /* Override any gcc2 internal prototype to avoid an error. */
26465 #ifdef __cplusplus
26466 extern "C"
26467 {
26468 #endif
26469 /* We use char because int might match the return type of a gcc2
26470 builtin and then its argument prototype would still apply. */
26471 char $ac_func ();
26472 /* The GNU C library defines this for functions which it implements
26473 to always fail with ENOSYS. Some functions are actually named
26474 something starting with __ and the normal name is an alias. */
26475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26476 choke me
26477 #else
26478 char (*f) () = $ac_func;
26479 #endif
26480 #ifdef __cplusplus
26481 }
26482 #endif
26483
26484 int
26485 main ()
26486 {
26487 return f != $ac_func;
26488 ;
26489 return 0;
26490 }
26491 _ACEOF
26492 rm -f conftest.$ac_objext conftest$ac_exeext
26493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26494 (eval $ac_link) 2>&5
26495 ac_status=$?
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); } &&
26498 { ac_try='test -s conftest$ac_exeext'
26499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26500 (eval $ac_try) 2>&5
26501 ac_status=$?
26502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26503 (exit $ac_status); }; }; then
26504 eval "$as_ac_var=yes"
26505 else
26506 echo "$as_me: failed program was:" >&5
26507 sed 's/^/| /' conftest.$ac_ext >&5
26508
26509 eval "$as_ac_var=no"
26510 fi
26511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26512 fi
26513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26515 if test `eval echo '${'$as_ac_var'}'` = yes; then
26516 cat >>confdefs.h <<_ACEOF
26517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26518 _ACEOF
26519
26520 fi
26521 done
26522
26523
26524 if test "$ac_cv_func_vsnprintf" = "yes"; then
26525 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26526 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26527 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26528 echo $ECHO_N "(cached) $ECHO_C" >&6
26529 else
26530
26531 cat >conftest.$ac_ext <<_ACEOF
26532 #line $LINENO "configure"
26533 /* confdefs.h. */
26534 _ACEOF
26535 cat confdefs.h >>conftest.$ac_ext
26536 cat >>conftest.$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26538
26539 #include <stdio.h>
26540 #include <stdarg.h>
26541
26542 int
26543 main ()
26544 {
26545
26546 char *buf;
26547 va_list ap;
26548 vsnprintf(buf, 10u, "%s", ap);
26549
26550 ;
26551 return 0;
26552 }
26553 _ACEOF
26554 rm -f conftest.$ac_objext
26555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26556 (eval $ac_compile) 2>&5
26557 ac_status=$?
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); } &&
26560 { ac_try='test -s conftest.$ac_objext'
26561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26562 (eval $ac_try) 2>&5
26563 ac_status=$?
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); }; }; then
26566 wx_cv_func_vsnprintf_decl=yes
26567 else
26568 echo "$as_me: failed program was:" >&5
26569 sed 's/^/| /' conftest.$ac_ext >&5
26570
26571 wx_cv_func_vsnprintf_decl=no
26572
26573 fi
26574 rm -f conftest.$ac_objext conftest.$ac_ext
26575
26576
26577 fi
26578 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26579 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26580
26581 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26582 cat >>confdefs.h <<\_ACEOF
26583 #define HAVE_VSNPRINTF_DECL 1
26584 _ACEOF
26585
26586 fi
26587 fi
26588
26589 if test "$wxUSE_UNICODE" = yes; then
26590
26591
26592
26593 for ac_func in fputwc wprintf vswprintf
26594 do
26595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26596 echo "$as_me:$LINENO: checking for $ac_func" >&5
26597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26598 if eval "test \"\${$as_ac_var+set}\" = set"; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 else
26601 cat >conftest.$ac_ext <<_ACEOF
26602 #line $LINENO "configure"
26603 /* confdefs.h. */
26604 _ACEOF
26605 cat confdefs.h >>conftest.$ac_ext
26606 cat >>conftest.$ac_ext <<_ACEOF
26607 /* end confdefs.h. */
26608 /* System header to define __stub macros and hopefully few prototypes,
26609 which can conflict with char $ac_func (); below.
26610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26611 <limits.h> exists even on freestanding compilers. */
26612 #ifdef __STDC__
26613 # include <limits.h>
26614 #else
26615 # include <assert.h>
26616 #endif
26617 /* Override any gcc2 internal prototype to avoid an error. */
26618 #ifdef __cplusplus
26619 extern "C"
26620 {
26621 #endif
26622 /* We use char because int might match the return type of a gcc2
26623 builtin and then its argument prototype would still apply. */
26624 char $ac_func ();
26625 /* The GNU C library defines this for functions which it implements
26626 to always fail with ENOSYS. Some functions are actually named
26627 something starting with __ and the normal name is an alias. */
26628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26629 choke me
26630 #else
26631 char (*f) () = $ac_func;
26632 #endif
26633 #ifdef __cplusplus
26634 }
26635 #endif
26636
26637 int
26638 main ()
26639 {
26640 return f != $ac_func;
26641 ;
26642 return 0;
26643 }
26644 _ACEOF
26645 rm -f conftest.$ac_objext conftest$ac_exeext
26646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26647 (eval $ac_link) 2>&5
26648 ac_status=$?
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } &&
26651 { ac_try='test -s conftest$ac_exeext'
26652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26653 (eval $ac_try) 2>&5
26654 ac_status=$?
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); }; }; then
26657 eval "$as_ac_var=yes"
26658 else
26659 echo "$as_me: failed program was:" >&5
26660 sed 's/^/| /' conftest.$ac_ext >&5
26661
26662 eval "$as_ac_var=no"
26663 fi
26664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26665 fi
26666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26668 if test `eval echo '${'$as_ac_var'}'` = yes; then
26669 cat >>confdefs.h <<_ACEOF
26670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26671 _ACEOF
26672
26673 fi
26674 done
26675
26676
26677 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26678 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26679 cat >conftest.$ac_ext <<_ACEOF
26680 #line $LINENO "configure"
26681 /* confdefs.h. */
26682 _ACEOF
26683 cat confdefs.h >>conftest.$ac_ext
26684 cat >>conftest.$ac_ext <<_ACEOF
26685 /* end confdefs.h. */
26686 #include <wchar.h>
26687 int
26688 main ()
26689 {
26690 &_vsnwprintf;
26691 ;
26692 return 0;
26693 }
26694 _ACEOF
26695 rm -f conftest.$ac_objext
26696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26697 (eval $ac_compile) 2>&5
26698 ac_status=$?
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); } &&
26701 { ac_try='test -s conftest.$ac_objext'
26702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26703 (eval $ac_try) 2>&5
26704 ac_status=$?
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); }; }; then
26707 echo "$as_me:$LINENO: result: yes" >&5
26708 echo "${ECHO_T}yes" >&6
26709 cat >>confdefs.h <<\_ACEOF
26710 #define HAVE__VSNWPRINTF 1
26711 _ACEOF
26712
26713 else
26714 echo "$as_me: failed program was:" >&5
26715 sed 's/^/| /' conftest.$ac_ext >&5
26716
26717 echo "$as_me:$LINENO: result: no" >&5
26718 echo "${ECHO_T}no" >&6
26719 fi
26720 rm -f conftest.$ac_objext conftest.$ac_ext;
26721 fi
26722
26723 ac_ext=c
26724 ac_cpp='$CPP $CPPFLAGS'
26725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26728
26729
26730
26731
26732 if test "$TOOLKIT" != "MSW"; then
26733
26734
26735
26736
26737 ac_ext=cc
26738 ac_cpp='$CXXCPP $CPPFLAGS'
26739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26742
26743
26744
26745
26746 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26747 if test "${with_libiconv_prefix+set}" = set; then
26748 withval="$with_libiconv_prefix"
26749
26750 for dir in `echo "$withval" | tr : ' '`; do
26751 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26752 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26753 done
26754
26755 fi;
26756
26757 echo "$as_me:$LINENO: checking for iconv" >&5
26758 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26759 if test "${am_cv_func_iconv+set}" = set; then
26760 echo $ECHO_N "(cached) $ECHO_C" >&6
26761 else
26762
26763 am_cv_func_iconv="no, consider installing GNU libiconv"
26764 am_cv_lib_iconv=no
26765 cat >conftest.$ac_ext <<_ACEOF
26766 #line $LINENO "configure"
26767 /* confdefs.h. */
26768 _ACEOF
26769 cat confdefs.h >>conftest.$ac_ext
26770 cat >>conftest.$ac_ext <<_ACEOF
26771 /* end confdefs.h. */
26772 #include <stdlib.h>
26773 #include <iconv.h>
26774 int
26775 main ()
26776 {
26777 iconv_t cd = iconv_open("","");
26778 iconv(cd,NULL,NULL,NULL,NULL);
26779 iconv_close(cd);
26780 ;
26781 return 0;
26782 }
26783 _ACEOF
26784 rm -f conftest.$ac_objext conftest$ac_exeext
26785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26786 (eval $ac_link) 2>&5
26787 ac_status=$?
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); } &&
26790 { ac_try='test -s conftest$ac_exeext'
26791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26792 (eval $ac_try) 2>&5
26793 ac_status=$?
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; }; then
26796 am_cv_func_iconv=yes
26797 else
26798 echo "$as_me: failed program was:" >&5
26799 sed 's/^/| /' conftest.$ac_ext >&5
26800
26801 fi
26802 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26803 if test "$am_cv_func_iconv" != yes; then
26804 am_save_LIBS="$LIBS"
26805 LIBS="$LIBS -liconv"
26806 cat >conftest.$ac_ext <<_ACEOF
26807 #line $LINENO "configure"
26808 /* confdefs.h. */
26809 _ACEOF
26810 cat confdefs.h >>conftest.$ac_ext
26811 cat >>conftest.$ac_ext <<_ACEOF
26812 /* end confdefs.h. */
26813 #include <stdlib.h>
26814 #include <iconv.h>
26815 int
26816 main ()
26817 {
26818 iconv_t cd = iconv_open("","");
26819 iconv(cd,NULL,NULL,NULL,NULL);
26820 iconv_close(cd);
26821 ;
26822 return 0;
26823 }
26824 _ACEOF
26825 rm -f conftest.$ac_objext conftest$ac_exeext
26826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26827 (eval $ac_link) 2>&5
26828 ac_status=$?
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); } &&
26831 { ac_try='test -s conftest$ac_exeext'
26832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833 (eval $ac_try) 2>&5
26834 ac_status=$?
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); }; }; then
26837 am_cv_lib_iconv=yes
26838 am_cv_func_iconv=yes
26839 else
26840 echo "$as_me: failed program was:" >&5
26841 sed 's/^/| /' conftest.$ac_ext >&5
26842
26843 fi
26844 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26845 LIBS="$am_save_LIBS"
26846 fi
26847
26848 fi
26849 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26850 echo "${ECHO_T}$am_cv_func_iconv" >&6
26851 if test "$am_cv_func_iconv" = yes; then
26852
26853 cat >>confdefs.h <<\_ACEOF
26854 #define HAVE_ICONV 1
26855 _ACEOF
26856
26857 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26858 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26859 if test "${wx_cv_func_iconv_const+set}" = set; then
26860 echo $ECHO_N "(cached) $ECHO_C" >&6
26861 else
26862 cat >conftest.$ac_ext <<_ACEOF
26863 #line $LINENO "configure"
26864 /* confdefs.h. */
26865 _ACEOF
26866 cat confdefs.h >>conftest.$ac_ext
26867 cat >>conftest.$ac_ext <<_ACEOF
26868 /* end confdefs.h. */
26869
26870 #include <stdlib.h>
26871 #include <iconv.h>
26872 extern
26873 #ifdef __cplusplus
26874 "C"
26875 #endif
26876 #if defined(__STDC__) || defined(__cplusplus)
26877 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26878 #else
26879 size_t iconv();
26880 #endif
26881
26882 int
26883 main ()
26884 {
26885
26886 ;
26887 return 0;
26888 }
26889 _ACEOF
26890 rm -f conftest.$ac_objext
26891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26892 (eval $ac_compile) 2>&5
26893 ac_status=$?
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } &&
26896 { ac_try='test -s conftest.$ac_objext'
26897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26898 (eval $ac_try) 2>&5
26899 ac_status=$?
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); }; }; then
26902 wx_cv_func_iconv_const="no"
26903 else
26904 echo "$as_me: failed program was:" >&5
26905 sed 's/^/| /' conftest.$ac_ext >&5
26906
26907 wx_cv_func_iconv_const="yes"
26908
26909 fi
26910 rm -f conftest.$ac_objext conftest.$ac_ext
26911
26912 fi
26913 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26914 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26915
26916 iconv_const=
26917 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26918 iconv_const="const"
26919 fi
26920
26921
26922 cat >>confdefs.h <<_ACEOF
26923 #define ICONV_CONST $iconv_const
26924 _ACEOF
26925
26926 fi
26927 LIBICONV=
26928 if test "$am_cv_lib_iconv" = yes; then
26929 LIBICONV="-liconv"
26930 fi
26931
26932
26933 LIBS="$LIBICONV $LIBS"
26934 ac_ext=c
26935 ac_cpp='$CPP $CPPFLAGS'
26936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26939
26940
26941 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26942
26943 for ac_func in sigaction
26944 do
26945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26946 echo "$as_me:$LINENO: checking for $ac_func" >&5
26947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26948 if eval "test \"\${$as_ac_var+set}\" = set"; then
26949 echo $ECHO_N "(cached) $ECHO_C" >&6
26950 else
26951 cat >conftest.$ac_ext <<_ACEOF
26952 #line $LINENO "configure"
26953 /* confdefs.h. */
26954 _ACEOF
26955 cat confdefs.h >>conftest.$ac_ext
26956 cat >>conftest.$ac_ext <<_ACEOF
26957 /* end confdefs.h. */
26958 /* System header to define __stub macros and hopefully few prototypes,
26959 which can conflict with char $ac_func (); below.
26960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26961 <limits.h> exists even on freestanding compilers. */
26962 #ifdef __STDC__
26963 # include <limits.h>
26964 #else
26965 # include <assert.h>
26966 #endif
26967 /* Override any gcc2 internal prototype to avoid an error. */
26968 #ifdef __cplusplus
26969 extern "C"
26970 {
26971 #endif
26972 /* We use char because int might match the return type of a gcc2
26973 builtin and then its argument prototype would still apply. */
26974 char $ac_func ();
26975 /* The GNU C library defines this for functions which it implements
26976 to always fail with ENOSYS. Some functions are actually named
26977 something starting with __ and the normal name is an alias. */
26978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26979 choke me
26980 #else
26981 char (*f) () = $ac_func;
26982 #endif
26983 #ifdef __cplusplus
26984 }
26985 #endif
26986
26987 int
26988 main ()
26989 {
26990 return f != $ac_func;
26991 ;
26992 return 0;
26993 }
26994 _ACEOF
26995 rm -f conftest.$ac_objext conftest$ac_exeext
26996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26997 (eval $ac_link) 2>&5
26998 ac_status=$?
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); } &&
27001 { ac_try='test -s conftest$ac_exeext'
27002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27003 (eval $ac_try) 2>&5
27004 ac_status=$?
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); }; }; then
27007 eval "$as_ac_var=yes"
27008 else
27009 echo "$as_me: failed program was:" >&5
27010 sed 's/^/| /' conftest.$ac_ext >&5
27011
27012 eval "$as_ac_var=no"
27013 fi
27014 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27015 fi
27016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27018 if test `eval echo '${'$as_ac_var'}'` = yes; then
27019 cat >>confdefs.h <<_ACEOF
27020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27021 _ACEOF
27022
27023 fi
27024 done
27025
27026
27027 if test "$ac_cv_func_sigaction" = "no"; then
27028 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27029 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27030 wxUSE_ON_FATAL_EXCEPTION=no
27031 fi
27032
27033 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27034
27035
27036 ac_ext=cc
27037 ac_cpp='$CXXCPP $CPPFLAGS'
27038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27041
27042
27043 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27044 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27045 if test "${wx_cv_type_sa_handler+set}" = set; then
27046 echo $ECHO_N "(cached) $ECHO_C" >&6
27047 else
27048
27049 cat >conftest.$ac_ext <<_ACEOF
27050 #line $LINENO "configure"
27051 /* confdefs.h. */
27052 _ACEOF
27053 cat confdefs.h >>conftest.$ac_ext
27054 cat >>conftest.$ac_ext <<_ACEOF
27055 /* end confdefs.h. */
27056 #include <signal.h>
27057 int
27058 main ()
27059 {
27060
27061 extern void testSigHandler(int);
27062
27063 struct sigaction sa;
27064 sa.sa_handler = testSigHandler;
27065
27066 ;
27067 return 0;
27068 }
27069 _ACEOF
27070 rm -f conftest.$ac_objext
27071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27072 (eval $ac_compile) 2>&5
27073 ac_status=$?
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); } &&
27076 { ac_try='test -s conftest.$ac_objext'
27077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27078 (eval $ac_try) 2>&5
27079 ac_status=$?
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); }; }; then
27082
27083 wx_cv_type_sa_handler=int
27084
27085 else
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.$ac_ext >&5
27088
27089
27090 wx_cv_type_sa_handler=void
27091
27092 fi
27093 rm -f conftest.$ac_objext conftest.$ac_ext
27094
27095 fi
27096 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27097 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27098
27099 ac_ext=c
27100 ac_cpp='$CPP $CPPFLAGS'
27101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27104
27105
27106 cat >>confdefs.h <<_ACEOF
27107 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27108 _ACEOF
27109
27110 fi
27111 fi
27112
27113
27114
27115 for ac_func in mkstemp mktemp
27116 do
27117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27118 echo "$as_me:$LINENO: checking for $ac_func" >&5
27119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27120 if eval "test \"\${$as_ac_var+set}\" = set"; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27122 else
27123 cat >conftest.$ac_ext <<_ACEOF
27124 #line $LINENO "configure"
27125 /* confdefs.h. */
27126 _ACEOF
27127 cat confdefs.h >>conftest.$ac_ext
27128 cat >>conftest.$ac_ext <<_ACEOF
27129 /* end confdefs.h. */
27130 /* System header to define __stub macros and hopefully few prototypes,
27131 which can conflict with char $ac_func (); below.
27132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27133 <limits.h> exists even on freestanding compilers. */
27134 #ifdef __STDC__
27135 # include <limits.h>
27136 #else
27137 # include <assert.h>
27138 #endif
27139 /* Override any gcc2 internal prototype to avoid an error. */
27140 #ifdef __cplusplus
27141 extern "C"
27142 {
27143 #endif
27144 /* We use char because int might match the return type of a gcc2
27145 builtin and then its argument prototype would still apply. */
27146 char $ac_func ();
27147 /* The GNU C library defines this for functions which it implements
27148 to always fail with ENOSYS. Some functions are actually named
27149 something starting with __ and the normal name is an alias. */
27150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27151 choke me
27152 #else
27153 char (*f) () = $ac_func;
27154 #endif
27155 #ifdef __cplusplus
27156 }
27157 #endif
27158
27159 int
27160 main ()
27161 {
27162 return f != $ac_func;
27163 ;
27164 return 0;
27165 }
27166 _ACEOF
27167 rm -f conftest.$ac_objext conftest$ac_exeext
27168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27169 (eval $ac_link) 2>&5
27170 ac_status=$?
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); } &&
27173 { ac_try='test -s conftest$ac_exeext'
27174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27175 (eval $ac_try) 2>&5
27176 ac_status=$?
27177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178 (exit $ac_status); }; }; then
27179 eval "$as_ac_var=yes"
27180 else
27181 echo "$as_me: failed program was:" >&5
27182 sed 's/^/| /' conftest.$ac_ext >&5
27183
27184 eval "$as_ac_var=no"
27185 fi
27186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27187 fi
27188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27190 if test `eval echo '${'$as_ac_var'}'` = yes; then
27191 cat >>confdefs.h <<_ACEOF
27192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27193 _ACEOF
27194 break
27195 fi
27196 done
27197
27198
27199 echo "$as_me:$LINENO: checking for statfs" >&5
27200 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27201 if test "${wx_cv_func_statfs+set}" = set; then
27202 echo $ECHO_N "(cached) $ECHO_C" >&6
27203 else
27204 cat >conftest.$ac_ext <<_ACEOF
27205 #line $LINENO "configure"
27206 /* confdefs.h. */
27207 _ACEOF
27208 cat confdefs.h >>conftest.$ac_ext
27209 cat >>conftest.$ac_ext <<_ACEOF
27210 /* end confdefs.h. */
27211
27212 #if defined(__BSD__)
27213 #include <sys/param.h>
27214 #include <sys/mount.h>
27215 #else
27216 #include <sys/vfs.h>
27217 #endif
27218
27219 int
27220 main ()
27221 {
27222
27223 long l;
27224 struct statfs fs;
27225 statfs("/", &fs);
27226 l = fs.f_bsize;
27227 l += fs.f_blocks;
27228 l += fs.f_bavail;
27229
27230 ;
27231 return 0;
27232 }
27233 _ACEOF
27234 rm -f conftest.$ac_objext
27235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27236 (eval $ac_compile) 2>&5
27237 ac_status=$?
27238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27239 (exit $ac_status); } &&
27240 { ac_try='test -s conftest.$ac_objext'
27241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27242 (eval $ac_try) 2>&5
27243 ac_status=$?
27244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27245 (exit $ac_status); }; }; then
27246
27247 wx_cv_func_statfs=yes
27248
27249 else
27250 echo "$as_me: failed program was:" >&5
27251 sed 's/^/| /' conftest.$ac_ext >&5
27252
27253
27254 wx_cv_func_statfs=no
27255
27256
27257 fi
27258 rm -f conftest.$ac_objext conftest.$ac_ext
27259
27260 fi
27261 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27262 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27263
27264 if test "$wx_cv_func_statfs" = "yes"; then
27265 wx_cv_type_statvfs_t="struct statfs"
27266 cat >>confdefs.h <<\_ACEOF
27267 #define HAVE_STATFS 1
27268 _ACEOF
27269
27270 else
27271 echo "$as_me:$LINENO: checking for statvfs" >&5
27272 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27273 if test "${wx_cv_func_statvfs+set}" = set; then
27274 echo $ECHO_N "(cached) $ECHO_C" >&6
27275 else
27276 cat >conftest.$ac_ext <<_ACEOF
27277 #line $LINENO "configure"
27278 /* confdefs.h. */
27279 _ACEOF
27280 cat confdefs.h >>conftest.$ac_ext
27281 cat >>conftest.$ac_ext <<_ACEOF
27282 /* end confdefs.h. */
27283
27284 #include <stddef.h>
27285 #include <sys/statvfs.h>
27286
27287 int
27288 main ()
27289 {
27290
27291 statvfs("/", NULL);
27292
27293 ;
27294 return 0;
27295 }
27296 _ACEOF
27297 rm -f conftest.$ac_objext
27298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27299 (eval $ac_compile) 2>&5
27300 ac_status=$?
27301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302 (exit $ac_status); } &&
27303 { ac_try='test -s conftest.$ac_objext'
27304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27305 (eval $ac_try) 2>&5
27306 ac_status=$?
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); }; }; then
27309 wx_cv_func_statvfs=yes
27310 else
27311 echo "$as_me: failed program was:" >&5
27312 sed 's/^/| /' conftest.$ac_ext >&5
27313
27314 wx_cv_func_statvfs=no
27315
27316 fi
27317 rm -f conftest.$ac_objext conftest.$ac_ext
27318
27319 fi
27320 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27321 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27322
27323 if test "$wx_cv_func_statvfs" = "yes"; then
27324
27325
27326 ac_ext=cc
27327 ac_cpp='$CXXCPP $CPPFLAGS'
27328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27331
27332
27333 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27334 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27335 if test "${wx_cv_type_statvfs_t+set}" = set; then
27336 echo $ECHO_N "(cached) $ECHO_C" >&6
27337 else
27338 cat >conftest.$ac_ext <<_ACEOF
27339 #line $LINENO "configure"
27340 /* confdefs.h. */
27341 _ACEOF
27342 cat confdefs.h >>conftest.$ac_ext
27343 cat >>conftest.$ac_ext <<_ACEOF
27344 /* end confdefs.h. */
27345
27346 #include <sys/statvfs.h>
27347
27348 int
27349 main ()
27350 {
27351
27352 long l;
27353 statvfs_t fs;
27354 statvfs("/", &fs);
27355 l = fs.f_bsize;
27356 l += fs.f_blocks;
27357 l += fs.f_bavail;
27358
27359 ;
27360 return 0;
27361 }
27362 _ACEOF
27363 rm -f conftest.$ac_objext
27364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27365 (eval $ac_compile) 2>&5
27366 ac_status=$?
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); } &&
27369 { ac_try='test -s conftest.$ac_objext'
27370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27371 (eval $ac_try) 2>&5
27372 ac_status=$?
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); }; }; then
27375 wx_cv_type_statvfs_t=statvfs_t
27376 else
27377 echo "$as_me: failed program was:" >&5
27378 sed 's/^/| /' conftest.$ac_ext >&5
27379
27380
27381 cat >conftest.$ac_ext <<_ACEOF
27382 #line $LINENO "configure"
27383 /* confdefs.h. */
27384 _ACEOF
27385 cat confdefs.h >>conftest.$ac_ext
27386 cat >>conftest.$ac_ext <<_ACEOF
27387 /* end confdefs.h. */
27388
27389 #include <sys/statvfs.h>
27390
27391 int
27392 main ()
27393 {
27394
27395 long l;
27396 struct statvfs fs;
27397 statvfs("/", &fs);
27398 l = fs.f_bsize;
27399 l += fs.f_blocks;
27400 l += fs.f_bavail;
27401
27402 ;
27403 return 0;
27404 }
27405 _ACEOF
27406 rm -f conftest.$ac_objext
27407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27408 (eval $ac_compile) 2>&5
27409 ac_status=$?
27410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 (exit $ac_status); } &&
27412 { ac_try='test -s conftest.$ac_objext'
27413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27414 (eval $ac_try) 2>&5
27415 ac_status=$?
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); }; }; then
27418 wx_cv_type_statvfs_t="struct statvfs"
27419 else
27420 echo "$as_me: failed program was:" >&5
27421 sed 's/^/| /' conftest.$ac_ext >&5
27422
27423 wx_cv_type_statvfs_t="unknown"
27424
27425 fi
27426 rm -f conftest.$ac_objext conftest.$ac_ext
27427
27428
27429 fi
27430 rm -f conftest.$ac_objext conftest.$ac_ext
27431
27432 fi
27433 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27434 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27435
27436 ac_ext=c
27437 ac_cpp='$CPP $CPPFLAGS'
27438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27441
27442
27443 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27444 cat >>confdefs.h <<\_ACEOF
27445 #define HAVE_STATVFS 1
27446 _ACEOF
27447
27448 fi
27449 else
27450 wx_cv_type_statvfs_t="unknown"
27451 fi
27452 fi
27453
27454 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27455 cat >>confdefs.h <<_ACEOF
27456 #define WX_STATFS_T $wx_cv_type_statvfs_t
27457 _ACEOF
27458
27459 else
27460 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27461 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27462 fi
27463
27464 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27465
27466
27467 for ac_func in fcntl flock
27468 do
27469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27470 echo "$as_me:$LINENO: checking for $ac_func" >&5
27471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27472 if eval "test \"\${$as_ac_var+set}\" = set"; then
27473 echo $ECHO_N "(cached) $ECHO_C" >&6
27474 else
27475 cat >conftest.$ac_ext <<_ACEOF
27476 #line $LINENO "configure"
27477 /* confdefs.h. */
27478 _ACEOF
27479 cat confdefs.h >>conftest.$ac_ext
27480 cat >>conftest.$ac_ext <<_ACEOF
27481 /* end confdefs.h. */
27482 /* System header to define __stub macros and hopefully few prototypes,
27483 which can conflict with char $ac_func (); below.
27484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27485 <limits.h> exists even on freestanding compilers. */
27486 #ifdef __STDC__
27487 # include <limits.h>
27488 #else
27489 # include <assert.h>
27490 #endif
27491 /* Override any gcc2 internal prototype to avoid an error. */
27492 #ifdef __cplusplus
27493 extern "C"
27494 {
27495 #endif
27496 /* We use char because int might match the return type of a gcc2
27497 builtin and then its argument prototype would still apply. */
27498 char $ac_func ();
27499 /* The GNU C library defines this for functions which it implements
27500 to always fail with ENOSYS. Some functions are actually named
27501 something starting with __ and the normal name is an alias. */
27502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27503 choke me
27504 #else
27505 char (*f) () = $ac_func;
27506 #endif
27507 #ifdef __cplusplus
27508 }
27509 #endif
27510
27511 int
27512 main ()
27513 {
27514 return f != $ac_func;
27515 ;
27516 return 0;
27517 }
27518 _ACEOF
27519 rm -f conftest.$ac_objext conftest$ac_exeext
27520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27521 (eval $ac_link) 2>&5
27522 ac_status=$?
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); } &&
27525 { ac_try='test -s conftest$ac_exeext'
27526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27527 (eval $ac_try) 2>&5
27528 ac_status=$?
27529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27530 (exit $ac_status); }; }; then
27531 eval "$as_ac_var=yes"
27532 else
27533 echo "$as_me: failed program was:" >&5
27534 sed 's/^/| /' conftest.$ac_ext >&5
27535
27536 eval "$as_ac_var=no"
27537 fi
27538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27539 fi
27540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27542 if test `eval echo '${'$as_ac_var'}'` = yes; then
27543 cat >>confdefs.h <<_ACEOF
27544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27545 _ACEOF
27546 break
27547 fi
27548 done
27549
27550
27551 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27552 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27553 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27554 wxUSE_SNGLINST_CHECKER=no
27555 fi
27556 fi
27557
27558
27559 for ac_func in timegm
27560 do
27561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27562 echo "$as_me:$LINENO: checking for $ac_func" >&5
27563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27564 if eval "test \"\${$as_ac_var+set}\" = set"; then
27565 echo $ECHO_N "(cached) $ECHO_C" >&6
27566 else
27567 cat >conftest.$ac_ext <<_ACEOF
27568 #line $LINENO "configure"
27569 /* confdefs.h. */
27570 _ACEOF
27571 cat confdefs.h >>conftest.$ac_ext
27572 cat >>conftest.$ac_ext <<_ACEOF
27573 /* end confdefs.h. */
27574 /* System header to define __stub macros and hopefully few prototypes,
27575 which can conflict with char $ac_func (); below.
27576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27577 <limits.h> exists even on freestanding compilers. */
27578 #ifdef __STDC__
27579 # include <limits.h>
27580 #else
27581 # include <assert.h>
27582 #endif
27583 /* Override any gcc2 internal prototype to avoid an error. */
27584 #ifdef __cplusplus
27585 extern "C"
27586 {
27587 #endif
27588 /* We use char because int might match the return type of a gcc2
27589 builtin and then its argument prototype would still apply. */
27590 char $ac_func ();
27591 /* The GNU C library defines this for functions which it implements
27592 to always fail with ENOSYS. Some functions are actually named
27593 something starting with __ and the normal name is an alias. */
27594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27595 choke me
27596 #else
27597 char (*f) () = $ac_func;
27598 #endif
27599 #ifdef __cplusplus
27600 }
27601 #endif
27602
27603 int
27604 main ()
27605 {
27606 return f != $ac_func;
27607 ;
27608 return 0;
27609 }
27610 _ACEOF
27611 rm -f conftest.$ac_objext conftest$ac_exeext
27612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27613 (eval $ac_link) 2>&5
27614 ac_status=$?
27615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27616 (exit $ac_status); } &&
27617 { ac_try='test -s conftest$ac_exeext'
27618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27619 (eval $ac_try) 2>&5
27620 ac_status=$?
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); }; }; then
27623 eval "$as_ac_var=yes"
27624 else
27625 echo "$as_me: failed program was:" >&5
27626 sed 's/^/| /' conftest.$ac_ext >&5
27627
27628 eval "$as_ac_var=no"
27629 fi
27630 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27631 fi
27632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27634 if test `eval echo '${'$as_ac_var'}'` = yes; then
27635 cat >>confdefs.h <<_ACEOF
27636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27637 _ACEOF
27638
27639 fi
27640 done
27641
27642
27643
27644
27645 for ac_func in putenv setenv
27646 do
27647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27648 echo "$as_me:$LINENO: checking for $ac_func" >&5
27649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27650 if eval "test \"\${$as_ac_var+set}\" = set"; then
27651 echo $ECHO_N "(cached) $ECHO_C" >&6
27652 else
27653 cat >conftest.$ac_ext <<_ACEOF
27654 #line $LINENO "configure"
27655 /* confdefs.h. */
27656 _ACEOF
27657 cat confdefs.h >>conftest.$ac_ext
27658 cat >>conftest.$ac_ext <<_ACEOF
27659 /* end confdefs.h. */
27660 /* System header to define __stub macros and hopefully few prototypes,
27661 which can conflict with char $ac_func (); below.
27662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27663 <limits.h> exists even on freestanding compilers. */
27664 #ifdef __STDC__
27665 # include <limits.h>
27666 #else
27667 # include <assert.h>
27668 #endif
27669 /* Override any gcc2 internal prototype to avoid an error. */
27670 #ifdef __cplusplus
27671 extern "C"
27672 {
27673 #endif
27674 /* We use char because int might match the return type of a gcc2
27675 builtin and then its argument prototype would still apply. */
27676 char $ac_func ();
27677 /* The GNU C library defines this for functions which it implements
27678 to always fail with ENOSYS. Some functions are actually named
27679 something starting with __ and the normal name is an alias. */
27680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27681 choke me
27682 #else
27683 char (*f) () = $ac_func;
27684 #endif
27685 #ifdef __cplusplus
27686 }
27687 #endif
27688
27689 int
27690 main ()
27691 {
27692 return f != $ac_func;
27693 ;
27694 return 0;
27695 }
27696 _ACEOF
27697 rm -f conftest.$ac_objext conftest$ac_exeext
27698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27699 (eval $ac_link) 2>&5
27700 ac_status=$?
27701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702 (exit $ac_status); } &&
27703 { ac_try='test -s conftest$ac_exeext'
27704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27705 (eval $ac_try) 2>&5
27706 ac_status=$?
27707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708 (exit $ac_status); }; }; then
27709 eval "$as_ac_var=yes"
27710 else
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.$ac_ext >&5
27713
27714 eval "$as_ac_var=no"
27715 fi
27716 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27717 fi
27718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27720 if test `eval echo '${'$as_ac_var'}'` = yes; then
27721 cat >>confdefs.h <<_ACEOF
27722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27723 _ACEOF
27724 break
27725 fi
27726 done
27727
27728
27729 HAVE_SOME_SLEEP_FUNC=0
27730 if test "$USE_BEOS" = 1; then
27731 cat >>confdefs.h <<\_ACEOF
27732 #define HAVE_SLEEP 1
27733 _ACEOF
27734
27735 HAVE_SOME_SLEEP_FUNC=1
27736 fi
27737
27738 if test "$USE_DARWIN" = 1; then
27739 cat >>confdefs.h <<\_ACEOF
27740 #define HAVE_USLEEP 1
27741 _ACEOF
27742
27743 HAVE_SOME_SLEEP_FUNC=1
27744 fi
27745
27746 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27747 POSIX4_LINK=
27748
27749 for ac_func in nanosleep
27750 do
27751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27752 echo "$as_me:$LINENO: checking for $ac_func" >&5
27753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27754 if eval "test \"\${$as_ac_var+set}\" = set"; then
27755 echo $ECHO_N "(cached) $ECHO_C" >&6
27756 else
27757 cat >conftest.$ac_ext <<_ACEOF
27758 #line $LINENO "configure"
27759 /* confdefs.h. */
27760 _ACEOF
27761 cat confdefs.h >>conftest.$ac_ext
27762 cat >>conftest.$ac_ext <<_ACEOF
27763 /* end confdefs.h. */
27764 /* System header to define __stub macros and hopefully few prototypes,
27765 which can conflict with char $ac_func (); below.
27766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27767 <limits.h> exists even on freestanding compilers. */
27768 #ifdef __STDC__
27769 # include <limits.h>
27770 #else
27771 # include <assert.h>
27772 #endif
27773 /* Override any gcc2 internal prototype to avoid an error. */
27774 #ifdef __cplusplus
27775 extern "C"
27776 {
27777 #endif
27778 /* We use char because int might match the return type of a gcc2
27779 builtin and then its argument prototype would still apply. */
27780 char $ac_func ();
27781 /* The GNU C library defines this for functions which it implements
27782 to always fail with ENOSYS. Some functions are actually named
27783 something starting with __ and the normal name is an alias. */
27784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27785 choke me
27786 #else
27787 char (*f) () = $ac_func;
27788 #endif
27789 #ifdef __cplusplus
27790 }
27791 #endif
27792
27793 int
27794 main ()
27795 {
27796 return f != $ac_func;
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 eval "$as_ac_var=yes"
27814 else
27815 echo "$as_me: failed program was:" >&5
27816 sed 's/^/| /' conftest.$ac_ext >&5
27817
27818 eval "$as_ac_var=no"
27819 fi
27820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27821 fi
27822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27824 if test `eval echo '${'$as_ac_var'}'` = yes; then
27825 cat >>confdefs.h <<_ACEOF
27826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27827 _ACEOF
27828 cat >>confdefs.h <<\_ACEOF
27829 #define HAVE_NANOSLEEP 1
27830 _ACEOF
27831
27832 else
27833
27834 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27835 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27836 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27837 echo $ECHO_N "(cached) $ECHO_C" >&6
27838 else
27839 ac_check_lib_save_LIBS=$LIBS
27840 LIBS="-lposix4 $LIBS"
27841 cat >conftest.$ac_ext <<_ACEOF
27842 #line $LINENO "configure"
27843 /* confdefs.h. */
27844 _ACEOF
27845 cat confdefs.h >>conftest.$ac_ext
27846 cat >>conftest.$ac_ext <<_ACEOF
27847 /* end confdefs.h. */
27848
27849 /* Override any gcc2 internal prototype to avoid an error. */
27850 #ifdef __cplusplus
27851 extern "C"
27852 #endif
27853 /* We use char because int might match the return type of a gcc2
27854 builtin and then its argument prototype would still apply. */
27855 char nanosleep ();
27856 int
27857 main ()
27858 {
27859 nanosleep ();
27860 ;
27861 return 0;
27862 }
27863 _ACEOF
27864 rm -f conftest.$ac_objext conftest$ac_exeext
27865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27866 (eval $ac_link) 2>&5
27867 ac_status=$?
27868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27869 (exit $ac_status); } &&
27870 { ac_try='test -s conftest$ac_exeext'
27871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27872 (eval $ac_try) 2>&5
27873 ac_status=$?
27874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27875 (exit $ac_status); }; }; then
27876 ac_cv_lib_posix4_nanosleep=yes
27877 else
27878 echo "$as_me: failed program was:" >&5
27879 sed 's/^/| /' conftest.$ac_ext >&5
27880
27881 ac_cv_lib_posix4_nanosleep=no
27882 fi
27883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27884 LIBS=$ac_check_lib_save_LIBS
27885 fi
27886 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27887 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27888 if test $ac_cv_lib_posix4_nanosleep = yes; then
27889
27890 cat >>confdefs.h <<\_ACEOF
27891 #define HAVE_NANOSLEEP 1
27892 _ACEOF
27893
27894 POSIX4_LINK=" -lposix4"
27895
27896 else
27897
27898
27899 for ac_func in usleep
27900 do
27901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27902 echo "$as_me:$LINENO: checking for $ac_func" >&5
27903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27904 if eval "test \"\${$as_ac_var+set}\" = set"; then
27905 echo $ECHO_N "(cached) $ECHO_C" >&6
27906 else
27907 cat >conftest.$ac_ext <<_ACEOF
27908 #line $LINENO "configure"
27909 /* confdefs.h. */
27910 _ACEOF
27911 cat confdefs.h >>conftest.$ac_ext
27912 cat >>conftest.$ac_ext <<_ACEOF
27913 /* end confdefs.h. */
27914 /* System header to define __stub macros and hopefully few prototypes,
27915 which can conflict with char $ac_func (); below.
27916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27917 <limits.h> exists even on freestanding compilers. */
27918 #ifdef __STDC__
27919 # include <limits.h>
27920 #else
27921 # include <assert.h>
27922 #endif
27923 /* Override any gcc2 internal prototype to avoid an error. */
27924 #ifdef __cplusplus
27925 extern "C"
27926 {
27927 #endif
27928 /* We use char because int might match the return type of a gcc2
27929 builtin and then its argument prototype would still apply. */
27930 char $ac_func ();
27931 /* The GNU C library defines this for functions which it implements
27932 to always fail with ENOSYS. Some functions are actually named
27933 something starting with __ and the normal name is an alias. */
27934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27935 choke me
27936 #else
27937 char (*f) () = $ac_func;
27938 #endif
27939 #ifdef __cplusplus
27940 }
27941 #endif
27942
27943 int
27944 main ()
27945 {
27946 return f != $ac_func;
27947 ;
27948 return 0;
27949 }
27950 _ACEOF
27951 rm -f conftest.$ac_objext conftest$ac_exeext
27952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27953 (eval $ac_link) 2>&5
27954 ac_status=$?
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } &&
27957 { ac_try='test -s conftest$ac_exeext'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27960 ac_status=$?
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; }; then
27963 eval "$as_ac_var=yes"
27964 else
27965 echo "$as_me: failed program was:" >&5
27966 sed 's/^/| /' conftest.$ac_ext >&5
27967
27968 eval "$as_ac_var=no"
27969 fi
27970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27971 fi
27972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27974 if test `eval echo '${'$as_ac_var'}'` = yes; then
27975 cat >>confdefs.h <<_ACEOF
27976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27977 _ACEOF
27978 cat >>confdefs.h <<\_ACEOF
27979 #define HAVE_USLEEP 1
27980 _ACEOF
27981
27982 else
27983 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27984 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27985
27986 fi
27987 done
27988
27989
27990
27991 fi
27992
27993
27994
27995 fi
27996 done
27997
27998 fi
27999
28000
28001
28002 for ac_func in uname gethostname
28003 do
28004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28005 echo "$as_me:$LINENO: checking for $ac_func" >&5
28006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28007 if eval "test \"\${$as_ac_var+set}\" = set"; then
28008 echo $ECHO_N "(cached) $ECHO_C" >&6
28009 else
28010 cat >conftest.$ac_ext <<_ACEOF
28011 #line $LINENO "configure"
28012 /* confdefs.h. */
28013 _ACEOF
28014 cat confdefs.h >>conftest.$ac_ext
28015 cat >>conftest.$ac_ext <<_ACEOF
28016 /* end confdefs.h. */
28017 /* System header to define __stub macros and hopefully few prototypes,
28018 which can conflict with char $ac_func (); below.
28019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28020 <limits.h> exists even on freestanding compilers. */
28021 #ifdef __STDC__
28022 # include <limits.h>
28023 #else
28024 # include <assert.h>
28025 #endif
28026 /* Override any gcc2 internal prototype to avoid an error. */
28027 #ifdef __cplusplus
28028 extern "C"
28029 {
28030 #endif
28031 /* We use char because int might match the return type of a gcc2
28032 builtin and then its argument prototype would still apply. */
28033 char $ac_func ();
28034 /* The GNU C library defines this for functions which it implements
28035 to always fail with ENOSYS. Some functions are actually named
28036 something starting with __ and the normal name is an alias. */
28037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28038 choke me
28039 #else
28040 char (*f) () = $ac_func;
28041 #endif
28042 #ifdef __cplusplus
28043 }
28044 #endif
28045
28046 int
28047 main ()
28048 {
28049 return f != $ac_func;
28050 ;
28051 return 0;
28052 }
28053 _ACEOF
28054 rm -f conftest.$ac_objext conftest$ac_exeext
28055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28056 (eval $ac_link) 2>&5
28057 ac_status=$?
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); } &&
28060 { ac_try='test -s conftest$ac_exeext'
28061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28062 (eval $ac_try) 2>&5
28063 ac_status=$?
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); }; }; then
28066 eval "$as_ac_var=yes"
28067 else
28068 echo "$as_me: failed program was:" >&5
28069 sed 's/^/| /' conftest.$ac_ext >&5
28070
28071 eval "$as_ac_var=no"
28072 fi
28073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28074 fi
28075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28077 if test `eval echo '${'$as_ac_var'}'` = yes; then
28078 cat >>confdefs.h <<_ACEOF
28079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28080 _ACEOF
28081 break
28082 fi
28083 done
28084
28085
28086
28087
28088 ac_ext=cc
28089 ac_cpp='$CXXCPP $CPPFLAGS'
28090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28093
28094
28095
28096 for ac_func in strtok_r
28097 do
28098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28099 echo "$as_me:$LINENO: checking for $ac_func" >&5
28100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28101 if eval "test \"\${$as_ac_var+set}\" = set"; then
28102 echo $ECHO_N "(cached) $ECHO_C" >&6
28103 else
28104 cat >conftest.$ac_ext <<_ACEOF
28105 #line $LINENO "configure"
28106 /* confdefs.h. */
28107 _ACEOF
28108 cat confdefs.h >>conftest.$ac_ext
28109 cat >>conftest.$ac_ext <<_ACEOF
28110 /* end confdefs.h. */
28111 /* System header to define __stub macros and hopefully few prototypes,
28112 which can conflict with char $ac_func (); below.
28113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28114 <limits.h> exists even on freestanding compilers. */
28115 #ifdef __STDC__
28116 # include <limits.h>
28117 #else
28118 # include <assert.h>
28119 #endif
28120 /* Override any gcc2 internal prototype to avoid an error. */
28121 #ifdef __cplusplus
28122 extern "C"
28123 {
28124 #endif
28125 /* We use char because int might match the return type of a gcc2
28126 builtin and then its argument prototype would still apply. */
28127 char $ac_func ();
28128 /* The GNU C library defines this for functions which it implements
28129 to always fail with ENOSYS. Some functions are actually named
28130 something starting with __ and the normal name is an alias. */
28131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28132 choke me
28133 #else
28134 char (*f) () = $ac_func;
28135 #endif
28136 #ifdef __cplusplus
28137 }
28138 #endif
28139
28140 int
28141 main ()
28142 {
28143 return f != $ac_func;
28144 ;
28145 return 0;
28146 }
28147 _ACEOF
28148 rm -f conftest.$ac_objext conftest$ac_exeext
28149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28150 (eval $ac_link) 2>&5
28151 ac_status=$?
28152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28153 (exit $ac_status); } &&
28154 { ac_try='test -s conftest$ac_exeext'
28155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28156 (eval $ac_try) 2>&5
28157 ac_status=$?
28158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159 (exit $ac_status); }; }; then
28160 eval "$as_ac_var=yes"
28161 else
28162 echo "$as_me: failed program was:" >&5
28163 sed 's/^/| /' conftest.$ac_ext >&5
28164
28165 eval "$as_ac_var=no"
28166 fi
28167 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28168 fi
28169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28171 if test `eval echo '${'$as_ac_var'}'` = yes; then
28172 cat >>confdefs.h <<_ACEOF
28173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28174 _ACEOF
28175
28176 fi
28177 done
28178
28179
28180 ac_ext=c
28181 ac_cpp='$CPP $CPPFLAGS'
28182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28185
28186
28187 INET_LINK=
28188
28189 for ac_func in inet_addr
28190 do
28191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28192 echo "$as_me:$LINENO: checking for $ac_func" >&5
28193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28194 if eval "test \"\${$as_ac_var+set}\" = set"; then
28195 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 else
28197 cat >conftest.$ac_ext <<_ACEOF
28198 #line $LINENO "configure"
28199 /* confdefs.h. */
28200 _ACEOF
28201 cat confdefs.h >>conftest.$ac_ext
28202 cat >>conftest.$ac_ext <<_ACEOF
28203 /* end confdefs.h. */
28204 /* System header to define __stub macros and hopefully few prototypes,
28205 which can conflict with char $ac_func (); below.
28206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28207 <limits.h> exists even on freestanding compilers. */
28208 #ifdef __STDC__
28209 # include <limits.h>
28210 #else
28211 # include <assert.h>
28212 #endif
28213 /* Override any gcc2 internal prototype to avoid an error. */
28214 #ifdef __cplusplus
28215 extern "C"
28216 {
28217 #endif
28218 /* We use char because int might match the return type of a gcc2
28219 builtin and then its argument prototype would still apply. */
28220 char $ac_func ();
28221 /* The GNU C library defines this for functions which it implements
28222 to always fail with ENOSYS. Some functions are actually named
28223 something starting with __ and the normal name is an alias. */
28224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28225 choke me
28226 #else
28227 char (*f) () = $ac_func;
28228 #endif
28229 #ifdef __cplusplus
28230 }
28231 #endif
28232
28233 int
28234 main ()
28235 {
28236 return f != $ac_func;
28237 ;
28238 return 0;
28239 }
28240 _ACEOF
28241 rm -f conftest.$ac_objext conftest$ac_exeext
28242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28243 (eval $ac_link) 2>&5
28244 ac_status=$?
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); } &&
28247 { ac_try='test -s conftest$ac_exeext'
28248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28249 (eval $ac_try) 2>&5
28250 ac_status=$?
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); }; }; then
28253 eval "$as_ac_var=yes"
28254 else
28255 echo "$as_me: failed program was:" >&5
28256 sed 's/^/| /' conftest.$ac_ext >&5
28257
28258 eval "$as_ac_var=no"
28259 fi
28260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28261 fi
28262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28264 if test `eval echo '${'$as_ac_var'}'` = yes; then
28265 cat >>confdefs.h <<_ACEOF
28266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28267 _ACEOF
28268 cat >>confdefs.h <<\_ACEOF
28269 #define HAVE_INET_ADDR 1
28270 _ACEOF
28271
28272 else
28273
28274 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28275 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28276 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28277 echo $ECHO_N "(cached) $ECHO_C" >&6
28278 else
28279 ac_check_lib_save_LIBS=$LIBS
28280 LIBS="-lnsl $LIBS"
28281 cat >conftest.$ac_ext <<_ACEOF
28282 #line $LINENO "configure"
28283 /* confdefs.h. */
28284 _ACEOF
28285 cat confdefs.h >>conftest.$ac_ext
28286 cat >>conftest.$ac_ext <<_ACEOF
28287 /* end confdefs.h. */
28288
28289 /* Override any gcc2 internal prototype to avoid an error. */
28290 #ifdef __cplusplus
28291 extern "C"
28292 #endif
28293 /* We use char because int might match the return type of a gcc2
28294 builtin and then its argument prototype would still apply. */
28295 char inet_addr ();
28296 int
28297 main ()
28298 {
28299 inet_addr ();
28300 ;
28301 return 0;
28302 }
28303 _ACEOF
28304 rm -f conftest.$ac_objext conftest$ac_exeext
28305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28306 (eval $ac_link) 2>&5
28307 ac_status=$?
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); } &&
28310 { ac_try='test -s conftest$ac_exeext'
28311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312 (eval $ac_try) 2>&5
28313 ac_status=$?
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); }; }; then
28316 ac_cv_lib_nsl_inet_addr=yes
28317 else
28318 echo "$as_me: failed program was:" >&5
28319 sed 's/^/| /' conftest.$ac_ext >&5
28320
28321 ac_cv_lib_nsl_inet_addr=no
28322 fi
28323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28324 LIBS=$ac_check_lib_save_LIBS
28325 fi
28326 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28327 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28328 if test $ac_cv_lib_nsl_inet_addr = yes; then
28329 INET_LINK="nsl"
28330 else
28331 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28332 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28333 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28334 echo $ECHO_N "(cached) $ECHO_C" >&6
28335 else
28336 ac_check_lib_save_LIBS=$LIBS
28337 LIBS="-lresolv $LIBS"
28338 cat >conftest.$ac_ext <<_ACEOF
28339 #line $LINENO "configure"
28340 /* confdefs.h. */
28341 _ACEOF
28342 cat confdefs.h >>conftest.$ac_ext
28343 cat >>conftest.$ac_ext <<_ACEOF
28344 /* end confdefs.h. */
28345
28346 /* Override any gcc2 internal prototype to avoid an error. */
28347 #ifdef __cplusplus
28348 extern "C"
28349 #endif
28350 /* We use char because int might match the return type of a gcc2
28351 builtin and then its argument prototype would still apply. */
28352 char inet_addr ();
28353 int
28354 main ()
28355 {
28356 inet_addr ();
28357 ;
28358 return 0;
28359 }
28360 _ACEOF
28361 rm -f conftest.$ac_objext conftest$ac_exeext
28362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28363 (eval $ac_link) 2>&5
28364 ac_status=$?
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); } &&
28367 { ac_try='test -s conftest$ac_exeext'
28368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28369 (eval $ac_try) 2>&5
28370 ac_status=$?
28371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372 (exit $ac_status); }; }; then
28373 ac_cv_lib_resolv_inet_addr=yes
28374 else
28375 echo "$as_me: failed program was:" >&5
28376 sed 's/^/| /' conftest.$ac_ext >&5
28377
28378 ac_cv_lib_resolv_inet_addr=no
28379 fi
28380 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28381 LIBS=$ac_check_lib_save_LIBS
28382 fi
28383 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28384 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28385 if test $ac_cv_lib_resolv_inet_addr = yes; then
28386 INET_LINK="resolv"
28387 else
28388 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28389 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28390 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28391 echo $ECHO_N "(cached) $ECHO_C" >&6
28392 else
28393 ac_check_lib_save_LIBS=$LIBS
28394 LIBS="-lsocket $LIBS"
28395 cat >conftest.$ac_ext <<_ACEOF
28396 #line $LINENO "configure"
28397 /* confdefs.h. */
28398 _ACEOF
28399 cat confdefs.h >>conftest.$ac_ext
28400 cat >>conftest.$ac_ext <<_ACEOF
28401 /* end confdefs.h. */
28402
28403 /* Override any gcc2 internal prototype to avoid an error. */
28404 #ifdef __cplusplus
28405 extern "C"
28406 #endif
28407 /* We use char because int might match the return type of a gcc2
28408 builtin and then its argument prototype would still apply. */
28409 char inet_addr ();
28410 int
28411 main ()
28412 {
28413 inet_addr ();
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 ac_cv_lib_socket_inet_addr=yes
28431 else
28432 echo "$as_me: failed program was:" >&5
28433 sed 's/^/| /' conftest.$ac_ext >&5
28434
28435 ac_cv_lib_socket_inet_addr=no
28436 fi
28437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28438 LIBS=$ac_check_lib_save_LIBS
28439 fi
28440 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28441 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28442 if test $ac_cv_lib_socket_inet_addr = yes; then
28443 INET_LINK="socket"
28444
28445 fi
28446
28447
28448 fi
28449
28450
28451 fi
28452
28453
28454
28455 fi
28456 done
28457
28458
28459
28460 for ac_func in inet_aton
28461 do
28462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28463 echo "$as_me:$LINENO: checking for $ac_func" >&5
28464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28465 if eval "test \"\${$as_ac_var+set}\" = set"; then
28466 echo $ECHO_N "(cached) $ECHO_C" >&6
28467 else
28468 cat >conftest.$ac_ext <<_ACEOF
28469 #line $LINENO "configure"
28470 /* confdefs.h. */
28471 _ACEOF
28472 cat confdefs.h >>conftest.$ac_ext
28473 cat >>conftest.$ac_ext <<_ACEOF
28474 /* end confdefs.h. */
28475 /* System header to define __stub macros and hopefully few prototypes,
28476 which can conflict with char $ac_func (); below.
28477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28478 <limits.h> exists even on freestanding compilers. */
28479 #ifdef __STDC__
28480 # include <limits.h>
28481 #else
28482 # include <assert.h>
28483 #endif
28484 /* Override any gcc2 internal prototype to avoid an error. */
28485 #ifdef __cplusplus
28486 extern "C"
28487 {
28488 #endif
28489 /* We use char because int might match the return type of a gcc2
28490 builtin and then its argument prototype would still apply. */
28491 char $ac_func ();
28492 /* The GNU C library defines this for functions which it implements
28493 to always fail with ENOSYS. Some functions are actually named
28494 something starting with __ and the normal name is an alias. */
28495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28496 choke me
28497 #else
28498 char (*f) () = $ac_func;
28499 #endif
28500 #ifdef __cplusplus
28501 }
28502 #endif
28503
28504 int
28505 main ()
28506 {
28507 return f != $ac_func;
28508 ;
28509 return 0;
28510 }
28511 _ACEOF
28512 rm -f conftest.$ac_objext conftest$ac_exeext
28513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28514 (eval $ac_link) 2>&5
28515 ac_status=$?
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } &&
28518 { ac_try='test -s conftest$ac_exeext'
28519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28520 (eval $ac_try) 2>&5
28521 ac_status=$?
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); }; }; then
28524 eval "$as_ac_var=yes"
28525 else
28526 echo "$as_me: failed program was:" >&5
28527 sed 's/^/| /' conftest.$ac_ext >&5
28528
28529 eval "$as_ac_var=no"
28530 fi
28531 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28532 fi
28533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28535 if test `eval echo '${'$as_ac_var'}'` = yes; then
28536 cat >>confdefs.h <<_ACEOF
28537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28538 _ACEOF
28539 cat >>confdefs.h <<\_ACEOF
28540 #define HAVE_INET_ATON 1
28541 _ACEOF
28542
28543 else
28544
28545 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28546 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28547 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28548 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28549 echo $ECHO_N "(cached) $ECHO_C" >&6
28550 else
28551 ac_check_lib_save_LIBS=$LIBS
28552 LIBS="-l$INET_LINK $LIBS"
28553 cat >conftest.$ac_ext <<_ACEOF
28554 #line $LINENO "configure"
28555 /* confdefs.h. */
28556 _ACEOF
28557 cat confdefs.h >>conftest.$ac_ext
28558 cat >>conftest.$ac_ext <<_ACEOF
28559 /* end confdefs.h. */
28560
28561 /* Override any gcc2 internal prototype to avoid an error. */
28562 #ifdef __cplusplus
28563 extern "C"
28564 #endif
28565 /* We use char because int might match the return type of a gcc2
28566 builtin and then its argument prototype would still apply. */
28567 char inet_aton ();
28568 int
28569 main ()
28570 {
28571 inet_aton ();
28572 ;
28573 return 0;
28574 }
28575 _ACEOF
28576 rm -f conftest.$ac_objext conftest$ac_exeext
28577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28578 (eval $ac_link) 2>&5
28579 ac_status=$?
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } &&
28582 { ac_try='test -s conftest$ac_exeext'
28583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28584 (eval $ac_try) 2>&5
28585 ac_status=$?
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); }; }; then
28588 eval "$as_ac_Lib=yes"
28589 else
28590 echo "$as_me: failed program was:" >&5
28591 sed 's/^/| /' conftest.$ac_ext >&5
28592
28593 eval "$as_ac_Lib=no"
28594 fi
28595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28596 LIBS=$ac_check_lib_save_LIBS
28597 fi
28598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28599 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28600 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28601 cat >>confdefs.h <<\_ACEOF
28602 #define HAVE_INET_ATON 1
28603 _ACEOF
28604
28605 fi
28606
28607
28608 fi
28609 done
28610
28611
28612 if test "x$INET_LINK" != "x"; then
28613 cat >>confdefs.h <<\_ACEOF
28614 #define HAVE_INET_ADDR 1
28615 _ACEOF
28616
28617 INET_LINK=" -l$INET_LINK"
28618 fi
28619
28620 fi
28621
28622
28623
28624 ESD_LINK=
28625 if test "${ac_cv_header_esd_h+set}" = set; then
28626 echo "$as_me:$LINENO: checking for esd.h" >&5
28627 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28628 if test "${ac_cv_header_esd_h+set}" = set; then
28629 echo $ECHO_N "(cached) $ECHO_C" >&6
28630 fi
28631 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28632 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28633 else
28634 # Is the header compilable?
28635 echo "$as_me:$LINENO: checking esd.h usability" >&5
28636 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28637 cat >conftest.$ac_ext <<_ACEOF
28638 #line $LINENO "configure"
28639 /* confdefs.h. */
28640 _ACEOF
28641 cat confdefs.h >>conftest.$ac_ext
28642 cat >>conftest.$ac_ext <<_ACEOF
28643 /* end confdefs.h. */
28644 $ac_includes_default
28645 #include <esd.h>
28646 _ACEOF
28647 rm -f conftest.$ac_objext
28648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28649 (eval $ac_compile) 2>&5
28650 ac_status=$?
28651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28652 (exit $ac_status); } &&
28653 { ac_try='test -s conftest.$ac_objext'
28654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28655 (eval $ac_try) 2>&5
28656 ac_status=$?
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); }; }; then
28659 ac_header_compiler=yes
28660 else
28661 echo "$as_me: failed program was:" >&5
28662 sed 's/^/| /' conftest.$ac_ext >&5
28663
28664 ac_header_compiler=no
28665 fi
28666 rm -f conftest.$ac_objext conftest.$ac_ext
28667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28668 echo "${ECHO_T}$ac_header_compiler" >&6
28669
28670 # Is the header present?
28671 echo "$as_me:$LINENO: checking esd.h presence" >&5
28672 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28673 cat >conftest.$ac_ext <<_ACEOF
28674 #line $LINENO "configure"
28675 /* confdefs.h. */
28676 _ACEOF
28677 cat confdefs.h >>conftest.$ac_ext
28678 cat >>conftest.$ac_ext <<_ACEOF
28679 /* end confdefs.h. */
28680 #include <esd.h>
28681 _ACEOF
28682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28683 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28684 ac_status=$?
28685 grep -v '^ *+' conftest.er1 >conftest.err
28686 rm -f conftest.er1
28687 cat conftest.err >&5
28688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28689 (exit $ac_status); } >/dev/null; then
28690 if test -s conftest.err; then
28691 ac_cpp_err=$ac_c_preproc_warn_flag
28692 else
28693 ac_cpp_err=
28694 fi
28695 else
28696 ac_cpp_err=yes
28697 fi
28698 if test -z "$ac_cpp_err"; then
28699 ac_header_preproc=yes
28700 else
28701 echo "$as_me: failed program was:" >&5
28702 sed 's/^/| /' conftest.$ac_ext >&5
28703
28704 ac_header_preproc=no
28705 fi
28706 rm -f conftest.err conftest.$ac_ext
28707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28708 echo "${ECHO_T}$ac_header_preproc" >&6
28709
28710 # So? What about this header?
28711 case $ac_header_compiler:$ac_header_preproc in
28712 yes:no )
28713 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28714 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28715 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28716 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28717 (
28718 cat <<\_ASBOX
28719 ## ------------------------------------ ##
28720 ## Report this to bug-autoconf@gnu.org. ##
28721 ## ------------------------------------ ##
28722 _ASBOX
28723 ) |
28724 sed "s/^/$as_me: WARNING: /" >&2
28725 ;;
28726 no:yes )
28727 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28728 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28729 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28730 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28731 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28732 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28733 (
28734 cat <<\_ASBOX
28735 ## ------------------------------------ ##
28736 ## Report this to bug-autoconf@gnu.org. ##
28737 ## ------------------------------------ ##
28738 _ASBOX
28739 ) |
28740 sed "s/^/$as_me: WARNING: /" >&2
28741 ;;
28742 esac
28743 echo "$as_me:$LINENO: checking for esd.h" >&5
28744 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28745 if test "${ac_cv_header_esd_h+set}" = set; then
28746 echo $ECHO_N "(cached) $ECHO_C" >&6
28747 else
28748 ac_cv_header_esd_h=$ac_header_preproc
28749 fi
28750 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28751 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28752
28753 fi
28754 if test $ac_cv_header_esd_h = yes; then
28755
28756 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28757 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28758 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28759 echo $ECHO_N "(cached) $ECHO_C" >&6
28760 else
28761 ac_check_lib_save_LIBS=$LIBS
28762 LIBS="-lesd $LIBS"
28763 cat >conftest.$ac_ext <<_ACEOF
28764 #line $LINENO "configure"
28765 /* confdefs.h. */
28766 _ACEOF
28767 cat confdefs.h >>conftest.$ac_ext
28768 cat >>conftest.$ac_ext <<_ACEOF
28769 /* end confdefs.h. */
28770
28771 /* Override any gcc2 internal prototype to avoid an error. */
28772 #ifdef __cplusplus
28773 extern "C"
28774 #endif
28775 /* We use char because int might match the return type of a gcc2
28776 builtin and then its argument prototype would still apply. */
28777 char esd_close ();
28778 int
28779 main ()
28780 {
28781 esd_close ();
28782 ;
28783 return 0;
28784 }
28785 _ACEOF
28786 rm -f conftest.$ac_objext conftest$ac_exeext
28787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28788 (eval $ac_link) 2>&5
28789 ac_status=$?
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); } &&
28792 { ac_try='test -s conftest$ac_exeext'
28793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28794 (eval $ac_try) 2>&5
28795 ac_status=$?
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); }; }; then
28798 ac_cv_lib_esd_esd_close=yes
28799 else
28800 echo "$as_me: failed program was:" >&5
28801 sed 's/^/| /' conftest.$ac_ext >&5
28802
28803 ac_cv_lib_esd_esd_close=no
28804 fi
28805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28806 LIBS=$ac_check_lib_save_LIBS
28807 fi
28808 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28809 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28810 if test $ac_cv_lib_esd_esd_close = yes; then
28811
28812 ESD_LINK="-lesd"
28813
28814 fi
28815
28816
28817 fi
28818
28819
28820
28821
28822
28823 cat >confcache <<\_ACEOF
28824 # This file is a shell script that caches the results of configure
28825 # tests run on this system so they can be shared between configure
28826 # scripts and configure runs, see configure's option --config-cache.
28827 # It is not useful on other systems. If it contains results you don't
28828 # want to keep, you may remove or edit it.
28829 #
28830 # config.status only pays attention to the cache file if you give it
28831 # the --recheck option to rerun configure.
28832 #
28833 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28835 # following values.
28836
28837 _ACEOF
28838
28839 # The following way of writing the cache mishandles newlines in values,
28840 # but we know of no workaround that is simple, portable, and efficient.
28841 # So, don't put newlines in cache variables' values.
28842 # Ultrix sh set writes to stderr and can't be redirected directly,
28843 # and sets the high bit in the cache file unless we assign to the vars.
28844 {
28845 (set) 2>&1 |
28846 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28847 *ac_space=\ *)
28848 # `set' does not quote correctly, so add quotes (double-quote
28849 # substitution turns \\\\ into \\, and sed turns \\ into \).
28850 sed -n \
28851 "s/'/'\\\\''/g;
28852 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28853 ;;
28854 *)
28855 # `set' quotes correctly as required by POSIX, so do not add quotes.
28856 sed -n \
28857 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28858 ;;
28859 esac;
28860 } |
28861 sed '
28862 t clear
28863 : clear
28864 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28865 t end
28866 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28867 : end' >>confcache
28868 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28869 if test -w $cache_file; then
28870 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28871 cat confcache >$cache_file
28872 else
28873 echo "not updating unwritable cache $cache_file"
28874 fi
28875 fi
28876 rm -f confcache
28877
28878
28879 CPP_MT_FLAG=
28880 if test "$TOOLKIT" != "MSW"; then
28881
28882
28883 THREADS_LINK=
28884 THREADS_CFLAGS=
28885
28886 if test "$wxUSE_THREADS" = "yes" ; then
28887 if test "$USE_BEOS" = 1; then
28888 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28889 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28890 wxUSE_THREADS="no"
28891 fi
28892 fi
28893
28894 if test "$wxUSE_THREADS" = "yes" ; then
28895
28896
28897 THREAD_OPTS="-pthread"
28898 case "${host}" in
28899 *-*-solaris2* | *-*-sunos4* )
28900 if test "x$GCC" = "xyes"; then
28901 THREAD_OPTS="-pthreads $THREAD_OPTS"
28902 else
28903 THREAD_OPTS="-mt $THREAD_OPTS"
28904 fi
28905 ;;
28906 *-*-freebsd*)
28907 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28908 ;;
28909 *-*-darwin* | *-*-cygwin* )
28910 THREAD_OPTS=""
28911 ;;
28912 *-*-aix*)
28913 THREAD_OPTS="pthreads"
28914 ;;
28915 *-hp-hpux* )
28916 if test "x$GCC" != "xyes"; then
28917 THREAD_OPTS=""
28918 fi
28919 ;;
28920
28921 *-*-irix* )
28922 if test "x$GCC" = "xyes"; then
28923 THREAD_OPTS=""
28924 fi
28925 ;;
28926
28927 *-*-*UnixWare*)
28928 if test "x$GCC" != "xyes"; then
28929 THREAD_OPTS="-Ethread"
28930 fi
28931 ;;
28932 esac
28933
28934 THREAD_OPTS="$THREAD_OPTS pthread none"
28935
28936 THREADS_OK=no
28937 for flag in $THREAD_OPTS; do
28938 case $flag in
28939 none)
28940 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28941 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28942 ;;
28943
28944 -*)
28945 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28946 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28947 THREADS_CFLAGS="$flag"
28948 ;;
28949
28950 *)
28951 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28952 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28953 THREADS_LINK="-l$flag"
28954 ;;
28955 esac
28956
28957 save_LIBS="$LIBS"
28958 save_CFLAGS="$CFLAGS"
28959 LIBS="$THREADS_LINK $LIBS"
28960 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28961
28962 cat >conftest.$ac_ext <<_ACEOF
28963 #line $LINENO "configure"
28964 /* confdefs.h. */
28965 _ACEOF
28966 cat confdefs.h >>conftest.$ac_ext
28967 cat >>conftest.$ac_ext <<_ACEOF
28968 /* end confdefs.h. */
28969 #include <pthread.h>
28970 int
28971 main ()
28972 {
28973 pthread_create(0,0,0,0);
28974 ;
28975 return 0;
28976 }
28977 _ACEOF
28978 rm -f conftest.$ac_objext conftest$ac_exeext
28979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28980 (eval $ac_link) 2>&5
28981 ac_status=$?
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); } &&
28984 { ac_try='test -s conftest$ac_exeext'
28985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28986 (eval $ac_try) 2>&5
28987 ac_status=$?
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; }; then
28990 THREADS_OK=yes
28991 else
28992 echo "$as_me: failed program was:" >&5
28993 sed 's/^/| /' conftest.$ac_ext >&5
28994
28995 fi
28996 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28997
28998 LIBS="$save_LIBS"
28999 CFLAGS="$save_CFLAGS"
29000
29001 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29002 echo "${ECHO_T}$THREADS_OK" >&6
29003 if test "x$THREADS_OK" = "xyes"; then
29004 break;
29005 fi
29006
29007 THREADS_LINK=""
29008 THREADS_CFLAGS=""
29009 done
29010
29011 if test "x$THREADS_OK" != "xyes"; then
29012 wxUSE_THREADS=no
29013 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29014 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29015 else
29016 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29017 LIBS="$THREADS_LINK $LIBS"
29018
29019 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29020 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29021 flag=no
29022 case "${host}" in
29023 *-aix*)
29024 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29025 flag="-D_THREAD_SAFE"
29026 ;;
29027 *-freebsd*)
29028 flag="-D_THREAD_SAFE"
29029 ;;
29030 *-hp-hpux* )
29031 flag="-D_REENTRANT"
29032 if test "x$GCC" != "xyes"; then
29033 flag="$flag -D_RWSTD_MULTI_THREAD"
29034 fi
29035 ;;
29036 *solaris* | alpha*-osf*)
29037 flag="-D_REENTRANT"
29038 ;;
29039 esac
29040 echo "$as_me:$LINENO: result: ${flag}" >&5
29041 echo "${ECHO_T}${flag}" >&6
29042 if test "x$flag" != xno; then
29043 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29044 fi
29045
29046 if test "x$THREADS_CFLAGS" != "x"; then
29047 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29048 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29049 fi
29050 fi
29051 fi
29052
29053 if test "$wxUSE_THREADS" = "yes" ; then
29054
29055 for ac_func in thr_setconcurrency
29056 do
29057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29058 echo "$as_me:$LINENO: checking for $ac_func" >&5
29059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29060 if eval "test \"\${$as_ac_var+set}\" = set"; then
29061 echo $ECHO_N "(cached) $ECHO_C" >&6
29062 else
29063 cat >conftest.$ac_ext <<_ACEOF
29064 #line $LINENO "configure"
29065 /* confdefs.h. */
29066 _ACEOF
29067 cat confdefs.h >>conftest.$ac_ext
29068 cat >>conftest.$ac_ext <<_ACEOF
29069 /* end confdefs.h. */
29070 /* System header to define __stub macros and hopefully few prototypes,
29071 which can conflict with char $ac_func (); below.
29072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29073 <limits.h> exists even on freestanding compilers. */
29074 #ifdef __STDC__
29075 # include <limits.h>
29076 #else
29077 # include <assert.h>
29078 #endif
29079 /* Override any gcc2 internal prototype to avoid an error. */
29080 #ifdef __cplusplus
29081 extern "C"
29082 {
29083 #endif
29084 /* We use char because int might match the return type of a gcc2
29085 builtin and then its argument prototype would still apply. */
29086 char $ac_func ();
29087 /* The GNU C library defines this for functions which it implements
29088 to always fail with ENOSYS. Some functions are actually named
29089 something starting with __ and the normal name is an alias. */
29090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29091 choke me
29092 #else
29093 char (*f) () = $ac_func;
29094 #endif
29095 #ifdef __cplusplus
29096 }
29097 #endif
29098
29099 int
29100 main ()
29101 {
29102 return f != $ac_func;
29103 ;
29104 return 0;
29105 }
29106 _ACEOF
29107 rm -f conftest.$ac_objext conftest$ac_exeext
29108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29109 (eval $ac_link) 2>&5
29110 ac_status=$?
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); } &&
29113 { ac_try='test -s conftest$ac_exeext'
29114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29115 (eval $ac_try) 2>&5
29116 ac_status=$?
29117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29118 (exit $ac_status); }; }; then
29119 eval "$as_ac_var=yes"
29120 else
29121 echo "$as_me: failed program was:" >&5
29122 sed 's/^/| /' conftest.$ac_ext >&5
29123
29124 eval "$as_ac_var=no"
29125 fi
29126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29127 fi
29128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29130 if test `eval echo '${'$as_ac_var'}'` = yes; then
29131 cat >>confdefs.h <<_ACEOF
29132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29133 _ACEOF
29134
29135 fi
29136 done
29137
29138
29139
29140 for ac_header in sched.h
29141 do
29142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29144 echo "$as_me:$LINENO: checking for $ac_header" >&5
29145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29147 echo $ECHO_N "(cached) $ECHO_C" >&6
29148 fi
29149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29151 else
29152 # Is the header compilable?
29153 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29154 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29155 cat >conftest.$ac_ext <<_ACEOF
29156 #line $LINENO "configure"
29157 /* confdefs.h. */
29158 _ACEOF
29159 cat confdefs.h >>conftest.$ac_ext
29160 cat >>conftest.$ac_ext <<_ACEOF
29161 /* end confdefs.h. */
29162 $ac_includes_default
29163 #include <$ac_header>
29164 _ACEOF
29165 rm -f conftest.$ac_objext
29166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29167 (eval $ac_compile) 2>&5
29168 ac_status=$?
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); } &&
29171 { ac_try='test -s conftest.$ac_objext'
29172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29173 (eval $ac_try) 2>&5
29174 ac_status=$?
29175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176 (exit $ac_status); }; }; then
29177 ac_header_compiler=yes
29178 else
29179 echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29181
29182 ac_header_compiler=no
29183 fi
29184 rm -f conftest.$ac_objext conftest.$ac_ext
29185 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29186 echo "${ECHO_T}$ac_header_compiler" >&6
29187
29188 # Is the header present?
29189 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29190 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29191 cat >conftest.$ac_ext <<_ACEOF
29192 #line $LINENO "configure"
29193 /* confdefs.h. */
29194 _ACEOF
29195 cat confdefs.h >>conftest.$ac_ext
29196 cat >>conftest.$ac_ext <<_ACEOF
29197 /* end confdefs.h. */
29198 #include <$ac_header>
29199 _ACEOF
29200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29202 ac_status=$?
29203 grep -v '^ *+' conftest.er1 >conftest.err
29204 rm -f conftest.er1
29205 cat conftest.err >&5
29206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29207 (exit $ac_status); } >/dev/null; then
29208 if test -s conftest.err; then
29209 ac_cpp_err=$ac_c_preproc_warn_flag
29210 else
29211 ac_cpp_err=
29212 fi
29213 else
29214 ac_cpp_err=yes
29215 fi
29216 if test -z "$ac_cpp_err"; then
29217 ac_header_preproc=yes
29218 else
29219 echo "$as_me: failed program was:" >&5
29220 sed 's/^/| /' conftest.$ac_ext >&5
29221
29222 ac_header_preproc=no
29223 fi
29224 rm -f conftest.err conftest.$ac_ext
29225 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29226 echo "${ECHO_T}$ac_header_preproc" >&6
29227
29228 # So? What about this header?
29229 case $ac_header_compiler:$ac_header_preproc in
29230 yes:no )
29231 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29232 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29235 (
29236 cat <<\_ASBOX
29237 ## ------------------------------------ ##
29238 ## Report this to bug-autoconf@gnu.org. ##
29239 ## ------------------------------------ ##
29240 _ASBOX
29241 ) |
29242 sed "s/^/$as_me: WARNING: /" >&2
29243 ;;
29244 no:yes )
29245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29251 (
29252 cat <<\_ASBOX
29253 ## ------------------------------------ ##
29254 ## Report this to bug-autoconf@gnu.org. ##
29255 ## ------------------------------------ ##
29256 _ASBOX
29257 ) |
29258 sed "s/^/$as_me: WARNING: /" >&2
29259 ;;
29260 esac
29261 echo "$as_me:$LINENO: checking for $ac_header" >&5
29262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29264 echo $ECHO_N "(cached) $ECHO_C" >&6
29265 else
29266 eval "$as_ac_Header=$ac_header_preproc"
29267 fi
29268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29270
29271 fi
29272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29273 cat >>confdefs.h <<_ACEOF
29274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29275 _ACEOF
29276
29277 fi
29278
29279 done
29280
29281 if test "$ac_cv_header_sched_h" = "yes"; then
29282 echo "$as_me:$LINENO: checking for sched_yield" >&5
29283 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29284 if test "${ac_cv_func_sched_yield+set}" = set; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29286 else
29287 cat >conftest.$ac_ext <<_ACEOF
29288 #line $LINENO "configure"
29289 /* confdefs.h. */
29290 _ACEOF
29291 cat confdefs.h >>conftest.$ac_ext
29292 cat >>conftest.$ac_ext <<_ACEOF
29293 /* end confdefs.h. */
29294 /* System header to define __stub macros and hopefully few prototypes,
29295 which can conflict with char sched_yield (); below.
29296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29297 <limits.h> exists even on freestanding compilers. */
29298 #ifdef __STDC__
29299 # include <limits.h>
29300 #else
29301 # include <assert.h>
29302 #endif
29303 /* Override any gcc2 internal prototype to avoid an error. */
29304 #ifdef __cplusplus
29305 extern "C"
29306 {
29307 #endif
29308 /* We use char because int might match the return type of a gcc2
29309 builtin and then its argument prototype would still apply. */
29310 char sched_yield ();
29311 /* The GNU C library defines this for functions which it implements
29312 to always fail with ENOSYS. Some functions are actually named
29313 something starting with __ and the normal name is an alias. */
29314 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29315 choke me
29316 #else
29317 char (*f) () = sched_yield;
29318 #endif
29319 #ifdef __cplusplus
29320 }
29321 #endif
29322
29323 int
29324 main ()
29325 {
29326 return f != sched_yield;
29327 ;
29328 return 0;
29329 }
29330 _ACEOF
29331 rm -f conftest.$ac_objext conftest$ac_exeext
29332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29333 (eval $ac_link) 2>&5
29334 ac_status=$?
29335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29336 (exit $ac_status); } &&
29337 { ac_try='test -s conftest$ac_exeext'
29338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29339 (eval $ac_try) 2>&5
29340 ac_status=$?
29341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29342 (exit $ac_status); }; }; then
29343 ac_cv_func_sched_yield=yes
29344 else
29345 echo "$as_me: failed program was:" >&5
29346 sed 's/^/| /' conftest.$ac_ext >&5
29347
29348 ac_cv_func_sched_yield=no
29349 fi
29350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29351 fi
29352 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29353 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29354 if test $ac_cv_func_sched_yield = yes; then
29355 cat >>confdefs.h <<\_ACEOF
29356 #define HAVE_SCHED_YIELD 1
29357 _ACEOF
29358
29359 else
29360
29361 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29362 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29363 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29364 echo $ECHO_N "(cached) $ECHO_C" >&6
29365 else
29366 ac_check_lib_save_LIBS=$LIBS
29367 LIBS="-lposix4 $LIBS"
29368 cat >conftest.$ac_ext <<_ACEOF
29369 #line $LINENO "configure"
29370 /* confdefs.h. */
29371 _ACEOF
29372 cat confdefs.h >>conftest.$ac_ext
29373 cat >>conftest.$ac_ext <<_ACEOF
29374 /* end confdefs.h. */
29375
29376 /* Override any gcc2 internal prototype to avoid an error. */
29377 #ifdef __cplusplus
29378 extern "C"
29379 #endif
29380 /* We use char because int might match the return type of a gcc2
29381 builtin and then its argument prototype would still apply. */
29382 char sched_yield ();
29383 int
29384 main ()
29385 {
29386 sched_yield ();
29387 ;
29388 return 0;
29389 }
29390 _ACEOF
29391 rm -f conftest.$ac_objext conftest$ac_exeext
29392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29393 (eval $ac_link) 2>&5
29394 ac_status=$?
29395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29396 (exit $ac_status); } &&
29397 { ac_try='test -s conftest$ac_exeext'
29398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29399 (eval $ac_try) 2>&5
29400 ac_status=$?
29401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29402 (exit $ac_status); }; }; then
29403 ac_cv_lib_posix4_sched_yield=yes
29404 else
29405 echo "$as_me: failed program was:" >&5
29406 sed 's/^/| /' conftest.$ac_ext >&5
29407
29408 ac_cv_lib_posix4_sched_yield=no
29409 fi
29410 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29411 LIBS=$ac_check_lib_save_LIBS
29412 fi
29413 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29414 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29415 if test $ac_cv_lib_posix4_sched_yield = yes; then
29416 cat >>confdefs.h <<\_ACEOF
29417 #define HAVE_SCHED_YIELD 1
29418 _ACEOF
29419 POSIX4_LINK=" -lposix4"
29420 else
29421 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29422 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29423
29424 fi
29425
29426
29427
29428 fi
29429
29430 fi
29431
29432 HAVE_PRIOR_FUNCS=0
29433 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29434 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29435 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29436 echo $ECHO_N "(cached) $ECHO_C" >&6
29437 else
29438 cat >conftest.$ac_ext <<_ACEOF
29439 #line $LINENO "configure"
29440 /* confdefs.h. */
29441 _ACEOF
29442 cat confdefs.h >>conftest.$ac_ext
29443 cat >>conftest.$ac_ext <<_ACEOF
29444 /* end confdefs.h. */
29445 /* System header to define __stub macros and hopefully few prototypes,
29446 which can conflict with char pthread_attr_getschedpolicy (); below.
29447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29448 <limits.h> exists even on freestanding compilers. */
29449 #ifdef __STDC__
29450 # include <limits.h>
29451 #else
29452 # include <assert.h>
29453 #endif
29454 /* Override any gcc2 internal prototype to avoid an error. */
29455 #ifdef __cplusplus
29456 extern "C"
29457 {
29458 #endif
29459 /* We use char because int might match the return type of a gcc2
29460 builtin and then its argument prototype would still apply. */
29461 char pthread_attr_getschedpolicy ();
29462 /* The GNU C library defines this for functions which it implements
29463 to always fail with ENOSYS. Some functions are actually named
29464 something starting with __ and the normal name is an alias. */
29465 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29466 choke me
29467 #else
29468 char (*f) () = pthread_attr_getschedpolicy;
29469 #endif
29470 #ifdef __cplusplus
29471 }
29472 #endif
29473
29474 int
29475 main ()
29476 {
29477 return f != pthread_attr_getschedpolicy;
29478 ;
29479 return 0;
29480 }
29481 _ACEOF
29482 rm -f conftest.$ac_objext conftest$ac_exeext
29483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29484 (eval $ac_link) 2>&5
29485 ac_status=$?
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); } &&
29488 { ac_try='test -s conftest$ac_exeext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29491 ac_status=$?
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 ac_cv_func_pthread_attr_getschedpolicy=yes
29495 else
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.$ac_ext >&5
29498
29499 ac_cv_func_pthread_attr_getschedpolicy=no
29500 fi
29501 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29502 fi
29503 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29504 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29505 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29506 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29507 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29508 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29509 echo $ECHO_N "(cached) $ECHO_C" >&6
29510 else
29511 cat >conftest.$ac_ext <<_ACEOF
29512 #line $LINENO "configure"
29513 /* confdefs.h. */
29514 _ACEOF
29515 cat confdefs.h >>conftest.$ac_ext
29516 cat >>conftest.$ac_ext <<_ACEOF
29517 /* end confdefs.h. */
29518 /* System header to define __stub macros and hopefully few prototypes,
29519 which can conflict with char pthread_attr_setschedparam (); below.
29520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29521 <limits.h> exists even on freestanding compilers. */
29522 #ifdef __STDC__
29523 # include <limits.h>
29524 #else
29525 # include <assert.h>
29526 #endif
29527 /* Override any gcc2 internal prototype to avoid an error. */
29528 #ifdef __cplusplus
29529 extern "C"
29530 {
29531 #endif
29532 /* We use char because int might match the return type of a gcc2
29533 builtin and then its argument prototype would still apply. */
29534 char pthread_attr_setschedparam ();
29535 /* The GNU C library defines this for functions which it implements
29536 to always fail with ENOSYS. Some functions are actually named
29537 something starting with __ and the normal name is an alias. */
29538 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29539 choke me
29540 #else
29541 char (*f) () = pthread_attr_setschedparam;
29542 #endif
29543 #ifdef __cplusplus
29544 }
29545 #endif
29546
29547 int
29548 main ()
29549 {
29550 return f != pthread_attr_setschedparam;
29551 ;
29552 return 0;
29553 }
29554 _ACEOF
29555 rm -f conftest.$ac_objext conftest$ac_exeext
29556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29557 (eval $ac_link) 2>&5
29558 ac_status=$?
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); } &&
29561 { ac_try='test -s conftest$ac_exeext'
29562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29563 (eval $ac_try) 2>&5
29564 ac_status=$?
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); }; }; then
29567 ac_cv_func_pthread_attr_setschedparam=yes
29568 else
29569 echo "$as_me: failed program was:" >&5
29570 sed 's/^/| /' conftest.$ac_ext >&5
29571
29572 ac_cv_func_pthread_attr_setschedparam=no
29573 fi
29574 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29575 fi
29576 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29577 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29578 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29579 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29580 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29581 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29582 echo $ECHO_N "(cached) $ECHO_C" >&6
29583 else
29584 cat >conftest.$ac_ext <<_ACEOF
29585 #line $LINENO "configure"
29586 /* confdefs.h. */
29587 _ACEOF
29588 cat confdefs.h >>conftest.$ac_ext
29589 cat >>conftest.$ac_ext <<_ACEOF
29590 /* end confdefs.h. */
29591 /* System header to define __stub macros and hopefully few prototypes,
29592 which can conflict with char sched_get_priority_max (); below.
29593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29594 <limits.h> exists even on freestanding compilers. */
29595 #ifdef __STDC__
29596 # include <limits.h>
29597 #else
29598 # include <assert.h>
29599 #endif
29600 /* Override any gcc2 internal prototype to avoid an error. */
29601 #ifdef __cplusplus
29602 extern "C"
29603 {
29604 #endif
29605 /* We use char because int might match the return type of a gcc2
29606 builtin and then its argument prototype would still apply. */
29607 char sched_get_priority_max ();
29608 /* The GNU C library defines this for functions which it implements
29609 to always fail with ENOSYS. Some functions are actually named
29610 something starting with __ and the normal name is an alias. */
29611 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29612 choke me
29613 #else
29614 char (*f) () = sched_get_priority_max;
29615 #endif
29616 #ifdef __cplusplus
29617 }
29618 #endif
29619
29620 int
29621 main ()
29622 {
29623 return f != sched_get_priority_max;
29624 ;
29625 return 0;
29626 }
29627 _ACEOF
29628 rm -f conftest.$ac_objext conftest$ac_exeext
29629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29630 (eval $ac_link) 2>&5
29631 ac_status=$?
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); } &&
29634 { ac_try='test -s conftest$ac_exeext'
29635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29636 (eval $ac_try) 2>&5
29637 ac_status=$?
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); }; }; then
29640 ac_cv_func_sched_get_priority_max=yes
29641 else
29642 echo "$as_me: failed program was:" >&5
29643 sed 's/^/| /' conftest.$ac_ext >&5
29644
29645 ac_cv_func_sched_get_priority_max=no
29646 fi
29647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29648 fi
29649 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29650 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29651 if test $ac_cv_func_sched_get_priority_max = yes; then
29652 HAVE_PRIOR_FUNCS=1
29653 else
29654 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29655 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29656 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29657 echo $ECHO_N "(cached) $ECHO_C" >&6
29658 else
29659 ac_check_lib_save_LIBS=$LIBS
29660 LIBS="-lposix4 $LIBS"
29661 cat >conftest.$ac_ext <<_ACEOF
29662 #line $LINENO "configure"
29663 /* confdefs.h. */
29664 _ACEOF
29665 cat confdefs.h >>conftest.$ac_ext
29666 cat >>conftest.$ac_ext <<_ACEOF
29667 /* end confdefs.h. */
29668
29669 /* Override any gcc2 internal prototype to avoid an error. */
29670 #ifdef __cplusplus
29671 extern "C"
29672 #endif
29673 /* We use char because int might match the return type of a gcc2
29674 builtin and then its argument prototype would still apply. */
29675 char sched_get_priority_max ();
29676 int
29677 main ()
29678 {
29679 sched_get_priority_max ();
29680 ;
29681 return 0;
29682 }
29683 _ACEOF
29684 rm -f conftest.$ac_objext conftest$ac_exeext
29685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29686 (eval $ac_link) 2>&5
29687 ac_status=$?
29688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 (exit $ac_status); } &&
29690 { ac_try='test -s conftest$ac_exeext'
29691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29692 (eval $ac_try) 2>&5
29693 ac_status=$?
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); }; }; then
29696 ac_cv_lib_posix4_sched_get_priority_max=yes
29697 else
29698 echo "$as_me: failed program was:" >&5
29699 sed 's/^/| /' conftest.$ac_ext >&5
29700
29701 ac_cv_lib_posix4_sched_get_priority_max=no
29702 fi
29703 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29704 LIBS=$ac_check_lib_save_LIBS
29705 fi
29706 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29707 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29708 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29709
29710 HAVE_PRIOR_FUNCS=1
29711 POSIX4_LINK=" -lposix4"
29712
29713 fi
29714
29715
29716 fi
29717
29718
29719 fi
29720
29721
29722 fi
29723
29724
29725 if test "$HAVE_PRIOR_FUNCS" = 1; then
29726 cat >>confdefs.h <<\_ACEOF
29727 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29728 _ACEOF
29729
29730 else
29731 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29732 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29733 fi
29734
29735 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29736 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29737 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29738 echo $ECHO_N "(cached) $ECHO_C" >&6
29739 else
29740 cat >conftest.$ac_ext <<_ACEOF
29741 #line $LINENO "configure"
29742 /* confdefs.h. */
29743 _ACEOF
29744 cat confdefs.h >>conftest.$ac_ext
29745 cat >>conftest.$ac_ext <<_ACEOF
29746 /* end confdefs.h. */
29747 /* System header to define __stub macros and hopefully few prototypes,
29748 which can conflict with char pthread_cancel (); below.
29749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29750 <limits.h> exists even on freestanding compilers. */
29751 #ifdef __STDC__
29752 # include <limits.h>
29753 #else
29754 # include <assert.h>
29755 #endif
29756 /* Override any gcc2 internal prototype to avoid an error. */
29757 #ifdef __cplusplus
29758 extern "C"
29759 {
29760 #endif
29761 /* We use char because int might match the return type of a gcc2
29762 builtin and then its argument prototype would still apply. */
29763 char pthread_cancel ();
29764 /* The GNU C library defines this for functions which it implements
29765 to always fail with ENOSYS. Some functions are actually named
29766 something starting with __ and the normal name is an alias. */
29767 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29768 choke me
29769 #else
29770 char (*f) () = pthread_cancel;
29771 #endif
29772 #ifdef __cplusplus
29773 }
29774 #endif
29775
29776 int
29777 main ()
29778 {
29779 return f != pthread_cancel;
29780 ;
29781 return 0;
29782 }
29783 _ACEOF
29784 rm -f conftest.$ac_objext conftest$ac_exeext
29785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29786 (eval $ac_link) 2>&5
29787 ac_status=$?
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); } &&
29790 { ac_try='test -s conftest$ac_exeext'
29791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29792 (eval $ac_try) 2>&5
29793 ac_status=$?
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); }; }; then
29796 ac_cv_func_pthread_cancel=yes
29797 else
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29800
29801 ac_cv_func_pthread_cancel=no
29802 fi
29803 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29804 fi
29805 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29806 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29807 if test $ac_cv_func_pthread_cancel = yes; then
29808 cat >>confdefs.h <<\_ACEOF
29809 #define HAVE_PTHREAD_CANCEL 1
29810 _ACEOF
29811
29812 else
29813 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29814 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29815 fi
29816
29817
29818 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29819 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29820 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29821 echo $ECHO_N "(cached) $ECHO_C" >&6
29822 else
29823
29824 cat >conftest.$ac_ext <<_ACEOF
29825 #line $LINENO "configure"
29826 /* confdefs.h. */
29827 _ACEOF
29828 cat confdefs.h >>conftest.$ac_ext
29829 cat >>conftest.$ac_ext <<_ACEOF
29830 /* end confdefs.h. */
29831 #include <pthread.h>
29832 int
29833 main ()
29834 {
29835
29836 pthread_cleanup_push(NULL, NULL);
29837 pthread_cleanup_pop(0);
29838
29839 ;
29840 return 0;
29841 }
29842 _ACEOF
29843 rm -f conftest.$ac_objext
29844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29845 (eval $ac_compile) 2>&5
29846 ac_status=$?
29847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29848 (exit $ac_status); } &&
29849 { ac_try='test -s conftest.$ac_objext'
29850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29851 (eval $ac_try) 2>&5
29852 ac_status=$?
29853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29854 (exit $ac_status); }; }; then
29855
29856 wx_cv_func_pthread_cleanup_push=yes
29857
29858 else
29859 echo "$as_me: failed program was:" >&5
29860 sed 's/^/| /' conftest.$ac_ext >&5
29861
29862
29863 wx_cv_func_pthread_cleanup_push=no
29864
29865 fi
29866 rm -f conftest.$ac_objext conftest.$ac_ext
29867
29868 fi
29869 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29870 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29871
29872 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29873 cat >>confdefs.h <<\_ACEOF
29874 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29875 _ACEOF
29876
29877 fi
29878
29879
29880 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29881 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29882 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29883 echo $ECHO_N "(cached) $ECHO_C" >&6
29884 else
29885
29886 cat >conftest.$ac_ext <<_ACEOF
29887 #line $LINENO "configure"
29888 /* confdefs.h. */
29889 _ACEOF
29890 cat confdefs.h >>conftest.$ac_ext
29891 cat >>conftest.$ac_ext <<_ACEOF
29892 /* end confdefs.h. */
29893 #include <pthread.h>
29894 int
29895 main ()
29896 {
29897
29898 pthread_mutexattr_t attr;
29899 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29900
29901 ;
29902 return 0;
29903 }
29904 _ACEOF
29905 rm -f conftest.$ac_objext
29906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29907 (eval $ac_compile) 2>&5
29908 ac_status=$?
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); } &&
29911 { ac_try='test -s conftest.$ac_objext'
29912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29913 (eval $ac_try) 2>&5
29914 ac_status=$?
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); }; }; then
29917
29918 wx_cv_type_pthread_mutexattr_t=yes
29919
29920 else
29921 echo "$as_me: failed program was:" >&5
29922 sed 's/^/| /' conftest.$ac_ext >&5
29923
29924
29925 wx_cv_type_pthread_mutexattr_t=no
29926
29927
29928 fi
29929 rm -f conftest.$ac_objext conftest.$ac_ext
29930
29931 fi
29932 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29933 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29934
29935 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29936 cat >>confdefs.h <<\_ACEOF
29937 #define HAVE_PTHREAD_MUTEXATTR_T 1
29938 _ACEOF
29939
29940 else
29941 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29942 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29943 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29944 echo $ECHO_N "(cached) $ECHO_C" >&6
29945 else
29946
29947 cat >conftest.$ac_ext <<_ACEOF
29948 #line $LINENO "configure"
29949 /* confdefs.h. */
29950 _ACEOF
29951 cat confdefs.h >>conftest.$ac_ext
29952 cat >>conftest.$ac_ext <<_ACEOF
29953 /* end confdefs.h. */
29954 #include <pthread.h>
29955 int
29956 main ()
29957 {
29958
29959 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29960
29961 ;
29962 return 0;
29963 }
29964 _ACEOF
29965 rm -f conftest.$ac_objext
29966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29967 (eval $ac_compile) 2>&5
29968 ac_status=$?
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); } &&
29971 { ac_try='test -s conftest.$ac_objext'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29974 ac_status=$?
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; }; then
29977
29978 wx_cv_type_pthread_rec_mutex_init=yes
29979
29980 else
29981 echo "$as_me: failed program was:" >&5
29982 sed 's/^/| /' conftest.$ac_ext >&5
29983
29984
29985 wx_cv_type_pthread_rec_mutex_init=no
29986
29987
29988 fi
29989 rm -f conftest.$ac_objext conftest.$ac_ext
29990
29991 fi
29992 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29993 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29994 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29995 cat >>confdefs.h <<\_ACEOF
29996 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29997 _ACEOF
29998
29999 else
30000 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30001 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30002 fi
30003 fi
30004 fi
30005
30006 else
30007 if test "$wxUSE_THREADS" = "yes" ; then
30008 case "${host}" in
30009 *-*-mingw32* )
30010 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30011 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30012 if test "${wx_cv_cflags_mthread+set}" = set; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30014 else
30015
30016 CFLAGS_OLD="$CFLAGS"
30017 CFLAGS="$CFLAGS -mthreads"
30018 cat >conftest.$ac_ext <<_ACEOF
30019 #line $LINENO "configure"
30020 /* confdefs.h. */
30021 _ACEOF
30022 cat confdefs.h >>conftest.$ac_ext
30023 cat >>conftest.$ac_ext <<_ACEOF
30024 /* end confdefs.h. */
30025
30026 int
30027 main ()
30028 {
30029
30030 ;
30031 return 0;
30032 }
30033 _ACEOF
30034 rm -f conftest.$ac_objext
30035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30036 (eval $ac_compile) 2>&5
30037 ac_status=$?
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); } &&
30040 { ac_try='test -s conftest.$ac_objext'
30041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30042 (eval $ac_try) 2>&5
30043 ac_status=$?
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 (exit $ac_status); }; }; then
30046 wx_cv_cflags_mthread=yes
30047 else
30048 echo "$as_me: failed program was:" >&5
30049 sed 's/^/| /' conftest.$ac_ext >&5
30050
30051 wx_cv_cflags_mthread=no
30052
30053 fi
30054 rm -f conftest.$ac_objext conftest.$ac_ext
30055
30056
30057 fi
30058 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30059 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30060
30061 if test "$wx_cv_cflags_mthread" = "yes"; then
30062 CXXFLAGS="$CXXFLAGS -mthreads"
30063 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30064 LDFLAGS="$LDFLAGS -mthreads"
30065 else
30066 CFLAGS="$CFLAGS_OLD"
30067 fi
30068 ;;
30069 esac
30070 fi
30071 fi
30072
30073 if test "$wxUSE_THREADS" = "yes"; then
30074 cat >>confdefs.h <<\_ACEOF
30075 #define wxUSE_THREADS 1
30076 _ACEOF
30077
30078
30079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30080 else
30081 if test "$ac_cv_func_strtok_r" = "yes"; then
30082 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30083 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30084 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30085 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30086 echo "$as_me:$LINENO: result: yes" >&5
30087 echo "${ECHO_T}yes" >&6
30088 else
30089 echo "$as_me:$LINENO: result: no" >&5
30090 echo "${ECHO_T}no" >&6
30091 fi
30092 fi
30093 fi
30094
30095 if test "$WXGTK20" = 1 ; then
30096 cat >>confdefs.h <<_ACEOF
30097 #define __WXGTK20__ $WXGTK20
30098 _ACEOF
30099
30100 WXGTK12=1
30101 fi
30102
30103 if test "$WXGTK12" = 1 ; then
30104 cat >>confdefs.h <<_ACEOF
30105 #define __WXGTK12__ $WXGTK12
30106 _ACEOF
30107
30108 fi
30109
30110 if test "$WXGTK127" = 1 ; then
30111 cat >>confdefs.h <<_ACEOF
30112 #define __WXGTK127__ $WXGTK127
30113 _ACEOF
30114
30115 fi
30116
30117 WXDEBUG=
30118
30119 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30120 WXDEBUG="-g"
30121 wxUSE_OPTIMISE=no
30122 fi
30123
30124 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30125 wxUSE_DEBUG_INFO=yes
30126 WXDEBUG="-ggdb"
30127 fi
30128
30129 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30130 cat >>confdefs.h <<\_ACEOF
30131 #define WXDEBUG 1
30132 _ACEOF
30133
30134 WXDEBUG_DEFINE="-D__WXDEBUG__"
30135 else
30136 if test "$wxUSE_GTK" = 1 ; then
30137 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30138 fi
30139 fi
30140
30141 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30142 cat >>confdefs.h <<\_ACEOF
30143 #define wxUSE_MEMORY_TRACING 1
30144 _ACEOF
30145
30146 cat >>confdefs.h <<\_ACEOF
30147 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30148 _ACEOF
30149
30150 cat >>confdefs.h <<\_ACEOF
30151 #define wxUSE_DEBUG_NEW_ALWAYS 1
30152 _ACEOF
30153
30154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30155 fi
30156
30157 if test "$wxUSE_DMALLOC" = "yes" ; then
30158 DMALLOC_LIBS="-ldmalloc"
30159 fi
30160
30161 PROFILE=
30162 if test "$wxUSE_PROFILE" = "yes" ; then
30163 PROFILE=" -pg"
30164 fi
30165
30166 CODE_GEN_FLAGS=
30167 CODE_GEN_FLAGS_CXX=
30168 if test "$GCC" = "yes" ; then
30169 if test "$wxUSE_NO_RTTI" = "yes" ; then
30170 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30171 fi
30172 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30173 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30174 fi
30175 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30176 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30177 fi
30178
30179 case "${host}" in
30180 powerpc*-*-aix* )
30181 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30182 ;;
30183 *-hppa* )
30184 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30185 ;;
30186 esac
30187 fi
30188
30189 OPTIMISE=
30190 if test "$wxUSE_OPTIMISE" = "no" ; then
30191 if test "$GCC" = yes ; then
30192 OPTIMISE="-O0"
30193 fi
30194 else
30195 if test "$GCC" = yes ; then
30196 OPTIMISE="-O2"
30197
30198 case "${host}" in
30199 i586-*-*|i686-*-* )
30200 OPTIMISE="${OPTIMISE} "
30201 ;;
30202 esac
30203 else
30204 OPTIMISE="-O"
30205 fi
30206 fi
30207
30208
30209 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
30210 cat >>confdefs.h <<\_ACEOF
30211 #define WXWIN_COMPATIBILITY_2 1
30212 _ACEOF
30213
30214
30215 WXWIN_COMPATIBILITY_2_2="yes"
30216 fi
30217
30218 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30219 cat >>confdefs.h <<\_ACEOF
30220 #define WXWIN_COMPATIBILITY_2_2 1
30221 _ACEOF
30222
30223
30224 WXWIN_COMPATIBILITY_2_4="yes"
30225 fi
30226
30227 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30228 cat >>confdefs.h <<\_ACEOF
30229 #define WXWIN_COMPATIBILITY_2_4 1
30230 _ACEOF
30231
30232 fi
30233
30234
30235 if test "$wxUSE_GUI" = "yes"; then
30236 cat >>confdefs.h <<\_ACEOF
30237 #define wxUSE_GUI 1
30238 _ACEOF
30239
30240
30241 else
30242 cat >>confdefs.h <<\_ACEOF
30243 #define wxUSE_NOGUI 1
30244 _ACEOF
30245
30246 fi
30247
30248
30249 if test "$wxUSE_UNIX" = "yes"; then
30250 cat >>confdefs.h <<\_ACEOF
30251 #define wxUSE_UNIX 1
30252 _ACEOF
30253
30254 fi
30255
30256
30257 if test "$wxUSE_STL" = "yes"; then
30258 cat >>confdefs.h <<\_ACEOF
30259 #define wxUSE_STL 1
30260 _ACEOF
30261
30262 fi
30263
30264 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30265 cat >>confdefs.h <<\_ACEOF
30266 #define wxUSE_APPLE_IEEE 1
30267 _ACEOF
30268
30269 fi
30270
30271 if test "$wxUSE_TIMER" = "yes"; then
30272 cat >>confdefs.h <<\_ACEOF
30273 #define wxUSE_TIMER 1
30274 _ACEOF
30275
30276 fi
30277
30278 if test "$wxUSE_WAVE" = "yes"; then
30279 cat >>confdefs.h <<\_ACEOF
30280 #define wxUSE_WAVE 1
30281 _ACEOF
30282
30283 fi
30284
30285 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30286 cat >>confdefs.h <<\_ACEOF
30287 #define wxUSE_CMDLINE_PARSER 1
30288 _ACEOF
30289
30290 fi
30291
30292 if test "$wxUSE_STOPWATCH" = "yes"; then
30293 cat >>confdefs.h <<\_ACEOF
30294 #define wxUSE_STOPWATCH 1
30295 _ACEOF
30296
30297 fi
30298
30299 if test "$wxUSE_DATETIME" = "yes"; then
30300 cat >>confdefs.h <<\_ACEOF
30301 #define wxUSE_DATETIME 1
30302 _ACEOF
30303
30304 fi
30305
30306 if test "$wxUSE_FILE" = "yes"; then
30307 cat >>confdefs.h <<\_ACEOF
30308 #define wxUSE_FILE 1
30309 _ACEOF
30310
30311 fi
30312
30313 if test "$wxUSE_FFILE" = "yes"; then
30314 cat >>confdefs.h <<\_ACEOF
30315 #define wxUSE_FFILE 1
30316 _ACEOF
30317
30318 fi
30319
30320 if test "$wxUSE_FILESYSTEM" = "yes"; then
30321 cat >>confdefs.h <<\_ACEOF
30322 #define wxUSE_FILESYSTEM 1
30323 _ACEOF
30324
30325 fi
30326
30327 if test "$wxUSE_FS_ZIP" = "yes"; then
30328 cat >>confdefs.h <<\_ACEOF
30329 #define wxUSE_FS_ZIP 1
30330 _ACEOF
30331
30332 fi
30333
30334 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30335 cat >>confdefs.h <<\_ACEOF
30336 #define wxUSE_ZIPSTREAM 1
30337 _ACEOF
30338
30339 fi
30340
30341 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30342 cat >>confdefs.h <<\_ACEOF
30343 #define wxUSE_ON_FATAL_EXCEPTION 1
30344 _ACEOF
30345
30346 fi
30347
30348 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30349 cat >>confdefs.h <<\_ACEOF
30350 #define wxUSE_SNGLINST_CHECKER 1
30351 _ACEOF
30352
30353 fi
30354
30355 if test "$wxUSE_BUSYINFO" = "yes"; then
30356 cat >>confdefs.h <<\_ACEOF
30357 #define wxUSE_BUSYINFO 1
30358 _ACEOF
30359
30360 fi
30361
30362 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30363 cat >>confdefs.h <<\_ACEOF
30364 #define wxUSE_STD_IOSTREAM 1
30365 _ACEOF
30366
30367 fi
30368
30369 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30370 cat >>confdefs.h <<\_ACEOF
30371 #define wxUSE_TEXTBUFFER 1
30372 _ACEOF
30373
30374 fi
30375
30376 if test "$wxUSE_TEXTFILE" = "yes"; then
30377 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30378 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30379 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30380 else
30381 cat >>confdefs.h <<\_ACEOF
30382 #define wxUSE_TEXTFILE 1
30383 _ACEOF
30384
30385 fi
30386 fi
30387
30388 if test "$wxUSE_CONFIG" = "yes" ; then
30389 if test "$wxUSE_TEXTFILE" != "yes"; then
30390 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30391 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30392 else
30393 cat >>confdefs.h <<\_ACEOF
30394 #define wxUSE_CONFIG 1
30395 _ACEOF
30396
30397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30398 fi
30399 fi
30400
30401 if test "$wxUSE_INTL" = "yes" ; then
30402 if test "$wxUSE_FILE" != "yes"; then
30403 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30404 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30405 else
30406 cat >>confdefs.h <<\_ACEOF
30407 #define wxUSE_INTL 1
30408 _ACEOF
30409
30410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30411 GUIDIST="$GUIDIST INTL_DIST"
30412 fi
30413 fi
30414
30415 if test "$wxUSE_LOG" = "yes"; then
30416 cat >>confdefs.h <<\_ACEOF
30417 #define wxUSE_LOG 1
30418 _ACEOF
30419
30420
30421 if test "$wxUSE_LOGGUI" = "yes"; then
30422 cat >>confdefs.h <<\_ACEOF
30423 #define wxUSE_LOGGUI 1
30424 _ACEOF
30425
30426 fi
30427
30428 if test "$wxUSE_LOGWINDOW" = "yes"; then
30429 cat >>confdefs.h <<\_ACEOF
30430 #define wxUSE_LOGWINDOW 1
30431 _ACEOF
30432
30433 fi
30434
30435 if test "$wxUSE_LOGDIALOG" = "yes"; then
30436 cat >>confdefs.h <<\_ACEOF
30437 #define wxUSE_LOG_DIALOG 1
30438 _ACEOF
30439
30440 fi
30441 fi
30442
30443 if test "$wxUSE_LONGLONG" = "yes"; then
30444 cat >>confdefs.h <<\_ACEOF
30445 #define wxUSE_LONGLONG 1
30446 _ACEOF
30447
30448 fi
30449
30450 if test "$wxUSE_GEOMETRY" = "yes"; then
30451 cat >>confdefs.h <<\_ACEOF
30452 #define wxUSE_GEOMETRY 1
30453 _ACEOF
30454
30455 fi
30456
30457 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30458 cat >>confdefs.h <<\_ACEOF
30459 #define wxUSE_DIALUP_MANAGER 1
30460 _ACEOF
30461
30462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30463 fi
30464
30465 if test "$wxUSE_STREAMS" = "yes" ; then
30466 cat >>confdefs.h <<\_ACEOF
30467 #define wxUSE_STREAMS 1
30468 _ACEOF
30469
30470 fi
30471
30472
30473 if test "$wxUSE_DATETIME" = "yes"; then
30474
30475 for ac_func in strptime
30476 do
30477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30478 echo "$as_me:$LINENO: checking for $ac_func" >&5
30479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30480 if eval "test \"\${$as_ac_var+set}\" = set"; then
30481 echo $ECHO_N "(cached) $ECHO_C" >&6
30482 else
30483 cat >conftest.$ac_ext <<_ACEOF
30484 #line $LINENO "configure"
30485 /* confdefs.h. */
30486 _ACEOF
30487 cat confdefs.h >>conftest.$ac_ext
30488 cat >>conftest.$ac_ext <<_ACEOF
30489 /* end confdefs.h. */
30490 /* System header to define __stub macros and hopefully few prototypes,
30491 which can conflict with char $ac_func (); below.
30492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30493 <limits.h> exists even on freestanding compilers. */
30494 #ifdef __STDC__
30495 # include <limits.h>
30496 #else
30497 # include <assert.h>
30498 #endif
30499 /* Override any gcc2 internal prototype to avoid an error. */
30500 #ifdef __cplusplus
30501 extern "C"
30502 {
30503 #endif
30504 /* We use char because int might match the return type of a gcc2
30505 builtin and then its argument prototype would still apply. */
30506 char $ac_func ();
30507 /* The GNU C library defines this for functions which it implements
30508 to always fail with ENOSYS. Some functions are actually named
30509 something starting with __ and the normal name is an alias. */
30510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30511 choke me
30512 #else
30513 char (*f) () = $ac_func;
30514 #endif
30515 #ifdef __cplusplus
30516 }
30517 #endif
30518
30519 int
30520 main ()
30521 {
30522 return f != $ac_func;
30523 ;
30524 return 0;
30525 }
30526 _ACEOF
30527 rm -f conftest.$ac_objext conftest$ac_exeext
30528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30529 (eval $ac_link) 2>&5
30530 ac_status=$?
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); } &&
30533 { ac_try='test -s conftest$ac_exeext'
30534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30535 (eval $ac_try) 2>&5
30536 ac_status=$?
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); }; }; then
30539 eval "$as_ac_var=yes"
30540 else
30541 echo "$as_me: failed program was:" >&5
30542 sed 's/^/| /' conftest.$ac_ext >&5
30543
30544 eval "$as_ac_var=no"
30545 fi
30546 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30547 fi
30548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30550 if test `eval echo '${'$as_ac_var'}'` = yes; then
30551 cat >>confdefs.h <<_ACEOF
30552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30553 _ACEOF
30554
30555 fi
30556 done
30557
30558
30559 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30560 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30561 if test "${wx_cv_var_timezone+set}" = set; then
30562 echo $ECHO_N "(cached) $ECHO_C" >&6
30563 else
30564
30565 cat >conftest.$ac_ext <<_ACEOF
30566 #line $LINENO "configure"
30567 /* confdefs.h. */
30568 _ACEOF
30569 cat confdefs.h >>conftest.$ac_ext
30570 cat >>conftest.$ac_ext <<_ACEOF
30571 /* end confdefs.h. */
30572
30573 #include <time.h>
30574
30575 int
30576 main ()
30577 {
30578
30579 int tz;
30580 tz = timezone;
30581
30582 ;
30583 return 0;
30584 }
30585 _ACEOF
30586 rm -f conftest.$ac_objext
30587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30588 (eval $ac_compile) 2>&5
30589 ac_status=$?
30590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30591 (exit $ac_status); } &&
30592 { ac_try='test -s conftest.$ac_objext'
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
30599 wx_cv_var_timezone=timezone
30600
30601 else
30602 echo "$as_me: failed program was:" >&5
30603 sed 's/^/| /' conftest.$ac_ext >&5
30604
30605
30606 cat >conftest.$ac_ext <<_ACEOF
30607 #line $LINENO "configure"
30608 /* confdefs.h. */
30609 _ACEOF
30610 cat confdefs.h >>conftest.$ac_ext
30611 cat >>conftest.$ac_ext <<_ACEOF
30612 /* end confdefs.h. */
30613
30614 #include <time.h>
30615
30616 int
30617 main ()
30618 {
30619
30620 int tz;
30621 tz = _timezone;
30622
30623 ;
30624 return 0;
30625 }
30626 _ACEOF
30627 rm -f conftest.$ac_objext
30628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30629 (eval $ac_compile) 2>&5
30630 ac_status=$?
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); } &&
30633 { ac_try='test -s conftest.$ac_objext'
30634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30635 (eval $ac_try) 2>&5
30636 ac_status=$?
30637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30638 (exit $ac_status); }; }; then
30639
30640 wx_cv_var_timezone=_timezone
30641
30642 else
30643 echo "$as_me: failed program was:" >&5
30644 sed 's/^/| /' conftest.$ac_ext >&5
30645
30646
30647 cat >conftest.$ac_ext <<_ACEOF
30648 #line $LINENO "configure"
30649 /* confdefs.h. */
30650 _ACEOF
30651 cat confdefs.h >>conftest.$ac_ext
30652 cat >>conftest.$ac_ext <<_ACEOF
30653 /* end confdefs.h. */
30654
30655 #include <time.h>
30656
30657 int
30658 main ()
30659 {
30660
30661 int tz;
30662 tz = __timezone;
30663
30664 ;
30665 return 0;
30666 }
30667 _ACEOF
30668 rm -f conftest.$ac_objext
30669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30670 (eval $ac_compile) 2>&5
30671 ac_status=$?
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); } &&
30674 { ac_try='test -s conftest.$ac_objext'
30675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30676 (eval $ac_try) 2>&5
30677 ac_status=$?
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); }; }; then
30680
30681 wx_cv_var_timezone=__timezone
30682
30683 else
30684 echo "$as_me: failed program was:" >&5
30685 sed 's/^/| /' conftest.$ac_ext >&5
30686
30687
30688 if test "$USE_DOS" = 0 ; then
30689 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30690 echo "$as_me: WARNING: no timezone variable" >&2;}
30691 fi
30692
30693
30694 fi
30695 rm -f conftest.$ac_objext conftest.$ac_ext
30696
30697
30698 fi
30699 rm -f conftest.$ac_objext conftest.$ac_ext
30700
30701
30702 fi
30703 rm -f conftest.$ac_objext conftest.$ac_ext
30704
30705
30706 fi
30707 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30708 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30709
30710 if test "x$wx_cv_var_timezone" != x ; then
30711 cat >>confdefs.h <<_ACEOF
30712 #define WX_TIMEZONE $wx_cv_var_timezone
30713 _ACEOF
30714
30715 fi
30716
30717
30718 for ac_func in localtime
30719 do
30720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30721 echo "$as_me:$LINENO: checking for $ac_func" >&5
30722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30723 if eval "test \"\${$as_ac_var+set}\" = set"; then
30724 echo $ECHO_N "(cached) $ECHO_C" >&6
30725 else
30726 cat >conftest.$ac_ext <<_ACEOF
30727 #line $LINENO "configure"
30728 /* confdefs.h. */
30729 _ACEOF
30730 cat confdefs.h >>conftest.$ac_ext
30731 cat >>conftest.$ac_ext <<_ACEOF
30732 /* end confdefs.h. */
30733 /* System header to define __stub macros and hopefully few prototypes,
30734 which can conflict with char $ac_func (); below.
30735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30736 <limits.h> exists even on freestanding compilers. */
30737 #ifdef __STDC__
30738 # include <limits.h>
30739 #else
30740 # include <assert.h>
30741 #endif
30742 /* Override any gcc2 internal prototype to avoid an error. */
30743 #ifdef __cplusplus
30744 extern "C"
30745 {
30746 #endif
30747 /* We use char because int might match the return type of a gcc2
30748 builtin and then its argument prototype would still apply. */
30749 char $ac_func ();
30750 /* The GNU C library defines this for functions which it implements
30751 to always fail with ENOSYS. Some functions are actually named
30752 something starting with __ and the normal name is an alias. */
30753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30754 choke me
30755 #else
30756 char (*f) () = $ac_func;
30757 #endif
30758 #ifdef __cplusplus
30759 }
30760 #endif
30761
30762 int
30763 main ()
30764 {
30765 return f != $ac_func;
30766 ;
30767 return 0;
30768 }
30769 _ACEOF
30770 rm -f conftest.$ac_objext conftest$ac_exeext
30771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30772 (eval $ac_link) 2>&5
30773 ac_status=$?
30774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30775 (exit $ac_status); } &&
30776 { ac_try='test -s conftest$ac_exeext'
30777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30778 (eval $ac_try) 2>&5
30779 ac_status=$?
30780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30781 (exit $ac_status); }; }; then
30782 eval "$as_ac_var=yes"
30783 else
30784 echo "$as_me: failed program was:" >&5
30785 sed 's/^/| /' conftest.$ac_ext >&5
30786
30787 eval "$as_ac_var=no"
30788 fi
30789 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30790 fi
30791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30793 if test `eval echo '${'$as_ac_var'}'` = yes; then
30794 cat >>confdefs.h <<_ACEOF
30795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30796 _ACEOF
30797
30798 fi
30799 done
30800
30801
30802 if test "$ac_cv_func_localtime" = "yes"; then
30803 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30804 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30805 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30806 echo $ECHO_N "(cached) $ECHO_C" >&6
30807 else
30808
30809 cat >conftest.$ac_ext <<_ACEOF
30810 #line $LINENO "configure"
30811 /* confdefs.h. */
30812 _ACEOF
30813 cat confdefs.h >>conftest.$ac_ext
30814 cat >>conftest.$ac_ext <<_ACEOF
30815 /* end confdefs.h. */
30816
30817 #include <time.h>
30818
30819 int
30820 main ()
30821 {
30822
30823 struct tm tm;
30824 tm.tm_gmtoff++;
30825
30826 ;
30827 return 0;
30828 }
30829 _ACEOF
30830 rm -f conftest.$ac_objext
30831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30832 (eval $ac_compile) 2>&5
30833 ac_status=$?
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); } &&
30836 { ac_try='test -s conftest.$ac_objext'
30837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30838 (eval $ac_try) 2>&5
30839 ac_status=$?
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; }; then
30842
30843 wx_cv_struct_tm_has_gmtoff=yes
30844
30845 else
30846 echo "$as_me: failed program was:" >&5
30847 sed 's/^/| /' conftest.$ac_ext >&5
30848
30849 wx_cv_struct_tm_has_gmtoff=no
30850
30851 fi
30852 rm -f conftest.$ac_objext conftest.$ac_ext
30853
30854 fi
30855 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30856 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30857 fi
30858
30859 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30860 cat >>confdefs.h <<\_ACEOF
30861 #define WX_GMTOFF_IN_TM 1
30862 _ACEOF
30863
30864 fi
30865
30866
30867
30868 for ac_func in gettimeofday ftime
30869 do
30870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30871 echo "$as_me:$LINENO: checking for $ac_func" >&5
30872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30873 if eval "test \"\${$as_ac_var+set}\" = set"; then
30874 echo $ECHO_N "(cached) $ECHO_C" >&6
30875 else
30876 cat >conftest.$ac_ext <<_ACEOF
30877 #line $LINENO "configure"
30878 /* confdefs.h. */
30879 _ACEOF
30880 cat confdefs.h >>conftest.$ac_ext
30881 cat >>conftest.$ac_ext <<_ACEOF
30882 /* end confdefs.h. */
30883 /* System header to define __stub macros and hopefully few prototypes,
30884 which can conflict with char $ac_func (); below.
30885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30886 <limits.h> exists even on freestanding compilers. */
30887 #ifdef __STDC__
30888 # include <limits.h>
30889 #else
30890 # include <assert.h>
30891 #endif
30892 /* Override any gcc2 internal prototype to avoid an error. */
30893 #ifdef __cplusplus
30894 extern "C"
30895 {
30896 #endif
30897 /* We use char because int might match the return type of a gcc2
30898 builtin and then its argument prototype would still apply. */
30899 char $ac_func ();
30900 /* The GNU C library defines this for functions which it implements
30901 to always fail with ENOSYS. Some functions are actually named
30902 something starting with __ and the normal name is an alias. */
30903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30904 choke me
30905 #else
30906 char (*f) () = $ac_func;
30907 #endif
30908 #ifdef __cplusplus
30909 }
30910 #endif
30911
30912 int
30913 main ()
30914 {
30915 return f != $ac_func;
30916 ;
30917 return 0;
30918 }
30919 _ACEOF
30920 rm -f conftest.$ac_objext conftest$ac_exeext
30921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30922 (eval $ac_link) 2>&5
30923 ac_status=$?
30924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30925 (exit $ac_status); } &&
30926 { ac_try='test -s conftest$ac_exeext'
30927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30928 (eval $ac_try) 2>&5
30929 ac_status=$?
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); }; }; then
30932 eval "$as_ac_var=yes"
30933 else
30934 echo "$as_me: failed program was:" >&5
30935 sed 's/^/| /' conftest.$ac_ext >&5
30936
30937 eval "$as_ac_var=no"
30938 fi
30939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30940 fi
30941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30943 if test `eval echo '${'$as_ac_var'}'` = yes; then
30944 cat >>confdefs.h <<_ACEOF
30945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30946 _ACEOF
30947 break
30948 fi
30949 done
30950
30951
30952 if test "$ac_cv_func_gettimeofday" = "yes"; then
30953 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30954 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30955 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30956 echo $ECHO_N "(cached) $ECHO_C" >&6
30957 else
30958
30959
30960
30961 ac_ext=cc
30962 ac_cpp='$CXXCPP $CPPFLAGS'
30963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30966
30967
30968 cat >conftest.$ac_ext <<_ACEOF
30969 #line $LINENO "configure"
30970 /* confdefs.h. */
30971 _ACEOF
30972 cat confdefs.h >>conftest.$ac_ext
30973 cat >>conftest.$ac_ext <<_ACEOF
30974 /* end confdefs.h. */
30975
30976 #include <sys/time.h>
30977 #include <unistd.h>
30978
30979 int
30980 main ()
30981 {
30982
30983 struct timeval tv;
30984 gettimeofday(&tv, NULL);
30985
30986 ;
30987 return 0;
30988 }
30989 _ACEOF
30990 rm -f conftest.$ac_objext
30991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30992 (eval $ac_compile) 2>&5
30993 ac_status=$?
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } &&
30996 { ac_try='test -s conftest.$ac_objext'
30997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30998 (eval $ac_try) 2>&5
30999 ac_status=$?
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); }; }; then
31002 wx_cv_func_gettimeofday_has_2_args=yes
31003 else
31004 echo "$as_me: failed program was:" >&5
31005 sed 's/^/| /' conftest.$ac_ext >&5
31006
31007 cat >conftest.$ac_ext <<_ACEOF
31008 #line $LINENO "configure"
31009 /* confdefs.h. */
31010 _ACEOF
31011 cat confdefs.h >>conftest.$ac_ext
31012 cat >>conftest.$ac_ext <<_ACEOF
31013 /* end confdefs.h. */
31014
31015 #include <sys/time.h>
31016 #include <unistd.h>
31017
31018 int
31019 main ()
31020 {
31021
31022 struct timeval tv;
31023 gettimeofday(&tv);
31024
31025 ;
31026 return 0;
31027 }
31028 _ACEOF
31029 rm -f conftest.$ac_objext
31030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31031 (eval $ac_compile) 2>&5
31032 ac_status=$?
31033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31034 (exit $ac_status); } &&
31035 { ac_try='test -s conftest.$ac_objext'
31036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31037 (eval $ac_try) 2>&5
31038 ac_status=$?
31039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31040 (exit $ac_status); }; }; then
31041 wx_cv_func_gettimeofday_has_2_args=no
31042 else
31043 echo "$as_me: failed program was:" >&5
31044 sed 's/^/| /' conftest.$ac_ext >&5
31045
31046
31047 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31048 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31049 wx_cv_func_gettimeofday_has_2_args=unknown
31050
31051
31052 fi
31053 rm -f conftest.$ac_objext conftest.$ac_ext
31054
31055 fi
31056 rm -f conftest.$ac_objext conftest.$ac_ext
31057 ac_ext=c
31058 ac_cpp='$CPP $CPPFLAGS'
31059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31062
31063
31064 fi
31065 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31066 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31067
31068 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31069 cat >>confdefs.h <<\_ACEOF
31070 #define WX_GETTIMEOFDAY_NO_TZ 1
31071 _ACEOF
31072
31073 fi
31074 fi
31075
31076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31077 fi
31078
31079
31080 if test "$wxUSE_SOCKETS" = "yes"; then
31081 if test "$wxUSE_MGL" = "1"; then
31082 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31083 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31084 wxUSE_SOCKETS="no"
31085 fi
31086 if test "$wxUSE_COCOA" = "1"; then
31087 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31088 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31089 wxUSE_SOCKETS="no"
31090 fi
31091 fi
31092
31093 if test "$wxUSE_SOCKETS" = "yes"; then
31094 if test "$TOOLKIT" != "MSW"; then
31095 echo "$as_me:$LINENO: checking for socket" >&5
31096 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31097 if test "${ac_cv_func_socket+set}" = set; then
31098 echo $ECHO_N "(cached) $ECHO_C" >&6
31099 else
31100 cat >conftest.$ac_ext <<_ACEOF
31101 #line $LINENO "configure"
31102 /* confdefs.h. */
31103 _ACEOF
31104 cat confdefs.h >>conftest.$ac_ext
31105 cat >>conftest.$ac_ext <<_ACEOF
31106 /* end confdefs.h. */
31107 /* System header to define __stub macros and hopefully few prototypes,
31108 which can conflict with char socket (); below.
31109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31110 <limits.h> exists even on freestanding compilers. */
31111 #ifdef __STDC__
31112 # include <limits.h>
31113 #else
31114 # include <assert.h>
31115 #endif
31116 /* Override any gcc2 internal prototype to avoid an error. */
31117 #ifdef __cplusplus
31118 extern "C"
31119 {
31120 #endif
31121 /* We use char because int might match the return type of a gcc2
31122 builtin and then its argument prototype would still apply. */
31123 char socket ();
31124 /* The GNU C library defines this for functions which it implements
31125 to always fail with ENOSYS. Some functions are actually named
31126 something starting with __ and the normal name is an alias. */
31127 #if defined (__stub_socket) || defined (__stub___socket)
31128 choke me
31129 #else
31130 char (*f) () = socket;
31131 #endif
31132 #ifdef __cplusplus
31133 }
31134 #endif
31135
31136 int
31137 main ()
31138 {
31139 return f != socket;
31140 ;
31141 return 0;
31142 }
31143 _ACEOF
31144 rm -f conftest.$ac_objext conftest$ac_exeext
31145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31146 (eval $ac_link) 2>&5
31147 ac_status=$?
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); } &&
31150 { ac_try='test -s conftest$ac_exeext'
31151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31152 (eval $ac_try) 2>&5
31153 ac_status=$?
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); }; }; then
31156 ac_cv_func_socket=yes
31157 else
31158 echo "$as_me: failed program was:" >&5
31159 sed 's/^/| /' conftest.$ac_ext >&5
31160
31161 ac_cv_func_socket=no
31162 fi
31163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31164 fi
31165 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31166 echo "${ECHO_T}$ac_cv_func_socket" >&6
31167 if test $ac_cv_func_socket = yes; then
31168 :
31169 else
31170 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31171 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31172 if test "${ac_cv_lib_socket_socket+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31174 else
31175 ac_check_lib_save_LIBS=$LIBS
31176 LIBS="-lsocket $LIBS"
31177 cat >conftest.$ac_ext <<_ACEOF
31178 #line $LINENO "configure"
31179 /* confdefs.h. */
31180 _ACEOF
31181 cat confdefs.h >>conftest.$ac_ext
31182 cat >>conftest.$ac_ext <<_ACEOF
31183 /* end confdefs.h. */
31184
31185 /* Override any gcc2 internal prototype to avoid an error. */
31186 #ifdef __cplusplus
31187 extern "C"
31188 #endif
31189 /* We use char because int might match the return type of a gcc2
31190 builtin and then its argument prototype would still apply. */
31191 char socket ();
31192 int
31193 main ()
31194 {
31195 socket ();
31196 ;
31197 return 0;
31198 }
31199 _ACEOF
31200 rm -f conftest.$ac_objext conftest$ac_exeext
31201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31202 (eval $ac_link) 2>&5
31203 ac_status=$?
31204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205 (exit $ac_status); } &&
31206 { ac_try='test -s conftest$ac_exeext'
31207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31208 (eval $ac_try) 2>&5
31209 ac_status=$?
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); }; }; then
31212 ac_cv_lib_socket_socket=yes
31213 else
31214 echo "$as_me: failed program was:" >&5
31215 sed 's/^/| /' conftest.$ac_ext >&5
31216
31217 ac_cv_lib_socket_socket=no
31218 fi
31219 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31220 LIBS=$ac_check_lib_save_LIBS
31221 fi
31222 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31223 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31224 if test $ac_cv_lib_socket_socket = yes; then
31225 if test "$INET_LINK" != " -lsocket"; then
31226 INET_LINK="$INET_LINK -lsocket"
31227 fi
31228 else
31229
31230 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31231 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31232 wxUSE_SOCKETS=no
31233
31234
31235 fi
31236
31237
31238 fi
31239
31240 fi
31241 fi
31242
31243 if test "$wxUSE_SOCKETS" = "yes" ; then
31244 if test "$TOOLKIT" != "MSW"; then
31245 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31246 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31247 if test "${wx_cv_type_getsockname3+set}" = set; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31249 else
31250
31251 cat >conftest.$ac_ext <<_ACEOF
31252 #line $LINENO "configure"
31253 /* confdefs.h. */
31254 _ACEOF
31255 cat confdefs.h >>conftest.$ac_ext
31256 cat >>conftest.$ac_ext <<_ACEOF
31257 /* end confdefs.h. */
31258
31259 #include <sys/types.h>
31260 #include <sys/socket.h>
31261
31262 int
31263 main ()
31264 {
31265
31266 socklen_t len;
31267 getsockname(0, 0, &len);
31268
31269 ;
31270 return 0;
31271 }
31272 _ACEOF
31273 rm -f conftest.$ac_objext
31274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31275 (eval $ac_compile) 2>&5
31276 ac_status=$?
31277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31278 (exit $ac_status); } &&
31279 { ac_try='test -s conftest.$ac_objext'
31280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31281 (eval $ac_try) 2>&5
31282 ac_status=$?
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); }; }; then
31285 wx_cv_type_getsockname3=socklen_t
31286 else
31287 echo "$as_me: failed program was:" >&5
31288 sed 's/^/| /' conftest.$ac_ext >&5
31289
31290
31291 CFLAGS_OLD="$CFLAGS"
31292 if test "$GCC" = yes ; then
31293 CFLAGS="$CFLAGS -Werror"
31294 fi
31295
31296 cat >conftest.$ac_ext <<_ACEOF
31297 #line $LINENO "configure"
31298 /* confdefs.h. */
31299 _ACEOF
31300 cat confdefs.h >>conftest.$ac_ext
31301 cat >>conftest.$ac_ext <<_ACEOF
31302 /* end confdefs.h. */
31303
31304 #include <sys/types.h>
31305 #include <sys/socket.h>
31306
31307 int
31308 main ()
31309 {
31310
31311 size_t len;
31312 getsockname(0, 0, &len);
31313
31314 ;
31315 return 0;
31316 }
31317 _ACEOF
31318 rm -f conftest.$ac_objext
31319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31320 (eval $ac_compile) 2>&5
31321 ac_status=$?
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); } &&
31324 { ac_try='test -s conftest.$ac_objext'
31325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31326 (eval $ac_try) 2>&5
31327 ac_status=$?
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); }; }; then
31330 wx_cv_type_getsockname3=size_t
31331 else
31332 echo "$as_me: failed program was:" >&5
31333 sed 's/^/| /' conftest.$ac_ext >&5
31334
31335 cat >conftest.$ac_ext <<_ACEOF
31336 #line $LINENO "configure"
31337 /* confdefs.h. */
31338 _ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31342
31343 #include <sys/types.h>
31344 #include <sys/socket.h>
31345
31346 int
31347 main ()
31348 {
31349
31350 int len;
31351 getsockname(0, 0, &len);
31352
31353 ;
31354 return 0;
31355 }
31356 _ACEOF
31357 rm -f conftest.$ac_objext
31358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31359 (eval $ac_compile) 2>&5
31360 ac_status=$?
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); } &&
31363 { ac_try='test -s conftest.$ac_objext'
31364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31365 (eval $ac_try) 2>&5
31366 ac_status=$?
31367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31368 (exit $ac_status); }; }; then
31369 wx_cv_type_getsockname3=int
31370 else
31371 echo "$as_me: failed program was:" >&5
31372 sed 's/^/| /' conftest.$ac_ext >&5
31373
31374 wx_cv_type_getsockname3=unknown
31375
31376 fi
31377 rm -f conftest.$ac_objext conftest.$ac_ext
31378
31379 fi
31380 rm -f conftest.$ac_objext conftest.$ac_ext
31381
31382 CFLAGS="$CFLAGS_OLD"
31383
31384
31385 fi
31386 rm -f conftest.$ac_objext conftest.$ac_ext
31387
31388 fi
31389 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31390 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31391
31392 if test "$wx_cv_type_getsockname3" = "unknown"; then
31393 wxUSE_SOCKETS=no
31394 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31395 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31396 else
31397 cat >>confdefs.h <<_ACEOF
31398 #define SOCKLEN_T $wx_cv_type_getsockname3
31399 _ACEOF
31400
31401 fi
31402 fi
31403 fi
31404
31405 if test "$wxUSE_SOCKETS" = "yes" ; then
31406 cat >>confdefs.h <<\_ACEOF
31407 #define wxUSE_SOCKETS 1
31408 _ACEOF
31409
31410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31411 fi
31412
31413 if test "$wxUSE_PROTOCOL" = "yes"; then
31414 if test "$wxUSE_SOCKETS" != "yes"; then
31415 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31416 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31417 wxUSE_PROTOCOL=no
31418 fi
31419 fi
31420
31421 if test "$wxUSE_PROTOCOL" = "yes"; then
31422 cat >>confdefs.h <<\_ACEOF
31423 #define wxUSE_PROTOCOL 1
31424 _ACEOF
31425
31426
31427 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31428 cat >>confdefs.h <<\_ACEOF
31429 #define wxUSE_PROTOCOL_HTTP 1
31430 _ACEOF
31431
31432 fi
31433 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31434 cat >>confdefs.h <<\_ACEOF
31435 #define wxUSE_PROTOCOL_FTP 1
31436 _ACEOF
31437
31438 fi
31439 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31440 cat >>confdefs.h <<\_ACEOF
31441 #define wxUSE_PROTOCOL_FILE 1
31442 _ACEOF
31443
31444 fi
31445 else
31446 if test "$wxUSE_FS_INET" = "yes"; then
31447 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31448 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31449 wxUSE_FS_INET="no"
31450 fi
31451 fi
31452
31453 if test "$wxUSE_URL" = "yes"; then
31454 if test "$wxUSE_PROTOCOL" != "yes"; then
31455 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31456 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31457 wxUSE_URL=no
31458 fi
31459 if test "$wxUSE_URL" = "yes"; then
31460 cat >>confdefs.h <<\_ACEOF
31461 #define wxUSE_URL 1
31462 _ACEOF
31463
31464 fi
31465 fi
31466
31467 if test "$wxUSE_FS_INET" = "yes"; then
31468 cat >>confdefs.h <<\_ACEOF
31469 #define wxUSE_FS_INET 1
31470 _ACEOF
31471
31472 fi
31473
31474
31475 if test "$wxUSE_GUI" = "yes"; then
31476
31477 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31478 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31479 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31480 wxUSE_JOYSTICK=no
31481 fi
31482 if test "$TOOLKIT" = "MOTIF"; then
31483 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31484 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31485 wxUSE_JOYSTICK=no
31486 fi
31487 if test "$TOOLKIT" = "X11"; then
31488 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31489 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31490 wxUSE_JOYSTICK=no
31491 fi
31492
31493 if test "$TOOLKIT" != "MSW"; then
31494 if test "$wxUSE_JOYSTICK" = "yes"; then
31495
31496 for ac_header in linux/joystick.h
31497 do
31498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31500 echo "$as_me:$LINENO: checking for $ac_header" >&5
31501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31503 echo $ECHO_N "(cached) $ECHO_C" >&6
31504 fi
31505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31507 else
31508 # Is the header compilable?
31509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31511 cat >conftest.$ac_ext <<_ACEOF
31512 #line $LINENO "configure"
31513 /* confdefs.h. */
31514 _ACEOF
31515 cat confdefs.h >>conftest.$ac_ext
31516 cat >>conftest.$ac_ext <<_ACEOF
31517 /* end confdefs.h. */
31518 $ac_includes_default
31519 #include <$ac_header>
31520 _ACEOF
31521 rm -f conftest.$ac_objext
31522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31523 (eval $ac_compile) 2>&5
31524 ac_status=$?
31525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31526 (exit $ac_status); } &&
31527 { ac_try='test -s conftest.$ac_objext'
31528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31529 (eval $ac_try) 2>&5
31530 ac_status=$?
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); }; }; then
31533 ac_header_compiler=yes
31534 else
31535 echo "$as_me: failed program was:" >&5
31536 sed 's/^/| /' conftest.$ac_ext >&5
31537
31538 ac_header_compiler=no
31539 fi
31540 rm -f conftest.$ac_objext conftest.$ac_ext
31541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31542 echo "${ECHO_T}$ac_header_compiler" >&6
31543
31544 # Is the header present?
31545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31547 cat >conftest.$ac_ext <<_ACEOF
31548 #line $LINENO "configure"
31549 /* confdefs.h. */
31550 _ACEOF
31551 cat confdefs.h >>conftest.$ac_ext
31552 cat >>conftest.$ac_ext <<_ACEOF
31553 /* end confdefs.h. */
31554 #include <$ac_header>
31555 _ACEOF
31556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31558 ac_status=$?
31559 grep -v '^ *+' conftest.er1 >conftest.err
31560 rm -f conftest.er1
31561 cat conftest.err >&5
31562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563 (exit $ac_status); } >/dev/null; then
31564 if test -s conftest.err; then
31565 ac_cpp_err=$ac_c_preproc_warn_flag
31566 else
31567 ac_cpp_err=
31568 fi
31569 else
31570 ac_cpp_err=yes
31571 fi
31572 if test -z "$ac_cpp_err"; then
31573 ac_header_preproc=yes
31574 else
31575 echo "$as_me: failed program was:" >&5
31576 sed 's/^/| /' conftest.$ac_ext >&5
31577
31578 ac_header_preproc=no
31579 fi
31580 rm -f conftest.err conftest.$ac_ext
31581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31582 echo "${ECHO_T}$ac_header_preproc" >&6
31583
31584 # So? What about this header?
31585 case $ac_header_compiler:$ac_header_preproc in
31586 yes:no )
31587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31591 (
31592 cat <<\_ASBOX
31593 ## ------------------------------------ ##
31594 ## Report this to bug-autoconf@gnu.org. ##
31595 ## ------------------------------------ ##
31596 _ASBOX
31597 ) |
31598 sed "s/^/$as_me: WARNING: /" >&2
31599 ;;
31600 no:yes )
31601 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31602 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31603 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31604 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31607 (
31608 cat <<\_ASBOX
31609 ## ------------------------------------ ##
31610 ## Report this to bug-autoconf@gnu.org. ##
31611 ## ------------------------------------ ##
31612 _ASBOX
31613 ) |
31614 sed "s/^/$as_me: WARNING: /" >&2
31615 ;;
31616 esac
31617 echo "$as_me:$LINENO: checking for $ac_header" >&5
31618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31620 echo $ECHO_N "(cached) $ECHO_C" >&6
31621 else
31622 eval "$as_ac_Header=$ac_header_preproc"
31623 fi
31624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31626
31627 fi
31628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31629 cat >>confdefs.h <<_ACEOF
31630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31631 _ACEOF
31632
31633 fi
31634
31635 done
31636
31637 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31638 wxUSE_JOYSTICK=no
31639 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31640 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31641 fi
31642 fi
31643 fi
31644
31645 if test "$wxUSE_JOYSTICK" = "yes"; then
31646 cat >>confdefs.h <<\_ACEOF
31647 #define wxUSE_JOYSTICK 1
31648 _ACEOF
31649
31650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31651 fi
31652 fi
31653
31654
31655 if test "$TOOLKIT" != "MSW"; then
31656
31657 HAVE_DL_FUNCS=0
31658 HAVE_SHL_FUNCS=0
31659 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31660 if test "$USE_DARWIN" = 1; then
31661 HAVE_DL_FUNCS=1
31662 else
31663
31664 for ac_func in dlopen
31665 do
31666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31667 echo "$as_me:$LINENO: checking for $ac_func" >&5
31668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31669 if eval "test \"\${$as_ac_var+set}\" = set"; then
31670 echo $ECHO_N "(cached) $ECHO_C" >&6
31671 else
31672 cat >conftest.$ac_ext <<_ACEOF
31673 #line $LINENO "configure"
31674 /* confdefs.h. */
31675 _ACEOF
31676 cat confdefs.h >>conftest.$ac_ext
31677 cat >>conftest.$ac_ext <<_ACEOF
31678 /* end confdefs.h. */
31679 /* System header to define __stub macros and hopefully few prototypes,
31680 which can conflict with char $ac_func (); below.
31681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31682 <limits.h> exists even on freestanding compilers. */
31683 #ifdef __STDC__
31684 # include <limits.h>
31685 #else
31686 # include <assert.h>
31687 #endif
31688 /* Override any gcc2 internal prototype to avoid an error. */
31689 #ifdef __cplusplus
31690 extern "C"
31691 {
31692 #endif
31693 /* We use char because int might match the return type of a gcc2
31694 builtin and then its argument prototype would still apply. */
31695 char $ac_func ();
31696 /* The GNU C library defines this for functions which it implements
31697 to always fail with ENOSYS. Some functions are actually named
31698 something starting with __ and the normal name is an alias. */
31699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31700 choke me
31701 #else
31702 char (*f) () = $ac_func;
31703 #endif
31704 #ifdef __cplusplus
31705 }
31706 #endif
31707
31708 int
31709 main ()
31710 {
31711 return f != $ac_func;
31712 ;
31713 return 0;
31714 }
31715 _ACEOF
31716 rm -f conftest.$ac_objext conftest$ac_exeext
31717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31718 (eval $ac_link) 2>&5
31719 ac_status=$?
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); } &&
31722 { ac_try='test -s conftest$ac_exeext'
31723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31724 (eval $ac_try) 2>&5
31725 ac_status=$?
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); }; }; then
31728 eval "$as_ac_var=yes"
31729 else
31730 echo "$as_me: failed program was:" >&5
31731 sed 's/^/| /' conftest.$ac_ext >&5
31732
31733 eval "$as_ac_var=no"
31734 fi
31735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31736 fi
31737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31739 if test `eval echo '${'$as_ac_var'}'` = yes; then
31740 cat >>confdefs.h <<_ACEOF
31741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31742 _ACEOF
31743
31744 cat >>confdefs.h <<\_ACEOF
31745 #define HAVE_DLOPEN 1
31746 _ACEOF
31747
31748 HAVE_DL_FUNCS=1
31749
31750 else
31751
31752 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31753 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31754 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31755 echo $ECHO_N "(cached) $ECHO_C" >&6
31756 else
31757 ac_check_lib_save_LIBS=$LIBS
31758 LIBS="-ldl $LIBS"
31759 cat >conftest.$ac_ext <<_ACEOF
31760 #line $LINENO "configure"
31761 /* confdefs.h. */
31762 _ACEOF
31763 cat confdefs.h >>conftest.$ac_ext
31764 cat >>conftest.$ac_ext <<_ACEOF
31765 /* end confdefs.h. */
31766
31767 /* Override any gcc2 internal prototype to avoid an error. */
31768 #ifdef __cplusplus
31769 extern "C"
31770 #endif
31771 /* We use char because int might match the return type of a gcc2
31772 builtin and then its argument prototype would still apply. */
31773 char dlopen ();
31774 int
31775 main ()
31776 {
31777 dlopen ();
31778 ;
31779 return 0;
31780 }
31781 _ACEOF
31782 rm -f conftest.$ac_objext conftest$ac_exeext
31783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31784 (eval $ac_link) 2>&5
31785 ac_status=$?
31786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 (exit $ac_status); } &&
31788 { ac_try='test -s conftest$ac_exeext'
31789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31790 (eval $ac_try) 2>&5
31791 ac_status=$?
31792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31793 (exit $ac_status); }; }; then
31794 ac_cv_lib_dl_dlopen=yes
31795 else
31796 echo "$as_me: failed program was:" >&5
31797 sed 's/^/| /' conftest.$ac_ext >&5
31798
31799 ac_cv_lib_dl_dlopen=no
31800 fi
31801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31802 LIBS=$ac_check_lib_save_LIBS
31803 fi
31804 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31805 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31806 if test $ac_cv_lib_dl_dlopen = yes; then
31807
31808 cat >>confdefs.h <<\_ACEOF
31809 #define HAVE_DLOPEN 1
31810 _ACEOF
31811
31812 HAVE_DL_FUNCS=1
31813 DL_LINK=" -ldl$DL_LINK"
31814
31815 else
31816
31817
31818 for ac_func in shl_load
31819 do
31820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31821 echo "$as_me:$LINENO: checking for $ac_func" >&5
31822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31823 if eval "test \"\${$as_ac_var+set}\" = set"; then
31824 echo $ECHO_N "(cached) $ECHO_C" >&6
31825 else
31826 cat >conftest.$ac_ext <<_ACEOF
31827 #line $LINENO "configure"
31828 /* confdefs.h. */
31829 _ACEOF
31830 cat confdefs.h >>conftest.$ac_ext
31831 cat >>conftest.$ac_ext <<_ACEOF
31832 /* end confdefs.h. */
31833 /* System header to define __stub macros and hopefully few prototypes,
31834 which can conflict with char $ac_func (); below.
31835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31836 <limits.h> exists even on freestanding compilers. */
31837 #ifdef __STDC__
31838 # include <limits.h>
31839 #else
31840 # include <assert.h>
31841 #endif
31842 /* Override any gcc2 internal prototype to avoid an error. */
31843 #ifdef __cplusplus
31844 extern "C"
31845 {
31846 #endif
31847 /* We use char because int might match the return type of a gcc2
31848 builtin and then its argument prototype would still apply. */
31849 char $ac_func ();
31850 /* The GNU C library defines this for functions which it implements
31851 to always fail with ENOSYS. Some functions are actually named
31852 something starting with __ and the normal name is an alias. */
31853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31854 choke me
31855 #else
31856 char (*f) () = $ac_func;
31857 #endif
31858 #ifdef __cplusplus
31859 }
31860 #endif
31861
31862 int
31863 main ()
31864 {
31865 return f != $ac_func;
31866 ;
31867 return 0;
31868 }
31869 _ACEOF
31870 rm -f conftest.$ac_objext conftest$ac_exeext
31871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31872 (eval $ac_link) 2>&5
31873 ac_status=$?
31874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31875 (exit $ac_status); } &&
31876 { ac_try='test -s conftest$ac_exeext'
31877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31878 (eval $ac_try) 2>&5
31879 ac_status=$?
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); }; }; then
31882 eval "$as_ac_var=yes"
31883 else
31884 echo "$as_me: failed program was:" >&5
31885 sed 's/^/| /' conftest.$ac_ext >&5
31886
31887 eval "$as_ac_var=no"
31888 fi
31889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31890 fi
31891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31893 if test `eval echo '${'$as_ac_var'}'` = yes; then
31894 cat >>confdefs.h <<_ACEOF
31895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31896 _ACEOF
31897
31898 cat >>confdefs.h <<\_ACEOF
31899 #define HAVE_SHL_LOAD 1
31900 _ACEOF
31901
31902 HAVE_SHL_FUNCS=1
31903
31904 else
31905
31906 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31907 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31908 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31909 echo $ECHO_N "(cached) $ECHO_C" >&6
31910 else
31911 ac_check_lib_save_LIBS=$LIBS
31912 LIBS="-lshl_load $LIBS"
31913 cat >conftest.$ac_ext <<_ACEOF
31914 #line $LINENO "configure"
31915 /* confdefs.h. */
31916 _ACEOF
31917 cat confdefs.h >>conftest.$ac_ext
31918 cat >>conftest.$ac_ext <<_ACEOF
31919 /* end confdefs.h. */
31920
31921 /* Override any gcc2 internal prototype to avoid an error. */
31922 #ifdef __cplusplus
31923 extern "C"
31924 #endif
31925 /* We use char because int might match the return type of a gcc2
31926 builtin and then its argument prototype would still apply. */
31927 char dld ();
31928 int
31929 main ()
31930 {
31931 dld ();
31932 ;
31933 return 0;
31934 }
31935 _ACEOF
31936 rm -f conftest.$ac_objext conftest$ac_exeext
31937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31938 (eval $ac_link) 2>&5
31939 ac_status=$?
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); } &&
31942 { ac_try='test -s conftest$ac_exeext'
31943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944 (eval $ac_try) 2>&5
31945 ac_status=$?
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); }; }; then
31948 ac_cv_lib_shl_load_dld=yes
31949 else
31950 echo "$as_me: failed program was:" >&5
31951 sed 's/^/| /' conftest.$ac_ext >&5
31952
31953 ac_cv_lib_shl_load_dld=no
31954 fi
31955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31956 LIBS=$ac_check_lib_save_LIBS
31957 fi
31958 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31959 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31960 if test $ac_cv_lib_shl_load_dld = yes; then
31961
31962 HAVE_SHL_FUNCS=1
31963 DL_LINK=" -ldld$DL_LINK"
31964
31965 fi
31966
31967
31968 fi
31969 done
31970
31971
31972 fi
31973
31974
31975 fi
31976 done
31977
31978
31979 if test "$HAVE_DL_FUNCS" = 1; then
31980
31981 for ac_func in dlerror
31982 do
31983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31984 echo "$as_me:$LINENO: checking for $ac_func" >&5
31985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31986 if eval "test \"\${$as_ac_var+set}\" = set"; then
31987 echo $ECHO_N "(cached) $ECHO_C" >&6
31988 else
31989 cat >conftest.$ac_ext <<_ACEOF
31990 #line $LINENO "configure"
31991 /* confdefs.h. */
31992 _ACEOF
31993 cat confdefs.h >>conftest.$ac_ext
31994 cat >>conftest.$ac_ext <<_ACEOF
31995 /* end confdefs.h. */
31996 /* System header to define __stub macros and hopefully few prototypes,
31997 which can conflict with char $ac_func (); below.
31998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31999 <limits.h> exists even on freestanding compilers. */
32000 #ifdef __STDC__
32001 # include <limits.h>
32002 #else
32003 # include <assert.h>
32004 #endif
32005 /* Override any gcc2 internal prototype to avoid an error. */
32006 #ifdef __cplusplus
32007 extern "C"
32008 {
32009 #endif
32010 /* We use char because int might match the return type of a gcc2
32011 builtin and then its argument prototype would still apply. */
32012 char $ac_func ();
32013 /* The GNU C library defines this for functions which it implements
32014 to always fail with ENOSYS. Some functions are actually named
32015 something starting with __ and the normal name is an alias. */
32016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32017 choke me
32018 #else
32019 char (*f) () = $ac_func;
32020 #endif
32021 #ifdef __cplusplus
32022 }
32023 #endif
32024
32025 int
32026 main ()
32027 {
32028 return f != $ac_func;
32029 ;
32030 return 0;
32031 }
32032 _ACEOF
32033 rm -f conftest.$ac_objext conftest$ac_exeext
32034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32035 (eval $ac_link) 2>&5
32036 ac_status=$?
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); } &&
32039 { ac_try='test -s conftest$ac_exeext'
32040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32041 (eval $ac_try) 2>&5
32042 ac_status=$?
32043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32044 (exit $ac_status); }; }; then
32045 eval "$as_ac_var=yes"
32046 else
32047 echo "$as_me: failed program was:" >&5
32048 sed 's/^/| /' conftest.$ac_ext >&5
32049
32050 eval "$as_ac_var=no"
32051 fi
32052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32053 fi
32054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32056 if test `eval echo '${'$as_ac_var'}'` = yes; then
32057 cat >>confdefs.h <<_ACEOF
32058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32059 _ACEOF
32060 cat >>confdefs.h <<\_ACEOF
32061 #define HAVE_DLERROR 1
32062 _ACEOF
32063
32064 else
32065 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32066 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32067 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32068 echo $ECHO_N "(cached) $ECHO_C" >&6
32069 else
32070 ac_check_lib_save_LIBS=$LIBS
32071 LIBS="-ldl $LIBS"
32072 cat >conftest.$ac_ext <<_ACEOF
32073 #line $LINENO "configure"
32074 /* confdefs.h. */
32075 _ACEOF
32076 cat confdefs.h >>conftest.$ac_ext
32077 cat >>conftest.$ac_ext <<_ACEOF
32078 /* end confdefs.h. */
32079
32080 /* Override any gcc2 internal prototype to avoid an error. */
32081 #ifdef __cplusplus
32082 extern "C"
32083 #endif
32084 /* We use char because int might match the return type of a gcc2
32085 builtin and then its argument prototype would still apply. */
32086 char dlerror ();
32087 int
32088 main ()
32089 {
32090 dlerror ();
32091 ;
32092 return 0;
32093 }
32094 _ACEOF
32095 rm -f conftest.$ac_objext conftest$ac_exeext
32096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32097 (eval $ac_link) 2>&5
32098 ac_status=$?
32099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100 (exit $ac_status); } &&
32101 { ac_try='test -s conftest$ac_exeext'
32102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32103 (eval $ac_try) 2>&5
32104 ac_status=$?
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); }; }; then
32107 ac_cv_lib_dl_dlerror=yes
32108 else
32109 echo "$as_me: failed program was:" >&5
32110 sed 's/^/| /' conftest.$ac_ext >&5
32111
32112 ac_cv_lib_dl_dlerror=no
32113 fi
32114 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32115 LIBS=$ac_check_lib_save_LIBS
32116 fi
32117 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32118 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32119 if test $ac_cv_lib_dl_dlerror = yes; then
32120 cat >>confdefs.h <<\_ACEOF
32121 #define HAVE_DLERROR 1
32122 _ACEOF
32123
32124 fi
32125
32126 fi
32127 done
32128
32129 fi
32130 fi
32131
32132 if test "$HAVE_DL_FUNCS" = 0; then
32133 if test "$HAVE_SHL_FUNCS" = 0; then
32134 if test "$USE_UNIX" = 1; then
32135 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32136 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32137 wxUSE_DYNAMIC_LOADER=no
32138 wxUSE_DYNLIB_CLASS=no
32139 else
32140 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32141 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32142 fi
32143 fi
32144 fi
32145 fi
32146 fi
32147
32148 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32149 cat >>confdefs.h <<\_ACEOF
32150 #define wxUSE_DYNAMIC_LOADER 1
32151 _ACEOF
32152
32153 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32154 cat >>confdefs.h <<\_ACEOF
32155 #define wxUSE_DYNLIB_CLASS 1
32156 _ACEOF
32157
32158 fi
32159
32160
32161 if test "$wxUSE_FONTMAP" = "yes" ; then
32162 cat >>confdefs.h <<\_ACEOF
32163 #define wxUSE_FONTMAP 1
32164 _ACEOF
32165
32166 fi
32167
32168 if test "$wxUSE_UNICODE" = "yes" ; then
32169 cat >>confdefs.h <<\_ACEOF
32170 #define wxUSE_UNICODE 1
32171 _ACEOF
32172
32173
32174 if test "$wxUSE_MSW" != 1; then
32175 wxUSE_UNICODE_MSLU=no
32176 fi
32177
32178 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32179 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32180 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32181 if test "${ac_cv_lib_unicows_main+set}" = set; then
32182 echo $ECHO_N "(cached) $ECHO_C" >&6
32183 else
32184 ac_check_lib_save_LIBS=$LIBS
32185 LIBS="-lunicows $LIBS"
32186 cat >conftest.$ac_ext <<_ACEOF
32187 #line $LINENO "configure"
32188 /* confdefs.h. */
32189 _ACEOF
32190 cat confdefs.h >>conftest.$ac_ext
32191 cat >>conftest.$ac_ext <<_ACEOF
32192 /* end confdefs.h. */
32193
32194
32195 int
32196 main ()
32197 {
32198 main ();
32199 ;
32200 return 0;
32201 }
32202 _ACEOF
32203 rm -f conftest.$ac_objext conftest$ac_exeext
32204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32205 (eval $ac_link) 2>&5
32206 ac_status=$?
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); } &&
32209 { ac_try='test -s conftest$ac_exeext'
32210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32211 (eval $ac_try) 2>&5
32212 ac_status=$?
32213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214 (exit $ac_status); }; }; then
32215 ac_cv_lib_unicows_main=yes
32216 else
32217 echo "$as_me: failed program was:" >&5
32218 sed 's/^/| /' conftest.$ac_ext >&5
32219
32220 ac_cv_lib_unicows_main=no
32221 fi
32222 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32223 LIBS=$ac_check_lib_save_LIBS
32224 fi
32225 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32226 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32227 if test $ac_cv_lib_unicows_main = yes; then
32228
32229 cat >>confdefs.h <<\_ACEOF
32230 #define wxUSE_UNICODE_MSLU 1
32231 _ACEOF
32232
32233
32234 else
32235
32236 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32237 Applications will only run on Windows NT/2000/XP!" >&5
32238 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32239 Applications will only run on Windows NT/2000/XP!" >&2;}
32240 wxUSE_UNICODE_MSLU=no
32241
32242 fi
32243
32244 fi
32245 fi
32246
32247 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32248 cat >>confdefs.h <<\_ACEOF
32249 #define wxUSE_EXPERIMENTAL_PRINTF 1
32250 _ACEOF
32251
32252 fi
32253
32254
32255 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32256 cat >>confdefs.h <<\_ACEOF
32257 #define wxUSE_POSTSCRIPT 1
32258 _ACEOF
32259
32260 fi
32261
32262 cat >>confdefs.h <<\_ACEOF
32263 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32264 _ACEOF
32265
32266
32267 cat >>confdefs.h <<\_ACEOF
32268 #define wxUSE_NORMALIZED_PS_FONTS 1
32269 _ACEOF
32270
32271
32272
32273 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32274 cat >>confdefs.h <<\_ACEOF
32275 #define wxUSE_CONSTRAINTS 1
32276 _ACEOF
32277
32278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32279 fi
32280
32281 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32282 cat >>confdefs.h <<\_ACEOF
32283 #define wxUSE_MDI_ARCHITECTURE 1
32284 _ACEOF
32285
32286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32287 fi
32288
32289 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32290 cat >>confdefs.h <<\_ACEOF
32291 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32292 _ACEOF
32293
32294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32295 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32297 fi
32298 fi
32299
32300 if test "$wxUSE_HELP" = "yes"; then
32301 cat >>confdefs.h <<\_ACEOF
32302 #define wxUSE_HELP 1
32303 _ACEOF
32304
32305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32306
32307 if test "$wxUSE_MSW" = 1; then
32308 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32309 cat >>confdefs.h <<\_ACEOF
32310 #define wxUSE_MS_HTML_HELP 1
32311 _ACEOF
32312
32313 fi
32314 fi
32315
32316 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32317 if test "$wxUSE_HTML" = "yes"; then
32318 cat >>confdefs.h <<\_ACEOF
32319 #define wxUSE_WXHTML_HELP 1
32320 _ACEOF
32321
32322 else
32323 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32324 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32325 wxUSE_WXHTML_HELP=no
32326 fi
32327 fi
32328 fi
32329
32330 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32331 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32332 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32333 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32334 else
32335 cat >>confdefs.h <<\_ACEOF
32336 #define wxUSE_PRINTING_ARCHITECTURE 1
32337 _ACEOF
32338
32339 fi
32340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32341 fi
32342
32343 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32344 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32345 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32346 { (exit 1); exit 1; }; }
32347 fi
32348
32349
32350 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32351 -o "$wxUSE_CLIPBOARD" = "yes" \
32352 -o "$wxUSE_OLE" = "yes" \
32353 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32354
32355 for ac_header in ole2.h
32356 do
32357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32359 echo "$as_me:$LINENO: checking for $ac_header" >&5
32360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32362 echo $ECHO_N "(cached) $ECHO_C" >&6
32363 fi
32364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32366 else
32367 # Is the header compilable?
32368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32370 cat >conftest.$ac_ext <<_ACEOF
32371 #line $LINENO "configure"
32372 /* confdefs.h. */
32373 _ACEOF
32374 cat confdefs.h >>conftest.$ac_ext
32375 cat >>conftest.$ac_ext <<_ACEOF
32376 /* end confdefs.h. */
32377 $ac_includes_default
32378 #include <$ac_header>
32379 _ACEOF
32380 rm -f conftest.$ac_objext
32381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32382 (eval $ac_compile) 2>&5
32383 ac_status=$?
32384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32385 (exit $ac_status); } &&
32386 { ac_try='test -s conftest.$ac_objext'
32387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32388 (eval $ac_try) 2>&5
32389 ac_status=$?
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); }; }; then
32392 ac_header_compiler=yes
32393 else
32394 echo "$as_me: failed program was:" >&5
32395 sed 's/^/| /' conftest.$ac_ext >&5
32396
32397 ac_header_compiler=no
32398 fi
32399 rm -f conftest.$ac_objext conftest.$ac_ext
32400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32401 echo "${ECHO_T}$ac_header_compiler" >&6
32402
32403 # Is the header present?
32404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32406 cat >conftest.$ac_ext <<_ACEOF
32407 #line $LINENO "configure"
32408 /* confdefs.h. */
32409 _ACEOF
32410 cat confdefs.h >>conftest.$ac_ext
32411 cat >>conftest.$ac_ext <<_ACEOF
32412 /* end confdefs.h. */
32413 #include <$ac_header>
32414 _ACEOF
32415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32417 ac_status=$?
32418 grep -v '^ *+' conftest.er1 >conftest.err
32419 rm -f conftest.er1
32420 cat conftest.err >&5
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); } >/dev/null; then
32423 if test -s conftest.err; then
32424 ac_cpp_err=$ac_c_preproc_warn_flag
32425 else
32426 ac_cpp_err=
32427 fi
32428 else
32429 ac_cpp_err=yes
32430 fi
32431 if test -z "$ac_cpp_err"; then
32432 ac_header_preproc=yes
32433 else
32434 echo "$as_me: failed program was:" >&5
32435 sed 's/^/| /' conftest.$ac_ext >&5
32436
32437 ac_header_preproc=no
32438 fi
32439 rm -f conftest.err conftest.$ac_ext
32440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32441 echo "${ECHO_T}$ac_header_preproc" >&6
32442
32443 # So? What about this header?
32444 case $ac_header_compiler:$ac_header_preproc in
32445 yes:no )
32446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32450 (
32451 cat <<\_ASBOX
32452 ## ------------------------------------ ##
32453 ## Report this to bug-autoconf@gnu.org. ##
32454 ## ------------------------------------ ##
32455 _ASBOX
32456 ) |
32457 sed "s/^/$as_me: WARNING: /" >&2
32458 ;;
32459 no:yes )
32460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32466 (
32467 cat <<\_ASBOX
32468 ## ------------------------------------ ##
32469 ## Report this to bug-autoconf@gnu.org. ##
32470 ## ------------------------------------ ##
32471 _ASBOX
32472 ) |
32473 sed "s/^/$as_me: WARNING: /" >&2
32474 ;;
32475 esac
32476 echo "$as_me:$LINENO: checking for $ac_header" >&5
32477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32479 echo $ECHO_N "(cached) $ECHO_C" >&6
32480 else
32481 eval "$as_ac_Header=$ac_header_preproc"
32482 fi
32483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32485
32486 fi
32487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32488 cat >>confdefs.h <<_ACEOF
32489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32490 _ACEOF
32491
32492 fi
32493
32494 done
32495
32496
32497 if test "$ac_cv_header_ole2_h" = "yes" ; then
32498 if test "$GCC" = yes ; then
32499
32500
32501 ac_ext=cc
32502 ac_cpp='$CXXCPP $CPPFLAGS'
32503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32506
32507
32508 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32509 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32510 cat >conftest.$ac_ext <<_ACEOF
32511 #line $LINENO "configure"
32512 /* confdefs.h. */
32513 _ACEOF
32514 cat confdefs.h >>conftest.$ac_ext
32515 cat >>conftest.$ac_ext <<_ACEOF
32516 /* end confdefs.h. */
32517 #include <windows.h>
32518 #include <ole2.h>
32519 int
32520 main ()
32521 {
32522
32523 ;
32524 return 0;
32525 }
32526 _ACEOF
32527 rm -f conftest.$ac_objext
32528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32529 (eval $ac_compile) 2>&5
32530 ac_status=$?
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } &&
32533 { ac_try='test -s conftest.$ac_objext'
32534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32535 (eval $ac_try) 2>&5
32536 ac_status=$?
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); }; }; then
32539 echo "$as_me:$LINENO: result: no" >&5
32540 echo "${ECHO_T}no" >&6
32541 else
32542 echo "$as_me: failed program was:" >&5
32543 sed 's/^/| /' conftest.$ac_ext >&5
32544
32545 echo "$as_me:$LINENO: result: yes" >&5
32546 echo "${ECHO_T}yes" >&6
32547 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32548 fi
32549 rm -f conftest.$ac_objext conftest.$ac_ext
32550 ac_ext=c
32551 ac_cpp='$CPP $CPPFLAGS'
32552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32555
32556 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32557 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32558 cat >>confdefs.h <<\_ACEOF
32559 #define wxUSE_OLE 1
32560 _ACEOF
32561
32562
32563 fi
32564
32565 cat >>confdefs.h <<\_ACEOF
32566 #define wxUSE_DATAOBJ 1
32567 _ACEOF
32568
32569 else
32570 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32571 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32572
32573 wxUSE_CLIPBOARD=no
32574 wxUSE_DRAG_AND_DROP=no
32575 wxUSE_DATAOBJ=no
32576 wxUSE_OLE=no
32577 fi
32578
32579 if test "$wxUSE_METAFILE" = "yes"; then
32580 cat >>confdefs.h <<\_ACEOF
32581 #define wxUSE_METAFILE 1
32582 _ACEOF
32583
32584
32585 cat >>confdefs.h <<\_ACEOF
32586 #define wxUSE_ENH_METAFILE 1
32587 _ACEOF
32588
32589 fi
32590 fi
32591
32592 if test "$wxUSE_IPC" = "yes"; then
32593 if test "$wxUSE_SOCKETS" != "yes"; then
32594 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32595 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32596 fi
32597
32598 cat >>confdefs.h <<\_ACEOF
32599 #define wxUSE_IPC 1
32600 _ACEOF
32601
32602 fi
32603
32604 if test "$wxUSE_CLIPBOARD" = "yes"; then
32605 if test "$wxUSE_MGL" = 1; then
32606 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32607 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32608 wxUSE_CLIPBOARD=no
32609 fi
32610
32611 if test "$wxUSE_CLIPBOARD" = "yes"; then
32612 cat >>confdefs.h <<\_ACEOF
32613 #define wxUSE_CLIPBOARD 1
32614 _ACEOF
32615
32616
32617 cat >>confdefs.h <<\_ACEOF
32618 #define wxUSE_DATAOBJ 1
32619 _ACEOF
32620
32621 fi
32622 fi
32623
32624 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32625 if test "$wxUSE_GTK" = 1; then
32626 if test "$WXGTK12" != 1; then
32627 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32628 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32629 wxUSE_DRAG_AND_DROP=no
32630 fi
32631 fi
32632
32633 if test "$wxUSE_MOTIF" = 1; then
32634 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32635 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32636 wxUSE_DRAG_AND_DROP=no
32637 fi
32638
32639 if test "$wxUSE_X11" = 1; then
32640 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32641 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32642 wxUSE_DRAG_AND_DROP=no
32643 fi
32644
32645 if test "$wxUSE_MGL" = 1; then
32646 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32647 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32648 wxUSE_DRAG_AND_DROP=no
32649 fi
32650
32651 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32652 cat >>confdefs.h <<\_ACEOF
32653 #define wxUSE_DRAG_AND_DROP 1
32654 _ACEOF
32655
32656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32657 fi
32658
32659 fi
32660
32661 if test "$wxUSE_SPLINES" = "yes" ; then
32662 cat >>confdefs.h <<\_ACEOF
32663 #define wxUSE_SPLINES 1
32664 _ACEOF
32665
32666 fi
32667
32668
32669 USES_CONTROLS=0
32670 if test "$wxUSE_CONTROLS" = "yes"; then
32671 USES_CONTROLS=1
32672 fi
32673
32674 if test "$wxUSE_ACCEL" = "yes"; then
32675 cat >>confdefs.h <<\_ACEOF
32676 #define wxUSE_ACCEL 1
32677 _ACEOF
32678
32679 USES_CONTROLS=1
32680 fi
32681
32682 if test "$wxUSE_BUTTON" = "yes"; then
32683 cat >>confdefs.h <<\_ACEOF
32684 #define wxUSE_BUTTON 1
32685 _ACEOF
32686
32687 USES_CONTROLS=1
32688 fi
32689
32690 if test "$wxUSE_BMPBUTTON" = "yes"; then
32691 cat >>confdefs.h <<\_ACEOF
32692 #define wxUSE_BMPBUTTON 1
32693 _ACEOF
32694
32695 USES_CONTROLS=1
32696 fi
32697
32698 if test "$wxUSE_CALCTRL" = "yes"; then
32699 cat >>confdefs.h <<\_ACEOF
32700 #define wxUSE_CALENDARCTRL 1
32701 _ACEOF
32702
32703 USES_CONTROLS=1
32704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32705 fi
32706
32707 if test "$wxUSE_CARET" = "yes"; then
32708 cat >>confdefs.h <<\_ACEOF
32709 #define wxUSE_CARET 1
32710 _ACEOF
32711
32712 USES_CONTROLS=1
32713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32714 fi
32715
32716 if test "$wxUSE_COMBOBOX" = "yes"; then
32717 cat >>confdefs.h <<\_ACEOF
32718 #define wxUSE_COMBOBOX 1
32719 _ACEOF
32720
32721 USES_CONTROLS=1
32722 fi
32723
32724 if test "$wxUSE_CHOICE" = "yes"; then
32725 cat >>confdefs.h <<\_ACEOF
32726 #define wxUSE_CHOICE 1
32727 _ACEOF
32728
32729 USES_CONTROLS=1
32730 fi
32731
32732 if test "$wxUSE_CHECKBOX" = "yes"; then
32733 cat >>confdefs.h <<\_ACEOF
32734 #define wxUSE_CHECKBOX 1
32735 _ACEOF
32736
32737 USES_CONTROLS=1
32738 fi
32739
32740 if test "$wxUSE_CHECKLST" = "yes"; then
32741 cat >>confdefs.h <<\_ACEOF
32742 #define wxUSE_CHECKLISTBOX 1
32743 _ACEOF
32744
32745 USES_CONTROLS=1
32746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32747 fi
32748
32749 if test "$wxUSE_DISPLAY" = "yes"; then
32750 cat >>confdefs.h <<\_ACEOF
32751 #define wxUSE_DISPLAY 1
32752 _ACEOF
32753
32754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32755 fi
32756
32757 if test "$wxUSE_GAUGE" = "yes"; then
32758 cat >>confdefs.h <<\_ACEOF
32759 #define wxUSE_GAUGE 1
32760 _ACEOF
32761
32762 USES_CONTROLS=1
32763 fi
32764
32765 if test "$wxUSE_GRID" = "yes"; then
32766 cat >>confdefs.h <<\_ACEOF
32767 #define wxUSE_GRID 1
32768 _ACEOF
32769
32770 USES_CONTROLS=1
32771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32772 fi
32773
32774 if test "$wxUSE_IMAGLIST" = "yes"; then
32775 cat >>confdefs.h <<\_ACEOF
32776 #define wxUSE_IMAGLIST 1
32777 _ACEOF
32778
32779 fi
32780
32781 if test "$wxUSE_LISTBOX" = "yes"; then
32782 cat >>confdefs.h <<\_ACEOF
32783 #define wxUSE_LISTBOX 1
32784 _ACEOF
32785
32786 USES_CONTROLS=1
32787 fi
32788
32789 if test "$wxUSE_LISTCTRL" = "yes"; then
32790 if test "$wxUSE_IMAGLIST" = "yes"; then
32791 cat >>confdefs.h <<\_ACEOF
32792 #define wxUSE_LISTCTRL 1
32793 _ACEOF
32794
32795 USES_CONTROLS=1
32796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32797 else
32798 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32799 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32800 fi
32801 fi
32802
32803 if test "$wxUSE_NOTEBOOK" = "yes"; then
32804 cat >>confdefs.h <<\_ACEOF
32805 #define wxUSE_NOTEBOOK 1
32806 _ACEOF
32807
32808 USES_CONTROLS=1
32809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32810 fi
32811
32812
32813 if test "$wxUSE_RADIOBOX" = "yes"; then
32814 cat >>confdefs.h <<\_ACEOF
32815 #define wxUSE_RADIOBOX 1
32816 _ACEOF
32817
32818 USES_CONTROLS=1
32819 fi
32820
32821 if test "$wxUSE_RADIOBTN" = "yes"; then
32822 cat >>confdefs.h <<\_ACEOF
32823 #define wxUSE_RADIOBTN 1
32824 _ACEOF
32825
32826 USES_CONTROLS=1
32827 fi
32828
32829 if test "$wxUSE_SASH" = "yes"; then
32830 cat >>confdefs.h <<\_ACEOF
32831 #define wxUSE_SASH 1
32832 _ACEOF
32833
32834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32835 fi
32836
32837 if test "$wxUSE_SCROLLBAR" = "yes"; then
32838 cat >>confdefs.h <<\_ACEOF
32839 #define wxUSE_SCROLLBAR 1
32840 _ACEOF
32841
32842 USES_CONTROLS=1
32843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32844 fi
32845
32846 if test "$wxUSE_SLIDER" = "yes"; then
32847 cat >>confdefs.h <<\_ACEOF
32848 #define wxUSE_SLIDER 1
32849 _ACEOF
32850
32851 USES_CONTROLS=1
32852 fi
32853
32854 if test "$wxUSE_SPINBTN" = "yes"; then
32855 cat >>confdefs.h <<\_ACEOF
32856 #define wxUSE_SPINBTN 1
32857 _ACEOF
32858
32859 USES_CONTROLS=1
32860 fi
32861
32862 if test "$wxUSE_SPINCTRL" = "yes"; then
32863 cat >>confdefs.h <<\_ACEOF
32864 #define wxUSE_SPINCTRL 1
32865 _ACEOF
32866
32867 USES_CONTROLS=1
32868 fi
32869
32870 if test "$wxUSE_SPLITTER" = "yes"; then
32871 cat >>confdefs.h <<\_ACEOF
32872 #define wxUSE_SPLITTER 1
32873 _ACEOF
32874
32875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32876 fi
32877
32878 if test "$wxUSE_STATBMP" = "yes"; then
32879 cat >>confdefs.h <<\_ACEOF
32880 #define wxUSE_STATBMP 1
32881 _ACEOF
32882
32883 USES_CONTROLS=1
32884 fi
32885
32886 if test "$wxUSE_STATBOX" = "yes"; then
32887 cat >>confdefs.h <<\_ACEOF
32888 #define wxUSE_STATBOX 1
32889 _ACEOF
32890
32891 USES_CONTROLS=1
32892 fi
32893
32894 if test "$wxUSE_STATTEXT" = "yes"; then
32895 cat >>confdefs.h <<\_ACEOF
32896 #define wxUSE_STATTEXT 1
32897 _ACEOF
32898
32899 USES_CONTROLS=1
32900 fi
32901
32902 if test "$wxUSE_STATLINE" = "yes"; then
32903 cat >>confdefs.h <<\_ACEOF
32904 #define wxUSE_STATLINE 1
32905 _ACEOF
32906
32907 USES_CONTROLS=1
32908 fi
32909
32910 if test "$wxUSE_STATUSBAR" = "yes"; then
32911 cat >>confdefs.h <<\_ACEOF
32912 #define wxUSE_STATUSBAR 1
32913 _ACEOF
32914
32915 USES_CONTROLS=1
32916
32917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32918 fi
32919
32920 if test "$wxUSE_TABDIALOG" = "yes"; then
32921 cat >>confdefs.h <<\_ACEOF
32922 #define wxUSE_TAB_DIALOG 1
32923 _ACEOF
32924
32925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32926 fi
32927
32928 if test "$wxUSE_TEXTCTRL" = "yes"; then
32929 cat >>confdefs.h <<\_ACEOF
32930 #define wxUSE_TEXTCTRL 1
32931 _ACEOF
32932
32933 USES_CONTROLS=1
32934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32935 fi
32936
32937 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32938 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32939 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32940 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32941 wxUSE_TOGGLEBTN=no
32942 fi
32943 if test "$wxUSE_UNIVERSAL" = "yes"; then
32944 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32945 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32946 wxUSE_TOGGLEBTN=no
32947 fi
32948
32949 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32950 cat >>confdefs.h <<\_ACEOF
32951 #define wxUSE_TOGGLEBTN 1
32952 _ACEOF
32953
32954 USES_CONTROLS=1
32955 fi
32956 fi
32957
32958 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32959 cat >>confdefs.h <<\_ACEOF
32960 #define wxUSE_TOOLBAR_SIMPLE 1
32961 _ACEOF
32962
32963 wxUSE_TOOLBAR="yes"
32964 USES_CONTROLS=1
32965 fi
32966
32967 if test "$wxUSE_TOOLBAR" = "yes"; then
32968 cat >>confdefs.h <<\_ACEOF
32969 #define wxUSE_TOOLBAR 1
32970 _ACEOF
32971
32972 USES_CONTROLS=1
32973
32974 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32975 wxUSE_TOOLBAR_NATIVE="yes"
32976 fi
32977
32978 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32979 cat >>confdefs.h <<\_ACEOF
32980 #define wxUSE_TOOLBAR_NATIVE 1
32981 _ACEOF
32982
32983 USES_CONTROLS=1
32984 fi
32985
32986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32987 fi
32988
32989 if test "$wxUSE_TOOLTIPS" = "yes"; then
32990 if test "$wxUSE_MOTIF" = 1; then
32991 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32992 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32993 else
32994 if test "$wxUSE_UNIVERSAL" = "yes"; then
32995 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32996 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32997 else
32998 cat >>confdefs.h <<\_ACEOF
32999 #define wxUSE_TOOLTIPS 1
33000 _ACEOF
33001
33002 fi
33003 fi
33004 fi
33005
33006 if test "$wxUSE_TREECTRL" = "yes"; then
33007 if test "$wxUSE_IMAGLIST" = "yes"; then
33008 cat >>confdefs.h <<\_ACEOF
33009 #define wxUSE_TREECTRL 1
33010 _ACEOF
33011
33012 USES_CONTROLS=1
33013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33014 else
33015 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33016 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33017 fi
33018 fi
33019
33020 if test "$wxUSE_POPUPWIN" = "yes"; then
33021 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33022 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33023 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33024 else
33025 if test "$wxUSE_MOTIF" = 1; then
33026 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33027 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33028 else
33029 if test "$wxUSE_PM" = 1; then
33030 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33031 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33032 else
33033 cat >>confdefs.h <<\_ACEOF
33034 #define wxUSE_POPUPWIN 1
33035 _ACEOF
33036
33037
33038 USES_CONTROLS=1
33039 fi
33040 fi
33041 fi
33042 fi
33043
33044 if test "$wxUSE_TIPWINDOW" = "yes"; then
33045 if test "$wxUSE_PM" = 1; then
33046 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33047 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33048 else
33049 cat >>confdefs.h <<\_ACEOF
33050 #define wxUSE_TIPWINDOW 1
33051 _ACEOF
33052
33053 fi
33054 fi
33055
33056 if test "$USES_CONTROLS" = 1; then
33057 cat >>confdefs.h <<\_ACEOF
33058 #define wxUSE_CONTROLS 1
33059 _ACEOF
33060
33061 fi
33062
33063
33064
33065 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33066 cat >>confdefs.h <<\_ACEOF
33067 #define wxUSE_DRAGIMAGE 1
33068 _ACEOF
33069
33070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33071 fi
33072
33073 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33074 cat >>confdefs.h <<\_ACEOF
33075 #define wxUSE_ACCESSIBILITY 1
33076 _ACEOF
33077
33078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33079 fi
33080
33081 if test "$wxUSE_MENUS" = "yes"; then
33082 cat >>confdefs.h <<\_ACEOF
33083 #define wxUSE_MENUS 1
33084 _ACEOF
33085
33086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33087 fi
33088
33089 if test "$wxUSE_METAFILE" = "yes"; then
33090 cat >>confdefs.h <<\_ACEOF
33091 #define wxUSE_METAFILE 1
33092 _ACEOF
33093
33094 fi
33095
33096 if test "$wxUSE_MIMETYPE" = "yes"; then
33097 cat >>confdefs.h <<\_ACEOF
33098 #define wxUSE_MIMETYPE 1
33099 _ACEOF
33100
33101 fi
33102
33103 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33104 cat >>confdefs.h <<\_ACEOF
33105 #define wxUSE_SYSTEM_OPTIONS 1
33106 _ACEOF
33107
33108 if test "$TOOLKIT" = "MSW"; then
33109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33110 fi
33111
33112 fi
33113
33114 if test "$wxUSE_MINIFRAME" = "yes"; then
33115 cat >>confdefs.h <<\_ACEOF
33116 #define wxUSE_MINIFRAME 1
33117 _ACEOF
33118
33119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33120 fi
33121
33122 USE_HTML=0
33123 if test "$wxUSE_HTML" = "yes"; then
33124 cat >>confdefs.h <<\_ACEOF
33125 #define wxUSE_HTML 1
33126 _ACEOF
33127
33128 USE_HTML=1
33129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33130 fi
33131
33132 if test "$wxUSE_VALIDATORS" = "yes"; then
33133 cat >>confdefs.h <<\_ACEOF
33134 #define wxUSE_VALIDATORS 1
33135 _ACEOF
33136
33137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33138 fi
33139
33140 if test "$wxUSE_PALETTE" = "yes" ; then
33141 cat >>confdefs.h <<\_ACEOF
33142 #define wxUSE_PALETTE 1
33143 _ACEOF
33144
33145 fi
33146
33147 if test "$wxUSE_IMAGE" = "yes" ; then
33148 cat >>confdefs.h <<\_ACEOF
33149 #define wxUSE_IMAGE 1
33150 _ACEOF
33151
33152 fi
33153
33154 if test "$wxUSE_GIF" = "yes" ; then
33155 cat >>confdefs.h <<\_ACEOF
33156 #define wxUSE_GIF 1
33157 _ACEOF
33158
33159 fi
33160
33161 if test "$wxUSE_PCX" = "yes" ; then
33162 cat >>confdefs.h <<\_ACEOF
33163 #define wxUSE_PCX 1
33164 _ACEOF
33165
33166 fi
33167
33168 if test "$wxUSE_IFF" = "yes" ; then
33169 cat >>confdefs.h <<\_ACEOF
33170 #define wxUSE_IFF 1
33171 _ACEOF
33172
33173 fi
33174
33175 if test "$wxUSE_PNM" = "yes" ; then
33176 cat >>confdefs.h <<\_ACEOF
33177 #define wxUSE_PNM 1
33178 _ACEOF
33179
33180 fi
33181
33182 if test "$wxUSE_XPM" = "yes" ; then
33183 cat >>confdefs.h <<\_ACEOF
33184 #define wxUSE_XPM 1
33185 _ACEOF
33186
33187 fi
33188
33189 if test "$wxUSE_ICO_CUR" = "yes" ; then
33190 cat >>confdefs.h <<\_ACEOF
33191 #define wxUSE_ICO_CUR 1
33192 _ACEOF
33193
33194 fi
33195
33196 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33197 LIBS=" -lunicows $LIBS"
33198 fi
33199
33200
33201 if test "$wxUSE_CHOICEDLG" = "yes"; then
33202 cat >>confdefs.h <<\_ACEOF
33203 #define wxUSE_CHOICEDLG 1
33204 _ACEOF
33205
33206 fi
33207
33208 if test "$wxUSE_COLOURDLG" = "yes"; then
33209 cat >>confdefs.h <<\_ACEOF
33210 #define wxUSE_COLOURDLG 1
33211 _ACEOF
33212
33213 fi
33214
33215 if test "$wxUSE_FILEDLG" = "yes"; then
33216 cat >>confdefs.h <<\_ACEOF
33217 #define wxUSE_FILEDLG 1
33218 _ACEOF
33219
33220 fi
33221
33222 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33223 cat >>confdefs.h <<\_ACEOF
33224 #define wxUSE_FINDREPLDLG 1
33225 _ACEOF
33226
33227 fi
33228
33229 if test "$wxUSE_FONTDLG" = "yes"; then
33230 cat >>confdefs.h <<\_ACEOF
33231 #define wxUSE_FONTDLG 1
33232 _ACEOF
33233
33234 fi
33235
33236 if test "$wxUSE_DIRDLG" = "yes"; then
33237 if test "$wxUSE_TREECTRL" != "yes"; then
33238 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33239 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33240 else
33241 cat >>confdefs.h <<\_ACEOF
33242 #define wxUSE_DIRDLG 1
33243 _ACEOF
33244
33245 fi
33246 fi
33247
33248 if test "$wxUSE_MSGDLG" = "yes"; then
33249 cat >>confdefs.h <<\_ACEOF
33250 #define wxUSE_MSGDLG 1
33251 _ACEOF
33252
33253 fi
33254
33255 if test "$wxUSE_NUMBERDLG" = "yes"; then
33256 cat >>confdefs.h <<\_ACEOF
33257 #define wxUSE_NUMBERDLG 1
33258 _ACEOF
33259
33260 fi
33261
33262 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33263 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33264 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33265 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33266 else
33267 cat >>confdefs.h <<\_ACEOF
33268 #define wxUSE_PROGRESSDLG 1
33269 _ACEOF
33270
33271 fi
33272 fi
33273
33274 if test "$wxUSE_SPLASH" = "yes"; then
33275 cat >>confdefs.h <<\_ACEOF
33276 #define wxUSE_SPLASH 1
33277 _ACEOF
33278
33279 fi
33280
33281 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33282 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33283 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33284 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33285 else
33286 cat >>confdefs.h <<\_ACEOF
33287 #define wxUSE_STARTUP_TIPS 1
33288 _ACEOF
33289
33290 fi
33291 fi
33292
33293 if test "$wxUSE_TEXTDLG" = "yes"; then
33294 cat >>confdefs.h <<\_ACEOF
33295 #define wxUSE_TEXTDLG 1
33296 _ACEOF
33297
33298 fi
33299
33300 if test "$wxUSE_WIZARDDLG" = "yes"; then
33301 cat >>confdefs.h <<\_ACEOF
33302 #define wxUSE_WIZARDDLG 1
33303 _ACEOF
33304
33305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33306 fi
33307
33308
33309 if test "$cross_compiling" = "yes"; then
33310 OSINFO="\"$host\""
33311 else
33312 OSINFO=`uname -s -r -m`
33313 OSINFO="\"$OSINFO\""
33314 fi
33315
33316 cat >>confdefs.h <<_ACEOF
33317 #define WXWIN_OS_DESCRIPTION $OSINFO
33318 _ACEOF
33319
33320
33321
33322 if test "x$prefix" != "xNONE"; then
33323 wxPREFIX=$prefix
33324 else
33325 wxPREFIX=$ac_default_prefix
33326 fi
33327
33328 cat >>confdefs.h <<_ACEOF
33329 #define wxINSTALL_PREFIX "$wxPREFIX"
33330 _ACEOF
33331
33332
33333 top_builddir_wxconfig=`pwd`
33334
33335
33336
33337
33338 if test "$wxUSE_MAC" = 1 ; then
33339 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33340 fi
33341 if test "$wxUSE_COCOA" = 1 ; then
33342 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33343 fi
33344
33345
33346 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33347
33348 have_cos=0
33349 have_floor=0
33350
33351 for ac_func in cos
33352 do
33353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33354 echo "$as_me:$LINENO: checking for $ac_func" >&5
33355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33356 if eval "test \"\${$as_ac_var+set}\" = set"; then
33357 echo $ECHO_N "(cached) $ECHO_C" >&6
33358 else
33359 cat >conftest.$ac_ext <<_ACEOF
33360 #line $LINENO "configure"
33361 /* confdefs.h. */
33362 _ACEOF
33363 cat confdefs.h >>conftest.$ac_ext
33364 cat >>conftest.$ac_ext <<_ACEOF
33365 /* end confdefs.h. */
33366 /* System header to define __stub macros and hopefully few prototypes,
33367 which can conflict with char $ac_func (); below.
33368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33369 <limits.h> exists even on freestanding compilers. */
33370 #ifdef __STDC__
33371 # include <limits.h>
33372 #else
33373 # include <assert.h>
33374 #endif
33375 /* Override any gcc2 internal prototype to avoid an error. */
33376 #ifdef __cplusplus
33377 extern "C"
33378 {
33379 #endif
33380 /* We use char because int might match the return type of a gcc2
33381 builtin and then its argument prototype would still apply. */
33382 char $ac_func ();
33383 /* The GNU C library defines this for functions which it implements
33384 to always fail with ENOSYS. Some functions are actually named
33385 something starting with __ and the normal name is an alias. */
33386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33387 choke me
33388 #else
33389 char (*f) () = $ac_func;
33390 #endif
33391 #ifdef __cplusplus
33392 }
33393 #endif
33394
33395 int
33396 main ()
33397 {
33398 return f != $ac_func;
33399 ;
33400 return 0;
33401 }
33402 _ACEOF
33403 rm -f conftest.$ac_objext conftest$ac_exeext
33404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33405 (eval $ac_link) 2>&5
33406 ac_status=$?
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); } &&
33409 { ac_try='test -s conftest$ac_exeext'
33410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33411 (eval $ac_try) 2>&5
33412 ac_status=$?
33413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33414 (exit $ac_status); }; }; then
33415 eval "$as_ac_var=yes"
33416 else
33417 echo "$as_me: failed program was:" >&5
33418 sed 's/^/| /' conftest.$ac_ext >&5
33419
33420 eval "$as_ac_var=no"
33421 fi
33422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33423 fi
33424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33426 if test `eval echo '${'$as_ac_var'}'` = yes; then
33427 cat >>confdefs.h <<_ACEOF
33428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33429 _ACEOF
33430 have_cos=1
33431 fi
33432 done
33433
33434
33435 for ac_func in floor
33436 do
33437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33438 echo "$as_me:$LINENO: checking for $ac_func" >&5
33439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33440 if eval "test \"\${$as_ac_var+set}\" = set"; then
33441 echo $ECHO_N "(cached) $ECHO_C" >&6
33442 else
33443 cat >conftest.$ac_ext <<_ACEOF
33444 #line $LINENO "configure"
33445 /* confdefs.h. */
33446 _ACEOF
33447 cat confdefs.h >>conftest.$ac_ext
33448 cat >>conftest.$ac_ext <<_ACEOF
33449 /* end confdefs.h. */
33450 /* System header to define __stub macros and hopefully few prototypes,
33451 which can conflict with char $ac_func (); below.
33452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33453 <limits.h> exists even on freestanding compilers. */
33454 #ifdef __STDC__
33455 # include <limits.h>
33456 #else
33457 # include <assert.h>
33458 #endif
33459 /* Override any gcc2 internal prototype to avoid an error. */
33460 #ifdef __cplusplus
33461 extern "C"
33462 {
33463 #endif
33464 /* We use char because int might match the return type of a gcc2
33465 builtin and then its argument prototype would still apply. */
33466 char $ac_func ();
33467 /* The GNU C library defines this for functions which it implements
33468 to always fail with ENOSYS. Some functions are actually named
33469 something starting with __ and the normal name is an alias. */
33470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33471 choke me
33472 #else
33473 char (*f) () = $ac_func;
33474 #endif
33475 #ifdef __cplusplus
33476 }
33477 #endif
33478
33479 int
33480 main ()
33481 {
33482 return f != $ac_func;
33483 ;
33484 return 0;
33485 }
33486 _ACEOF
33487 rm -f conftest.$ac_objext conftest$ac_exeext
33488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33489 (eval $ac_link) 2>&5
33490 ac_status=$?
33491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33492 (exit $ac_status); } &&
33493 { ac_try='test -s conftest$ac_exeext'
33494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33495 (eval $ac_try) 2>&5
33496 ac_status=$?
33497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33498 (exit $ac_status); }; }; then
33499 eval "$as_ac_var=yes"
33500 else
33501 echo "$as_me: failed program was:" >&5
33502 sed 's/^/| /' conftest.$ac_ext >&5
33503
33504 eval "$as_ac_var=no"
33505 fi
33506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33507 fi
33508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33510 if test `eval echo '${'$as_ac_var'}'` = yes; then
33511 cat >>confdefs.h <<_ACEOF
33512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33513 _ACEOF
33514 have_floor=1
33515 fi
33516 done
33517
33518 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33519 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33520 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33521 echo "$as_me:$LINENO: result: yes" >&5
33522 echo "${ECHO_T}yes" >&6
33523 else
33524 echo "$as_me:$LINENO: result: no" >&5
33525 echo "${ECHO_T}no" >&6
33526 LIBS="$LIBS -lm"
33527 # use different functions to avoid configure caching
33528 have_sin=0
33529 have_ceil=0
33530
33531 for ac_func in sin
33532 do
33533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33534 echo "$as_me:$LINENO: checking for $ac_func" >&5
33535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33536 if eval "test \"\${$as_ac_var+set}\" = set"; then
33537 echo $ECHO_N "(cached) $ECHO_C" >&6
33538 else
33539 cat >conftest.$ac_ext <<_ACEOF
33540 #line $LINENO "configure"
33541 /* confdefs.h. */
33542 _ACEOF
33543 cat confdefs.h >>conftest.$ac_ext
33544 cat >>conftest.$ac_ext <<_ACEOF
33545 /* end confdefs.h. */
33546 /* System header to define __stub macros and hopefully few prototypes,
33547 which can conflict with char $ac_func (); below.
33548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33549 <limits.h> exists even on freestanding compilers. */
33550 #ifdef __STDC__
33551 # include <limits.h>
33552 #else
33553 # include <assert.h>
33554 #endif
33555 /* Override any gcc2 internal prototype to avoid an error. */
33556 #ifdef __cplusplus
33557 extern "C"
33558 {
33559 #endif
33560 /* We use char because int might match the return type of a gcc2
33561 builtin and then its argument prototype would still apply. */
33562 char $ac_func ();
33563 /* The GNU C library defines this for functions which it implements
33564 to always fail with ENOSYS. Some functions are actually named
33565 something starting with __ and the normal name is an alias. */
33566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33567 choke me
33568 #else
33569 char (*f) () = $ac_func;
33570 #endif
33571 #ifdef __cplusplus
33572 }
33573 #endif
33574
33575 int
33576 main ()
33577 {
33578 return f != $ac_func;
33579 ;
33580 return 0;
33581 }
33582 _ACEOF
33583 rm -f conftest.$ac_objext conftest$ac_exeext
33584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33585 (eval $ac_link) 2>&5
33586 ac_status=$?
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); } &&
33589 { ac_try='test -s conftest$ac_exeext'
33590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33591 (eval $ac_try) 2>&5
33592 ac_status=$?
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); }; }; then
33595 eval "$as_ac_var=yes"
33596 else
33597 echo "$as_me: failed program was:" >&5
33598 sed 's/^/| /' conftest.$ac_ext >&5
33599
33600 eval "$as_ac_var=no"
33601 fi
33602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33603 fi
33604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33606 if test `eval echo '${'$as_ac_var'}'` = yes; then
33607 cat >>confdefs.h <<_ACEOF
33608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33609 _ACEOF
33610 have_sin=1
33611 fi
33612 done
33613
33614
33615 for ac_func in ceil
33616 do
33617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33618 echo "$as_me:$LINENO: checking for $ac_func" >&5
33619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33620 if eval "test \"\${$as_ac_var+set}\" = set"; then
33621 echo $ECHO_N "(cached) $ECHO_C" >&6
33622 else
33623 cat >conftest.$ac_ext <<_ACEOF
33624 #line $LINENO "configure"
33625 /* confdefs.h. */
33626 _ACEOF
33627 cat confdefs.h >>conftest.$ac_ext
33628 cat >>conftest.$ac_ext <<_ACEOF
33629 /* end confdefs.h. */
33630 /* System header to define __stub macros and hopefully few prototypes,
33631 which can conflict with char $ac_func (); below.
33632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33633 <limits.h> exists even on freestanding compilers. */
33634 #ifdef __STDC__
33635 # include <limits.h>
33636 #else
33637 # include <assert.h>
33638 #endif
33639 /* Override any gcc2 internal prototype to avoid an error. */
33640 #ifdef __cplusplus
33641 extern "C"
33642 {
33643 #endif
33644 /* We use char because int might match the return type of a gcc2
33645 builtin and then its argument prototype would still apply. */
33646 char $ac_func ();
33647 /* The GNU C library defines this for functions which it implements
33648 to always fail with ENOSYS. Some functions are actually named
33649 something starting with __ and the normal name is an alias. */
33650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33651 choke me
33652 #else
33653 char (*f) () = $ac_func;
33654 #endif
33655 #ifdef __cplusplus
33656 }
33657 #endif
33658
33659 int
33660 main ()
33661 {
33662 return f != $ac_func;
33663 ;
33664 return 0;
33665 }
33666 _ACEOF
33667 rm -f conftest.$ac_objext conftest$ac_exeext
33668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33669 (eval $ac_link) 2>&5
33670 ac_status=$?
33671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33672 (exit $ac_status); } &&
33673 { ac_try='test -s conftest$ac_exeext'
33674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33675 (eval $ac_try) 2>&5
33676 ac_status=$?
33677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678 (exit $ac_status); }; }; then
33679 eval "$as_ac_var=yes"
33680 else
33681 echo "$as_me: failed program was:" >&5
33682 sed 's/^/| /' conftest.$ac_ext >&5
33683
33684 eval "$as_ac_var=no"
33685 fi
33686 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33687 fi
33688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33690 if test `eval echo '${'$as_ac_var'}'` = yes; then
33691 cat >>confdefs.h <<_ACEOF
33692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33693 _ACEOF
33694 have_ceil=1
33695 fi
33696 done
33697
33698 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33699 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33700 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33701 echo "$as_me:$LINENO: result: yes" >&5
33702 echo "${ECHO_T}yes" >&6
33703 else
33704 echo "$as_me:$LINENO: result: no" >&5
33705 echo "${ECHO_T}no" >&6
33706 # not sure we should warn the user, crash, etc.
33707 fi
33708 fi
33709
33710 if test "$wxUSE_GUI" = "yes"; then
33711
33712
33713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33714 drawing dynamic erase event exec font image \
33715 minimal propsize rotate shaped widgets"
33716
33717 if test "$wxUSE_MONOLITHIC" != "yes"; then
33718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33719 fi
33720 else
33721 SAMPLES_SUBDIRS="console"
33722 fi
33723
33724
33725 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33726 -I\${top_srcdir}/include \
33727 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33728 $TOOLKIT_INCLUDE"
33729
33730 if test "$GXX" = yes ; then
33731 CXXWARNINGS="-Wall"
33732 fi
33733
33734 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33735
33736 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33737 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33738 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33739
33740
33741 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33742 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33743 EXTRALIBS_XML="$EXPAT_LINK"
33744 if test "$wxUSE_GUI" = "yes"; then
33745 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33746 fi
33747 if test "$wxUSE_OPENGL" = "yes"; then
33748 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33749 fi
33750
33751 LDFLAGS="$LDFLAGS $PROFILE"
33752
33753 if test "$wxUSE_GTK" = 1; then
33754 WXCONFIG_INCLUDE=
33755 else
33756 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33757 fi
33758
33759 WXCONFIG_EXTRALIBS="$LIBS"
33760
33761 if test "$wxUSE_REGEX" = "builtin" ; then
33762 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33763 fi
33764 if test "$wxUSE_EXPAT" = "builtin" ; then
33765 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33766 fi
33767 if test "$wxUSE_ODBC" = "builtin" ; then
33768 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33769 fi
33770 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33771 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33772 fi
33773 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33774 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33775 fi
33776 if test "$wxUSE_LIBPNG" = "builtin" ; then
33777 wxconfig_3rdparty="$wxconfig_3rdparty png"
33778 fi
33779 if test "$wxUSE_ZLIB" = "builtin" ; then
33780 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33781 fi
33782
33783 for i in $wxconfig_3rdparty ; do
33784 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33785 done
33786
33787
33788 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33789 WXUNIV=1
33790 else
33791 WXUNIV=0
33792 fi
33793
33794
33795
33796
33797
33798
33799
33800
33801
33802 if test $wxUSE_MONOLITHIC = "yes" ; then
33803 MONOLITHIC=1
33804 else
33805 MONOLITHIC=0
33806 fi
33807
33808 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33809 OFFICIAL_BUILD=1
33810 else
33811 OFFICIAL_BUILD=0
33812 fi
33813
33814
33815
33816
33817
33818
33819
33820
33821
33822
33823
33824
33825
33826
33827 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33828
33829
33830
33831
33832
33833
33834 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33835
33836 if test -n "$ac_tool_prefix"; then
33837 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33838 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33839 echo "$as_me:$LINENO: checking for $ac_word" >&5
33840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33841 if test "${ac_cv_prog_RANLIB+set}" = set; then
33842 echo $ECHO_N "(cached) $ECHO_C" >&6
33843 else
33844 if test -n "$RANLIB"; then
33845 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33846 else
33847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33848 for as_dir in $PATH
33849 do
33850 IFS=$as_save_IFS
33851 test -z "$as_dir" && as_dir=.
33852 for ac_exec_ext in '' $ac_executable_extensions; do
33853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33854 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33856 break 2
33857 fi
33858 done
33859 done
33860
33861 fi
33862 fi
33863 RANLIB=$ac_cv_prog_RANLIB
33864 if test -n "$RANLIB"; then
33865 echo "$as_me:$LINENO: result: $RANLIB" >&5
33866 echo "${ECHO_T}$RANLIB" >&6
33867 else
33868 echo "$as_me:$LINENO: result: no" >&5
33869 echo "${ECHO_T}no" >&6
33870 fi
33871
33872 fi
33873 if test -z "$ac_cv_prog_RANLIB"; then
33874 ac_ct_RANLIB=$RANLIB
33875 # Extract the first word of "ranlib", so it can be a program name with args.
33876 set dummy ranlib; ac_word=$2
33877 echo "$as_me:$LINENO: checking for $ac_word" >&5
33878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33879 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33880 echo $ECHO_N "(cached) $ECHO_C" >&6
33881 else
33882 if test -n "$ac_ct_RANLIB"; then
33883 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33884 else
33885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33886 for as_dir in $PATH
33887 do
33888 IFS=$as_save_IFS
33889 test -z "$as_dir" && as_dir=.
33890 for ac_exec_ext in '' $ac_executable_extensions; do
33891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33892 ac_cv_prog_ac_ct_RANLIB="ranlib"
33893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33894 break 2
33895 fi
33896 done
33897 done
33898
33899 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33900 fi
33901 fi
33902 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33903 if test -n "$ac_ct_RANLIB"; then
33904 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33905 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33906 else
33907 echo "$as_me:$LINENO: result: no" >&5
33908 echo "${ECHO_T}no" >&6
33909 fi
33910
33911 RANLIB=$ac_ct_RANLIB
33912 else
33913 RANLIB="$ac_cv_prog_RANLIB"
33914 fi
33915
33916 # Find a good install program. We prefer a C program (faster),
33917 # so one script is as good as another. But avoid the broken or
33918 # incompatible versions:
33919 # SysV /etc/install, /usr/sbin/install
33920 # SunOS /usr/etc/install
33921 # IRIX /sbin/install
33922 # AIX /bin/install
33923 # AmigaOS /C/install, which installs bootblocks on floppy discs
33924 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33925 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33926 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33927 # ./install, which can be erroneously created by make from ./install.sh.
33928 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33929 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33930 if test -z "$INSTALL"; then
33931 if test "${ac_cv_path_install+set}" = set; then
33932 echo $ECHO_N "(cached) $ECHO_C" >&6
33933 else
33934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33935 for as_dir in $PATH
33936 do
33937 IFS=$as_save_IFS
33938 test -z "$as_dir" && as_dir=.
33939 # Account for people who put trailing slashes in PATH elements.
33940 case $as_dir/ in
33941 ./ | .// | /cC/* | \
33942 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33943 /usr/ucb/* ) ;;
33944 *)
33945 # OSF1 and SCO ODT 3.0 have their own names for install.
33946 # Don't use installbsd from OSF since it installs stuff as root
33947 # by default.
33948 for ac_prog in ginstall scoinst install; do
33949 for ac_exec_ext in '' $ac_executable_extensions; do
33950 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33951 if test $ac_prog = install &&
33952 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33953 # AIX install. It has an incompatible calling convention.
33954 :
33955 elif test $ac_prog = install &&
33956 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33957 # program-specific install script used by HP pwplus--don't use.
33958 :
33959 else
33960 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33961 break 3
33962 fi
33963 fi
33964 done
33965 done
33966 ;;
33967 esac
33968 done
33969
33970
33971 fi
33972 if test "${ac_cv_path_install+set}" = set; then
33973 INSTALL=$ac_cv_path_install
33974 else
33975 # As a last resort, use the slow shell script. We don't cache a
33976 # path for INSTALL within a source directory, because that will
33977 # break other packages using the cache if that directory is
33978 # removed, or if the path is relative.
33979 INSTALL=$ac_install_sh
33980 fi
33981 fi
33982 echo "$as_me:$LINENO: result: $INSTALL" >&5
33983 echo "${ECHO_T}$INSTALL" >&6
33984
33985 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33986 # It thinks the first close brace ends the variable substitution.
33987 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33988
33989 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33990
33991 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33992
33993 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33994 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33995 LN_S=$as_ln_s
33996 if test "$LN_S" = "ln -s"; then
33997 echo "$as_me:$LINENO: result: yes" >&5
33998 echo "${ECHO_T}yes" >&6
33999 else
34000 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34001 echo "${ECHO_T}no, using $LN_S" >&6
34002 fi
34003
34004
34005 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34006 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34007 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34008 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34009 echo $ECHO_N "(cached) $ECHO_C" >&6
34010 else
34011 cat >conftest.make <<\_ACEOF
34012 all:
34013 @echo 'ac_maketemp="$(MAKE)"'
34014 _ACEOF
34015 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34016 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34017 if test -n "$ac_maketemp"; then
34018 eval ac_cv_prog_make_${ac_make}_set=yes
34019 else
34020 eval ac_cv_prog_make_${ac_make}_set=no
34021 fi
34022 rm -f conftest.make
34023 fi
34024 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34025 echo "$as_me:$LINENO: result: yes" >&5
34026 echo "${ECHO_T}yes" >&6
34027 SET_MAKE=
34028 else
34029 echo "$as_me:$LINENO: result: no" >&5
34030 echo "${ECHO_T}no" >&6
34031 SET_MAKE="MAKE=${MAKE-make}"
34032 fi
34033
34034
34035
34036 if test "$build" != "$host" ; then
34037 AR=$host_alias-ar
34038 STRIP=$host_alias-strip
34039 else
34040 # Extract the first word of "ar", so it can be a program name with args.
34041 set dummy ar; ac_word=$2
34042 echo "$as_me:$LINENO: checking for $ac_word" >&5
34043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34044 if test "${ac_cv_prog_AR+set}" = set; then
34045 echo $ECHO_N "(cached) $ECHO_C" >&6
34046 else
34047 if test -n "$AR"; then
34048 ac_cv_prog_AR="$AR" # Let the user override the test.
34049 else
34050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34051 for as_dir in $PATH
34052 do
34053 IFS=$as_save_IFS
34054 test -z "$as_dir" && as_dir=.
34055 for ac_exec_ext in '' $ac_executable_extensions; do
34056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34057 ac_cv_prog_AR="ar"
34058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34059 break 2
34060 fi
34061 done
34062 done
34063
34064 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
34065 fi
34066 fi
34067 AR=$ac_cv_prog_AR
34068 if test -n "$AR"; then
34069 echo "$as_me:$LINENO: result: $AR" >&5
34070 echo "${ECHO_T}$AR" >&6
34071 else
34072 echo "$as_me:$LINENO: result: no" >&5
34073 echo "${ECHO_T}no" >&6
34074 fi
34075
34076 # Extract the first word of "strip", so it can be a program name with args.
34077 set dummy strip; ac_word=$2
34078 echo "$as_me:$LINENO: checking for $ac_word" >&5
34079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34080 if test "${ac_cv_prog_STRIP+set}" = set; then
34081 echo $ECHO_N "(cached) $ECHO_C" >&6
34082 else
34083 if test -n "$STRIP"; then
34084 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34085 else
34086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34087 for as_dir in $PATH
34088 do
34089 IFS=$as_save_IFS
34090 test -z "$as_dir" && as_dir=.
34091 for ac_exec_ext in '' $ac_executable_extensions; do
34092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34093 ac_cv_prog_STRIP="strip"
34094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34095 break 2
34096 fi
34097 done
34098 done
34099
34100 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
34101 fi
34102 fi
34103 STRIP=$ac_cv_prog_STRIP
34104 if test -n "$STRIP"; then
34105 echo "$as_me:$LINENO: result: $STRIP" >&5
34106 echo "${ECHO_T}$STRIP" >&6
34107 else
34108 echo "$as_me:$LINENO: result: no" >&5
34109 echo "${ECHO_T}no" >&6
34110 fi
34111
34112 fi
34113
34114 case ${host} in
34115 *-hp-hpux* )
34116 INSTALL_DIR="mkdir"
34117 ;;
34118 *) INSTALL_DIR="$INSTALL -d"
34119 ;;
34120 esac
34121
34122
34123 LDFLAGS_GUI=
34124 case ${host} in
34125 *-*-cygwin* | *-*-mingw32* )
34126 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34127 esac
34128
34129
34130 fi
34131
34132 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34133 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34134 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34135 echo $ECHO_N "(cached) $ECHO_C" >&6
34136 else
34137
34138 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34139 egrep -s GNU > /dev/null); then
34140 bakefile_cv_prog_makeisgnu="yes"
34141 else
34142 bakefile_cv_prog_makeisgnu="no"
34143 fi
34144
34145 fi
34146 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34147 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34148
34149 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34150 IF_GNU_MAKE=""
34151 else
34152 IF_GNU_MAKE="#"
34153 fi
34154
34155
34156
34157 PLATFORM_UNIX=0
34158 PLATFORM_WIN32=0
34159 PLATFORM_MSDOS=0
34160 PLATFORM_MAC=0
34161 PLATFORM_MACOSX=0
34162
34163 case "${host}" in
34164 *-*-cygwin* | *-*-mingw32* )
34165 PLATFORM_WIN32=1
34166 ;;
34167 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34168 PLATFORM_MSDOS=1
34169 ;;
34170 powerpc-*-darwin* )
34171 PLATFORM_MAC=1
34172 PLATFORM_MACOSX=1
34173 ;;
34174 * )
34175 PLATFORM_UNIX=1
34176 ;;
34177 esac
34178
34179
34180
34181
34182
34183
34184
34185
34186 SO_SUFFIX="so"
34187 EXEEXT=""
34188 DLLPREFIX=lib
34189
34190 case "${host}" in
34191 *-hp-hpux* )
34192 SO_SUFFIX="sl"
34193 ;;
34194 *-*-aix* )
34195 SO_SUFFIX="a"
34196 ;;
34197 *-*-cygwin* | *-*-mingw32* )
34198 SO_SUFFIX="dll"
34199 EXEEXT=".exe"
34200 DLLPREFIX=""
34201 ;;
34202 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34203 EXEEXT=".exe"
34204 DLLPREFIX=""
34205 ;;
34206 powerpc-*-darwin* )
34207 SO_SUFFIX="dylib"
34208 ;;
34209 esac
34210
34211
34212
34213
34214
34215
34216 SHARED_LD_CC="\$(CC) -shared -o"
34217 SHARED_LD_CXX="\$(CXX) -shared -o"
34218
34219 if test "x$GCC" = "xyes"; then
34220 PIC_FLAG="-fPIC"
34221 fi
34222
34223 case "${host}" in
34224 *-hp-hpux* )
34225 if test "x$GCC" = "xyes"; then
34226 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34227 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34228 else
34229 LDFLAGS="$LDFLAGS -L/usr/lib"
34230
34231 SHARED_LD_CC="${CC} -b -o"
34232 SHARED_LD_CXX="${CXX} -b -o"
34233 PIC_FLAG="+Z"
34234 fi
34235 ;;
34236
34237 *-*-linux* )
34238 if test "x$GCC" != "xyes"; then
34239 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34240 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34241 if test "${bakefile_cv_prog_icc+set}" = set; then
34242 echo $ECHO_N "(cached) $ECHO_C" >&6
34243 else
34244
34245 cat >conftest.$ac_ext <<_ACEOF
34246 #line $LINENO "configure"
34247 /* confdefs.h. */
34248 _ACEOF
34249 cat confdefs.h >>conftest.$ac_ext
34250 cat >>conftest.$ac_ext <<_ACEOF
34251 /* end confdefs.h. */
34252
34253 int
34254 main ()
34255 {
34256
34257 #ifndef __INTEL_COMPILER
34258 #error Not icc
34259 #endif
34260
34261 ;
34262 return 0;
34263 }
34264 _ACEOF
34265 rm -f conftest.$ac_objext
34266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34267 (eval $ac_compile) 2>&5
34268 ac_status=$?
34269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270 (exit $ac_status); } &&
34271 { ac_try='test -s conftest.$ac_objext'
34272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34273 (eval $ac_try) 2>&5
34274 ac_status=$?
34275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34276 (exit $ac_status); }; }; then
34277 bakefile_cv_prog_icc=yes
34278 else
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.$ac_ext >&5
34281
34282 bakefile_cv_prog_icc=no
34283
34284 fi
34285 rm -f conftest.$ac_objext conftest.$ac_ext
34286
34287 fi
34288 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34289 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34290 if test "$bakefile_cv_prog_icc" = "yes"; then
34291 PIC_FLAG="-KPIC"
34292 fi
34293 fi
34294 ;;
34295
34296 *-*-solaris2* )
34297 if test "x$GCC" != xyes ; then
34298 SHARED_LD_CC="${CC} -G -o"
34299 SHARED_LD_CXX="${CXX} -G -o"
34300 PIC_FLAG="-KPIC"
34301 fi
34302 ;;
34303
34304 *-*-darwin* )
34305 CFLAGS="$CFLAGS -fno-common"
34306 CXXFLAGS="$CXXFLAGS -fno-common"
34307
34308
34309 cat <<EOF >shared-ld-sh
34310 #!/bin/sh
34311 #-----------------------------------------------------------------------------
34312 #-- Name: distrib/mac/shared-ld-sh
34313 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34314 #-- Author: Gilles Depeyrot
34315 #-- Copyright: (c) 2002 Gilles Depeyrot
34316 #-- Licence: any use permitted
34317 #-----------------------------------------------------------------------------
34318
34319 verbose=0
34320 args=""
34321 objects=""
34322
34323 while test \${#} -gt 0; do
34324 case \${1} in
34325
34326 -v)
34327 verbose=1
34328 ;;
34329
34330 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34331 # collect these options and values
34332 args="\${args} \${1} \${2}"
34333 shift
34334 ;;
34335
34336 -l*|-L*|-flat_namespace)
34337 # collect these options
34338 args="\${args} \${1}"
34339 ;;
34340
34341 -dynamiclib)
34342 # skip these options
34343 ;;
34344
34345 -*)
34346 echo "shared-ld: unhandled option '\${1}'"
34347 exit 1
34348 ;;
34349
34350 *.o | *.a | *.dylib)
34351 # collect object files
34352 objects="\${objects} \${1}"
34353 ;;
34354
34355 *)
34356 echo "shared-ld: unhandled argument '\${1}'"
34357 exit 1
34358 ;;
34359
34360 esac
34361 shift
34362 done
34363
34364 #
34365 # Link one module containing all the others
34366 #
34367 if test \${verbose} = 1; then
34368 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34369 fi
34370 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34371 status=\$?
34372 if test \${status} != 0; then
34373 exit \${status}
34374 fi
34375
34376 #
34377 # Link the shared library from the single module created
34378 #
34379 if test \${verbose} = 1; then
34380 echo "cc -dynamiclib master.\$\$.o \${args}"
34381 fi
34382 c++ -dynamiclib master.\$\$.o \${args}
34383 status=\$?
34384 if test \${status} != 0; then
34385 exit \${status}
34386 fi
34387
34388 #
34389 # Remove intermediate module
34390 #
34391 rm -f master.\$\$.o
34392
34393 exit 0
34394 EOF
34395 chmod +x shared-ld-sh
34396
34397 SHARED_LD_CC="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
34398 SHARED_LD_CXX="$SHARED_LD_CC"
34399 PIC_FLAG="-dynamic -fPIC"
34400 ;;
34401
34402 *-*-aix* )
34403 if test "x$GCC" != "xyes"; then
34404 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34405 set dummy makeC++SharedLib; ac_word=$2
34406 echo "$as_me:$LINENO: checking for $ac_word" >&5
34407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34408 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34409 echo $ECHO_N "(cached) $ECHO_C" >&6
34410 else
34411 if test -n "$AIX_CXX_LD"; then
34412 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34413 else
34414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34415 for as_dir in $PATH
34416 do
34417 IFS=$as_save_IFS
34418 test -z "$as_dir" && as_dir=.
34419 for ac_exec_ext in '' $ac_executable_extensions; do
34420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34421 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34423 break 2
34424 fi
34425 done
34426 done
34427
34428 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34429 fi
34430 fi
34431 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34432 if test -n "$AIX_CXX_LD"; then
34433 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34434 echo "${ECHO_T}$AIX_CXX_LD" >&6
34435 else
34436 echo "$as_me:$LINENO: result: no" >&5
34437 echo "${ECHO_T}no" >&6
34438 fi
34439
34440 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34441 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34442 fi
34443 ;;
34444
34445 *-*-beos* )
34446 SHARED_LD_CC="${LD} -shared -o"
34447 SHARED_LD_CXX="${LD} -shared -o"
34448 ;;
34449
34450 *-*-irix* )
34451 if test "x$GCC" != "xyes"; then
34452 PIC_FLAG="-KPIC"
34453 fi
34454 ;;
34455
34456 *-*-cygwin* | *-*-mingw32* )
34457 PIC_FLAG=""
34458 ;;
34459
34460 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34461 *-*-sunos4* | \
34462 *-*-osf* | \
34463 *-*-dgux5* | \
34464 *-*-sysv5* )
34465 ;;
34466
34467 *)
34468 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34469 echo "$as_me: error: unknown system type $host." >&2;}
34470 { (exit 1); exit 1; }; }
34471 esac
34472
34473
34474
34475
34476
34477
34478 USE_SOVERSION=0
34479 USE_SOVERLINUX=0
34480 USE_SOVERSOLARIS=0
34481 USE_SOSYMLINKS=0
34482 USE_MACVERSION=0
34483 SONAME_FLAG=
34484
34485 case "${host}" in
34486 *-*-linux* )
34487 SONAME_FLAG="-Wl,-soname,"
34488 USE_SOVERSION=1
34489 USE_SOVERLINUX=1
34490 USE_SOSYMLINKS=1
34491 ;;
34492
34493 *-*-solaris2* )
34494 SONAME_FLAG="-h "
34495 USE_SOVERSION=1
34496 USE_SOVERSOLARIS=1
34497 USE_SOSYMLINKS=1
34498 ;;
34499
34500 *-*-darwin* )
34501 USE_MACVERSION=1
34502 USE_SOVERSION=1
34503 USE_SOSYMLINKS=1
34504 ;;
34505 esac
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34516 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34517 DEPS_TRACKING=0
34518
34519 if test "x$GCC" = "xyes"; then
34520 DEPSMODE=gcc
34521 DEPS_TRACKING=1
34522 case "${host}" in
34523 powerpc-*-darwin* )
34524 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34525 ;;
34526 * )
34527 DEPSFLAG_GCC="-MMD"
34528 ;;
34529 esac
34530 echo "$as_me:$LINENO: result: gcc" >&5
34531 echo "${ECHO_T}gcc" >&6
34532 else
34533 echo "$as_me:$LINENO: result: none" >&5
34534 echo "${ECHO_T}none" >&6
34535 fi
34536
34537 if test $DEPS_TRACKING = 1 ; then
34538 cat <<EOF >bk-deps
34539 #!/bin/sh
34540
34541 # This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34542 # It is used to track C/C++ files dependencies in portable way.
34543 #
34544 # Permission is given to use this file in any way.
34545
34546 DEPSMODE=$DEPSMODE
34547 DEPSDIR=.deps
34548 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34549
34550 mkdir -p \$DEPSDIR
34551
34552 if test \$DEPSMODE = gcc ; then
34553 \${*} \${DEPSFLAG_GCC}
34554 status=\${?}
34555 if test \${status} != 0 ; then
34556 exit \${status}
34557 fi
34558 # move created file to the location we want it in:
34559 while test \${#} -gt 0; do
34560 case "\${1}" in
34561 -o )
34562 shift
34563 objfile=\${1}
34564 ;;
34565 -* )
34566 ;;
34567 * )
34568 srcfile=\${1}
34569 ;;
34570 esac
34571 shift
34572 done
34573 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34574 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34575 if test -f \$depfile ; then
34576 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34577 rm -f \$depfile
34578 else
34579 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34580 if test -f \$depfile ; then
34581 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34582 rm -f \$depfile
34583 fi
34584 fi
34585 exit 0
34586 else
34587 \${*}
34588 exit \${?}
34589 fi
34590 EOF
34591 chmod +x bk-deps
34592 fi
34593
34594
34595
34596
34597 RESCOMP=
34598 SETFILE=
34599
34600 case ${host} in
34601 *-*-cygwin* | *-*-mingw32* )
34602 if test "$build" != "$host" ; then
34603 RESCOMP=$host_alias-windres
34604 else
34605 # Extract the first word of "windres", so it can be a program name with args.
34606 set dummy windres; ac_word=$2
34607 echo "$as_me:$LINENO: checking for $ac_word" >&5
34608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34609 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34610 echo $ECHO_N "(cached) $ECHO_C" >&6
34611 else
34612 if test -n "$RESCOMP"; then
34613 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34614 else
34615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34616 for as_dir in $PATH
34617 do
34618 IFS=$as_save_IFS
34619 test -z "$as_dir" && as_dir=.
34620 for ac_exec_ext in '' $ac_executable_extensions; do
34621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34622 ac_cv_prog_RESCOMP="windres"
34623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34624 break 2
34625 fi
34626 done
34627 done
34628
34629 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34630 fi
34631 fi
34632 RESCOMP=$ac_cv_prog_RESCOMP
34633 if test -n "$RESCOMP"; then
34634 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34635 echo "${ECHO_T}$RESCOMP" >&6
34636 else
34637 echo "$as_me:$LINENO: result: no" >&5
34638 echo "${ECHO_T}no" >&6
34639 fi
34640
34641 fi
34642 ;;
34643
34644 *-*-darwin* )
34645 # Extract the first word of "Rez", so it can be a program name with args.
34646 set dummy Rez; ac_word=$2
34647 echo "$as_me:$LINENO: checking for $ac_word" >&5
34648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34649 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34650 echo $ECHO_N "(cached) $ECHO_C" >&6
34651 else
34652 if test -n "$RESCOMP"; then
34653 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34654 else
34655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34656 for as_dir in $PATH
34657 do
34658 IFS=$as_save_IFS
34659 test -z "$as_dir" && as_dir=.
34660 for ac_exec_ext in '' $ac_executable_extensions; do
34661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34662 ac_cv_prog_RESCOMP="Rez"
34663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34664 break 2
34665 fi
34666 done
34667 done
34668
34669 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34670 fi
34671 fi
34672 RESCOMP=$ac_cv_prog_RESCOMP
34673 if test -n "$RESCOMP"; then
34674 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34675 echo "${ECHO_T}$RESCOMP" >&6
34676 else
34677 echo "$as_me:$LINENO: result: no" >&5
34678 echo "${ECHO_T}no" >&6
34679 fi
34680
34681 # Extract the first word of "SetFile", so it can be a program name with args.
34682 set dummy SetFile; ac_word=$2
34683 echo "$as_me:$LINENO: checking for $ac_word" >&5
34684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34685 if test "${ac_cv_prog_SETFILE+set}" = set; then
34686 echo $ECHO_N "(cached) $ECHO_C" >&6
34687 else
34688 if test -n "$SETFILE"; then
34689 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34690 else
34691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34692 for as_dir in $PATH
34693 do
34694 IFS=$as_save_IFS
34695 test -z "$as_dir" && as_dir=.
34696 for ac_exec_ext in '' $ac_executable_extensions; do
34697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34698 ac_cv_prog_SETFILE="SetFile"
34699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34700 break 2
34701 fi
34702 done
34703 done
34704
34705 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34706 fi
34707 fi
34708 SETFILE=$ac_cv_prog_SETFILE
34709 if test -n "$SETFILE"; then
34710 echo "$as_me:$LINENO: result: $SETFILE" >&5
34711 echo "${ECHO_T}$SETFILE" >&6
34712 else
34713 echo "$as_me:$LINENO: result: no" >&5
34714 echo "${ECHO_T}no" >&6
34715 fi
34716
34717 ;;
34718 esac
34719
34720
34721
34722
34723
34724
34725
34726 COND_BUILD_DEBUG="#"
34727 if test "x$BUILD" = "xdebug" ; then
34728 COND_BUILD_DEBUG=""
34729 fi
34730
34731 COND_BUILD_RELEASE="#"
34732 if test "x$BUILD" = "xrelease" ; then
34733 COND_BUILD_RELEASE=""
34734 fi
34735
34736 COND_DEPS_TRACKING_0="#"
34737 if test "x$DEPS_TRACKING" = "x0" ; then
34738 COND_DEPS_TRACKING_0=""
34739 fi
34740
34741 COND_DEPS_TRACKING_1="#"
34742 if test "x$DEPS_TRACKING" = "x1" ; then
34743 COND_DEPS_TRACKING_1=""
34744 fi
34745
34746 COND_MONOLITHIC_0="#"
34747 if test "x$MONOLITHIC" = "x0" ; then
34748 COND_MONOLITHIC_0=""
34749 fi
34750
34751 COND_MONOLITHIC_0_SHARED_0="#"
34752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34753 COND_MONOLITHIC_0_SHARED_0=""
34754 fi
34755
34756 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34758 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34759 fi
34760
34761 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
34762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34763 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
34764 fi
34765
34766 COND_MONOLITHIC_0_SHARED_1="#"
34767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34768 COND_MONOLITHIC_0_SHARED_1=""
34769 fi
34770
34771 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34774 fi
34775
34776 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
34777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34778 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
34779 fi
34780
34781 COND_MONOLITHIC_1="#"
34782 if test "x$MONOLITHIC" = "x1" ; then
34783 COND_MONOLITHIC_1=""
34784 fi
34785
34786 COND_MONOLITHIC_1_SHARED_0="#"
34787 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34788 COND_MONOLITHIC_1_SHARED_0=""
34789 fi
34790
34791 COND_MONOLITHIC_1_SHARED_1="#"
34792 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34793 COND_MONOLITHIC_1_SHARED_1=""
34794 fi
34795
34796 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34797 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34798 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34799 fi
34800
34801 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34802 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34803 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34804 fi
34805
34806 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34807 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34808 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34809 fi
34810
34811 COND_PLATFORM_MACOSX_1="#"
34812 if test "x$PLATFORM_MACOSX" = "x1" ; then
34813 COND_PLATFORM_MACOSX_1=""
34814 fi
34815
34816 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
34817 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34818 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
34819 fi
34820
34821 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
34822 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34823 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
34824 fi
34825
34826 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
34827 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34828 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
34829 fi
34830
34831 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34832 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34833 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34834 fi
34835
34836 COND_PLATFORM_UNIX_1="#"
34837 if test "x$PLATFORM_UNIX" = "x1" ; then
34838 COND_PLATFORM_UNIX_1=""
34839 fi
34840
34841 COND_PLATFORM_WIN32_0="#"
34842 if test "x$PLATFORM_WIN32" = "x0" ; then
34843 COND_PLATFORM_WIN32_0=""
34844 fi
34845
34846 COND_PLATFORM_WIN32_1="#"
34847 if test "x$PLATFORM_WIN32" = "x1" ; then
34848 COND_PLATFORM_WIN32_1=""
34849 fi
34850
34851 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
34852 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34853 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
34854 fi
34855
34856 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
34857 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34858 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
34859 fi
34860
34861 COND_TOOLKIT_COCOA="#"
34862 if test "x$TOOLKIT" = "xCOCOA" ; then
34863 COND_TOOLKIT_COCOA=""
34864 fi
34865
34866 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
34867 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34868 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
34869 fi
34870
34871 COND_TOOLKIT_GTK="#"
34872 if test "x$TOOLKIT" = "xGTK" ; then
34873 COND_TOOLKIT_GTK=""
34874 fi
34875
34876 COND_TOOLKIT_GTK_USE_GUI_1="#"
34877 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34878 COND_TOOLKIT_GTK_USE_GUI_1=""
34879 fi
34880
34881 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
34882 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34883 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
34884 fi
34885
34886 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1="#"
34887 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34888 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1=""
34889 fi
34890
34891 COND_TOOLKIT_MAC="#"
34892 if test "x$TOOLKIT" = "xMAC" ; then
34893 COND_TOOLKIT_MAC=""
34894 fi
34895
34896 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
34897 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34898 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
34899 fi
34900
34901 COND_TOOLKIT_MGL="#"
34902 if test "x$TOOLKIT" = "xMGL" ; then
34903 COND_TOOLKIT_MGL=""
34904 fi
34905
34906 COND_TOOLKIT_MGL_USE_GUI_1="#"
34907 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34908 COND_TOOLKIT_MGL_USE_GUI_1=""
34909 fi
34910
34911 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1="#"
34912 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34913 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1=""
34914 fi
34915
34916 COND_TOOLKIT_MOTIF="#"
34917 if test "x$TOOLKIT" = "xMOTIF" ; then
34918 COND_TOOLKIT_MOTIF=""
34919 fi
34920
34921 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
34922 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34923 COND_TOOLKIT_MOTIF_USE_GUI_1=""
34924 fi
34925
34926 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
34927 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34928 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
34929 fi
34930
34931 COND_TOOLKIT_MSW="#"
34932 if test "x$TOOLKIT" = "xMSW" ; then
34933 COND_TOOLKIT_MSW=""
34934 fi
34935
34936 COND_TOOLKIT_MSW_USE_GUI_1="#"
34937 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34938 COND_TOOLKIT_MSW_USE_GUI_1=""
34939 fi
34940
34941 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
34942 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34943 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
34944 fi
34945
34946 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1="#"
34947 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34948 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1=""
34949 fi
34950
34951 COND_TOOLKIT_OS2="#"
34952 if test "x$TOOLKIT" = "xOS2" ; then
34953 COND_TOOLKIT_OS2=""
34954 fi
34955
34956 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
34957 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34958 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
34959 fi
34960
34961 COND_TOOLKIT_X11="#"
34962 if test "x$TOOLKIT" = "xX11" ; then
34963 COND_TOOLKIT_X11=""
34964 fi
34965
34966 COND_TOOLKIT_X11_USE_GUI_1="#"
34967 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
34968 COND_TOOLKIT_X11_USE_GUI_1=""
34969 fi
34970
34971 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
34972 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34973 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
34974 fi
34975
34976 COND_UNICODE_1="#"
34977 if test "x$UNICODE" = "x1" ; then
34978 COND_UNICODE_1=""
34979 fi
34980
34981 COND_USE_GUI_0="#"
34982 if test "x$USE_GUI" = "x0" ; then
34983 COND_USE_GUI_0=""
34984 fi
34985
34986 COND_USE_GUI_1="#"
34987 if test "x$USE_GUI" = "x1" ; then
34988 COND_USE_GUI_1=""
34989 fi
34990
34991 COND_USE_GUI_1_WXUNIV_0="#"
34992 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34993 COND_USE_GUI_1_WXUNIV_0=""
34994 fi
34995
34996 COND_USE_GUI_1_WXUNIV_1="#"
34997 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34998 COND_USE_GUI_1_WXUNIV_1=""
34999 fi
35000
35001 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35002 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35003 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35004 fi
35005
35006 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35007 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35008 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35009 fi
35010
35011 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35012 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35013 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35014 fi
35015
35016 COND_USE_SOSYMLINKS_1="#"
35017 if test "x$USE_SOSYMLINKS" = "x1" ; then
35018 COND_USE_SOSYMLINKS_1=""
35019 fi
35020
35021 COND_USE_SOVERLINUX_1="#"
35022 if test "x$USE_SOVERLINUX" = "x1" ; then
35023 COND_USE_SOVERLINUX_1=""
35024 fi
35025
35026 COND_USE_SOVERSION_0="#"
35027 if test "x$USE_SOVERSION" = "x0" ; then
35028 COND_USE_SOVERSION_0=""
35029 fi
35030
35031 COND_USE_SOVERSOLARIS_1="#"
35032 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35033 COND_USE_SOVERSOLARIS_1=""
35034 fi
35035
35036 COND_WXUNIV_1="#"
35037 if test "x$WXUNIV" = "x1" ; then
35038 COND_WXUNIV_1=""
35039 fi
35040
35041 COND_WXUSE_EXPAT_BUILTIN="#"
35042 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35043 COND_WXUSE_EXPAT_BUILTIN=""
35044 fi
35045
35046 COND_WXUSE_LIBJPEG_BUILTIN="#"
35047 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35048 COND_WXUSE_LIBJPEG_BUILTIN=""
35049 fi
35050
35051 COND_WXUSE_LIBPNG_BUILTIN="#"
35052 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35053 COND_WXUSE_LIBPNG_BUILTIN=""
35054 fi
35055
35056 COND_WXUSE_LIBTIFF_BUILTIN="#"
35057 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35058 COND_WXUSE_LIBTIFF_BUILTIN=""
35059 fi
35060
35061 COND_WXUSE_ODBC_BUILTIN="#"
35062 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35063 COND_WXUSE_ODBC_BUILTIN=""
35064 fi
35065
35066 COND_WXUSE_REGEX_BUILTIN="#"
35067 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35068 COND_WXUSE_REGEX_BUILTIN=""
35069 fi
35070
35071 COND_WXUSE_ZLIB_BUILTIN="#"
35072 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35073 COND_WXUSE_ZLIB_BUILTIN=""
35074 fi
35075
35076 COND_PLATFORM_MAC_1="#"
35077 if test "x$PLATFORM_MAC" = "x1" ; then
35078 COND_PLATFORM_MAC_1=""
35079 fi
35080
35081 COND_SHARED_1="#"
35082 if test "x$SHARED" = "x1" ; then
35083 COND_SHARED_1=""
35084 fi
35085
35086 COND_SHARED_0="#"
35087 if test "x$SHARED" = "x0" ; then
35088 COND_SHARED_0=""
35089 fi
35090
35091
35092
35093
35094
35095
35096 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35097
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107
35108
35109
35110
35111
35112
35113
35114
35115
35116
35117
35118
35119
35120
35121
35122
35123
35124
35125
35126
35127
35128
35129
35130
35131
35132
35133
35134
35135
35136
35137
35138
35139
35140
35141
35142
35143
35144
35145
35146
35147
35148
35149
35150
35151
35152
35153
35154
35155
35156
35157
35158
35159
35160
35161
35162
35163
35164
35165
35166
35167
35168
35169
35170
35171
35172
35173
35174
35175
35176
35177
35178
35179
35180
35181
35182
35183
35184
35185
35186
35187
35188
35189
35190
35191
35192
35193
35194
35195
35196
35197
35198
35199 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35200 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35201 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35202 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35203 echo $ECHO_N "(cached) $ECHO_C" >&6
35204 else
35205 cat >conftest.make <<\_ACEOF
35206 all:
35207 @echo 'ac_maketemp="$(MAKE)"'
35208 _ACEOF
35209 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35210 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35211 if test -n "$ac_maketemp"; then
35212 eval ac_cv_prog_make_${ac_make}_set=yes
35213 else
35214 eval ac_cv_prog_make_${ac_make}_set=no
35215 fi
35216 rm -f conftest.make
35217 fi
35218 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35219 echo "$as_me:$LINENO: result: yes" >&5
35220 echo "${ECHO_T}yes" >&6
35221 SET_MAKE=
35222 else
35223 echo "$as_me:$LINENO: result: no" >&5
35224 echo "${ECHO_T}no" >&6
35225 SET_MAKE="MAKE=${MAKE-make}"
35226 fi
35227
35228
35229 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35230 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35231 fi
35232
35233 ac_config_headers="$ac_config_headers setup.h"
35234
35235
35236 ac_config_files="$ac_config_files wx-config version-script Makefile"
35237
35238
35239 ac_config_commands="$ac_config_commands default"
35240
35241
35242
35243 if test "$wxUSE_GUI" = "yes"; then
35244 SUBDIRS="samples demos utils contrib"
35245 else SUBDIRS="samples utils"
35246 fi
35247
35248 for subdir in `echo $SUBDIRS`; do
35249 if test -d ${srcdir}/${subdir} ; then
35250 if test "$wxUSE_GUI" = "yes"; then
35251 if test ${subdir} = "samples"; then
35252 for sample in `echo $SAMPLES_SUBDIRS`; do
35253 if test -d $srcdir/samples/$sample; then
35254 makefiles="samples/$sample/Makefile.in $makefiles"
35255 fi
35256 done
35257 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35258 fi
35259 else if test ${subdir} = "samples"; then
35260 makefiles="samples/console/Makefile.in"
35261 else makefiles="utils/HelpGen/Makefile.in \
35262 utils/HelpGen/src/Makefile.in \
35263 utils/makegen/Makefile.in"
35264 fi
35265 fi
35266
35267 for mkin in $makefiles ; do
35268 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35269 ac_config_files="$ac_config_files $mk"
35270
35271 done
35272 fi
35273 done
35274
35275
35276 cat >confcache <<\_ACEOF
35277 # This file is a shell script that caches the results of configure
35278 # tests run on this system so they can be shared between configure
35279 # scripts and configure runs, see configure's option --config-cache.
35280 # It is not useful on other systems. If it contains results you don't
35281 # want to keep, you may remove or edit it.
35282 #
35283 # config.status only pays attention to the cache file if you give it
35284 # the --recheck option to rerun configure.
35285 #
35286 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35287 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35288 # following values.
35289
35290 _ACEOF
35291
35292 # The following way of writing the cache mishandles newlines in values,
35293 # but we know of no workaround that is simple, portable, and efficient.
35294 # So, don't put newlines in cache variables' values.
35295 # Ultrix sh set writes to stderr and can't be redirected directly,
35296 # and sets the high bit in the cache file unless we assign to the vars.
35297 {
35298 (set) 2>&1 |
35299 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35300 *ac_space=\ *)
35301 # `set' does not quote correctly, so add quotes (double-quote
35302 # substitution turns \\\\ into \\, and sed turns \\ into \).
35303 sed -n \
35304 "s/'/'\\\\''/g;
35305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35306 ;;
35307 *)
35308 # `set' quotes correctly as required by POSIX, so do not add quotes.
35309 sed -n \
35310 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35311 ;;
35312 esac;
35313 } |
35314 sed '
35315 t clear
35316 : clear
35317 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35318 t end
35319 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35320 : end' >>confcache
35321 if diff $cache_file confcache >/dev/null 2>&1; then :; else
35322 if test -w $cache_file; then
35323 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35324 cat confcache >$cache_file
35325 else
35326 echo "not updating unwritable cache $cache_file"
35327 fi
35328 fi
35329 rm -f confcache
35330
35331 test "x$prefix" = xNONE && prefix=$ac_default_prefix
35332 # Let make expand exec_prefix.
35333 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35334
35335 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35336 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35337 # trailing colons and then remove the whole line if VPATH becomes empty
35338 # (actually we leave an empty line to preserve line numbers).
35339 if test "x$srcdir" = x.; then
35340 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35341 s/:*\$(srcdir):*/:/;
35342 s/:*\${srcdir}:*/:/;
35343 s/:*@srcdir@:*/:/;
35344 s/^\([^=]*=[ ]*\):*/\1/;
35345 s/:*$//;
35346 s/^[^=]*=[ ]*$//;
35347 }'
35348 fi
35349
35350 DEFS=-DHAVE_CONFIG_H
35351
35352 ac_libobjs=
35353 ac_ltlibobjs=
35354 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35355 # 1. Remove the extension, and $U if already installed.
35356 ac_i=`echo "$ac_i" |
35357 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35358 # 2. Add them.
35359 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35360 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35361 done
35362 LIBOBJS=$ac_libobjs
35363
35364 LTLIBOBJS=$ac_ltlibobjs
35365
35366
35367
35368 : ${CONFIG_STATUS=./config.status}
35369 ac_clean_files_save=$ac_clean_files
35370 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35371 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35372 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35373 cat >$CONFIG_STATUS <<_ACEOF
35374 #! $SHELL
35375 # Generated by $as_me.
35376 # Run this file to recreate the current configuration.
35377 # Compiler output produced by configure, useful for debugging
35378 # configure, is in config.log if it exists.
35379
35380 debug=false
35381 ac_cs_recheck=false
35382 ac_cs_silent=false
35383 SHELL=\${CONFIG_SHELL-$SHELL}
35384 _ACEOF
35385
35386 cat >>$CONFIG_STATUS <<\_ACEOF
35387 ## --------------------- ##
35388 ## M4sh Initialization. ##
35389 ## --------------------- ##
35390
35391 # Be Bourne compatible
35392 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35393 emulate sh
35394 NULLCMD=:
35395 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35396 # is contrary to our usage. Disable this feature.
35397 alias -g '${1+"$@"}'='"$@"'
35398 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35399 set -o posix
35400 fi
35401
35402 # Support unset when possible.
35403 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35404 as_unset=unset
35405 else
35406 as_unset=false
35407 fi
35408
35409
35410 # Work around bugs in pre-3.0 UWIN ksh.
35411 $as_unset ENV MAIL MAILPATH
35412 PS1='$ '
35413 PS2='> '
35414 PS4='+ '
35415
35416 # NLS nuisances.
35417 for as_var in \
35418 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35419 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35420 LC_TELEPHONE LC_TIME
35421 do
35422 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35423 eval $as_var=C; export $as_var
35424 else
35425 $as_unset $as_var
35426 fi
35427 done
35428
35429 # Required to use basename.
35430 if expr a : '\(a\)' >/dev/null 2>&1; then
35431 as_expr=expr
35432 else
35433 as_expr=false
35434 fi
35435
35436 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35437 as_basename=basename
35438 else
35439 as_basename=false
35440 fi
35441
35442
35443 # Name of the executable.
35444 as_me=`$as_basename "$0" ||
35445 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35446 X"$0" : 'X\(//\)$' \| \
35447 X"$0" : 'X\(/\)$' \| \
35448 . : '\(.\)' 2>/dev/null ||
35449 echo X/"$0" |
35450 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35451 /^X\/\(\/\/\)$/{ s//\1/; q; }
35452 /^X\/\(\/\).*/{ s//\1/; q; }
35453 s/.*/./; q'`
35454
35455
35456 # PATH needs CR, and LINENO needs CR and PATH.
35457 # Avoid depending upon Character Ranges.
35458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35461 as_cr_digits='0123456789'
35462 as_cr_alnum=$as_cr_Letters$as_cr_digits
35463
35464 # The user is always right.
35465 if test "${PATH_SEPARATOR+set}" != set; then
35466 echo "#! /bin/sh" >conf$$.sh
35467 echo "exit 0" >>conf$$.sh
35468 chmod +x conf$$.sh
35469 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35470 PATH_SEPARATOR=';'
35471 else
35472 PATH_SEPARATOR=:
35473 fi
35474 rm -f conf$$.sh
35475 fi
35476
35477
35478 as_lineno_1=$LINENO
35479 as_lineno_2=$LINENO
35480 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35481 test "x$as_lineno_1" != "x$as_lineno_2" &&
35482 test "x$as_lineno_3" = "x$as_lineno_2" || {
35483 # Find who we are. Look in the path if we contain no path at all
35484 # relative or not.
35485 case $0 in
35486 *[\\/]* ) as_myself=$0 ;;
35487 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35488 for as_dir in $PATH
35489 do
35490 IFS=$as_save_IFS
35491 test -z "$as_dir" && as_dir=.
35492 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35493 done
35494
35495 ;;
35496 esac
35497 # We did not find ourselves, most probably we were run as `sh COMMAND'
35498 # in which case we are not to be found in the path.
35499 if test "x$as_myself" = x; then
35500 as_myself=$0
35501 fi
35502 if test ! -f "$as_myself"; then
35503 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35504 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35505 { (exit 1); exit 1; }; }
35506 fi
35507 case $CONFIG_SHELL in
35508 '')
35509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35510 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35511 do
35512 IFS=$as_save_IFS
35513 test -z "$as_dir" && as_dir=.
35514 for as_base in sh bash ksh sh5; do
35515 case $as_dir in
35516 /*)
35517 if ("$as_dir/$as_base" -c '
35518 as_lineno_1=$LINENO
35519 as_lineno_2=$LINENO
35520 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35521 test "x$as_lineno_1" != "x$as_lineno_2" &&
35522 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35523 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35524 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35525 CONFIG_SHELL=$as_dir/$as_base
35526 export CONFIG_SHELL
35527 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35528 fi;;
35529 esac
35530 done
35531 done
35532 ;;
35533 esac
35534
35535 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35536 # uniformly replaced by the line number. The first 'sed' inserts a
35537 # line-number line before each line; the second 'sed' does the real
35538 # work. The second script uses 'N' to pair each line-number line
35539 # with the numbered line, and appends trailing '-' during
35540 # substitution so that $LINENO is not a special case at line end.
35541 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35542 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35543 sed '=' <$as_myself |
35544 sed '
35545 N
35546 s,$,-,
35547 : loop
35548 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35549 t loop
35550 s,-$,,
35551 s,^['$as_cr_digits']*\n,,
35552 ' >$as_me.lineno &&
35553 chmod +x $as_me.lineno ||
35554 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35555 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35556 { (exit 1); exit 1; }; }
35557
35558 # Don't try to exec as it changes $[0], causing all sort of problems
35559 # (the dirname of $[0] is not the place where we might find the
35560 # original and so on. Autoconf is especially sensible to this).
35561 . ./$as_me.lineno
35562 # Exit status is that of the last command.
35563 exit
35564 }
35565
35566
35567 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35568 *c*,-n*) ECHO_N= ECHO_C='
35569 ' ECHO_T=' ' ;;
35570 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35571 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35572 esac
35573
35574 if expr a : '\(a\)' >/dev/null 2>&1; then
35575 as_expr=expr
35576 else
35577 as_expr=false
35578 fi
35579
35580 rm -f conf$$ conf$$.exe conf$$.file
35581 echo >conf$$.file
35582 if ln -s conf$$.file conf$$ 2>/dev/null; then
35583 # We could just check for DJGPP; but this test a) works b) is more generic
35584 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35585 if test -f conf$$.exe; then
35586 # Don't use ln at all; we don't have any links
35587 as_ln_s='cp -p'
35588 else
35589 as_ln_s='ln -s'
35590 fi
35591 elif ln conf$$.file conf$$ 2>/dev/null; then
35592 as_ln_s=ln
35593 else
35594 as_ln_s='cp -p'
35595 fi
35596 rm -f conf$$ conf$$.exe conf$$.file
35597
35598 if mkdir -p . 2>/dev/null; then
35599 as_mkdir_p=:
35600 else
35601 as_mkdir_p=false
35602 fi
35603
35604 as_executable_p="test -f"
35605
35606 # Sed expression to map a string onto a valid CPP name.
35607 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35608
35609 # Sed expression to map a string onto a valid variable name.
35610 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35611
35612
35613 # IFS
35614 # We need space, tab and new line, in precisely that order.
35615 as_nl='
35616 '
35617 IFS=" $as_nl"
35618
35619 # CDPATH.
35620 $as_unset CDPATH
35621
35622 exec 6>&1
35623
35624 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35625 # report actual input values of CONFIG_FILES etc. instead of their
35626 # values after options handling. Logging --version etc. is OK.
35627 exec 5>>config.log
35628 {
35629 echo
35630 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35631 ## Running $as_me. ##
35632 _ASBOX
35633 } >&5
35634 cat >&5 <<_CSEOF
35635
35636 This file was extended by wxWindows $as_me 2.5.0, which was
35637 generated by GNU Autoconf 2.57. Invocation command line was
35638
35639 CONFIG_FILES = $CONFIG_FILES
35640 CONFIG_HEADERS = $CONFIG_HEADERS
35641 CONFIG_LINKS = $CONFIG_LINKS
35642 CONFIG_COMMANDS = $CONFIG_COMMANDS
35643 $ $0 $@
35644
35645 _CSEOF
35646 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35647 echo >&5
35648 _ACEOF
35649
35650 # Files that config.status was made for.
35651 if test -n "$ac_config_files"; then
35652 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35653 fi
35654
35655 if test -n "$ac_config_headers"; then
35656 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35657 fi
35658
35659 if test -n "$ac_config_links"; then
35660 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35661 fi
35662
35663 if test -n "$ac_config_commands"; then
35664 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35665 fi
35666
35667 cat >>$CONFIG_STATUS <<\_ACEOF
35668
35669 ac_cs_usage="\
35670 \`$as_me' instantiates files from templates according to the
35671 current configuration.
35672
35673 Usage: $0 [OPTIONS] [FILE]...
35674
35675 -h, --help print this help, then exit
35676 -V, --version print version number, then exit
35677 -q, --quiet do not print progress messages
35678 -d, --debug don't remove temporary files
35679 --recheck update $as_me by reconfiguring in the same conditions
35680 --file=FILE[:TEMPLATE]
35681 instantiate the configuration file FILE
35682 --header=FILE[:TEMPLATE]
35683 instantiate the configuration header FILE
35684
35685 Configuration files:
35686 $config_files
35687
35688 Configuration headers:
35689 $config_headers
35690
35691 Configuration commands:
35692 $config_commands
35693
35694 Report bugs to <bug-autoconf@gnu.org>."
35695 _ACEOF
35696
35697 cat >>$CONFIG_STATUS <<_ACEOF
35698 ac_cs_version="\\
35699 wxWindows config.status 2.5.0
35700 configured by $0, generated by GNU Autoconf 2.57,
35701 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35702
35703 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35704 Free Software Foundation, Inc.
35705 This config.status script is free software; the Free Software Foundation
35706 gives unlimited permission to copy, distribute and modify it."
35707 srcdir=$srcdir
35708 INSTALL="$INSTALL"
35709 _ACEOF
35710
35711 cat >>$CONFIG_STATUS <<\_ACEOF
35712 # If no file are specified by the user, then we need to provide default
35713 # value. By we need to know if files were specified by the user.
35714 ac_need_defaults=:
35715 while test $# != 0
35716 do
35717 case $1 in
35718 --*=*)
35719 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35720 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35721 ac_shift=:
35722 ;;
35723 -*)
35724 ac_option=$1
35725 ac_optarg=$2
35726 ac_shift=shift
35727 ;;
35728 *) # This is not an option, so the user has probably given explicit
35729 # arguments.
35730 ac_option=$1
35731 ac_need_defaults=false;;
35732 esac
35733
35734 case $ac_option in
35735 # Handling of the options.
35736 _ACEOF
35737 cat >>$CONFIG_STATUS <<\_ACEOF
35738 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35739 ac_cs_recheck=: ;;
35740 --version | --vers* | -V )
35741 echo "$ac_cs_version"; exit 0 ;;
35742 --he | --h)
35743 # Conflict between --help and --header
35744 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35745 Try \`$0 --help' for more information." >&5
35746 echo "$as_me: error: ambiguous option: $1
35747 Try \`$0 --help' for more information." >&2;}
35748 { (exit 1); exit 1; }; };;
35749 --help | --hel | -h )
35750 echo "$ac_cs_usage"; exit 0 ;;
35751 --debug | --d* | -d )
35752 debug=: ;;
35753 --file | --fil | --fi | --f )
35754 $ac_shift
35755 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35756 ac_need_defaults=false;;
35757 --header | --heade | --head | --hea )
35758 $ac_shift
35759 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35760 ac_need_defaults=false;;
35761 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35762 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35763 ac_cs_silent=: ;;
35764
35765 # This is an error.
35766 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35767 Try \`$0 --help' for more information." >&5
35768 echo "$as_me: error: unrecognized option: $1
35769 Try \`$0 --help' for more information." >&2;}
35770 { (exit 1); exit 1; }; } ;;
35771
35772 *) ac_config_targets="$ac_config_targets $1" ;;
35773
35774 esac
35775 shift
35776 done
35777
35778 ac_configure_extra_args=
35779
35780 if $ac_cs_silent; then
35781 exec 6>/dev/null
35782 ac_configure_extra_args="$ac_configure_extra_args --silent"
35783 fi
35784
35785 _ACEOF
35786 cat >>$CONFIG_STATUS <<_ACEOF
35787 if \$ac_cs_recheck; then
35788 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35789 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35790 fi
35791
35792 _ACEOF
35793
35794 cat >>$CONFIG_STATUS <<_ACEOF
35795 #
35796 # INIT-COMMANDS section.
35797 #
35798
35799
35800 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35801 LN_S="${LN_S}"
35802
35803
35804
35805 _ACEOF
35806
35807
35808
35809 cat >>$CONFIG_STATUS <<\_ACEOF
35810 for ac_config_target in $ac_config_targets
35811 do
35812 case "$ac_config_target" in
35813 # Handling of arguments.
35814 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35815 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35816 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35817 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35818 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35819 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35820 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35821 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35822 { (exit 1); exit 1; }; };;
35823 esac
35824 done
35825
35826 # If the user did not use the arguments to specify the items to instantiate,
35827 # then the envvar interface is used. Set only those that are not.
35828 # We use the long form for the default assignment because of an extremely
35829 # bizarre bug on SunOS 4.1.3.
35830 if $ac_need_defaults; then
35831 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35832 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35833 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35834 fi
35835
35836 # Have a temporary directory for convenience. Make it in the build tree
35837 # simply because there is no reason to put it here, and in addition,
35838 # creating and moving files from /tmp can sometimes cause problems.
35839 # Create a temporary directory, and hook for its removal unless debugging.
35840 $debug ||
35841 {
35842 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35843 trap '{ (exit 1); exit 1; }' 1 2 13 15
35844 }
35845
35846 # Create a (secure) tmp directory for tmp files.
35847
35848 {
35849 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35850 test -n "$tmp" && test -d "$tmp"
35851 } ||
35852 {
35853 tmp=./confstat$$-$RANDOM
35854 (umask 077 && mkdir $tmp)
35855 } ||
35856 {
35857 echo "$me: cannot create a temporary directory in ." >&2
35858 { (exit 1); exit 1; }
35859 }
35860
35861 _ACEOF
35862
35863 cat >>$CONFIG_STATUS <<_ACEOF
35864
35865 #
35866 # CONFIG_FILES section.
35867 #
35868
35869 # No need to generate the scripts if there are no CONFIG_FILES.
35870 # This happens for instance when ./config.status config.h
35871 if test -n "\$CONFIG_FILES"; then
35872 # Protect against being on the right side of a sed subst in config.status.
35873 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35874 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35875 s,@SHELL@,$SHELL,;t t
35876 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35877 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35878 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35879 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35880 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35881 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35882 s,@exec_prefix@,$exec_prefix,;t t
35883 s,@prefix@,$prefix,;t t
35884 s,@program_transform_name@,$program_transform_name,;t t
35885 s,@bindir@,$bindir,;t t
35886 s,@sbindir@,$sbindir,;t t
35887 s,@libexecdir@,$libexecdir,;t t
35888 s,@datadir@,$datadir,;t t
35889 s,@sysconfdir@,$sysconfdir,;t t
35890 s,@sharedstatedir@,$sharedstatedir,;t t
35891 s,@localstatedir@,$localstatedir,;t t
35892 s,@libdir@,$libdir,;t t
35893 s,@includedir@,$includedir,;t t
35894 s,@oldincludedir@,$oldincludedir,;t t
35895 s,@infodir@,$infodir,;t t
35896 s,@mandir@,$mandir,;t t
35897 s,@build_alias@,$build_alias,;t t
35898 s,@host_alias@,$host_alias,;t t
35899 s,@target_alias@,$target_alias,;t t
35900 s,@DEFS@,$DEFS,;t t
35901 s,@ECHO_C@,$ECHO_C,;t t
35902 s,@ECHO_N@,$ECHO_N,;t t
35903 s,@ECHO_T@,$ECHO_T,;t t
35904 s,@LIBS@,$LIBS,;t t
35905 s,@build@,$build,;t t
35906 s,@build_cpu@,$build_cpu,;t t
35907 s,@build_vendor@,$build_vendor,;t t
35908 s,@build_os@,$build_os,;t t
35909 s,@host@,$host,;t t
35910 s,@host_cpu@,$host_cpu,;t t
35911 s,@host_vendor@,$host_vendor,;t t
35912 s,@host_os@,$host_os,;t t
35913 s,@target@,$target,;t t
35914 s,@target_cpu@,$target_cpu,;t t
35915 s,@target_vendor@,$target_vendor,;t t
35916 s,@target_os@,$target_os,;t t
35917 s,@CC@,$CC,;t t
35918 s,@CFLAGS@,$CFLAGS,;t t
35919 s,@LDFLAGS@,$LDFLAGS,;t t
35920 s,@CPPFLAGS@,$CPPFLAGS,;t t
35921 s,@ac_ct_CC@,$ac_ct_CC,;t t
35922 s,@EXEEXT@,$EXEEXT,;t t
35923 s,@OBJEXT@,$OBJEXT,;t t
35924 s,@CPP@,$CPP,;t t
35925 s,@EGREP@,$EGREP,;t t
35926 s,@CXX@,$CXX,;t t
35927 s,@CXXFLAGS@,$CXXFLAGS,;t t
35928 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35929 s,@RANLIB@,$RANLIB,;t t
35930 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35931 s,@AR@,$AR,;t t
35932 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35933 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35934 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35935 s,@STRIP@,$STRIP,;t t
35936 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35937 s,@YACC@,$YACC,;t t
35938 s,@LEX@,$LEX,;t t
35939 s,@LEXLIB@,$LEXLIB,;t t
35940 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35941 s,@LN_S@,$LN_S,;t t
35942 s,@CXXCPP@,$CXXCPP,;t t
35943 s,@subdirs@,$subdirs,;t t
35944 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35945 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35946 s,@GTK_LIBS@,$GTK_LIBS,;t t
35947 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35948 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35949 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35950 s,@X_CFLAGS@,$X_CFLAGS,;t t
35951 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35952 s,@X_LIBS@,$X_LIBS,;t t
35953 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35954 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35955 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35956 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35957 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35958 s,@RESCOMP@,$RESCOMP,;t t
35959 s,@DEREZ@,$DEREZ,;t t
35960 s,@SETFILE@,$SETFILE,;t t
35961 s,@LIBICONV@,$LIBICONV,;t t
35962 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35963 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35964 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
35965 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35966 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35967 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35968 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35969 s,@VENDOR@,$VENDOR,;t t
35970 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
35971 s,@WXUNIV@,$WXUNIV,;t t
35972 s,@MONOLITHIC@,$MONOLITHIC,;t t
35973 s,@EXTRALIBS@,$EXTRALIBS,;t t
35974 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
35975 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
35976 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
35977 s,@UNICODE@,$UNICODE,;t t
35978 s,@BUILD@,$BUILD,;t t
35979 s,@SHARED@,$SHARED,;t t
35980 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35981 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35982 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35983 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
35984 s,@SET_MAKE@,$SET_MAKE,;t t
35985 s,@MAKE_SET@,$MAKE_SET,;t t
35986 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35987 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
35988 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35989 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35990 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35991 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35992 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35993 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35994 s,@DLLPREFIX@,$DLLPREFIX,;t t
35995 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35996 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35997 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35998 s,@PIC_FLAG@,$PIC_FLAG,;t t
35999 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36000 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36001 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36002 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36003 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36004 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36005 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36006 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36007 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36008 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36009 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36010 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36011 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36012 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36013 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36014 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36015 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36016 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36017 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36018 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36019 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36020 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36021 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36022 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36023 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36024 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36025 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36026 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36027 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36028 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36029 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36030 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36031 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36032 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36033 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36034 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36035 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36036 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36037 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36038 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
36039 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36040 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36041 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36042 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36043 s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
36044 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36045 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36046 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36047 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36048 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36049 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36050 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
36051 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36052 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36053 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36054 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36055 s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
36056 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36057 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36058 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36059 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36060 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36061 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36062 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36063 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36064 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36065 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36066 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36067 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36068 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36069 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36070 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36071 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36072 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36073 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36074 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36075 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36076 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36077 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36078 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36079 s,@LEX_STEM@,$LEX_STEM,;t t
36080 s,@PATH_IFS@,$PATH_IFS,;t t
36081 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36082 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36083 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36084 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36085 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36086 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36087 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36088 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36089 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36090 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36091 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36092 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36093 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36094 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36095 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36096 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36097 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36098 s,@WX_ALL@,$WX_ALL,;t t
36099 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36100 s,@SHARED_LD@,$SHARED_LD,;t t
36101 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36102 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36103 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36104 s,@USE_GUI@,$USE_GUI,;t t
36105 s,@AFMINSTALL@,$AFMINSTALL,;t t
36106 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36107 s,@TOOLKIT@,$TOOLKIT,;t t
36108 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36109 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36110 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36111 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36112 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36113 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36114 s,@cross_compiling@,$cross_compiling,;t t
36115 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36116 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36117 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36118 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36119 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36120 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36121 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36122 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36123 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36124 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36125 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36126 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36127 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36128 s,@GUIDIST@,$GUIDIST,;t t
36129 s,@PORT_FILES@,$PORT_FILES,;t t
36130 s,@DISTDIR@,$DISTDIR,;t t
36131 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36132 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36133 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36134 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36135 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36136 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36137 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36138 s,@RESFLAGS@,$RESFLAGS,;t t
36139 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36140 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36141 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36142 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36143 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36144 s,@MACRESCOMP@,$MACRESCOMP,;t t
36145 s,@MACSETFILE@,$MACSETFILE,;t t
36146 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36147 s,@GCC@,$GCC,;t t
36148 s,@DLLTOOL@,$DLLTOOL,;t t
36149 s,@AS@,$AS,;t t
36150 s,@NM@,$NM,;t t
36151 s,@LD@,$LD,;t t
36152 s,@MAKEINFO@,$MAKEINFO,;t t
36153 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36154 s,@ESD_LINK@,$ESD_LINK,;t t
36155 s,@LIBOBJS@,$LIBOBJS,;t t
36156 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36157 CEOF
36158
36159 _ACEOF
36160
36161 cat >>$CONFIG_STATUS <<\_ACEOF
36162 # Split the substitutions into bite-sized pieces for seds with
36163 # small command number limits, like on Digital OSF/1 and HP-UX.
36164 ac_max_sed_lines=48
36165 ac_sed_frag=1 # Number of current file.
36166 ac_beg=1 # First line for current file.
36167 ac_end=$ac_max_sed_lines # Line after last line for current file.
36168 ac_more_lines=:
36169 ac_sed_cmds=
36170 while $ac_more_lines; do
36171 if test $ac_beg -gt 1; then
36172 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36173 else
36174 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36175 fi
36176 if test ! -s $tmp/subs.frag; then
36177 ac_more_lines=false
36178 else
36179 # The purpose of the label and of the branching condition is to
36180 # speed up the sed processing (if there are no `@' at all, there
36181 # is no need to browse any of the substitutions).
36182 # These are the two extra sed commands mentioned above.
36183 (echo ':t
36184 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36185 if test -z "$ac_sed_cmds"; then
36186 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36187 else
36188 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36189 fi
36190 ac_sed_frag=`expr $ac_sed_frag + 1`
36191 ac_beg=$ac_end
36192 ac_end=`expr $ac_end + $ac_max_sed_lines`
36193 fi
36194 done
36195 if test -z "$ac_sed_cmds"; then
36196 ac_sed_cmds=cat
36197 fi
36198 fi # test -n "$CONFIG_FILES"
36199
36200 _ACEOF
36201 cat >>$CONFIG_STATUS <<\_ACEOF
36202 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36203 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36204 case $ac_file in
36205 - | *:- | *:-:* ) # input from stdin
36206 cat >$tmp/stdin
36207 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36208 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36209 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36210 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36211 * ) ac_file_in=$ac_file.in ;;
36212 esac
36213
36214 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36215 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36216 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36217 X"$ac_file" : 'X\(//\)[^/]' \| \
36218 X"$ac_file" : 'X\(//\)$' \| \
36219 X"$ac_file" : 'X\(/\)' \| \
36220 . : '\(.\)' 2>/dev/null ||
36221 echo X"$ac_file" |
36222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36224 /^X\(\/\/\)$/{ s//\1/; q; }
36225 /^X\(\/\).*/{ s//\1/; q; }
36226 s/.*/./; q'`
36227 { if $as_mkdir_p; then
36228 mkdir -p "$ac_dir"
36229 else
36230 as_dir="$ac_dir"
36231 as_dirs=
36232 while test ! -d "$as_dir"; do
36233 as_dirs="$as_dir $as_dirs"
36234 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36236 X"$as_dir" : 'X\(//\)[^/]' \| \
36237 X"$as_dir" : 'X\(//\)$' \| \
36238 X"$as_dir" : 'X\(/\)' \| \
36239 . : '\(.\)' 2>/dev/null ||
36240 echo X"$as_dir" |
36241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36242 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36243 /^X\(\/\/\)$/{ s//\1/; q; }
36244 /^X\(\/\).*/{ s//\1/; q; }
36245 s/.*/./; q'`
36246 done
36247 test ! -n "$as_dirs" || mkdir $as_dirs
36248 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36249 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36250 { (exit 1); exit 1; }; }; }
36251
36252 ac_builddir=.
36253
36254 if test "$ac_dir" != .; then
36255 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36256 # A "../" for each directory in $ac_dir_suffix.
36257 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36258 else
36259 ac_dir_suffix= ac_top_builddir=
36260 fi
36261
36262 case $srcdir in
36263 .) # No --srcdir option. We are building in place.
36264 ac_srcdir=.
36265 if test -z "$ac_top_builddir"; then
36266 ac_top_srcdir=.
36267 else
36268 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36269 fi ;;
36270 [\\/]* | ?:[\\/]* ) # Absolute path.
36271 ac_srcdir=$srcdir$ac_dir_suffix;
36272 ac_top_srcdir=$srcdir ;;
36273 *) # Relative path.
36274 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36275 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36276 esac
36277 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36278 # absolute.
36279 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36280 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36281 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36282 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36283
36284
36285 case $INSTALL in
36286 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36287 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36288 esac
36289
36290 if test x"$ac_file" != x-; then
36291 { echo "$as_me:$LINENO: creating $ac_file" >&5
36292 echo "$as_me: creating $ac_file" >&6;}
36293 rm -f "$ac_file"
36294 fi
36295 # Let's still pretend it is `configure' which instantiates (i.e., don't
36296 # use $as_me), people would be surprised to read:
36297 # /* config.h. Generated by config.status. */
36298 if test x"$ac_file" = x-; then
36299 configure_input=
36300 else
36301 configure_input="$ac_file. "
36302 fi
36303 configure_input=$configure_input"Generated from `echo $ac_file_in |
36304 sed 's,.*/,,'` by configure."
36305
36306 # First look for the input files in the build tree, otherwise in the
36307 # src tree.
36308 ac_file_inputs=`IFS=:
36309 for f in $ac_file_in; do
36310 case $f in
36311 -) echo $tmp/stdin ;;
36312 [\\/$]*)
36313 # Absolute (can't be DOS-style, as IFS=:)
36314 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36315 echo "$as_me: error: cannot find input file: $f" >&2;}
36316 { (exit 1); exit 1; }; }
36317 echo $f;;
36318 *) # Relative
36319 if test -f "$f"; then
36320 # Build tree
36321 echo $f
36322 elif test -f "$srcdir/$f"; then
36323 # Source tree
36324 echo $srcdir/$f
36325 else
36326 # /dev/null tree
36327 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36328 echo "$as_me: error: cannot find input file: $f" >&2;}
36329 { (exit 1); exit 1; }; }
36330 fi;;
36331 esac
36332 done` || { (exit 1); exit 1; }
36333 _ACEOF
36334 cat >>$CONFIG_STATUS <<_ACEOF
36335 sed "$ac_vpsub
36336 $extrasub
36337 _ACEOF
36338 cat >>$CONFIG_STATUS <<\_ACEOF
36339 :t
36340 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36341 s,@configure_input@,$configure_input,;t t
36342 s,@srcdir@,$ac_srcdir,;t t
36343 s,@abs_srcdir@,$ac_abs_srcdir,;t t
36344 s,@top_srcdir@,$ac_top_srcdir,;t t
36345 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36346 s,@builddir@,$ac_builddir,;t t
36347 s,@abs_builddir@,$ac_abs_builddir,;t t
36348 s,@top_builddir@,$ac_top_builddir,;t t
36349 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36350 s,@INSTALL@,$ac_INSTALL,;t t
36351 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36352 rm -f $tmp/stdin
36353 if test x"$ac_file" != x-; then
36354 mv $tmp/out $ac_file
36355 else
36356 cat $tmp/out
36357 rm -f $tmp/out
36358 fi
36359
36360 done
36361 _ACEOF
36362 cat >>$CONFIG_STATUS <<\_ACEOF
36363
36364 #
36365 # CONFIG_HEADER section.
36366 #
36367
36368 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36369 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36370 #
36371 # ac_d sets the value in "#define NAME VALUE" lines.
36372 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36373 ac_dB='[ ].*$,\1#\2'
36374 ac_dC=' '
36375 ac_dD=',;t'
36376 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36377 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36378 ac_uB='$,\1#\2define\3'
36379 ac_uC=' '
36380 ac_uD=',;t'
36381
36382 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36383 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36384 case $ac_file in
36385 - | *:- | *:-:* ) # input from stdin
36386 cat >$tmp/stdin
36387 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36388 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36389 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36390 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36391 * ) ac_file_in=$ac_file.in ;;
36392 esac
36393
36394 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36395 echo "$as_me: creating $ac_file" >&6;}
36396
36397 # First look for the input files in the build tree, otherwise in the
36398 # src tree.
36399 ac_file_inputs=`IFS=:
36400 for f in $ac_file_in; do
36401 case $f in
36402 -) echo $tmp/stdin ;;
36403 [\\/$]*)
36404 # Absolute (can't be DOS-style, as IFS=:)
36405 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36406 echo "$as_me: error: cannot find input file: $f" >&2;}
36407 { (exit 1); exit 1; }; }
36408 echo $f;;
36409 *) # Relative
36410 if test -f "$f"; then
36411 # Build tree
36412 echo $f
36413 elif test -f "$srcdir/$f"; then
36414 # Source tree
36415 echo $srcdir/$f
36416 else
36417 # /dev/null tree
36418 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36419 echo "$as_me: error: cannot find input file: $f" >&2;}
36420 { (exit 1); exit 1; }; }
36421 fi;;
36422 esac
36423 done` || { (exit 1); exit 1; }
36424 # Remove the trailing spaces.
36425 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36426
36427 _ACEOF
36428
36429 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36430 # `conftest.undefs', that substitutes the proper values into
36431 # config.h.in to produce config.h. The first handles `#define'
36432 # templates, and the second `#undef' templates.
36433 # And first: Protect against being on the right side of a sed subst in
36434 # config.status. Protect against being in an unquoted here document
36435 # in config.status.
36436 rm -f conftest.defines conftest.undefs
36437 # Using a here document instead of a string reduces the quoting nightmare.
36438 # Putting comments in sed scripts is not portable.
36439 #
36440 # `end' is used to avoid that the second main sed command (meant for
36441 # 0-ary CPP macros) applies to n-ary macro definitions.
36442 # See the Autoconf documentation for `clear'.
36443 cat >confdef2sed.sed <<\_ACEOF
36444 s/[\\&,]/\\&/g
36445 s,[\\$`],\\&,g
36446 t clear
36447 : clear
36448 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36449 t end
36450 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36451 : end
36452 _ACEOF
36453 # If some macros were called several times there might be several times
36454 # the same #defines, which is useless. Nevertheless, we may not want to
36455 # sort them, since we want the *last* AC-DEFINE to be honored.
36456 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36457 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36458 rm -f confdef2sed.sed
36459
36460 # This sed command replaces #undef with comments. This is necessary, for
36461 # example, in the case of _POSIX_SOURCE, which is predefined and required
36462 # on some systems where configure will not decide to define it.
36463 cat >>conftest.undefs <<\_ACEOF
36464 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36465 _ACEOF
36466
36467 # Break up conftest.defines because some shells have a limit on the size
36468 # of here documents, and old seds have small limits too (100 cmds).
36469 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36470 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36471 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36472 echo ' :' >>$CONFIG_STATUS
36473 rm -f conftest.tail
36474 while grep . conftest.defines >/dev/null
36475 do
36476 # Write a limited-size here document to $tmp/defines.sed.
36477 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36478 # Speed up: don't consider the non `#define' lines.
36479 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36480 # Work around the forget-to-reset-the-flag bug.
36481 echo 't clr' >>$CONFIG_STATUS
36482 echo ': clr' >>$CONFIG_STATUS
36483 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36484 echo 'CEOF
36485 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36486 rm -f $tmp/in
36487 mv $tmp/out $tmp/in
36488 ' >>$CONFIG_STATUS
36489 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36490 rm -f conftest.defines
36491 mv conftest.tail conftest.defines
36492 done
36493 rm -f conftest.defines
36494 echo ' fi # grep' >>$CONFIG_STATUS
36495 echo >>$CONFIG_STATUS
36496
36497 # Break up conftest.undefs because some shells have a limit on the size
36498 # of here documents, and old seds have small limits too (100 cmds).
36499 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36500 rm -f conftest.tail
36501 while grep . conftest.undefs >/dev/null
36502 do
36503 # Write a limited-size here document to $tmp/undefs.sed.
36504 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36505 # Speed up: don't consider the non `#undef'
36506 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36507 # Work around the forget-to-reset-the-flag bug.
36508 echo 't clr' >>$CONFIG_STATUS
36509 echo ': clr' >>$CONFIG_STATUS
36510 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36511 echo 'CEOF
36512 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36513 rm -f $tmp/in
36514 mv $tmp/out $tmp/in
36515 ' >>$CONFIG_STATUS
36516 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36517 rm -f conftest.undefs
36518 mv conftest.tail conftest.undefs
36519 done
36520 rm -f conftest.undefs
36521
36522 cat >>$CONFIG_STATUS <<\_ACEOF
36523 # Let's still pretend it is `configure' which instantiates (i.e., don't
36524 # use $as_me), people would be surprised to read:
36525 # /* config.h. Generated by config.status. */
36526 if test x"$ac_file" = x-; then
36527 echo "/* Generated by configure. */" >$tmp/config.h
36528 else
36529 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36530 fi
36531 cat $tmp/in >>$tmp/config.h
36532 rm -f $tmp/in
36533 if test x"$ac_file" != x-; then
36534 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36535 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36536 echo "$as_me: $ac_file is unchanged" >&6;}
36537 else
36538 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36539 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36540 X"$ac_file" : 'X\(//\)[^/]' \| \
36541 X"$ac_file" : 'X\(//\)$' \| \
36542 X"$ac_file" : 'X\(/\)' \| \
36543 . : '\(.\)' 2>/dev/null ||
36544 echo X"$ac_file" |
36545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36546 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36547 /^X\(\/\/\)$/{ s//\1/; q; }
36548 /^X\(\/\).*/{ s//\1/; q; }
36549 s/.*/./; q'`
36550 { if $as_mkdir_p; then
36551 mkdir -p "$ac_dir"
36552 else
36553 as_dir="$ac_dir"
36554 as_dirs=
36555 while test ! -d "$as_dir"; do
36556 as_dirs="$as_dir $as_dirs"
36557 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36558 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36559 X"$as_dir" : 'X\(//\)[^/]' \| \
36560 X"$as_dir" : 'X\(//\)$' \| \
36561 X"$as_dir" : 'X\(/\)' \| \
36562 . : '\(.\)' 2>/dev/null ||
36563 echo X"$as_dir" |
36564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36565 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36566 /^X\(\/\/\)$/{ s//\1/; q; }
36567 /^X\(\/\).*/{ s//\1/; q; }
36568 s/.*/./; q'`
36569 done
36570 test ! -n "$as_dirs" || mkdir $as_dirs
36571 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36572 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36573 { (exit 1); exit 1; }; }; }
36574
36575 rm -f $ac_file
36576 mv $tmp/config.h $ac_file
36577 fi
36578 else
36579 cat $tmp/config.h
36580 rm -f $tmp/config.h
36581 fi
36582 done
36583 _ACEOF
36584 cat >>$CONFIG_STATUS <<\_ACEOF
36585
36586 #
36587 # CONFIG_COMMANDS section.
36588 #
36589 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36590 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36591 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36592 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36593 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36594 X"$ac_dest" : 'X\(//\)[^/]' \| \
36595 X"$ac_dest" : 'X\(//\)$' \| \
36596 X"$ac_dest" : 'X\(/\)' \| \
36597 . : '\(.\)' 2>/dev/null ||
36598 echo X"$ac_dest" |
36599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36600 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36601 /^X\(\/\/\)$/{ s//\1/; q; }
36602 /^X\(\/\).*/{ s//\1/; q; }
36603 s/.*/./; q'`
36604 ac_builddir=.
36605
36606 if test "$ac_dir" != .; then
36607 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36608 # A "../" for each directory in $ac_dir_suffix.
36609 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36610 else
36611 ac_dir_suffix= ac_top_builddir=
36612 fi
36613
36614 case $srcdir in
36615 .) # No --srcdir option. We are building in place.
36616 ac_srcdir=.
36617 if test -z "$ac_top_builddir"; then
36618 ac_top_srcdir=.
36619 else
36620 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36621 fi ;;
36622 [\\/]* | ?:[\\/]* ) # Absolute path.
36623 ac_srcdir=$srcdir$ac_dir_suffix;
36624 ac_top_srcdir=$srcdir ;;
36625 *) # Relative path.
36626 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36627 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36628 esac
36629 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36630 # absolute.
36631 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36632 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36633 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36634 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36635
36636
36637 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36638 echo "$as_me: executing $ac_dest commands" >&6;}
36639 case $ac_dest in
36640 default )
36641 if test ! -h wx-config; then
36642 chmod +x wx-config
36643 mv wx-config wx${TOOLCHAIN_NAME}-config
36644 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36645 fi
36646
36647 if test ! -d lib; then
36648 mkdir lib
36649 fi
36650 if test ! -d lib/wx; then
36651 mkdir lib/wx
36652 fi
36653 if test ! -d lib/wx/include; then
36654 mkdir lib/wx/include
36655 fi
36656 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36657 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36658 fi
36659 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36660 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36661 fi
36662 if test -f setup.h; then
36663 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36664 fi
36665 ;;
36666 esac
36667 done
36668 _ACEOF
36669
36670 cat >>$CONFIG_STATUS <<\_ACEOF
36671
36672 { (exit 0); exit 0; }
36673 _ACEOF
36674 chmod +x $CONFIG_STATUS
36675 ac_clean_files=$ac_clean_files_save
36676
36677
36678 # configure is writing to config.log, and then calls config.status.
36679 # config.status does its own redirection, appending to config.log.
36680 # Unfortunately, on DOS this fails, as config.log is still kept open
36681 # by configure, so config.status won't be able to write to it; its
36682 # output is simply discarded. So we exec the FD to /dev/null,
36683 # effectively closing config.log, so it can be properly (re)opened and
36684 # appended to by config.status. When coming back to configure, we
36685 # need to make the FD available again.
36686 if test "$no_create" != yes; then
36687 ac_cs_success=:
36688 ac_config_status_args=
36689 test "$silent" = yes &&
36690 ac_config_status_args="$ac_config_status_args --quiet"
36691 exec 5>/dev/null
36692 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36693 exec 5>>config.log
36694 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36695 # would make configure fail if this is the last instruction.
36696 $ac_cs_success || { (exit 1); exit 1; }
36697 fi
36698
36699 #
36700 # CONFIG_SUBDIRS section.
36701 #
36702 if test "$no_recursion" != yes; then
36703
36704 # Remove --cache-file and --srcdir arguments so they do not pile up.
36705 ac_sub_configure_args=
36706 ac_prev=
36707 for ac_arg in $ac_configure_args; do
36708 if test -n "$ac_prev"; then
36709 ac_prev=
36710 continue
36711 fi
36712 case $ac_arg in
36713 -cache-file | --cache-file | --cache-fil | --cache-fi \
36714 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36715 ac_prev=cache_file ;;
36716 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36717 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36718 | --c=*)
36719 ;;
36720 --config-cache | -C)
36721 ;;
36722 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36723 ac_prev=srcdir ;;
36724 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36725 ;;
36726 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36727 ac_prev=prefix ;;
36728 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36729 ;;
36730 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
36731 esac
36732 done
36733
36734 # Always prepend --prefix to ensure using the same prefix
36735 # in subdir configurations.
36736 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
36737
36738 ac_popdir=`pwd`
36739 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
36740
36741 # Do not complain, so a configure script can configure whichever
36742 # parts of a large source tree are present.
36743 test -d $srcdir/$ac_dir || continue
36744
36745 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36746 echo "$as_me: configuring in $ac_dir" >&6;}
36747 { if $as_mkdir_p; then
36748 mkdir -p "$ac_dir"
36749 else
36750 as_dir="$ac_dir"
36751 as_dirs=
36752 while test ! -d "$as_dir"; do
36753 as_dirs="$as_dir $as_dirs"
36754 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36755 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36756 X"$as_dir" : 'X\(//\)[^/]' \| \
36757 X"$as_dir" : 'X\(//\)$' \| \
36758 X"$as_dir" : 'X\(/\)' \| \
36759 . : '\(.\)' 2>/dev/null ||
36760 echo X"$as_dir" |
36761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36762 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36763 /^X\(\/\/\)$/{ s//\1/; q; }
36764 /^X\(\/\).*/{ s//\1/; q; }
36765 s/.*/./; q'`
36766 done
36767 test ! -n "$as_dirs" || mkdir $as_dirs
36768 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36769 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36770 { (exit 1); exit 1; }; }; }
36771
36772 ac_builddir=.
36773
36774 if test "$ac_dir" != .; then
36775 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36776 # A "../" for each directory in $ac_dir_suffix.
36777 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36778 else
36779 ac_dir_suffix= ac_top_builddir=
36780 fi
36781
36782 case $srcdir in
36783 .) # No --srcdir option. We are building in place.
36784 ac_srcdir=.
36785 if test -z "$ac_top_builddir"; then
36786 ac_top_srcdir=.
36787 else
36788 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36789 fi ;;
36790 [\\/]* | ?:[\\/]* ) # Absolute path.
36791 ac_srcdir=$srcdir$ac_dir_suffix;
36792 ac_top_srcdir=$srcdir ;;
36793 *) # Relative path.
36794 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36795 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36796 esac
36797 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36798 # absolute.
36799 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36800 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36801 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36802 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36803
36804
36805 cd $ac_dir
36806
36807 # Check for guested configure; otherwise get Cygnus style configure.
36808 if test -f $ac_srcdir/configure.gnu; then
36809 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
36810 elif test -f $ac_srcdir/configure; then
36811 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
36812 elif test -f $ac_srcdir/configure.in; then
36813 ac_sub_configure=$ac_configure
36814 else
36815 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36816 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36817 ac_sub_configure=
36818 fi
36819
36820 # The recursion is here.
36821 if test -n "$ac_sub_configure"; then
36822 # Make the cache file name correct relative to the subdirectory.
36823 case $cache_file in
36824 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
36825 *) # Relative path.
36826 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
36827 esac
36828
36829 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
36830 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
36831 # The eval makes quoting arguments work.
36832 eval $ac_sub_configure $ac_sub_configure_args \
36833 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
36834 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
36835 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
36836 { (exit 1); exit 1; }; }
36837 fi
36838
36839 cd $ac_popdir
36840 done
36841 fi
36842
36843
36844 echo
36845 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36846 echo ""
36847 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36848 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36849
36850 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36851 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36852 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36853
36854 echo " What level of wxWindows compatibility should be enabled?"
36855 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36856 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36857 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36858
36859 echo " Which libraries should wxWindows use?"
36860 echo " jpeg ${wxUSE_LIBJPEG-none}"
36861 echo " png ${wxUSE_LIBPNG-none}"
36862 echo " regex ${wxUSE_REGEX}"
36863 echo " tiff ${wxUSE_LIBTIFF-none}"
36864 echo " zlib ${wxUSE_ZLIB}"
36865 echo " odbc ${wxUSE_ODBC}"
36866 echo " expat ${wxUSE_EXPAT}"
36867
36868 echo ""
36869