]> git.saurik.com Git - wxWidgets.git/blob - configure
Replaced id with winid so it doesn't conflict with the Objective-C type
[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 EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX SO_SUFFIX_MODULE DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_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_GUI_1_USE_ODBC_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_MAC_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_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_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_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_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_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 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 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 --disable-precomp-headers don't use precompiled headers even if compiler can
1033
1034 Optional Packages:
1035 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1036 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1037 --with-gtk use GTK+
1038 --with-motif use Motif/Lesstif
1039 --with-mac use Mac OS X
1040 --with-cocoa use Cocoa
1041 --with-wine use Wine
1042 --with-msw use MS-Windows
1043 --with-pm use OS/2 Presentation Manager
1044 --with-mgl use SciTech MGL
1045 --with-microwin use MicroWindows
1046 --with-x11 use X11
1047 --with-libpng use libpng (PNG image format)
1048 --with-libjpeg use libjpeg (JPEG file format)
1049 --with-libtiff use libtiff (TIFF file format)
1050 --with-opengl use OpenGL (or Mesa)
1051 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1052 --with-regex enable support for wxRegEx class
1053 --with-zlib use zlib for LZW compression
1054 --with-odbc use the IODBC and wxODBC classes
1055 --with-expat enable XML support using expat parser
1056 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1057 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1058 --with-x use the X Window System
1059 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1060
1061 Some influential environment variables:
1062 CC C compiler command
1063 CFLAGS C compiler flags
1064 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1065 nonstandard directory <lib dir>
1066 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1067 headers in a nonstandard directory <include dir>
1068 CPP C preprocessor
1069 CXX C++ compiler command
1070 CXXFLAGS C++ compiler flags
1071 CXXCPP C++ preprocessor
1072
1073 Use these variables to override the choices made by `configure' or to help
1074 it to find libraries and programs with nonstandard names/locations.
1075
1076 Report bugs to <wx-dev@lists.wxwindows.org>.
1077 _ACEOF
1078 fi
1079
1080 if test "$ac_init_help" = "recursive"; then
1081 # If there are subdirs, report their specific --help.
1082 ac_popdir=`pwd`
1083 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1084 test -d $ac_dir || continue
1085 ac_builddir=.
1086
1087 if test "$ac_dir" != .; then
1088 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1089 # A "../" for each directory in $ac_dir_suffix.
1090 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1091 else
1092 ac_dir_suffix= ac_top_builddir=
1093 fi
1094
1095 case $srcdir in
1096 .) # No --srcdir option. We are building in place.
1097 ac_srcdir=.
1098 if test -z "$ac_top_builddir"; then
1099 ac_top_srcdir=.
1100 else
1101 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1102 fi ;;
1103 [\\/]* | ?:[\\/]* ) # Absolute path.
1104 ac_srcdir=$srcdir$ac_dir_suffix;
1105 ac_top_srcdir=$srcdir ;;
1106 *) # Relative path.
1107 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1108 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1109 esac
1110 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1111 # absolute.
1112 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1113 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1114 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1115 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1116
1117 cd $ac_dir
1118 # Check for guested configure; otherwise get Cygnus style configure.
1119 if test -f $ac_srcdir/configure.gnu; then
1120 echo
1121 $SHELL $ac_srcdir/configure.gnu --help=recursive
1122 elif test -f $ac_srcdir/configure; then
1123 echo
1124 $SHELL $ac_srcdir/configure --help=recursive
1125 elif test -f $ac_srcdir/configure.ac ||
1126 test -f $ac_srcdir/configure.in; then
1127 echo
1128 $ac_configure --help
1129 else
1130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 fi
1132 cd $ac_popdir
1133 done
1134 fi
1135
1136 test -n "$ac_init_help" && exit 0
1137 if $ac_init_version; then
1138 cat <<\_ACEOF
1139 wxWindows configure 2.5.0
1140 generated by GNU Autoconf 2.57
1141
1142 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1143 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1146 _ACEOF
1147 exit 0
1148 fi
1149 exec 5>config.log
1150 cat >&5 <<_ACEOF
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1153
1154 It was created by wxWindows $as_me 2.5.0, which was
1155 generated by GNU Autoconf 2.57. Invocation command line was
1156
1157 $ $0 $@
1158
1159 _ACEOF
1160 {
1161 cat <<_ASUNAME
1162 ## --------- ##
1163 ## Platform. ##
1164 ## --------- ##
1165
1166 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1167 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1168 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1169 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1170 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1171
1172 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1173 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1174
1175 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1176 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1177 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1178 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1179 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1180 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1181 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1182
1183 _ASUNAME
1184
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1186 for as_dir in $PATH
1187 do
1188 IFS=$as_save_IFS
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1191 done
1192
1193 } >&5
1194
1195 cat >&5 <<_ACEOF
1196
1197
1198 ## ----------- ##
1199 ## Core tests. ##
1200 ## ----------- ##
1201
1202 _ACEOF
1203
1204
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1210 ac_configure_args=
1211 ac_configure_args0=
1212 ac_configure_args1=
1213 ac_sep=
1214 ac_must_keep_next=false
1215 for ac_pass in 1 2
1216 do
1217 for ac_arg
1218 do
1219 case $ac_arg in
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1223 continue ;;
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1226 esac
1227 case $ac_pass in
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1229 2)
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1233 else
1234 case $ac_arg in
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1241 esac
1242 ;;
1243 -* ) ac_must_keep_next=true ;;
1244 esac
1245 fi
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1248 ac_sep=" "
1249 ;;
1250 esac
1251 done
1252 done
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1255
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log. We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close' the trap.
1261 trap 'exit_status=$?
1262 # Save into config.log some information that might help in debugging.
1263 {
1264 echo
1265
1266 cat <<\_ASBOX
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1270 _ASBOX
1271 echo
1272 # The following way of writing the cache mishandles newlines in values,
1273 {
1274 (set) 2>&1 |
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1276 *ac_space=\ *)
1277 sed -n \
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 ;;
1281 *)
1282 sed -n \
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1284 ;;
1285 esac;
1286 }
1287 echo
1288
1289 cat <<\_ASBOX
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1293 _ASBOX
1294 echo
1295 for ac_var in $ac_subst_vars
1296 do
1297 eval ac_val=$`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1299 done | sort
1300 echo
1301
1302 if test -n "$ac_subst_files"; then
1303 cat <<\_ASBOX
1304 ## ------------- ##
1305 ## Output files. ##
1306 ## ------------- ##
1307 _ASBOX
1308 echo
1309 for ac_var in $ac_subst_files
1310 do
1311 eval ac_val=$`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1313 done | sort
1314 echo
1315 fi
1316
1317 if test -s confdefs.h; then
1318 cat <<\_ASBOX
1319 ## ----------- ##
1320 ## confdefs.h. ##
1321 ## ----------- ##
1322 _ASBOX
1323 echo
1324 sed "/^$/d" confdefs.h | sort
1325 echo
1326 fi
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1330 } >&5
1331 rm -f core core.* *.core &&
1332 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1333 exit $exit_status
1334 ' 0
1335 for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 done
1338 ac_signal=0
1339
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1343 echo >confdefs.h
1344
1345 # Predefined preprocessor variables.
1346
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 _ACEOF
1350
1351
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 _ACEOF
1355
1356
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 _ACEOF
1360
1361
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 _ACEOF
1365
1366
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 _ACEOF
1370
1371
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1377 else
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1379 fi
1380 fi
1381 for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's/^/| /' "$ac_site_file" >&5
1386 . "$ac_site_file"
1387 fi
1388 done
1389
1390 if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1396 case $cache_file in
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1399 esac
1400 fi
1401 else
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1404 >$cache_file
1405 fi
1406
1407 # Check that the precious variables saved in the cache have kept the same
1408 # value.
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1417 set,)
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1421 ,set)
1422 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1425 ,);;
1426 *)
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1429 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431 echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433 echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1435 fi;;
1436 esac
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1439 case $ac_new_val in
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1443 esac
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1447 esac
1448 fi
1449 done
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1454 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1456 fi
1457
1458 ac_ext=c
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1493 ac_aux_dir=
1494 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1495 if test -f $ac_dir/install-sh; then
1496 ac_aux_dir=$ac_dir
1497 ac_install_sh="$ac_aux_dir/install-sh -c"
1498 break
1499 elif test -f $ac_dir/install.sh; then
1500 ac_aux_dir=$ac_dir
1501 ac_install_sh="$ac_aux_dir/install.sh -c"
1502 break
1503 elif test -f $ac_dir/shtool; then
1504 ac_aux_dir=$ac_dir
1505 ac_install_sh="$ac_aux_dir/shtool install -c"
1506 break
1507 fi
1508 done
1509 if test -z "$ac_aux_dir"; then
1510 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1511 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1512 { (exit 1); exit 1; }; }
1513 fi
1514 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1515 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1516 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1517
1518 # Make sure we can run config.sub.
1519 $ac_config_sub sun4 >/dev/null 2>&1 ||
1520 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1521 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1522 { (exit 1); exit 1; }; }
1523
1524 echo "$as_me:$LINENO: checking build system type" >&5
1525 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1526 if test "${ac_cv_build+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 else
1529 ac_cv_build_alias=$build_alias
1530 test -z "$ac_cv_build_alias" &&
1531 ac_cv_build_alias=`$ac_config_guess`
1532 test -z "$ac_cv_build_alias" &&
1533 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1534 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1535 { (exit 1); exit 1; }; }
1536 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1540
1541 fi
1542 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1543 echo "${ECHO_T}$ac_cv_build" >&6
1544 build=$ac_cv_build
1545 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1546 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1547 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1548
1549
1550 echo "$as_me:$LINENO: checking host system type" >&5
1551 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1552 if test "${ac_cv_host+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 else
1555 ac_cv_host_alias=$host_alias
1556 test -z "$ac_cv_host_alias" &&
1557 ac_cv_host_alias=$ac_cv_build_alias
1558 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1562
1563 fi
1564 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1565 echo "${ECHO_T}$ac_cv_host" >&6
1566 host=$ac_cv_host
1567 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1568 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1569 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1570
1571
1572 echo "$as_me:$LINENO: checking target system type" >&5
1573 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1574 if test "${ac_cv_target+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 else
1577 ac_cv_target_alias=$target_alias
1578 test "x$ac_cv_target_alias" = "x" &&
1579 ac_cv_target_alias=$ac_cv_host_alias
1580 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1584
1585 fi
1586 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1587 echo "${ECHO_T}$ac_cv_target" >&6
1588 target=$ac_cv_target
1589 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1590 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1591 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1592
1593
1594 # The aliases save the names the user supplied, while $host etc.
1595 # will get canonicalized.
1596 test -n "$target_alias" &&
1597 test "$program_prefix$program_suffix$program_transform_name" = \
1598 NONENONEs,x,x, &&
1599 program_prefix=${target_alias}-
1600
1601
1602
1603 WX_MAJOR_VERSION_NUMBER=2
1604 WX_MINOR_VERSION_NUMBER=5
1605 WX_RELEASE_NUMBER=0
1606
1607 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1608 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1609
1610 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1611
1612 WX_CURRENT=0
1613 WX_REVISION=0
1614 WX_AGE=0
1615
1616
1617
1618 USE_UNIX=1
1619 USE_WIN32=0
1620 USE_DOS=0
1621 USE_BEOS=0
1622 USE_MAC=0
1623
1624 USE_AIX=
1625 USE_BSD= USE_DARWIN= USE_FREEBSD=
1626 USE_GNU= USE_HPUX=
1627 USE_LINUX=
1628 USE_NETBSD=
1629 USE_OPENBSD=
1630 USE_OSF= USE_SGI=
1631 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1632 USE_ULTRIX=
1633 USE_UNIXWARE=
1634
1635 USE_ALPHA=
1636
1637 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1638
1639 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1640
1641 DEFAULT_wxUSE_COCOA=0
1642 DEFAULT_wxUSE_GTK=0
1643 DEFAULT_wxUSE_MAC=0
1644 DEFAULT_wxUSE_MGL=0
1645 DEFAULT_wxUSE_MICROWIN=0
1646 DEFAULT_wxUSE_MOTIF=0
1647 DEFAULT_wxUSE_MSW=0
1648 DEFAULT_wxUSE_PM=0
1649 DEFAULT_wxUSE_X11=0
1650
1651 DEFAULT_DEFAULT_wxUSE_COCOA=0
1652 DEFAULT_DEFAULT_wxUSE_GTK=0
1653 DEFAULT_DEFAULT_wxUSE_MAC=0
1654 DEFAULT_DEFAULT_wxUSE_MGL=0
1655 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1657 DEFAULT_DEFAULT_wxUSE_MSW=0
1658 DEFAULT_DEFAULT_wxUSE_PM=0
1659 DEFAULT_DEFAULT_wxUSE_X11=0
1660
1661 PROGRAM_EXT=
1662 SO_SUFFIX=so
1663 SAMPLES_RPATH_FLAG=
1664 SAMPLES_RPATH_POSTLINK=
1665
1666 case "${host}" in
1667 *-hp-hpux* )
1668 USE_HPUX=1
1669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1670 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1671 SO_SUFFIX=sl
1672 cat >>confdefs.h <<\_ACEOF
1673 #define __HPUX__ 1
1674 _ACEOF
1675
1676 ;;
1677 *-*-linux* )
1678 USE_LINUX=1
1679 cat >>confdefs.h <<\_ACEOF
1680 #define __LINUX__ 1
1681 _ACEOF
1682
1683 TMP=`uname -m`
1684 if test "x$TMP" = "xalpha"; then
1685 USE_ALPHA=1
1686 cat >>confdefs.h <<\_ACEOF
1687 #define __ALPHA__ 1
1688 _ACEOF
1689
1690 fi
1691 DEFAULT_DEFAULT_wxUSE_GTK=1
1692 ;;
1693 *-*-gnu* )
1694 USE_GNU=1
1695 cat >>confdefs.h <<\_ACEOF
1696 #define __GNU__ 1
1697 _ACEOF
1698
1699 TMP=`uname -m`
1700 if test "x$TMP" = "xalpha"; then
1701 USE_ALPHA=1
1702 cat >>confdefs.h <<\_ACEOF
1703 #define __ALPHA__ 1
1704 _ACEOF
1705
1706 fi
1707 DEFAULT_DEFAULT_wxUSE_GTK=1
1708 ;;
1709 *-*-irix5* | *-*-irix6* )
1710 USE_SGI=1
1711 USE_SVR4=1
1712 cat >>confdefs.h <<\_ACEOF
1713 #define __SGI__ 1
1714 _ACEOF
1715
1716 cat >>confdefs.h <<\_ACEOF
1717 #define __SVR4__ 1
1718 _ACEOF
1719
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1721 ;;
1722 *-*-solaris2* )
1723 USE_SUN=1
1724 USE_SOLARIS=1
1725 USE_SVR4=1
1726 cat >>confdefs.h <<\_ACEOF
1727 #define __SUN__ 1
1728 _ACEOF
1729
1730 cat >>confdefs.h <<\_ACEOF
1731 #define __SOLARIS__ 1
1732 _ACEOF
1733
1734 cat >>confdefs.h <<\_ACEOF
1735 #define __SVR4__ 1
1736 _ACEOF
1737
1738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1740 ;;
1741 *-*-sunos4* )
1742 USE_SUN=1
1743 USE_SUNOS=1
1744 USE_BSD=1
1745 cat >>confdefs.h <<\_ACEOF
1746 #define __SUN__ 1
1747 _ACEOF
1748
1749 cat >>confdefs.h <<\_ACEOF
1750 #define __SUNOS__ 1
1751 _ACEOF
1752
1753 cat >>confdefs.h <<\_ACEOF
1754 #define __BSD__ 1
1755 _ACEOF
1756
1757 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1758 ;;
1759 *-*-freebsd*)
1760 USE_BSD=1
1761 USE_FREEBSD=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __FREEBSD__ 1
1764 _ACEOF
1765
1766 cat >>confdefs.h <<\_ACEOF
1767 #define __BSD__ 1
1768 _ACEOF
1769
1770 DEFAULT_DEFAULT_wxUSE_GTK=1
1771 ;;
1772 *-*-openbsd*)
1773 USE_BSD=1
1774 USE_OPENBSD=1
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __OPENBSD__ 1
1777 _ACEOF
1778
1779 cat >>confdefs.h <<\_ACEOF
1780 #define __BSD__ 1
1781 _ACEOF
1782
1783 DEFAULT_DEFAULT_wxUSE_GTK=1
1784 ;;
1785 *-*-netbsd*)
1786 USE_BSD=1
1787 USE_NETBSD=1
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __NETBSD__ 1
1790 _ACEOF
1791
1792 cat >>confdefs.h <<\_ACEOF
1793 #define __BSD__ 1
1794 _ACEOF
1795
1796 DEFAULT_DEFAULT_wxUSE_GTK=1
1797 ;;
1798 *-*-osf* )
1799 USE_ALPHA=1
1800 USE_OSF=1
1801 cat >>confdefs.h <<\_ACEOF
1802 #define __ALPHA__ 1
1803 _ACEOF
1804
1805 cat >>confdefs.h <<\_ACEOF
1806 #define __OSF__ 1
1807 _ACEOF
1808
1809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1811 ;;
1812 *-*-dgux5* )
1813 USE_ALPHA=1
1814 USE_SVR4=1
1815 cat >>confdefs.h <<\_ACEOF
1816 #define __ALPHA__ 1
1817 _ACEOF
1818
1819 cat >>confdefs.h <<\_ACEOF
1820 #define __SVR4__ 1
1821 _ACEOF
1822
1823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1824 ;;
1825 *-*-sysv5* )
1826 USE_SYSV=1
1827 USE_SVR4=1
1828 cat >>confdefs.h <<\_ACEOF
1829 #define __SYSV__ 1
1830 _ACEOF
1831
1832 cat >>confdefs.h <<\_ACEOF
1833 #define __SVR4__ 1
1834 _ACEOF
1835
1836 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1837 ;;
1838 *-*-aix* )
1839 USE_AIX=1
1840 USE_SYSV=1
1841 USE_SVR4=1
1842 SO_SUFFIX=a
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __AIX__ 1
1845 _ACEOF
1846
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __SYSV__ 1
1849 _ACEOF
1850
1851 cat >>confdefs.h <<\_ACEOF
1852 #define __SVR4__ 1
1853 _ACEOF
1854
1855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1856 ;;
1857
1858 *-*-*UnixWare*)
1859 USE_SYSV=1
1860 USE_SVR4=1
1861 USE_UNIXWARE=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __UNIXWARE__ 1
1864 _ACEOF
1865
1866 ;;
1867
1868 *-*-cygwin* | *-*-mingw32* )
1869 SO_SUFFIX=dll
1870 PROGRAM_EXT=".exe"
1871 RESCOMP=windres
1872 DEFAULT_DEFAULT_wxUSE_MSW=1
1873 ;;
1874
1875 *-pc-msdosdjgpp )
1876 USE_UNIX=0
1877 USE_DOS=1
1878 cat >>confdefs.h <<\_ACEOF
1879 #define __DOS__ 1
1880 _ACEOF
1881
1882 PROGRAM_EXT=".exe"
1883 DEFAULT_DEFAULT_wxUSE_MGL=1
1884 LIBS="$LIBS -lstdc++"
1885 ;;
1886
1887 *-pc-os2_emx | *-pc-os2-emx )
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __EMX__ 1
1890 _ACEOF
1891
1892 PROGRAM_EXT=".exe"
1893 DEFAULT_DEFAULT_wxUSE_PM=1
1894 ;;
1895
1896 powerpc-*-darwin* )
1897 USE_BSD=1
1898 USE_DARWIN=1
1899 SO_SUFFIX=dylib
1900 cat >>confdefs.h <<\_ACEOF
1901 #define __BSD__ 1
1902 _ACEOF
1903
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __DARWIN__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __POWERPC__ 1
1910 _ACEOF
1911
1912 cat >>confdefs.h <<\_ACEOF
1913 #define TARGET_CARBON 1
1914 _ACEOF
1915
1916 DEFAULT_DEFAULT_wxUSE_MAC=1
1917 ;;
1918
1919 *-*-beos* )
1920 USE_BEOS=1
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __BEOS__ 1
1923 _ACEOF
1924
1925 ;;
1926
1927 *)
1928 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1929 echo "$as_me: error: unknown system type ${host}." >&2;}
1930 { (exit 1); exit 1; }; }
1931 esac
1932
1933
1934
1935
1936 wx_arg_cache_file="configarg.cache"
1937 echo "loading argument cache $wx_arg_cache_file"
1938 rm -f ${wx_arg_cache_file}.tmp
1939 touch ${wx_arg_cache_file}.tmp
1940 touch ${wx_arg_cache_file}
1941
1942
1943 DEBUG_CONFIGURE=0
1944 if test $DEBUG_CONFIGURE = 1; then
1945 DEFAULT_wxUSE_UNIVERSAL=no
1946 DEFAULT_wxUSE_STL=no
1947
1948 DEFAULT_wxUSE_NANOX=no
1949
1950 DEFAULT_wxUSE_THREADS=yes
1951
1952 DEFAULT_wxUSE_SHARED=yes
1953 DEFAULT_wxUSE_OPTIMISE=no
1954 DEFAULT_wxUSE_PROFILE=no
1955 DEFAULT_wxUSE_NO_DEPS=no
1956 DEFAULT_wxUSE_NO_RTTI=no
1957 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1958 DEFAULT_wxUSE_PERMISSIVE=no
1959 DEFAULT_wxUSE_DEBUG_FLAG=yes
1960 DEFAULT_wxUSE_DEBUG_INFO=yes
1961 DEFAULT_wxUSE_DEBUG_GDB=yes
1962 DEFAULT_wxUSE_MEM_TRACING=no
1963 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1964 DEFAULT_wxUSE_DMALLOC=no
1965 DEFAULT_wxUSE_APPLE_IEEE=no
1966
1967 DEFAULT_wxUSE_LOG=yes
1968 DEFAULT_wxUSE_LOGWINDOW=no
1969 DEFAULT_wxUSE_LOGGUI=no
1970 DEFAULT_wxUSE_LOGDIALOG=no
1971
1972 DEFAULT_wxUSE_GUI=yes
1973 DEFAULT_wxUSE_CONTROLS=no
1974
1975 DEFAULT_wxUSE_REGEX=no
1976 DEFAULT_wxUSE_XML=no
1977 DEFAULT_wxUSE_EXPAT=no
1978 DEFAULT_wxUSE_ZLIB=no
1979 DEFAULT_wxUSE_LIBPNG=no
1980 DEFAULT_wxUSE_LIBJPEG=no
1981 DEFAULT_wxUSE_LIBTIFF=no
1982 DEFAULT_wxUSE_ODBC=no
1983 DEFAULT_wxUSE_OPENGL=no
1984
1985 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1986 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1987 DEFAULT_wxUSE_STD_IOSTREAM=no
1988 DEFAULT_wxUSE_CMDLINE_PARSER=no
1989 DEFAULT_wxUSE_DATETIME=no
1990 DEFAULT_wxUSE_TIMER=no
1991 DEFAULT_wxUSE_STOPWATCH=no
1992 DEFAULT_wxUSE_FILE=no
1993 DEFAULT_wxUSE_FFILE=no
1994 DEFAULT_wxUSE_TEXTBUFFER=no
1995 DEFAULT_wxUSE_TEXTFILE=no
1996 DEFAULT_wxUSE_WAVE=no
1997 DEFAULT_wxUSE_INTL=no
1998 DEFAULT_wxUSE_CONFIG=no
1999 DEFAULT_wxUSE_FONTMAP=no
2000 DEFAULT_wxUSE_STREAMS=no
2001 DEFAULT_wxUSE_SOCKETS=no
2002 DEFAULT_wxUSE_OLE=no
2003 DEFAULT_wxUSE_DATAOBJ=no
2004 DEFAULT_wxUSE_DIALUP_MANAGER=no
2005 DEFAULT_wxUSE_JOYSTICK=no
2006 DEFAULT_wxUSE_DYNLIB_CLASS=no
2007 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2008 DEFAULT_wxUSE_LONGLONG=no
2009 DEFAULT_wxUSE_GEOMETRY=no
2010
2011 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2012 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2013 DEFAULT_wxUSE_POSTSCRIPT=no
2014
2015 DEFAULT_wxUSE_CLIPBOARD=no
2016 DEFAULT_wxUSE_TOOLTIPS=no
2017 DEFAULT_wxUSE_DRAG_AND_DROP=no
2018 DEFAULT_wxUSE_DRAGIMAGE=no
2019 DEFAULT_wxUSE_SPLINES=no
2020
2021 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2022 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2023 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2024
2025 DEFAULT_wxUSE_RESOURCES=no
2026 DEFAULT_wxUSE_CONSTRAINTS=no
2027 DEFAULT_wxUSE_IPC=no
2028 DEFAULT_wxUSE_HELP=no
2029 DEFAULT_wxUSE_MS_HTML_HELP=no
2030 DEFAULT_wxUSE_WXHTML_HELP=no
2031 DEFAULT_wxUSE_TREELAYOUT=no
2032 DEFAULT_wxUSE_METAFILE=no
2033 DEFAULT_wxUSE_MIMETYPE=no
2034 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2035 DEFAULT_wxUSE_PROTOCOL=no
2036 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2037 DEFAULT_wxUSE_PROTOCOL_FTP=no
2038 DEFAULT_wxUSE_PROTOCOL_FILE=no
2039 DEFAULT_wxUSE_URL=no
2040
2041 DEFAULT_wxUSE_COMMONDLGS=no
2042 DEFAULT_wxUSE_CHOICEDLG=no
2043 DEFAULT_wxUSE_COLOURDLG=no
2044 DEFAULT_wxUSE_DIRDLG=no
2045 DEFAULT_wxUSE_FILEDLG=no
2046 DEFAULT_wxUSE_FINDREPLDLG=no
2047 DEFAULT_wxUSE_FONTDLG=no
2048 DEFAULT_wxUSE_MSGDLG=no
2049 DEFAULT_wxUSE_NUMBERDLG=no
2050 DEFAULT_wxUSE_TEXTDLG=no
2051 DEFAULT_wxUSE_SPLASH=no
2052 DEFAULT_wxUSE_STARTUP_TIPS=no
2053 DEFAULT_wxUSE_PROGRESSDLG=no
2054 DEFAULT_wxUSE_WIZARDDLG=no
2055
2056 DEFAULT_wxUSE_MENUS=no
2057 DEFAULT_wxUSE_MINIFRAME=no
2058 DEFAULT_wxUSE_HTML=no
2059 DEFAULT_wxUSE_FILESYSTEM=no
2060 DEFAULT_wxUSE_FS_INET=no
2061 DEFAULT_wxUSE_FS_ZIP=no
2062 DEFAULT_wxUSE_BUSYINFO=no
2063 DEFAULT_wxUSE_ZIPSTREAM=no
2064 DEFAULT_wxUSE_VALIDATORS=no
2065
2066 DEFAULT_wxUSE_ACCEL=no
2067 DEFAULT_wxUSE_BUTTON=no
2068 DEFAULT_wxUSE_BMPBUTTON=no
2069 DEFAULT_wxUSE_CALCTRL=no
2070 DEFAULT_wxUSE_CARET=no
2071 DEFAULT_wxUSE_CHECKBOX=no
2072 DEFAULT_wxUSE_CHECKLST=no
2073 DEFAULT_wxUSE_CHOICE=no
2074 DEFAULT_wxUSE_COMBOBOX=no
2075 DEFAULT_wxUSE_DISPLAY=no
2076 DEFAULT_wxUSE_GAUGE=no
2077 DEFAULT_wxUSE_GRID=no
2078 DEFAULT_wxUSE_IMAGLIST=no
2079 DEFAULT_wxUSE_LISTBOX=no
2080 DEFAULT_wxUSE_LISTCTRL=no
2081 DEFAULT_wxUSE_NOTEBOOK=no
2082 DEFAULT_wxUSE_RADIOBOX=no
2083 DEFAULT_wxUSE_RADIOBTN=no
2084 DEFAULT_wxUSE_SASH=no
2085 DEFAULT_wxUSE_SCROLLBAR=no
2086 DEFAULT_wxUSE_SLIDER=no
2087 DEFAULT_wxUSE_SPINBTN=no
2088 DEFAULT_wxUSE_SPINCTRL=no
2089 DEFAULT_wxUSE_SPLITTER=no
2090 DEFAULT_wxUSE_STATBMP=no
2091 DEFAULT_wxUSE_STATBOX=no
2092 DEFAULT_wxUSE_STATLINE=no
2093 DEFAULT_wxUSE_STATTEXT=no
2094 DEFAULT_wxUSE_STATUSBAR=yes
2095 DEFAULT_wxUSE_TABDIALOG=no
2096 DEFAULT_wxUSE_TEXTCTRL=no
2097 DEFAULT_wxUSE_TOGGLEBTN=no
2098 DEFAULT_wxUSE_TOOLBAR=no
2099 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2100 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2101 DEFAULT_wxUSE_TREECTRL=no
2102 DEFAULT_wxUSE_POPUPWIN=no
2103 DEFAULT_wxUSE_TIPWINDOW=no
2104
2105 DEFAULT_wxUSE_UNICODE=no
2106 DEFAULT_wxUSE_UNICODE_MSLU=no
2107 DEFAULT_wxUSE_WCSRTOMBS=no
2108
2109 DEFAULT_wxUSE_PALETTE=no
2110 DEFAULT_wxUSE_IMAGE=no
2111 DEFAULT_wxUSE_GIF=no
2112 DEFAULT_wxUSE_PCX=no
2113 DEFAULT_wxUSE_PNM=no
2114 DEFAULT_wxUSE_IFF=no
2115 DEFAULT_wxUSE_XPM=no
2116 DEFAULT_wxUSE_ICO_CUR=no
2117 DEFAULT_wxUSE_ACCESSIBILITY=no
2118
2119 DEFAULT_wxUSE_MONOLITHIC=no
2120 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2121 else
2122 DEFAULT_wxUSE_UNIVERSAL=no
2123 DEFAULT_wxUSE_STL=no
2124
2125 DEFAULT_wxUSE_NANOX=no
2126
2127 DEFAULT_wxUSE_THREADS=yes
2128
2129 DEFAULT_wxUSE_SHARED=yes
2130 DEFAULT_wxUSE_OPTIMISE=yes
2131 DEFAULT_wxUSE_PROFILE=no
2132 DEFAULT_wxUSE_NO_DEPS=no
2133 DEFAULT_wxUSE_NO_RTTI=no
2134 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2135 DEFAULT_wxUSE_PERMISSIVE=no
2136 DEFAULT_wxUSE_DEBUG_FLAG=no
2137 DEFAULT_wxUSE_DEBUG_INFO=no
2138 DEFAULT_wxUSE_DEBUG_GDB=no
2139 DEFAULT_wxUSE_MEM_TRACING=no
2140 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2141 DEFAULT_wxUSE_DMALLOC=no
2142 DEFAULT_wxUSE_APPLE_IEEE=yes
2143
2144 DEFAULT_wxUSE_LOG=yes
2145 DEFAULT_wxUSE_LOGWINDOW=yes
2146 DEFAULT_wxUSE_LOGGUI=yes
2147 DEFAULT_wxUSE_LOGDIALOG=yes
2148
2149 DEFAULT_wxUSE_GUI=yes
2150
2151 DEFAULT_wxUSE_REGEX=yes
2152 DEFAULT_wxUSE_XML=yes
2153 DEFAULT_wxUSE_EXPAT=yes
2154 DEFAULT_wxUSE_ZLIB=yes
2155 DEFAULT_wxUSE_LIBPNG=yes
2156 DEFAULT_wxUSE_LIBJPEG=yes
2157 DEFAULT_wxUSE_LIBTIFF=yes
2158 DEFAULT_wxUSE_ODBC=no
2159 DEFAULT_wxUSE_OPENGL=no
2160
2161 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2162 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2163 DEFAULT_wxUSE_STD_IOSTREAM=no
2164 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2165 DEFAULT_wxUSE_DATETIME=yes
2166 DEFAULT_wxUSE_TIMER=yes
2167 DEFAULT_wxUSE_STOPWATCH=yes
2168 DEFAULT_wxUSE_FILE=yes
2169 DEFAULT_wxUSE_FFILE=yes
2170 DEFAULT_wxUSE_TEXTBUFFER=yes
2171 DEFAULT_wxUSE_TEXTFILE=yes
2172 DEFAULT_wxUSE_WAVE=no
2173 DEFAULT_wxUSE_INTL=yes
2174 DEFAULT_wxUSE_CONFIG=yes
2175 DEFAULT_wxUSE_FONTMAP=yes
2176 DEFAULT_wxUSE_STREAMS=yes
2177 DEFAULT_wxUSE_SOCKETS=yes
2178 DEFAULT_wxUSE_OLE=yes
2179 DEFAULT_wxUSE_DATAOBJ=yes
2180 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2181 DEFAULT_wxUSE_JOYSTICK=yes
2182 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2183 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2184 DEFAULT_wxUSE_LONGLONG=yes
2185 DEFAULT_wxUSE_GEOMETRY=yes
2186
2187 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2188 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2189 DEFAULT_wxUSE_POSTSCRIPT=yes
2190
2191 DEFAULT_wxUSE_CLIPBOARD=yes
2192 DEFAULT_wxUSE_TOOLTIPS=yes
2193 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2194 DEFAULT_wxUSE_DRAGIMAGE=yes
2195 DEFAULT_wxUSE_SPLINES=yes
2196
2197 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2198 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2199 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2200
2201 DEFAULT_wxUSE_RESOURCES=no
2202 DEFAULT_wxUSE_CONSTRAINTS=yes
2203 DEFAULT_wxUSE_IPC=yes
2204 DEFAULT_wxUSE_HELP=yes
2205 DEFAULT_wxUSE_MS_HTML_HELP=yes
2206 DEFAULT_wxUSE_WXHTML_HELP=yes
2207 DEFAULT_wxUSE_TREELAYOUT=yes
2208 DEFAULT_wxUSE_METAFILE=yes
2209 DEFAULT_wxUSE_MIMETYPE=yes
2210 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2211 DEFAULT_wxUSE_PROTOCOL=yes
2212 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2213 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2214 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2215 DEFAULT_wxUSE_URL=yes
2216
2217 DEFAULT_wxUSE_COMMONDLGS=yes
2218 DEFAULT_wxUSE_CHOICEDLG=yes
2219 DEFAULT_wxUSE_COLOURDLG=yes
2220 DEFAULT_wxUSE_DIRDLG=yes
2221 DEFAULT_wxUSE_FILEDLG=yes
2222 DEFAULT_wxUSE_FINDREPLDLG=yes
2223 DEFAULT_wxUSE_FONTDLG=yes
2224 DEFAULT_wxUSE_MSGDLG=yes
2225 DEFAULT_wxUSE_NUMBERDLG=yes
2226 DEFAULT_wxUSE_TEXTDLG=yes
2227 DEFAULT_wxUSE_SPLASH=yes
2228 DEFAULT_wxUSE_STARTUP_TIPS=yes
2229 DEFAULT_wxUSE_PROGRESSDLG=yes
2230 DEFAULT_wxUSE_WIZARDDLG=yes
2231
2232 DEFAULT_wxUSE_MENUS=yes
2233 DEFAULT_wxUSE_MINIFRAME=yes
2234 DEFAULT_wxUSE_HTML=yes
2235 DEFAULT_wxUSE_FILESYSTEM=yes
2236 DEFAULT_wxUSE_FS_INET=yes
2237 DEFAULT_wxUSE_FS_ZIP=yes
2238 DEFAULT_wxUSE_BUSYINFO=yes
2239 DEFAULT_wxUSE_ZIPSTREAM=yes
2240 DEFAULT_wxUSE_VALIDATORS=yes
2241
2242 DEFAULT_wxUSE_ACCEL=yes
2243 DEFAULT_wxUSE_BUTTON=yes
2244 DEFAULT_wxUSE_BMPBUTTON=yes
2245 DEFAULT_wxUSE_CALCTRL=yes
2246 DEFAULT_wxUSE_CARET=yes
2247 DEFAULT_wxUSE_CHECKBOX=yes
2248 DEFAULT_wxUSE_CHECKLST=yes
2249 DEFAULT_wxUSE_CHOICE=yes
2250 DEFAULT_wxUSE_COMBOBOX=yes
2251 DEFAULT_wxUSE_DISPLAY=no
2252 DEFAULT_wxUSE_GAUGE=yes
2253 DEFAULT_wxUSE_GRID=yes
2254 DEFAULT_wxUSE_IMAGLIST=yes
2255 DEFAULT_wxUSE_LISTBOX=yes
2256 DEFAULT_wxUSE_LISTCTRL=yes
2257 DEFAULT_wxUSE_NOTEBOOK=yes
2258 DEFAULT_wxUSE_RADIOBOX=yes
2259 DEFAULT_wxUSE_RADIOBTN=yes
2260 DEFAULT_wxUSE_SASH=yes
2261 DEFAULT_wxUSE_SCROLLBAR=yes
2262 DEFAULT_wxUSE_SLIDER=yes
2263 DEFAULT_wxUSE_SPINBTN=yes
2264 DEFAULT_wxUSE_SPINCTRL=yes
2265 DEFAULT_wxUSE_SPLITTER=yes
2266 DEFAULT_wxUSE_STATBMP=yes
2267 DEFAULT_wxUSE_STATBOX=yes
2268 DEFAULT_wxUSE_STATLINE=yes
2269 DEFAULT_wxUSE_STATTEXT=yes
2270 DEFAULT_wxUSE_STATUSBAR=yes
2271 DEFAULT_wxUSE_TABDIALOG=no
2272 DEFAULT_wxUSE_TEXTCTRL=yes
2273 DEFAULT_wxUSE_TOGGLEBTN=yes
2274 DEFAULT_wxUSE_TOOLBAR=yes
2275 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2276 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2277 DEFAULT_wxUSE_TREECTRL=yes
2278 DEFAULT_wxUSE_POPUPWIN=yes
2279 DEFAULT_wxUSE_TIPWINDOW=yes
2280
2281 DEFAULT_wxUSE_UNICODE=no
2282 DEFAULT_wxUSE_UNICODE_MSLU=yes
2283 DEFAULT_wxUSE_WCSRTOMBS=no
2284
2285 DEFAULT_wxUSE_PALETTE=yes
2286 DEFAULT_wxUSE_IMAGE=yes
2287 DEFAULT_wxUSE_GIF=yes
2288 DEFAULT_wxUSE_PCX=yes
2289 DEFAULT_wxUSE_IFF=no
2290 DEFAULT_wxUSE_PNM=yes
2291 DEFAULT_wxUSE_XPM=yes
2292 DEFAULT_wxUSE_ICO_CUR=yes
2293 DEFAULT_wxUSE_ACCESSIBILITY=no
2294
2295 DEFAULT_wxUSE_MONOLITHIC=no
2296 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2297 fi
2298
2299
2300
2301 for toolkit in `echo $ALL_TOOLKITS`; do
2302 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2303 if test "x$LINE" != "x" ; then
2304 has_toolkit_in_cache=1
2305 eval "DEFAULT_$LINE"
2306 eval "CACHE_$toolkit=1"
2307 fi
2308 done
2309
2310
2311
2312 enablestring=
2313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2314 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2315 no_cache=0
2316 # Check whether --enable-gui or --disable-gui was given.
2317 if test "${enable_gui+set}" = set; then
2318 enableval="$enable_gui"
2319
2320 if test "$enableval" = yes; then
2321 ac_cv_use_gui='wxUSE_GUI=yes'
2322 else
2323 ac_cv_use_gui='wxUSE_GUI=no'
2324 fi
2325
2326 else
2327
2328 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2329 if test "x$LINE" != x ; then
2330 eval "DEFAULT_$LINE"
2331 else
2332 no_cache=1
2333 fi
2334
2335 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2336
2337 fi;
2338
2339 eval "$ac_cv_use_gui"
2340 if test "$no_cache" != 1; then
2341 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2342 fi
2343
2344 if test "$wxUSE_GUI" = yes; then
2345 echo "$as_me:$LINENO: result: yes" >&5
2346 echo "${ECHO_T}yes" >&6
2347 else
2348 echo "$as_me:$LINENO: result: no" >&5
2349 echo "${ECHO_T}no" >&6
2350 fi
2351
2352
2353 enablestring=
2354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2355 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2356 no_cache=0
2357 # Check whether --enable-monolithic or --disable-monolithic was given.
2358 if test "${enable_monolithic+set}" = set; then
2359 enableval="$enable_monolithic"
2360
2361 if test "$enableval" = yes; then
2362 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2363 else
2364 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2365 fi
2366
2367 else
2368
2369 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2370 if test "x$LINE" != x ; then
2371 eval "DEFAULT_$LINE"
2372 else
2373 no_cache=1
2374 fi
2375
2376 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2377
2378 fi;
2379
2380 eval "$ac_cv_use_monolithic"
2381 if test "$no_cache" != 1; then
2382 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2383 fi
2384
2385 if test "$wxUSE_MONOLITHIC" = yes; then
2386 echo "$as_me:$LINENO: result: yes" >&5
2387 echo "${ECHO_T}yes" >&6
2388 else
2389 echo "$as_me:$LINENO: result: no" >&5
2390 echo "${ECHO_T}no" >&6
2391 fi
2392
2393
2394 if test "$wxUSE_GUI" = "yes"; then
2395
2396
2397 enablestring=
2398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2399 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2400 no_cache=0
2401 # Check whether --enable-universal or --disable-universal was given.
2402 if test "${enable_universal+set}" = set; then
2403 enableval="$enable_universal"
2404
2405 if test "$enableval" = yes; then
2406 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2407 else
2408 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2409 fi
2410
2411 else
2412
2413 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2414 if test "x$LINE" != x ; then
2415 eval "DEFAULT_$LINE"
2416 else
2417 no_cache=1
2418 fi
2419
2420 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2421
2422 fi;
2423
2424 eval "$ac_cv_use_universal"
2425 if test "$no_cache" != 1; then
2426 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2427 fi
2428
2429 if test "$wxUSE_UNIVERSAL" = yes; then
2430 echo "$as_me:$LINENO: result: yes" >&5
2431 echo "${ECHO_T}yes" >&6
2432 else
2433 echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2435 fi
2436
2437
2438 # Check whether --with-gtk or --without-gtk was given.
2439 if test "${with_gtk+set}" = set; then
2440 withval="$with_gtk"
2441 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2442 fi;
2443
2444 # Check whether --with-motif or --without-motif was given.
2445 if test "${with_motif+set}" = set; then
2446 withval="$with_motif"
2447 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2448 fi;
2449
2450 # Check whether --with-mac or --without-mac was given.
2451 if test "${with_mac+set}" = set; then
2452 withval="$with_mac"
2453 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2454 fi;
2455
2456 # Check whether --with-cocoa or --without-cocoa was given.
2457 if test "${with_cocoa+set}" = set; then
2458 withval="$with_cocoa"
2459 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2460 fi;
2461
2462 # Check whether --with-wine or --without-wine was given.
2463 if test "${with_wine+set}" = set; then
2464 withval="$with_wine"
2465 wxUSE_WINE="$withval" CACHE_WINE=1
2466 fi;
2467
2468 # Check whether --with-msw or --without-msw was given.
2469 if test "${with_msw+set}" = set; then
2470 withval="$with_msw"
2471 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2472 fi;
2473
2474 # Check whether --with-pm or --without-pm was given.
2475 if test "${with_pm+set}" = set; then
2476 withval="$with_pm"
2477 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2478 fi;
2479
2480 # Check whether --with-mgl or --without-mgl was given.
2481 if test "${with_mgl+set}" = set; then
2482 withval="$with_mgl"
2483 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2484 fi;
2485
2486 # Check whether --with-microwin or --without-microwin was given.
2487 if test "${with_microwin+set}" = set; then
2488 withval="$with_microwin"
2489 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2490 fi;
2491
2492 # Check whether --with-x11 or --without-x11 was given.
2493 if test "${with_x11+set}" = set; then
2494 withval="$with_x11"
2495 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2496 fi;
2497
2498 enablestring=
2499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2500 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2501 no_cache=0
2502 # Check whether --enable-nanox or --disable-nanox was given.
2503 if test "${enable_nanox+set}" = set; then
2504 enableval="$enable_nanox"
2505
2506 if test "$enableval" = yes; then
2507 ac_cv_use_nanox='wxUSE_NANOX=yes'
2508 else
2509 ac_cv_use_nanox='wxUSE_NANOX=no'
2510 fi
2511
2512 else
2513
2514 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2515 if test "x$LINE" != x ; then
2516 eval "DEFAULT_$LINE"
2517 else
2518 no_cache=1
2519 fi
2520
2521 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2522
2523 fi;
2524
2525 eval "$ac_cv_use_nanox"
2526 if test "$no_cache" != 1; then
2527 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2528 fi
2529
2530 if test "$wxUSE_NANOX" = yes; then
2531 echo "$as_me:$LINENO: result: yes" >&5
2532 echo "${ECHO_T}yes" >&6
2533 else
2534 echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6
2536 fi
2537
2538
2539
2540 enablestring=
2541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2542 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2543 no_cache=0
2544 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2545 if test "${enable_gtk2+set}" = set; then
2546 enableval="$enable_gtk2"
2547
2548 if test "$enableval" = yes; then
2549 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2550 else
2551 ac_cv_use_gtk2='wxUSE_GTK2=no'
2552 fi
2553
2554 else
2555
2556 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2557 if test "x$LINE" != x ; then
2558 eval "DEFAULT_$LINE"
2559 else
2560 no_cache=1
2561 fi
2562
2563 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2564
2565 fi;
2566
2567 eval "$ac_cv_use_gtk2"
2568 if test "$no_cache" != 1; then
2569 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2570 fi
2571
2572 if test "$wxUSE_GTK2" = yes; then
2573 echo "$as_me:$LINENO: result: yes" >&5
2574 echo "${ECHO_T}yes" >&6
2575 else
2576 echo "$as_me:$LINENO: result: no" >&5
2577 echo "${ECHO_T}no" >&6
2578 fi
2579
2580
2581
2582 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2583 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2584 no_cache=0
2585
2586 # Check whether --with-libpng or --without-libpng was given.
2587 if test "${with_libpng+set}" = set; then
2588 withval="$with_libpng"
2589
2590 if test "$withval" = yes; then
2591 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2592 elif test "$withval" = no; then
2593 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2594 elif test "$withval" = sys; then
2595 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2596 elif test "$withval" = builtin; then
2597 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2598 else
2599 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2600 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2601 { (exit 1); exit 1; }; }
2602 fi
2603
2604 else
2605
2606 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x ; then
2608 eval "DEFAULT_$LINE"
2609 else
2610 no_cache=1
2611 fi
2612
2613 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2614
2615 fi;
2616
2617 eval "$ac_cv_use_libpng"
2618 if test "$no_cache" != 1; then
2619 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2620 fi
2621
2622 if test "$wxUSE_LIBPNG" = yes; then
2623 echo "$as_me:$LINENO: result: yes" >&5
2624 echo "${ECHO_T}yes" >&6
2625 elif test "$wxUSE_LIBPNG" = no; then
2626 echo "$as_me:$LINENO: result: no" >&5
2627 echo "${ECHO_T}no" >&6
2628 elif test "$wxUSE_LIBPNG" = sys; then
2629 echo "$as_me:$LINENO: result: system version" >&5
2630 echo "${ECHO_T}system version" >&6
2631 elif test "$wxUSE_LIBPNG" = builtin; then
2632 echo "$as_me:$LINENO: result: builtin version" >&5
2633 echo "${ECHO_T}builtin version" >&6
2634 else
2635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2636 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2637 { (exit 1); exit 1; }; }
2638 fi
2639
2640
2641 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2642 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2643 no_cache=0
2644
2645 # Check whether --with-libjpeg or --without-libjpeg was given.
2646 if test "${with_libjpeg+set}" = set; then
2647 withval="$with_libjpeg"
2648
2649 if test "$withval" = yes; then
2650 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2651 elif test "$withval" = no; then
2652 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2653 elif test "$withval" = sys; then
2654 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2655 elif test "$withval" = builtin; then
2656 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2657 else
2658 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2659 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2660 { (exit 1); exit 1; }; }
2661 fi
2662
2663 else
2664
2665 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x ; then
2667 eval "DEFAULT_$LINE"
2668 else
2669 no_cache=1
2670 fi
2671
2672 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2673
2674 fi;
2675
2676 eval "$ac_cv_use_libjpeg"
2677 if test "$no_cache" != 1; then
2678 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2679 fi
2680
2681 if test "$wxUSE_LIBJPEG" = yes; then
2682 echo "$as_me:$LINENO: result: yes" >&5
2683 echo "${ECHO_T}yes" >&6
2684 elif test "$wxUSE_LIBJPEG" = no; then
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2687 elif test "$wxUSE_LIBJPEG" = sys; then
2688 echo "$as_me:$LINENO: result: system version" >&5
2689 echo "${ECHO_T}system version" >&6
2690 elif test "$wxUSE_LIBJPEG" = builtin; then
2691 echo "$as_me:$LINENO: result: builtin version" >&5
2692 echo "${ECHO_T}builtin version" >&6
2693 else
2694 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2695 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2696 { (exit 1); exit 1; }; }
2697 fi
2698
2699
2700 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2701 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2702 no_cache=0
2703
2704 # Check whether --with-libtiff or --without-libtiff was given.
2705 if test "${with_libtiff+set}" = set; then
2706 withval="$with_libtiff"
2707
2708 if test "$withval" = yes; then
2709 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2710 elif test "$withval" = no; then
2711 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2712 elif test "$withval" = sys; then
2713 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2714 elif test "$withval" = builtin; then
2715 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2716 else
2717 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2718 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2719 { (exit 1); exit 1; }; }
2720 fi
2721
2722 else
2723
2724 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2725 if test "x$LINE" != x ; then
2726 eval "DEFAULT_$LINE"
2727 else
2728 no_cache=1
2729 fi
2730
2731 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2732
2733 fi;
2734
2735 eval "$ac_cv_use_libtiff"
2736 if test "$no_cache" != 1; then
2737 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2738 fi
2739
2740 if test "$wxUSE_LIBTIFF" = yes; then
2741 echo "$as_me:$LINENO: result: yes" >&5
2742 echo "${ECHO_T}yes" >&6
2743 elif test "$wxUSE_LIBTIFF" = no; then
2744 echo "$as_me:$LINENO: result: no" >&5
2745 echo "${ECHO_T}no" >&6
2746 elif test "$wxUSE_LIBTIFF" = sys; then
2747 echo "$as_me:$LINENO: result: system version" >&5
2748 echo "${ECHO_T}system version" >&6
2749 elif test "$wxUSE_LIBTIFF" = builtin; then
2750 echo "$as_me:$LINENO: result: builtin version" >&5
2751 echo "${ECHO_T}builtin version" >&6
2752 else
2753 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2754 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2755 { (exit 1); exit 1; }; }
2756 fi
2757
2758
2759 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2760 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2761 no_cache=0
2762
2763 # Check whether --with-opengl or --without-opengl was given.
2764 if test "${with_opengl+set}" = set; then
2765 withval="$with_opengl"
2766
2767 if test "$withval" = yes; then
2768 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2769 else
2770 ac_cv_use_opengl='wxUSE_OPENGL=no'
2771 fi
2772
2773 else
2774
2775 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x ; then
2777 eval "DEFAULT_$LINE"
2778 else
2779 no_cache=1
2780 fi
2781
2782 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2783
2784 fi;
2785
2786 eval "$ac_cv_use_opengl"
2787 if test "$no_cache" != 1; then
2788 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2789 fi
2790
2791 if test "$wxUSE_OPENGL" = yes; then
2792 echo "$as_me:$LINENO: result: yes" >&5
2793 echo "${ECHO_T}yes" >&6
2794 else
2795 echo "$as_me:$LINENO: result: no" >&5
2796 echo "${ECHO_T}no" >&6
2797 fi
2798
2799
2800 fi
2801
2802
2803 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2804 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2805 no_cache=0
2806
2807 # Check whether --with-dmalloc or --without-dmalloc was given.
2808 if test "${with_dmalloc+set}" = set; then
2809 withval="$with_dmalloc"
2810
2811 if test "$withval" = yes; then
2812 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2813 else
2814 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2815 fi
2816
2817 else
2818
2819 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2820 if test "x$LINE" != x ; then
2821 eval "DEFAULT_$LINE"
2822 else
2823 no_cache=1
2824 fi
2825
2826 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2827
2828 fi;
2829
2830 eval "$ac_cv_use_dmalloc"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2833 fi
2834
2835 if test "$wxUSE_DMALLOC" = yes; then
2836 echo "$as_me:$LINENO: result: yes" >&5
2837 echo "${ECHO_T}yes" >&6
2838 else
2839 echo "$as_me:$LINENO: result: no" >&5
2840 echo "${ECHO_T}no" >&6
2841 fi
2842
2843
2844 echo "$as_me:$LINENO: checking for --with-regex" >&5
2845 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2846 no_cache=0
2847
2848 # Check whether --with-regex or --without-regex was given.
2849 if test "${with_regex+set}" = set; then
2850 withval="$with_regex"
2851
2852 if test "$withval" = yes; then
2853 ac_cv_use_regex='wxUSE_REGEX=yes'
2854 elif test "$withval" = no; then
2855 ac_cv_use_regex='wxUSE_REGEX=no'
2856 elif test "$withval" = sys; then
2857 ac_cv_use_regex='wxUSE_REGEX=sys'
2858 elif test "$withval" = builtin; then
2859 ac_cv_use_regex='wxUSE_REGEX=builtin'
2860 else
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2864 fi
2865
2866 else
2867
2868 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x ; then
2870 eval "DEFAULT_$LINE"
2871 else
2872 no_cache=1
2873 fi
2874
2875 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2876
2877 fi;
2878
2879 eval "$ac_cv_use_regex"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2882 fi
2883
2884 if test "$wxUSE_REGEX" = yes; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2887 elif test "$wxUSE_REGEX" = no; then
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 elif test "$wxUSE_REGEX" = sys; then
2891 echo "$as_me:$LINENO: result: system version" >&5
2892 echo "${ECHO_T}system version" >&6
2893 elif test "$wxUSE_REGEX" = builtin; then
2894 echo "$as_me:$LINENO: result: builtin version" >&5
2895 echo "${ECHO_T}builtin version" >&6
2896 else
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2900 fi
2901
2902
2903 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2904 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2905 no_cache=0
2906
2907 # Check whether --with-zlib or --without-zlib was given.
2908 if test "${with_zlib+set}" = set; then
2909 withval="$with_zlib"
2910
2911 if test "$withval" = yes; then
2912 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2913 elif test "$withval" = no; then
2914 ac_cv_use_zlib='wxUSE_ZLIB=no'
2915 elif test "$withval" = sys; then
2916 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2917 elif test "$withval" = builtin; then
2918 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2919 else
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2923 fi
2924
2925 else
2926
2927 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x ; then
2929 eval "DEFAULT_$LINE"
2930 else
2931 no_cache=1
2932 fi
2933
2934 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2935
2936 fi;
2937
2938 eval "$ac_cv_use_zlib"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2941 fi
2942
2943 if test "$wxUSE_ZLIB" = yes; then
2944 echo "$as_me:$LINENO: result: yes" >&5
2945 echo "${ECHO_T}yes" >&6
2946 elif test "$wxUSE_ZLIB" = no; then
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2949 elif test "$wxUSE_ZLIB" = sys; then
2950 echo "$as_me:$LINENO: result: system version" >&5
2951 echo "${ECHO_T}system version" >&6
2952 elif test "$wxUSE_ZLIB" = builtin; then
2953 echo "$as_me:$LINENO: result: builtin version" >&5
2954 echo "${ECHO_T}builtin version" >&6
2955 else
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2959 fi
2960
2961
2962 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2963 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2964 no_cache=0
2965
2966 # Check whether --with-odbc or --without-odbc was given.
2967 if test "${with_odbc+set}" = set; then
2968 withval="$with_odbc"
2969
2970 if test "$withval" = yes; then
2971 ac_cv_use_odbc='wxUSE_ODBC=yes'
2972 elif test "$withval" = no; then
2973 ac_cv_use_odbc='wxUSE_ODBC=no'
2974 elif test "$withval" = sys; then
2975 ac_cv_use_odbc='wxUSE_ODBC=sys'
2976 elif test "$withval" = builtin; then
2977 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2978 else
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2982 fi
2983
2984 else
2985
2986 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2994
2995 fi;
2996
2997 eval "$ac_cv_use_odbc"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3000 fi
3001
3002 if test "$wxUSE_ODBC" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 elif test "$wxUSE_ODBC" = no; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 elif test "$wxUSE_ODBC" = sys; then
3009 echo "$as_me:$LINENO: result: system version" >&5
3010 echo "${ECHO_T}system version" >&6
3011 elif test "$wxUSE_ODBC" = builtin; then
3012 echo "$as_me:$LINENO: result: builtin version" >&5
3013 echo "${ECHO_T}builtin version" >&6
3014 else
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3018 fi
3019
3020
3021 echo "$as_me:$LINENO: checking for --with-expat" >&5
3022 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3023 no_cache=0
3024
3025 # Check whether --with-expat or --without-expat was given.
3026 if test "${with_expat+set}" = set; then
3027 withval="$with_expat"
3028
3029 if test "$withval" = yes; then
3030 ac_cv_use_expat='wxUSE_EXPAT=yes'
3031 elif test "$withval" = no; then
3032 ac_cv_use_expat='wxUSE_EXPAT=no'
3033 elif test "$withval" = sys; then
3034 ac_cv_use_expat='wxUSE_EXPAT=sys'
3035 elif test "$withval" = builtin; then
3036 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3037 else
3038 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3039 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3040 { (exit 1); exit 1; }; }
3041 fi
3042
3043 else
3044
3045 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3046 if test "x$LINE" != x ; then
3047 eval "DEFAULT_$LINE"
3048 else
3049 no_cache=1
3050 fi
3051
3052 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3053
3054 fi;
3055
3056 eval "$ac_cv_use_expat"
3057 if test "$no_cache" != 1; then
3058 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3059 fi
3060
3061 if test "$wxUSE_EXPAT" = yes; then
3062 echo "$as_me:$LINENO: result: yes" >&5
3063 echo "${ECHO_T}yes" >&6
3064 elif test "$wxUSE_EXPAT" = no; then
3065 echo "$as_me:$LINENO: result: no" >&5
3066 echo "${ECHO_T}no" >&6
3067 elif test "$wxUSE_EXPAT" = sys; then
3068 echo "$as_me:$LINENO: result: system version" >&5
3069 echo "${ECHO_T}system version" >&6
3070 elif test "$wxUSE_EXPAT" = builtin; then
3071 echo "$as_me:$LINENO: result: builtin version" >&5
3072 echo "${ECHO_T}builtin version" >&6
3073 else
3074 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3075 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3076 { (exit 1); exit 1; }; }
3077 fi
3078
3079
3080
3081
3082 enablestring=
3083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3084 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3085 no_cache=0
3086 # Check whether --enable-shared or --disable-shared was given.
3087 if test "${enable_shared+set}" = set; then
3088 enableval="$enable_shared"
3089
3090 if test "$enableval" = yes; then
3091 ac_cv_use_shared='wxUSE_SHARED=yes'
3092 else
3093 ac_cv_use_shared='wxUSE_SHARED=no'
3094 fi
3095
3096 else
3097
3098 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3101 else
3102 no_cache=1
3103 fi
3104
3105 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3106
3107 fi;
3108
3109 eval "$ac_cv_use_shared"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3112 fi
3113
3114 if test "$wxUSE_SHARED" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3117 else
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3120 fi
3121
3122
3123 enablestring=
3124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3125 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3126 no_cache=0
3127 # Check whether --enable-optimise or --disable-optimise was given.
3128 if test "${enable_optimise+set}" = set; then
3129 enableval="$enable_optimise"
3130
3131 if test "$enableval" = yes; then
3132 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3133 else
3134 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3135 fi
3136
3137 else
3138
3139 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3140 if test "x$LINE" != x ; then
3141 eval "DEFAULT_$LINE"
3142 else
3143 no_cache=1
3144 fi
3145
3146 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3147
3148 fi;
3149
3150 eval "$ac_cv_use_optimise"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3153 fi
3154
3155 if test "$wxUSE_OPTIMISE" = yes; then
3156 echo "$as_me:$LINENO: result: yes" >&5
3157 echo "${ECHO_T}yes" >&6
3158 else
3159 echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6
3161 fi
3162
3163
3164 enablestring=
3165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3166 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3167 no_cache=0
3168 # Check whether --enable-debug or --disable-debug was given.
3169 if test "${enable_debug+set}" = set; then
3170 enableval="$enable_debug"
3171
3172 if test "$enableval" = yes; then
3173 ac_cv_use_debug='wxUSE_DEBUG=yes'
3174 else
3175 ac_cv_use_debug='wxUSE_DEBUG=no'
3176 fi
3177
3178 else
3179
3180 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x ; then
3182 eval "DEFAULT_$LINE"
3183 else
3184 no_cache=1
3185 fi
3186
3187 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3188
3189 fi;
3190
3191 eval "$ac_cv_use_debug"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3194 fi
3195
3196 if test "$wxUSE_DEBUG" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3199 else
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3202 fi
3203
3204
3205 enablestring=
3206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3207 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3208 no_cache=0
3209 # Check whether --enable-stl or --disable-stl was given.
3210 if test "${enable_stl+set}" = set; then
3211 enableval="$enable_stl"
3212
3213 if test "$enableval" = yes; then
3214 ac_cv_use_stl='wxUSE_STL=yes'
3215 else
3216 ac_cv_use_stl='wxUSE_STL=no'
3217 fi
3218
3219 else
3220
3221 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3222 if test "x$LINE" != x ; then
3223 eval "DEFAULT_$LINE"
3224 else
3225 no_cache=1
3226 fi
3227
3228 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3229
3230 fi;
3231
3232 eval "$ac_cv_use_stl"
3233 if test "$no_cache" != 1; then
3234 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3235 fi
3236
3237 if test "$wxUSE_STL" = yes; then
3238 echo "$as_me:$LINENO: result: yes" >&5
3239 echo "${ECHO_T}yes" >&6
3240 else
3241 echo "$as_me:$LINENO: result: no" >&5
3242 echo "${ECHO_T}no" >&6
3243 fi
3244
3245
3246 if test "$wxUSE_DEBUG" = "yes"; then
3247 DEFAULT_wxUSE_DEBUG_FLAG=yes
3248 DEFAULT_wxUSE_DEBUG_INFO=yes
3249 BUILD=debug
3250 elif test "$wxUSE_DEBUG" = "no"; then
3251 DEFAULT_wxUSE_DEBUG_FLAG=no
3252 DEFAULT_wxUSE_DEBUG_INFO=no
3253 BUILD=release
3254 fi
3255
3256
3257 enablestring=
3258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3260 no_cache=0
3261 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3262 if test "${enable_debug_flag+set}" = set; then
3263 enableval="$enable_debug_flag"
3264
3265 if test "$enableval" = yes; then
3266 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3267 else
3268 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3269 fi
3270
3271 else
3272
3273 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3274 if test "x$LINE" != x ; then
3275 eval "DEFAULT_$LINE"
3276 else
3277 no_cache=1
3278 fi
3279
3280 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3281
3282 fi;
3283
3284 eval "$ac_cv_use_debug_flag"
3285 if test "$no_cache" != 1; then
3286 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3287 fi
3288
3289 if test "$wxUSE_DEBUG_FLAG" = yes; then
3290 echo "$as_me:$LINENO: result: yes" >&5
3291 echo "${ECHO_T}yes" >&6
3292 else
3293 echo "$as_me:$LINENO: result: no" >&5
3294 echo "${ECHO_T}no" >&6
3295 fi
3296
3297
3298 enablestring=
3299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3300 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3301 no_cache=0
3302 # Check whether --enable-debug_info or --disable-debug_info was given.
3303 if test "${enable_debug_info+set}" = set; then
3304 enableval="$enable_debug_info"
3305
3306 if test "$enableval" = yes; then
3307 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3308 else
3309 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3310 fi
3311
3312 else
3313
3314 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3315 if test "x$LINE" != x ; then
3316 eval "DEFAULT_$LINE"
3317 else
3318 no_cache=1
3319 fi
3320
3321 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3322
3323 fi;
3324
3325 eval "$ac_cv_use_debug_info"
3326 if test "$no_cache" != 1; then
3327 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3328 fi
3329
3330 if test "$wxUSE_DEBUG_INFO" = yes; then
3331 echo "$as_me:$LINENO: result: yes" >&5
3332 echo "${ECHO_T}yes" >&6
3333 else
3334 echo "$as_me:$LINENO: result: no" >&5
3335 echo "${ECHO_T}no" >&6
3336 fi
3337
3338
3339 enablestring=
3340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3341 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3342 no_cache=0
3343 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3344 if test "${enable_debug_gdb+set}" = set; then
3345 enableval="$enable_debug_gdb"
3346
3347 if test "$enableval" = yes; then
3348 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3349 else
3350 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3351 fi
3352
3353 else
3354
3355 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3356 if test "x$LINE" != x ; then
3357 eval "DEFAULT_$LINE"
3358 else
3359 no_cache=1
3360 fi
3361
3362 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3363
3364 fi;
3365
3366 eval "$ac_cv_use_debug_gdb"
3367 if test "$no_cache" != 1; then
3368 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3369 fi
3370
3371 if test "$wxUSE_DEBUG_GDB" = yes; then
3372 echo "$as_me:$LINENO: result: yes" >&5
3373 echo "${ECHO_T}yes" >&6
3374 else
3375 echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6
3377 fi
3378
3379
3380 enablestring=
3381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3382 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3383 no_cache=0
3384 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3385 if test "${enable_debug_cntxt+set}" = set; then
3386 enableval="$enable_debug_cntxt"
3387
3388 if test "$enableval" = yes; then
3389 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3390 else
3391 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3392 fi
3393
3394 else
3395
3396 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3397 if test "x$LINE" != x ; then
3398 eval "DEFAULT_$LINE"
3399 else
3400 no_cache=1
3401 fi
3402
3403 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3404
3405 fi;
3406
3407 eval "$ac_cv_use_debug_cntxt"
3408 if test "$no_cache" != 1; then
3409 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3410 fi
3411
3412 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3413 echo "$as_me:$LINENO: result: yes" >&5
3414 echo "${ECHO_T}yes" >&6
3415 else
3416 echo "$as_me:$LINENO: result: no" >&5
3417 echo "${ECHO_T}no" >&6
3418 fi
3419
3420
3421 enablestring=
3422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3423 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3424 no_cache=0
3425 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3426 if test "${enable_mem_tracing+set}" = set; then
3427 enableval="$enable_mem_tracing"
3428
3429 if test "$enableval" = yes; then
3430 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3431 else
3432 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3433 fi
3434
3435 else
3436
3437 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3438 if test "x$LINE" != x ; then
3439 eval "DEFAULT_$LINE"
3440 else
3441 no_cache=1
3442 fi
3443
3444 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3445
3446 fi;
3447
3448 eval "$ac_cv_use_mem_tracing"
3449 if test "$no_cache" != 1; then
3450 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3451 fi
3452
3453 if test "$wxUSE_MEM_TRACING" = yes; then
3454 echo "$as_me:$LINENO: result: yes" >&5
3455 echo "${ECHO_T}yes" >&6
3456 else
3457 echo "$as_me:$LINENO: result: no" >&5
3458 echo "${ECHO_T}no" >&6
3459 fi
3460
3461
3462 enablestring=
3463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3464 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3465 no_cache=0
3466 # Check whether --enable-profile or --disable-profile was given.
3467 if test "${enable_profile+set}" = set; then
3468 enableval="$enable_profile"
3469
3470 if test "$enableval" = yes; then
3471 ac_cv_use_profile='wxUSE_PROFILE=yes'
3472 else
3473 ac_cv_use_profile='wxUSE_PROFILE=no'
3474 fi
3475
3476 else
3477
3478 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x ; then
3480 eval "DEFAULT_$LINE"
3481 else
3482 no_cache=1
3483 fi
3484
3485 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3486
3487 fi;
3488
3489 eval "$ac_cv_use_profile"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3492 fi
3493
3494 if test "$wxUSE_PROFILE" = yes; then
3495 echo "$as_me:$LINENO: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3497 else
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3500 fi
3501
3502
3503 enablestring=
3504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3505 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3506 no_cache=0
3507 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3508 if test "${enable_no_rtti+set}" = set; then
3509 enableval="$enable_no_rtti"
3510
3511 if test "$enableval" = yes; then
3512 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3513 else
3514 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3515 fi
3516
3517 else
3518
3519 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x ; then
3521 eval "DEFAULT_$LINE"
3522 else
3523 no_cache=1
3524 fi
3525
3526 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3527
3528 fi;
3529
3530 eval "$ac_cv_use_no_rtti"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3533 fi
3534
3535 if test "$wxUSE_NO_RTTI" = yes; then
3536 echo "$as_me:$LINENO: result: yes" >&5
3537 echo "${ECHO_T}yes" >&6
3538 else
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3541 fi
3542
3543
3544 enablestring=
3545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3546 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3547 no_cache=0
3548 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3549 if test "${enable_no_exceptions+set}" = set; then
3550 enableval="$enable_no_exceptions"
3551
3552 if test "$enableval" = yes; then
3553 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3554 else
3555 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3556 fi
3557
3558 else
3559
3560 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3561 if test "x$LINE" != x ; then
3562 eval "DEFAULT_$LINE"
3563 else
3564 no_cache=1
3565 fi
3566
3567 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3568
3569 fi;
3570
3571 eval "$ac_cv_use_no_exceptions"
3572 if test "$no_cache" != 1; then
3573 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3574 fi
3575
3576 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3577 echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6
3579 else
3580 echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6
3582 fi
3583
3584
3585 enablestring=
3586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3587 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3588 no_cache=0
3589 # Check whether --enable-permissive or --disable-permissive was given.
3590 if test "${enable_permissive+set}" = set; then
3591 enableval="$enable_permissive"
3592
3593 if test "$enableval" = yes; then
3594 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3595 else
3596 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3597 fi
3598
3599 else
3600
3601 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3602 if test "x$LINE" != x ; then
3603 eval "DEFAULT_$LINE"
3604 else
3605 no_cache=1
3606 fi
3607
3608 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3609
3610 fi;
3611
3612 eval "$ac_cv_use_permissive"
3613 if test "$no_cache" != 1; then
3614 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3615 fi
3616
3617 if test "$wxUSE_PERMISSIVE" = yes; then
3618 echo "$as_me:$LINENO: result: yes" >&5
3619 echo "${ECHO_T}yes" >&6
3620 else
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3623 fi
3624
3625
3626 enablestring=
3627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3628 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3629 no_cache=0
3630 # Check whether --enable-no_deps or --disable-no_deps was given.
3631 if test "${enable_no_deps+set}" = set; then
3632 enableval="$enable_no_deps"
3633
3634 if test "$enableval" = yes; then
3635 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3636 else
3637 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3638 fi
3639
3640 else
3641
3642 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x ; then
3644 eval "DEFAULT_$LINE"
3645 else
3646 no_cache=1
3647 fi
3648
3649 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3650
3651 fi;
3652
3653 eval "$ac_cv_use_no_deps"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3656 fi
3657
3658 if test "$wxUSE_NO_DEPS" = yes; then
3659 echo "$as_me:$LINENO: result: yes" >&5
3660 echo "${ECHO_T}yes" >&6
3661 else
3662 echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6
3664 fi
3665
3666
3667
3668 enablestring=
3669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3670 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3671 no_cache=0
3672 # Check whether --enable-compat20 or --disable-compat20 was given.
3673 if test "${enable_compat20+set}" = set; then
3674 enableval="$enable_compat20"
3675
3676 if test "$enableval" = yes; then
3677 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3678 else
3679 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3680 fi
3681
3682 else
3683
3684 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x ; then
3686 eval "DEFAULT_$LINE"
3687 else
3688 no_cache=1
3689 fi
3690
3691 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3692
3693 fi;
3694
3695 eval "$ac_cv_use_compat20"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3698 fi
3699
3700 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3701 echo "$as_me:$LINENO: result: yes" >&5
3702 echo "${ECHO_T}yes" >&6
3703 else
3704 echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6
3706 fi
3707
3708
3709 enablestring=
3710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3711 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3712 no_cache=0
3713 # Check whether --enable-compat22 or --disable-compat22 was given.
3714 if test "${enable_compat22+set}" = set; then
3715 enableval="$enable_compat22"
3716
3717 if test "$enableval" = yes; then
3718 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3719 else
3720 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3721 fi
3722
3723 else
3724
3725 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x ; then
3727 eval "DEFAULT_$LINE"
3728 else
3729 no_cache=1
3730 fi
3731
3732 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3733
3734 fi;
3735
3736 eval "$ac_cv_use_compat22"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3739 fi
3740
3741 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3742 echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6
3744 else
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3747 fi
3748
3749
3750 enablestring=disable
3751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3752 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3753 no_cache=0
3754 # Check whether --enable-compat24 or --disable-compat24 was given.
3755 if test "${enable_compat24+set}" = set; then
3756 enableval="$enable_compat24"
3757
3758 if test "$enableval" = yes; then
3759 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3760 else
3761 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3762 fi
3763
3764 else
3765
3766 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x ; then
3768 eval "DEFAULT_$LINE"
3769 else
3770 no_cache=1
3771 fi
3772
3773 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3774
3775 fi;
3776
3777 eval "$ac_cv_use_compat24"
3778 if test "$no_cache" != 1; then
3779 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3780 fi
3781
3782 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3783 echo "$as_me:$LINENO: result: yes" >&5
3784 echo "${ECHO_T}yes" >&6
3785 else
3786 echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6
3788 fi
3789
3790
3791 # Check whether --enable-rpath or --disable-rpath was given.
3792 if test "${enable_rpath+set}" = set; then
3793 enableval="$enable_rpath"
3794 wxRPATH_DIR="$enableval"
3795 fi;
3796
3797 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3798 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3799 fi
3800
3801
3802
3803
3804 enablestring=
3805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3806 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3807 no_cache=0
3808 # Check whether --enable-intl or --disable-intl was given.
3809 if test "${enable_intl+set}" = set; then
3810 enableval="$enable_intl"
3811
3812 if test "$enableval" = yes; then
3813 ac_cv_use_intl='wxUSE_INTL=yes'
3814 else
3815 ac_cv_use_intl='wxUSE_INTL=no'
3816 fi
3817
3818 else
3819
3820 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x ; then
3822 eval "DEFAULT_$LINE"
3823 else
3824 no_cache=1
3825 fi
3826
3827 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3828
3829 fi;
3830
3831 eval "$ac_cv_use_intl"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3834 fi
3835
3836 if test "$wxUSE_INTL" = yes; then
3837 echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6
3839 else
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3842 fi
3843
3844
3845 enablestring=
3846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3847 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3848 no_cache=0
3849 # Check whether --enable-config or --disable-config was given.
3850 if test "${enable_config+set}" = set; then
3851 enableval="$enable_config"
3852
3853 if test "$enableval" = yes; then
3854 ac_cv_use_config='wxUSE_CONFIG=yes'
3855 else
3856 ac_cv_use_config='wxUSE_CONFIG=no'
3857 fi
3858
3859 else
3860
3861 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x ; then
3863 eval "DEFAULT_$LINE"
3864 else
3865 no_cache=1
3866 fi
3867
3868 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3869
3870 fi;
3871
3872 eval "$ac_cv_use_config"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3875 fi
3876
3877 if test "$wxUSE_CONFIG" = yes; then
3878 echo "$as_me:$LINENO: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3880 else
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3883 fi
3884
3885
3886
3887 enablestring=
3888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3889 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3890 no_cache=0
3891 # Check whether --enable-protocols or --disable-protocols was given.
3892 if test "${enable_protocols+set}" = set; then
3893 enableval="$enable_protocols"
3894
3895 if test "$enableval" = yes; then
3896 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3897 else
3898 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3899 fi
3900
3901 else
3902
3903 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3904 if test "x$LINE" != x ; then
3905 eval "DEFAULT_$LINE"
3906 else
3907 no_cache=1
3908 fi
3909
3910 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3911
3912 fi;
3913
3914 eval "$ac_cv_use_protocols"
3915 if test "$no_cache" != 1; then
3916 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3917 fi
3918
3919 if test "$wxUSE_PROTOCOL" = yes; then
3920 echo "$as_me:$LINENO: result: yes" >&5
3921 echo "${ECHO_T}yes" >&6
3922 else
3923 echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6
3925 fi
3926
3927
3928 enablestring=
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3931 no_cache=0
3932 # Check whether --enable-ftp or --disable-ftp was given.
3933 if test "${enable_ftp+set}" = set; then
3934 enableval="$enable_ftp"
3935
3936 if test "$enableval" = yes; then
3937 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3938 else
3939 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3940 fi
3941
3942 else
3943
3944 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x ; then
3946 eval "DEFAULT_$LINE"
3947 else
3948 no_cache=1
3949 fi
3950
3951 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3952
3953 fi;
3954
3955 eval "$ac_cv_use_ftp"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3958 fi
3959
3960 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3963 else
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3966 fi
3967
3968
3969 enablestring=
3970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3971 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3972 no_cache=0
3973 # Check whether --enable-http or --disable-http was given.
3974 if test "${enable_http+set}" = set; then
3975 enableval="$enable_http"
3976
3977 if test "$enableval" = yes; then
3978 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3979 else
3980 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3981 fi
3982
3983 else
3984
3985 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3986 if test "x$LINE" != x ; then
3987 eval "DEFAULT_$LINE"
3988 else
3989 no_cache=1
3990 fi
3991
3992 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3993
3994 fi;
3995
3996 eval "$ac_cv_use_http"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3999 fi
4000
4001 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4002 echo "$as_me:$LINENO: result: yes" >&5
4003 echo "${ECHO_T}yes" >&6
4004 else
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4007 fi
4008
4009
4010 enablestring=
4011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4012 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4013 no_cache=0
4014 # Check whether --enable-fileproto or --disable-fileproto was given.
4015 if test "${enable_fileproto+set}" = set; then
4016 enableval="$enable_fileproto"
4017
4018 if test "$enableval" = yes; then
4019 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4020 else
4021 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4022 fi
4023
4024 else
4025
4026 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4027 if test "x$LINE" != x ; then
4028 eval "DEFAULT_$LINE"
4029 else
4030 no_cache=1
4031 fi
4032
4033 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4034
4035 fi;
4036
4037 eval "$ac_cv_use_fileproto"
4038 if test "$no_cache" != 1; then
4039 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4040 fi
4041
4042 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4043 echo "$as_me:$LINENO: result: yes" >&5
4044 echo "${ECHO_T}yes" >&6
4045 else
4046 echo "$as_me:$LINENO: result: no" >&5
4047 echo "${ECHO_T}no" >&6
4048 fi
4049
4050
4051 enablestring=
4052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4053 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4054 no_cache=0
4055 # Check whether --enable-sockets or --disable-sockets was given.
4056 if test "${enable_sockets+set}" = set; then
4057 enableval="$enable_sockets"
4058
4059 if test "$enableval" = yes; then
4060 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4061 else
4062 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4063 fi
4064
4065 else
4066
4067 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4068 if test "x$LINE" != x ; then
4069 eval "DEFAULT_$LINE"
4070 else
4071 no_cache=1
4072 fi
4073
4074 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4075
4076 fi;
4077
4078 eval "$ac_cv_use_sockets"
4079 if test "$no_cache" != 1; then
4080 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4081 fi
4082
4083 if test "$wxUSE_SOCKETS" = yes; then
4084 echo "$as_me:$LINENO: result: yes" >&5
4085 echo "${ECHO_T}yes" >&6
4086 else
4087 echo "$as_me:$LINENO: result: no" >&5
4088 echo "${ECHO_T}no" >&6
4089 fi
4090
4091
4092 enablestring=
4093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4094 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4095 no_cache=0
4096 # Check whether --enable-ole or --disable-ole was given.
4097 if test "${enable_ole+set}" = set; then
4098 enableval="$enable_ole"
4099
4100 if test "$enableval" = yes; then
4101 ac_cv_use_ole='wxUSE_OLE=yes'
4102 else
4103 ac_cv_use_ole='wxUSE_OLE=no'
4104 fi
4105
4106 else
4107
4108 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4109 if test "x$LINE" != x ; then
4110 eval "DEFAULT_$LINE"
4111 else
4112 no_cache=1
4113 fi
4114
4115 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4116
4117 fi;
4118
4119 eval "$ac_cv_use_ole"
4120 if test "$no_cache" != 1; then
4121 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4122 fi
4123
4124 if test "$wxUSE_OLE" = yes; then
4125 echo "$as_me:$LINENO: result: yes" >&5
4126 echo "${ECHO_T}yes" >&6
4127 else
4128 echo "$as_me:$LINENO: result: no" >&5
4129 echo "${ECHO_T}no" >&6
4130 fi
4131
4132
4133 enablestring=
4134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4135 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4136 no_cache=0
4137 # Check whether --enable-dataobj or --disable-dataobj was given.
4138 if test "${enable_dataobj+set}" = set; then
4139 enableval="$enable_dataobj"
4140
4141 if test "$enableval" = yes; then
4142 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4143 else
4144 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4145 fi
4146
4147 else
4148
4149 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4150 if test "x$LINE" != x ; then
4151 eval "DEFAULT_$LINE"
4152 else
4153 no_cache=1
4154 fi
4155
4156 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4157
4158 fi;
4159
4160 eval "$ac_cv_use_dataobj"
4161 if test "$no_cache" != 1; then
4162 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4163 fi
4164
4165 if test "$wxUSE_DATAOBJ" = yes; then
4166 echo "$as_me:$LINENO: result: yes" >&5
4167 echo "${ECHO_T}yes" >&6
4168 else
4169 echo "$as_me:$LINENO: result: no" >&5
4170 echo "${ECHO_T}no" >&6
4171 fi
4172
4173
4174
4175 enablestring=
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4178 no_cache=0
4179 # Check whether --enable-ipc or --disable-ipc was given.
4180 if test "${enable_ipc+set}" = set; then
4181 enableval="$enable_ipc"
4182
4183 if test "$enableval" = yes; then
4184 ac_cv_use_ipc='wxUSE_IPC=yes'
4185 else
4186 ac_cv_use_ipc='wxUSE_IPC=no'
4187 fi
4188
4189 else
4190
4191 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4194 else
4195 no_cache=1
4196 fi
4197
4198 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4199
4200 fi;
4201
4202 eval "$ac_cv_use_ipc"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4205 fi
4206
4207 if test "$wxUSE_IPC" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4210 else
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4213 fi
4214
4215
4216
4217 enablestring=
4218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4219 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4220 no_cache=0
4221 # Check whether --enable-cmdline or --disable-cmdline was given.
4222 if test "${enable_cmdline+set}" = set; then
4223 enableval="$enable_cmdline"
4224
4225 if test "$enableval" = yes; then
4226 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4227 else
4228 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4229 fi
4230
4231 else
4232
4233 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4234 if test "x$LINE" != x ; then
4235 eval "DEFAULT_$LINE"
4236 else
4237 no_cache=1
4238 fi
4239
4240 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4241
4242 fi;
4243
4244 eval "$ac_cv_use_cmdline"
4245 if test "$no_cache" != 1; then
4246 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4247 fi
4248
4249 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4250 echo "$as_me:$LINENO: result: yes" >&5
4251 echo "${ECHO_T}yes" >&6
4252 else
4253 echo "$as_me:$LINENO: result: no" >&5
4254 echo "${ECHO_T}no" >&6
4255 fi
4256
4257
4258 enablestring=
4259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4260 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4261 no_cache=0
4262 # Check whether --enable-datetime or --disable-datetime was given.
4263 if test "${enable_datetime+set}" = set; then
4264 enableval="$enable_datetime"
4265
4266 if test "$enableval" = yes; then
4267 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4268 else
4269 ac_cv_use_datetime='wxUSE_DATETIME=no'
4270 fi
4271
4272 else
4273
4274 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x ; then
4276 eval "DEFAULT_$LINE"
4277 else
4278 no_cache=1
4279 fi
4280
4281 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4282
4283 fi;
4284
4285 eval "$ac_cv_use_datetime"
4286 if test "$no_cache" != 1; then
4287 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4288 fi
4289
4290 if test "$wxUSE_DATETIME" = yes; then
4291 echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6
4293 else
4294 echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6
4296 fi
4297
4298
4299 enablestring=
4300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4301 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4302 no_cache=0
4303 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4304 if test "${enable_stopwatch+set}" = set; then
4305 enableval="$enable_stopwatch"
4306
4307 if test "$enableval" = yes; then
4308 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4309 else
4310 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4311 fi
4312
4313 else
4314
4315 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4316 if test "x$LINE" != x ; then
4317 eval "DEFAULT_$LINE"
4318 else
4319 no_cache=1
4320 fi
4321
4322 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4323
4324 fi;
4325
4326 eval "$ac_cv_use_stopwatch"
4327 if test "$no_cache" != 1; then
4328 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4329 fi
4330
4331 if test "$wxUSE_STOPWATCH" = yes; then
4332 echo "$as_me:$LINENO: result: yes" >&5
4333 echo "${ECHO_T}yes" >&6
4334 else
4335 echo "$as_me:$LINENO: result: no" >&5
4336 echo "${ECHO_T}no" >&6
4337 fi
4338
4339
4340 enablestring=
4341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4342 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4343 no_cache=0
4344 # Check whether --enable-dialupman or --disable-dialupman was given.
4345 if test "${enable_dialupman+set}" = set; then
4346 enableval="$enable_dialupman"
4347
4348 if test "$enableval" = yes; then
4349 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4350 else
4351 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4352 fi
4353
4354 else
4355
4356 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4357 if test "x$LINE" != x ; then
4358 eval "DEFAULT_$LINE"
4359 else
4360 no_cache=1
4361 fi
4362
4363 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4364
4365 fi;
4366
4367 eval "$ac_cv_use_dialupman"
4368 if test "$no_cache" != 1; then
4369 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4370 fi
4371
4372 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4373 echo "$as_me:$LINENO: result: yes" >&5
4374 echo "${ECHO_T}yes" >&6
4375 else
4376 echo "$as_me:$LINENO: result: no" >&5
4377 echo "${ECHO_T}no" >&6
4378 fi
4379
4380
4381 enablestring=
4382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4383 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4384 no_cache=0
4385 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4386 if test "${enable_apple_ieee+set}" = set; then
4387 enableval="$enable_apple_ieee"
4388
4389 if test "$enableval" = yes; then
4390 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4391 else
4392 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4393 fi
4394
4395 else
4396
4397 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4398 if test "x$LINE" != x ; then
4399 eval "DEFAULT_$LINE"
4400 else
4401 no_cache=1
4402 fi
4403
4404 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4405
4406 fi;
4407
4408 eval "$ac_cv_use_apple_ieee"
4409 if test "$no_cache" != 1; then
4410 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4411 fi
4412
4413 if test "$wxUSE_APPLE_IEEE" = yes; then
4414 echo "$as_me:$LINENO: result: yes" >&5
4415 echo "${ECHO_T}yes" >&6
4416 else
4417 echo "$as_me:$LINENO: result: no" >&5
4418 echo "${ECHO_T}no" >&6
4419 fi
4420
4421
4422 enablestring=
4423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4424 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4425 no_cache=0
4426 # Check whether --enable-timer or --disable-timer was given.
4427 if test "${enable_timer+set}" = set; then
4428 enableval="$enable_timer"
4429
4430 if test "$enableval" = yes; then
4431 ac_cv_use_timer='wxUSE_TIMER=yes'
4432 else
4433 ac_cv_use_timer='wxUSE_TIMER=no'
4434 fi
4435
4436 else
4437
4438 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4439 if test "x$LINE" != x ; then
4440 eval "DEFAULT_$LINE"
4441 else
4442 no_cache=1
4443 fi
4444
4445 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4446
4447 fi;
4448
4449 eval "$ac_cv_use_timer"
4450 if test "$no_cache" != 1; then
4451 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4452 fi
4453
4454 if test "$wxUSE_TIMER" = yes; then
4455 echo "$as_me:$LINENO: result: yes" >&5
4456 echo "${ECHO_T}yes" >&6
4457 else
4458 echo "$as_me:$LINENO: result: no" >&5
4459 echo "${ECHO_T}no" >&6
4460 fi
4461
4462
4463 enablestring=
4464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4465 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4466 no_cache=0
4467 # Check whether --enable-wave or --disable-wave was given.
4468 if test "${enable_wave+set}" = set; then
4469 enableval="$enable_wave"
4470
4471 if test "$enableval" = yes; then
4472 ac_cv_use_wave='wxUSE_WAVE=yes'
4473 else
4474 ac_cv_use_wave='wxUSE_WAVE=no'
4475 fi
4476
4477 else
4478
4479 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4480 if test "x$LINE" != x ; then
4481 eval "DEFAULT_$LINE"
4482 else
4483 no_cache=1
4484 fi
4485
4486 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4487
4488 fi;
4489
4490 eval "$ac_cv_use_wave"
4491 if test "$no_cache" != 1; then
4492 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4493 fi
4494
4495 if test "$wxUSE_WAVE" = yes; then
4496 echo "$as_me:$LINENO: result: yes" >&5
4497 echo "${ECHO_T}yes" >&6
4498 else
4499 echo "$as_me:$LINENO: result: no" >&5
4500 echo "${ECHO_T}no" >&6
4501 fi
4502
4503
4504 enablestring=
4505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4506 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4507 no_cache=0
4508 # Check whether --enable-fraction or --disable-fraction was given.
4509 if test "${enable_fraction+set}" = set; then
4510 enableval="$enable_fraction"
4511
4512 if test "$enableval" = yes; then
4513 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4514 else
4515 ac_cv_use_fraction='wxUSE_FRACTION=no'
4516 fi
4517
4518 else
4519
4520 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4521 if test "x$LINE" != x ; then
4522 eval "DEFAULT_$LINE"
4523 else
4524 no_cache=1
4525 fi
4526
4527 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4528
4529 fi;
4530
4531 eval "$ac_cv_use_fraction"
4532 if test "$no_cache" != 1; then
4533 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4534 fi
4535
4536 if test "$wxUSE_FRACTION" = yes; then
4537 echo "$as_me:$LINENO: result: yes" >&5
4538 echo "${ECHO_T}yes" >&6
4539 else
4540 echo "$as_me:$LINENO: result: no" >&5
4541 echo "${ECHO_T}no" >&6
4542 fi
4543
4544
4545 enablestring=
4546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4548 no_cache=0
4549 # Check whether --enable-dynlib or --disable-dynlib was given.
4550 if test "${enable_dynlib+set}" = set; then
4551 enableval="$enable_dynlib"
4552
4553 if test "$enableval" = yes; then
4554 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4555 else
4556 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4557 fi
4558
4559 else
4560
4561 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4562 if test "x$LINE" != x ; then
4563 eval "DEFAULT_$LINE"
4564 else
4565 no_cache=1
4566 fi
4567
4568 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4569
4570 fi;
4571
4572 eval "$ac_cv_use_dynlib"
4573 if test "$no_cache" != 1; then
4574 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4575 fi
4576
4577 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4578 echo "$as_me:$LINENO: result: yes" >&5
4579 echo "${ECHO_T}yes" >&6
4580 else
4581 echo "$as_me:$LINENO: result: no" >&5
4582 echo "${ECHO_T}no" >&6
4583 fi
4584
4585
4586 enablestring=
4587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4589 no_cache=0
4590 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4591 if test "${enable_dynamicloader+set}" = set; then
4592 enableval="$enable_dynamicloader"
4593
4594 if test "$enableval" = yes; then
4595 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4596 else
4597 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4598 fi
4599
4600 else
4601
4602 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4605 else
4606 no_cache=1
4607 fi
4608
4609 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4610
4611 fi;
4612
4613 eval "$ac_cv_use_dynamicloader"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4616 fi
4617
4618 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4619 echo "$as_me:$LINENO: result: yes" >&5
4620 echo "${ECHO_T}yes" >&6
4621 else
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4624 fi
4625
4626
4627 enablestring=
4628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4629 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4630 no_cache=0
4631 # Check whether --enable-longlong or --disable-longlong was given.
4632 if test "${enable_longlong+set}" = set; then
4633 enableval="$enable_longlong"
4634
4635 if test "$enableval" = yes; then
4636 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4637 else
4638 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4639 fi
4640
4641 else
4642
4643 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4644 if test "x$LINE" != x ; then
4645 eval "DEFAULT_$LINE"
4646 else
4647 no_cache=1
4648 fi
4649
4650 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4651
4652 fi;
4653
4654 eval "$ac_cv_use_longlong"
4655 if test "$no_cache" != 1; then
4656 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4657 fi
4658
4659 if test "$wxUSE_LONGLONG" = yes; then
4660 echo "$as_me:$LINENO: result: yes" >&5
4661 echo "${ECHO_T}yes" >&6
4662 else
4663 echo "$as_me:$LINENO: result: no" >&5
4664 echo "${ECHO_T}no" >&6
4665 fi
4666
4667
4668 enablestring=
4669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4670 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4671 no_cache=0
4672 # Check whether --enable-geometry or --disable-geometry was given.
4673 if test "${enable_geometry+set}" = set; then
4674 enableval="$enable_geometry"
4675
4676 if test "$enableval" = yes; then
4677 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4678 else
4679 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4680 fi
4681
4682 else
4683
4684 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4685 if test "x$LINE" != x ; then
4686 eval "DEFAULT_$LINE"
4687 else
4688 no_cache=1
4689 fi
4690
4691 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4692
4693 fi;
4694
4695 eval "$ac_cv_use_geometry"
4696 if test "$no_cache" != 1; then
4697 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4698 fi
4699
4700 if test "$wxUSE_GEOMETRY" = yes; then
4701 echo "$as_me:$LINENO: result: yes" >&5
4702 echo "${ECHO_T}yes" >&6
4703 else
4704 echo "$as_me:$LINENO: result: no" >&5
4705 echo "${ECHO_T}no" >&6
4706 fi
4707
4708
4709 enablestring=
4710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4711 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4712 no_cache=0
4713 # Check whether --enable-log or --disable-log was given.
4714 if test "${enable_log+set}" = set; then
4715 enableval="$enable_log"
4716
4717 if test "$enableval" = yes; then
4718 ac_cv_use_log='wxUSE_LOG=yes'
4719 else
4720 ac_cv_use_log='wxUSE_LOG=no'
4721 fi
4722
4723 else
4724
4725 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x ; then
4727 eval "DEFAULT_$LINE"
4728 else
4729 no_cache=1
4730 fi
4731
4732 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4733
4734 fi;
4735
4736 eval "$ac_cv_use_log"
4737 if test "$no_cache" != 1; then
4738 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4739 fi
4740
4741 if test "$wxUSE_LOG" = yes; then
4742 echo "$as_me:$LINENO: result: yes" >&5
4743 echo "${ECHO_T}yes" >&6
4744 else
4745 echo "$as_me:$LINENO: result: no" >&5
4746 echo "${ECHO_T}no" >&6
4747 fi
4748
4749
4750 enablestring=
4751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4752 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4753 no_cache=0
4754 # Check whether --enable-streams or --disable-streams was given.
4755 if test "${enable_streams+set}" = set; then
4756 enableval="$enable_streams"
4757
4758 if test "$enableval" = yes; then
4759 ac_cv_use_streams='wxUSE_STREAMS=yes'
4760 else
4761 ac_cv_use_streams='wxUSE_STREAMS=no'
4762 fi
4763
4764 else
4765
4766 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4767 if test "x$LINE" != x ; then
4768 eval "DEFAULT_$LINE"
4769 else
4770 no_cache=1
4771 fi
4772
4773 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4774
4775 fi;
4776
4777 eval "$ac_cv_use_streams"
4778 if test "$no_cache" != 1; then
4779 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4780 fi
4781
4782 if test "$wxUSE_STREAMS" = yes; then
4783 echo "$as_me:$LINENO: result: yes" >&5
4784 echo "${ECHO_T}yes" >&6
4785 else
4786 echo "$as_me:$LINENO: result: no" >&5
4787 echo "${ECHO_T}no" >&6
4788 fi
4789
4790
4791 enablestring=
4792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4794 no_cache=0
4795 # Check whether --enable-file or --disable-file was given.
4796 if test "${enable_file+set}" = set; then
4797 enableval="$enable_file"
4798
4799 if test "$enableval" = yes; then
4800 ac_cv_use_file='wxUSE_FILE=yes'
4801 else
4802 ac_cv_use_file='wxUSE_FILE=no'
4803 fi
4804
4805 else
4806
4807 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4808 if test "x$LINE" != x ; then
4809 eval "DEFAULT_$LINE"
4810 else
4811 no_cache=1
4812 fi
4813
4814 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4815
4816 fi;
4817
4818 eval "$ac_cv_use_file"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4821 fi
4822
4823 if test "$wxUSE_FILE" = yes; then
4824 echo "$as_me:$LINENO: result: yes" >&5
4825 echo "${ECHO_T}yes" >&6
4826 else
4827 echo "$as_me:$LINENO: result: no" >&5
4828 echo "${ECHO_T}no" >&6
4829 fi
4830
4831
4832 enablestring=
4833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4834 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4835 no_cache=0
4836 # Check whether --enable-ffile or --disable-ffile was given.
4837 if test "${enable_ffile+set}" = set; then
4838 enableval="$enable_ffile"
4839
4840 if test "$enableval" = yes; then
4841 ac_cv_use_ffile='wxUSE_FFILE=yes'
4842 else
4843 ac_cv_use_ffile='wxUSE_FFILE=no'
4844 fi
4845
4846 else
4847
4848 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4849 if test "x$LINE" != x ; then
4850 eval "DEFAULT_$LINE"
4851 else
4852 no_cache=1
4853 fi
4854
4855 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4856
4857 fi;
4858
4859 eval "$ac_cv_use_ffile"
4860 if test "$no_cache" != 1; then
4861 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4862 fi
4863
4864 if test "$wxUSE_FFILE" = yes; then
4865 echo "$as_me:$LINENO: result: yes" >&5
4866 echo "${ECHO_T}yes" >&6
4867 else
4868 echo "$as_me:$LINENO: result: no" >&5
4869 echo "${ECHO_T}no" >&6
4870 fi
4871
4872
4873 enablestring=
4874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4875 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4876 no_cache=0
4877 # Check whether --enable-textbuf or --disable-textbuf was given.
4878 if test "${enable_textbuf+set}" = set; then
4879 enableval="$enable_textbuf"
4880
4881 if test "$enableval" = yes; then
4882 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4883 else
4884 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4885 fi
4886
4887 else
4888
4889 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4890 if test "x$LINE" != x ; then
4891 eval "DEFAULT_$LINE"
4892 else
4893 no_cache=1
4894 fi
4895
4896 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4897
4898 fi;
4899
4900 eval "$ac_cv_use_textbuf"
4901 if test "$no_cache" != 1; then
4902 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4903 fi
4904
4905 if test "$wxUSE_TEXTBUFFER" = yes; then
4906 echo "$as_me:$LINENO: result: yes" >&5
4907 echo "${ECHO_T}yes" >&6
4908 else
4909 echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6
4911 fi
4912
4913
4914 enablestring=
4915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4916 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4917 no_cache=0
4918 # Check whether --enable-textfile or --disable-textfile was given.
4919 if test "${enable_textfile+set}" = set; then
4920 enableval="$enable_textfile"
4921
4922 if test "$enableval" = yes; then
4923 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4924 else
4925 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4926 fi
4927
4928 else
4929
4930 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4931 if test "x$LINE" != x ; then
4932 eval "DEFAULT_$LINE"
4933 else
4934 no_cache=1
4935 fi
4936
4937 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4938
4939 fi;
4940
4941 eval "$ac_cv_use_textfile"
4942 if test "$no_cache" != 1; then
4943 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4944 fi
4945
4946 if test "$wxUSE_TEXTFILE" = yes; then
4947 echo "$as_me:$LINENO: result: yes" >&5
4948 echo "${ECHO_T}yes" >&6
4949 else
4950 echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6
4952 fi
4953
4954
4955 enablestring=
4956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4957 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4958 no_cache=0
4959 # Check whether --enable-fontmap or --disable-fontmap was given.
4960 if test "${enable_fontmap+set}" = set; then
4961 enableval="$enable_fontmap"
4962
4963 if test "$enableval" = yes; then
4964 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4965 else
4966 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4967 fi
4968
4969 else
4970
4971 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4972 if test "x$LINE" != x ; then
4973 eval "DEFAULT_$LINE"
4974 else
4975 no_cache=1
4976 fi
4977
4978 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4979
4980 fi;
4981
4982 eval "$ac_cv_use_fontmap"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4985 fi
4986
4987 if test "$wxUSE_FONTMAP" = yes; then
4988 echo "$as_me:$LINENO: result: yes" >&5
4989 echo "${ECHO_T}yes" >&6
4990 else
4991 echo "$as_me:$LINENO: result: no" >&5
4992 echo "${ECHO_T}no" >&6
4993 fi
4994
4995
4996 enablestring=
4997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4999 no_cache=0
5000 # Check whether --enable-unicode or --disable-unicode was given.
5001 if test "${enable_unicode+set}" = set; then
5002 enableval="$enable_unicode"
5003
5004 if test "$enableval" = yes; then
5005 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5006 else
5007 ac_cv_use_unicode='wxUSE_UNICODE=no'
5008 fi
5009
5010 else
5011
5012 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5013 if test "x$LINE" != x ; then
5014 eval "DEFAULT_$LINE"
5015 else
5016 no_cache=1
5017 fi
5018
5019 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5020
5021 fi;
5022
5023 eval "$ac_cv_use_unicode"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5026 fi
5027
5028 if test "$wxUSE_UNICODE" = yes; then
5029 echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6
5031 else
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5034 fi
5035
5036
5037 enablestring=
5038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5040 no_cache=0
5041 # Check whether --enable-mslu or --disable-mslu was given.
5042 if test "${enable_mslu+set}" = set; then
5043 enableval="$enable_mslu"
5044
5045 if test "$enableval" = yes; then
5046 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5047 else
5048 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5049 fi
5050
5051 else
5052
5053 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x ; then
5055 eval "DEFAULT_$LINE"
5056 else
5057 no_cache=1
5058 fi
5059
5060 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5061
5062 fi;
5063
5064 eval "$ac_cv_use_mslu"
5065 if test "$no_cache" != 1; then
5066 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5067 fi
5068
5069 if test "$wxUSE_UNICODE_MSLU" = yes; then
5070 echo "$as_me:$LINENO: result: yes" >&5
5071 echo "${ECHO_T}yes" >&6
5072 else
5073 echo "$as_me:$LINENO: result: no" >&5
5074 echo "${ECHO_T}no" >&6
5075 fi
5076
5077
5078 enablestring=
5079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5080 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5081 no_cache=0
5082 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5083 if test "${enable_wxprintfv+set}" = set; then
5084 enableval="$enable_wxprintfv"
5085
5086 if test "$enableval" = yes; then
5087 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5088 else
5089 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5090 fi
5091
5092 else
5093
5094 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5095 if test "x$LINE" != x ; then
5096 eval "DEFAULT_$LINE"
5097 else
5098 no_cache=1
5099 fi
5100
5101 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5102
5103 fi;
5104
5105 eval "$ac_cv_use_wxprintfv"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5108 fi
5109
5110 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5111 echo "$as_me:$LINENO: result: yes" >&5
5112 echo "${ECHO_T}yes" >&6
5113 else
5114 echo "$as_me:$LINENO: result: no" >&5
5115 echo "${ECHO_T}no" >&6
5116 fi
5117
5118
5119 enablestring=
5120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5122 no_cache=0
5123 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5124 if test "${enable_std_iostreams+set}" = set; then
5125 enableval="$enable_std_iostreams"
5126
5127 if test "$enableval" = yes; then
5128 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5129 else
5130 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5131 fi
5132
5133 else
5134
5135 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5136 if test "x$LINE" != x ; then
5137 eval "DEFAULT_$LINE"
5138 else
5139 no_cache=1
5140 fi
5141
5142 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5143
5144 fi;
5145
5146 eval "$ac_cv_use_std_iostreams"
5147 if test "$no_cache" != 1; then
5148 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5149 fi
5150
5151 if test "$wxUSE_STD_IOSTREAM" = yes; then
5152 echo "$as_me:$LINENO: result: yes" >&5
5153 echo "${ECHO_T}yes" >&6
5154 else
5155 echo "$as_me:$LINENO: result: no" >&5
5156 echo "${ECHO_T}no" >&6
5157 fi
5158
5159
5160 enablestring=
5161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5163 no_cache=0
5164 # Check whether --enable-filesystem or --disable-filesystem was given.
5165 if test "${enable_filesystem+set}" = set; then
5166 enableval="$enable_filesystem"
5167
5168 if test "$enableval" = yes; then
5169 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5170 else
5171 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5172 fi
5173
5174 else
5175
5176 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5177 if test "x$LINE" != x ; then
5178 eval "DEFAULT_$LINE"
5179 else
5180 no_cache=1
5181 fi
5182
5183 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5184
5185 fi;
5186
5187 eval "$ac_cv_use_filesystem"
5188 if test "$no_cache" != 1; then
5189 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5190 fi
5191
5192 if test "$wxUSE_FILESYSTEM" = yes; then
5193 echo "$as_me:$LINENO: result: yes" >&5
5194 echo "${ECHO_T}yes" >&6
5195 else
5196 echo "$as_me:$LINENO: result: no" >&5
5197 echo "${ECHO_T}no" >&6
5198 fi
5199
5200
5201 enablestring=
5202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5203 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5204 no_cache=0
5205 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5206 if test "${enable_fs_inet+set}" = set; then
5207 enableval="$enable_fs_inet"
5208
5209 if test "$enableval" = yes; then
5210 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5211 else
5212 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5213 fi
5214
5215 else
5216
5217 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5218 if test "x$LINE" != x ; then
5219 eval "DEFAULT_$LINE"
5220 else
5221 no_cache=1
5222 fi
5223
5224 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5225
5226 fi;
5227
5228 eval "$ac_cv_use_fs_inet"
5229 if test "$no_cache" != 1; then
5230 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5231 fi
5232
5233 if test "$wxUSE_FS_INET" = yes; then
5234 echo "$as_me:$LINENO: result: yes" >&5
5235 echo "${ECHO_T}yes" >&6
5236 else
5237 echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6
5239 fi
5240
5241
5242 enablestring=
5243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5245 no_cache=0
5246 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5247 if test "${enable_fs_zip+set}" = set; then
5248 enableval="$enable_fs_zip"
5249
5250 if test "$enableval" = yes; then
5251 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5252 else
5253 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5254 fi
5255
5256 else
5257
5258 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5259 if test "x$LINE" != x ; then
5260 eval "DEFAULT_$LINE"
5261 else
5262 no_cache=1
5263 fi
5264
5265 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5266
5267 fi;
5268
5269 eval "$ac_cv_use_fs_zip"
5270 if test "$no_cache" != 1; then
5271 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5272 fi
5273
5274 if test "$wxUSE_FS_ZIP" = yes; then
5275 echo "$as_me:$LINENO: result: yes" >&5
5276 echo "${ECHO_T}yes" >&6
5277 else
5278 echo "$as_me:$LINENO: result: no" >&5
5279 echo "${ECHO_T}no" >&6
5280 fi
5281
5282
5283 enablestring=
5284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5285 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5286 no_cache=0
5287 # Check whether --enable-zipstream or --disable-zipstream was given.
5288 if test "${enable_zipstream+set}" = set; then
5289 enableval="$enable_zipstream"
5290
5291 if test "$enableval" = yes; then
5292 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5293 else
5294 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5295 fi
5296
5297 else
5298
5299 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5300 if test "x$LINE" != x ; then
5301 eval "DEFAULT_$LINE"
5302 else
5303 no_cache=1
5304 fi
5305
5306 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5307
5308 fi;
5309
5310 eval "$ac_cv_use_zipstream"
5311 if test "$no_cache" != 1; then
5312 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5313 fi
5314
5315 if test "$wxUSE_ZIPSTREAM" = yes; then
5316 echo "$as_me:$LINENO: result: yes" >&5
5317 echo "${ECHO_T}yes" >&6
5318 else
5319 echo "$as_me:$LINENO: result: no" >&5
5320 echo "${ECHO_T}no" >&6
5321 fi
5322
5323
5324
5325 enablestring=
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5328 no_cache=0
5329 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5330 if test "${enable_catch_segvs+set}" = set; then
5331 enableval="$enable_catch_segvs"
5332
5333 if test "$enableval" = yes; then
5334 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5335 else
5336 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5337 fi
5338
5339 else
5340
5341 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5344 else
5345 no_cache=1
5346 fi
5347
5348 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5349
5350 fi;
5351
5352 eval "$ac_cv_use_catch_segvs"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5355 fi
5356
5357 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5360 else
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5363 fi
5364
5365
5366 enablestring=
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5369 no_cache=0
5370 # Check whether --enable-snglinst or --disable-snglinst was given.
5371 if test "${enable_snglinst+set}" = set; then
5372 enableval="$enable_snglinst"
5373
5374 if test "$enableval" = yes; then
5375 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5376 else
5377 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5378 fi
5379
5380 else
5381
5382 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5385 else
5386 no_cache=1
5387 fi
5388
5389 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5390
5391 fi;
5392
5393 eval "$ac_cv_use_snglinst"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5396 fi
5397
5398 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5401 else
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5404 fi
5405
5406
5407
5408 enablestring=
5409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5410 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5411 no_cache=0
5412 # Check whether --enable-mimetype or --disable-mimetype was given.
5413 if test "${enable_mimetype+set}" = set; then
5414 enableval="$enable_mimetype"
5415
5416 if test "$enableval" = yes; then
5417 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5418 else
5419 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5420 fi
5421
5422 else
5423
5424 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5425 if test "x$LINE" != x ; then
5426 eval "DEFAULT_$LINE"
5427 else
5428 no_cache=1
5429 fi
5430
5431 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5432
5433 fi;
5434
5435 eval "$ac_cv_use_mimetype"
5436 if test "$no_cache" != 1; then
5437 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5438 fi
5439
5440 if test "$wxUSE_MIMETYPE" = yes; then
5441 echo "$as_me:$LINENO: result: yes" >&5
5442 echo "${ECHO_T}yes" >&6
5443 else
5444 echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6
5446 fi
5447
5448
5449 enablestring=
5450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5451 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5452 no_cache=0
5453 # Check whether --enable-system_options or --disable-system_options was given.
5454 if test "${enable_system_options+set}" = set; then
5455 enableval="$enable_system_options"
5456
5457 if test "$enableval" = yes; then
5458 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5459 else
5460 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5461 fi
5462
5463 else
5464
5465 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5466 if test "x$LINE" != x ; then
5467 eval "DEFAULT_$LINE"
5468 else
5469 no_cache=1
5470 fi
5471
5472 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5473
5474 fi;
5475
5476 eval "$ac_cv_use_system_options"
5477 if test "$no_cache" != 1; then
5478 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5479 fi
5480
5481 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5482 echo "$as_me:$LINENO: result: yes" >&5
5483 echo "${ECHO_T}yes" >&6
5484 else
5485 echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6
5487 fi
5488
5489
5490
5491 enablestring=
5492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5493 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5494 no_cache=0
5495 # Check whether --enable-url or --disable-url was given.
5496 if test "${enable_url+set}" = set; then
5497 enableval="$enable_url"
5498
5499 if test "$enableval" = yes; then
5500 ac_cv_use_url='wxUSE_URL=yes'
5501 else
5502 ac_cv_use_url='wxUSE_URL=no'
5503 fi
5504
5505 else
5506
5507 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5508 if test "x$LINE" != x ; then
5509 eval "DEFAULT_$LINE"
5510 else
5511 no_cache=1
5512 fi
5513
5514 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5515
5516 fi;
5517
5518 eval "$ac_cv_use_url"
5519 if test "$no_cache" != 1; then
5520 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5521 fi
5522
5523 if test "$wxUSE_URL" = yes; then
5524 echo "$as_me:$LINENO: result: yes" >&5
5525 echo "${ECHO_T}yes" >&6
5526 else
5527 echo "$as_me:$LINENO: result: no" >&5
5528 echo "${ECHO_T}no" >&6
5529 fi
5530
5531
5532 enablestring=
5533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5535 no_cache=0
5536 # Check whether --enable-protocol or --disable-protocol was given.
5537 if test "${enable_protocol+set}" = set; then
5538 enableval="$enable_protocol"
5539
5540 if test "$enableval" = yes; then
5541 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5542 else
5543 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5544 fi
5545
5546 else
5547
5548 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x ; then
5550 eval "DEFAULT_$LINE"
5551 else
5552 no_cache=1
5553 fi
5554
5555 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5556
5557 fi;
5558
5559 eval "$ac_cv_use_protocol"
5560 if test "$no_cache" != 1; then
5561 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5562 fi
5563
5564 if test "$wxUSE_PROTOCOL" = yes; then
5565 echo "$as_me:$LINENO: result: yes" >&5
5566 echo "${ECHO_T}yes" >&6
5567 else
5568 echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6
5570 fi
5571
5572
5573 enablestring=
5574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5575 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5576 no_cache=0
5577 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5578 if test "${enable_protocol_http+set}" = set; then
5579 enableval="$enable_protocol_http"
5580
5581 if test "$enableval" = yes; then
5582 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5583 else
5584 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5585 fi
5586
5587 else
5588
5589 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5590 if test "x$LINE" != x ; then
5591 eval "DEFAULT_$LINE"
5592 else
5593 no_cache=1
5594 fi
5595
5596 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5597
5598 fi;
5599
5600 eval "$ac_cv_use_protocol_http"
5601 if test "$no_cache" != 1; then
5602 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5603 fi
5604
5605 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5606 echo "$as_me:$LINENO: result: yes" >&5
5607 echo "${ECHO_T}yes" >&6
5608 else
5609 echo "$as_me:$LINENO: result: no" >&5
5610 echo "${ECHO_T}no" >&6
5611 fi
5612
5613
5614 enablestring=
5615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5616 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5617 no_cache=0
5618 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5619 if test "${enable_protocol_ftp+set}" = set; then
5620 enableval="$enable_protocol_ftp"
5621
5622 if test "$enableval" = yes; then
5623 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5624 else
5625 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5626 fi
5627
5628 else
5629
5630 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5631 if test "x$LINE" != x ; then
5632 eval "DEFAULT_$LINE"
5633 else
5634 no_cache=1
5635 fi
5636
5637 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5638
5639 fi;
5640
5641 eval "$ac_cv_use_protocol_ftp"
5642 if test "$no_cache" != 1; then
5643 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5644 fi
5645
5646 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5647 echo "$as_me:$LINENO: result: yes" >&5
5648 echo "${ECHO_T}yes" >&6
5649 else
5650 echo "$as_me:$LINENO: result: no" >&5
5651 echo "${ECHO_T}no" >&6
5652 fi
5653
5654
5655 enablestring=
5656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5657 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5658 no_cache=0
5659 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5660 if test "${enable_protocol_file+set}" = set; then
5661 enableval="$enable_protocol_file"
5662
5663 if test "$enableval" = yes; then
5664 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5665 else
5666 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5667 fi
5668
5669 else
5670
5671 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x ; then
5673 eval "DEFAULT_$LINE"
5674 else
5675 no_cache=1
5676 fi
5677
5678 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5679
5680 fi;
5681
5682 eval "$ac_cv_use_protocol_file"
5683 if test "$no_cache" != 1; then
5684 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5685 fi
5686
5687 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5688 echo "$as_me:$LINENO: result: yes" >&5
5689 echo "${ECHO_T}yes" >&6
5690 else
5691 echo "$as_me:$LINENO: result: no" >&5
5692 echo "${ECHO_T}no" >&6
5693 fi
5694
5695
5696
5697
5698
5699 enablestring=
5700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5701 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5702 no_cache=0
5703 # Check whether --enable-threads or --disable-threads was given.
5704 if test "${enable_threads+set}" = set; then
5705 enableval="$enable_threads"
5706
5707 if test "$enableval" = yes; then
5708 ac_cv_use_threads='wxUSE_THREADS=yes'
5709 else
5710 ac_cv_use_threads='wxUSE_THREADS=no'
5711 fi
5712
5713 else
5714
5715 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5716 if test "x$LINE" != x ; then
5717 eval "DEFAULT_$LINE"
5718 else
5719 no_cache=1
5720 fi
5721
5722 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5723
5724 fi;
5725
5726 eval "$ac_cv_use_threads"
5727 if test "$no_cache" != 1; then
5728 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5729 fi
5730
5731 if test "$wxUSE_THREADS" = yes; then
5732 echo "$as_me:$LINENO: result: yes" >&5
5733 echo "${ECHO_T}yes" >&6
5734 else
5735 echo "$as_me:$LINENO: result: no" >&5
5736 echo "${ECHO_T}no" >&6
5737 fi
5738
5739
5740 if test "$wxUSE_GUI" = "yes"; then
5741
5742
5743
5744 enablestring=
5745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5747 no_cache=0
5748 # Check whether --enable-docview or --disable-docview was given.
5749 if test "${enable_docview+set}" = set; then
5750 enableval="$enable_docview"
5751
5752 if test "$enableval" = yes; then
5753 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5754 else
5755 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5756 fi
5757
5758 else
5759
5760 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x ; then
5762 eval "DEFAULT_$LINE"
5763 else
5764 no_cache=1
5765 fi
5766
5767 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5768
5769 fi;
5770
5771 eval "$ac_cv_use_docview"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5774 fi
5775
5776 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5777 echo "$as_me:$LINENO: result: yes" >&5
5778 echo "${ECHO_T}yes" >&6
5779 else
5780 echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6
5782 fi
5783
5784
5785 enablestring=
5786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5787 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5788 no_cache=0
5789 # Check whether --enable-help or --disable-help was given.
5790 if test "${enable_help+set}" = set; then
5791 enableval="$enable_help"
5792
5793 if test "$enableval" = yes; then
5794 ac_cv_use_help='wxUSE_HELP=yes'
5795 else
5796 ac_cv_use_help='wxUSE_HELP=no'
5797 fi
5798
5799 else
5800
5801 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5804 else
5805 no_cache=1
5806 fi
5807
5808 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5809
5810 fi;
5811
5812 eval "$ac_cv_use_help"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5815 fi
5816
5817 if test "$wxUSE_HELP" = yes; then
5818 echo "$as_me:$LINENO: result: yes" >&5
5819 echo "${ECHO_T}yes" >&6
5820 else
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5823 fi
5824
5825
5826 enablestring=
5827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5829 no_cache=0
5830 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5831 if test "${enable_mshtmlhelp+set}" = set; then
5832 enableval="$enable_mshtmlhelp"
5833
5834 if test "$enableval" = yes; then
5835 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5836 else
5837 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5838 fi
5839
5840 else
5841
5842 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x ; then
5844 eval "DEFAULT_$LINE"
5845 else
5846 no_cache=1
5847 fi
5848
5849 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5850
5851 fi;
5852
5853 eval "$ac_cv_use_mshtmlhelp"
5854 if test "$no_cache" != 1; then
5855 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5856 fi
5857
5858 if test "$wxUSE_MS_HTML_HELP" = yes; then
5859 echo "$as_me:$LINENO: result: yes" >&5
5860 echo "${ECHO_T}yes" >&6
5861 else
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5864 fi
5865
5866
5867 enablestring=
5868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5869 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5870 no_cache=0
5871 # Check whether --enable-html or --disable-html was given.
5872 if test "${enable_html+set}" = set; then
5873 enableval="$enable_html"
5874
5875 if test "$enableval" = yes; then
5876 ac_cv_use_html='wxUSE_HTML=yes'
5877 else
5878 ac_cv_use_html='wxUSE_HTML=no'
5879 fi
5880
5881 else
5882
5883 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x ; then
5885 eval "DEFAULT_$LINE"
5886 else
5887 no_cache=1
5888 fi
5889
5890 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5891
5892 fi;
5893
5894 eval "$ac_cv_use_html"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5897 fi
5898
5899 if test "$wxUSE_HTML" = yes; then
5900 echo "$as_me:$LINENO: result: yes" >&5
5901 echo "${ECHO_T}yes" >&6
5902 else
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5905 fi
5906
5907
5908 enablestring=
5909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5911 no_cache=0
5912 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5913 if test "${enable_htmlhelp+set}" = set; then
5914 enableval="$enable_htmlhelp"
5915
5916 if test "$enableval" = yes; then
5917 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5918 else
5919 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5920 fi
5921
5922 else
5923
5924 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x ; then
5926 eval "DEFAULT_$LINE"
5927 else
5928 no_cache=1
5929 fi
5930
5931 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5932
5933 fi;
5934
5935 eval "$ac_cv_use_htmlhelp"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5938 fi
5939
5940 if test "$wxUSE_WXHTML_HELP" = yes; then
5941 echo "$as_me:$LINENO: result: yes" >&5
5942 echo "${ECHO_T}yes" >&6
5943 else
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5946 fi
5947
5948
5949 enablestring=
5950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5952 no_cache=0
5953 # Check whether --enable-constraints or --disable-constraints was given.
5954 if test "${enable_constraints+set}" = set; then
5955 enableval="$enable_constraints"
5956
5957 if test "$enableval" = yes; then
5958 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5959 else
5960 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5961 fi
5962
5963 else
5964
5965 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x ; then
5967 eval "DEFAULT_$LINE"
5968 else
5969 no_cache=1
5970 fi
5971
5972 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5973
5974 fi;
5975
5976 eval "$ac_cv_use_constraints"
5977 if test "$no_cache" != 1; then
5978 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5979 fi
5980
5981 if test "$wxUSE_CONSTRAINTS" = yes; then
5982 echo "$as_me:$LINENO: result: yes" >&5
5983 echo "${ECHO_T}yes" >&6
5984 else
5985 echo "$as_me:$LINENO: result: no" >&5
5986 echo "${ECHO_T}no" >&6
5987 fi
5988
5989
5990 enablestring=
5991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5993 no_cache=0
5994 # Check whether --enable-printarch or --disable-printarch was given.
5995 if test "${enable_printarch+set}" = set; then
5996 enableval="$enable_printarch"
5997
5998 if test "$enableval" = yes; then
5999 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6000 else
6001 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6002 fi
6003
6004 else
6005
6006 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x ; then
6008 eval "DEFAULT_$LINE"
6009 else
6010 no_cache=1
6011 fi
6012
6013 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6014
6015 fi;
6016
6017 eval "$ac_cv_use_printarch"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6020 fi
6021
6022 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6023 echo "$as_me:$LINENO: result: yes" >&5
6024 echo "${ECHO_T}yes" >&6
6025 else
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6028 fi
6029
6030
6031 enablestring=
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6034 no_cache=0
6035 # Check whether --enable-mdi or --disable-mdi was given.
6036 if test "${enable_mdi+set}" = set; then
6037 enableval="$enable_mdi"
6038
6039 if test "$enableval" = yes; then
6040 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6041 else
6042 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6043 fi
6044
6045 else
6046
6047 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x ; then
6049 eval "DEFAULT_$LINE"
6050 else
6051 no_cache=1
6052 fi
6053
6054 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6055
6056 fi;
6057
6058 eval "$ac_cv_use_mdi"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6061 fi
6062
6063 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6064 echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6
6066 else
6067 echo "$as_me:$LINENO: result: no" >&5
6068 echo "${ECHO_T}no" >&6
6069 fi
6070
6071
6072 enablestring=
6073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6075 no_cache=0
6076 # Check whether --enable-loggui or --disable-loggui was given.
6077 if test "${enable_loggui+set}" = set; then
6078 enableval="$enable_loggui"
6079
6080 if test "$enableval" = yes; then
6081 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6082 else
6083 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6084 fi
6085
6086 else
6087
6088 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x ; then
6090 eval "DEFAULT_$LINE"
6091 else
6092 no_cache=1
6093 fi
6094
6095 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6096
6097 fi;
6098
6099 eval "$ac_cv_use_loggui"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6102 fi
6103
6104 if test "$wxUSE_LOGGUI" = yes; then
6105 echo "$as_me:$LINENO: result: yes" >&5
6106 echo "${ECHO_T}yes" >&6
6107 else
6108 echo "$as_me:$LINENO: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6110 fi
6111
6112
6113 enablestring=
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6116 no_cache=0
6117 # Check whether --enable-logwin or --disable-logwin was given.
6118 if test "${enable_logwin+set}" = set; then
6119 enableval="$enable_logwin"
6120
6121 if test "$enableval" = yes; then
6122 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6123 else
6124 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6125 fi
6126
6127 else
6128
6129 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6132 else
6133 no_cache=1
6134 fi
6135
6136 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6137
6138 fi;
6139
6140 eval "$ac_cv_use_logwin"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6143 fi
6144
6145 if test "$wxUSE_LOGWINDOW" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6148 else
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6151 fi
6152
6153
6154 enablestring=
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6157 no_cache=0
6158 # Check whether --enable-logdialog or --disable-logdialog was given.
6159 if test "${enable_logdialog+set}" = set; then
6160 enableval="$enable_logdialog"
6161
6162 if test "$enableval" = yes; then
6163 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6164 else
6165 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6166 fi
6167
6168 else
6169
6170 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x ; then
6172 eval "DEFAULT_$LINE"
6173 else
6174 no_cache=1
6175 fi
6176
6177 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6178
6179 fi;
6180
6181 eval "$ac_cv_use_logdialog"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6184 fi
6185
6186 if test "$wxUSE_LOGDIALOG" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6189 else
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6192 fi
6193
6194
6195
6196 enablestring=
6197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6199 no_cache=0
6200 # Check whether --enable-postscript or --disable-postscript was given.
6201 if test "${enable_postscript+set}" = set; then
6202 enableval="$enable_postscript"
6203
6204 if test "$enableval" = yes; then
6205 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6206 else
6207 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6208 fi
6209
6210 else
6211
6212 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x ; then
6214 eval "DEFAULT_$LINE"
6215 else
6216 no_cache=1
6217 fi
6218
6219 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6220
6221 fi;
6222
6223 eval "$ac_cv_use_postscript"
6224 if test "$no_cache" != 1; then
6225 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6226 fi
6227
6228 if test "$wxUSE_POSTSCRIPT" = yes; then
6229 echo "$as_me:$LINENO: result: yes" >&5
6230 echo "${ECHO_T}yes" >&6
6231 else
6232 echo "$as_me:$LINENO: result: no" >&5
6233 echo "${ECHO_T}no" >&6
6234 fi
6235
6236
6237
6238
6239
6240 enablestring=
6241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6243 no_cache=0
6244 # Check whether --enable-prologio or --disable-prologio was given.
6245 if test "${enable_prologio+set}" = set; then
6246 enableval="$enable_prologio"
6247
6248 if test "$enableval" = yes; then
6249 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6250 else
6251 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6252 fi
6253
6254 else
6255
6256 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6259 else
6260 no_cache=1
6261 fi
6262
6263 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6264
6265 fi;
6266
6267 eval "$ac_cv_use_prologio"
6268 if test "$no_cache" != 1; then
6269 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6270 fi
6271
6272 if test "$wxUSE_PROLOGIO" = yes; then
6273 echo "$as_me:$LINENO: result: yes" >&5
6274 echo "${ECHO_T}yes" >&6
6275 else
6276 echo "$as_me:$LINENO: result: no" >&5
6277 echo "${ECHO_T}no" >&6
6278 fi
6279
6280
6281 enablestring=
6282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6283 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6284 no_cache=0
6285 # Check whether --enable-resources or --disable-resources was given.
6286 if test "${enable_resources+set}" = set; then
6287 enableval="$enable_resources"
6288
6289 if test "$enableval" = yes; then
6290 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6291 else
6292 ac_cv_use_resources='wxUSE_RESOURCES=no'
6293 fi
6294
6295 else
6296
6297 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6298 if test "x$LINE" != x ; then
6299 eval "DEFAULT_$LINE"
6300 else
6301 no_cache=1
6302 fi
6303
6304 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6305
6306 fi;
6307
6308 eval "$ac_cv_use_resources"
6309 if test "$no_cache" != 1; then
6310 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6311 fi
6312
6313 if test "$wxUSE_RESOURCES" = yes; then
6314 echo "$as_me:$LINENO: result: yes" >&5
6315 echo "${ECHO_T}yes" >&6
6316 else
6317 echo "$as_me:$LINENO: result: no" >&5
6318 echo "${ECHO_T}no" >&6
6319 fi
6320
6321
6322
6323
6324 enablestring=
6325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6326 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6327 no_cache=0
6328 # Check whether --enable-clipboard or --disable-clipboard was given.
6329 if test "${enable_clipboard+set}" = set; then
6330 enableval="$enable_clipboard"
6331
6332 if test "$enableval" = yes; then
6333 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6334 else
6335 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6336 fi
6337
6338 else
6339
6340 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6341 if test "x$LINE" != x ; then
6342 eval "DEFAULT_$LINE"
6343 else
6344 no_cache=1
6345 fi
6346
6347 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6348
6349 fi;
6350
6351 eval "$ac_cv_use_clipboard"
6352 if test "$no_cache" != 1; then
6353 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6354 fi
6355
6356 if test "$wxUSE_CLIPBOARD" = yes; then
6357 echo "$as_me:$LINENO: result: yes" >&5
6358 echo "${ECHO_T}yes" >&6
6359 else
6360 echo "$as_me:$LINENO: result: no" >&5
6361 echo "${ECHO_T}no" >&6
6362 fi
6363
6364
6365 enablestring=
6366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6367 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6368 no_cache=0
6369 # Check whether --enable-dnd or --disable-dnd was given.
6370 if test "${enable_dnd+set}" = set; then
6371 enableval="$enable_dnd"
6372
6373 if test "$enableval" = yes; then
6374 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6375 else
6376 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6377 fi
6378
6379 else
6380
6381 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6382 if test "x$LINE" != x ; then
6383 eval "DEFAULT_$LINE"
6384 else
6385 no_cache=1
6386 fi
6387
6388 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6389
6390 fi;
6391
6392 eval "$ac_cv_use_dnd"
6393 if test "$no_cache" != 1; then
6394 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6395 fi
6396
6397 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6398 echo "$as_me:$LINENO: result: yes" >&5
6399 echo "${ECHO_T}yes" >&6
6400 else
6401 echo "$as_me:$LINENO: result: no" >&5
6402 echo "${ECHO_T}no" >&6
6403 fi
6404
6405
6406 enablestring=
6407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6408 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6409 no_cache=0
6410 # Check whether --enable-metafile or --disable-metafile was given.
6411 if test "${enable_metafile+set}" = set; then
6412 enableval="$enable_metafile"
6413
6414 if test "$enableval" = yes; then
6415 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6416 else
6417 ac_cv_use_metafile='wxUSE_METAFILE=no'
6418 fi
6419
6420 else
6421
6422 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6423 if test "x$LINE" != x ; then
6424 eval "DEFAULT_$LINE"
6425 else
6426 no_cache=1
6427 fi
6428
6429 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6430
6431 fi;
6432
6433 eval "$ac_cv_use_metafile"
6434 if test "$no_cache" != 1; then
6435 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6436 fi
6437
6438 if test "$wxUSE_METAFILE" = yes; then
6439 echo "$as_me:$LINENO: result: yes" >&5
6440 echo "${ECHO_T}yes" >&6
6441 else
6442 echo "$as_me:$LINENO: result: no" >&5
6443 echo "${ECHO_T}no" >&6
6444 fi
6445
6446
6447
6448
6449
6450 enablestring=
6451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6452 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6453 no_cache=0
6454 # Check whether --enable-controls or --disable-controls was given.
6455 if test "${enable_controls+set}" = set; then
6456 enableval="$enable_controls"
6457
6458 if test "$enableval" = yes; then
6459 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6460 else
6461 ac_cv_use_controls='wxUSE_CONTROLS=no'
6462 fi
6463
6464 else
6465
6466 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6467 if test "x$LINE" != x ; then
6468 eval "DEFAULT_$LINE"
6469 else
6470 no_cache=1
6471 fi
6472
6473 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6474
6475 fi;
6476
6477 eval "$ac_cv_use_controls"
6478 if test "$no_cache" != 1; then
6479 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6480 fi
6481
6482 if test "$wxUSE_CONTROLS" = yes; then
6483 echo "$as_me:$LINENO: result: yes" >&5
6484 echo "${ECHO_T}yes" >&6
6485 else
6486 echo "$as_me:$LINENO: result: no" >&5
6487 echo "${ECHO_T}no" >&6
6488 fi
6489
6490
6491 if test "$wxUSE_CONTROLS" = "yes"; then
6492 DEFAULT_wxUSE_ACCEL=yes
6493 DEFAULT_wxUSE_BMPBUTTON=yes
6494 DEFAULT_wxUSE_BUTTON=yes
6495 DEFAULT_wxUSE_CALCTRL=no
6496 DEFAULT_wxUSE_CARET=yes
6497 DEFAULT_wxUSE_COMBOBOX=yes
6498 DEFAULT_wxUSE_CHECKBOX=yes
6499 DEFAULT_wxUSE_CHECKLISTBOX=yes
6500 DEFAULT_wxUSE_CHOICE=yes
6501 DEFAULT_wxUSE_GAUGE=yes
6502 DEFAULT_wxUSE_GRID=yes
6503 DEFAULT_wxUSE_IMAGLIST=yes
6504 DEFAULT_wxUSE_LISTBOX=yes
6505 DEFAULT_wxUSE_LISTCTRL=yes
6506 DEFAULT_wxUSE_NOTEBOOK=yes
6507 DEFAULT_wxUSE_RADIOBOX=yes
6508 DEFAULT_wxUSE_RADIOBTN=yes
6509 DEFAULT_wxUSE_SASH=yes
6510 DEFAULT_wxUSE_SCROLLBAR=yes
6511 DEFAULT_wxUSE_SLIDER=yes
6512 DEFAULT_wxUSE_SPINBTN=yes
6513 DEFAULT_wxUSE_SPINCTRL=yes
6514 DEFAULT_wxUSE_SPLITTER=yes
6515 DEFAULT_wxUSE_STATBMP=yes
6516 DEFAULT_wxUSE_STATBOX=yes
6517 DEFAULT_wxUSE_STATLINE=yes
6518 DEFAULT_wxUSE_STATUSBAR=yes
6519 DEFAULT_wxUSE_TAB_DIALOG=yes
6520 DEFAULT_wxUSE_TOGGLEBTN=yes
6521 DEFAULT_wxUSE_TOOLBAR=yes
6522 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6523 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6524 DEFAULT_wxUSE_TOOLTIPS=yes
6525 DEFAULT_wxUSE_TREECTRL=yes
6526 DEFAULT_wxUSE_POPUPWIN=yes
6527 DEFAULT_wxUSE_TIPWINDOW=yes
6528 elif test "$wxUSE_CONTROLS" = "no"; then
6529 DEFAULT_wxUSE_ACCEL=no
6530 DEFAULT_wxUSE_BMPBUTTON=no
6531 DEFAULT_wxUSE_BUTTON=no
6532 DEFAULT_wxUSE_CALCTRL=no
6533 DEFAULT_wxUSE_CARET=no
6534 DEFAULT_wxUSE_COMBOBOX=no
6535 DEFAULT_wxUSE_CHECKBOX=no
6536 DEFAULT_wxUSE_CHECKLISTBOX=no
6537 DEFAULT_wxUSE_CHOICE=no
6538 DEFAULT_wxUSE_GAUGE=no
6539 DEFAULT_wxUSE_GRID=no
6540 DEFAULT_wxUSE_IMAGLIST=no
6541 DEFAULT_wxUSE_LISTBOX=no
6542 DEFAULT_wxUSE_LISTCTRL=no
6543 DEFAULT_wxUSE_NOTEBOOK=no
6544 DEFAULT_wxUSE_RADIOBOX=no
6545 DEFAULT_wxUSE_RADIOBTN=no
6546 DEFAULT_wxUSE_SASH=no
6547 DEFAULT_wxUSE_SCROLLBAR=no
6548 DEFAULT_wxUSE_SLIDER=no
6549 DEFAULT_wxUSE_SPINBTN=no
6550 DEFAULT_wxUSE_SPINCTRL=no
6551 DEFAULT_wxUSE_SPLITTER=no
6552 DEFAULT_wxUSE_STATBMP=no
6553 DEFAULT_wxUSE_STATBOX=no
6554 DEFAULT_wxUSE_STATLINE=no
6555 DEFAULT_wxUSE_STATUSBAR=no
6556 DEFAULT_wxUSE_TAB_DIALOG=no
6557 DEFAULT_wxUSE_TOGGLEBTN=no
6558 DEFAULT_wxUSE_TOOLBAR=no
6559 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6560 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6561 DEFAULT_wxUSE_TOOLTIPS=no
6562 DEFAULT_wxUSE_TREECTRL=no
6563 DEFAULT_wxUSE_POPUPWIN=no
6564 DEFAULT_wxUSE_TIPWINDOW=no
6565 fi
6566
6567 ## FIXME: This is a blatant hack
6568 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6569 wxUSE_PRINTING_ARCHITECTURE=no
6570 wxUSE_DRAG_AND_DROP=no
6571 # Generic notebook requires tab dialog
6572 DEFAULT_wxUSE_TABDIALOG=yes
6573 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6574 DEFAULT_wxUSE_SCROLLBAR=no
6575 DEFAULT_wxUSE_TOOLTIPS=no
6576 DEFAULT_wxUSE_DRAGIMAGE=no
6577 fi
6578
6579
6580 enablestring=
6581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6582 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6583 no_cache=0
6584 # Check whether --enable-accel or --disable-accel was given.
6585 if test "${enable_accel+set}" = set; then
6586 enableval="$enable_accel"
6587
6588 if test "$enableval" = yes; then
6589 ac_cv_use_accel='wxUSE_ACCEL=yes'
6590 else
6591 ac_cv_use_accel='wxUSE_ACCEL=no'
6592 fi
6593
6594 else
6595
6596 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6597 if test "x$LINE" != x ; then
6598 eval "DEFAULT_$LINE"
6599 else
6600 no_cache=1
6601 fi
6602
6603 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6604
6605 fi;
6606
6607 eval "$ac_cv_use_accel"
6608 if test "$no_cache" != 1; then
6609 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6610 fi
6611
6612 if test "$wxUSE_ACCEL" = yes; then
6613 echo "$as_me:$LINENO: result: yes" >&5
6614 echo "${ECHO_T}yes" >&6
6615 else
6616 echo "$as_me:$LINENO: result: no" >&5
6617 echo "${ECHO_T}no" >&6
6618 fi
6619
6620
6621 enablestring=
6622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6623 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6624 no_cache=0
6625 # Check whether --enable-button or --disable-button was given.
6626 if test "${enable_button+set}" = set; then
6627 enableval="$enable_button"
6628
6629 if test "$enableval" = yes; then
6630 ac_cv_use_button='wxUSE_BUTTON=yes'
6631 else
6632 ac_cv_use_button='wxUSE_BUTTON=no'
6633 fi
6634
6635 else
6636
6637 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6638 if test "x$LINE" != x ; then
6639 eval "DEFAULT_$LINE"
6640 else
6641 no_cache=1
6642 fi
6643
6644 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6645
6646 fi;
6647
6648 eval "$ac_cv_use_button"
6649 if test "$no_cache" != 1; then
6650 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6651 fi
6652
6653 if test "$wxUSE_BUTTON" = yes; then
6654 echo "$as_me:$LINENO: result: yes" >&5
6655 echo "${ECHO_T}yes" >&6
6656 else
6657 echo "$as_me:$LINENO: result: no" >&5
6658 echo "${ECHO_T}no" >&6
6659 fi
6660
6661
6662 enablestring=
6663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6664 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6665 no_cache=0
6666 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6667 if test "${enable_bmpbutton+set}" = set; then
6668 enableval="$enable_bmpbutton"
6669
6670 if test "$enableval" = yes; then
6671 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6672 else
6673 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6674 fi
6675
6676 else
6677
6678 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6679 if test "x$LINE" != x ; then
6680 eval "DEFAULT_$LINE"
6681 else
6682 no_cache=1
6683 fi
6684
6685 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6686
6687 fi;
6688
6689 eval "$ac_cv_use_bmpbutton"
6690 if test "$no_cache" != 1; then
6691 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6692 fi
6693
6694 if test "$wxUSE_BMPBUTTON" = yes; then
6695 echo "$as_me:$LINENO: result: yes" >&5
6696 echo "${ECHO_T}yes" >&6
6697 else
6698 echo "$as_me:$LINENO: result: no" >&5
6699 echo "${ECHO_T}no" >&6
6700 fi
6701
6702
6703 enablestring=
6704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6705 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6706 no_cache=0
6707 # Check whether --enable-calendar or --disable-calendar was given.
6708 if test "${enable_calendar+set}" = set; then
6709 enableval="$enable_calendar"
6710
6711 if test "$enableval" = yes; then
6712 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6713 else
6714 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6715 fi
6716
6717 else
6718
6719 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6720 if test "x$LINE" != x ; then
6721 eval "DEFAULT_$LINE"
6722 else
6723 no_cache=1
6724 fi
6725
6726 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6727
6728 fi;
6729
6730 eval "$ac_cv_use_calendar"
6731 if test "$no_cache" != 1; then
6732 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6733 fi
6734
6735 if test "$wxUSE_CALCTRL" = yes; then
6736 echo "$as_me:$LINENO: result: yes" >&5
6737 echo "${ECHO_T}yes" >&6
6738 else
6739 echo "$as_me:$LINENO: result: no" >&5
6740 echo "${ECHO_T}no" >&6
6741 fi
6742
6743
6744 enablestring=
6745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6746 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6747 no_cache=0
6748 # Check whether --enable-caret or --disable-caret was given.
6749 if test "${enable_caret+set}" = set; then
6750 enableval="$enable_caret"
6751
6752 if test "$enableval" = yes; then
6753 ac_cv_use_caret='wxUSE_CARET=yes'
6754 else
6755 ac_cv_use_caret='wxUSE_CARET=no'
6756 fi
6757
6758 else
6759
6760 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6761 if test "x$LINE" != x ; then
6762 eval "DEFAULT_$LINE"
6763 else
6764 no_cache=1
6765 fi
6766
6767 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6768
6769 fi;
6770
6771 eval "$ac_cv_use_caret"
6772 if test "$no_cache" != 1; then
6773 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6774 fi
6775
6776 if test "$wxUSE_CARET" = yes; then
6777 echo "$as_me:$LINENO: result: yes" >&5
6778 echo "${ECHO_T}yes" >&6
6779 else
6780 echo "$as_me:$LINENO: result: no" >&5
6781 echo "${ECHO_T}no" >&6
6782 fi
6783
6784
6785 enablestring=
6786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6787 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6788 no_cache=0
6789 # Check whether --enable-checkbox or --disable-checkbox was given.
6790 if test "${enable_checkbox+set}" = set; then
6791 enableval="$enable_checkbox"
6792
6793 if test "$enableval" = yes; then
6794 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6795 else
6796 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6797 fi
6798
6799 else
6800
6801 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6802 if test "x$LINE" != x ; then
6803 eval "DEFAULT_$LINE"
6804 else
6805 no_cache=1
6806 fi
6807
6808 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6809
6810 fi;
6811
6812 eval "$ac_cv_use_checkbox"
6813 if test "$no_cache" != 1; then
6814 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6815 fi
6816
6817 if test "$wxUSE_CHECKBOX" = yes; then
6818 echo "$as_me:$LINENO: result: yes" >&5
6819 echo "${ECHO_T}yes" >&6
6820 else
6821 echo "$as_me:$LINENO: result: no" >&5
6822 echo "${ECHO_T}no" >&6
6823 fi
6824
6825
6826 enablestring=
6827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6828 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6829 no_cache=0
6830 # Check whether --enable-checklst or --disable-checklst was given.
6831 if test "${enable_checklst+set}" = set; then
6832 enableval="$enable_checklst"
6833
6834 if test "$enableval" = yes; then
6835 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6836 else
6837 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6838 fi
6839
6840 else
6841
6842 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6843 if test "x$LINE" != x ; then
6844 eval "DEFAULT_$LINE"
6845 else
6846 no_cache=1
6847 fi
6848
6849 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6850
6851 fi;
6852
6853 eval "$ac_cv_use_checklst"
6854 if test "$no_cache" != 1; then
6855 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6856 fi
6857
6858 if test "$wxUSE_CHECKLST" = yes; then
6859 echo "$as_me:$LINENO: result: yes" >&5
6860 echo "${ECHO_T}yes" >&6
6861 else
6862 echo "$as_me:$LINENO: result: no" >&5
6863 echo "${ECHO_T}no" >&6
6864 fi
6865
6866
6867 enablestring=
6868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6869 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6870 no_cache=0
6871 # Check whether --enable-choice or --disable-choice was given.
6872 if test "${enable_choice+set}" = set; then
6873 enableval="$enable_choice"
6874
6875 if test "$enableval" = yes; then
6876 ac_cv_use_choice='wxUSE_CHOICE=yes'
6877 else
6878 ac_cv_use_choice='wxUSE_CHOICE=no'
6879 fi
6880
6881 else
6882
6883 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6884 if test "x$LINE" != x ; then
6885 eval "DEFAULT_$LINE"
6886 else
6887 no_cache=1
6888 fi
6889
6890 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6891
6892 fi;
6893
6894 eval "$ac_cv_use_choice"
6895 if test "$no_cache" != 1; then
6896 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6897 fi
6898
6899 if test "$wxUSE_CHOICE" = yes; then
6900 echo "$as_me:$LINENO: result: yes" >&5
6901 echo "${ECHO_T}yes" >&6
6902 else
6903 echo "$as_me:$LINENO: result: no" >&5
6904 echo "${ECHO_T}no" >&6
6905 fi
6906
6907
6908 enablestring=
6909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6910 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6911 no_cache=0
6912 # Check whether --enable-combobox or --disable-combobox was given.
6913 if test "${enable_combobox+set}" = set; then
6914 enableval="$enable_combobox"
6915
6916 if test "$enableval" = yes; then
6917 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6918 else
6919 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6920 fi
6921
6922 else
6923
6924 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6925 if test "x$LINE" != x ; then
6926 eval "DEFAULT_$LINE"
6927 else
6928 no_cache=1
6929 fi
6930
6931 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6932
6933 fi;
6934
6935 eval "$ac_cv_use_combobox"
6936 if test "$no_cache" != 1; then
6937 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6938 fi
6939
6940 if test "$wxUSE_COMBOBOX" = yes; then
6941 echo "$as_me:$LINENO: result: yes" >&5
6942 echo "${ECHO_T}yes" >&6
6943 else
6944 echo "$as_me:$LINENO: result: no" >&5
6945 echo "${ECHO_T}no" >&6
6946 fi
6947
6948
6949 enablestring=
6950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6951 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6952 no_cache=0
6953 # Check whether --enable-display or --disable-display was given.
6954 if test "${enable_display+set}" = set; then
6955 enableval="$enable_display"
6956
6957 if test "$enableval" = yes; then
6958 ac_cv_use_display='wxUSE_DISPLAY=yes'
6959 else
6960 ac_cv_use_display='wxUSE_DISPLAY=no'
6961 fi
6962
6963 else
6964
6965 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6966 if test "x$LINE" != x ; then
6967 eval "DEFAULT_$LINE"
6968 else
6969 no_cache=1
6970 fi
6971
6972 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6973
6974 fi;
6975
6976 eval "$ac_cv_use_display"
6977 if test "$no_cache" != 1; then
6978 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6979 fi
6980
6981 if test "$wxUSE_DISPLAY" = yes; then
6982 echo "$as_me:$LINENO: result: yes" >&5
6983 echo "${ECHO_T}yes" >&6
6984 else
6985 echo "$as_me:$LINENO: result: no" >&5
6986 echo "${ECHO_T}no" >&6
6987 fi
6988
6989
6990 enablestring=
6991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6992 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6993 no_cache=0
6994 # Check whether --enable-gauge or --disable-gauge was given.
6995 if test "${enable_gauge+set}" = set; then
6996 enableval="$enable_gauge"
6997
6998 if test "$enableval" = yes; then
6999 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7000 else
7001 ac_cv_use_gauge='wxUSE_GAUGE=no'
7002 fi
7003
7004 else
7005
7006 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7007 if test "x$LINE" != x ; then
7008 eval "DEFAULT_$LINE"
7009 else
7010 no_cache=1
7011 fi
7012
7013 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7014
7015 fi;
7016
7017 eval "$ac_cv_use_gauge"
7018 if test "$no_cache" != 1; then
7019 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7020 fi
7021
7022 if test "$wxUSE_GAUGE" = yes; then
7023 echo "$as_me:$LINENO: result: yes" >&5
7024 echo "${ECHO_T}yes" >&6
7025 else
7026 echo "$as_me:$LINENO: result: no" >&5
7027 echo "${ECHO_T}no" >&6
7028 fi
7029
7030
7031 enablestring=
7032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7034 no_cache=0
7035 # Check whether --enable-grid or --disable-grid was given.
7036 if test "${enable_grid+set}" = set; then
7037 enableval="$enable_grid"
7038
7039 if test "$enableval" = yes; then
7040 ac_cv_use_grid='wxUSE_GRID=yes'
7041 else
7042 ac_cv_use_grid='wxUSE_GRID=no'
7043 fi
7044
7045 else
7046
7047 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7048 if test "x$LINE" != x ; then
7049 eval "DEFAULT_$LINE"
7050 else
7051 no_cache=1
7052 fi
7053
7054 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7055
7056 fi;
7057
7058 eval "$ac_cv_use_grid"
7059 if test "$no_cache" != 1; then
7060 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7061 fi
7062
7063 if test "$wxUSE_GRID" = yes; then
7064 echo "$as_me:$LINENO: result: yes" >&5
7065 echo "${ECHO_T}yes" >&6
7066 else
7067 echo "$as_me:$LINENO: result: no" >&5
7068 echo "${ECHO_T}no" >&6
7069 fi
7070
7071
7072 enablestring=
7073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7074 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7075 no_cache=0
7076 # Check whether --enable-imaglist or --disable-imaglist was given.
7077 if test "${enable_imaglist+set}" = set; then
7078 enableval="$enable_imaglist"
7079
7080 if test "$enableval" = yes; then
7081 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7082 else
7083 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7084 fi
7085
7086 else
7087
7088 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7089 if test "x$LINE" != x ; then
7090 eval "DEFAULT_$LINE"
7091 else
7092 no_cache=1
7093 fi
7094
7095 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7096
7097 fi;
7098
7099 eval "$ac_cv_use_imaglist"
7100 if test "$no_cache" != 1; then
7101 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7102 fi
7103
7104 if test "$wxUSE_IMAGLIST" = yes; then
7105 echo "$as_me:$LINENO: result: yes" >&5
7106 echo "${ECHO_T}yes" >&6
7107 else
7108 echo "$as_me:$LINENO: result: no" >&5
7109 echo "${ECHO_T}no" >&6
7110 fi
7111
7112
7113 enablestring=
7114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7115 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7116 no_cache=0
7117 # Check whether --enable-listbox or --disable-listbox was given.
7118 if test "${enable_listbox+set}" = set; then
7119 enableval="$enable_listbox"
7120
7121 if test "$enableval" = yes; then
7122 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7123 else
7124 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7125 fi
7126
7127 else
7128
7129 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7130 if test "x$LINE" != x ; then
7131 eval "DEFAULT_$LINE"
7132 else
7133 no_cache=1
7134 fi
7135
7136 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7137
7138 fi;
7139
7140 eval "$ac_cv_use_listbox"
7141 if test "$no_cache" != 1; then
7142 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7143 fi
7144
7145 if test "$wxUSE_LISTBOX" = yes; then
7146 echo "$as_me:$LINENO: result: yes" >&5
7147 echo "${ECHO_T}yes" >&6
7148 else
7149 echo "$as_me:$LINENO: result: no" >&5
7150 echo "${ECHO_T}no" >&6
7151 fi
7152
7153
7154 enablestring=
7155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7156 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7157 no_cache=0
7158 # Check whether --enable-listctrl or --disable-listctrl was given.
7159 if test "${enable_listctrl+set}" = set; then
7160 enableval="$enable_listctrl"
7161
7162 if test "$enableval" = yes; then
7163 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7164 else
7165 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7166 fi
7167
7168 else
7169
7170 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7171 if test "x$LINE" != x ; then
7172 eval "DEFAULT_$LINE"
7173 else
7174 no_cache=1
7175 fi
7176
7177 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7178
7179 fi;
7180
7181 eval "$ac_cv_use_listctrl"
7182 if test "$no_cache" != 1; then
7183 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7184 fi
7185
7186 if test "$wxUSE_LISTCTRL" = yes; then
7187 echo "$as_me:$LINENO: result: yes" >&5
7188 echo "${ECHO_T}yes" >&6
7189 else
7190 echo "$as_me:$LINENO: result: no" >&5
7191 echo "${ECHO_T}no" >&6
7192 fi
7193
7194
7195 enablestring=
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7198 no_cache=0
7199 # Check whether --enable-notebook or --disable-notebook was given.
7200 if test "${enable_notebook+set}" = set; then
7201 enableval="$enable_notebook"
7202
7203 if test "$enableval" = yes; then
7204 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7205 else
7206 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7207 fi
7208
7209 else
7210
7211 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7214 else
7215 no_cache=1
7216 fi
7217
7218 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7219
7220 fi;
7221
7222 eval "$ac_cv_use_notebook"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7225 fi
7226
7227 if test "$wxUSE_NOTEBOOK" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7230 else
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7233 fi
7234
7235
7236 enablestring=
7237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7239 no_cache=0
7240 # Check whether --enable-radiobox or --disable-radiobox was given.
7241 if test "${enable_radiobox+set}" = set; then
7242 enableval="$enable_radiobox"
7243
7244 if test "$enableval" = yes; then
7245 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7246 else
7247 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7248 fi
7249
7250 else
7251
7252 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x ; then
7254 eval "DEFAULT_$LINE"
7255 else
7256 no_cache=1
7257 fi
7258
7259 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7260
7261 fi;
7262
7263 eval "$ac_cv_use_radiobox"
7264 if test "$no_cache" != 1; then
7265 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7266 fi
7267
7268 if test "$wxUSE_RADIOBOX" = yes; then
7269 echo "$as_me:$LINENO: result: yes" >&5
7270 echo "${ECHO_T}yes" >&6
7271 else
7272 echo "$as_me:$LINENO: result: no" >&5
7273 echo "${ECHO_T}no" >&6
7274 fi
7275
7276
7277 enablestring=
7278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7279 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7280 no_cache=0
7281 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7282 if test "${enable_radiobtn+set}" = set; then
7283 enableval="$enable_radiobtn"
7284
7285 if test "$enableval" = yes; then
7286 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7287 else
7288 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7289 fi
7290
7291 else
7292
7293 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7294 if test "x$LINE" != x ; then
7295 eval "DEFAULT_$LINE"
7296 else
7297 no_cache=1
7298 fi
7299
7300 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7301
7302 fi;
7303
7304 eval "$ac_cv_use_radiobtn"
7305 if test "$no_cache" != 1; then
7306 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7307 fi
7308
7309 if test "$wxUSE_RADIOBTN" = yes; then
7310 echo "$as_me:$LINENO: result: yes" >&5
7311 echo "${ECHO_T}yes" >&6
7312 else
7313 echo "$as_me:$LINENO: result: no" >&5
7314 echo "${ECHO_T}no" >&6
7315 fi
7316
7317
7318 enablestring=
7319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7320 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7321 no_cache=0
7322 # Check whether --enable-sash or --disable-sash was given.
7323 if test "${enable_sash+set}" = set; then
7324 enableval="$enable_sash"
7325
7326 if test "$enableval" = yes; then
7327 ac_cv_use_sash='wxUSE_SASH=yes'
7328 else
7329 ac_cv_use_sash='wxUSE_SASH=no'
7330 fi
7331
7332 else
7333
7334 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7335 if test "x$LINE" != x ; then
7336 eval "DEFAULT_$LINE"
7337 else
7338 no_cache=1
7339 fi
7340
7341 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7342
7343 fi;
7344
7345 eval "$ac_cv_use_sash"
7346 if test "$no_cache" != 1; then
7347 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7348 fi
7349
7350 if test "$wxUSE_SASH" = yes; then
7351 echo "$as_me:$LINENO: result: yes" >&5
7352 echo "${ECHO_T}yes" >&6
7353 else
7354 echo "$as_me:$LINENO: result: no" >&5
7355 echo "${ECHO_T}no" >&6
7356 fi
7357
7358
7359 enablestring=
7360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7361 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7362 no_cache=0
7363 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7364 if test "${enable_scrollbar+set}" = set; then
7365 enableval="$enable_scrollbar"
7366
7367 if test "$enableval" = yes; then
7368 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7369 else
7370 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7371 fi
7372
7373 else
7374
7375 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7376 if test "x$LINE" != x ; then
7377 eval "DEFAULT_$LINE"
7378 else
7379 no_cache=1
7380 fi
7381
7382 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7383
7384 fi;
7385
7386 eval "$ac_cv_use_scrollbar"
7387 if test "$no_cache" != 1; then
7388 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7389 fi
7390
7391 if test "$wxUSE_SCROLLBAR" = yes; then
7392 echo "$as_me:$LINENO: result: yes" >&5
7393 echo "${ECHO_T}yes" >&6
7394 else
7395 echo "$as_me:$LINENO: result: no" >&5
7396 echo "${ECHO_T}no" >&6
7397 fi
7398
7399
7400 enablestring=
7401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7402 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7403 no_cache=0
7404 # Check whether --enable-slider or --disable-slider was given.
7405 if test "${enable_slider+set}" = set; then
7406 enableval="$enable_slider"
7407
7408 if test "$enableval" = yes; then
7409 ac_cv_use_slider='wxUSE_SLIDER=yes'
7410 else
7411 ac_cv_use_slider='wxUSE_SLIDER=no'
7412 fi
7413
7414 else
7415
7416 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7417 if test "x$LINE" != x ; then
7418 eval "DEFAULT_$LINE"
7419 else
7420 no_cache=1
7421 fi
7422
7423 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7424
7425 fi;
7426
7427 eval "$ac_cv_use_slider"
7428 if test "$no_cache" != 1; then
7429 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7430 fi
7431
7432 if test "$wxUSE_SLIDER" = yes; then
7433 echo "$as_me:$LINENO: result: yes" >&5
7434 echo "${ECHO_T}yes" >&6
7435 else
7436 echo "$as_me:$LINENO: result: no" >&5
7437 echo "${ECHO_T}no" >&6
7438 fi
7439
7440
7441 enablestring=
7442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7444 no_cache=0
7445 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7446 if test "${enable_spinbtn+set}" = set; then
7447 enableval="$enable_spinbtn"
7448
7449 if test "$enableval" = yes; then
7450 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7451 else
7452 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7453 fi
7454
7455 else
7456
7457 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7458 if test "x$LINE" != x ; then
7459 eval "DEFAULT_$LINE"
7460 else
7461 no_cache=1
7462 fi
7463
7464 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7465
7466 fi;
7467
7468 eval "$ac_cv_use_spinbtn"
7469 if test "$no_cache" != 1; then
7470 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7471 fi
7472
7473 if test "$wxUSE_SPINBTN" = yes; then
7474 echo "$as_me:$LINENO: result: yes" >&5
7475 echo "${ECHO_T}yes" >&6
7476 else
7477 echo "$as_me:$LINENO: result: no" >&5
7478 echo "${ECHO_T}no" >&6
7479 fi
7480
7481
7482 enablestring=
7483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7484 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7485 no_cache=0
7486 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7487 if test "${enable_spinctrl+set}" = set; then
7488 enableval="$enable_spinctrl"
7489
7490 if test "$enableval" = yes; then
7491 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7492 else
7493 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7494 fi
7495
7496 else
7497
7498 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7499 if test "x$LINE" != x ; then
7500 eval "DEFAULT_$LINE"
7501 else
7502 no_cache=1
7503 fi
7504
7505 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7506
7507 fi;
7508
7509 eval "$ac_cv_use_spinctrl"
7510 if test "$no_cache" != 1; then
7511 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7512 fi
7513
7514 if test "$wxUSE_SPINCTRL" = yes; then
7515 echo "$as_me:$LINENO: result: yes" >&5
7516 echo "${ECHO_T}yes" >&6
7517 else
7518 echo "$as_me:$LINENO: result: no" >&5
7519 echo "${ECHO_T}no" >&6
7520 fi
7521
7522
7523 enablestring=
7524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7525 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7526 no_cache=0
7527 # Check whether --enable-splitter or --disable-splitter was given.
7528 if test "${enable_splitter+set}" = set; then
7529 enableval="$enable_splitter"
7530
7531 if test "$enableval" = yes; then
7532 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7533 else
7534 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7535 fi
7536
7537 else
7538
7539 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7540 if test "x$LINE" != x ; then
7541 eval "DEFAULT_$LINE"
7542 else
7543 no_cache=1
7544 fi
7545
7546 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7547
7548 fi;
7549
7550 eval "$ac_cv_use_splitter"
7551 if test "$no_cache" != 1; then
7552 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7553 fi
7554
7555 if test "$wxUSE_SPLITTER" = yes; then
7556 echo "$as_me:$LINENO: result: yes" >&5
7557 echo "${ECHO_T}yes" >&6
7558 else
7559 echo "$as_me:$LINENO: result: no" >&5
7560 echo "${ECHO_T}no" >&6
7561 fi
7562
7563
7564 enablestring=
7565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7566 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7567 no_cache=0
7568 # Check whether --enable-statbmp or --disable-statbmp was given.
7569 if test "${enable_statbmp+set}" = set; then
7570 enableval="$enable_statbmp"
7571
7572 if test "$enableval" = yes; then
7573 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7574 else
7575 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7576 fi
7577
7578 else
7579
7580 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7581 if test "x$LINE" != x ; then
7582 eval "DEFAULT_$LINE"
7583 else
7584 no_cache=1
7585 fi
7586
7587 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7588
7589 fi;
7590
7591 eval "$ac_cv_use_statbmp"
7592 if test "$no_cache" != 1; then
7593 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7594 fi
7595
7596 if test "$wxUSE_STATBMP" = yes; then
7597 echo "$as_me:$LINENO: result: yes" >&5
7598 echo "${ECHO_T}yes" >&6
7599 else
7600 echo "$as_me:$LINENO: result: no" >&5
7601 echo "${ECHO_T}no" >&6
7602 fi
7603
7604
7605 enablestring=
7606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7607 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7608 no_cache=0
7609 # Check whether --enable-statbox or --disable-statbox was given.
7610 if test "${enable_statbox+set}" = set; then
7611 enableval="$enable_statbox"
7612
7613 if test "$enableval" = yes; then
7614 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7615 else
7616 ac_cv_use_statbox='wxUSE_STATBOX=no'
7617 fi
7618
7619 else
7620
7621 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7622 if test "x$LINE" != x ; then
7623 eval "DEFAULT_$LINE"
7624 else
7625 no_cache=1
7626 fi
7627
7628 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7629
7630 fi;
7631
7632 eval "$ac_cv_use_statbox"
7633 if test "$no_cache" != 1; then
7634 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7635 fi
7636
7637 if test "$wxUSE_STATBOX" = yes; then
7638 echo "$as_me:$LINENO: result: yes" >&5
7639 echo "${ECHO_T}yes" >&6
7640 else
7641 echo "$as_me:$LINENO: result: no" >&5
7642 echo "${ECHO_T}no" >&6
7643 fi
7644
7645
7646 enablestring=
7647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7648 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7649 no_cache=0
7650 # Check whether --enable-statline or --disable-statline was given.
7651 if test "${enable_statline+set}" = set; then
7652 enableval="$enable_statline"
7653
7654 if test "$enableval" = yes; then
7655 ac_cv_use_statline='wxUSE_STATLINE=yes'
7656 else
7657 ac_cv_use_statline='wxUSE_STATLINE=no'
7658 fi
7659
7660 else
7661
7662 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7663 if test "x$LINE" != x ; then
7664 eval "DEFAULT_$LINE"
7665 else
7666 no_cache=1
7667 fi
7668
7669 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7670
7671 fi;
7672
7673 eval "$ac_cv_use_statline"
7674 if test "$no_cache" != 1; then
7675 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7676 fi
7677
7678 if test "$wxUSE_STATLINE" = yes; then
7679 echo "$as_me:$LINENO: result: yes" >&5
7680 echo "${ECHO_T}yes" >&6
7681 else
7682 echo "$as_me:$LINENO: result: no" >&5
7683 echo "${ECHO_T}no" >&6
7684 fi
7685
7686
7687 enablestring=
7688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7689 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7690 no_cache=0
7691 # Check whether --enable-stattext or --disable-stattext was given.
7692 if test "${enable_stattext+set}" = set; then
7693 enableval="$enable_stattext"
7694
7695 if test "$enableval" = yes; then
7696 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7697 else
7698 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7699 fi
7700
7701 else
7702
7703 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7704 if test "x$LINE" != x ; then
7705 eval "DEFAULT_$LINE"
7706 else
7707 no_cache=1
7708 fi
7709
7710 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7711
7712 fi;
7713
7714 eval "$ac_cv_use_stattext"
7715 if test "$no_cache" != 1; then
7716 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7717 fi
7718
7719 if test "$wxUSE_STATTEXT" = yes; then
7720 echo "$as_me:$LINENO: result: yes" >&5
7721 echo "${ECHO_T}yes" >&6
7722 else
7723 echo "$as_me:$LINENO: result: no" >&5
7724 echo "${ECHO_T}no" >&6
7725 fi
7726
7727
7728 enablestring=
7729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7730 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7731 no_cache=0
7732 # Check whether --enable-statusbar or --disable-statusbar was given.
7733 if test "${enable_statusbar+set}" = set; then
7734 enableval="$enable_statusbar"
7735
7736 if test "$enableval" = yes; then
7737 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7738 else
7739 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7740 fi
7741
7742 else
7743
7744 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7745 if test "x$LINE" != x ; then
7746 eval "DEFAULT_$LINE"
7747 else
7748 no_cache=1
7749 fi
7750
7751 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7752
7753 fi;
7754
7755 eval "$ac_cv_use_statusbar"
7756 if test "$no_cache" != 1; then
7757 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7758 fi
7759
7760 if test "$wxUSE_STATUSBAR" = yes; then
7761 echo "$as_me:$LINENO: result: yes" >&5
7762 echo "${ECHO_T}yes" >&6
7763 else
7764 echo "$as_me:$LINENO: result: no" >&5
7765 echo "${ECHO_T}no" >&6
7766 fi
7767
7768
7769 enablestring=
7770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7771 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7772 no_cache=0
7773 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7774 if test "${enable_tabdialog+set}" = set; then
7775 enableval="$enable_tabdialog"
7776
7777 if test "$enableval" = yes; then
7778 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7779 else
7780 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7781 fi
7782
7783 else
7784
7785 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7786 if test "x$LINE" != x ; then
7787 eval "DEFAULT_$LINE"
7788 else
7789 no_cache=1
7790 fi
7791
7792 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7793
7794 fi;
7795
7796 eval "$ac_cv_use_tabdialog"
7797 if test "$no_cache" != 1; then
7798 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7799 fi
7800
7801 if test "$wxUSE_TABDIALOG" = yes; then
7802 echo "$as_me:$LINENO: result: yes" >&5
7803 echo "${ECHO_T}yes" >&6
7804 else
7805 echo "$as_me:$LINENO: result: no" >&5
7806 echo "${ECHO_T}no" >&6
7807 fi
7808
7809
7810 enablestring=
7811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7812 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7813 no_cache=0
7814 # Check whether --enable-textctrl or --disable-textctrl was given.
7815 if test "${enable_textctrl+set}" = set; then
7816 enableval="$enable_textctrl"
7817
7818 if test "$enableval" = yes; then
7819 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7820 else
7821 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7822 fi
7823
7824 else
7825
7826 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x ; then
7828 eval "DEFAULT_$LINE"
7829 else
7830 no_cache=1
7831 fi
7832
7833 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7834
7835 fi;
7836
7837 eval "$ac_cv_use_textctrl"
7838 if test "$no_cache" != 1; then
7839 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7840 fi
7841
7842 if test "$wxUSE_TEXTCTRL" = yes; then
7843 echo "$as_me:$LINENO: result: yes" >&5
7844 echo "${ECHO_T}yes" >&6
7845 else
7846 echo "$as_me:$LINENO: result: no" >&5
7847 echo "${ECHO_T}no" >&6
7848 fi
7849
7850
7851 enablestring=
7852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7853 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7854 no_cache=0
7855 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7856 if test "${enable_togglebtn+set}" = set; then
7857 enableval="$enable_togglebtn"
7858
7859 if test "$enableval" = yes; then
7860 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7861 else
7862 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7863 fi
7864
7865 else
7866
7867 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7868 if test "x$LINE" != x ; then
7869 eval "DEFAULT_$LINE"
7870 else
7871 no_cache=1
7872 fi
7873
7874 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7875
7876 fi;
7877
7878 eval "$ac_cv_use_togglebtn"
7879 if test "$no_cache" != 1; then
7880 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7881 fi
7882
7883 if test "$wxUSE_TOGGLEBTN" = yes; then
7884 echo "$as_me:$LINENO: result: yes" >&5
7885 echo "${ECHO_T}yes" >&6
7886 else
7887 echo "$as_me:$LINENO: result: no" >&5
7888 echo "${ECHO_T}no" >&6
7889 fi
7890
7891
7892 enablestring=
7893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7894 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7895 no_cache=0
7896 # Check whether --enable-toolbar or --disable-toolbar was given.
7897 if test "${enable_toolbar+set}" = set; then
7898 enableval="$enable_toolbar"
7899
7900 if test "$enableval" = yes; then
7901 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7902 else
7903 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7904 fi
7905
7906 else
7907
7908 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7909 if test "x$LINE" != x ; then
7910 eval "DEFAULT_$LINE"
7911 else
7912 no_cache=1
7913 fi
7914
7915 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7916
7917 fi;
7918
7919 eval "$ac_cv_use_toolbar"
7920 if test "$no_cache" != 1; then
7921 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7922 fi
7923
7924 if test "$wxUSE_TOOLBAR" = yes; then
7925 echo "$as_me:$LINENO: result: yes" >&5
7926 echo "${ECHO_T}yes" >&6
7927 else
7928 echo "$as_me:$LINENO: result: no" >&5
7929 echo "${ECHO_T}no" >&6
7930 fi
7931
7932
7933 enablestring=
7934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7935 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7936 no_cache=0
7937 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7938 if test "${enable_tbarnative+set}" = set; then
7939 enableval="$enable_tbarnative"
7940
7941 if test "$enableval" = yes; then
7942 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7943 else
7944 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7945 fi
7946
7947 else
7948
7949 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7950 if test "x$LINE" != x ; then
7951 eval "DEFAULT_$LINE"
7952 else
7953 no_cache=1
7954 fi
7955
7956 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7957
7958 fi;
7959
7960 eval "$ac_cv_use_tbarnative"
7961 if test "$no_cache" != 1; then
7962 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7963 fi
7964
7965 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7966 echo "$as_me:$LINENO: result: yes" >&5
7967 echo "${ECHO_T}yes" >&6
7968 else
7969 echo "$as_me:$LINENO: result: no" >&5
7970 echo "${ECHO_T}no" >&6
7971 fi
7972
7973
7974 enablestring=
7975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7976 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7977 no_cache=0
7978 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7979 if test "${enable_tbarsmpl+set}" = set; then
7980 enableval="$enable_tbarsmpl"
7981
7982 if test "$enableval" = yes; then
7983 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7984 else
7985 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7986 fi
7987
7988 else
7989
7990 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7991 if test "x$LINE" != x ; then
7992 eval "DEFAULT_$LINE"
7993 else
7994 no_cache=1
7995 fi
7996
7997 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7998
7999 fi;
8000
8001 eval "$ac_cv_use_tbarsmpl"
8002 if test "$no_cache" != 1; then
8003 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8004 fi
8005
8006 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8007 echo "$as_me:$LINENO: result: yes" >&5
8008 echo "${ECHO_T}yes" >&6
8009 else
8010 echo "$as_me:$LINENO: result: no" >&5
8011 echo "${ECHO_T}no" >&6
8012 fi
8013
8014
8015 enablestring=
8016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8017 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8018 no_cache=0
8019 # Check whether --enable-treectrl or --disable-treectrl was given.
8020 if test "${enable_treectrl+set}" = set; then
8021 enableval="$enable_treectrl"
8022
8023 if test "$enableval" = yes; then
8024 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8025 else
8026 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8027 fi
8028
8029 else
8030
8031 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8032 if test "x$LINE" != x ; then
8033 eval "DEFAULT_$LINE"
8034 else
8035 no_cache=1
8036 fi
8037
8038 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8039
8040 fi;
8041
8042 eval "$ac_cv_use_treectrl"
8043 if test "$no_cache" != 1; then
8044 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8045 fi
8046
8047 if test "$wxUSE_TREECTRL" = yes; then
8048 echo "$as_me:$LINENO: result: yes" >&5
8049 echo "${ECHO_T}yes" >&6
8050 else
8051 echo "$as_me:$LINENO: result: no" >&5
8052 echo "${ECHO_T}no" >&6
8053 fi
8054
8055
8056 enablestring=
8057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8058 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8059 no_cache=0
8060 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8061 if test "${enable_tipwindow+set}" = set; then
8062 enableval="$enable_tipwindow"
8063
8064 if test "$enableval" = yes; then
8065 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8066 else
8067 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8068 fi
8069
8070 else
8071
8072 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8073 if test "x$LINE" != x ; then
8074 eval "DEFAULT_$LINE"
8075 else
8076 no_cache=1
8077 fi
8078
8079 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8080
8081 fi;
8082
8083 eval "$ac_cv_use_tipwindow"
8084 if test "$no_cache" != 1; then
8085 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8086 fi
8087
8088 if test "$wxUSE_TIPWINDOW" = yes; then
8089 echo "$as_me:$LINENO: result: yes" >&5
8090 echo "${ECHO_T}yes" >&6
8091 else
8092 echo "$as_me:$LINENO: result: no" >&5
8093 echo "${ECHO_T}no" >&6
8094 fi
8095
8096
8097 enablestring=
8098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8099 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8100 no_cache=0
8101 # Check whether --enable-popupwin or --disable-popupwin was given.
8102 if test "${enable_popupwin+set}" = set; then
8103 enableval="$enable_popupwin"
8104
8105 if test "$enableval" = yes; then
8106 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8107 else
8108 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8109 fi
8110
8111 else
8112
8113 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8114 if test "x$LINE" != x ; then
8115 eval "DEFAULT_$LINE"
8116 else
8117 no_cache=1
8118 fi
8119
8120 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8121
8122 fi;
8123
8124 eval "$ac_cv_use_popupwin"
8125 if test "$no_cache" != 1; then
8126 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8127 fi
8128
8129 if test "$wxUSE_POPUPWIN" = yes; then
8130 echo "$as_me:$LINENO: result: yes" >&5
8131 echo "${ECHO_T}yes" >&6
8132 else
8133 echo "$as_me:$LINENO: result: no" >&5
8134 echo "${ECHO_T}no" >&6
8135 fi
8136
8137
8138
8139
8140 enablestring=
8141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8142 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8143 no_cache=0
8144 # Check whether --enable-commondlg or --disable-commondlg was given.
8145 if test "${enable_commondlg+set}" = set; then
8146 enableval="$enable_commondlg"
8147
8148 if test "$enableval" = yes; then
8149 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8150 else
8151 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8152 fi
8153
8154 else
8155
8156 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8157 if test "x$LINE" != x ; then
8158 eval "DEFAULT_$LINE"
8159 else
8160 no_cache=1
8161 fi
8162
8163 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8164
8165 fi;
8166
8167 eval "$ac_cv_use_commondlg"
8168 if test "$no_cache" != 1; then
8169 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8170 fi
8171
8172 if test "$wxUSE_COMMONDLGS" = yes; then
8173 echo "$as_me:$LINENO: result: yes" >&5
8174 echo "${ECHO_T}yes" >&6
8175 else
8176 echo "$as_me:$LINENO: result: no" >&5
8177 echo "${ECHO_T}no" >&6
8178 fi
8179
8180
8181 enablestring=
8182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8184 no_cache=0
8185 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8186 if test "${enable_choicedlg+set}" = set; then
8187 enableval="$enable_choicedlg"
8188
8189 if test "$enableval" = yes; then
8190 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8191 else
8192 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8193 fi
8194
8195 else
8196
8197 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8198 if test "x$LINE" != x ; then
8199 eval "DEFAULT_$LINE"
8200 else
8201 no_cache=1
8202 fi
8203
8204 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8205
8206 fi;
8207
8208 eval "$ac_cv_use_choicedlg"
8209 if test "$no_cache" != 1; then
8210 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8211 fi
8212
8213 if test "$wxUSE_CHOICEDLG" = yes; then
8214 echo "$as_me:$LINENO: result: yes" >&5
8215 echo "${ECHO_T}yes" >&6
8216 else
8217 echo "$as_me:$LINENO: result: no" >&5
8218 echo "${ECHO_T}no" >&6
8219 fi
8220
8221
8222 enablestring=
8223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8224 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8225 no_cache=0
8226 # Check whether --enable-coldlg or --disable-coldlg was given.
8227 if test "${enable_coldlg+set}" = set; then
8228 enableval="$enable_coldlg"
8229
8230 if test "$enableval" = yes; then
8231 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8232 else
8233 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8234 fi
8235
8236 else
8237
8238 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8239 if test "x$LINE" != x ; then
8240 eval "DEFAULT_$LINE"
8241 else
8242 no_cache=1
8243 fi
8244
8245 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8246
8247 fi;
8248
8249 eval "$ac_cv_use_coldlg"
8250 if test "$no_cache" != 1; then
8251 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8252 fi
8253
8254 if test "$wxUSE_COLOURDLG" = yes; then
8255 echo "$as_me:$LINENO: result: yes" >&5
8256 echo "${ECHO_T}yes" >&6
8257 else
8258 echo "$as_me:$LINENO: result: no" >&5
8259 echo "${ECHO_T}no" >&6
8260 fi
8261
8262
8263 enablestring=
8264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8265 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8266 no_cache=0
8267 # Check whether --enable-filedlg or --disable-filedlg was given.
8268 if test "${enable_filedlg+set}" = set; then
8269 enableval="$enable_filedlg"
8270
8271 if test "$enableval" = yes; then
8272 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8273 else
8274 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8275 fi
8276
8277 else
8278
8279 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8280 if test "x$LINE" != x ; then
8281 eval "DEFAULT_$LINE"
8282 else
8283 no_cache=1
8284 fi
8285
8286 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8287
8288 fi;
8289
8290 eval "$ac_cv_use_filedlg"
8291 if test "$no_cache" != 1; then
8292 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8293 fi
8294
8295 if test "$wxUSE_FILEDLG" = yes; then
8296 echo "$as_me:$LINENO: result: yes" >&5
8297 echo "${ECHO_T}yes" >&6
8298 else
8299 echo "$as_me:$LINENO: result: no" >&5
8300 echo "${ECHO_T}no" >&6
8301 fi
8302
8303
8304 enablestring=
8305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8306 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8307 no_cache=0
8308 # Check whether --enable-finddlg or --disable-finddlg was given.
8309 if test "${enable_finddlg+set}" = set; then
8310 enableval="$enable_finddlg"
8311
8312 if test "$enableval" = yes; then
8313 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8314 else
8315 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8316 fi
8317
8318 else
8319
8320 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8321 if test "x$LINE" != x ; then
8322 eval "DEFAULT_$LINE"
8323 else
8324 no_cache=1
8325 fi
8326
8327 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8328
8329 fi;
8330
8331 eval "$ac_cv_use_finddlg"
8332 if test "$no_cache" != 1; then
8333 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8334 fi
8335
8336 if test "$wxUSE_FINDREPLDLG" = yes; then
8337 echo "$as_me:$LINENO: result: yes" >&5
8338 echo "${ECHO_T}yes" >&6
8339 else
8340 echo "$as_me:$LINENO: result: no" >&5
8341 echo "${ECHO_T}no" >&6
8342 fi
8343
8344
8345 enablestring=
8346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8348 no_cache=0
8349 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8350 if test "${enable_fontdlg+set}" = set; then
8351 enableval="$enable_fontdlg"
8352
8353 if test "$enableval" = yes; then
8354 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8355 else
8356 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8357 fi
8358
8359 else
8360
8361 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8362 if test "x$LINE" != x ; then
8363 eval "DEFAULT_$LINE"
8364 else
8365 no_cache=1
8366 fi
8367
8368 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8369
8370 fi;
8371
8372 eval "$ac_cv_use_fontdlg"
8373 if test "$no_cache" != 1; then
8374 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8375 fi
8376
8377 if test "$wxUSE_FONTDLG" = yes; then
8378 echo "$as_me:$LINENO: result: yes" >&5
8379 echo "${ECHO_T}yes" >&6
8380 else
8381 echo "$as_me:$LINENO: result: no" >&5
8382 echo "${ECHO_T}no" >&6
8383 fi
8384
8385
8386 enablestring=
8387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8388 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8389 no_cache=0
8390 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8391 if test "${enable_dirdlg+set}" = set; then
8392 enableval="$enable_dirdlg"
8393
8394 if test "$enableval" = yes; then
8395 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8396 else
8397 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8398 fi
8399
8400 else
8401
8402 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8403 if test "x$LINE" != x ; then
8404 eval "DEFAULT_$LINE"
8405 else
8406 no_cache=1
8407 fi
8408
8409 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8410
8411 fi;
8412
8413 eval "$ac_cv_use_dirdlg"
8414 if test "$no_cache" != 1; then
8415 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8416 fi
8417
8418 if test "$wxUSE_DIRDLG" = yes; then
8419 echo "$as_me:$LINENO: result: yes" >&5
8420 echo "${ECHO_T}yes" >&6
8421 else
8422 echo "$as_me:$LINENO: result: no" >&5
8423 echo "${ECHO_T}no" >&6
8424 fi
8425
8426
8427 enablestring=
8428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8429 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8430 no_cache=0
8431 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8432 if test "${enable_msgdlg+set}" = set; then
8433 enableval="$enable_msgdlg"
8434
8435 if test "$enableval" = yes; then
8436 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8437 else
8438 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8439 fi
8440
8441 else
8442
8443 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8444 if test "x$LINE" != x ; then
8445 eval "DEFAULT_$LINE"
8446 else
8447 no_cache=1
8448 fi
8449
8450 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8451
8452 fi;
8453
8454 eval "$ac_cv_use_msgdlg"
8455 if test "$no_cache" != 1; then
8456 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8457 fi
8458
8459 if test "$wxUSE_MSGDLG" = yes; then
8460 echo "$as_me:$LINENO: result: yes" >&5
8461 echo "${ECHO_T}yes" >&6
8462 else
8463 echo "$as_me:$LINENO: result: no" >&5
8464 echo "${ECHO_T}no" >&6
8465 fi
8466
8467
8468 enablestring=
8469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8470 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8471 no_cache=0
8472 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8473 if test "${enable_numberdlg+set}" = set; then
8474 enableval="$enable_numberdlg"
8475
8476 if test "$enableval" = yes; then
8477 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8478 else
8479 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8480 fi
8481
8482 else
8483
8484 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8485 if test "x$LINE" != x ; then
8486 eval "DEFAULT_$LINE"
8487 else
8488 no_cache=1
8489 fi
8490
8491 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8492
8493 fi;
8494
8495 eval "$ac_cv_use_numberdlg"
8496 if test "$no_cache" != 1; then
8497 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8498 fi
8499
8500 if test "$wxUSE_NUMBERDLG" = yes; then
8501 echo "$as_me:$LINENO: result: yes" >&5
8502 echo "${ECHO_T}yes" >&6
8503 else
8504 echo "$as_me:$LINENO: result: no" >&5
8505 echo "${ECHO_T}no" >&6
8506 fi
8507
8508
8509 enablestring=
8510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8511 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8512 no_cache=0
8513 # Check whether --enable-splash or --disable-splash was given.
8514 if test "${enable_splash+set}" = set; then
8515 enableval="$enable_splash"
8516
8517 if test "$enableval" = yes; then
8518 ac_cv_use_splash='wxUSE_SPLASH=yes'
8519 else
8520 ac_cv_use_splash='wxUSE_SPLASH=no'
8521 fi
8522
8523 else
8524
8525 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8526 if test "x$LINE" != x ; then
8527 eval "DEFAULT_$LINE"
8528 else
8529 no_cache=1
8530 fi
8531
8532 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8533
8534 fi;
8535
8536 eval "$ac_cv_use_splash"
8537 if test "$no_cache" != 1; then
8538 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8539 fi
8540
8541 if test "$wxUSE_SPLASH" = yes; then
8542 echo "$as_me:$LINENO: result: yes" >&5
8543 echo "${ECHO_T}yes" >&6
8544 else
8545 echo "$as_me:$LINENO: result: no" >&5
8546 echo "${ECHO_T}no" >&6
8547 fi
8548
8549
8550 enablestring=
8551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8552 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8553 no_cache=0
8554 # Check whether --enable-textdlg or --disable-textdlg was given.
8555 if test "${enable_textdlg+set}" = set; then
8556 enableval="$enable_textdlg"
8557
8558 if test "$enableval" = yes; then
8559 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8560 else
8561 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8562 fi
8563
8564 else
8565
8566 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x ; then
8568 eval "DEFAULT_$LINE"
8569 else
8570 no_cache=1
8571 fi
8572
8573 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8574
8575 fi;
8576
8577 eval "$ac_cv_use_textdlg"
8578 if test "$no_cache" != 1; then
8579 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8580 fi
8581
8582 if test "$wxUSE_TEXTDLG" = yes; then
8583 echo "$as_me:$LINENO: result: yes" >&5
8584 echo "${ECHO_T}yes" >&6
8585 else
8586 echo "$as_me:$LINENO: result: no" >&5
8587 echo "${ECHO_T}no" >&6
8588 fi
8589
8590
8591 enablestring=
8592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8593 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8594 no_cache=0
8595 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8596 if test "${enable_tipdlg+set}" = set; then
8597 enableval="$enable_tipdlg"
8598
8599 if test "$enableval" = yes; then
8600 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8601 else
8602 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8603 fi
8604
8605 else
8606
8607 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8608 if test "x$LINE" != x ; then
8609 eval "DEFAULT_$LINE"
8610 else
8611 no_cache=1
8612 fi
8613
8614 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8615
8616 fi;
8617
8618 eval "$ac_cv_use_tipdlg"
8619 if test "$no_cache" != 1; then
8620 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8621 fi
8622
8623 if test "$wxUSE_STARTUP_TIPS" = yes; then
8624 echo "$as_me:$LINENO: result: yes" >&5
8625 echo "${ECHO_T}yes" >&6
8626 else
8627 echo "$as_me:$LINENO: result: no" >&5
8628 echo "${ECHO_T}no" >&6
8629 fi
8630
8631
8632 enablestring=
8633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8635 no_cache=0
8636 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8637 if test "${enable_progressdlg+set}" = set; then
8638 enableval="$enable_progressdlg"
8639
8640 if test "$enableval" = yes; then
8641 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8642 else
8643 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8644 fi
8645
8646 else
8647
8648 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8649 if test "x$LINE" != x ; then
8650 eval "DEFAULT_$LINE"
8651 else
8652 no_cache=1
8653 fi
8654
8655 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8656
8657 fi;
8658
8659 eval "$ac_cv_use_progressdlg"
8660 if test "$no_cache" != 1; then
8661 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8662 fi
8663
8664 if test "$wxUSE_PROGRESSDLG" = yes; then
8665 echo "$as_me:$LINENO: result: yes" >&5
8666 echo "${ECHO_T}yes" >&6
8667 else
8668 echo "$as_me:$LINENO: result: no" >&5
8669 echo "${ECHO_T}no" >&6
8670 fi
8671
8672
8673 enablestring=
8674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8675 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8676 no_cache=0
8677 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8678 if test "${enable_wizarddlg+set}" = set; then
8679 enableval="$enable_wizarddlg"
8680
8681 if test "$enableval" = yes; then
8682 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8683 else
8684 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8685 fi
8686
8687 else
8688
8689 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8690 if test "x$LINE" != x ; then
8691 eval "DEFAULT_$LINE"
8692 else
8693 no_cache=1
8694 fi
8695
8696 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8697
8698 fi;
8699
8700 eval "$ac_cv_use_wizarddlg"
8701 if test "$no_cache" != 1; then
8702 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8703 fi
8704
8705 if test "$wxUSE_WIZARDDLG" = yes; then
8706 echo "$as_me:$LINENO: result: yes" >&5
8707 echo "${ECHO_T}yes" >&6
8708 else
8709 echo "$as_me:$LINENO: result: no" >&5
8710 echo "${ECHO_T}no" >&6
8711 fi
8712
8713
8714
8715
8716 enablestring=
8717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8719 no_cache=0
8720 # Check whether --enable-menus or --disable-menus was given.
8721 if test "${enable_menus+set}" = set; then
8722 enableval="$enable_menus"
8723
8724 if test "$enableval" = yes; then
8725 ac_cv_use_menus='wxUSE_MENUS=yes'
8726 else
8727 ac_cv_use_menus='wxUSE_MENUS=no'
8728 fi
8729
8730 else
8731
8732 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8733 if test "x$LINE" != x ; then
8734 eval "DEFAULT_$LINE"
8735 else
8736 no_cache=1
8737 fi
8738
8739 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8740
8741 fi;
8742
8743 eval "$ac_cv_use_menus"
8744 if test "$no_cache" != 1; then
8745 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8746 fi
8747
8748 if test "$wxUSE_MENUS" = yes; then
8749 echo "$as_me:$LINENO: result: yes" >&5
8750 echo "${ECHO_T}yes" >&6
8751 else
8752 echo "$as_me:$LINENO: result: no" >&5
8753 echo "${ECHO_T}no" >&6
8754 fi
8755
8756
8757 enablestring=
8758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8760 no_cache=0
8761 # Check whether --enable-miniframe or --disable-miniframe was given.
8762 if test "${enable_miniframe+set}" = set; then
8763 enableval="$enable_miniframe"
8764
8765 if test "$enableval" = yes; then
8766 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8767 else
8768 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8769 fi
8770
8771 else
8772
8773 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8774 if test "x$LINE" != x ; then
8775 eval "DEFAULT_$LINE"
8776 else
8777 no_cache=1
8778 fi
8779
8780 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8781
8782 fi;
8783
8784 eval "$ac_cv_use_miniframe"
8785 if test "$no_cache" != 1; then
8786 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8787 fi
8788
8789 if test "$wxUSE_MINIFRAME" = yes; then
8790 echo "$as_me:$LINENO: result: yes" >&5
8791 echo "${ECHO_T}yes" >&6
8792 else
8793 echo "$as_me:$LINENO: result: no" >&5
8794 echo "${ECHO_T}no" >&6
8795 fi
8796
8797
8798 enablestring=
8799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8800 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8801 no_cache=0
8802 # Check whether --enable-tooltips or --disable-tooltips was given.
8803 if test "${enable_tooltips+set}" = set; then
8804 enableval="$enable_tooltips"
8805
8806 if test "$enableval" = yes; then
8807 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8808 else
8809 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8810 fi
8811
8812 else
8813
8814 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8815 if test "x$LINE" != x ; then
8816 eval "DEFAULT_$LINE"
8817 else
8818 no_cache=1
8819 fi
8820
8821 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8822
8823 fi;
8824
8825 eval "$ac_cv_use_tooltips"
8826 if test "$no_cache" != 1; then
8827 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8828 fi
8829
8830 if test "$wxUSE_TOOLTIPS" = yes; then
8831 echo "$as_me:$LINENO: result: yes" >&5
8832 echo "${ECHO_T}yes" >&6
8833 else
8834 echo "$as_me:$LINENO: result: no" >&5
8835 echo "${ECHO_T}no" >&6
8836 fi
8837
8838
8839 enablestring=
8840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8841 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8842 no_cache=0
8843 # Check whether --enable-splines or --disable-splines was given.
8844 if test "${enable_splines+set}" = set; then
8845 enableval="$enable_splines"
8846
8847 if test "$enableval" = yes; then
8848 ac_cv_use_splines='wxUSE_SPLINES=yes'
8849 else
8850 ac_cv_use_splines='wxUSE_SPLINES=no'
8851 fi
8852
8853 else
8854
8855 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8856 if test "x$LINE" != x ; then
8857 eval "DEFAULT_$LINE"
8858 else
8859 no_cache=1
8860 fi
8861
8862 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8863
8864 fi;
8865
8866 eval "$ac_cv_use_splines"
8867 if test "$no_cache" != 1; then
8868 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8869 fi
8870
8871 if test "$wxUSE_SPLINES" = yes; then
8872 echo "$as_me:$LINENO: result: yes" >&5
8873 echo "${ECHO_T}yes" >&6
8874 else
8875 echo "$as_me:$LINENO: result: no" >&5
8876 echo "${ECHO_T}no" >&6
8877 fi
8878
8879
8880 enablestring=
8881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8882 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8883 no_cache=0
8884 # Check whether --enable-validators or --disable-validators was given.
8885 if test "${enable_validators+set}" = set; then
8886 enableval="$enable_validators"
8887
8888 if test "$enableval" = yes; then
8889 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8890 else
8891 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8892 fi
8893
8894 else
8895
8896 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8897 if test "x$LINE" != x ; then
8898 eval "DEFAULT_$LINE"
8899 else
8900 no_cache=1
8901 fi
8902
8903 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8904
8905 fi;
8906
8907 eval "$ac_cv_use_validators"
8908 if test "$no_cache" != 1; then
8909 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8910 fi
8911
8912 if test "$wxUSE_VALIDATORS" = yes; then
8913 echo "$as_me:$LINENO: result: yes" >&5
8914 echo "${ECHO_T}yes" >&6
8915 else
8916 echo "$as_me:$LINENO: result: no" >&5
8917 echo "${ECHO_T}no" >&6
8918 fi
8919
8920
8921 enablestring=
8922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8924 no_cache=0
8925 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8926 if test "${enable_busyinfo+set}" = set; then
8927 enableval="$enable_busyinfo"
8928
8929 if test "$enableval" = yes; then
8930 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8931 else
8932 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8933 fi
8934
8935 else
8936
8937 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8940 else
8941 no_cache=1
8942 fi
8943
8944 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8945
8946 fi;
8947
8948 eval "$ac_cv_use_busyinfo"
8949 if test "$no_cache" != 1; then
8950 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8951 fi
8952
8953 if test "$wxUSE_BUSYINFO" = yes; then
8954 echo "$as_me:$LINENO: result: yes" >&5
8955 echo "${ECHO_T}yes" >&6
8956 else
8957 echo "$as_me:$LINENO: result: no" >&5
8958 echo "${ECHO_T}no" >&6
8959 fi
8960
8961
8962 enablestring=
8963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8964 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8965 no_cache=0
8966 # Check whether --enable-joystick or --disable-joystick was given.
8967 if test "${enable_joystick+set}" = set; then
8968 enableval="$enable_joystick"
8969
8970 if test "$enableval" = yes; then
8971 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8972 else
8973 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8974 fi
8975
8976 else
8977
8978 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8979 if test "x$LINE" != x ; then
8980 eval "DEFAULT_$LINE"
8981 else
8982 no_cache=1
8983 fi
8984
8985 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8986
8987 fi;
8988
8989 eval "$ac_cv_use_joystick"
8990 if test "$no_cache" != 1; then
8991 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8992 fi
8993
8994 if test "$wxUSE_JOYSTICK" = yes; then
8995 echo "$as_me:$LINENO: result: yes" >&5
8996 echo "${ECHO_T}yes" >&6
8997 else
8998 echo "$as_me:$LINENO: result: no" >&5
8999 echo "${ECHO_T}no" >&6
9000 fi
9001
9002
9003 enablestring=
9004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9006 no_cache=0
9007 # Check whether --enable-metafile or --disable-metafile was given.
9008 if test "${enable_metafile+set}" = set; then
9009 enableval="$enable_metafile"
9010
9011 if test "$enableval" = yes; then
9012 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9013 else
9014 ac_cv_use_metafile='wxUSE_METAFILE=no'
9015 fi
9016
9017 else
9018
9019 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9020 if test "x$LINE" != x ; then
9021 eval "DEFAULT_$LINE"
9022 else
9023 no_cache=1
9024 fi
9025
9026 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9027
9028 fi;
9029
9030 eval "$ac_cv_use_metafile"
9031 if test "$no_cache" != 1; then
9032 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9033 fi
9034
9035 if test "$wxUSE_METAFILE" = yes; then
9036 echo "$as_me:$LINENO: result: yes" >&5
9037 echo "${ECHO_T}yes" >&6
9038 else
9039 echo "$as_me:$LINENO: result: no" >&5
9040 echo "${ECHO_T}no" >&6
9041 fi
9042
9043
9044 enablestring=
9045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9046 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9047 no_cache=0
9048 # Check whether --enable-dragimage or --disable-dragimage was given.
9049 if test "${enable_dragimage+set}" = set; then
9050 enableval="$enable_dragimage"
9051
9052 if test "$enableval" = yes; then
9053 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9054 else
9055 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9056 fi
9057
9058 else
9059
9060 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x ; then
9062 eval "DEFAULT_$LINE"
9063 else
9064 no_cache=1
9065 fi
9066
9067 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9068
9069 fi;
9070
9071 eval "$ac_cv_use_dragimage"
9072 if test "$no_cache" != 1; then
9073 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9074 fi
9075
9076 if test "$wxUSE_DRAGIMAGE" = yes; then
9077 echo "$as_me:$LINENO: result: yes" >&5
9078 echo "${ECHO_T}yes" >&6
9079 else
9080 echo "$as_me:$LINENO: result: no" >&5
9081 echo "${ECHO_T}no" >&6
9082 fi
9083
9084
9085 enablestring=
9086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9087 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9088 no_cache=0
9089 # Check whether --enable-accessibility or --disable-accessibility was given.
9090 if test "${enable_accessibility+set}" = set; then
9091 enableval="$enable_accessibility"
9092
9093 if test "$enableval" = yes; then
9094 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9095 else
9096 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9097 fi
9098
9099 else
9100
9101 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x ; then
9103 eval "DEFAULT_$LINE"
9104 else
9105 no_cache=1
9106 fi
9107
9108 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9109
9110 fi;
9111
9112 eval "$ac_cv_use_accessibility"
9113 if test "$no_cache" != 1; then
9114 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9115 fi
9116
9117 if test "$wxUSE_ACCESSIBILITY" = yes; then
9118 echo "$as_me:$LINENO: result: yes" >&5
9119 echo "${ECHO_T}yes" >&6
9120 else
9121 echo "$as_me:$LINENO: result: no" >&5
9122 echo "${ECHO_T}no" >&6
9123 fi
9124
9125
9126
9127
9128 enablestring=
9129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9130 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9131 no_cache=0
9132 # Check whether --enable-palette or --disable-palette was given.
9133 if test "${enable_palette+set}" = set; then
9134 enableval="$enable_palette"
9135
9136 if test "$enableval" = yes; then
9137 ac_cv_use_palette='wxUSE_PALETTE=yes'
9138 else
9139 ac_cv_use_palette='wxUSE_PALETTE=no'
9140 fi
9141
9142 else
9143
9144 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9145 if test "x$LINE" != x ; then
9146 eval "DEFAULT_$LINE"
9147 else
9148 no_cache=1
9149 fi
9150
9151 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9152
9153 fi;
9154
9155 eval "$ac_cv_use_palette"
9156 if test "$no_cache" != 1; then
9157 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9158 fi
9159
9160 if test "$wxUSE_PALETTE" = yes; then
9161 echo "$as_me:$LINENO: result: yes" >&5
9162 echo "${ECHO_T}yes" >&6
9163 else
9164 echo "$as_me:$LINENO: result: no" >&5
9165 echo "${ECHO_T}no" >&6
9166 fi
9167
9168
9169 enablestring=
9170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9171 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9172 no_cache=0
9173 # Check whether --enable-image or --disable-image was given.
9174 if test "${enable_image+set}" = set; then
9175 enableval="$enable_image"
9176
9177 if test "$enableval" = yes; then
9178 ac_cv_use_image='wxUSE_IMAGE=yes'
9179 else
9180 ac_cv_use_image='wxUSE_IMAGE=no'
9181 fi
9182
9183 else
9184
9185 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9186 if test "x$LINE" != x ; then
9187 eval "DEFAULT_$LINE"
9188 else
9189 no_cache=1
9190 fi
9191
9192 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9193
9194 fi;
9195
9196 eval "$ac_cv_use_image"
9197 if test "$no_cache" != 1; then
9198 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9199 fi
9200
9201 if test "$wxUSE_IMAGE" = yes; then
9202 echo "$as_me:$LINENO: result: yes" >&5
9203 echo "${ECHO_T}yes" >&6
9204 else
9205 echo "$as_me:$LINENO: result: no" >&5
9206 echo "${ECHO_T}no" >&6
9207 fi
9208
9209
9210 enablestring=
9211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9212 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9213 no_cache=0
9214 # Check whether --enable-gif or --disable-gif was given.
9215 if test "${enable_gif+set}" = set; then
9216 enableval="$enable_gif"
9217
9218 if test "$enableval" = yes; then
9219 ac_cv_use_gif='wxUSE_GIF=yes'
9220 else
9221 ac_cv_use_gif='wxUSE_GIF=no'
9222 fi
9223
9224 else
9225
9226 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9227 if test "x$LINE" != x ; then
9228 eval "DEFAULT_$LINE"
9229 else
9230 no_cache=1
9231 fi
9232
9233 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9234
9235 fi;
9236
9237 eval "$ac_cv_use_gif"
9238 if test "$no_cache" != 1; then
9239 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9240 fi
9241
9242 if test "$wxUSE_GIF" = yes; then
9243 echo "$as_me:$LINENO: result: yes" >&5
9244 echo "${ECHO_T}yes" >&6
9245 else
9246 echo "$as_me:$LINENO: result: no" >&5
9247 echo "${ECHO_T}no" >&6
9248 fi
9249
9250
9251 enablestring=
9252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9254 no_cache=0
9255 # Check whether --enable-pcx or --disable-pcx was given.
9256 if test "${enable_pcx+set}" = set; then
9257 enableval="$enable_pcx"
9258
9259 if test "$enableval" = yes; then
9260 ac_cv_use_pcx='wxUSE_PCX=yes'
9261 else
9262 ac_cv_use_pcx='wxUSE_PCX=no'
9263 fi
9264
9265 else
9266
9267 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9268 if test "x$LINE" != x ; then
9269 eval "DEFAULT_$LINE"
9270 else
9271 no_cache=1
9272 fi
9273
9274 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9275
9276 fi;
9277
9278 eval "$ac_cv_use_pcx"
9279 if test "$no_cache" != 1; then
9280 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9281 fi
9282
9283 if test "$wxUSE_PCX" = yes; then
9284 echo "$as_me:$LINENO: result: yes" >&5
9285 echo "${ECHO_T}yes" >&6
9286 else
9287 echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6
9289 fi
9290
9291
9292 enablestring=
9293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9295 no_cache=0
9296 # Check whether --enable-iff or --disable-iff was given.
9297 if test "${enable_iff+set}" = set; then
9298 enableval="$enable_iff"
9299
9300 if test "$enableval" = yes; then
9301 ac_cv_use_iff='wxUSE_IFF=yes'
9302 else
9303 ac_cv_use_iff='wxUSE_IFF=no'
9304 fi
9305
9306 else
9307
9308 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9309 if test "x$LINE" != x ; then
9310 eval "DEFAULT_$LINE"
9311 else
9312 no_cache=1
9313 fi
9314
9315 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9316
9317 fi;
9318
9319 eval "$ac_cv_use_iff"
9320 if test "$no_cache" != 1; then
9321 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9322 fi
9323
9324 if test "$wxUSE_IFF" = yes; then
9325 echo "$as_me:$LINENO: result: yes" >&5
9326 echo "${ECHO_T}yes" >&6
9327 else
9328 echo "$as_me:$LINENO: result: no" >&5
9329 echo "${ECHO_T}no" >&6
9330 fi
9331
9332
9333 enablestring=
9334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9336 no_cache=0
9337 # Check whether --enable-pnm or --disable-pnm was given.
9338 if test "${enable_pnm+set}" = set; then
9339 enableval="$enable_pnm"
9340
9341 if test "$enableval" = yes; then
9342 ac_cv_use_pnm='wxUSE_PNM=yes'
9343 else
9344 ac_cv_use_pnm='wxUSE_PNM=no'
9345 fi
9346
9347 else
9348
9349 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9350 if test "x$LINE" != x ; then
9351 eval "DEFAULT_$LINE"
9352 else
9353 no_cache=1
9354 fi
9355
9356 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9357
9358 fi;
9359
9360 eval "$ac_cv_use_pnm"
9361 if test "$no_cache" != 1; then
9362 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9363 fi
9364
9365 if test "$wxUSE_PNM" = yes; then
9366 echo "$as_me:$LINENO: result: yes" >&5
9367 echo "${ECHO_T}yes" >&6
9368 else
9369 echo "$as_me:$LINENO: result: no" >&5
9370 echo "${ECHO_T}no" >&6
9371 fi
9372
9373
9374 enablestring=
9375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9377 no_cache=0
9378 # Check whether --enable-xpm or --disable-xpm was given.
9379 if test "${enable_xpm+set}" = set; then
9380 enableval="$enable_xpm"
9381
9382 if test "$enableval" = yes; then
9383 ac_cv_use_xpm='wxUSE_XPM=yes'
9384 else
9385 ac_cv_use_xpm='wxUSE_XPM=no'
9386 fi
9387
9388 else
9389
9390 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9391 if test "x$LINE" != x ; then
9392 eval "DEFAULT_$LINE"
9393 else
9394 no_cache=1
9395 fi
9396
9397 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9398
9399 fi;
9400
9401 eval "$ac_cv_use_xpm"
9402 if test "$no_cache" != 1; then
9403 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9404 fi
9405
9406 if test "$wxUSE_XPM" = yes; then
9407 echo "$as_me:$LINENO: result: yes" >&5
9408 echo "${ECHO_T}yes" >&6
9409 else
9410 echo "$as_me:$LINENO: result: no" >&5
9411 echo "${ECHO_T}no" >&6
9412 fi
9413
9414
9415 enablestring=
9416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9418 no_cache=0
9419 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9420 if test "${enable_ico_cur+set}" = set; then
9421 enableval="$enable_ico_cur"
9422
9423 if test "$enableval" = yes; then
9424 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9425 else
9426 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9427 fi
9428
9429 else
9430
9431 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9432 if test "x$LINE" != x ; then
9433 eval "DEFAULT_$LINE"
9434 else
9435 no_cache=1
9436 fi
9437
9438 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9439
9440 fi;
9441
9442 eval "$ac_cv_use_ico_cur"
9443 if test "$no_cache" != 1; then
9444 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9445 fi
9446
9447 if test "$wxUSE_ICO_CUR" = yes; then
9448 echo "$as_me:$LINENO: result: yes" >&5
9449 echo "${ECHO_T}yes" >&6
9450 else
9451 echo "$as_me:$LINENO: result: no" >&5
9452 echo "${ECHO_T}no" >&6
9453 fi
9454
9455
9456 fi
9457
9458
9459
9460 enablestring=
9461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9462 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9463 no_cache=0
9464 # Check whether --enable-official_build or --disable-official_build was given.
9465 if test "${enable_official_build+set}" = set; then
9466 enableval="$enable_official_build"
9467
9468 if test "$enableval" = yes; then
9469 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9470 else
9471 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9472 fi
9473
9474 else
9475
9476 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9477 if test "x$LINE" != x ; then
9478 eval "DEFAULT_$LINE"
9479 else
9480 no_cache=1
9481 fi
9482
9483 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9484
9485 fi;
9486
9487 eval "$ac_cv_use_official_build"
9488 if test "$no_cache" != 1; then
9489 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9490 fi
9491
9492 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9493 echo "$as_me:$LINENO: result: yes" >&5
9494 echo "${ECHO_T}yes" >&6
9495 else
9496 echo "$as_me:$LINENO: result: no" >&5
9497 echo "${ECHO_T}no" >&6
9498 fi
9499
9500 # Check whether --enable-vendor or --disable-vendor was given.
9501 if test "${enable_vendor+set}" = set; then
9502 enableval="$enable_vendor"
9503 VENDOR="$enableval"
9504 fi;
9505 if test "x$VENDOR" = "x"; then
9506 VENDOR="custom"
9507 fi
9508
9509 case "${host}" in
9510 *-pc-os2_emx | *-pc-os2-emx )
9511 PATH_IFS=';'
9512 LEX_STEM="lexyy"
9513 ;;
9514 *)
9515 PATH_IFS=':'
9516 LEX_STEM="lex.yy"
9517 ;;
9518 esac
9519
9520
9521
9522 echo "saving argument cache $wx_arg_cache_file"
9523 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9524
9525
9526
9527 echo "$as_me:$LINENO: checking for toolkit" >&5
9528 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9529
9530 # In Wine, we need to default to MSW, not GTK or MOTIF
9531 if test "$wxUSE_WINE" = "yes"; then
9532 DEFAULT_DEFAULT_wxUSE_GTK=0
9533 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9534 DEFAULT_DEFAULT_wxUSE_MSW=1
9535 fi
9536
9537 if test "$wxUSE_GUI" = "yes"; then
9538
9539 if test "$USE_BEOS" = 1; then
9540 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9541 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9542 { (exit 1); exit 1; }; }
9543 fi
9544
9545 if test "$TOOLKIT_GIVEN" = 1; then
9546 for toolkit in `echo $ALL_TOOLKITS`; do
9547 var=wxUSE_$toolkit
9548 eval "value=\$${var}"
9549 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9550 done
9551 else
9552 for toolkit in `echo $ALL_TOOLKITS`; do
9553 if test "$has_toolkit_in_cache" != 1; then
9554 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9555 else
9556 var=DEFAULT_wxUSE_$toolkit
9557 fi
9558 eval "wxUSE_$toolkit=\$${var}"
9559 done
9560 fi
9561
9562 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9563 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9564 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9565
9566 case "${host}" in
9567 *-pc-os2_emx | *-pc-os2-emx )
9568 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9569 esac
9570
9571 case "$NUM_TOOLKITS" in
9572 1)
9573 ;;
9574 0)
9575 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9576 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9577 { (exit 1); exit 1; }; }
9578 ;;
9579 *)
9580 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9581 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9582 { (exit 1); exit 1; }; }
9583 esac
9584
9585 for toolkit in `echo $ALL_TOOLKITS`; do
9586 var=wxUSE_$toolkit
9587 eval "value=\$${var}"
9588 if test "x$value" != x; then
9589 cache_var=CACHE_$toolkit
9590 eval "cache=\$${cache_var}"
9591 if test "$cache" = 1; then
9592 echo "$var=$value" >> ${wx_arg_cache_file}
9593 fi
9594 if test "$value" = 1; then
9595 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9596 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9597 echo "${ECHO_T}$toolkit_echo" >&6
9598 fi
9599 fi
9600 done
9601 else
9602 if test "x$host_alias" != "x"; then
9603 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9604 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9605 else
9606 echo "$as_me:$LINENO: result: base only" >&5
9607 echo "${ECHO_T}base only" >&6
9608 fi
9609 fi
9610
9611 wants_win32=0
9612 doesnt_want_win32=0
9613 case "${host}" in
9614 *-*-cygwin*)
9615 if test "$wxUSE_MSW" = 1 ; then
9616 wants_win32=1
9617 else
9618 doesnt_want_win32=1
9619 fi
9620 ;;
9621 *-*-mingw*)
9622 wants_win32=1
9623 ;;
9624 esac
9625
9626 if test "$wxUSE_WINE" = "yes"; then
9627 wants_win32=1
9628 CC=winegcc
9629 CXX=wineg++
9630 RESCOMP=wrc
9631 fi
9632
9633 if test "$wants_win32" = 1 ; then
9634 USE_UNIX=0
9635 USE_WIN32=1
9636 cat >>confdefs.h <<\_ACEOF
9637 #define __WIN32__ 1
9638 _ACEOF
9639
9640 cat >>confdefs.h <<\_ACEOF
9641 #define __WIN95__ 1
9642 _ACEOF
9643
9644 cat >>confdefs.h <<\_ACEOF
9645 #define __WINDOWS__ 1
9646 _ACEOF
9647
9648 cat >>confdefs.h <<\_ACEOF
9649 #define __GNUWIN32__ 1
9650 _ACEOF
9651
9652 cat >>confdefs.h <<\_ACEOF
9653 #define STRICT 1
9654 _ACEOF
9655
9656 cat >>confdefs.h <<\_ACEOF
9657 #define WINVER 0x0400
9658 _ACEOF
9659
9660 fi
9661 if test "$doesnt_want_win32" = 1 ; then
9662 USE_UNIX=1
9663 USE_WIN32=0
9664 fi
9665
9666 if test "$USE_UNIX" = 1 ; then
9667 wxUSE_UNIX=yes
9668 cat >>confdefs.h <<\_ACEOF
9669 #define __UNIX__ 1
9670 _ACEOF
9671
9672 fi
9673
9674
9675 cat >confcache <<\_ACEOF
9676 # This file is a shell script that caches the results of configure
9677 # tests run on this system so they can be shared between configure
9678 # scripts and configure runs, see configure's option --config-cache.
9679 # It is not useful on other systems. If it contains results you don't
9680 # want to keep, you may remove or edit it.
9681 #
9682 # config.status only pays attention to the cache file if you give it
9683 # the --recheck option to rerun configure.
9684 #
9685 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9686 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9687 # following values.
9688
9689 _ACEOF
9690
9691 # The following way of writing the cache mishandles newlines in values,
9692 # but we know of no workaround that is simple, portable, and efficient.
9693 # So, don't put newlines in cache variables' values.
9694 # Ultrix sh set writes to stderr and can't be redirected directly,
9695 # and sets the high bit in the cache file unless we assign to the vars.
9696 {
9697 (set) 2>&1 |
9698 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9699 *ac_space=\ *)
9700 # `set' does not quote correctly, so add quotes (double-quote
9701 # substitution turns \\\\ into \\, and sed turns \\ into \).
9702 sed -n \
9703 "s/'/'\\\\''/g;
9704 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9705 ;;
9706 *)
9707 # `set' quotes correctly as required by POSIX, so do not add quotes.
9708 sed -n \
9709 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9710 ;;
9711 esac;
9712 } |
9713 sed '
9714 t clear
9715 : clear
9716 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9717 t end
9718 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9719 : end' >>confcache
9720 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9721 if test -w $cache_file; then
9722 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9723 cat confcache >$cache_file
9724 else
9725 echo "not updating unwritable cache $cache_file"
9726 fi
9727 fi
9728 rm -f confcache
9729
9730 if test "$build" != "$host" ; then
9731 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9732 CC=$host_alias-gcc
9733 CXX=$host_alias-c++
9734 AR=$host_alias-ar
9735 RANLIB=$host_alias-ranlib
9736 DLLTOOL=$host_alias-dlltool
9737 RESCOMP=$host_alias-windres
9738 LD=$host_alias-ld
9739 NM=$host_alias-nm
9740 STRIP=$host_alias-strip
9741 else
9742 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9743 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9744 { (exit 1); exit 1; }; }
9745 fi
9746 fi
9747
9748 CFLAGS=${CFLAGS:=}
9749 ac_ext=c
9750 ac_cpp='$CPP $CPPFLAGS'
9751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9754 if test -n "$ac_tool_prefix"; then
9755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9756 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9757 echo "$as_me:$LINENO: checking for $ac_word" >&5
9758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9759 if test "${ac_cv_prog_CC+set}" = set; then
9760 echo $ECHO_N "(cached) $ECHO_C" >&6
9761 else
9762 if test -n "$CC"; then
9763 ac_cv_prog_CC="$CC" # Let the user override the test.
9764 else
9765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9766 for as_dir in $PATH
9767 do
9768 IFS=$as_save_IFS
9769 test -z "$as_dir" && as_dir=.
9770 for ac_exec_ext in '' $ac_executable_extensions; do
9771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9772 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9774 break 2
9775 fi
9776 done
9777 done
9778
9779 fi
9780 fi
9781 CC=$ac_cv_prog_CC
9782 if test -n "$CC"; then
9783 echo "$as_me:$LINENO: result: $CC" >&5
9784 echo "${ECHO_T}$CC" >&6
9785 else
9786 echo "$as_me:$LINENO: result: no" >&5
9787 echo "${ECHO_T}no" >&6
9788 fi
9789
9790 fi
9791 if test -z "$ac_cv_prog_CC"; then
9792 ac_ct_CC=$CC
9793 # Extract the first word of "gcc", so it can be a program name with args.
9794 set dummy gcc; ac_word=$2
9795 echo "$as_me:$LINENO: checking for $ac_word" >&5
9796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9798 echo $ECHO_N "(cached) $ECHO_C" >&6
9799 else
9800 if test -n "$ac_ct_CC"; then
9801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9802 else
9803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9804 for as_dir in $PATH
9805 do
9806 IFS=$as_save_IFS
9807 test -z "$as_dir" && as_dir=.
9808 for ac_exec_ext in '' $ac_executable_extensions; do
9809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9810 ac_cv_prog_ac_ct_CC="gcc"
9811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9812 break 2
9813 fi
9814 done
9815 done
9816
9817 fi
9818 fi
9819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9820 if test -n "$ac_ct_CC"; then
9821 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9822 echo "${ECHO_T}$ac_ct_CC" >&6
9823 else
9824 echo "$as_me:$LINENO: result: no" >&5
9825 echo "${ECHO_T}no" >&6
9826 fi
9827
9828 CC=$ac_ct_CC
9829 else
9830 CC="$ac_cv_prog_CC"
9831 fi
9832
9833 if test -z "$CC"; then
9834 if test -n "$ac_tool_prefix"; then
9835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9836 set dummy ${ac_tool_prefix}cc; ac_word=$2
9837 echo "$as_me:$LINENO: checking for $ac_word" >&5
9838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9839 if test "${ac_cv_prog_CC+set}" = set; then
9840 echo $ECHO_N "(cached) $ECHO_C" >&6
9841 else
9842 if test -n "$CC"; then
9843 ac_cv_prog_CC="$CC" # Let the user override the test.
9844 else
9845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9846 for as_dir in $PATH
9847 do
9848 IFS=$as_save_IFS
9849 test -z "$as_dir" && as_dir=.
9850 for ac_exec_ext in '' $ac_executable_extensions; do
9851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9852 ac_cv_prog_CC="${ac_tool_prefix}cc"
9853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9854 break 2
9855 fi
9856 done
9857 done
9858
9859 fi
9860 fi
9861 CC=$ac_cv_prog_CC
9862 if test -n "$CC"; then
9863 echo "$as_me:$LINENO: result: $CC" >&5
9864 echo "${ECHO_T}$CC" >&6
9865 else
9866 echo "$as_me:$LINENO: result: no" >&5
9867 echo "${ECHO_T}no" >&6
9868 fi
9869
9870 fi
9871 if test -z "$ac_cv_prog_CC"; then
9872 ac_ct_CC=$CC
9873 # Extract the first word of "cc", so it can be a program name with args.
9874 set dummy cc; ac_word=$2
9875 echo "$as_me:$LINENO: checking for $ac_word" >&5
9876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9878 echo $ECHO_N "(cached) $ECHO_C" >&6
9879 else
9880 if test -n "$ac_ct_CC"; then
9881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9882 else
9883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9884 for as_dir in $PATH
9885 do
9886 IFS=$as_save_IFS
9887 test -z "$as_dir" && as_dir=.
9888 for ac_exec_ext in '' $ac_executable_extensions; do
9889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9890 ac_cv_prog_ac_ct_CC="cc"
9891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9892 break 2
9893 fi
9894 done
9895 done
9896
9897 fi
9898 fi
9899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9900 if test -n "$ac_ct_CC"; then
9901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9902 echo "${ECHO_T}$ac_ct_CC" >&6
9903 else
9904 echo "$as_me:$LINENO: result: no" >&5
9905 echo "${ECHO_T}no" >&6
9906 fi
9907
9908 CC=$ac_ct_CC
9909 else
9910 CC="$ac_cv_prog_CC"
9911 fi
9912
9913 fi
9914 if test -z "$CC"; then
9915 # Extract the first word of "cc", so it can be a program name with args.
9916 set dummy cc; ac_word=$2
9917 echo "$as_me:$LINENO: checking for $ac_word" >&5
9918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9919 if test "${ac_cv_prog_CC+set}" = set; then
9920 echo $ECHO_N "(cached) $ECHO_C" >&6
9921 else
9922 if test -n "$CC"; then
9923 ac_cv_prog_CC="$CC" # Let the user override the test.
9924 else
9925 ac_prog_rejected=no
9926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9927 for as_dir in $PATH
9928 do
9929 IFS=$as_save_IFS
9930 test -z "$as_dir" && as_dir=.
9931 for ac_exec_ext in '' $ac_executable_extensions; do
9932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9934 ac_prog_rejected=yes
9935 continue
9936 fi
9937 ac_cv_prog_CC="cc"
9938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9939 break 2
9940 fi
9941 done
9942 done
9943
9944 if test $ac_prog_rejected = yes; then
9945 # We found a bogon in the path, so make sure we never use it.
9946 set dummy $ac_cv_prog_CC
9947 shift
9948 if test $# != 0; then
9949 # We chose a different compiler from the bogus one.
9950 # However, it has the same basename, so the bogon will be chosen
9951 # first if we set CC to just the basename; use the full file name.
9952 shift
9953 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9954 fi
9955 fi
9956 fi
9957 fi
9958 CC=$ac_cv_prog_CC
9959 if test -n "$CC"; then
9960 echo "$as_me:$LINENO: result: $CC" >&5
9961 echo "${ECHO_T}$CC" >&6
9962 else
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9965 fi
9966
9967 fi
9968 if test -z "$CC"; then
9969 if test -n "$ac_tool_prefix"; then
9970 for ac_prog in cl
9971 do
9972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9974 echo "$as_me:$LINENO: checking for $ac_word" >&5
9975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9976 if test "${ac_cv_prog_CC+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9978 else
9979 if test -n "$CC"; then
9980 ac_cv_prog_CC="$CC" # Let the user override the test.
9981 else
9982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9983 for as_dir in $PATH
9984 do
9985 IFS=$as_save_IFS
9986 test -z "$as_dir" && as_dir=.
9987 for ac_exec_ext in '' $ac_executable_extensions; do
9988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9989 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9991 break 2
9992 fi
9993 done
9994 done
9995
9996 fi
9997 fi
9998 CC=$ac_cv_prog_CC
9999 if test -n "$CC"; then
10000 echo "$as_me:$LINENO: result: $CC" >&5
10001 echo "${ECHO_T}$CC" >&6
10002 else
10003 echo "$as_me:$LINENO: result: no" >&5
10004 echo "${ECHO_T}no" >&6
10005 fi
10006
10007 test -n "$CC" && break
10008 done
10009 fi
10010 if test -z "$CC"; then
10011 ac_ct_CC=$CC
10012 for ac_prog in cl
10013 do
10014 # Extract the first word of "$ac_prog", so it can be a program name with args.
10015 set dummy $ac_prog; ac_word=$2
10016 echo "$as_me:$LINENO: checking for $ac_word" >&5
10017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10019 echo $ECHO_N "(cached) $ECHO_C" >&6
10020 else
10021 if test -n "$ac_ct_CC"; then
10022 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10023 else
10024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10025 for as_dir in $PATH
10026 do
10027 IFS=$as_save_IFS
10028 test -z "$as_dir" && as_dir=.
10029 for ac_exec_ext in '' $ac_executable_extensions; do
10030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10031 ac_cv_prog_ac_ct_CC="$ac_prog"
10032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10033 break 2
10034 fi
10035 done
10036 done
10037
10038 fi
10039 fi
10040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10041 if test -n "$ac_ct_CC"; then
10042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10043 echo "${ECHO_T}$ac_ct_CC" >&6
10044 else
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10047 fi
10048
10049 test -n "$ac_ct_CC" && break
10050 done
10051
10052 CC=$ac_ct_CC
10053 fi
10054
10055 fi
10056
10057
10058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10059 See \`config.log' for more details." >&5
10060 echo "$as_me: error: no acceptable C compiler found in \$PATH
10061 See \`config.log' for more details." >&2;}
10062 { (exit 1); exit 1; }; }
10063
10064 # Provide some information about the compiler.
10065 echo "$as_me:$LINENO:" \
10066 "checking for C compiler version" >&5
10067 ac_compiler=`set X $ac_compile; echo $2`
10068 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10069 (eval $ac_compiler --version </dev/null >&5) 2>&5
10070 ac_status=$?
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }
10073 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10074 (eval $ac_compiler -v </dev/null >&5) 2>&5
10075 ac_status=$?
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); }
10078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10079 (eval $ac_compiler -V </dev/null >&5) 2>&5
10080 ac_status=$?
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); }
10083
10084 cat >conftest.$ac_ext <<_ACEOF
10085 #line $LINENO "configure"
10086 /* confdefs.h. */
10087 _ACEOF
10088 cat confdefs.h >>conftest.$ac_ext
10089 cat >>conftest.$ac_ext <<_ACEOF
10090 /* end confdefs.h. */
10091
10092 int
10093 main ()
10094 {
10095
10096 ;
10097 return 0;
10098 }
10099 _ACEOF
10100 ac_clean_files_save=$ac_clean_files
10101 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10102 # Try to create an executable without -o first, disregard a.out.
10103 # It will help us diagnose broken compilers, and finding out an intuition
10104 # of exeext.
10105 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10106 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10107 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10109 (eval $ac_link_default) 2>&5
10110 ac_status=$?
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; then
10113 # Find the output, starting from the most likely. This scheme is
10114 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10115 # resort.
10116
10117 # Be careful to initialize this variable, since it used to be cached.
10118 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10119 ac_cv_exeext=
10120 # b.out is created by i960 compilers.
10121 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10122 do
10123 test -f "$ac_file" || continue
10124 case $ac_file in
10125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10126 ;;
10127 conftest.$ac_ext )
10128 # This is the source file.
10129 ;;
10130 [ab].out )
10131 # We found the default executable, but exeext='' is most
10132 # certainly right.
10133 break;;
10134 *.* )
10135 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10136 # FIXME: I believe we export ac_cv_exeext for Libtool,
10137 # but it would be cool to find out if it's true. Does anybody
10138 # maintain Libtool? --akim.
10139 export ac_cv_exeext
10140 break;;
10141 * )
10142 break;;
10143 esac
10144 done
10145 else
10146 echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.$ac_ext >&5
10148
10149 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10150 See \`config.log' for more details." >&5
10151 echo "$as_me: error: C compiler cannot create executables
10152 See \`config.log' for more details." >&2;}
10153 { (exit 77); exit 77; }; }
10154 fi
10155
10156 ac_exeext=$ac_cv_exeext
10157 echo "$as_me:$LINENO: result: $ac_file" >&5
10158 echo "${ECHO_T}$ac_file" >&6
10159
10160 # Check the compiler produces executables we can run. If not, either
10161 # the compiler is broken, or we cross compile.
10162 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10163 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10164 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10165 # If not cross compiling, check that we can run a simple program.
10166 if test "$cross_compiling" != yes; then
10167 if { ac_try='./$ac_file'
10168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10169 (eval $ac_try) 2>&5
10170 ac_status=$?
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); }; }; then
10173 cross_compiling=no
10174 else
10175 if test "$cross_compiling" = maybe; then
10176 cross_compiling=yes
10177 else
10178 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10179 If you meant to cross compile, use \`--host'.
10180 See \`config.log' for more details." >&5
10181 echo "$as_me: error: cannot run C compiled programs.
10182 If you meant to cross compile, use \`--host'.
10183 See \`config.log' for more details." >&2;}
10184 { (exit 1); exit 1; }; }
10185 fi
10186 fi
10187 fi
10188 echo "$as_me:$LINENO: result: yes" >&5
10189 echo "${ECHO_T}yes" >&6
10190
10191 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10192 ac_clean_files=$ac_clean_files_save
10193 # Check the compiler produces executables we can run. If not, either
10194 # the compiler is broken, or we cross compile.
10195 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10196 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10197 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10198 echo "${ECHO_T}$cross_compiling" >&6
10199
10200 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10201 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10203 (eval $ac_link) 2>&5
10204 ac_status=$?
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); }; then
10207 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10208 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10209 # work properly (i.e., refer to `conftest.exe'), while it won't with
10210 # `rm'.
10211 for ac_file in conftest.exe conftest conftest.*; do
10212 test -f "$ac_file" || continue
10213 case $ac_file in
10214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10215 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10216 export ac_cv_exeext
10217 break;;
10218 * ) break;;
10219 esac
10220 done
10221 else
10222 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10223 See \`config.log' for more details." >&5
10224 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10225 See \`config.log' for more details." >&2;}
10226 { (exit 1); exit 1; }; }
10227 fi
10228
10229 rm -f conftest$ac_cv_exeext
10230 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10231 echo "${ECHO_T}$ac_cv_exeext" >&6
10232
10233 rm -f conftest.$ac_ext
10234 EXEEXT=$ac_cv_exeext
10235 ac_exeext=$EXEEXT
10236 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10237 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10238 if test "${ac_cv_objext+set}" = set; then
10239 echo $ECHO_N "(cached) $ECHO_C" >&6
10240 else
10241 cat >conftest.$ac_ext <<_ACEOF
10242 #line $LINENO "configure"
10243 /* confdefs.h. */
10244 _ACEOF
10245 cat confdefs.h >>conftest.$ac_ext
10246 cat >>conftest.$ac_ext <<_ACEOF
10247 /* end confdefs.h. */
10248
10249 int
10250 main ()
10251 {
10252
10253 ;
10254 return 0;
10255 }
10256 _ACEOF
10257 rm -f conftest.o conftest.obj
10258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10259 (eval $ac_compile) 2>&5
10260 ac_status=$?
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; then
10263 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10264 case $ac_file in
10265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10266 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10267 break;;
10268 esac
10269 done
10270 else
10271 echo "$as_me: failed program was:" >&5
10272 sed 's/^/| /' conftest.$ac_ext >&5
10273
10274 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10275 See \`config.log' for more details." >&5
10276 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10277 See \`config.log' for more details." >&2;}
10278 { (exit 1); exit 1; }; }
10279 fi
10280
10281 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10282 fi
10283 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10284 echo "${ECHO_T}$ac_cv_objext" >&6
10285 OBJEXT=$ac_cv_objext
10286 ac_objext=$OBJEXT
10287 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10288 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10289 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10290 echo $ECHO_N "(cached) $ECHO_C" >&6
10291 else
10292 cat >conftest.$ac_ext <<_ACEOF
10293 #line $LINENO "configure"
10294 /* confdefs.h. */
10295 _ACEOF
10296 cat confdefs.h >>conftest.$ac_ext
10297 cat >>conftest.$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10299
10300 int
10301 main ()
10302 {
10303 #ifndef __GNUC__
10304 choke me
10305 #endif
10306
10307 ;
10308 return 0;
10309 }
10310 _ACEOF
10311 rm -f conftest.$ac_objext
10312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10313 (eval $ac_compile) 2>&5
10314 ac_status=$?
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } &&
10317 { ac_try='test -s conftest.$ac_objext'
10318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10319 (eval $ac_try) 2>&5
10320 ac_status=$?
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); }; }; then
10323 ac_compiler_gnu=yes
10324 else
10325 echo "$as_me: failed program was:" >&5
10326 sed 's/^/| /' conftest.$ac_ext >&5
10327
10328 ac_compiler_gnu=no
10329 fi
10330 rm -f conftest.$ac_objext conftest.$ac_ext
10331 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10332
10333 fi
10334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10336 GCC=`test $ac_compiler_gnu = yes && echo yes`
10337 ac_test_CFLAGS=${CFLAGS+set}
10338 ac_save_CFLAGS=$CFLAGS
10339 CFLAGS="-g"
10340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10342 if test "${ac_cv_prog_cc_g+set}" = set; then
10343 echo $ECHO_N "(cached) $ECHO_C" >&6
10344 else
10345 cat >conftest.$ac_ext <<_ACEOF
10346 #line $LINENO "configure"
10347 /* confdefs.h. */
10348 _ACEOF
10349 cat confdefs.h >>conftest.$ac_ext
10350 cat >>conftest.$ac_ext <<_ACEOF
10351 /* end confdefs.h. */
10352
10353 int
10354 main ()
10355 {
10356
10357 ;
10358 return 0;
10359 }
10360 _ACEOF
10361 rm -f conftest.$ac_objext
10362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10363 (eval $ac_compile) 2>&5
10364 ac_status=$?
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); } &&
10367 { ac_try='test -s conftest.$ac_objext'
10368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10369 (eval $ac_try) 2>&5
10370 ac_status=$?
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); }; }; then
10373 ac_cv_prog_cc_g=yes
10374 else
10375 echo "$as_me: failed program was:" >&5
10376 sed 's/^/| /' conftest.$ac_ext >&5
10377
10378 ac_cv_prog_cc_g=no
10379 fi
10380 rm -f conftest.$ac_objext conftest.$ac_ext
10381 fi
10382 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10383 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10384 if test "$ac_test_CFLAGS" = set; then
10385 CFLAGS=$ac_save_CFLAGS
10386 elif test $ac_cv_prog_cc_g = yes; then
10387 if test "$GCC" = yes; then
10388 CFLAGS="-g -O2"
10389 else
10390 CFLAGS="-g"
10391 fi
10392 else
10393 if test "$GCC" = yes; then
10394 CFLAGS="-O2"
10395 else
10396 CFLAGS=
10397 fi
10398 fi
10399 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10400 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10401 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10402 echo $ECHO_N "(cached) $ECHO_C" >&6
10403 else
10404 ac_cv_prog_cc_stdc=no
10405 ac_save_CC=$CC
10406 cat >conftest.$ac_ext <<_ACEOF
10407 #line $LINENO "configure"
10408 /* confdefs.h. */
10409 _ACEOF
10410 cat confdefs.h >>conftest.$ac_ext
10411 cat >>conftest.$ac_ext <<_ACEOF
10412 /* end confdefs.h. */
10413 #include <stdarg.h>
10414 #include <stdio.h>
10415 #include <sys/types.h>
10416 #include <sys/stat.h>
10417 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10418 struct buf { int x; };
10419 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10420 static char *e (p, i)
10421 char **p;
10422 int i;
10423 {
10424 return p[i];
10425 }
10426 static char *f (char * (*g) (char **, int), char **p, ...)
10427 {
10428 char *s;
10429 va_list v;
10430 va_start (v,p);
10431 s = g (p, va_arg (v,int));
10432 va_end (v);
10433 return s;
10434 }
10435 int test (int i, double x);
10436 struct s1 {int (*f) (int a);};
10437 struct s2 {int (*f) (double a);};
10438 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10439 int argc;
10440 char **argv;
10441 int
10442 main ()
10443 {
10444 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10445 ;
10446 return 0;
10447 }
10448 _ACEOF
10449 # Don't try gcc -ansi; that turns off useful extensions and
10450 # breaks some systems' header files.
10451 # AIX -qlanglvl=ansi
10452 # Ultrix and OSF/1 -std1
10453 # HP-UX 10.20 and later -Ae
10454 # HP-UX older versions -Aa -D_HPUX_SOURCE
10455 # SVR4 -Xc -D__EXTENSIONS__
10456 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10457 do
10458 CC="$ac_save_CC $ac_arg"
10459 rm -f conftest.$ac_objext
10460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10461 (eval $ac_compile) 2>&5
10462 ac_status=$?
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); } &&
10465 { ac_try='test -s conftest.$ac_objext'
10466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10467 (eval $ac_try) 2>&5
10468 ac_status=$?
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); }; }; then
10471 ac_cv_prog_cc_stdc=$ac_arg
10472 break
10473 else
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.$ac_ext >&5
10476
10477 fi
10478 rm -f conftest.$ac_objext
10479 done
10480 rm -f conftest.$ac_ext conftest.$ac_objext
10481 CC=$ac_save_CC
10482
10483 fi
10484
10485 case "x$ac_cv_prog_cc_stdc" in
10486 x|xno)
10487 echo "$as_me:$LINENO: result: none needed" >&5
10488 echo "${ECHO_T}none needed" >&6 ;;
10489 *)
10490 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10491 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10492 CC="$CC $ac_cv_prog_cc_stdc" ;;
10493 esac
10494
10495 # Some people use a C++ compiler to compile C. Since we use `exit',
10496 # in C++ we need to declare it. In case someone uses the same compiler
10497 # for both compiling C and C++ we need to have the C++ compiler decide
10498 # the declaration of exit, since it's the most demanding environment.
10499 cat >conftest.$ac_ext <<_ACEOF
10500 #ifndef __cplusplus
10501 choke me
10502 #endif
10503 _ACEOF
10504 rm -f conftest.$ac_objext
10505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10506 (eval $ac_compile) 2>&5
10507 ac_status=$?
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try='test -s conftest.$ac_objext'
10511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512 (eval $ac_try) 2>&5
10513 ac_status=$?
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; }; then
10516 for ac_declaration in \
10517 ''\
10518 '#include <stdlib.h>' \
10519 'extern "C" void std::exit (int) throw (); using std::exit;' \
10520 'extern "C" void std::exit (int); using std::exit;' \
10521 'extern "C" void exit (int) throw ();' \
10522 'extern "C" void exit (int);' \
10523 'void exit (int);'
10524 do
10525 cat >conftest.$ac_ext <<_ACEOF
10526 #line $LINENO "configure"
10527 /* confdefs.h. */
10528 _ACEOF
10529 cat confdefs.h >>conftest.$ac_ext
10530 cat >>conftest.$ac_ext <<_ACEOF
10531 /* end confdefs.h. */
10532 #include <stdlib.h>
10533 $ac_declaration
10534 int
10535 main ()
10536 {
10537 exit (42);
10538 ;
10539 return 0;
10540 }
10541 _ACEOF
10542 rm -f conftest.$ac_objext
10543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10544 (eval $ac_compile) 2>&5
10545 ac_status=$?
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); } &&
10548 { ac_try='test -s conftest.$ac_objext'
10549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10550 (eval $ac_try) 2>&5
10551 ac_status=$?
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); }; }; then
10554 :
10555 else
10556 echo "$as_me: failed program was:" >&5
10557 sed 's/^/| /' conftest.$ac_ext >&5
10558
10559 continue
10560 fi
10561 rm -f conftest.$ac_objext conftest.$ac_ext
10562 cat >conftest.$ac_ext <<_ACEOF
10563 #line $LINENO "configure"
10564 /* confdefs.h. */
10565 _ACEOF
10566 cat confdefs.h >>conftest.$ac_ext
10567 cat >>conftest.$ac_ext <<_ACEOF
10568 /* end confdefs.h. */
10569 $ac_declaration
10570 int
10571 main ()
10572 {
10573 exit (42);
10574 ;
10575 return 0;
10576 }
10577 _ACEOF
10578 rm -f conftest.$ac_objext
10579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10580 (eval $ac_compile) 2>&5
10581 ac_status=$?
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); } &&
10584 { ac_try='test -s conftest.$ac_objext'
10585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586 (eval $ac_try) 2>&5
10587 ac_status=$?
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); }; }; then
10590 break
10591 else
10592 echo "$as_me: failed program was:" >&5
10593 sed 's/^/| /' conftest.$ac_ext >&5
10594
10595 fi
10596 rm -f conftest.$ac_objext conftest.$ac_ext
10597 done
10598 rm -f conftest*
10599 if test -n "$ac_declaration"; then
10600 echo '#ifdef __cplusplus' >>confdefs.h
10601 echo $ac_declaration >>confdefs.h
10602 echo '#endif' >>confdefs.h
10603 fi
10604
10605 else
10606 echo "$as_me: failed program was:" >&5
10607 sed 's/^/| /' conftest.$ac_ext >&5
10608
10609 fi
10610 rm -f conftest.$ac_objext conftest.$ac_ext
10611 ac_ext=c
10612 ac_cpp='$CPP $CPPFLAGS'
10613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10616
10617
10618
10619 ac_ext=c
10620 ac_cpp='$CPP $CPPFLAGS'
10621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10624 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10625 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10626 # On Suns, sometimes $CPP names a directory.
10627 if test -n "$CPP" && test -d "$CPP"; then
10628 CPP=
10629 fi
10630 if test -z "$CPP"; then
10631 if test "${ac_cv_prog_CPP+set}" = set; then
10632 echo $ECHO_N "(cached) $ECHO_C" >&6
10633 else
10634 # Double quotes because CPP needs to be expanded
10635 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10636 do
10637 ac_preproc_ok=false
10638 for ac_c_preproc_warn_flag in '' yes
10639 do
10640 # Use a header file that comes with gcc, so configuring glibc
10641 # with a fresh cross-compiler works.
10642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10643 # <limits.h> exists even on freestanding compilers.
10644 # On the NeXT, cc -E runs the code through the compiler's parser,
10645 # not just through cpp. "Syntax error" is here to catch this case.
10646 cat >conftest.$ac_ext <<_ACEOF
10647 #line $LINENO "configure"
10648 /* confdefs.h. */
10649 _ACEOF
10650 cat confdefs.h >>conftest.$ac_ext
10651 cat >>conftest.$ac_ext <<_ACEOF
10652 /* end confdefs.h. */
10653 #ifdef __STDC__
10654 # include <limits.h>
10655 #else
10656 # include <assert.h>
10657 #endif
10658 Syntax error
10659 _ACEOF
10660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10662 ac_status=$?
10663 grep -v '^ *+' conftest.er1 >conftest.err
10664 rm -f conftest.er1
10665 cat conftest.err >&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); } >/dev/null; then
10668 if test -s conftest.err; then
10669 ac_cpp_err=$ac_c_preproc_warn_flag
10670 else
10671 ac_cpp_err=
10672 fi
10673 else
10674 ac_cpp_err=yes
10675 fi
10676 if test -z "$ac_cpp_err"; then
10677 :
10678 else
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10681
10682 # Broken: fails on valid input.
10683 continue
10684 fi
10685 rm -f conftest.err conftest.$ac_ext
10686
10687 # OK, works on sane cases. Now check whether non-existent headers
10688 # can be detected and how.
10689 cat >conftest.$ac_ext <<_ACEOF
10690 #line $LINENO "configure"
10691 /* confdefs.h. */
10692 _ACEOF
10693 cat confdefs.h >>conftest.$ac_ext
10694 cat >>conftest.$ac_ext <<_ACEOF
10695 /* end confdefs.h. */
10696 #include <ac_nonexistent.h>
10697 _ACEOF
10698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10699 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10700 ac_status=$?
10701 grep -v '^ *+' conftest.er1 >conftest.err
10702 rm -f conftest.er1
10703 cat conftest.err >&5
10704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705 (exit $ac_status); } >/dev/null; then
10706 if test -s conftest.err; then
10707 ac_cpp_err=$ac_c_preproc_warn_flag
10708 else
10709 ac_cpp_err=
10710 fi
10711 else
10712 ac_cpp_err=yes
10713 fi
10714 if test -z "$ac_cpp_err"; then
10715 # Broken: success on invalid input.
10716 continue
10717 else
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.$ac_ext >&5
10720
10721 # Passes both tests.
10722 ac_preproc_ok=:
10723 break
10724 fi
10725 rm -f conftest.err conftest.$ac_ext
10726
10727 done
10728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10729 rm -f conftest.err conftest.$ac_ext
10730 if $ac_preproc_ok; then
10731 break
10732 fi
10733
10734 done
10735 ac_cv_prog_CPP=$CPP
10736
10737 fi
10738 CPP=$ac_cv_prog_CPP
10739 else
10740 ac_cv_prog_CPP=$CPP
10741 fi
10742 echo "$as_me:$LINENO: result: $CPP" >&5
10743 echo "${ECHO_T}$CPP" >&6
10744 ac_preproc_ok=false
10745 for ac_c_preproc_warn_flag in '' yes
10746 do
10747 # Use a header file that comes with gcc, so configuring glibc
10748 # with a fresh cross-compiler works.
10749 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10750 # <limits.h> exists even on freestanding compilers.
10751 # On the NeXT, cc -E runs the code through the compiler's parser,
10752 # not just through cpp. "Syntax error" is here to catch this case.
10753 cat >conftest.$ac_ext <<_ACEOF
10754 #line $LINENO "configure"
10755 /* confdefs.h. */
10756 _ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10760 #ifdef __STDC__
10761 # include <limits.h>
10762 #else
10763 # include <assert.h>
10764 #endif
10765 Syntax error
10766 _ACEOF
10767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10769 ac_status=$?
10770 grep -v '^ *+' conftest.er1 >conftest.err
10771 rm -f conftest.er1
10772 cat conftest.err >&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); } >/dev/null; then
10775 if test -s conftest.err; then
10776 ac_cpp_err=$ac_c_preproc_warn_flag
10777 else
10778 ac_cpp_err=
10779 fi
10780 else
10781 ac_cpp_err=yes
10782 fi
10783 if test -z "$ac_cpp_err"; then
10784 :
10785 else
10786 echo "$as_me: failed program was:" >&5
10787 sed 's/^/| /' conftest.$ac_ext >&5
10788
10789 # Broken: fails on valid input.
10790 continue
10791 fi
10792 rm -f conftest.err conftest.$ac_ext
10793
10794 # OK, works on sane cases. Now check whether non-existent headers
10795 # can be detected and how.
10796 cat >conftest.$ac_ext <<_ACEOF
10797 #line $LINENO "configure"
10798 /* confdefs.h. */
10799 _ACEOF
10800 cat confdefs.h >>conftest.$ac_ext
10801 cat >>conftest.$ac_ext <<_ACEOF
10802 /* end confdefs.h. */
10803 #include <ac_nonexistent.h>
10804 _ACEOF
10805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10807 ac_status=$?
10808 grep -v '^ *+' conftest.er1 >conftest.err
10809 rm -f conftest.er1
10810 cat conftest.err >&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } >/dev/null; then
10813 if test -s conftest.err; then
10814 ac_cpp_err=$ac_c_preproc_warn_flag
10815 else
10816 ac_cpp_err=
10817 fi
10818 else
10819 ac_cpp_err=yes
10820 fi
10821 if test -z "$ac_cpp_err"; then
10822 # Broken: success on invalid input.
10823 continue
10824 else
10825 echo "$as_me: failed program was:" >&5
10826 sed 's/^/| /' conftest.$ac_ext >&5
10827
10828 # Passes both tests.
10829 ac_preproc_ok=:
10830 break
10831 fi
10832 rm -f conftest.err conftest.$ac_ext
10833
10834 done
10835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10836 rm -f conftest.err conftest.$ac_ext
10837 if $ac_preproc_ok; then
10838 :
10839 else
10840 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10841 See \`config.log' for more details." >&5
10842 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10843 See \`config.log' for more details." >&2;}
10844 { (exit 1); exit 1; }; }
10845 fi
10846
10847 ac_ext=c
10848 ac_cpp='$CPP $CPPFLAGS'
10849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10852
10853
10854 echo "$as_me:$LINENO: checking for egrep" >&5
10855 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10856 if test "${ac_cv_prog_egrep+set}" = set; then
10857 echo $ECHO_N "(cached) $ECHO_C" >&6
10858 else
10859 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10860 then ac_cv_prog_egrep='grep -E'
10861 else ac_cv_prog_egrep='egrep'
10862 fi
10863 fi
10864 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10865 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10866 EGREP=$ac_cv_prog_egrep
10867
10868
10869 if test $ac_cv_c_compiler_gnu = yes; then
10870 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10871 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10872 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 else
10875 ac_pattern="Autoconf.*'x'"
10876 cat >conftest.$ac_ext <<_ACEOF
10877 #line $LINENO "configure"
10878 /* confdefs.h. */
10879 _ACEOF
10880 cat confdefs.h >>conftest.$ac_ext
10881 cat >>conftest.$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10883 #include <sgtty.h>
10884 Autoconf TIOCGETP
10885 _ACEOF
10886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10887 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10888 ac_cv_prog_gcc_traditional=yes
10889 else
10890 ac_cv_prog_gcc_traditional=no
10891 fi
10892 rm -f conftest*
10893
10894
10895 if test $ac_cv_prog_gcc_traditional = no; then
10896 cat >conftest.$ac_ext <<_ACEOF
10897 #line $LINENO "configure"
10898 /* confdefs.h. */
10899 _ACEOF
10900 cat confdefs.h >>conftest.$ac_ext
10901 cat >>conftest.$ac_ext <<_ACEOF
10902 /* end confdefs.h. */
10903 #include <termio.h>
10904 Autoconf TCGETA
10905 _ACEOF
10906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10907 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10908 ac_cv_prog_gcc_traditional=yes
10909 fi
10910 rm -f conftest*
10911
10912 fi
10913 fi
10914 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10915 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10916 if test $ac_cv_prog_gcc_traditional = yes; then
10917 CC="$CC -traditional"
10918 fi
10919 fi
10920
10921
10922
10923
10924 ac_ext=cc
10925 ac_cpp='$CXXCPP $CPPFLAGS'
10926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10929
10930
10931 CXXFLAGS=${CXXFLAGS:=}
10932 ac_ext=cc
10933 ac_cpp='$CXXCPP $CPPFLAGS'
10934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10937 if test -n "$ac_tool_prefix"; then
10938 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10939 do
10940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10941 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10942 echo "$as_me:$LINENO: checking for $ac_word" >&5
10943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10944 if test "${ac_cv_prog_CXX+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10946 else
10947 if test -n "$CXX"; then
10948 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10949 else
10950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10951 for as_dir in $PATH
10952 do
10953 IFS=$as_save_IFS
10954 test -z "$as_dir" && as_dir=.
10955 for ac_exec_ext in '' $ac_executable_extensions; do
10956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10957 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10959 break 2
10960 fi
10961 done
10962 done
10963
10964 fi
10965 fi
10966 CXX=$ac_cv_prog_CXX
10967 if test -n "$CXX"; then
10968 echo "$as_me:$LINENO: result: $CXX" >&5
10969 echo "${ECHO_T}$CXX" >&6
10970 else
10971 echo "$as_me:$LINENO: result: no" >&5
10972 echo "${ECHO_T}no" >&6
10973 fi
10974
10975 test -n "$CXX" && break
10976 done
10977 fi
10978 if test -z "$CXX"; then
10979 ac_ct_CXX=$CXX
10980 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10981 do
10982 # Extract the first word of "$ac_prog", so it can be a program name with args.
10983 set dummy $ac_prog; ac_word=$2
10984 echo "$as_me:$LINENO: checking for $ac_word" >&5
10985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10986 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10987 echo $ECHO_N "(cached) $ECHO_C" >&6
10988 else
10989 if test -n "$ac_ct_CXX"; then
10990 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10991 else
10992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10993 for as_dir in $PATH
10994 do
10995 IFS=$as_save_IFS
10996 test -z "$as_dir" && as_dir=.
10997 for ac_exec_ext in '' $ac_executable_extensions; do
10998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10999 ac_cv_prog_ac_ct_CXX="$ac_prog"
11000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11001 break 2
11002 fi
11003 done
11004 done
11005
11006 fi
11007 fi
11008 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11009 if test -n "$ac_ct_CXX"; then
11010 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11011 echo "${ECHO_T}$ac_ct_CXX" >&6
11012 else
11013 echo "$as_me:$LINENO: result: no" >&5
11014 echo "${ECHO_T}no" >&6
11015 fi
11016
11017 test -n "$ac_ct_CXX" && break
11018 done
11019 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11020
11021 CXX=$ac_ct_CXX
11022 fi
11023
11024
11025 # Provide some information about the compiler.
11026 echo "$as_me:$LINENO:" \
11027 "checking for C++ compiler version" >&5
11028 ac_compiler=`set X $ac_compile; echo $2`
11029 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11030 (eval $ac_compiler --version </dev/null >&5) 2>&5
11031 ac_status=$?
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }
11034 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11035 (eval $ac_compiler -v </dev/null >&5) 2>&5
11036 ac_status=$?
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }
11039 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11040 (eval $ac_compiler -V </dev/null >&5) 2>&5
11041 ac_status=$?
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); }
11044
11045 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11046 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11047 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11049 else
11050 cat >conftest.$ac_ext <<_ACEOF
11051 #line $LINENO "configure"
11052 /* confdefs.h. */
11053 _ACEOF
11054 cat confdefs.h >>conftest.$ac_ext
11055 cat >>conftest.$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11057
11058 int
11059 main ()
11060 {
11061 #ifndef __GNUC__
11062 choke me
11063 #endif
11064
11065 ;
11066 return 0;
11067 }
11068 _ACEOF
11069 rm -f conftest.$ac_objext
11070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11071 (eval $ac_compile) 2>&5
11072 ac_status=$?
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } &&
11075 { ac_try='test -s conftest.$ac_objext'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11078 ac_status=$?
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11081 ac_compiler_gnu=yes
11082 else
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11085
11086 ac_compiler_gnu=no
11087 fi
11088 rm -f conftest.$ac_objext conftest.$ac_ext
11089 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11090
11091 fi
11092 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11093 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11094 GXX=`test $ac_compiler_gnu = yes && echo yes`
11095 ac_test_CXXFLAGS=${CXXFLAGS+set}
11096 ac_save_CXXFLAGS=$CXXFLAGS
11097 CXXFLAGS="-g"
11098 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11099 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11100 if test "${ac_cv_prog_cxx_g+set}" = set; then
11101 echo $ECHO_N "(cached) $ECHO_C" >&6
11102 else
11103 cat >conftest.$ac_ext <<_ACEOF
11104 #line $LINENO "configure"
11105 /* confdefs.h. */
11106 _ACEOF
11107 cat confdefs.h >>conftest.$ac_ext
11108 cat >>conftest.$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11110
11111 int
11112 main ()
11113 {
11114
11115 ;
11116 return 0;
11117 }
11118 _ACEOF
11119 rm -f conftest.$ac_objext
11120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11121 (eval $ac_compile) 2>&5
11122 ac_status=$?
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); } &&
11125 { ac_try='test -s conftest.$ac_objext'
11126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11127 (eval $ac_try) 2>&5
11128 ac_status=$?
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); }; }; then
11131 ac_cv_prog_cxx_g=yes
11132 else
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11135
11136 ac_cv_prog_cxx_g=no
11137 fi
11138 rm -f conftest.$ac_objext conftest.$ac_ext
11139 fi
11140 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11141 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11142 if test "$ac_test_CXXFLAGS" = set; then
11143 CXXFLAGS=$ac_save_CXXFLAGS
11144 elif test $ac_cv_prog_cxx_g = yes; then
11145 if test "$GXX" = yes; then
11146 CXXFLAGS="-g -O2"
11147 else
11148 CXXFLAGS="-g"
11149 fi
11150 else
11151 if test "$GXX" = yes; then
11152 CXXFLAGS="-O2"
11153 else
11154 CXXFLAGS=
11155 fi
11156 fi
11157 for ac_declaration in \
11158 ''\
11159 '#include <stdlib.h>' \
11160 'extern "C" void std::exit (int) throw (); using std::exit;' \
11161 'extern "C" void std::exit (int); using std::exit;' \
11162 'extern "C" void exit (int) throw ();' \
11163 'extern "C" void exit (int);' \
11164 'void exit (int);'
11165 do
11166 cat >conftest.$ac_ext <<_ACEOF
11167 #line $LINENO "configure"
11168 /* confdefs.h. */
11169 _ACEOF
11170 cat confdefs.h >>conftest.$ac_ext
11171 cat >>conftest.$ac_ext <<_ACEOF
11172 /* end confdefs.h. */
11173 #include <stdlib.h>
11174 $ac_declaration
11175 int
11176 main ()
11177 {
11178 exit (42);
11179 ;
11180 return 0;
11181 }
11182 _ACEOF
11183 rm -f conftest.$ac_objext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11185 (eval $ac_compile) 2>&5
11186 ac_status=$?
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } &&
11189 { ac_try='test -s conftest.$ac_objext'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11192 ac_status=$?
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; }; then
11195 :
11196 else
11197 echo "$as_me: failed program was:" >&5
11198 sed 's/^/| /' conftest.$ac_ext >&5
11199
11200 continue
11201 fi
11202 rm -f conftest.$ac_objext conftest.$ac_ext
11203 cat >conftest.$ac_ext <<_ACEOF
11204 #line $LINENO "configure"
11205 /* confdefs.h. */
11206 _ACEOF
11207 cat confdefs.h >>conftest.$ac_ext
11208 cat >>conftest.$ac_ext <<_ACEOF
11209 /* end confdefs.h. */
11210 $ac_declaration
11211 int
11212 main ()
11213 {
11214 exit (42);
11215 ;
11216 return 0;
11217 }
11218 _ACEOF
11219 rm -f conftest.$ac_objext
11220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11221 (eval $ac_compile) 2>&5
11222 ac_status=$?
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } &&
11225 { ac_try='test -s conftest.$ac_objext'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11228 ac_status=$?
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; }; then
11231 break
11232 else
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.$ac_ext >&5
11235
11236 fi
11237 rm -f conftest.$ac_objext conftest.$ac_ext
11238 done
11239 rm -f conftest*
11240 if test -n "$ac_declaration"; then
11241 echo '#ifdef __cplusplus' >>confdefs.h
11242 echo $ac_declaration >>confdefs.h
11243 echo '#endif' >>confdefs.h
11244 fi
11245
11246 ac_ext=cc
11247 ac_cpp='$CXXCPP $CPPFLAGS'
11248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11251
11252
11253 ac_ext=c
11254 ac_cpp='$CPP $CPPFLAGS'
11255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11258
11259
11260 if test -n "$ac_tool_prefix"; then
11261 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11262 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11263 echo "$as_me:$LINENO: checking for $ac_word" >&5
11264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11265 if test "${ac_cv_prog_RANLIB+set}" = set; then
11266 echo $ECHO_N "(cached) $ECHO_C" >&6
11267 else
11268 if test -n "$RANLIB"; then
11269 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11270 else
11271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11272 for as_dir in $PATH
11273 do
11274 IFS=$as_save_IFS
11275 test -z "$as_dir" && as_dir=.
11276 for ac_exec_ext in '' $ac_executable_extensions; do
11277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11278 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11280 break 2
11281 fi
11282 done
11283 done
11284
11285 fi
11286 fi
11287 RANLIB=$ac_cv_prog_RANLIB
11288 if test -n "$RANLIB"; then
11289 echo "$as_me:$LINENO: result: $RANLIB" >&5
11290 echo "${ECHO_T}$RANLIB" >&6
11291 else
11292 echo "$as_me:$LINENO: result: no" >&5
11293 echo "${ECHO_T}no" >&6
11294 fi
11295
11296 fi
11297 if test -z "$ac_cv_prog_RANLIB"; then
11298 ac_ct_RANLIB=$RANLIB
11299 # Extract the first word of "ranlib", so it can be a program name with args.
11300 set dummy ranlib; ac_word=$2
11301 echo "$as_me:$LINENO: checking for $ac_word" >&5
11302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11303 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 else
11306 if test -n "$ac_ct_RANLIB"; then
11307 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11308 else
11309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11310 for as_dir in $PATH
11311 do
11312 IFS=$as_save_IFS
11313 test -z "$as_dir" && as_dir=.
11314 for ac_exec_ext in '' $ac_executable_extensions; do
11315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11316 ac_cv_prog_ac_ct_RANLIB="ranlib"
11317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11318 break 2
11319 fi
11320 done
11321 done
11322
11323 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11324 fi
11325 fi
11326 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11327 if test -n "$ac_ct_RANLIB"; then
11328 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11329 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11330 else
11331 echo "$as_me:$LINENO: result: no" >&5
11332 echo "${ECHO_T}no" >&6
11333 fi
11334
11335 RANLIB=$ac_ct_RANLIB
11336 else
11337 RANLIB="$ac_cv_prog_RANLIB"
11338 fi
11339
11340
11341 # Extract the first word of "ar", so it can be a program name with args.
11342 set dummy ar; ac_word=$2
11343 echo "$as_me:$LINENO: checking for $ac_word" >&5
11344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11345 if test "${ac_cv_prog_AR+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11347 else
11348 if test -n "$AR"; then
11349 ac_cv_prog_AR="$AR" # Let the user override the test.
11350 else
11351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11352 for as_dir in $PATH
11353 do
11354 IFS=$as_save_IFS
11355 test -z "$as_dir" && as_dir=.
11356 for ac_exec_ext in '' $ac_executable_extensions; do
11357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11358 ac_cv_prog_AR="ar"
11359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11360 break 2
11361 fi
11362 done
11363 done
11364
11365 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11366 fi
11367 fi
11368 AR=$ac_cv_prog_AR
11369 if test -n "$AR"; then
11370 echo "$as_me:$LINENO: result: $AR" >&5
11371 echo "${ECHO_T}$AR" >&6
11372 else
11373 echo "$as_me:$LINENO: result: no" >&5
11374 echo "${ECHO_T}no" >&6
11375 fi
11376
11377
11378 # Find a good install program. We prefer a C program (faster),
11379 # so one script is as good as another. But avoid the broken or
11380 # incompatible versions:
11381 # SysV /etc/install, /usr/sbin/install
11382 # SunOS /usr/etc/install
11383 # IRIX /sbin/install
11384 # AIX /bin/install
11385 # AmigaOS /C/install, which installs bootblocks on floppy discs
11386 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11387 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11388 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11389 # ./install, which can be erroneously created by make from ./install.sh.
11390 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11391 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11392 if test -z "$INSTALL"; then
11393 if test "${ac_cv_path_install+set}" = set; then
11394 echo $ECHO_N "(cached) $ECHO_C" >&6
11395 else
11396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11397 for as_dir in $PATH
11398 do
11399 IFS=$as_save_IFS
11400 test -z "$as_dir" && as_dir=.
11401 # Account for people who put trailing slashes in PATH elements.
11402 case $as_dir/ in
11403 ./ | .// | /cC/* | \
11404 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11405 /usr/ucb/* ) ;;
11406 *)
11407 # OSF1 and SCO ODT 3.0 have their own names for install.
11408 # Don't use installbsd from OSF since it installs stuff as root
11409 # by default.
11410 for ac_prog in ginstall scoinst install; do
11411 for ac_exec_ext in '' $ac_executable_extensions; do
11412 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11413 if test $ac_prog = install &&
11414 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11415 # AIX install. It has an incompatible calling convention.
11416 :
11417 elif test $ac_prog = install &&
11418 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11419 # program-specific install script used by HP pwplus--don't use.
11420 :
11421 else
11422 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11423 break 3
11424 fi
11425 fi
11426 done
11427 done
11428 ;;
11429 esac
11430 done
11431
11432
11433 fi
11434 if test "${ac_cv_path_install+set}" = set; then
11435 INSTALL=$ac_cv_path_install
11436 else
11437 # As a last resort, use the slow shell script. We don't cache a
11438 # path for INSTALL within a source directory, because that will
11439 # break other packages using the cache if that directory is
11440 # removed, or if the path is relative.
11441 INSTALL=$ac_install_sh
11442 fi
11443 fi
11444 echo "$as_me:$LINENO: result: $INSTALL" >&5
11445 echo "${ECHO_T}$INSTALL" >&6
11446
11447 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11448 # It thinks the first close brace ends the variable substitution.
11449 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11450
11451 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11452
11453 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11454
11455
11456 case ${INSTALL} in
11457 /* ) # Absolute
11458 ;;
11459 ?:* ) # Drive letter, considered as absolute.
11460 ;;
11461 *)
11462 INSTALL=`pwd`/${INSTALL} ;;
11463 esac
11464
11465 case ${host} in
11466 *-hp-hpux* )
11467 INSTALL_DIR="mkdir"
11468 ;;
11469
11470 *) INSTALL_DIR="$INSTALL -d"
11471 ;;
11472 esac
11473
11474
11475 case "${host}" in
11476
11477 powerpc-*-darwin* )
11478 INSTALL_PROGRAM="cp -fp"
11479 INSTALL_DATA="cp -fp"
11480 ;;
11481 *)
11482 ;;
11483 esac
11484
11485 # Extract the first word of "strip", so it can be a program name with args.
11486 set dummy strip; ac_word=$2
11487 echo "$as_me:$LINENO: checking for $ac_word" >&5
11488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11489 if test "${ac_cv_prog_STRIP+set}" = set; then
11490 echo $ECHO_N "(cached) $ECHO_C" >&6
11491 else
11492 if test -n "$STRIP"; then
11493 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11494 else
11495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11496 for as_dir in $PATH
11497 do
11498 IFS=$as_save_IFS
11499 test -z "$as_dir" && as_dir=.
11500 for ac_exec_ext in '' $ac_executable_extensions; do
11501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11502 ac_cv_prog_STRIP="strip"
11503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11504 break 2
11505 fi
11506 done
11507 done
11508
11509 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11510 fi
11511 fi
11512 STRIP=$ac_cv_prog_STRIP
11513 if test -n "$STRIP"; then
11514 echo "$as_me:$LINENO: result: $STRIP" >&5
11515 echo "${ECHO_T}$STRIP" >&6
11516 else
11517 echo "$as_me:$LINENO: result: no" >&5
11518 echo "${ECHO_T}no" >&6
11519 fi
11520
11521
11522 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11523 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11524 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11525 echo $ECHO_N "(cached) $ECHO_C" >&6
11526 else
11527
11528 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11529 egrep -s GNU > /dev/null); then
11530 wx_cv_prog_makeisgnu="yes"
11531 else
11532 wx_cv_prog_makeisgnu="no"
11533 fi
11534
11535 fi
11536 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11537 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11538
11539 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11540 IF_GNU_MAKE=""
11541 else
11542 IF_GNU_MAKE="#"
11543 fi
11544
11545
11546
11547 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11548 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11549 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11550 if test "${wx_cv_prog_makevpath+set}" = set; then
11551 echo $ECHO_N "(cached) $ECHO_C" >&6
11552 else
11553
11554 cat - << EOF > confMake
11555 check : file
11556 cp \$? \$@
11557 cp \$? final_file
11558 EOF
11559
11560 if test ! -d sub ; then
11561 mkdir sub
11562 fi
11563 echo dummy > sub/file
11564 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11565 RESULT=$?
11566 rm -f sub/file check final_file confMake
11567 rmdir sub
11568 if test "$RESULT" = 0; then
11569 wx_cv_prog_makevpath="yes"
11570 else
11571 wx_cv_prog_makevpath="no"
11572 fi
11573
11574 fi
11575 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11576 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11577
11578 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11579 { { echo "$as_me:$LINENO: error:
11580 You need a make-utility that is able to use the variable
11581 VPATH correctly.
11582 If your version of make does not support VPATH correctly,
11583 please install GNU-make (possibly as gmake), and start
11584 configure with the following command:
11585 export MAKE=gmake; ./configure for sh-type shells
11586 setenv MAKE gmake; ./configure for csh-type shells
11587 Also please do remember to use gmake in this case every time
11588 you are trying to compile.
11589 " >&5
11590 echo "$as_me: error:
11591 You need a make-utility that is able to use the variable
11592 VPATH correctly.
11593 If your version of make does not support VPATH correctly,
11594 please install GNU-make (possibly as gmake), and start
11595 configure with the following command:
11596 export MAKE=gmake; ./configure for sh-type shells
11597 setenv MAKE gmake; ./configure for csh-type shells
11598 Also please do remember to use gmake in this case every time
11599 you are trying to compile.
11600 " >&2;}
11601 { (exit 1); exit 1; }; }
11602 fi fi
11603 for ac_prog in 'bison -y' byacc
11604 do
11605 # Extract the first word of "$ac_prog", so it can be a program name with args.
11606 set dummy $ac_prog; ac_word=$2
11607 echo "$as_me:$LINENO: checking for $ac_word" >&5
11608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11609 if test "${ac_cv_prog_YACC+set}" = set; then
11610 echo $ECHO_N "(cached) $ECHO_C" >&6
11611 else
11612 if test -n "$YACC"; then
11613 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11614 else
11615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11616 for as_dir in $PATH
11617 do
11618 IFS=$as_save_IFS
11619 test -z "$as_dir" && as_dir=.
11620 for ac_exec_ext in '' $ac_executable_extensions; do
11621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11622 ac_cv_prog_YACC="$ac_prog"
11623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11624 break 2
11625 fi
11626 done
11627 done
11628
11629 fi
11630 fi
11631 YACC=$ac_cv_prog_YACC
11632 if test -n "$YACC"; then
11633 echo "$as_me:$LINENO: result: $YACC" >&5
11634 echo "${ECHO_T}$YACC" >&6
11635 else
11636 echo "$as_me:$LINENO: result: no" >&5
11637 echo "${ECHO_T}no" >&6
11638 fi
11639
11640 test -n "$YACC" && break
11641 done
11642 test -n "$YACC" || YACC="yacc"
11643
11644
11645 for ac_prog in flex lex
11646 do
11647 # Extract the first word of "$ac_prog", so it can be a program name with args.
11648 set dummy $ac_prog; ac_word=$2
11649 echo "$as_me:$LINENO: checking for $ac_word" >&5
11650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11651 if test "${ac_cv_prog_LEX+set}" = set; then
11652 echo $ECHO_N "(cached) $ECHO_C" >&6
11653 else
11654 if test -n "$LEX"; then
11655 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11656 else
11657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11658 for as_dir in $PATH
11659 do
11660 IFS=$as_save_IFS
11661 test -z "$as_dir" && as_dir=.
11662 for ac_exec_ext in '' $ac_executable_extensions; do
11663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11664 ac_cv_prog_LEX="$ac_prog"
11665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11666 break 2
11667 fi
11668 done
11669 done
11670
11671 fi
11672 fi
11673 LEX=$ac_cv_prog_LEX
11674 if test -n "$LEX"; then
11675 echo "$as_me:$LINENO: result: $LEX" >&5
11676 echo "${ECHO_T}$LEX" >&6
11677 else
11678 echo "$as_me:$LINENO: result: no" >&5
11679 echo "${ECHO_T}no" >&6
11680 fi
11681
11682 test -n "$LEX" && break
11683 done
11684 test -n "$LEX" || LEX=":"
11685
11686 if test -z "$LEXLIB"
11687 then
11688 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11689 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11690 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 else
11693 ac_check_lib_save_LIBS=$LIBS
11694 LIBS="-lfl $LIBS"
11695 cat >conftest.$ac_ext <<_ACEOF
11696 #line $LINENO "configure"
11697 /* confdefs.h. */
11698 _ACEOF
11699 cat confdefs.h >>conftest.$ac_ext
11700 cat >>conftest.$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11702
11703 /* Override any gcc2 internal prototype to avoid an error. */
11704 #ifdef __cplusplus
11705 extern "C"
11706 #endif
11707 /* We use char because int might match the return type of a gcc2
11708 builtin and then its argument prototype would still apply. */
11709 char yywrap ();
11710 int
11711 main ()
11712 {
11713 yywrap ();
11714 ;
11715 return 0;
11716 }
11717 _ACEOF
11718 rm -f conftest.$ac_objext conftest$ac_exeext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720 (eval $ac_link) 2>&5
11721 ac_status=$?
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } &&
11724 { ac_try='test -s conftest$ac_exeext'
11725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11726 (eval $ac_try) 2>&5
11727 ac_status=$?
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); }; }; then
11730 ac_cv_lib_fl_yywrap=yes
11731 else
11732 echo "$as_me: failed program was:" >&5
11733 sed 's/^/| /' conftest.$ac_ext >&5
11734
11735 ac_cv_lib_fl_yywrap=no
11736 fi
11737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_lib_save_LIBS
11739 fi
11740 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11741 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11742 if test $ac_cv_lib_fl_yywrap = yes; then
11743 LEXLIB="-lfl"
11744 else
11745 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11746 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11747 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11748 echo $ECHO_N "(cached) $ECHO_C" >&6
11749 else
11750 ac_check_lib_save_LIBS=$LIBS
11751 LIBS="-ll $LIBS"
11752 cat >conftest.$ac_ext <<_ACEOF
11753 #line $LINENO "configure"
11754 /* confdefs.h. */
11755 _ACEOF
11756 cat confdefs.h >>conftest.$ac_ext
11757 cat >>conftest.$ac_ext <<_ACEOF
11758 /* end confdefs.h. */
11759
11760 /* Override any gcc2 internal prototype to avoid an error. */
11761 #ifdef __cplusplus
11762 extern "C"
11763 #endif
11764 /* We use char because int might match the return type of a gcc2
11765 builtin and then its argument prototype would still apply. */
11766 char yywrap ();
11767 int
11768 main ()
11769 {
11770 yywrap ();
11771 ;
11772 return 0;
11773 }
11774 _ACEOF
11775 rm -f conftest.$ac_objext conftest$ac_exeext
11776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11777 (eval $ac_link) 2>&5
11778 ac_status=$?
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); } &&
11781 { ac_try='test -s conftest$ac_exeext'
11782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11783 (eval $ac_try) 2>&5
11784 ac_status=$?
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; }; then
11787 ac_cv_lib_l_yywrap=yes
11788 else
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.$ac_ext >&5
11791
11792 ac_cv_lib_l_yywrap=no
11793 fi
11794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11795 LIBS=$ac_check_lib_save_LIBS
11796 fi
11797 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11798 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11799 if test $ac_cv_lib_l_yywrap = yes; then
11800 LEXLIB="-ll"
11801 fi
11802
11803 fi
11804
11805 fi
11806
11807 if test "x$LEX" != "x:"; then
11808 echo "$as_me:$LINENO: checking lex output file root" >&5
11809 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11810 if test "${ac_cv_prog_lex_root+set}" = set; then
11811 echo $ECHO_N "(cached) $ECHO_C" >&6
11812 else
11813 # The minimal lex program is just a single line: %%. But some broken lexes
11814 # (Solaris, I think it was) want two %% lines, so accommodate them.
11815 cat >conftest.l <<_ACEOF
11816 %%
11817 %%
11818 _ACEOF
11819 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11820 (eval $LEX conftest.l) 2>&5
11821 ac_status=$?
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); }
11824 if test -f lex.yy.c; then
11825 ac_cv_prog_lex_root=lex.yy
11826 elif test -f lexyy.c; then
11827 ac_cv_prog_lex_root=lexyy
11828 else
11829 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11830 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11831 { (exit 1); exit 1; }; }
11832 fi
11833 fi
11834 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11835 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11836 rm -f conftest.l
11837 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11838
11839 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11840 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11841 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11842 echo $ECHO_N "(cached) $ECHO_C" >&6
11843 else
11844 # POSIX says lex can declare yytext either as a pointer or an array; the
11845 # default is implementation-dependent. Figure out which it is, since
11846 # not all implementations provide the %pointer and %array declarations.
11847 ac_cv_prog_lex_yytext_pointer=no
11848 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11849 ac_save_LIBS=$LIBS
11850 LIBS="$LIBS $LEXLIB"
11851 cat >conftest.$ac_ext <<_ACEOF
11852 `cat $LEX_OUTPUT_ROOT.c`
11853 _ACEOF
11854 rm -f conftest.$ac_objext conftest$ac_exeext
11855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11856 (eval $ac_link) 2>&5
11857 ac_status=$?
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } &&
11860 { ac_try='test -s conftest$ac_exeext'
11861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11862 (eval $ac_try) 2>&5
11863 ac_status=$?
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); }; }; then
11866 ac_cv_prog_lex_yytext_pointer=yes
11867 else
11868 echo "$as_me: failed program was:" >&5
11869 sed 's/^/| /' conftest.$ac_ext >&5
11870
11871 fi
11872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11873 LIBS=$ac_save_LIBS
11874 rm -f "${LEX_OUTPUT_ROOT}.c"
11875
11876 fi
11877 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11878 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11879 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11880
11881 cat >>confdefs.h <<\_ACEOF
11882 #define YYTEXT_POINTER 1
11883 _ACEOF
11884
11885 fi
11886
11887 fi
11888
11889 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11890 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11891 LN_S=$as_ln_s
11892 if test "$LN_S" = "ln -s"; then
11893 echo "$as_me:$LINENO: result: yes" >&5
11894 echo "${ECHO_T}yes" >&6
11895 else
11896 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11897 echo "${ECHO_T}no, using $LN_S" >&6
11898 fi
11899
11900
11901 case "${host}" in
11902 *-pc-os2_emx | *-pc-os2-emx )
11903 LIBS="$LIBS -lstdcpp"
11904 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11905 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11906 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11907 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11908 echo $ECHO_N "(cached) $ECHO_C" >&6
11909 else
11910 ac_check_lib_save_LIBS=$LIBS
11911 LIBS="-lcExt $LIBS"
11912 cat >conftest.$ac_ext <<_ACEOF
11913 #line $LINENO "configure"
11914 /* confdefs.h. */
11915 _ACEOF
11916 cat confdefs.h >>conftest.$ac_ext
11917 cat >>conftest.$ac_ext <<_ACEOF
11918 /* end confdefs.h. */
11919
11920 /* Override any gcc2 internal prototype to avoid an error. */
11921 #ifdef __cplusplus
11922 extern "C"
11923 #endif
11924 /* We use char because int might match the return type of a gcc2
11925 builtin and then its argument prototype would still apply. */
11926 char drand48 ();
11927 int
11928 main ()
11929 {
11930 drand48 ();
11931 ;
11932 return 0;
11933 }
11934 _ACEOF
11935 rm -f conftest.$ac_objext conftest$ac_exeext
11936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11937 (eval $ac_link) 2>&5
11938 ac_status=$?
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); } &&
11941 { ac_try='test -s conftest$ac_exeext'
11942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11943 (eval $ac_try) 2>&5
11944 ac_status=$?
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); }; }; then
11947 ac_cv_lib_cExt_drand48=yes
11948 else
11949 echo "$as_me: failed program was:" >&5
11950 sed 's/^/| /' conftest.$ac_ext >&5
11951
11952 ac_cv_lib_cExt_drand48=no
11953 fi
11954 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_lib_save_LIBS
11956 fi
11957 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11958 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11959 if test $ac_cv_lib_cExt_drand48 = yes; then
11960 LIBS="$LIBS -lcExt"
11961 fi
11962
11963 else
11964 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11965 fi
11966 ;;
11967 esac
11968
11969
11970 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11971 echo "$as_me:$LINENO: checking for strings.h" >&5
11972 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11973 if test "${ac_cv_header_strings_h+set}" = set; then
11974 echo $ECHO_N "(cached) $ECHO_C" >&6
11975 else
11976 ac_cv_header_strings_h=no
11977 fi
11978 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11979 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11980 if test "$ac_cv_header_strings_h" = "no"; then
11981 echo "$as_me:$LINENO: result: forced no into cache" >&5
11982 echo "${ECHO_T}forced no into cache" >&6
11983 else
11984 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11985 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11986 fi
11987 fi
11988 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11989 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11990 if test "${ac_cv_header_stdc+set}" = set; then
11991 echo $ECHO_N "(cached) $ECHO_C" >&6
11992 else
11993 cat >conftest.$ac_ext <<_ACEOF
11994 #line $LINENO "configure"
11995 /* confdefs.h. */
11996 _ACEOF
11997 cat confdefs.h >>conftest.$ac_ext
11998 cat >>conftest.$ac_ext <<_ACEOF
11999 /* end confdefs.h. */
12000 #include <stdlib.h>
12001 #include <stdarg.h>
12002 #include <string.h>
12003 #include <float.h>
12004
12005 int
12006 main ()
12007 {
12008
12009 ;
12010 return 0;
12011 }
12012 _ACEOF
12013 rm -f conftest.$ac_objext
12014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12015 (eval $ac_compile) 2>&5
12016 ac_status=$?
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); } &&
12019 { ac_try='test -s conftest.$ac_objext'
12020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12021 (eval $ac_try) 2>&5
12022 ac_status=$?
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); }; }; then
12025 ac_cv_header_stdc=yes
12026 else
12027 echo "$as_me: failed program was:" >&5
12028 sed 's/^/| /' conftest.$ac_ext >&5
12029
12030 ac_cv_header_stdc=no
12031 fi
12032 rm -f conftest.$ac_objext conftest.$ac_ext
12033
12034 if test $ac_cv_header_stdc = yes; then
12035 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12036 cat >conftest.$ac_ext <<_ACEOF
12037 #line $LINENO "configure"
12038 /* confdefs.h. */
12039 _ACEOF
12040 cat confdefs.h >>conftest.$ac_ext
12041 cat >>conftest.$ac_ext <<_ACEOF
12042 /* end confdefs.h. */
12043 #include <string.h>
12044
12045 _ACEOF
12046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12047 $EGREP "memchr" >/dev/null 2>&1; then
12048 :
12049 else
12050 ac_cv_header_stdc=no
12051 fi
12052 rm -f conftest*
12053
12054 fi
12055
12056 if test $ac_cv_header_stdc = yes; then
12057 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12058 cat >conftest.$ac_ext <<_ACEOF
12059 #line $LINENO "configure"
12060 /* confdefs.h. */
12061 _ACEOF
12062 cat confdefs.h >>conftest.$ac_ext
12063 cat >>conftest.$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12065 #include <stdlib.h>
12066
12067 _ACEOF
12068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12069 $EGREP "free" >/dev/null 2>&1; then
12070 :
12071 else
12072 ac_cv_header_stdc=no
12073 fi
12074 rm -f conftest*
12075
12076 fi
12077
12078 if test $ac_cv_header_stdc = yes; then
12079 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12080 if test "$cross_compiling" = yes; then
12081 :
12082 else
12083 cat >conftest.$ac_ext <<_ACEOF
12084 #line $LINENO "configure"
12085 /* confdefs.h. */
12086 _ACEOF
12087 cat confdefs.h >>conftest.$ac_ext
12088 cat >>conftest.$ac_ext <<_ACEOF
12089 /* end confdefs.h. */
12090 #include <ctype.h>
12091 #if ((' ' & 0x0FF) == 0x020)
12092 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12093 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12094 #else
12095 # define ISLOWER(c) \
12096 (('a' <= (c) && (c) <= 'i') \
12097 || ('j' <= (c) && (c) <= 'r') \
12098 || ('s' <= (c) && (c) <= 'z'))
12099 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12100 #endif
12101
12102 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12103 int
12104 main ()
12105 {
12106 int i;
12107 for (i = 0; i < 256; i++)
12108 if (XOR (islower (i), ISLOWER (i))
12109 || toupper (i) != TOUPPER (i))
12110 exit(2);
12111 exit (0);
12112 }
12113 _ACEOF
12114 rm -f conftest$ac_exeext
12115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12116 (eval $ac_link) 2>&5
12117 ac_status=$?
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12122 ac_status=$?
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; }; then
12125 :
12126 else
12127 echo "$as_me: program exited with status $ac_status" >&5
12128 echo "$as_me: failed program was:" >&5
12129 sed 's/^/| /' conftest.$ac_ext >&5
12130
12131 ( exit $ac_status )
12132 ac_cv_header_stdc=no
12133 fi
12134 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12135 fi
12136 fi
12137 fi
12138 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12139 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12140 if test $ac_cv_header_stdc = yes; then
12141
12142 cat >>confdefs.h <<\_ACEOF
12143 #define STDC_HEADERS 1
12144 _ACEOF
12145
12146 fi
12147
12148 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12159 inttypes.h stdint.h unistd.h
12160 do
12161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12162 echo "$as_me:$LINENO: checking for $ac_header" >&5
12163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12165 echo $ECHO_N "(cached) $ECHO_C" >&6
12166 else
12167 cat >conftest.$ac_ext <<_ACEOF
12168 #line $LINENO "configure"
12169 /* confdefs.h. */
12170 _ACEOF
12171 cat confdefs.h >>conftest.$ac_ext
12172 cat >>conftest.$ac_ext <<_ACEOF
12173 /* end confdefs.h. */
12174 $ac_includes_default
12175
12176 #include <$ac_header>
12177 _ACEOF
12178 rm -f conftest.$ac_objext
12179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12180 (eval $ac_compile) 2>&5
12181 ac_status=$?
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } &&
12184 { ac_try='test -s conftest.$ac_objext'
12185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186 (eval $ac_try) 2>&5
12187 ac_status=$?
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; }; then
12190 eval "$as_ac_Header=yes"
12191 else
12192 echo "$as_me: failed program was:" >&5
12193 sed 's/^/| /' conftest.$ac_ext >&5
12194
12195 eval "$as_ac_Header=no"
12196 fi
12197 rm -f conftest.$ac_objext conftest.$ac_ext
12198 fi
12199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12202 cat >>confdefs.h <<_ACEOF
12203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12204 _ACEOF
12205
12206 fi
12207
12208 done
12209
12210
12211
12212 for ac_header in strings.h
12213 do
12214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12216 echo "$as_me:$LINENO: checking for $ac_header" >&5
12217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12219 echo $ECHO_N "(cached) $ECHO_C" >&6
12220 fi
12221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12223 else
12224 # Is the header compilable?
12225 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12226 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12227 cat >conftest.$ac_ext <<_ACEOF
12228 #line $LINENO "configure"
12229 /* confdefs.h. */
12230 _ACEOF
12231 cat confdefs.h >>conftest.$ac_ext
12232 cat >>conftest.$ac_ext <<_ACEOF
12233 /* end confdefs.h. */
12234 $ac_includes_default
12235 #include <$ac_header>
12236 _ACEOF
12237 rm -f conftest.$ac_objext
12238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12239 (eval $ac_compile) 2>&5
12240 ac_status=$?
12241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242 (exit $ac_status); } &&
12243 { ac_try='test -s conftest.$ac_objext'
12244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12245 (eval $ac_try) 2>&5
12246 ac_status=$?
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); }; }; then
12249 ac_header_compiler=yes
12250 else
12251 echo "$as_me: failed program was:" >&5
12252 sed 's/^/| /' conftest.$ac_ext >&5
12253
12254 ac_header_compiler=no
12255 fi
12256 rm -f conftest.$ac_objext conftest.$ac_ext
12257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12258 echo "${ECHO_T}$ac_header_compiler" >&6
12259
12260 # Is the header present?
12261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12263 cat >conftest.$ac_ext <<_ACEOF
12264 #line $LINENO "configure"
12265 /* confdefs.h. */
12266 _ACEOF
12267 cat confdefs.h >>conftest.$ac_ext
12268 cat >>conftest.$ac_ext <<_ACEOF
12269 /* end confdefs.h. */
12270 #include <$ac_header>
12271 _ACEOF
12272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12274 ac_status=$?
12275 grep -v '^ *+' conftest.er1 >conftest.err
12276 rm -f conftest.er1
12277 cat conftest.err >&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); } >/dev/null; then
12280 if test -s conftest.err; then
12281 ac_cpp_err=$ac_c_preproc_warn_flag
12282 else
12283 ac_cpp_err=
12284 fi
12285 else
12286 ac_cpp_err=yes
12287 fi
12288 if test -z "$ac_cpp_err"; then
12289 ac_header_preproc=yes
12290 else
12291 echo "$as_me: failed program was:" >&5
12292 sed 's/^/| /' conftest.$ac_ext >&5
12293
12294 ac_header_preproc=no
12295 fi
12296 rm -f conftest.err conftest.$ac_ext
12297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12298 echo "${ECHO_T}$ac_header_preproc" >&6
12299
12300 # So? What about this header?
12301 case $ac_header_compiler:$ac_header_preproc in
12302 yes:no )
12303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12307 (
12308 cat <<\_ASBOX
12309 ## ------------------------------------ ##
12310 ## Report this to bug-autoconf@gnu.org. ##
12311 ## ------------------------------------ ##
12312 _ASBOX
12313 ) |
12314 sed "s/^/$as_me: WARNING: /" >&2
12315 ;;
12316 no:yes )
12317 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12318 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12319 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12320 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12323 (
12324 cat <<\_ASBOX
12325 ## ------------------------------------ ##
12326 ## Report this to bug-autoconf@gnu.org. ##
12327 ## ------------------------------------ ##
12328 _ASBOX
12329 ) |
12330 sed "s/^/$as_me: WARNING: /" >&2
12331 ;;
12332 esac
12333 echo "$as_me:$LINENO: checking for $ac_header" >&5
12334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12336 echo $ECHO_N "(cached) $ECHO_C" >&6
12337 else
12338 eval "$as_ac_Header=$ac_header_preproc"
12339 fi
12340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12342
12343 fi
12344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12345 cat >>confdefs.h <<_ACEOF
12346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12347 _ACEOF
12348
12349 fi
12350
12351 done
12352
12353
12354
12355 for ac_header in stdlib.h
12356 do
12357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12359 echo "$as_me:$LINENO: checking for $ac_header" >&5
12360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12362 echo $ECHO_N "(cached) $ECHO_C" >&6
12363 fi
12364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12366 else
12367 # Is the header compilable?
12368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12370 cat >conftest.$ac_ext <<_ACEOF
12371 #line $LINENO "configure"
12372 /* confdefs.h. */
12373 _ACEOF
12374 cat confdefs.h >>conftest.$ac_ext
12375 cat >>conftest.$ac_ext <<_ACEOF
12376 /* end confdefs.h. */
12377 $ac_includes_default
12378 #include <$ac_header>
12379 _ACEOF
12380 rm -f conftest.$ac_objext
12381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12382 (eval $ac_compile) 2>&5
12383 ac_status=$?
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); } &&
12386 { ac_try='test -s conftest.$ac_objext'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12389 ac_status=$?
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; }; then
12392 ac_header_compiler=yes
12393 else
12394 echo "$as_me: failed program was:" >&5
12395 sed 's/^/| /' conftest.$ac_ext >&5
12396
12397 ac_header_compiler=no
12398 fi
12399 rm -f conftest.$ac_objext conftest.$ac_ext
12400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12401 echo "${ECHO_T}$ac_header_compiler" >&6
12402
12403 # Is the header present?
12404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12406 cat >conftest.$ac_ext <<_ACEOF
12407 #line $LINENO "configure"
12408 /* confdefs.h. */
12409 _ACEOF
12410 cat confdefs.h >>conftest.$ac_ext
12411 cat >>conftest.$ac_ext <<_ACEOF
12412 /* end confdefs.h. */
12413 #include <$ac_header>
12414 _ACEOF
12415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12417 ac_status=$?
12418 grep -v '^ *+' conftest.er1 >conftest.err
12419 rm -f conftest.er1
12420 cat conftest.err >&5
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); } >/dev/null; then
12423 if test -s conftest.err; then
12424 ac_cpp_err=$ac_c_preproc_warn_flag
12425 else
12426 ac_cpp_err=
12427 fi
12428 else
12429 ac_cpp_err=yes
12430 fi
12431 if test -z "$ac_cpp_err"; then
12432 ac_header_preproc=yes
12433 else
12434 echo "$as_me: failed program was:" >&5
12435 sed 's/^/| /' conftest.$ac_ext >&5
12436
12437 ac_header_preproc=no
12438 fi
12439 rm -f conftest.err conftest.$ac_ext
12440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12441 echo "${ECHO_T}$ac_header_preproc" >&6
12442
12443 # So? What about this header?
12444 case $ac_header_compiler:$ac_header_preproc in
12445 yes:no )
12446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12450 (
12451 cat <<\_ASBOX
12452 ## ------------------------------------ ##
12453 ## Report this to bug-autoconf@gnu.org. ##
12454 ## ------------------------------------ ##
12455 _ASBOX
12456 ) |
12457 sed "s/^/$as_me: WARNING: /" >&2
12458 ;;
12459 no:yes )
12460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12466 (
12467 cat <<\_ASBOX
12468 ## ------------------------------------ ##
12469 ## Report this to bug-autoconf@gnu.org. ##
12470 ## ------------------------------------ ##
12471 _ASBOX
12472 ) |
12473 sed "s/^/$as_me: WARNING: /" >&2
12474 ;;
12475 esac
12476 echo "$as_me:$LINENO: checking for $ac_header" >&5
12477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 else
12481 eval "$as_ac_Header=$ac_header_preproc"
12482 fi
12483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12485
12486 fi
12487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12488 cat >>confdefs.h <<_ACEOF
12489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12490 _ACEOF
12491
12492 fi
12493
12494 done
12495
12496
12497 for ac_header in malloc.h
12498 do
12499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12501 echo "$as_me:$LINENO: checking for $ac_header" >&5
12502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12505 fi
12506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12508 else
12509 # Is the header compilable?
12510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12512 cat >conftest.$ac_ext <<_ACEOF
12513 #line $LINENO "configure"
12514 /* confdefs.h. */
12515 _ACEOF
12516 cat confdefs.h >>conftest.$ac_ext
12517 cat >>conftest.$ac_ext <<_ACEOF
12518 /* end confdefs.h. */
12519 $ac_includes_default
12520 #include <$ac_header>
12521 _ACEOF
12522 rm -f conftest.$ac_objext
12523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12524 (eval $ac_compile) 2>&5
12525 ac_status=$?
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } &&
12528 { ac_try='test -s conftest.$ac_objext'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12531 ac_status=$?
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; }; then
12534 ac_header_compiler=yes
12535 else
12536 echo "$as_me: failed program was:" >&5
12537 sed 's/^/| /' conftest.$ac_ext >&5
12538
12539 ac_header_compiler=no
12540 fi
12541 rm -f conftest.$ac_objext conftest.$ac_ext
12542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12543 echo "${ECHO_T}$ac_header_compiler" >&6
12544
12545 # Is the header present?
12546 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12547 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12548 cat >conftest.$ac_ext <<_ACEOF
12549 #line $LINENO "configure"
12550 /* confdefs.h. */
12551 _ACEOF
12552 cat confdefs.h >>conftest.$ac_ext
12553 cat >>conftest.$ac_ext <<_ACEOF
12554 /* end confdefs.h. */
12555 #include <$ac_header>
12556 _ACEOF
12557 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12558 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12559 ac_status=$?
12560 grep -v '^ *+' conftest.er1 >conftest.err
12561 rm -f conftest.er1
12562 cat conftest.err >&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); } >/dev/null; then
12565 if test -s conftest.err; then
12566 ac_cpp_err=$ac_c_preproc_warn_flag
12567 else
12568 ac_cpp_err=
12569 fi
12570 else
12571 ac_cpp_err=yes
12572 fi
12573 if test -z "$ac_cpp_err"; then
12574 ac_header_preproc=yes
12575 else
12576 echo "$as_me: failed program was:" >&5
12577 sed 's/^/| /' conftest.$ac_ext >&5
12578
12579 ac_header_preproc=no
12580 fi
12581 rm -f conftest.err conftest.$ac_ext
12582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12583 echo "${ECHO_T}$ac_header_preproc" >&6
12584
12585 # So? What about this header?
12586 case $ac_header_compiler:$ac_header_preproc in
12587 yes:no )
12588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12592 (
12593 cat <<\_ASBOX
12594 ## ------------------------------------ ##
12595 ## Report this to bug-autoconf@gnu.org. ##
12596 ## ------------------------------------ ##
12597 _ASBOX
12598 ) |
12599 sed "s/^/$as_me: WARNING: /" >&2
12600 ;;
12601 no:yes )
12602 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12603 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12604 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12605 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12607 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12608 (
12609 cat <<\_ASBOX
12610 ## ------------------------------------ ##
12611 ## Report this to bug-autoconf@gnu.org. ##
12612 ## ------------------------------------ ##
12613 _ASBOX
12614 ) |
12615 sed "s/^/$as_me: WARNING: /" >&2
12616 ;;
12617 esac
12618 echo "$as_me:$LINENO: checking for $ac_header" >&5
12619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12622 else
12623 eval "$as_ac_Header=$ac_header_preproc"
12624 fi
12625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12627
12628 fi
12629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12630 cat >>confdefs.h <<_ACEOF
12631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12632 _ACEOF
12633
12634 fi
12635
12636 done
12637
12638
12639 for ac_header in unistd.h
12640 do
12641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12643 echo "$as_me:$LINENO: checking for $ac_header" >&5
12644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 fi
12648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12650 else
12651 # Is the header compilable?
12652 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12653 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12654 cat >conftest.$ac_ext <<_ACEOF
12655 #line $LINENO "configure"
12656 /* confdefs.h. */
12657 _ACEOF
12658 cat confdefs.h >>conftest.$ac_ext
12659 cat >>conftest.$ac_ext <<_ACEOF
12660 /* end confdefs.h. */
12661 $ac_includes_default
12662 #include <$ac_header>
12663 _ACEOF
12664 rm -f conftest.$ac_objext
12665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12666 (eval $ac_compile) 2>&5
12667 ac_status=$?
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); } &&
12670 { ac_try='test -s conftest.$ac_objext'
12671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12673 ac_status=$?
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); }; }; then
12676 ac_header_compiler=yes
12677 else
12678 echo "$as_me: failed program was:" >&5
12679 sed 's/^/| /' conftest.$ac_ext >&5
12680
12681 ac_header_compiler=no
12682 fi
12683 rm -f conftest.$ac_objext conftest.$ac_ext
12684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12685 echo "${ECHO_T}$ac_header_compiler" >&6
12686
12687 # Is the header present?
12688 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12689 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12690 cat >conftest.$ac_ext <<_ACEOF
12691 #line $LINENO "configure"
12692 /* confdefs.h. */
12693 _ACEOF
12694 cat confdefs.h >>conftest.$ac_ext
12695 cat >>conftest.$ac_ext <<_ACEOF
12696 /* end confdefs.h. */
12697 #include <$ac_header>
12698 _ACEOF
12699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12701 ac_status=$?
12702 grep -v '^ *+' conftest.er1 >conftest.err
12703 rm -f conftest.er1
12704 cat conftest.err >&5
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); } >/dev/null; then
12707 if test -s conftest.err; then
12708 ac_cpp_err=$ac_c_preproc_warn_flag
12709 else
12710 ac_cpp_err=
12711 fi
12712 else
12713 ac_cpp_err=yes
12714 fi
12715 if test -z "$ac_cpp_err"; then
12716 ac_header_preproc=yes
12717 else
12718 echo "$as_me: failed program was:" >&5
12719 sed 's/^/| /' conftest.$ac_ext >&5
12720
12721 ac_header_preproc=no
12722 fi
12723 rm -f conftest.err conftest.$ac_ext
12724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12725 echo "${ECHO_T}$ac_header_preproc" >&6
12726
12727 # So? What about this header?
12728 case $ac_header_compiler:$ac_header_preproc in
12729 yes:no )
12730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12734 (
12735 cat <<\_ASBOX
12736 ## ------------------------------------ ##
12737 ## Report this to bug-autoconf@gnu.org. ##
12738 ## ------------------------------------ ##
12739 _ASBOX
12740 ) |
12741 sed "s/^/$as_me: WARNING: /" >&2
12742 ;;
12743 no:yes )
12744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12750 (
12751 cat <<\_ASBOX
12752 ## ------------------------------------ ##
12753 ## Report this to bug-autoconf@gnu.org. ##
12754 ## ------------------------------------ ##
12755 _ASBOX
12756 ) |
12757 sed "s/^/$as_me: WARNING: /" >&2
12758 ;;
12759 esac
12760 echo "$as_me:$LINENO: checking for $ac_header" >&5
12761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 else
12765 eval "$as_ac_Header=$ac_header_preproc"
12766 fi
12767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12769
12770 fi
12771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12772 cat >>confdefs.h <<_ACEOF
12773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12774 _ACEOF
12775
12776 fi
12777
12778 done
12779
12780
12781 for ac_header in wchar.h
12782 do
12783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12785 echo "$as_me:$LINENO: checking for $ac_header" >&5
12786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 fi
12790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12792 else
12793 # Is the header compilable?
12794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12796 cat >conftest.$ac_ext <<_ACEOF
12797 #line $LINENO "configure"
12798 /* confdefs.h. */
12799 _ACEOF
12800 cat confdefs.h >>conftest.$ac_ext
12801 cat >>conftest.$ac_ext <<_ACEOF
12802 /* end confdefs.h. */
12803 $ac_includes_default
12804 #include <$ac_header>
12805 _ACEOF
12806 rm -f conftest.$ac_objext
12807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12808 (eval $ac_compile) 2>&5
12809 ac_status=$?
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); } &&
12812 { ac_try='test -s conftest.$ac_objext'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12815 ac_status=$?
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; }; then
12818 ac_header_compiler=yes
12819 else
12820 echo "$as_me: failed program was:" >&5
12821 sed 's/^/| /' conftest.$ac_ext >&5
12822
12823 ac_header_compiler=no
12824 fi
12825 rm -f conftest.$ac_objext conftest.$ac_ext
12826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12827 echo "${ECHO_T}$ac_header_compiler" >&6
12828
12829 # Is the header present?
12830 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12831 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12832 cat >conftest.$ac_ext <<_ACEOF
12833 #line $LINENO "configure"
12834 /* confdefs.h. */
12835 _ACEOF
12836 cat confdefs.h >>conftest.$ac_ext
12837 cat >>conftest.$ac_ext <<_ACEOF
12838 /* end confdefs.h. */
12839 #include <$ac_header>
12840 _ACEOF
12841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12843 ac_status=$?
12844 grep -v '^ *+' conftest.er1 >conftest.err
12845 rm -f conftest.er1
12846 cat conftest.err >&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); } >/dev/null; then
12849 if test -s conftest.err; then
12850 ac_cpp_err=$ac_c_preproc_warn_flag
12851 else
12852 ac_cpp_err=
12853 fi
12854 else
12855 ac_cpp_err=yes
12856 fi
12857 if test -z "$ac_cpp_err"; then
12858 ac_header_preproc=yes
12859 else
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.$ac_ext >&5
12862
12863 ac_header_preproc=no
12864 fi
12865 rm -f conftest.err conftest.$ac_ext
12866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12867 echo "${ECHO_T}$ac_header_preproc" >&6
12868
12869 # So? What about this header?
12870 case $ac_header_compiler:$ac_header_preproc in
12871 yes:no )
12872 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12873 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12876 (
12877 cat <<\_ASBOX
12878 ## ------------------------------------ ##
12879 ## Report this to bug-autoconf@gnu.org. ##
12880 ## ------------------------------------ ##
12881 _ASBOX
12882 ) |
12883 sed "s/^/$as_me: WARNING: /" >&2
12884 ;;
12885 no:yes )
12886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12892 (
12893 cat <<\_ASBOX
12894 ## ------------------------------------ ##
12895 ## Report this to bug-autoconf@gnu.org. ##
12896 ## ------------------------------------ ##
12897 _ASBOX
12898 ) |
12899 sed "s/^/$as_me: WARNING: /" >&2
12900 ;;
12901 esac
12902 echo "$as_me:$LINENO: checking for $ac_header" >&5
12903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12905 echo $ECHO_N "(cached) $ECHO_C" >&6
12906 else
12907 eval "$as_ac_Header=$ac_header_preproc"
12908 fi
12909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12911
12912 fi
12913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12914 cat >>confdefs.h <<_ACEOF
12915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12916 _ACEOF
12917
12918 fi
12919
12920 done
12921
12922
12923 if test "$ac_cv_header_wchar_h" != "yes"; then
12924
12925 for ac_header in wcstr.h
12926 do
12927 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12929 echo "$as_me:$LINENO: checking for $ac_header" >&5
12930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 fi
12934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12936 else
12937 # Is the header compilable?
12938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12940 cat >conftest.$ac_ext <<_ACEOF
12941 #line $LINENO "configure"
12942 /* confdefs.h. */
12943 _ACEOF
12944 cat confdefs.h >>conftest.$ac_ext
12945 cat >>conftest.$ac_ext <<_ACEOF
12946 /* end confdefs.h. */
12947 $ac_includes_default
12948 #include <$ac_header>
12949 _ACEOF
12950 rm -f conftest.$ac_objext
12951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12952 (eval $ac_compile) 2>&5
12953 ac_status=$?
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } &&
12956 { ac_try='test -s conftest.$ac_objext'
12957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12958 (eval $ac_try) 2>&5
12959 ac_status=$?
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); }; }; then
12962 ac_header_compiler=yes
12963 else
12964 echo "$as_me: failed program was:" >&5
12965 sed 's/^/| /' conftest.$ac_ext >&5
12966
12967 ac_header_compiler=no
12968 fi
12969 rm -f conftest.$ac_objext conftest.$ac_ext
12970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12971 echo "${ECHO_T}$ac_header_compiler" >&6
12972
12973 # Is the header present?
12974 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12975 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12976 cat >conftest.$ac_ext <<_ACEOF
12977 #line $LINENO "configure"
12978 /* confdefs.h. */
12979 _ACEOF
12980 cat confdefs.h >>conftest.$ac_ext
12981 cat >>conftest.$ac_ext <<_ACEOF
12982 /* end confdefs.h. */
12983 #include <$ac_header>
12984 _ACEOF
12985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12986 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12987 ac_status=$?
12988 grep -v '^ *+' conftest.er1 >conftest.err
12989 rm -f conftest.er1
12990 cat conftest.err >&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } >/dev/null; then
12993 if test -s conftest.err; then
12994 ac_cpp_err=$ac_c_preproc_warn_flag
12995 else
12996 ac_cpp_err=
12997 fi
12998 else
12999 ac_cpp_err=yes
13000 fi
13001 if test -z "$ac_cpp_err"; then
13002 ac_header_preproc=yes
13003 else
13004 echo "$as_me: failed program was:" >&5
13005 sed 's/^/| /' conftest.$ac_ext >&5
13006
13007 ac_header_preproc=no
13008 fi
13009 rm -f conftest.err conftest.$ac_ext
13010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13011 echo "${ECHO_T}$ac_header_preproc" >&6
13012
13013 # So? What about this header?
13014 case $ac_header_compiler:$ac_header_preproc in
13015 yes:no )
13016 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13017 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13020 (
13021 cat <<\_ASBOX
13022 ## ------------------------------------ ##
13023 ## Report this to bug-autoconf@gnu.org. ##
13024 ## ------------------------------------ ##
13025 _ASBOX
13026 ) |
13027 sed "s/^/$as_me: WARNING: /" >&2
13028 ;;
13029 no:yes )
13030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13036 (
13037 cat <<\_ASBOX
13038 ## ------------------------------------ ##
13039 ## Report this to bug-autoconf@gnu.org. ##
13040 ## ------------------------------------ ##
13041 _ASBOX
13042 ) |
13043 sed "s/^/$as_me: WARNING: /" >&2
13044 ;;
13045 esac
13046 echo "$as_me:$LINENO: checking for $ac_header" >&5
13047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13049 echo $ECHO_N "(cached) $ECHO_C" >&6
13050 else
13051 eval "$as_ac_Header=$ac_header_preproc"
13052 fi
13053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13055
13056 fi
13057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13058 cat >>confdefs.h <<_ACEOF
13059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13060 _ACEOF
13061
13062 fi
13063
13064 done
13065
13066 fi
13067
13068
13069 for ac_header in fnmatch.h
13070 do
13071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13073 echo "$as_me:$LINENO: checking for $ac_header" >&5
13074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13076 echo $ECHO_N "(cached) $ECHO_C" >&6
13077 fi
13078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13080 else
13081 # Is the header compilable?
13082 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13084 cat >conftest.$ac_ext <<_ACEOF
13085 #line $LINENO "configure"
13086 /* confdefs.h. */
13087 _ACEOF
13088 cat confdefs.h >>conftest.$ac_ext
13089 cat >>conftest.$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13091 $ac_includes_default
13092 #include <$ac_header>
13093 _ACEOF
13094 rm -f conftest.$ac_objext
13095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13096 (eval $ac_compile) 2>&5
13097 ac_status=$?
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); } &&
13100 { ac_try='test -s conftest.$ac_objext'
13101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13102 (eval $ac_try) 2>&5
13103 ac_status=$?
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); }; }; then
13106 ac_header_compiler=yes
13107 else
13108 echo "$as_me: failed program was:" >&5
13109 sed 's/^/| /' conftest.$ac_ext >&5
13110
13111 ac_header_compiler=no
13112 fi
13113 rm -f conftest.$ac_objext conftest.$ac_ext
13114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13115 echo "${ECHO_T}$ac_header_compiler" >&6
13116
13117 # Is the header present?
13118 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13119 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13120 cat >conftest.$ac_ext <<_ACEOF
13121 #line $LINENO "configure"
13122 /* confdefs.h. */
13123 _ACEOF
13124 cat confdefs.h >>conftest.$ac_ext
13125 cat >>conftest.$ac_ext <<_ACEOF
13126 /* end confdefs.h. */
13127 #include <$ac_header>
13128 _ACEOF
13129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13131 ac_status=$?
13132 grep -v '^ *+' conftest.er1 >conftest.err
13133 rm -f conftest.er1
13134 cat conftest.err >&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); } >/dev/null; then
13137 if test -s conftest.err; then
13138 ac_cpp_err=$ac_c_preproc_warn_flag
13139 else
13140 ac_cpp_err=
13141 fi
13142 else
13143 ac_cpp_err=yes
13144 fi
13145 if test -z "$ac_cpp_err"; then
13146 ac_header_preproc=yes
13147 else
13148 echo "$as_me: failed program was:" >&5
13149 sed 's/^/| /' conftest.$ac_ext >&5
13150
13151 ac_header_preproc=no
13152 fi
13153 rm -f conftest.err conftest.$ac_ext
13154 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13155 echo "${ECHO_T}$ac_header_preproc" >&6
13156
13157 # So? What about this header?
13158 case $ac_header_compiler:$ac_header_preproc in
13159 yes:no )
13160 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13161 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13164 (
13165 cat <<\_ASBOX
13166 ## ------------------------------------ ##
13167 ## Report this to bug-autoconf@gnu.org. ##
13168 ## ------------------------------------ ##
13169 _ASBOX
13170 ) |
13171 sed "s/^/$as_me: WARNING: /" >&2
13172 ;;
13173 no:yes )
13174 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13175 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13176 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13177 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13180 (
13181 cat <<\_ASBOX
13182 ## ------------------------------------ ##
13183 ## Report this to bug-autoconf@gnu.org. ##
13184 ## ------------------------------------ ##
13185 _ASBOX
13186 ) |
13187 sed "s/^/$as_me: WARNING: /" >&2
13188 ;;
13189 esac
13190 echo "$as_me:$LINENO: checking for $ac_header" >&5
13191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13193 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 else
13195 eval "$as_ac_Header=$ac_header_preproc"
13196 fi
13197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13199
13200 fi
13201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13202 cat >>confdefs.h <<_ACEOF
13203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13204 _ACEOF
13205
13206 fi
13207
13208 done
13209
13210
13211 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13212
13213 for ac_func in fnmatch
13214 do
13215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13216 echo "$as_me:$LINENO: checking for $ac_func" >&5
13217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13218 if eval "test \"\${$as_ac_var+set}\" = set"; then
13219 echo $ECHO_N "(cached) $ECHO_C" >&6
13220 else
13221 cat >conftest.$ac_ext <<_ACEOF
13222 #line $LINENO "configure"
13223 /* confdefs.h. */
13224 _ACEOF
13225 cat confdefs.h >>conftest.$ac_ext
13226 cat >>conftest.$ac_ext <<_ACEOF
13227 /* end confdefs.h. */
13228 /* System header to define __stub macros and hopefully few prototypes,
13229 which can conflict with char $ac_func (); below.
13230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13231 <limits.h> exists even on freestanding compilers. */
13232 #ifdef __STDC__
13233 # include <limits.h>
13234 #else
13235 # include <assert.h>
13236 #endif
13237 /* Override any gcc2 internal prototype to avoid an error. */
13238 #ifdef __cplusplus
13239 extern "C"
13240 {
13241 #endif
13242 /* We use char because int might match the return type of a gcc2
13243 builtin and then its argument prototype would still apply. */
13244 char $ac_func ();
13245 /* The GNU C library defines this for functions which it implements
13246 to always fail with ENOSYS. Some functions are actually named
13247 something starting with __ and the normal name is an alias. */
13248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13249 choke me
13250 #else
13251 char (*f) () = $ac_func;
13252 #endif
13253 #ifdef __cplusplus
13254 }
13255 #endif
13256
13257 int
13258 main ()
13259 {
13260 return f != $ac_func;
13261 ;
13262 return 0;
13263 }
13264 _ACEOF
13265 rm -f conftest.$ac_objext conftest$ac_exeext
13266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13267 (eval $ac_link) 2>&5
13268 ac_status=$?
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); } &&
13271 { ac_try='test -s conftest$ac_exeext'
13272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13273 (eval $ac_try) 2>&5
13274 ac_status=$?
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); }; }; then
13277 eval "$as_ac_var=yes"
13278 else
13279 echo "$as_me: failed program was:" >&5
13280 sed 's/^/| /' conftest.$ac_ext >&5
13281
13282 eval "$as_ac_var=no"
13283 fi
13284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13285 fi
13286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13288 if test `eval echo '${'$as_ac_var'}'` = yes; then
13289 cat >>confdefs.h <<_ACEOF
13290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13291 _ACEOF
13292
13293 fi
13294 done
13295
13296 fi
13297
13298
13299 for ac_header in langinfo.h
13300 do
13301 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13303 echo "$as_me:$LINENO: checking for $ac_header" >&5
13304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13306 echo $ECHO_N "(cached) $ECHO_C" >&6
13307 fi
13308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13310 else
13311 # Is the header compilable?
13312 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13313 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13314 cat >conftest.$ac_ext <<_ACEOF
13315 #line $LINENO "configure"
13316 /* confdefs.h. */
13317 _ACEOF
13318 cat confdefs.h >>conftest.$ac_ext
13319 cat >>conftest.$ac_ext <<_ACEOF
13320 /* end confdefs.h. */
13321 $ac_includes_default
13322 #include <$ac_header>
13323 _ACEOF
13324 rm -f conftest.$ac_objext
13325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13326 (eval $ac_compile) 2>&5
13327 ac_status=$?
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); } &&
13330 { ac_try='test -s conftest.$ac_objext'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13333 ac_status=$?
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; }; then
13336 ac_header_compiler=yes
13337 else
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.$ac_ext >&5
13340
13341 ac_header_compiler=no
13342 fi
13343 rm -f conftest.$ac_objext conftest.$ac_ext
13344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13345 echo "${ECHO_T}$ac_header_compiler" >&6
13346
13347 # Is the header present?
13348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13350 cat >conftest.$ac_ext <<_ACEOF
13351 #line $LINENO "configure"
13352 /* confdefs.h. */
13353 _ACEOF
13354 cat confdefs.h >>conftest.$ac_ext
13355 cat >>conftest.$ac_ext <<_ACEOF
13356 /* end confdefs.h. */
13357 #include <$ac_header>
13358 _ACEOF
13359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13361 ac_status=$?
13362 grep -v '^ *+' conftest.er1 >conftest.err
13363 rm -f conftest.er1
13364 cat conftest.err >&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); } >/dev/null; then
13367 if test -s conftest.err; then
13368 ac_cpp_err=$ac_c_preproc_warn_flag
13369 else
13370 ac_cpp_err=
13371 fi
13372 else
13373 ac_cpp_err=yes
13374 fi
13375 if test -z "$ac_cpp_err"; then
13376 ac_header_preproc=yes
13377 else
13378 echo "$as_me: failed program was:" >&5
13379 sed 's/^/| /' conftest.$ac_ext >&5
13380
13381 ac_header_preproc=no
13382 fi
13383 rm -f conftest.err conftest.$ac_ext
13384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13385 echo "${ECHO_T}$ac_header_preproc" >&6
13386
13387 # So? What about this header?
13388 case $ac_header_compiler:$ac_header_preproc in
13389 yes:no )
13390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13394 (
13395 cat <<\_ASBOX
13396 ## ------------------------------------ ##
13397 ## Report this to bug-autoconf@gnu.org. ##
13398 ## ------------------------------------ ##
13399 _ASBOX
13400 ) |
13401 sed "s/^/$as_me: WARNING: /" >&2
13402 ;;
13403 no:yes )
13404 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13406 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13407 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13409 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13410 (
13411 cat <<\_ASBOX
13412 ## ------------------------------------ ##
13413 ## Report this to bug-autoconf@gnu.org. ##
13414 ## ------------------------------------ ##
13415 _ASBOX
13416 ) |
13417 sed "s/^/$as_me: WARNING: /" >&2
13418 ;;
13419 esac
13420 echo "$as_me:$LINENO: checking for $ac_header" >&5
13421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13423 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 else
13425 eval "$as_ac_Header=$ac_header_preproc"
13426 fi
13427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13429
13430 fi
13431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13432 cat >>confdefs.h <<_ACEOF
13433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13434 _ACEOF
13435
13436 fi
13437
13438 done
13439
13440
13441 case "${host}" in
13442 *-pc-os2_emx | *-pc-os2-emx )
13443 if test $ac_cv_header_langinfo_h = "yes"; then
13444 LIBS="$LIBS -lintl"
13445 fi
13446 ;;
13447 esac
13448
13449 if test "$wxUSE_GUI" = "yes"; then
13450 if test "$wxUSE_UNIX" = "yes"; then
13451
13452 for ac_header in X11/XKBlib.h
13453 do
13454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13456 echo "$as_me:$LINENO: checking for $ac_header" >&5
13457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13459 echo $ECHO_N "(cached) $ECHO_C" >&6
13460 fi
13461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13463 else
13464 # Is the header compilable?
13465 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13467 cat >conftest.$ac_ext <<_ACEOF
13468 #line $LINENO "configure"
13469 /* confdefs.h. */
13470 _ACEOF
13471 cat confdefs.h >>conftest.$ac_ext
13472 cat >>conftest.$ac_ext <<_ACEOF
13473 /* end confdefs.h. */
13474 $ac_includes_default
13475 #include <$ac_header>
13476 _ACEOF
13477 rm -f conftest.$ac_objext
13478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13479 (eval $ac_compile) 2>&5
13480 ac_status=$?
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482 (exit $ac_status); } &&
13483 { ac_try='test -s conftest.$ac_objext'
13484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13485 (eval $ac_try) 2>&5
13486 ac_status=$?
13487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488 (exit $ac_status); }; }; then
13489 ac_header_compiler=yes
13490 else
13491 echo "$as_me: failed program was:" >&5
13492 sed 's/^/| /' conftest.$ac_ext >&5
13493
13494 ac_header_compiler=no
13495 fi
13496 rm -f conftest.$ac_objext conftest.$ac_ext
13497 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13498 echo "${ECHO_T}$ac_header_compiler" >&6
13499
13500 # Is the header present?
13501 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13502 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13503 cat >conftest.$ac_ext <<_ACEOF
13504 #line $LINENO "configure"
13505 /* confdefs.h. */
13506 _ACEOF
13507 cat confdefs.h >>conftest.$ac_ext
13508 cat >>conftest.$ac_ext <<_ACEOF
13509 /* end confdefs.h. */
13510 #include <$ac_header>
13511 _ACEOF
13512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13514 ac_status=$?
13515 grep -v '^ *+' conftest.er1 >conftest.err
13516 rm -f conftest.er1
13517 cat conftest.err >&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); } >/dev/null; then
13520 if test -s conftest.err; then
13521 ac_cpp_err=$ac_c_preproc_warn_flag
13522 else
13523 ac_cpp_err=
13524 fi
13525 else
13526 ac_cpp_err=yes
13527 fi
13528 if test -z "$ac_cpp_err"; then
13529 ac_header_preproc=yes
13530 else
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.$ac_ext >&5
13533
13534 ac_header_preproc=no
13535 fi
13536 rm -f conftest.err conftest.$ac_ext
13537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13538 echo "${ECHO_T}$ac_header_preproc" >&6
13539
13540 # So? What about this header?
13541 case $ac_header_compiler:$ac_header_preproc in
13542 yes:no )
13543 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13544 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13547 (
13548 cat <<\_ASBOX
13549 ## ------------------------------------ ##
13550 ## Report this to bug-autoconf@gnu.org. ##
13551 ## ------------------------------------ ##
13552 _ASBOX
13553 ) |
13554 sed "s/^/$as_me: WARNING: /" >&2
13555 ;;
13556 no:yes )
13557 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13558 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13559 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13560 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13562 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13563 (
13564 cat <<\_ASBOX
13565 ## ------------------------------------ ##
13566 ## Report this to bug-autoconf@gnu.org. ##
13567 ## ------------------------------------ ##
13568 _ASBOX
13569 ) |
13570 sed "s/^/$as_me: WARNING: /" >&2
13571 ;;
13572 esac
13573 echo "$as_me:$LINENO: checking for $ac_header" >&5
13574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13576 echo $ECHO_N "(cached) $ECHO_C" >&6
13577 else
13578 eval "$as_ac_Header=$ac_header_preproc"
13579 fi
13580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13582
13583 fi
13584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13585 cat >>confdefs.h <<_ACEOF
13586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13587 _ACEOF
13588
13589 fi
13590
13591 done
13592
13593 fi
13594 fi
13595
13596
13597 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13598 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13599 if test "${ac_cv_c_const+set}" = set; then
13600 echo $ECHO_N "(cached) $ECHO_C" >&6
13601 else
13602 cat >conftest.$ac_ext <<_ACEOF
13603 #line $LINENO "configure"
13604 /* confdefs.h. */
13605 _ACEOF
13606 cat confdefs.h >>conftest.$ac_ext
13607 cat >>conftest.$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13609
13610 int
13611 main ()
13612 {
13613 /* FIXME: Include the comments suggested by Paul. */
13614 #ifndef __cplusplus
13615 /* Ultrix mips cc rejects this. */
13616 typedef int charset[2];
13617 const charset x;
13618 /* SunOS 4.1.1 cc rejects this. */
13619 char const *const *ccp;
13620 char **p;
13621 /* NEC SVR4.0.2 mips cc rejects this. */
13622 struct point {int x, y;};
13623 static struct point const zero = {0,0};
13624 /* AIX XL C 1.02.0.0 rejects this.
13625 It does not let you subtract one const X* pointer from another in
13626 an arm of an if-expression whose if-part is not a constant
13627 expression */
13628 const char *g = "string";
13629 ccp = &g + (g ? g-g : 0);
13630 /* HPUX 7.0 cc rejects these. */
13631 ++ccp;
13632 p = (char**) ccp;
13633 ccp = (char const *const *) p;
13634 { /* SCO 3.2v4 cc rejects this. */
13635 char *t;
13636 char const *s = 0 ? (char *) 0 : (char const *) 0;
13637
13638 *t++ = 0;
13639 }
13640 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13641 int x[] = {25, 17};
13642 const int *foo = &x[0];
13643 ++foo;
13644 }
13645 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13646 typedef const int *iptr;
13647 iptr p = 0;
13648 ++p;
13649 }
13650 { /* AIX XL C 1.02.0.0 rejects this saying
13651 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13652 struct s { int j; const int *ap[3]; };
13653 struct s *b; b->j = 5;
13654 }
13655 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13656 const int foo = 10;
13657 }
13658 #endif
13659
13660 ;
13661 return 0;
13662 }
13663 _ACEOF
13664 rm -f conftest.$ac_objext
13665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13666 (eval $ac_compile) 2>&5
13667 ac_status=$?
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); } &&
13670 { ac_try='test -s conftest.$ac_objext'
13671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672 (eval $ac_try) 2>&5
13673 ac_status=$?
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); }; }; then
13676 ac_cv_c_const=yes
13677 else
13678 echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.$ac_ext >&5
13680
13681 ac_cv_c_const=no
13682 fi
13683 rm -f conftest.$ac_objext conftest.$ac_ext
13684 fi
13685 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13686 echo "${ECHO_T}$ac_cv_c_const" >&6
13687 if test $ac_cv_c_const = no; then
13688
13689 cat >>confdefs.h <<\_ACEOF
13690 #define const
13691 _ACEOF
13692
13693 fi
13694
13695 echo "$as_me:$LINENO: checking for inline" >&5
13696 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13697 if test "${ac_cv_c_inline+set}" = set; then
13698 echo $ECHO_N "(cached) $ECHO_C" >&6
13699 else
13700 ac_cv_c_inline=no
13701 for ac_kw in inline __inline__ __inline; do
13702 cat >conftest.$ac_ext <<_ACEOF
13703 #line $LINENO "configure"
13704 /* confdefs.h. */
13705 _ACEOF
13706 cat confdefs.h >>conftest.$ac_ext
13707 cat >>conftest.$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13709 #ifndef __cplusplus
13710 typedef int foo_t;
13711 static $ac_kw foo_t static_foo () {return 0; }
13712 $ac_kw foo_t foo () {return 0; }
13713 #endif
13714
13715 _ACEOF
13716 rm -f conftest.$ac_objext
13717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13718 (eval $ac_compile) 2>&5
13719 ac_status=$?
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } &&
13722 { ac_try='test -s conftest.$ac_objext'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13725 ac_status=$?
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; }; then
13728 ac_cv_c_inline=$ac_kw; break
13729 else
13730 echo "$as_me: failed program was:" >&5
13731 sed 's/^/| /' conftest.$ac_ext >&5
13732
13733 fi
13734 rm -f conftest.$ac_objext conftest.$ac_ext
13735 done
13736
13737 fi
13738 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13739 echo "${ECHO_T}$ac_cv_c_inline" >&6
13740 case $ac_cv_c_inline in
13741 inline | yes) ;;
13742 no)
13743 cat >>confdefs.h <<\_ACEOF
13744 #define inline
13745 _ACEOF
13746 ;;
13747 *) cat >>confdefs.h <<_ACEOF
13748 #define inline $ac_cv_c_inline
13749 _ACEOF
13750 ;;
13751 esac
13752
13753
13754 echo "$as_me:$LINENO: checking for char" >&5
13755 echo $ECHO_N "checking for char... $ECHO_C" >&6
13756 if test "${ac_cv_type_char+set}" = set; then
13757 echo $ECHO_N "(cached) $ECHO_C" >&6
13758 else
13759 cat >conftest.$ac_ext <<_ACEOF
13760 #line $LINENO "configure"
13761 /* confdefs.h. */
13762 _ACEOF
13763 cat confdefs.h >>conftest.$ac_ext
13764 cat >>conftest.$ac_ext <<_ACEOF
13765 /* end confdefs.h. */
13766 $ac_includes_default
13767 int
13768 main ()
13769 {
13770 if ((char *) 0)
13771 return 0;
13772 if (sizeof (char))
13773 return 0;
13774 ;
13775 return 0;
13776 }
13777 _ACEOF
13778 rm -f conftest.$ac_objext
13779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13780 (eval $ac_compile) 2>&5
13781 ac_status=$?
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); } &&
13784 { ac_try='test -s conftest.$ac_objext'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13787 ac_status=$?
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; }; then
13790 ac_cv_type_char=yes
13791 else
13792 echo "$as_me: failed program was:" >&5
13793 sed 's/^/| /' conftest.$ac_ext >&5
13794
13795 ac_cv_type_char=no
13796 fi
13797 rm -f conftest.$ac_objext conftest.$ac_ext
13798 fi
13799 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13800 echo "${ECHO_T}$ac_cv_type_char" >&6
13801
13802 echo "$as_me:$LINENO: checking size of char" >&5
13803 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13804 if test "${ac_cv_sizeof_char+set}" = set; then
13805 echo $ECHO_N "(cached) $ECHO_C" >&6
13806 else
13807 if test "$ac_cv_type_char" = yes; then
13808 # The cast to unsigned long works around a bug in the HP C Compiler
13809 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13810 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13811 # This bug is HP SR number 8606223364.
13812 if test "$cross_compiling" = yes; then
13813 # Depending upon the size, compute the lo and hi bounds.
13814 cat >conftest.$ac_ext <<_ACEOF
13815 #line $LINENO "configure"
13816 /* confdefs.h. */
13817 _ACEOF
13818 cat confdefs.h >>conftest.$ac_ext
13819 cat >>conftest.$ac_ext <<_ACEOF
13820 /* end confdefs.h. */
13821 $ac_includes_default
13822 int
13823 main ()
13824 {
13825 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13826 test_array [0] = 0
13827
13828 ;
13829 return 0;
13830 }
13831 _ACEOF
13832 rm -f conftest.$ac_objext
13833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13834 (eval $ac_compile) 2>&5
13835 ac_status=$?
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); } &&
13838 { ac_try='test -s conftest.$ac_objext'
13839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840 (eval $ac_try) 2>&5
13841 ac_status=$?
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); }; }; then
13844 ac_lo=0 ac_mid=0
13845 while :; do
13846 cat >conftest.$ac_ext <<_ACEOF
13847 #line $LINENO "configure"
13848 /* confdefs.h. */
13849 _ACEOF
13850 cat confdefs.h >>conftest.$ac_ext
13851 cat >>conftest.$ac_ext <<_ACEOF
13852 /* end confdefs.h. */
13853 $ac_includes_default
13854 int
13855 main ()
13856 {
13857 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13858 test_array [0] = 0
13859
13860 ;
13861 return 0;
13862 }
13863 _ACEOF
13864 rm -f conftest.$ac_objext
13865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13866 (eval $ac_compile) 2>&5
13867 ac_status=$?
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); } &&
13870 { ac_try='test -s conftest.$ac_objext'
13871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13872 (eval $ac_try) 2>&5
13873 ac_status=$?
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; }; then
13876 ac_hi=$ac_mid; break
13877 else
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.$ac_ext >&5
13880
13881 ac_lo=`expr $ac_mid + 1`
13882 if test $ac_lo -le $ac_mid; then
13883 ac_lo= ac_hi=
13884 break
13885 fi
13886 ac_mid=`expr 2 '*' $ac_mid + 1`
13887 fi
13888 rm -f conftest.$ac_objext conftest.$ac_ext
13889 done
13890 else
13891 echo "$as_me: failed program was:" >&5
13892 sed 's/^/| /' conftest.$ac_ext >&5
13893
13894 cat >conftest.$ac_ext <<_ACEOF
13895 #line $LINENO "configure"
13896 /* confdefs.h. */
13897 _ACEOF
13898 cat confdefs.h >>conftest.$ac_ext
13899 cat >>conftest.$ac_ext <<_ACEOF
13900 /* end confdefs.h. */
13901 $ac_includes_default
13902 int
13903 main ()
13904 {
13905 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13906 test_array [0] = 0
13907
13908 ;
13909 return 0;
13910 }
13911 _ACEOF
13912 rm -f conftest.$ac_objext
13913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13914 (eval $ac_compile) 2>&5
13915 ac_status=$?
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } &&
13918 { ac_try='test -s conftest.$ac_objext'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13921 ac_status=$?
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; }; then
13924 ac_hi=-1 ac_mid=-1
13925 while :; do
13926 cat >conftest.$ac_ext <<_ACEOF
13927 #line $LINENO "configure"
13928 /* confdefs.h. */
13929 _ACEOF
13930 cat confdefs.h >>conftest.$ac_ext
13931 cat >>conftest.$ac_ext <<_ACEOF
13932 /* end confdefs.h. */
13933 $ac_includes_default
13934 int
13935 main ()
13936 {
13937 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13938 test_array [0] = 0
13939
13940 ;
13941 return 0;
13942 }
13943 _ACEOF
13944 rm -f conftest.$ac_objext
13945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13946 (eval $ac_compile) 2>&5
13947 ac_status=$?
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); } &&
13950 { ac_try='test -s conftest.$ac_objext'
13951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13952 (eval $ac_try) 2>&5
13953 ac_status=$?
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); }; }; then
13956 ac_lo=$ac_mid; break
13957 else
13958 echo "$as_me: failed program was:" >&5
13959 sed 's/^/| /' conftest.$ac_ext >&5
13960
13961 ac_hi=`expr '(' $ac_mid ')' - 1`
13962 if test $ac_mid -le $ac_hi; then
13963 ac_lo= ac_hi=
13964 break
13965 fi
13966 ac_mid=`expr 2 '*' $ac_mid`
13967 fi
13968 rm -f conftest.$ac_objext conftest.$ac_ext
13969 done
13970 else
13971 echo "$as_me: failed program was:" >&5
13972 sed 's/^/| /' conftest.$ac_ext >&5
13973
13974 ac_lo= ac_hi=
13975 fi
13976 rm -f conftest.$ac_objext conftest.$ac_ext
13977 fi
13978 rm -f conftest.$ac_objext conftest.$ac_ext
13979 # Binary search between lo and hi bounds.
13980 while test "x$ac_lo" != "x$ac_hi"; do
13981 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13982 cat >conftest.$ac_ext <<_ACEOF
13983 #line $LINENO "configure"
13984 /* confdefs.h. */
13985 _ACEOF
13986 cat confdefs.h >>conftest.$ac_ext
13987 cat >>conftest.$ac_ext <<_ACEOF
13988 /* end confdefs.h. */
13989 $ac_includes_default
13990 int
13991 main ()
13992 {
13993 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13994 test_array [0] = 0
13995
13996 ;
13997 return 0;
13998 }
13999 _ACEOF
14000 rm -f conftest.$ac_objext
14001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14002 (eval $ac_compile) 2>&5
14003 ac_status=$?
14004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14005 (exit $ac_status); } &&
14006 { ac_try='test -s conftest.$ac_objext'
14007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14008 (eval $ac_try) 2>&5
14009 ac_status=$?
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); }; }; then
14012 ac_hi=$ac_mid
14013 else
14014 echo "$as_me: failed program was:" >&5
14015 sed 's/^/| /' conftest.$ac_ext >&5
14016
14017 ac_lo=`expr '(' $ac_mid ')' + 1`
14018 fi
14019 rm -f conftest.$ac_objext conftest.$ac_ext
14020 done
14021 case $ac_lo in
14022 ?*) ac_cv_sizeof_char=$ac_lo;;
14023 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14024 See \`config.log' for more details." >&5
14025 echo "$as_me: error: cannot compute sizeof (char), 77
14026 See \`config.log' for more details." >&2;}
14027 { (exit 1); exit 1; }; } ;;
14028 esac
14029 else
14030 if test "$cross_compiling" = yes; then
14031 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14032 See \`config.log' for more details." >&5
14033 echo "$as_me: error: cannot run test program while cross compiling
14034 See \`config.log' for more details." >&2;}
14035 { (exit 1); exit 1; }; }
14036 else
14037 cat >conftest.$ac_ext <<_ACEOF
14038 #line $LINENO "configure"
14039 /* confdefs.h. */
14040 _ACEOF
14041 cat confdefs.h >>conftest.$ac_ext
14042 cat >>conftest.$ac_ext <<_ACEOF
14043 /* end confdefs.h. */
14044 $ac_includes_default
14045 long longval () { return (long) (sizeof (char)); }
14046 unsigned long ulongval () { return (long) (sizeof (char)); }
14047 #include <stdio.h>
14048 #include <stdlib.h>
14049 int
14050 main ()
14051 {
14052
14053 FILE *f = fopen ("conftest.val", "w");
14054 if (! f)
14055 exit (1);
14056 if (((long) (sizeof (char))) < 0)
14057 {
14058 long i = longval ();
14059 if (i != ((long) (sizeof (char))))
14060 exit (1);
14061 fprintf (f, "%ld\n", i);
14062 }
14063 else
14064 {
14065 unsigned long i = ulongval ();
14066 if (i != ((long) (sizeof (char))))
14067 exit (1);
14068 fprintf (f, "%lu\n", i);
14069 }
14070 exit (ferror (f) || fclose (f) != 0);
14071
14072 ;
14073 return 0;
14074 }
14075 _ACEOF
14076 rm -f conftest$ac_exeext
14077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14078 (eval $ac_link) 2>&5
14079 ac_status=$?
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14083 (eval $ac_try) 2>&5
14084 ac_status=$?
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); }; }; then
14087 ac_cv_sizeof_char=`cat conftest.val`
14088 else
14089 echo "$as_me: program exited with status $ac_status" >&5
14090 echo "$as_me: failed program was:" >&5
14091 sed 's/^/| /' conftest.$ac_ext >&5
14092
14093 ( exit $ac_status )
14094 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14095 See \`config.log' for more details." >&5
14096 echo "$as_me: error: cannot compute sizeof (char), 77
14097 See \`config.log' for more details." >&2;}
14098 { (exit 1); exit 1; }; }
14099 fi
14100 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14101 fi
14102 fi
14103 rm -f conftest.val
14104 else
14105 ac_cv_sizeof_char=0
14106 fi
14107 fi
14108 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14109 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14110 cat >>confdefs.h <<_ACEOF
14111 #define SIZEOF_CHAR $ac_cv_sizeof_char
14112 _ACEOF
14113
14114
14115 echo "$as_me:$LINENO: checking for short" >&5
14116 echo $ECHO_N "checking for short... $ECHO_C" >&6
14117 if test "${ac_cv_type_short+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14119 else
14120 cat >conftest.$ac_ext <<_ACEOF
14121 #line $LINENO "configure"
14122 /* confdefs.h. */
14123 _ACEOF
14124 cat confdefs.h >>conftest.$ac_ext
14125 cat >>conftest.$ac_ext <<_ACEOF
14126 /* end confdefs.h. */
14127 $ac_includes_default
14128 int
14129 main ()
14130 {
14131 if ((short *) 0)
14132 return 0;
14133 if (sizeof (short))
14134 return 0;
14135 ;
14136 return 0;
14137 }
14138 _ACEOF
14139 rm -f conftest.$ac_objext
14140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14141 (eval $ac_compile) 2>&5
14142 ac_status=$?
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); } &&
14145 { ac_try='test -s conftest.$ac_objext'
14146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14147 (eval $ac_try) 2>&5
14148 ac_status=$?
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }; }; then
14151 ac_cv_type_short=yes
14152 else
14153 echo "$as_me: failed program was:" >&5
14154 sed 's/^/| /' conftest.$ac_ext >&5
14155
14156 ac_cv_type_short=no
14157 fi
14158 rm -f conftest.$ac_objext conftest.$ac_ext
14159 fi
14160 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14161 echo "${ECHO_T}$ac_cv_type_short" >&6
14162
14163 echo "$as_me:$LINENO: checking size of short" >&5
14164 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14165 if test "${ac_cv_sizeof_short+set}" = set; then
14166 echo $ECHO_N "(cached) $ECHO_C" >&6
14167 else
14168 if test "$ac_cv_type_short" = yes; then
14169 # The cast to unsigned long works around a bug in the HP C Compiler
14170 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14171 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14172 # This bug is HP SR number 8606223364.
14173 if test "$cross_compiling" = yes; then
14174 # Depending upon the size, compute the lo and hi bounds.
14175 cat >conftest.$ac_ext <<_ACEOF
14176 #line $LINENO "configure"
14177 /* confdefs.h. */
14178 _ACEOF
14179 cat confdefs.h >>conftest.$ac_ext
14180 cat >>conftest.$ac_ext <<_ACEOF
14181 /* end confdefs.h. */
14182 $ac_includes_default
14183 int
14184 main ()
14185 {
14186 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14187 test_array [0] = 0
14188
14189 ;
14190 return 0;
14191 }
14192 _ACEOF
14193 rm -f conftest.$ac_objext
14194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14195 (eval $ac_compile) 2>&5
14196 ac_status=$?
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); } &&
14199 { ac_try='test -s conftest.$ac_objext'
14200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14201 (eval $ac_try) 2>&5
14202 ac_status=$?
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); }; }; then
14205 ac_lo=0 ac_mid=0
14206 while :; do
14207 cat >conftest.$ac_ext <<_ACEOF
14208 #line $LINENO "configure"
14209 /* confdefs.h. */
14210 _ACEOF
14211 cat confdefs.h >>conftest.$ac_ext
14212 cat >>conftest.$ac_ext <<_ACEOF
14213 /* end confdefs.h. */
14214 $ac_includes_default
14215 int
14216 main ()
14217 {
14218 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14219 test_array [0] = 0
14220
14221 ;
14222 return 0;
14223 }
14224 _ACEOF
14225 rm -f conftest.$ac_objext
14226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14227 (eval $ac_compile) 2>&5
14228 ac_status=$?
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } &&
14231 { ac_try='test -s conftest.$ac_objext'
14232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14233 (eval $ac_try) 2>&5
14234 ac_status=$?
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; }; then
14237 ac_hi=$ac_mid; break
14238 else
14239 echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.$ac_ext >&5
14241
14242 ac_lo=`expr $ac_mid + 1`
14243 if test $ac_lo -le $ac_mid; then
14244 ac_lo= ac_hi=
14245 break
14246 fi
14247 ac_mid=`expr 2 '*' $ac_mid + 1`
14248 fi
14249 rm -f conftest.$ac_objext conftest.$ac_ext
14250 done
14251 else
14252 echo "$as_me: failed program was:" >&5
14253 sed 's/^/| /' conftest.$ac_ext >&5
14254
14255 cat >conftest.$ac_ext <<_ACEOF
14256 #line $LINENO "configure"
14257 /* confdefs.h. */
14258 _ACEOF
14259 cat confdefs.h >>conftest.$ac_ext
14260 cat >>conftest.$ac_ext <<_ACEOF
14261 /* end confdefs.h. */
14262 $ac_includes_default
14263 int
14264 main ()
14265 {
14266 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14267 test_array [0] = 0
14268
14269 ;
14270 return 0;
14271 }
14272 _ACEOF
14273 rm -f conftest.$ac_objext
14274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14275 (eval $ac_compile) 2>&5
14276 ac_status=$?
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); } &&
14279 { ac_try='test -s conftest.$ac_objext'
14280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14281 (eval $ac_try) 2>&5
14282 ac_status=$?
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; }; then
14285 ac_hi=-1 ac_mid=-1
14286 while :; do
14287 cat >conftest.$ac_ext <<_ACEOF
14288 #line $LINENO "configure"
14289 /* confdefs.h. */
14290 _ACEOF
14291 cat confdefs.h >>conftest.$ac_ext
14292 cat >>conftest.$ac_ext <<_ACEOF
14293 /* end confdefs.h. */
14294 $ac_includes_default
14295 int
14296 main ()
14297 {
14298 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14299 test_array [0] = 0
14300
14301 ;
14302 return 0;
14303 }
14304 _ACEOF
14305 rm -f conftest.$ac_objext
14306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14307 (eval $ac_compile) 2>&5
14308 ac_status=$?
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } &&
14311 { ac_try='test -s conftest.$ac_objext'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14314 ac_status=$?
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; }; then
14317 ac_lo=$ac_mid; break
14318 else
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.$ac_ext >&5
14321
14322 ac_hi=`expr '(' $ac_mid ')' - 1`
14323 if test $ac_mid -le $ac_hi; then
14324 ac_lo= ac_hi=
14325 break
14326 fi
14327 ac_mid=`expr 2 '*' $ac_mid`
14328 fi
14329 rm -f conftest.$ac_objext conftest.$ac_ext
14330 done
14331 else
14332 echo "$as_me: failed program was:" >&5
14333 sed 's/^/| /' conftest.$ac_ext >&5
14334
14335 ac_lo= ac_hi=
14336 fi
14337 rm -f conftest.$ac_objext conftest.$ac_ext
14338 fi
14339 rm -f conftest.$ac_objext conftest.$ac_ext
14340 # Binary search between lo and hi bounds.
14341 while test "x$ac_lo" != "x$ac_hi"; do
14342 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14343 cat >conftest.$ac_ext <<_ACEOF
14344 #line $LINENO "configure"
14345 /* confdefs.h. */
14346 _ACEOF
14347 cat confdefs.h >>conftest.$ac_ext
14348 cat >>conftest.$ac_ext <<_ACEOF
14349 /* end confdefs.h. */
14350 $ac_includes_default
14351 int
14352 main ()
14353 {
14354 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14355 test_array [0] = 0
14356
14357 ;
14358 return 0;
14359 }
14360 _ACEOF
14361 rm -f conftest.$ac_objext
14362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14363 (eval $ac_compile) 2>&5
14364 ac_status=$?
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } &&
14367 { ac_try='test -s conftest.$ac_objext'
14368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14369 (eval $ac_try) 2>&5
14370 ac_status=$?
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; }; then
14373 ac_hi=$ac_mid
14374 else
14375 echo "$as_me: failed program was:" >&5
14376 sed 's/^/| /' conftest.$ac_ext >&5
14377
14378 ac_lo=`expr '(' $ac_mid ')' + 1`
14379 fi
14380 rm -f conftest.$ac_objext conftest.$ac_ext
14381 done
14382 case $ac_lo in
14383 ?*) ac_cv_sizeof_short=$ac_lo;;
14384 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14385 See \`config.log' for more details." >&5
14386 echo "$as_me: error: cannot compute sizeof (short), 77
14387 See \`config.log' for more details." >&2;}
14388 { (exit 1); exit 1; }; } ;;
14389 esac
14390 else
14391 if test "$cross_compiling" = yes; then
14392 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14393 See \`config.log' for more details." >&5
14394 echo "$as_me: error: cannot run test program while cross compiling
14395 See \`config.log' for more details." >&2;}
14396 { (exit 1); exit 1; }; }
14397 else
14398 cat >conftest.$ac_ext <<_ACEOF
14399 #line $LINENO "configure"
14400 /* confdefs.h. */
14401 _ACEOF
14402 cat confdefs.h >>conftest.$ac_ext
14403 cat >>conftest.$ac_ext <<_ACEOF
14404 /* end confdefs.h. */
14405 $ac_includes_default
14406 long longval () { return (long) (sizeof (short)); }
14407 unsigned long ulongval () { return (long) (sizeof (short)); }
14408 #include <stdio.h>
14409 #include <stdlib.h>
14410 int
14411 main ()
14412 {
14413
14414 FILE *f = fopen ("conftest.val", "w");
14415 if (! f)
14416 exit (1);
14417 if (((long) (sizeof (short))) < 0)
14418 {
14419 long i = longval ();
14420 if (i != ((long) (sizeof (short))))
14421 exit (1);
14422 fprintf (f, "%ld\n", i);
14423 }
14424 else
14425 {
14426 unsigned long i = ulongval ();
14427 if (i != ((long) (sizeof (short))))
14428 exit (1);
14429 fprintf (f, "%lu\n", i);
14430 }
14431 exit (ferror (f) || fclose (f) != 0);
14432
14433 ;
14434 return 0;
14435 }
14436 _ACEOF
14437 rm -f conftest$ac_exeext
14438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14439 (eval $ac_link) 2>&5
14440 ac_status=$?
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14444 (eval $ac_try) 2>&5
14445 ac_status=$?
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); }; }; then
14448 ac_cv_sizeof_short=`cat conftest.val`
14449 else
14450 echo "$as_me: program exited with status $ac_status" >&5
14451 echo "$as_me: failed program was:" >&5
14452 sed 's/^/| /' conftest.$ac_ext >&5
14453
14454 ( exit $ac_status )
14455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14456 See \`config.log' for more details." >&5
14457 echo "$as_me: error: cannot compute sizeof (short), 77
14458 See \`config.log' for more details." >&2;}
14459 { (exit 1); exit 1; }; }
14460 fi
14461 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14462 fi
14463 fi
14464 rm -f conftest.val
14465 else
14466 ac_cv_sizeof_short=0
14467 fi
14468 fi
14469 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14470 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14471 cat >>confdefs.h <<_ACEOF
14472 #define SIZEOF_SHORT $ac_cv_sizeof_short
14473 _ACEOF
14474
14475
14476 echo "$as_me:$LINENO: checking for void *" >&5
14477 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14478 if test "${ac_cv_type_void_p+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 else
14481 cat >conftest.$ac_ext <<_ACEOF
14482 #line $LINENO "configure"
14483 /* confdefs.h. */
14484 _ACEOF
14485 cat confdefs.h >>conftest.$ac_ext
14486 cat >>conftest.$ac_ext <<_ACEOF
14487 /* end confdefs.h. */
14488 $ac_includes_default
14489 int
14490 main ()
14491 {
14492 if ((void * *) 0)
14493 return 0;
14494 if (sizeof (void *))
14495 return 0;
14496 ;
14497 return 0;
14498 }
14499 _ACEOF
14500 rm -f conftest.$ac_objext
14501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14502 (eval $ac_compile) 2>&5
14503 ac_status=$?
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } &&
14506 { ac_try='test -s conftest.$ac_objext'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14509 ac_status=$?
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; }; then
14512 ac_cv_type_void_p=yes
14513 else
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14516
14517 ac_cv_type_void_p=no
14518 fi
14519 rm -f conftest.$ac_objext conftest.$ac_ext
14520 fi
14521 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14522 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14523
14524 echo "$as_me:$LINENO: checking size of void *" >&5
14525 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14526 if test "${ac_cv_sizeof_void_p+set}" = set; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14528 else
14529 if test "$ac_cv_type_void_p" = yes; then
14530 # The cast to unsigned long works around a bug in the HP C Compiler
14531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14533 # This bug is HP SR number 8606223364.
14534 if test "$cross_compiling" = yes; then
14535 # Depending upon the size, compute the lo and hi bounds.
14536 cat >conftest.$ac_ext <<_ACEOF
14537 #line $LINENO "configure"
14538 /* confdefs.h. */
14539 _ACEOF
14540 cat confdefs.h >>conftest.$ac_ext
14541 cat >>conftest.$ac_ext <<_ACEOF
14542 /* end confdefs.h. */
14543 $ac_includes_default
14544 int
14545 main ()
14546 {
14547 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14548 test_array [0] = 0
14549
14550 ;
14551 return 0;
14552 }
14553 _ACEOF
14554 rm -f conftest.$ac_objext
14555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14556 (eval $ac_compile) 2>&5
14557 ac_status=$?
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); } &&
14560 { ac_try='test -s conftest.$ac_objext'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14563 ac_status=$?
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; }; then
14566 ac_lo=0 ac_mid=0
14567 while :; do
14568 cat >conftest.$ac_ext <<_ACEOF
14569 #line $LINENO "configure"
14570 /* confdefs.h. */
14571 _ACEOF
14572 cat confdefs.h >>conftest.$ac_ext
14573 cat >>conftest.$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14575 $ac_includes_default
14576 int
14577 main ()
14578 {
14579 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14580 test_array [0] = 0
14581
14582 ;
14583 return 0;
14584 }
14585 _ACEOF
14586 rm -f conftest.$ac_objext
14587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14588 (eval $ac_compile) 2>&5
14589 ac_status=$?
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } &&
14592 { ac_try='test -s conftest.$ac_objext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14598 ac_hi=$ac_mid; break
14599 else
14600 echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.$ac_ext >&5
14602
14603 ac_lo=`expr $ac_mid + 1`
14604 if test $ac_lo -le $ac_mid; then
14605 ac_lo= ac_hi=
14606 break
14607 fi
14608 ac_mid=`expr 2 '*' $ac_mid + 1`
14609 fi
14610 rm -f conftest.$ac_objext conftest.$ac_ext
14611 done
14612 else
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14615
14616 cat >conftest.$ac_ext <<_ACEOF
14617 #line $LINENO "configure"
14618 /* confdefs.h. */
14619 _ACEOF
14620 cat confdefs.h >>conftest.$ac_ext
14621 cat >>conftest.$ac_ext <<_ACEOF
14622 /* end confdefs.h. */
14623 $ac_includes_default
14624 int
14625 main ()
14626 {
14627 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14628 test_array [0] = 0
14629
14630 ;
14631 return 0;
14632 }
14633 _ACEOF
14634 rm -f conftest.$ac_objext
14635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14636 (eval $ac_compile) 2>&5
14637 ac_status=$?
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } &&
14640 { ac_try='test -s conftest.$ac_objext'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14643 ac_status=$?
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; }; then
14646 ac_hi=-1 ac_mid=-1
14647 while :; do
14648 cat >conftest.$ac_ext <<_ACEOF
14649 #line $LINENO "configure"
14650 /* confdefs.h. */
14651 _ACEOF
14652 cat confdefs.h >>conftest.$ac_ext
14653 cat >>conftest.$ac_ext <<_ACEOF
14654 /* end confdefs.h. */
14655 $ac_includes_default
14656 int
14657 main ()
14658 {
14659 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14660 test_array [0] = 0
14661
14662 ;
14663 return 0;
14664 }
14665 _ACEOF
14666 rm -f conftest.$ac_objext
14667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14668 (eval $ac_compile) 2>&5
14669 ac_status=$?
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } &&
14672 { ac_try='test -s conftest.$ac_objext'
14673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14674 (eval $ac_try) 2>&5
14675 ac_status=$?
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); }; }; then
14678 ac_lo=$ac_mid; break
14679 else
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14682
14683 ac_hi=`expr '(' $ac_mid ')' - 1`
14684 if test $ac_mid -le $ac_hi; then
14685 ac_lo= ac_hi=
14686 break
14687 fi
14688 ac_mid=`expr 2 '*' $ac_mid`
14689 fi
14690 rm -f conftest.$ac_objext conftest.$ac_ext
14691 done
14692 else
14693 echo "$as_me: failed program was:" >&5
14694 sed 's/^/| /' conftest.$ac_ext >&5
14695
14696 ac_lo= ac_hi=
14697 fi
14698 rm -f conftest.$ac_objext conftest.$ac_ext
14699 fi
14700 rm -f conftest.$ac_objext conftest.$ac_ext
14701 # Binary search between lo and hi bounds.
14702 while test "x$ac_lo" != "x$ac_hi"; do
14703 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14704 cat >conftest.$ac_ext <<_ACEOF
14705 #line $LINENO "configure"
14706 /* confdefs.h. */
14707 _ACEOF
14708 cat confdefs.h >>conftest.$ac_ext
14709 cat >>conftest.$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14711 $ac_includes_default
14712 int
14713 main ()
14714 {
14715 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14716 test_array [0] = 0
14717
14718 ;
14719 return 0;
14720 }
14721 _ACEOF
14722 rm -f conftest.$ac_objext
14723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14724 (eval $ac_compile) 2>&5
14725 ac_status=$?
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); } &&
14728 { ac_try='test -s conftest.$ac_objext'
14729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14730 (eval $ac_try) 2>&5
14731 ac_status=$?
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); }; }; then
14734 ac_hi=$ac_mid
14735 else
14736 echo "$as_me: failed program was:" >&5
14737 sed 's/^/| /' conftest.$ac_ext >&5
14738
14739 ac_lo=`expr '(' $ac_mid ')' + 1`
14740 fi
14741 rm -f conftest.$ac_objext conftest.$ac_ext
14742 done
14743 case $ac_lo in
14744 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14745 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14746 See \`config.log' for more details." >&5
14747 echo "$as_me: error: cannot compute sizeof (void *), 77
14748 See \`config.log' for more details." >&2;}
14749 { (exit 1); exit 1; }; } ;;
14750 esac
14751 else
14752 if test "$cross_compiling" = yes; then
14753 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14754 See \`config.log' for more details." >&5
14755 echo "$as_me: error: cannot run test program while cross compiling
14756 See \`config.log' for more details." >&2;}
14757 { (exit 1); exit 1; }; }
14758 else
14759 cat >conftest.$ac_ext <<_ACEOF
14760 #line $LINENO "configure"
14761 /* confdefs.h. */
14762 _ACEOF
14763 cat confdefs.h >>conftest.$ac_ext
14764 cat >>conftest.$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14766 $ac_includes_default
14767 long longval () { return (long) (sizeof (void *)); }
14768 unsigned long ulongval () { return (long) (sizeof (void *)); }
14769 #include <stdio.h>
14770 #include <stdlib.h>
14771 int
14772 main ()
14773 {
14774
14775 FILE *f = fopen ("conftest.val", "w");
14776 if (! f)
14777 exit (1);
14778 if (((long) (sizeof (void *))) < 0)
14779 {
14780 long i = longval ();
14781 if (i != ((long) (sizeof (void *))))
14782 exit (1);
14783 fprintf (f, "%ld\n", i);
14784 }
14785 else
14786 {
14787 unsigned long i = ulongval ();
14788 if (i != ((long) (sizeof (void *))))
14789 exit (1);
14790 fprintf (f, "%lu\n", i);
14791 }
14792 exit (ferror (f) || fclose (f) != 0);
14793
14794 ;
14795 return 0;
14796 }
14797 _ACEOF
14798 rm -f conftest$ac_exeext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800 (eval $ac_link) 2>&5
14801 ac_status=$?
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14805 (eval $ac_try) 2>&5
14806 ac_status=$?
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); }; }; then
14809 ac_cv_sizeof_void_p=`cat conftest.val`
14810 else
14811 echo "$as_me: program exited with status $ac_status" >&5
14812 echo "$as_me: failed program was:" >&5
14813 sed 's/^/| /' conftest.$ac_ext >&5
14814
14815 ( exit $ac_status )
14816 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14817 See \`config.log' for more details." >&5
14818 echo "$as_me: error: cannot compute sizeof (void *), 77
14819 See \`config.log' for more details." >&2;}
14820 { (exit 1); exit 1; }; }
14821 fi
14822 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14823 fi
14824 fi
14825 rm -f conftest.val
14826 else
14827 ac_cv_sizeof_void_p=0
14828 fi
14829 fi
14830 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14831 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14832 cat >>confdefs.h <<_ACEOF
14833 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14834 _ACEOF
14835
14836
14837 echo "$as_me:$LINENO: checking for int" >&5
14838 echo $ECHO_N "checking for int... $ECHO_C" >&6
14839 if test "${ac_cv_type_int+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14841 else
14842 cat >conftest.$ac_ext <<_ACEOF
14843 #line $LINENO "configure"
14844 /* confdefs.h. */
14845 _ACEOF
14846 cat confdefs.h >>conftest.$ac_ext
14847 cat >>conftest.$ac_ext <<_ACEOF
14848 /* end confdefs.h. */
14849 $ac_includes_default
14850 int
14851 main ()
14852 {
14853 if ((int *) 0)
14854 return 0;
14855 if (sizeof (int))
14856 return 0;
14857 ;
14858 return 0;
14859 }
14860 _ACEOF
14861 rm -f conftest.$ac_objext
14862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14863 (eval $ac_compile) 2>&5
14864 ac_status=$?
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); } &&
14867 { ac_try='test -s conftest.$ac_objext'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14870 ac_status=$?
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14873 ac_cv_type_int=yes
14874 else
14875 echo "$as_me: failed program was:" >&5
14876 sed 's/^/| /' conftest.$ac_ext >&5
14877
14878 ac_cv_type_int=no
14879 fi
14880 rm -f conftest.$ac_objext conftest.$ac_ext
14881 fi
14882 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14883 echo "${ECHO_T}$ac_cv_type_int" >&6
14884
14885 echo "$as_me:$LINENO: checking size of int" >&5
14886 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14887 if test "${ac_cv_sizeof_int+set}" = set; then
14888 echo $ECHO_N "(cached) $ECHO_C" >&6
14889 else
14890 if test "$ac_cv_type_int" = yes; then
14891 # The cast to unsigned long works around a bug in the HP C Compiler
14892 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14893 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14894 # This bug is HP SR number 8606223364.
14895 if test "$cross_compiling" = yes; then
14896 # Depending upon the size, compute the lo and hi bounds.
14897 cat >conftest.$ac_ext <<_ACEOF
14898 #line $LINENO "configure"
14899 /* confdefs.h. */
14900 _ACEOF
14901 cat confdefs.h >>conftest.$ac_ext
14902 cat >>conftest.$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 $ac_includes_default
14905 int
14906 main ()
14907 {
14908 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14909 test_array [0] = 0
14910
14911 ;
14912 return 0;
14913 }
14914 _ACEOF
14915 rm -f conftest.$ac_objext
14916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14917 (eval $ac_compile) 2>&5
14918 ac_status=$?
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } &&
14921 { ac_try='test -s conftest.$ac_objext'
14922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14923 (eval $ac_try) 2>&5
14924 ac_status=$?
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); }; }; then
14927 ac_lo=0 ac_mid=0
14928 while :; do
14929 cat >conftest.$ac_ext <<_ACEOF
14930 #line $LINENO "configure"
14931 /* confdefs.h. */
14932 _ACEOF
14933 cat confdefs.h >>conftest.$ac_ext
14934 cat >>conftest.$ac_ext <<_ACEOF
14935 /* end confdefs.h. */
14936 $ac_includes_default
14937 int
14938 main ()
14939 {
14940 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14941 test_array [0] = 0
14942
14943 ;
14944 return 0;
14945 }
14946 _ACEOF
14947 rm -f conftest.$ac_objext
14948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14949 (eval $ac_compile) 2>&5
14950 ac_status=$?
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); } &&
14953 { ac_try='test -s conftest.$ac_objext'
14954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14955 (eval $ac_try) 2>&5
14956 ac_status=$?
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }; }; then
14959 ac_hi=$ac_mid; break
14960 else
14961 echo "$as_me: failed program was:" >&5
14962 sed 's/^/| /' conftest.$ac_ext >&5
14963
14964 ac_lo=`expr $ac_mid + 1`
14965 if test $ac_lo -le $ac_mid; then
14966 ac_lo= ac_hi=
14967 break
14968 fi
14969 ac_mid=`expr 2 '*' $ac_mid + 1`
14970 fi
14971 rm -f conftest.$ac_objext conftest.$ac_ext
14972 done
14973 else
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14976
14977 cat >conftest.$ac_ext <<_ACEOF
14978 #line $LINENO "configure"
14979 /* confdefs.h. */
14980 _ACEOF
14981 cat confdefs.h >>conftest.$ac_ext
14982 cat >>conftest.$ac_ext <<_ACEOF
14983 /* end confdefs.h. */
14984 $ac_includes_default
14985 int
14986 main ()
14987 {
14988 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14989 test_array [0] = 0
14990
14991 ;
14992 return 0;
14993 }
14994 _ACEOF
14995 rm -f conftest.$ac_objext
14996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14997 (eval $ac_compile) 2>&5
14998 ac_status=$?
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); } &&
15001 { ac_try='test -s conftest.$ac_objext'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15004 ac_status=$?
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; }; then
15007 ac_hi=-1 ac_mid=-1
15008 while :; do
15009 cat >conftest.$ac_ext <<_ACEOF
15010 #line $LINENO "configure"
15011 /* confdefs.h. */
15012 _ACEOF
15013 cat confdefs.h >>conftest.$ac_ext
15014 cat >>conftest.$ac_ext <<_ACEOF
15015 /* end confdefs.h. */
15016 $ac_includes_default
15017 int
15018 main ()
15019 {
15020 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15021 test_array [0] = 0
15022
15023 ;
15024 return 0;
15025 }
15026 _ACEOF
15027 rm -f conftest.$ac_objext
15028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15029 (eval $ac_compile) 2>&5
15030 ac_status=$?
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } &&
15033 { ac_try='test -s conftest.$ac_objext'
15034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15035 (eval $ac_try) 2>&5
15036 ac_status=$?
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); }; }; then
15039 ac_lo=$ac_mid; break
15040 else
15041 echo "$as_me: failed program was:" >&5
15042 sed 's/^/| /' conftest.$ac_ext >&5
15043
15044 ac_hi=`expr '(' $ac_mid ')' - 1`
15045 if test $ac_mid -le $ac_hi; then
15046 ac_lo= ac_hi=
15047 break
15048 fi
15049 ac_mid=`expr 2 '*' $ac_mid`
15050 fi
15051 rm -f conftest.$ac_objext conftest.$ac_ext
15052 done
15053 else
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15056
15057 ac_lo= ac_hi=
15058 fi
15059 rm -f conftest.$ac_objext conftest.$ac_ext
15060 fi
15061 rm -f conftest.$ac_objext conftest.$ac_ext
15062 # Binary search between lo and hi bounds.
15063 while test "x$ac_lo" != "x$ac_hi"; do
15064 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15065 cat >conftest.$ac_ext <<_ACEOF
15066 #line $LINENO "configure"
15067 /* confdefs.h. */
15068 _ACEOF
15069 cat confdefs.h >>conftest.$ac_ext
15070 cat >>conftest.$ac_ext <<_ACEOF
15071 /* end confdefs.h. */
15072 $ac_includes_default
15073 int
15074 main ()
15075 {
15076 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15077 test_array [0] = 0
15078
15079 ;
15080 return 0;
15081 }
15082 _ACEOF
15083 rm -f conftest.$ac_objext
15084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15085 (eval $ac_compile) 2>&5
15086 ac_status=$?
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); } &&
15089 { ac_try='test -s conftest.$ac_objext'
15090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091 (eval $ac_try) 2>&5
15092 ac_status=$?
15093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094 (exit $ac_status); }; }; then
15095 ac_hi=$ac_mid
15096 else
15097 echo "$as_me: failed program was:" >&5
15098 sed 's/^/| /' conftest.$ac_ext >&5
15099
15100 ac_lo=`expr '(' $ac_mid ')' + 1`
15101 fi
15102 rm -f conftest.$ac_objext conftest.$ac_ext
15103 done
15104 case $ac_lo in
15105 ?*) ac_cv_sizeof_int=$ac_lo;;
15106 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15107 See \`config.log' for more details." >&5
15108 echo "$as_me: error: cannot compute sizeof (int), 77
15109 See \`config.log' for more details." >&2;}
15110 { (exit 1); exit 1; }; } ;;
15111 esac
15112 else
15113 if test "$cross_compiling" = yes; then
15114 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15115 See \`config.log' for more details." >&5
15116 echo "$as_me: error: cannot run test program while cross compiling
15117 See \`config.log' for more details." >&2;}
15118 { (exit 1); exit 1; }; }
15119 else
15120 cat >conftest.$ac_ext <<_ACEOF
15121 #line $LINENO "configure"
15122 /* confdefs.h. */
15123 _ACEOF
15124 cat confdefs.h >>conftest.$ac_ext
15125 cat >>conftest.$ac_ext <<_ACEOF
15126 /* end confdefs.h. */
15127 $ac_includes_default
15128 long longval () { return (long) (sizeof (int)); }
15129 unsigned long ulongval () { return (long) (sizeof (int)); }
15130 #include <stdio.h>
15131 #include <stdlib.h>
15132 int
15133 main ()
15134 {
15135
15136 FILE *f = fopen ("conftest.val", "w");
15137 if (! f)
15138 exit (1);
15139 if (((long) (sizeof (int))) < 0)
15140 {
15141 long i = longval ();
15142 if (i != ((long) (sizeof (int))))
15143 exit (1);
15144 fprintf (f, "%ld\n", i);
15145 }
15146 else
15147 {
15148 unsigned long i = ulongval ();
15149 if (i != ((long) (sizeof (int))))
15150 exit (1);
15151 fprintf (f, "%lu\n", i);
15152 }
15153 exit (ferror (f) || fclose (f) != 0);
15154
15155 ;
15156 return 0;
15157 }
15158 _ACEOF
15159 rm -f conftest$ac_exeext
15160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15161 (eval $ac_link) 2>&5
15162 ac_status=$?
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15166 (eval $ac_try) 2>&5
15167 ac_status=$?
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); }; }; then
15170 ac_cv_sizeof_int=`cat conftest.val`
15171 else
15172 echo "$as_me: program exited with status $ac_status" >&5
15173 echo "$as_me: failed program was:" >&5
15174 sed 's/^/| /' conftest.$ac_ext >&5
15175
15176 ( exit $ac_status )
15177 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15178 See \`config.log' for more details." >&5
15179 echo "$as_me: error: cannot compute sizeof (int), 77
15180 See \`config.log' for more details." >&2;}
15181 { (exit 1); exit 1; }; }
15182 fi
15183 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15184 fi
15185 fi
15186 rm -f conftest.val
15187 else
15188 ac_cv_sizeof_int=0
15189 fi
15190 fi
15191 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15192 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15193 cat >>confdefs.h <<_ACEOF
15194 #define SIZEOF_INT $ac_cv_sizeof_int
15195 _ACEOF
15196
15197
15198 echo "$as_me:$LINENO: checking for long" >&5
15199 echo $ECHO_N "checking for long... $ECHO_C" >&6
15200 if test "${ac_cv_type_long+set}" = set; then
15201 echo $ECHO_N "(cached) $ECHO_C" >&6
15202 else
15203 cat >conftest.$ac_ext <<_ACEOF
15204 #line $LINENO "configure"
15205 /* confdefs.h. */
15206 _ACEOF
15207 cat confdefs.h >>conftest.$ac_ext
15208 cat >>conftest.$ac_ext <<_ACEOF
15209 /* end confdefs.h. */
15210 $ac_includes_default
15211 int
15212 main ()
15213 {
15214 if ((long *) 0)
15215 return 0;
15216 if (sizeof (long))
15217 return 0;
15218 ;
15219 return 0;
15220 }
15221 _ACEOF
15222 rm -f conftest.$ac_objext
15223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15224 (eval $ac_compile) 2>&5
15225 ac_status=$?
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } &&
15228 { ac_try='test -s conftest.$ac_objext'
15229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15230 (eval $ac_try) 2>&5
15231 ac_status=$?
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); }; }; then
15234 ac_cv_type_long=yes
15235 else
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.$ac_ext >&5
15238
15239 ac_cv_type_long=no
15240 fi
15241 rm -f conftest.$ac_objext conftest.$ac_ext
15242 fi
15243 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15244 echo "${ECHO_T}$ac_cv_type_long" >&6
15245
15246 echo "$as_me:$LINENO: checking size of long" >&5
15247 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15248 if test "${ac_cv_sizeof_long+set}" = set; then
15249 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 else
15251 if test "$ac_cv_type_long" = yes; then
15252 # The cast to unsigned long works around a bug in the HP C Compiler
15253 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15254 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15255 # This bug is HP SR number 8606223364.
15256 if test "$cross_compiling" = yes; then
15257 # Depending upon the size, compute the lo and hi bounds.
15258 cat >conftest.$ac_ext <<_ACEOF
15259 #line $LINENO "configure"
15260 /* confdefs.h. */
15261 _ACEOF
15262 cat confdefs.h >>conftest.$ac_ext
15263 cat >>conftest.$ac_ext <<_ACEOF
15264 /* end confdefs.h. */
15265 $ac_includes_default
15266 int
15267 main ()
15268 {
15269 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15270 test_array [0] = 0
15271
15272 ;
15273 return 0;
15274 }
15275 _ACEOF
15276 rm -f conftest.$ac_objext
15277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15278 (eval $ac_compile) 2>&5
15279 ac_status=$?
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); } &&
15282 { ac_try='test -s conftest.$ac_objext'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15285 ac_status=$?
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; }; then
15288 ac_lo=0 ac_mid=0
15289 while :; do
15290 cat >conftest.$ac_ext <<_ACEOF
15291 #line $LINENO "configure"
15292 /* confdefs.h. */
15293 _ACEOF
15294 cat confdefs.h >>conftest.$ac_ext
15295 cat >>conftest.$ac_ext <<_ACEOF
15296 /* end confdefs.h. */
15297 $ac_includes_default
15298 int
15299 main ()
15300 {
15301 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15302 test_array [0] = 0
15303
15304 ;
15305 return 0;
15306 }
15307 _ACEOF
15308 rm -f conftest.$ac_objext
15309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15310 (eval $ac_compile) 2>&5
15311 ac_status=$?
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); } &&
15314 { ac_try='test -s conftest.$ac_objext'
15315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316 (eval $ac_try) 2>&5
15317 ac_status=$?
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); }; }; then
15320 ac_hi=$ac_mid; break
15321 else
15322 echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.$ac_ext >&5
15324
15325 ac_lo=`expr $ac_mid + 1`
15326 if test $ac_lo -le $ac_mid; then
15327 ac_lo= ac_hi=
15328 break
15329 fi
15330 ac_mid=`expr 2 '*' $ac_mid + 1`
15331 fi
15332 rm -f conftest.$ac_objext conftest.$ac_ext
15333 done
15334 else
15335 echo "$as_me: failed program was:" >&5
15336 sed 's/^/| /' conftest.$ac_ext >&5
15337
15338 cat >conftest.$ac_ext <<_ACEOF
15339 #line $LINENO "configure"
15340 /* confdefs.h. */
15341 _ACEOF
15342 cat confdefs.h >>conftest.$ac_ext
15343 cat >>conftest.$ac_ext <<_ACEOF
15344 /* end confdefs.h. */
15345 $ac_includes_default
15346 int
15347 main ()
15348 {
15349 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15350 test_array [0] = 0
15351
15352 ;
15353 return 0;
15354 }
15355 _ACEOF
15356 rm -f conftest.$ac_objext
15357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15358 (eval $ac_compile) 2>&5
15359 ac_status=$?
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } &&
15362 { ac_try='test -s conftest.$ac_objext'
15363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15364 (eval $ac_try) 2>&5
15365 ac_status=$?
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); }; }; then
15368 ac_hi=-1 ac_mid=-1
15369 while :; do
15370 cat >conftest.$ac_ext <<_ACEOF
15371 #line $LINENO "configure"
15372 /* confdefs.h. */
15373 _ACEOF
15374 cat confdefs.h >>conftest.$ac_ext
15375 cat >>conftest.$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15377 $ac_includes_default
15378 int
15379 main ()
15380 {
15381 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15382 test_array [0] = 0
15383
15384 ;
15385 return 0;
15386 }
15387 _ACEOF
15388 rm -f conftest.$ac_objext
15389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15390 (eval $ac_compile) 2>&5
15391 ac_status=$?
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } &&
15394 { ac_try='test -s conftest.$ac_objext'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15397 ac_status=$?
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; }; then
15400 ac_lo=$ac_mid; break
15401 else
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.$ac_ext >&5
15404
15405 ac_hi=`expr '(' $ac_mid ')' - 1`
15406 if test $ac_mid -le $ac_hi; then
15407 ac_lo= ac_hi=
15408 break
15409 fi
15410 ac_mid=`expr 2 '*' $ac_mid`
15411 fi
15412 rm -f conftest.$ac_objext conftest.$ac_ext
15413 done
15414 else
15415 echo "$as_me: failed program was:" >&5
15416 sed 's/^/| /' conftest.$ac_ext >&5
15417
15418 ac_lo= ac_hi=
15419 fi
15420 rm -f conftest.$ac_objext conftest.$ac_ext
15421 fi
15422 rm -f conftest.$ac_objext conftest.$ac_ext
15423 # Binary search between lo and hi bounds.
15424 while test "x$ac_lo" != "x$ac_hi"; do
15425 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15426 cat >conftest.$ac_ext <<_ACEOF
15427 #line $LINENO "configure"
15428 /* confdefs.h. */
15429 _ACEOF
15430 cat confdefs.h >>conftest.$ac_ext
15431 cat >>conftest.$ac_ext <<_ACEOF
15432 /* end confdefs.h. */
15433 $ac_includes_default
15434 int
15435 main ()
15436 {
15437 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15438 test_array [0] = 0
15439
15440 ;
15441 return 0;
15442 }
15443 _ACEOF
15444 rm -f conftest.$ac_objext
15445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15446 (eval $ac_compile) 2>&5
15447 ac_status=$?
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); } &&
15450 { ac_try='test -s conftest.$ac_objext'
15451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15452 (eval $ac_try) 2>&5
15453 ac_status=$?
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; }; then
15456 ac_hi=$ac_mid
15457 else
15458 echo "$as_me: failed program was:" >&5
15459 sed 's/^/| /' conftest.$ac_ext >&5
15460
15461 ac_lo=`expr '(' $ac_mid ')' + 1`
15462 fi
15463 rm -f conftest.$ac_objext conftest.$ac_ext
15464 done
15465 case $ac_lo in
15466 ?*) ac_cv_sizeof_long=$ac_lo;;
15467 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15468 See \`config.log' for more details." >&5
15469 echo "$as_me: error: cannot compute sizeof (long), 77
15470 See \`config.log' for more details." >&2;}
15471 { (exit 1); exit 1; }; } ;;
15472 esac
15473 else
15474 if test "$cross_compiling" = yes; then
15475 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15476 See \`config.log' for more details." >&5
15477 echo "$as_me: error: cannot run test program while cross compiling
15478 See \`config.log' for more details." >&2;}
15479 { (exit 1); exit 1; }; }
15480 else
15481 cat >conftest.$ac_ext <<_ACEOF
15482 #line $LINENO "configure"
15483 /* confdefs.h. */
15484 _ACEOF
15485 cat confdefs.h >>conftest.$ac_ext
15486 cat >>conftest.$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15488 $ac_includes_default
15489 long longval () { return (long) (sizeof (long)); }
15490 unsigned long ulongval () { return (long) (sizeof (long)); }
15491 #include <stdio.h>
15492 #include <stdlib.h>
15493 int
15494 main ()
15495 {
15496
15497 FILE *f = fopen ("conftest.val", "w");
15498 if (! f)
15499 exit (1);
15500 if (((long) (sizeof (long))) < 0)
15501 {
15502 long i = longval ();
15503 if (i != ((long) (sizeof (long))))
15504 exit (1);
15505 fprintf (f, "%ld\n", i);
15506 }
15507 else
15508 {
15509 unsigned long i = ulongval ();
15510 if (i != ((long) (sizeof (long))))
15511 exit (1);
15512 fprintf (f, "%lu\n", i);
15513 }
15514 exit (ferror (f) || fclose (f) != 0);
15515
15516 ;
15517 return 0;
15518 }
15519 _ACEOF
15520 rm -f conftest$ac_exeext
15521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15522 (eval $ac_link) 2>&5
15523 ac_status=$?
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15527 (eval $ac_try) 2>&5
15528 ac_status=$?
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); }; }; then
15531 ac_cv_sizeof_long=`cat conftest.val`
15532 else
15533 echo "$as_me: program exited with status $ac_status" >&5
15534 echo "$as_me: failed program was:" >&5
15535 sed 's/^/| /' conftest.$ac_ext >&5
15536
15537 ( exit $ac_status )
15538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15539 See \`config.log' for more details." >&5
15540 echo "$as_me: error: cannot compute sizeof (long), 77
15541 See \`config.log' for more details." >&2;}
15542 { (exit 1); exit 1; }; }
15543 fi
15544 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15545 fi
15546 fi
15547 rm -f conftest.val
15548 else
15549 ac_cv_sizeof_long=0
15550 fi
15551 fi
15552 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15553 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15554 cat >>confdefs.h <<_ACEOF
15555 #define SIZEOF_LONG $ac_cv_sizeof_long
15556 _ACEOF
15557
15558
15559
15560 case "${host}" in
15561 arm-*-linux* )
15562 echo "$as_me:$LINENO: checking for long long" >&5
15563 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15564 if test "${ac_cv_type_long_long+set}" = set; then
15565 echo $ECHO_N "(cached) $ECHO_C" >&6
15566 else
15567 cat >conftest.$ac_ext <<_ACEOF
15568 #line $LINENO "configure"
15569 /* confdefs.h. */
15570 _ACEOF
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15574 $ac_includes_default
15575 int
15576 main ()
15577 {
15578 if ((long long *) 0)
15579 return 0;
15580 if (sizeof (long long))
15581 return 0;
15582 ;
15583 return 0;
15584 }
15585 _ACEOF
15586 rm -f conftest.$ac_objext
15587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15588 (eval $ac_compile) 2>&5
15589 ac_status=$?
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } &&
15592 { ac_try='test -s conftest.$ac_objext'
15593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15594 (eval $ac_try) 2>&5
15595 ac_status=$?
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; }; then
15598 ac_cv_type_long_long=yes
15599 else
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.$ac_ext >&5
15602
15603 ac_cv_type_long_long=no
15604 fi
15605 rm -f conftest.$ac_objext conftest.$ac_ext
15606 fi
15607 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15608 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15609
15610 echo "$as_me:$LINENO: checking size of long long" >&5
15611 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15612 if test "${ac_cv_sizeof_long_long+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 else
15615 if test "$ac_cv_type_long_long" = yes; then
15616 # The cast to unsigned long works around a bug in the HP C Compiler
15617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15619 # This bug is HP SR number 8606223364.
15620 if test "$cross_compiling" = yes; then
15621 # Depending upon the size, compute the lo and hi bounds.
15622 cat >conftest.$ac_ext <<_ACEOF
15623 #line $LINENO "configure"
15624 /* confdefs.h. */
15625 _ACEOF
15626 cat confdefs.h >>conftest.$ac_ext
15627 cat >>conftest.$ac_ext <<_ACEOF
15628 /* end confdefs.h. */
15629 $ac_includes_default
15630 int
15631 main ()
15632 {
15633 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15634 test_array [0] = 0
15635
15636 ;
15637 return 0;
15638 }
15639 _ACEOF
15640 rm -f conftest.$ac_objext
15641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15642 (eval $ac_compile) 2>&5
15643 ac_status=$?
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); } &&
15646 { ac_try='test -s conftest.$ac_objext'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15649 ac_status=$?
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; }; then
15652 ac_lo=0 ac_mid=0
15653 while :; do
15654 cat >conftest.$ac_ext <<_ACEOF
15655 #line $LINENO "configure"
15656 /* confdefs.h. */
15657 _ACEOF
15658 cat confdefs.h >>conftest.$ac_ext
15659 cat >>conftest.$ac_ext <<_ACEOF
15660 /* end confdefs.h. */
15661 $ac_includes_default
15662 int
15663 main ()
15664 {
15665 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15666 test_array [0] = 0
15667
15668 ;
15669 return 0;
15670 }
15671 _ACEOF
15672 rm -f conftest.$ac_objext
15673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15674 (eval $ac_compile) 2>&5
15675 ac_status=$?
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); } &&
15678 { ac_try='test -s conftest.$ac_objext'
15679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15680 (eval $ac_try) 2>&5
15681 ac_status=$?
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); }; }; then
15684 ac_hi=$ac_mid; break
15685 else
15686 echo "$as_me: failed program was:" >&5
15687 sed 's/^/| /' conftest.$ac_ext >&5
15688
15689 ac_lo=`expr $ac_mid + 1`
15690 if test $ac_lo -le $ac_mid; then
15691 ac_lo= ac_hi=
15692 break
15693 fi
15694 ac_mid=`expr 2 '*' $ac_mid + 1`
15695 fi
15696 rm -f conftest.$ac_objext conftest.$ac_ext
15697 done
15698 else
15699 echo "$as_me: failed program was:" >&5
15700 sed 's/^/| /' conftest.$ac_ext >&5
15701
15702 cat >conftest.$ac_ext <<_ACEOF
15703 #line $LINENO "configure"
15704 /* confdefs.h. */
15705 _ACEOF
15706 cat confdefs.h >>conftest.$ac_ext
15707 cat >>conftest.$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15709 $ac_includes_default
15710 int
15711 main ()
15712 {
15713 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15714 test_array [0] = 0
15715
15716 ;
15717 return 0;
15718 }
15719 _ACEOF
15720 rm -f conftest.$ac_objext
15721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15722 (eval $ac_compile) 2>&5
15723 ac_status=$?
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); } &&
15726 { ac_try='test -s conftest.$ac_objext'
15727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15728 (eval $ac_try) 2>&5
15729 ac_status=$?
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); }; }; then
15732 ac_hi=-1 ac_mid=-1
15733 while :; do
15734 cat >conftest.$ac_ext <<_ACEOF
15735 #line $LINENO "configure"
15736 /* confdefs.h. */
15737 _ACEOF
15738 cat confdefs.h >>conftest.$ac_ext
15739 cat >>conftest.$ac_ext <<_ACEOF
15740 /* end confdefs.h. */
15741 $ac_includes_default
15742 int
15743 main ()
15744 {
15745 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15746 test_array [0] = 0
15747
15748 ;
15749 return 0;
15750 }
15751 _ACEOF
15752 rm -f conftest.$ac_objext
15753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15754 (eval $ac_compile) 2>&5
15755 ac_status=$?
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } &&
15758 { ac_try='test -s conftest.$ac_objext'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15761 ac_status=$?
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15764 ac_lo=$ac_mid; break
15765 else
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.$ac_ext >&5
15768
15769 ac_hi=`expr '(' $ac_mid ')' - 1`
15770 if test $ac_mid -le $ac_hi; then
15771 ac_lo= ac_hi=
15772 break
15773 fi
15774 ac_mid=`expr 2 '*' $ac_mid`
15775 fi
15776 rm -f conftest.$ac_objext conftest.$ac_ext
15777 done
15778 else
15779 echo "$as_me: failed program was:" >&5
15780 sed 's/^/| /' conftest.$ac_ext >&5
15781
15782 ac_lo= ac_hi=
15783 fi
15784 rm -f conftest.$ac_objext conftest.$ac_ext
15785 fi
15786 rm -f conftest.$ac_objext conftest.$ac_ext
15787 # Binary search between lo and hi bounds.
15788 while test "x$ac_lo" != "x$ac_hi"; do
15789 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15790 cat >conftest.$ac_ext <<_ACEOF
15791 #line $LINENO "configure"
15792 /* confdefs.h. */
15793 _ACEOF
15794 cat confdefs.h >>conftest.$ac_ext
15795 cat >>conftest.$ac_ext <<_ACEOF
15796 /* end confdefs.h. */
15797 $ac_includes_default
15798 int
15799 main ()
15800 {
15801 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15802 test_array [0] = 0
15803
15804 ;
15805 return 0;
15806 }
15807 _ACEOF
15808 rm -f conftest.$ac_objext
15809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15810 (eval $ac_compile) 2>&5
15811 ac_status=$?
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); } &&
15814 { ac_try='test -s conftest.$ac_objext'
15815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15816 (eval $ac_try) 2>&5
15817 ac_status=$?
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; }; then
15820 ac_hi=$ac_mid
15821 else
15822 echo "$as_me: failed program was:" >&5
15823 sed 's/^/| /' conftest.$ac_ext >&5
15824
15825 ac_lo=`expr '(' $ac_mid ')' + 1`
15826 fi
15827 rm -f conftest.$ac_objext conftest.$ac_ext
15828 done
15829 case $ac_lo in
15830 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15831 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15832 See \`config.log' for more details." >&5
15833 echo "$as_me: error: cannot compute sizeof (long long), 77
15834 See \`config.log' for more details." >&2;}
15835 { (exit 1); exit 1; }; } ;;
15836 esac
15837 else
15838 if test "$cross_compiling" = yes; then
15839 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15840 See \`config.log' for more details." >&5
15841 echo "$as_me: error: cannot run test program while cross compiling
15842 See \`config.log' for more details." >&2;}
15843 { (exit 1); exit 1; }; }
15844 else
15845 cat >conftest.$ac_ext <<_ACEOF
15846 #line $LINENO "configure"
15847 /* confdefs.h. */
15848 _ACEOF
15849 cat confdefs.h >>conftest.$ac_ext
15850 cat >>conftest.$ac_ext <<_ACEOF
15851 /* end confdefs.h. */
15852 $ac_includes_default
15853 long longval () { return (long) (sizeof (long long)); }
15854 unsigned long ulongval () { return (long) (sizeof (long long)); }
15855 #include <stdio.h>
15856 #include <stdlib.h>
15857 int
15858 main ()
15859 {
15860
15861 FILE *f = fopen ("conftest.val", "w");
15862 if (! f)
15863 exit (1);
15864 if (((long) (sizeof (long long))) < 0)
15865 {
15866 long i = longval ();
15867 if (i != ((long) (sizeof (long long))))
15868 exit (1);
15869 fprintf (f, "%ld\n", i);
15870 }
15871 else
15872 {
15873 unsigned long i = ulongval ();
15874 if (i != ((long) (sizeof (long long))))
15875 exit (1);
15876 fprintf (f, "%lu\n", i);
15877 }
15878 exit (ferror (f) || fclose (f) != 0);
15879
15880 ;
15881 return 0;
15882 }
15883 _ACEOF
15884 rm -f conftest$ac_exeext
15885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15886 (eval $ac_link) 2>&5
15887 ac_status=$?
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15892 ac_status=$?
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; }; then
15895 ac_cv_sizeof_long_long=`cat conftest.val`
15896 else
15897 echo "$as_me: program exited with status $ac_status" >&5
15898 echo "$as_me: failed program was:" >&5
15899 sed 's/^/| /' conftest.$ac_ext >&5
15900
15901 ( exit $ac_status )
15902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15903 See \`config.log' for more details." >&5
15904 echo "$as_me: error: cannot compute sizeof (long long), 77
15905 See \`config.log' for more details." >&2;}
15906 { (exit 1); exit 1; }; }
15907 fi
15908 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15909 fi
15910 fi
15911 rm -f conftest.val
15912 else
15913 ac_cv_sizeof_long_long=0
15914 fi
15915 fi
15916 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15917 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15918 cat >>confdefs.h <<_ACEOF
15919 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15920 _ACEOF
15921
15922
15923 ;;
15924 *-hp-hpux* )
15925 echo "$as_me:$LINENO: checking for long long" >&5
15926 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15927 if test "${ac_cv_type_long_long+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 else
15930 cat >conftest.$ac_ext <<_ACEOF
15931 #line $LINENO "configure"
15932 /* confdefs.h. */
15933 _ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15937 $ac_includes_default
15938 int
15939 main ()
15940 {
15941 if ((long long *) 0)
15942 return 0;
15943 if (sizeof (long long))
15944 return 0;
15945 ;
15946 return 0;
15947 }
15948 _ACEOF
15949 rm -f conftest.$ac_objext
15950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15951 (eval $ac_compile) 2>&5
15952 ac_status=$?
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); } &&
15955 { ac_try='test -s conftest.$ac_objext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15958 ac_status=$?
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 ac_cv_type_long_long=yes
15962 else
15963 echo "$as_me: failed program was:" >&5
15964 sed 's/^/| /' conftest.$ac_ext >&5
15965
15966 ac_cv_type_long_long=no
15967 fi
15968 rm -f conftest.$ac_objext conftest.$ac_ext
15969 fi
15970 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15971 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15972
15973 echo "$as_me:$LINENO: checking size of long long" >&5
15974 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15975 if test "${ac_cv_sizeof_long_long+set}" = set; then
15976 echo $ECHO_N "(cached) $ECHO_C" >&6
15977 else
15978 if test "$ac_cv_type_long_long" = yes; then
15979 # The cast to unsigned long works around a bug in the HP C Compiler
15980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15982 # This bug is HP SR number 8606223364.
15983 if test "$cross_compiling" = yes; then
15984 # Depending upon the size, compute the lo and hi bounds.
15985 cat >conftest.$ac_ext <<_ACEOF
15986 #line $LINENO "configure"
15987 /* confdefs.h. */
15988 _ACEOF
15989 cat confdefs.h >>conftest.$ac_ext
15990 cat >>conftest.$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
15992 $ac_includes_default
15993 int
15994 main ()
15995 {
15996 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15997 test_array [0] = 0
15998
15999 ;
16000 return 0;
16001 }
16002 _ACEOF
16003 rm -f conftest.$ac_objext
16004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16005 (eval $ac_compile) 2>&5
16006 ac_status=$?
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); } &&
16009 { ac_try='test -s conftest.$ac_objext'
16010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16011 (eval $ac_try) 2>&5
16012 ac_status=$?
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); }; }; then
16015 ac_lo=0 ac_mid=0
16016 while :; do
16017 cat >conftest.$ac_ext <<_ACEOF
16018 #line $LINENO "configure"
16019 /* confdefs.h. */
16020 _ACEOF
16021 cat confdefs.h >>conftest.$ac_ext
16022 cat >>conftest.$ac_ext <<_ACEOF
16023 /* end confdefs.h. */
16024 $ac_includes_default
16025 int
16026 main ()
16027 {
16028 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16029 test_array [0] = 0
16030
16031 ;
16032 return 0;
16033 }
16034 _ACEOF
16035 rm -f conftest.$ac_objext
16036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16037 (eval $ac_compile) 2>&5
16038 ac_status=$?
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); } &&
16041 { ac_try='test -s conftest.$ac_objext'
16042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16043 (eval $ac_try) 2>&5
16044 ac_status=$?
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); }; }; then
16047 ac_hi=$ac_mid; break
16048 else
16049 echo "$as_me: failed program was:" >&5
16050 sed 's/^/| /' conftest.$ac_ext >&5
16051
16052 ac_lo=`expr $ac_mid + 1`
16053 if test $ac_lo -le $ac_mid; then
16054 ac_lo= ac_hi=
16055 break
16056 fi
16057 ac_mid=`expr 2 '*' $ac_mid + 1`
16058 fi
16059 rm -f conftest.$ac_objext conftest.$ac_ext
16060 done
16061 else
16062 echo "$as_me: failed program was:" >&5
16063 sed 's/^/| /' conftest.$ac_ext >&5
16064
16065 cat >conftest.$ac_ext <<_ACEOF
16066 #line $LINENO "configure"
16067 /* confdefs.h. */
16068 _ACEOF
16069 cat confdefs.h >>conftest.$ac_ext
16070 cat >>conftest.$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16072 $ac_includes_default
16073 int
16074 main ()
16075 {
16076 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16077 test_array [0] = 0
16078
16079 ;
16080 return 0;
16081 }
16082 _ACEOF
16083 rm -f conftest.$ac_objext
16084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16085 (eval $ac_compile) 2>&5
16086 ac_status=$?
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); } &&
16089 { ac_try='test -s conftest.$ac_objext'
16090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16091 (eval $ac_try) 2>&5
16092 ac_status=$?
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); }; }; then
16095 ac_hi=-1 ac_mid=-1
16096 while :; do
16097 cat >conftest.$ac_ext <<_ACEOF
16098 #line $LINENO "configure"
16099 /* confdefs.h. */
16100 _ACEOF
16101 cat confdefs.h >>conftest.$ac_ext
16102 cat >>conftest.$ac_ext <<_ACEOF
16103 /* end confdefs.h. */
16104 $ac_includes_default
16105 int
16106 main ()
16107 {
16108 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16109 test_array [0] = 0
16110
16111 ;
16112 return 0;
16113 }
16114 _ACEOF
16115 rm -f conftest.$ac_objext
16116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16117 (eval $ac_compile) 2>&5
16118 ac_status=$?
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); } &&
16121 { ac_try='test -s conftest.$ac_objext'
16122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123 (eval $ac_try) 2>&5
16124 ac_status=$?
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16127 ac_lo=$ac_mid; break
16128 else
16129 echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.$ac_ext >&5
16131
16132 ac_hi=`expr '(' $ac_mid ')' - 1`
16133 if test $ac_mid -le $ac_hi; then
16134 ac_lo= ac_hi=
16135 break
16136 fi
16137 ac_mid=`expr 2 '*' $ac_mid`
16138 fi
16139 rm -f conftest.$ac_objext conftest.$ac_ext
16140 done
16141 else
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.$ac_ext >&5
16144
16145 ac_lo= ac_hi=
16146 fi
16147 rm -f conftest.$ac_objext conftest.$ac_ext
16148 fi
16149 rm -f conftest.$ac_objext conftest.$ac_ext
16150 # Binary search between lo and hi bounds.
16151 while test "x$ac_lo" != "x$ac_hi"; do
16152 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16153 cat >conftest.$ac_ext <<_ACEOF
16154 #line $LINENO "configure"
16155 /* confdefs.h. */
16156 _ACEOF
16157 cat confdefs.h >>conftest.$ac_ext
16158 cat >>conftest.$ac_ext <<_ACEOF
16159 /* end confdefs.h. */
16160 $ac_includes_default
16161 int
16162 main ()
16163 {
16164 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16165 test_array [0] = 0
16166
16167 ;
16168 return 0;
16169 }
16170 _ACEOF
16171 rm -f conftest.$ac_objext
16172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16173 (eval $ac_compile) 2>&5
16174 ac_status=$?
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } &&
16177 { ac_try='test -s conftest.$ac_objext'
16178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179 (eval $ac_try) 2>&5
16180 ac_status=$?
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); }; }; then
16183 ac_hi=$ac_mid
16184 else
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.$ac_ext >&5
16187
16188 ac_lo=`expr '(' $ac_mid ')' + 1`
16189 fi
16190 rm -f conftest.$ac_objext conftest.$ac_ext
16191 done
16192 case $ac_lo in
16193 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16194 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16195 See \`config.log' for more details." >&5
16196 echo "$as_me: error: cannot compute sizeof (long long), 77
16197 See \`config.log' for more details." >&2;}
16198 { (exit 1); exit 1; }; } ;;
16199 esac
16200 else
16201 if test "$cross_compiling" = yes; then
16202 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16203 See \`config.log' for more details." >&5
16204 echo "$as_me: error: cannot run test program while cross compiling
16205 See \`config.log' for more details." >&2;}
16206 { (exit 1); exit 1; }; }
16207 else
16208 cat >conftest.$ac_ext <<_ACEOF
16209 #line $LINENO "configure"
16210 /* confdefs.h. */
16211 _ACEOF
16212 cat confdefs.h >>conftest.$ac_ext
16213 cat >>conftest.$ac_ext <<_ACEOF
16214 /* end confdefs.h. */
16215 $ac_includes_default
16216 long longval () { return (long) (sizeof (long long)); }
16217 unsigned long ulongval () { return (long) (sizeof (long long)); }
16218 #include <stdio.h>
16219 #include <stdlib.h>
16220 int
16221 main ()
16222 {
16223
16224 FILE *f = fopen ("conftest.val", "w");
16225 if (! f)
16226 exit (1);
16227 if (((long) (sizeof (long long))) < 0)
16228 {
16229 long i = longval ();
16230 if (i != ((long) (sizeof (long long))))
16231 exit (1);
16232 fprintf (f, "%ld\n", i);
16233 }
16234 else
16235 {
16236 unsigned long i = ulongval ();
16237 if (i != ((long) (sizeof (long long))))
16238 exit (1);
16239 fprintf (f, "%lu\n", i);
16240 }
16241 exit (ferror (f) || fclose (f) != 0);
16242
16243 ;
16244 return 0;
16245 }
16246 _ACEOF
16247 rm -f conftest$ac_exeext
16248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16249 (eval $ac_link) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16255 ac_status=$?
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16258 ac_cv_sizeof_long_long=`cat conftest.val`
16259 else
16260 echo "$as_me: program exited with status $ac_status" >&5
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.$ac_ext >&5
16263
16264 ( exit $ac_status )
16265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16266 See \`config.log' for more details." >&5
16267 echo "$as_me: error: cannot compute sizeof (long long), 77
16268 See \`config.log' for more details." >&2;}
16269 { (exit 1); exit 1; }; }
16270 fi
16271 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16272 fi
16273 fi
16274 rm -f conftest.val
16275 else
16276 ac_cv_sizeof_long_long=0
16277 fi
16278 fi
16279 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16280 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16281 cat >>confdefs.h <<_ACEOF
16282 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16283 _ACEOF
16284
16285
16286 if test "$ac_cv_sizeof_long_long" != "0"; then
16287 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16288 fi
16289 ;;
16290 * )
16291 echo "$as_me:$LINENO: checking for long long" >&5
16292 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16293 if test "${ac_cv_type_long_long+set}" = set; then
16294 echo $ECHO_N "(cached) $ECHO_C" >&6
16295 else
16296 cat >conftest.$ac_ext <<_ACEOF
16297 #line $LINENO "configure"
16298 /* confdefs.h. */
16299 _ACEOF
16300 cat confdefs.h >>conftest.$ac_ext
16301 cat >>conftest.$ac_ext <<_ACEOF
16302 /* end confdefs.h. */
16303 $ac_includes_default
16304 int
16305 main ()
16306 {
16307 if ((long long *) 0)
16308 return 0;
16309 if (sizeof (long long))
16310 return 0;
16311 ;
16312 return 0;
16313 }
16314 _ACEOF
16315 rm -f conftest.$ac_objext
16316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16317 (eval $ac_compile) 2>&5
16318 ac_status=$?
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } &&
16321 { ac_try='test -s conftest.$ac_objext'
16322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16323 (eval $ac_try) 2>&5
16324 ac_status=$?
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); }; }; then
16327 ac_cv_type_long_long=yes
16328 else
16329 echo "$as_me: failed program was:" >&5
16330 sed 's/^/| /' conftest.$ac_ext >&5
16331
16332 ac_cv_type_long_long=no
16333 fi
16334 rm -f conftest.$ac_objext conftest.$ac_ext
16335 fi
16336 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16337 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16338
16339 echo "$as_me:$LINENO: checking size of long long" >&5
16340 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16341 if test "${ac_cv_sizeof_long_long+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 else
16344 if test "$ac_cv_type_long_long" = yes; then
16345 # The cast to unsigned long works around a bug in the HP C Compiler
16346 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16347 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16348 # This bug is HP SR number 8606223364.
16349 if test "$cross_compiling" = yes; then
16350 # Depending upon the size, compute the lo and hi bounds.
16351 cat >conftest.$ac_ext <<_ACEOF
16352 #line $LINENO "configure"
16353 /* confdefs.h. */
16354 _ACEOF
16355 cat confdefs.h >>conftest.$ac_ext
16356 cat >>conftest.$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16358 $ac_includes_default
16359 int
16360 main ()
16361 {
16362 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16363 test_array [0] = 0
16364
16365 ;
16366 return 0;
16367 }
16368 _ACEOF
16369 rm -f conftest.$ac_objext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16371 (eval $ac_compile) 2>&5
16372 ac_status=$?
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); } &&
16375 { ac_try='test -s conftest.$ac_objext'
16376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16377 (eval $ac_try) 2>&5
16378 ac_status=$?
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); }; }; then
16381 ac_lo=0 ac_mid=0
16382 while :; do
16383 cat >conftest.$ac_ext <<_ACEOF
16384 #line $LINENO "configure"
16385 /* confdefs.h. */
16386 _ACEOF
16387 cat confdefs.h >>conftest.$ac_ext
16388 cat >>conftest.$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390 $ac_includes_default
16391 int
16392 main ()
16393 {
16394 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16395 test_array [0] = 0
16396
16397 ;
16398 return 0;
16399 }
16400 _ACEOF
16401 rm -f conftest.$ac_objext
16402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16403 (eval $ac_compile) 2>&5
16404 ac_status=$?
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); } &&
16407 { ac_try='test -s conftest.$ac_objext'
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16410 ac_status=$?
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); }; }; then
16413 ac_hi=$ac_mid; break
16414 else
16415 echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.$ac_ext >&5
16417
16418 ac_lo=`expr $ac_mid + 1`
16419 if test $ac_lo -le $ac_mid; then
16420 ac_lo= ac_hi=
16421 break
16422 fi
16423 ac_mid=`expr 2 '*' $ac_mid + 1`
16424 fi
16425 rm -f conftest.$ac_objext conftest.$ac_ext
16426 done
16427 else
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.$ac_ext >&5
16430
16431 cat >conftest.$ac_ext <<_ACEOF
16432 #line $LINENO "configure"
16433 /* confdefs.h. */
16434 _ACEOF
16435 cat confdefs.h >>conftest.$ac_ext
16436 cat >>conftest.$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16438 $ac_includes_default
16439 int
16440 main ()
16441 {
16442 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16443 test_array [0] = 0
16444
16445 ;
16446 return 0;
16447 }
16448 _ACEOF
16449 rm -f conftest.$ac_objext
16450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16451 (eval $ac_compile) 2>&5
16452 ac_status=$?
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); } &&
16455 { ac_try='test -s conftest.$ac_objext'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16458 ac_status=$?
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; }; then
16461 ac_hi=-1 ac_mid=-1
16462 while :; do
16463 cat >conftest.$ac_ext <<_ACEOF
16464 #line $LINENO "configure"
16465 /* confdefs.h. */
16466 _ACEOF
16467 cat confdefs.h >>conftest.$ac_ext
16468 cat >>conftest.$ac_ext <<_ACEOF
16469 /* end confdefs.h. */
16470 $ac_includes_default
16471 int
16472 main ()
16473 {
16474 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16475 test_array [0] = 0
16476
16477 ;
16478 return 0;
16479 }
16480 _ACEOF
16481 rm -f conftest.$ac_objext
16482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16483 (eval $ac_compile) 2>&5
16484 ac_status=$?
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } &&
16487 { ac_try='test -s conftest.$ac_objext'
16488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16489 (eval $ac_try) 2>&5
16490 ac_status=$?
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); }; }; then
16493 ac_lo=$ac_mid; break
16494 else
16495 echo "$as_me: failed program was:" >&5
16496 sed 's/^/| /' conftest.$ac_ext >&5
16497
16498 ac_hi=`expr '(' $ac_mid ')' - 1`
16499 if test $ac_mid -le $ac_hi; then
16500 ac_lo= ac_hi=
16501 break
16502 fi
16503 ac_mid=`expr 2 '*' $ac_mid`
16504 fi
16505 rm -f conftest.$ac_objext conftest.$ac_ext
16506 done
16507 else
16508 echo "$as_me: failed program was:" >&5
16509 sed 's/^/| /' conftest.$ac_ext >&5
16510
16511 ac_lo= ac_hi=
16512 fi
16513 rm -f conftest.$ac_objext conftest.$ac_ext
16514 fi
16515 rm -f conftest.$ac_objext conftest.$ac_ext
16516 # Binary search between lo and hi bounds.
16517 while test "x$ac_lo" != "x$ac_hi"; do
16518 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16519 cat >conftest.$ac_ext <<_ACEOF
16520 #line $LINENO "configure"
16521 /* confdefs.h. */
16522 _ACEOF
16523 cat confdefs.h >>conftest.$ac_ext
16524 cat >>conftest.$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16526 $ac_includes_default
16527 int
16528 main ()
16529 {
16530 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16531 test_array [0] = 0
16532
16533 ;
16534 return 0;
16535 }
16536 _ACEOF
16537 rm -f conftest.$ac_objext
16538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16539 (eval $ac_compile) 2>&5
16540 ac_status=$?
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } &&
16543 { ac_try='test -s conftest.$ac_objext'
16544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16545 (eval $ac_try) 2>&5
16546 ac_status=$?
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); }; }; then
16549 ac_hi=$ac_mid
16550 else
16551 echo "$as_me: failed program was:" >&5
16552 sed 's/^/| /' conftest.$ac_ext >&5
16553
16554 ac_lo=`expr '(' $ac_mid ')' + 1`
16555 fi
16556 rm -f conftest.$ac_objext conftest.$ac_ext
16557 done
16558 case $ac_lo in
16559 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16560 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16561 See \`config.log' for more details." >&5
16562 echo "$as_me: error: cannot compute sizeof (long long), 77
16563 See \`config.log' for more details." >&2;}
16564 { (exit 1); exit 1; }; } ;;
16565 esac
16566 else
16567 if test "$cross_compiling" = yes; then
16568 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16569 See \`config.log' for more details." >&5
16570 echo "$as_me: error: cannot run test program while cross compiling
16571 See \`config.log' for more details." >&2;}
16572 { (exit 1); exit 1; }; }
16573 else
16574 cat >conftest.$ac_ext <<_ACEOF
16575 #line $LINENO "configure"
16576 /* confdefs.h. */
16577 _ACEOF
16578 cat confdefs.h >>conftest.$ac_ext
16579 cat >>conftest.$ac_ext <<_ACEOF
16580 /* end confdefs.h. */
16581 $ac_includes_default
16582 long longval () { return (long) (sizeof (long long)); }
16583 unsigned long ulongval () { return (long) (sizeof (long long)); }
16584 #include <stdio.h>
16585 #include <stdlib.h>
16586 int
16587 main ()
16588 {
16589
16590 FILE *f = fopen ("conftest.val", "w");
16591 if (! f)
16592 exit (1);
16593 if (((long) (sizeof (long long))) < 0)
16594 {
16595 long i = longval ();
16596 if (i != ((long) (sizeof (long long))))
16597 exit (1);
16598 fprintf (f, "%ld\n", i);
16599 }
16600 else
16601 {
16602 unsigned long i = ulongval ();
16603 if (i != ((long) (sizeof (long long))))
16604 exit (1);
16605 fprintf (f, "%lu\n", i);
16606 }
16607 exit (ferror (f) || fclose (f) != 0);
16608
16609 ;
16610 return 0;
16611 }
16612 _ACEOF
16613 rm -f conftest$ac_exeext
16614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16615 (eval $ac_link) 2>&5
16616 ac_status=$?
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16620 (eval $ac_try) 2>&5
16621 ac_status=$?
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); }; }; then
16624 ac_cv_sizeof_long_long=`cat conftest.val`
16625 else
16626 echo "$as_me: program exited with status $ac_status" >&5
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16629
16630 ( exit $ac_status )
16631 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16632 See \`config.log' for more details." >&5
16633 echo "$as_me: error: cannot compute sizeof (long long), 77
16634 See \`config.log' for more details." >&2;}
16635 { (exit 1); exit 1; }; }
16636 fi
16637 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16638 fi
16639 fi
16640 rm -f conftest.val
16641 else
16642 ac_cv_sizeof_long_long=0
16643 fi
16644 fi
16645 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16646 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16647 cat >>confdefs.h <<_ACEOF
16648 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16649 _ACEOF
16650
16651
16652 esac
16653
16654 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16655 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16656 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16657 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 else
16659
16660 if test "$cross_compiling" = yes; then
16661
16662 case "${host}" in
16663 *-pc-msdosdjgpp )
16664 wx_cv_sizeof_wchar_t=0
16665 ;;
16666 * )
16667 wx_cv_sizeof_wchar_t=4
16668 ;;
16669 esac
16670
16671
16672 else
16673 cat >conftest.$ac_ext <<_ACEOF
16674 #line $LINENO "configure"
16675 /* confdefs.h. */
16676 _ACEOF
16677 cat confdefs.h >>conftest.$ac_ext
16678 cat >>conftest.$ac_ext <<_ACEOF
16679 /* end confdefs.h. */
16680
16681 /* DJGPP only has fake wchar_t: */
16682 #ifdef __DJGPP__
16683 # error "fake wchar_t"
16684 #endif
16685 #ifdef HAVE_WCHAR_H
16686 # ifdef __CYGWIN__
16687 # include <stddef.h>
16688 # endif
16689 # include <wchar.h>
16690 #endif
16691 #ifdef HAVE_STDLIB_H
16692 # include <stdlib.h>
16693 #endif
16694 #include <stdio.h>
16695 int main()
16696 {
16697 FILE *f=fopen("conftestval", "w");
16698 if (!f) exit(1);
16699 fprintf(f, "%i", sizeof(wchar_t));
16700 exit(0);
16701 }
16702
16703 _ACEOF
16704 rm -f conftest$ac_exeext
16705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16706 (eval $ac_link) 2>&5
16707 ac_status=$?
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16712 ac_status=$?
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; }; then
16715 wx_cv_sizeof_wchar_t=`cat conftestval`
16716 else
16717 echo "$as_me: program exited with status $ac_status" >&5
16718 echo "$as_me: failed program was:" >&5
16719 sed 's/^/| /' conftest.$ac_ext >&5
16720
16721 ( exit $ac_status )
16722 wx_cv_sizeof_wchar_t=0
16723 fi
16724 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16725 fi
16726
16727 fi
16728 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16729 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16730
16731 cat >>confdefs.h <<_ACEOF
16732 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16733 _ACEOF
16734
16735
16736 # Check whether --enable-largefile or --disable-largefile was given.
16737 if test "${enable_largefile+set}" = set; then
16738 enableval="$enable_largefile"
16739
16740 fi;
16741 if test "$enable_largefile" != no; then
16742 wx_largefile=no
16743
16744 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16745 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16746 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 else
16749
16750 cat >conftest.$ac_ext <<_ACEOF
16751 #line $LINENO "configure"
16752 /* confdefs.h. */
16753 _ACEOF
16754 cat confdefs.h >>conftest.$ac_ext
16755 cat >>conftest.$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16757 #define _FILE_OFFSET_BITS 64
16758 #include <sys/types.h>
16759 int
16760 main ()
16761 {
16762 typedef struct {
16763 unsigned int field: sizeof(off_t) == 8;
16764 } wxlf;
16765
16766 ;
16767 return 0;
16768 }
16769 _ACEOF
16770 rm -f conftest.$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772 (eval $ac_compile) 2>&5
16773 ac_status=$?
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); } &&
16776 { ac_try='test -s conftest.$ac_objext'
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16779 ac_status=$?
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; }; then
16782 ac_cv_sys_file_offset_bits=64
16783 else
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16786
16787 ac_cv_sys_file_offset_bits=no
16788 fi
16789 rm -f conftest.$ac_objext conftest.$ac_ext
16790
16791
16792 fi
16793 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16794 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16795
16796 if test "$ac_cv_sys_file_offset_bits" != no; then
16797 wx_largefile=yes
16798 cat >>confdefs.h <<_ACEOF
16799 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16800 _ACEOF
16801
16802 fi
16803
16804 if test "x$wx_largefile" != "xyes"; then
16805
16806 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16807 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16808 if test "${ac_cv_sys_large_files+set}" = set; then
16809 echo $ECHO_N "(cached) $ECHO_C" >&6
16810 else
16811
16812 cat >conftest.$ac_ext <<_ACEOF
16813 #line $LINENO "configure"
16814 /* confdefs.h. */
16815 _ACEOF
16816 cat confdefs.h >>conftest.$ac_ext
16817 cat >>conftest.$ac_ext <<_ACEOF
16818 /* end confdefs.h. */
16819 #define _LARGE_FILES 1
16820 #include <sys/types.h>
16821 int
16822 main ()
16823 {
16824 typedef struct {
16825 unsigned int field: sizeof(off_t) == 8;
16826 } wxlf;
16827
16828 ;
16829 return 0;
16830 }
16831 _ACEOF
16832 rm -f conftest.$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>&5
16835 ac_status=$?
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } &&
16838 { ac_try='test -s conftest.$ac_objext'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16841 ac_status=$?
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; }; then
16844 ac_cv_sys_large_files=1
16845 else
16846 echo "$as_me: failed program was:" >&5
16847 sed 's/^/| /' conftest.$ac_ext >&5
16848
16849 ac_cv_sys_large_files=no
16850 fi
16851 rm -f conftest.$ac_objext conftest.$ac_ext
16852
16853
16854 fi
16855 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16856 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16857
16858 if test "$ac_cv_sys_large_files" != no; then
16859 wx_largefile=yes
16860 cat >>confdefs.h <<_ACEOF
16861 #define _LARGE_FILES $ac_cv_sys_large_files
16862 _ACEOF
16863
16864 fi
16865
16866 fi
16867
16868 echo "$as_me:$LINENO: checking if large file support is available" >&5
16869 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16870 if test "x$wx_largefile" = "xyes"; then
16871 cat >>confdefs.h <<\_ACEOF
16872 #define HAVE_LARGEFILE_SUPPORT 1
16873 _ACEOF
16874
16875 fi
16876 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16877 echo "${ECHO_T}$wx_largefile" >&6
16878 fi
16879
16880
16881 if test "x$wx_largefile" = "xyes"; then
16882 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16883 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16884 else
16885 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16886 fi
16887 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16888 fi
16889
16890 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16891 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16892 if test "${ac_cv_c_bigendian+set}" = set; then
16893 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 else
16895 ac_cv_c_bigendian=unknown
16896 # See if sys/param.h defines the BYTE_ORDER macro.
16897 cat >conftest.$ac_ext <<_ACEOF
16898 #line $LINENO "configure"
16899 /* confdefs.h. */
16900 _ACEOF
16901 cat confdefs.h >>conftest.$ac_ext
16902 cat >>conftest.$ac_ext <<_ACEOF
16903 /* end confdefs.h. */
16904 #include <sys/types.h>
16905 #include <sys/param.h>
16906 int
16907 main ()
16908 {
16909
16910 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16911 bogus endian macros
16912 #endif
16913 ;
16914 return 0;
16915 }
16916 _ACEOF
16917 rm -f conftest.$ac_objext
16918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16919 (eval $ac_compile) 2>&5
16920 ac_status=$?
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try='test -s conftest.$ac_objext'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16926 ac_status=$?
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16929 # It does; now see whether it defined to BIG_ENDIAN or not.
16930 cat >conftest.$ac_ext <<_ACEOF
16931 #line $LINENO "configure"
16932 /* confdefs.h. */
16933 _ACEOF
16934 cat confdefs.h >>conftest.$ac_ext
16935 cat >>conftest.$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16937 #include <sys/types.h>
16938 #include <sys/param.h>
16939 int
16940 main ()
16941 {
16942
16943 #if BYTE_ORDER != BIG_ENDIAN
16944 not big endian
16945 #endif
16946 ;
16947 return 0;
16948 }
16949 _ACEOF
16950 rm -f conftest.$ac_objext
16951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16952 (eval $ac_compile) 2>&5
16953 ac_status=$?
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } &&
16956 { ac_try='test -s conftest.$ac_objext'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16959 ac_status=$?
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; }; then
16962 ac_cv_c_bigendian=yes
16963 else
16964 echo "$as_me: failed program was:" >&5
16965 sed 's/^/| /' conftest.$ac_ext >&5
16966
16967 ac_cv_c_bigendian=no
16968 fi
16969 rm -f conftest.$ac_objext conftest.$ac_ext
16970 else
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.$ac_ext >&5
16973
16974 fi
16975 rm -f conftest.$ac_objext conftest.$ac_ext
16976 if test $ac_cv_c_bigendian = unknown; then
16977 if test "$cross_compiling" = yes; then
16978 ac_cv_c_bigendian=unknown
16979 else
16980 cat >conftest.$ac_ext <<_ACEOF
16981 #line $LINENO "configure"
16982 /* confdefs.h. */
16983 _ACEOF
16984 cat confdefs.h >>conftest.$ac_ext
16985 cat >>conftest.$ac_ext <<_ACEOF
16986 /* end confdefs.h. */
16987 main () {
16988 /* Are we little or big endian? From Harbison&Steele. */
16989 union
16990 {
16991 long l;
16992 char c[sizeof (long)];
16993 } u;
16994 u.l = 1;
16995 exit (u.c[sizeof (long) - 1] == 1);
16996 }
16997 _ACEOF
16998 rm -f conftest$ac_exeext
16999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17000 (eval $ac_link) 2>&5
17001 ac_status=$?
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17006 ac_status=$?
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; }; then
17009 ac_cv_c_bigendian=no
17010 else
17011 echo "$as_me: program exited with status $ac_status" >&5
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.$ac_ext >&5
17014
17015 ( exit $ac_status )
17016 ac_cv_c_bigendian=yes
17017 fi
17018 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17019 fi
17020 fi
17021 fi
17022 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17023 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17024 if test $ac_cv_c_bigendian = unknown; then
17025 { 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
17026 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;}
17027 fi
17028 if test $ac_cv_c_bigendian = yes; then
17029 cat >>confdefs.h <<\_ACEOF
17030 #define WORDS_BIGENDIAN 1
17031 _ACEOF
17032
17033 fi
17034
17035
17036
17037 ac_ext=cc
17038 ac_cpp='$CXXCPP $CPPFLAGS'
17039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17042 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17043 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17044 if test -z "$CXXCPP"; then
17045 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 else
17048 # Double quotes because CXXCPP needs to be expanded
17049 for CXXCPP in "$CXX -E" "/lib/cpp"
17050 do
17051 ac_preproc_ok=false
17052 for ac_cxx_preproc_warn_flag in '' yes
17053 do
17054 # Use a header file that comes with gcc, so configuring glibc
17055 # with a fresh cross-compiler works.
17056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17057 # <limits.h> exists even on freestanding compilers.
17058 # On the NeXT, cc -E runs the code through the compiler's parser,
17059 # not just through cpp. "Syntax error" is here to catch this case.
17060 cat >conftest.$ac_ext <<_ACEOF
17061 #line $LINENO "configure"
17062 /* confdefs.h. */
17063 _ACEOF
17064 cat confdefs.h >>conftest.$ac_ext
17065 cat >>conftest.$ac_ext <<_ACEOF
17066 /* end confdefs.h. */
17067 #ifdef __STDC__
17068 # include <limits.h>
17069 #else
17070 # include <assert.h>
17071 #endif
17072 Syntax error
17073 _ACEOF
17074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17076 ac_status=$?
17077 grep -v '^ *+' conftest.er1 >conftest.err
17078 rm -f conftest.er1
17079 cat conftest.err >&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); } >/dev/null; then
17082 if test -s conftest.err; then
17083 ac_cpp_err=$ac_cxx_preproc_warn_flag
17084 else
17085 ac_cpp_err=
17086 fi
17087 else
17088 ac_cpp_err=yes
17089 fi
17090 if test -z "$ac_cpp_err"; then
17091 :
17092 else
17093 echo "$as_me: failed program was:" >&5
17094 sed 's/^/| /' conftest.$ac_ext >&5
17095
17096 # Broken: fails on valid input.
17097 continue
17098 fi
17099 rm -f conftest.err conftest.$ac_ext
17100
17101 # OK, works on sane cases. Now check whether non-existent headers
17102 # can be detected and how.
17103 cat >conftest.$ac_ext <<_ACEOF
17104 #line $LINENO "configure"
17105 /* confdefs.h. */
17106 _ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 #include <ac_nonexistent.h>
17111 _ACEOF
17112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17113 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17114 ac_status=$?
17115 grep -v '^ *+' conftest.er1 >conftest.err
17116 rm -f conftest.er1
17117 cat conftest.err >&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } >/dev/null; then
17120 if test -s conftest.err; then
17121 ac_cpp_err=$ac_cxx_preproc_warn_flag
17122 else
17123 ac_cpp_err=
17124 fi
17125 else
17126 ac_cpp_err=yes
17127 fi
17128 if test -z "$ac_cpp_err"; then
17129 # Broken: success on invalid input.
17130 continue
17131 else
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.$ac_ext >&5
17134
17135 # Passes both tests.
17136 ac_preproc_ok=:
17137 break
17138 fi
17139 rm -f conftest.err conftest.$ac_ext
17140
17141 done
17142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17143 rm -f conftest.err conftest.$ac_ext
17144 if $ac_preproc_ok; then
17145 break
17146 fi
17147
17148 done
17149 ac_cv_prog_CXXCPP=$CXXCPP
17150
17151 fi
17152 CXXCPP=$ac_cv_prog_CXXCPP
17153 else
17154 ac_cv_prog_CXXCPP=$CXXCPP
17155 fi
17156 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17157 echo "${ECHO_T}$CXXCPP" >&6
17158 ac_preproc_ok=false
17159 for ac_cxx_preproc_warn_flag in '' yes
17160 do
17161 # Use a header file that comes with gcc, so configuring glibc
17162 # with a fresh cross-compiler works.
17163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17164 # <limits.h> exists even on freestanding compilers.
17165 # On the NeXT, cc -E runs the code through the compiler's parser,
17166 # not just through cpp. "Syntax error" is here to catch this case.
17167 cat >conftest.$ac_ext <<_ACEOF
17168 #line $LINENO "configure"
17169 /* confdefs.h. */
17170 _ACEOF
17171 cat confdefs.h >>conftest.$ac_ext
17172 cat >>conftest.$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17174 #ifdef __STDC__
17175 # include <limits.h>
17176 #else
17177 # include <assert.h>
17178 #endif
17179 Syntax error
17180 _ACEOF
17181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17183 ac_status=$?
17184 grep -v '^ *+' conftest.er1 >conftest.err
17185 rm -f conftest.er1
17186 cat conftest.err >&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); } >/dev/null; then
17189 if test -s conftest.err; then
17190 ac_cpp_err=$ac_cxx_preproc_warn_flag
17191 else
17192 ac_cpp_err=
17193 fi
17194 else
17195 ac_cpp_err=yes
17196 fi
17197 if test -z "$ac_cpp_err"; then
17198 :
17199 else
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.$ac_ext >&5
17202
17203 # Broken: fails on valid input.
17204 continue
17205 fi
17206 rm -f conftest.err conftest.$ac_ext
17207
17208 # OK, works on sane cases. Now check whether non-existent headers
17209 # can be detected and how.
17210 cat >conftest.$ac_ext <<_ACEOF
17211 #line $LINENO "configure"
17212 /* confdefs.h. */
17213 _ACEOF
17214 cat confdefs.h >>conftest.$ac_ext
17215 cat >>conftest.$ac_ext <<_ACEOF
17216 /* end confdefs.h. */
17217 #include <ac_nonexistent.h>
17218 _ACEOF
17219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17221 ac_status=$?
17222 grep -v '^ *+' conftest.er1 >conftest.err
17223 rm -f conftest.er1
17224 cat conftest.err >&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); } >/dev/null; then
17227 if test -s conftest.err; then
17228 ac_cpp_err=$ac_cxx_preproc_warn_flag
17229 else
17230 ac_cpp_err=
17231 fi
17232 else
17233 ac_cpp_err=yes
17234 fi
17235 if test -z "$ac_cpp_err"; then
17236 # Broken: success on invalid input.
17237 continue
17238 else
17239 echo "$as_me: failed program was:" >&5
17240 sed 's/^/| /' conftest.$ac_ext >&5
17241
17242 # Passes both tests.
17243 ac_preproc_ok=:
17244 break
17245 fi
17246 rm -f conftest.err conftest.$ac_ext
17247
17248 done
17249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17250 rm -f conftest.err conftest.$ac_ext
17251 if $ac_preproc_ok; then
17252 :
17253 else
17254 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17255 See \`config.log' for more details." >&5
17256 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17257 See \`config.log' for more details." >&2;}
17258 { (exit 1); exit 1; }; }
17259 fi
17260
17261 ac_ext=cc
17262 ac_cpp='$CXXCPP $CPPFLAGS'
17263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17266
17267
17268
17269 if test "$cross_compiling" = "yes"; then
17270 cat >>confdefs.h <<\_ACEOF
17271 #define wxUSE_IOSTREAMH 1
17272 _ACEOF
17273
17274 else
17275
17276
17277 ac_ext=cc
17278 ac_cpp='$CXXCPP $CPPFLAGS'
17279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17282
17283
17284
17285 for ac_header in iostream
17286 do
17287 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17289 echo "$as_me:$LINENO: checking for $ac_header" >&5
17290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17293 fi
17294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17296 else
17297 # Is the header compilable?
17298 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17299 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17300 cat >conftest.$ac_ext <<_ACEOF
17301 #line $LINENO "configure"
17302 /* confdefs.h. */
17303 _ACEOF
17304 cat confdefs.h >>conftest.$ac_ext
17305 cat >>conftest.$ac_ext <<_ACEOF
17306 /* end confdefs.h. */
17307 $ac_includes_default
17308 #include <$ac_header>
17309 _ACEOF
17310 rm -f conftest.$ac_objext
17311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17312 (eval $ac_compile) 2>&5
17313 ac_status=$?
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try='test -s conftest.$ac_objext'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17319 ac_status=$?
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; }; then
17322 ac_header_compiler=yes
17323 else
17324 echo "$as_me: failed program was:" >&5
17325 sed 's/^/| /' conftest.$ac_ext >&5
17326
17327 ac_header_compiler=no
17328 fi
17329 rm -f conftest.$ac_objext conftest.$ac_ext
17330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17331 echo "${ECHO_T}$ac_header_compiler" >&6
17332
17333 # Is the header present?
17334 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17335 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17336 cat >conftest.$ac_ext <<_ACEOF
17337 #line $LINENO "configure"
17338 /* confdefs.h. */
17339 _ACEOF
17340 cat confdefs.h >>conftest.$ac_ext
17341 cat >>conftest.$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 #include <$ac_header>
17344 _ACEOF
17345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17347 ac_status=$?
17348 grep -v '^ *+' conftest.er1 >conftest.err
17349 rm -f conftest.er1
17350 cat conftest.err >&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); } >/dev/null; then
17353 if test -s conftest.err; then
17354 ac_cpp_err=$ac_cxx_preproc_warn_flag
17355 else
17356 ac_cpp_err=
17357 fi
17358 else
17359 ac_cpp_err=yes
17360 fi
17361 if test -z "$ac_cpp_err"; then
17362 ac_header_preproc=yes
17363 else
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17366
17367 ac_header_preproc=no
17368 fi
17369 rm -f conftest.err conftest.$ac_ext
17370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17371 echo "${ECHO_T}$ac_header_preproc" >&6
17372
17373 # So? What about this header?
17374 case $ac_header_compiler:$ac_header_preproc in
17375 yes:no )
17376 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17377 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17380 (
17381 cat <<\_ASBOX
17382 ## ------------------------------------ ##
17383 ## Report this to bug-autoconf@gnu.org. ##
17384 ## ------------------------------------ ##
17385 _ASBOX
17386 ) |
17387 sed "s/^/$as_me: WARNING: /" >&2
17388 ;;
17389 no:yes )
17390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17396 (
17397 cat <<\_ASBOX
17398 ## ------------------------------------ ##
17399 ## Report this to bug-autoconf@gnu.org. ##
17400 ## ------------------------------------ ##
17401 _ASBOX
17402 ) |
17403 sed "s/^/$as_me: WARNING: /" >&2
17404 ;;
17405 esac
17406 echo "$as_me:$LINENO: checking for $ac_header" >&5
17407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17409 echo $ECHO_N "(cached) $ECHO_C" >&6
17410 else
17411 eval "$as_ac_Header=$ac_header_preproc"
17412 fi
17413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17415
17416 fi
17417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17418 cat >>confdefs.h <<_ACEOF
17419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17420 _ACEOF
17421
17422 fi
17423
17424 done
17425
17426
17427 if test "$ac_cv_header_iostream" = "yes" ; then
17428 :
17429 else
17430 cat >>confdefs.h <<\_ACEOF
17431 #define wxUSE_IOSTREAMH 1
17432 _ACEOF
17433
17434 fi
17435
17436 ac_ext=c
17437 ac_cpp='$CPP $CPPFLAGS'
17438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17441
17442 fi
17443
17444
17445
17446 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17447 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17448 if test "${wx_cv_cpp_bool+set}" = set; then
17449 echo $ECHO_N "(cached) $ECHO_C" >&6
17450 else
17451
17452
17453
17454 ac_ext=cc
17455 ac_cpp='$CXXCPP $CPPFLAGS'
17456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17459
17460
17461 cat >conftest.$ac_ext <<_ACEOF
17462 #line $LINENO "configure"
17463 /* confdefs.h. */
17464 _ACEOF
17465 cat confdefs.h >>conftest.$ac_ext
17466 cat >>conftest.$ac_ext <<_ACEOF
17467 /* end confdefs.h. */
17468
17469
17470 int
17471 main ()
17472 {
17473
17474 bool b = true;
17475
17476 return 0;
17477
17478 ;
17479 return 0;
17480 }
17481 _ACEOF
17482 rm -f conftest.$ac_objext
17483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17484 (eval $ac_compile) 2>&5
17485 ac_status=$?
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); } &&
17488 { ac_try='test -s conftest.$ac_objext'
17489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17490 (eval $ac_try) 2>&5
17491 ac_status=$?
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); }; }; then
17494
17495 wx_cv_cpp_bool=yes
17496
17497 else
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17500
17501
17502 wx_cv_cpp_bool=no
17503
17504
17505 fi
17506 rm -f conftest.$ac_objext conftest.$ac_ext
17507
17508 ac_ext=c
17509 ac_cpp='$CPP $CPPFLAGS'
17510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17513
17514
17515 fi
17516 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17517 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17518
17519 if test "$wx_cv_cpp_bool" = "yes"; then
17520 cat >>confdefs.h <<\_ACEOF
17521 #define HAVE_BOOL 1
17522 _ACEOF
17523
17524 fi
17525
17526
17527
17528 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17529 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17530 if test "${wx_cv_explicit+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17532 else
17533
17534
17535
17536 ac_ext=cc
17537 ac_cpp='$CXXCPP $CPPFLAGS'
17538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17541
17542
17543 cat >conftest.$ac_ext <<_ACEOF
17544 #line $LINENO "configure"
17545 /* confdefs.h. */
17546 _ACEOF
17547 cat confdefs.h >>conftest.$ac_ext
17548 cat >>conftest.$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17550
17551 class Foo { public: explicit Foo(int) {} };
17552
17553 int
17554 main ()
17555 {
17556
17557 return 0;
17558
17559 ;
17560 return 0;
17561 }
17562 _ACEOF
17563 rm -f conftest.$ac_objext
17564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17565 (eval $ac_compile) 2>&5
17566 ac_status=$?
17567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17568 (exit $ac_status); } &&
17569 { ac_try='test -s conftest.$ac_objext'
17570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17571 (eval $ac_try) 2>&5
17572 ac_status=$?
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; }; then
17575
17576 cat >conftest.$ac_ext <<_ACEOF
17577 #line $LINENO "configure"
17578 /* confdefs.h. */
17579 _ACEOF
17580 cat confdefs.h >>conftest.$ac_ext
17581 cat >>conftest.$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17583
17584 class Foo { public: explicit Foo(int) {} };
17585 static void TakeFoo(const Foo& foo) { }
17586
17587 int
17588 main ()
17589 {
17590
17591 TakeFoo(17);
17592 return 0;
17593
17594 ;
17595 return 0;
17596 }
17597 _ACEOF
17598 rm -f conftest.$ac_objext
17599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17600 (eval $ac_compile) 2>&5
17601 ac_status=$?
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); } &&
17604 { ac_try='test -s conftest.$ac_objext'
17605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17606 (eval $ac_try) 2>&5
17607 ac_status=$?
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); }; }; then
17610 wx_cv_explicit=no
17611 else
17612 echo "$as_me: failed program was:" >&5
17613 sed 's/^/| /' conftest.$ac_ext >&5
17614
17615 wx_cv_explicit=yes
17616
17617 fi
17618 rm -f conftest.$ac_objext conftest.$ac_ext
17619
17620 else
17621 echo "$as_me: failed program was:" >&5
17622 sed 's/^/| /' conftest.$ac_ext >&5
17623
17624 wx_cv_explicit=no
17625
17626 fi
17627 rm -f conftest.$ac_objext conftest.$ac_ext
17628
17629 ac_ext=c
17630 ac_cpp='$CPP $CPPFLAGS'
17631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17634
17635
17636 fi
17637 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17638 echo "${ECHO_T}$wx_cv_explicit" >&6
17639
17640 if test "$wx_cv_explicit" = "yes"; then
17641 cat >>confdefs.h <<\_ACEOF
17642 #define HAVE_EXPLICIT 1
17643 _ACEOF
17644
17645 fi
17646
17647
17648 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17649 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17650 if test "${ac_cv_cxx_const_cast+set}" = set; then
17651 echo $ECHO_N "(cached) $ECHO_C" >&6
17652 else
17653
17654
17655 ac_ext=cc
17656 ac_cpp='$CXXCPP $CPPFLAGS'
17657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17660
17661 cat >conftest.$ac_ext <<_ACEOF
17662 #line $LINENO "configure"
17663 /* confdefs.h. */
17664 _ACEOF
17665 cat confdefs.h >>conftest.$ac_ext
17666 cat >>conftest.$ac_ext <<_ACEOF
17667 /* end confdefs.h. */
17668
17669 int
17670 main ()
17671 {
17672 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17673 ;
17674 return 0;
17675 }
17676 _ACEOF
17677 rm -f conftest.$ac_objext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17679 (eval $ac_compile) 2>&5
17680 ac_status=$?
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); } &&
17683 { ac_try='test -s conftest.$ac_objext'
17684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17685 (eval $ac_try) 2>&5
17686 ac_status=$?
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); }; }; then
17689 ac_cv_cxx_const_cast=yes
17690 else
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.$ac_ext >&5
17693
17694 ac_cv_cxx_const_cast=no
17695 fi
17696 rm -f conftest.$ac_objext conftest.$ac_ext
17697 ac_ext=c
17698 ac_cpp='$CPP $CPPFLAGS'
17699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17702
17703
17704 fi
17705 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17706 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17707 if test "$ac_cv_cxx_const_cast" = yes; then
17708
17709 cat >>confdefs.h <<\_ACEOF
17710 #define HAVE_CONST_CAST
17711 _ACEOF
17712
17713 fi
17714
17715
17716 if test "$wxUSE_STL" = "yes"; then
17717 ac_ext=cc
17718 ac_cpp='$CXXCPP $CPPFLAGS'
17719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17722
17723
17724 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17725 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17726 cat >conftest.$ac_ext <<_ACEOF
17727 #line $LINENO "configure"
17728 /* confdefs.h. */
17729 _ACEOF
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733 #include <string>
17734 #include <functional>
17735 #include <algorithm>
17736 #include <vector>
17737 #include <list>
17738 int
17739 main ()
17740 {
17741 std::vector<int> moo;
17742 std::list<int> foo;
17743 std::vector<int>::iterator it =
17744 std::find_if(moo.begin(), moo.end(),
17745 std::bind2nd(std::less<int>(), 3));
17746 ;
17747 return 0;
17748 }
17749 _ACEOF
17750 rm -f conftest.$ac_objext
17751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17752 (eval $ac_compile) 2>&5
17753 ac_status=$?
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } &&
17756 { ac_try='test -s conftest.$ac_objext'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17759 ac_status=$?
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; }; then
17762 echo "$as_me:$LINENO: result: yes" >&5
17763 echo "${ECHO_T}yes" >&6
17764 else
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.$ac_ext >&5
17767
17768 echo "$as_me:$LINENO: result: no" >&5
17769 echo "${ECHO_T}no" >&6
17770 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17771 echo "$as_me: error: Basic STL functionality missing" >&2;}
17772 { (exit 1); exit 1; }; }
17773 fi
17774 rm -f conftest.$ac_objext conftest.$ac_ext
17775
17776 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17777 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17778 cat >conftest.$ac_ext <<_ACEOF
17779 #line $LINENO "configure"
17780 /* confdefs.h. */
17781 _ACEOF
17782 cat confdefs.h >>conftest.$ac_ext
17783 cat >>conftest.$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17785 #include <string>
17786 int
17787 main ()
17788 {
17789 std::wstring foo;
17790 ;
17791 return 0;
17792 }
17793 _ACEOF
17794 rm -f conftest.$ac_objext
17795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17796 (eval $ac_compile) 2>&5
17797 ac_status=$?
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); } &&
17800 { ac_try='test -s conftest.$ac_objext'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17803 ac_status=$?
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; }; then
17806 echo "$as_me:$LINENO: result: yes" >&5
17807 echo "${ECHO_T}yes" >&6
17808 cat >>confdefs.h <<\_ACEOF
17809 #define HAVE_STD_WSTRING 1
17810 _ACEOF
17811
17812 else
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.$ac_ext >&5
17815
17816 echo "$as_me:$LINENO: result: no" >&5
17817 echo "${ECHO_T}no" >&6
17818 fi
17819 rm -f conftest.$ac_objext conftest.$ac_ext
17820
17821 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17822 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17823 cat >conftest.$ac_ext <<_ACEOF
17824 #line $LINENO "configure"
17825 /* confdefs.h. */
17826 _ACEOF
17827 cat confdefs.h >>conftest.$ac_ext
17828 cat >>conftest.$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830 #include <string>
17831 int
17832 main ()
17833 {
17834 std::string foo, bar;
17835 foo.compare(bar);
17836 foo.compare(1, 1, bar);
17837 foo.compare(1, 1, bar, 1, 1);
17838 foo.compare("");
17839 foo.compare(1, 1, "");
17840 foo.compare(1, 1, "", 2);
17841 ;
17842 return 0;
17843 }
17844 _ACEOF
17845 rm -f conftest.$ac_objext
17846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17847 (eval $ac_compile) 2>&5
17848 ac_status=$?
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } &&
17851 { ac_try='test -s conftest.$ac_objext'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17854 ac_status=$?
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; }; then
17857 echo "$as_me:$LINENO: result: yes" >&5
17858 echo "${ECHO_T}yes" >&6
17859 cat >>confdefs.h <<\_ACEOF
17860 #define HAVE_STD_STRING_COMPARE 1
17861 _ACEOF
17862
17863 else
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17866
17867 echo "$as_me:$LINENO: result: no" >&5
17868 echo "${ECHO_T}no" >&6
17869 fi
17870 rm -f conftest.$ac_objext conftest.$ac_ext
17871
17872 ac_ext=c
17873 ac_cpp='$CPP $CPPFLAGS'
17874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17877
17878 fi
17879
17880
17881 SEARCH_INCLUDE="\
17882 /usr/local/include \
17883 \
17884 /usr/Motif-1.2/include \
17885 /usr/Motif-2.1/include \
17886 \
17887 /usr/include/Motif1.2 \
17888 /opt/xpm/include/X11 \
17889 /opt/GBxpm/include/ \
17890 /opt/GBxpm/X11/include/ \
17891 \
17892 /usr/Motif1.2/include \
17893 /usr/dt/include \
17894 /usr/openwin/include \
17895 \
17896 /usr/include/Xm \
17897 \
17898 /usr/X11R6/include \
17899 /usr/X11R6.4/include \
17900 /usr/X11R5/include \
17901 /usr/X11R4/include \
17902 \
17903 /usr/include/X11R6 \
17904 /usr/include/X11R5 \
17905 /usr/include/X11R4 \
17906 \
17907 /usr/local/X11R6/include \
17908 /usr/local/X11R5/include \
17909 /usr/local/X11R4/include \
17910 \
17911 /usr/local/include/X11R6 \
17912 /usr/local/include/X11R5 \
17913 /usr/local/include/X11R4 \
17914 \
17915 /usr/X11/include \
17916 /usr/include/X11 \
17917 /usr/local/X11/include \
17918 /usr/local/include/X11 \
17919 \
17920 /usr/X386/include \
17921 /usr/x386/include \
17922 /usr/XFree86/include/X11 \
17923 \
17924 X:/XFree86/include \
17925 X:/XFree86/include/X11 \
17926 \
17927 /usr/include/gtk \
17928 /usr/local/include/gtk \
17929 /usr/include/glib \
17930 /usr/local/include/glib \
17931 \
17932 /usr/include/qt \
17933 /usr/local/include/qt \
17934 \
17935 /usr/include/windows \
17936 /usr/include/wine \
17937 /usr/local/include/wine \
17938 \
17939 /usr/unsupported/include \
17940 /usr/athena/include \
17941 /usr/local/x11r5/include \
17942 /usr/lpp/Xamples/include \
17943 \
17944 /usr/openwin/share/include"
17945
17946 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17947
17948
17949 cat >confcache <<\_ACEOF
17950 # This file is a shell script that caches the results of configure
17951 # tests run on this system so they can be shared between configure
17952 # scripts and configure runs, see configure's option --config-cache.
17953 # It is not useful on other systems. If it contains results you don't
17954 # want to keep, you may remove or edit it.
17955 #
17956 # config.status only pays attention to the cache file if you give it
17957 # the --recheck option to rerun configure.
17958 #
17959 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17960 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17961 # following values.
17962
17963 _ACEOF
17964
17965 # The following way of writing the cache mishandles newlines in values,
17966 # but we know of no workaround that is simple, portable, and efficient.
17967 # So, don't put newlines in cache variables' values.
17968 # Ultrix sh set writes to stderr and can't be redirected directly,
17969 # and sets the high bit in the cache file unless we assign to the vars.
17970 {
17971 (set) 2>&1 |
17972 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17973 *ac_space=\ *)
17974 # `set' does not quote correctly, so add quotes (double-quote
17975 # substitution turns \\\\ into \\, and sed turns \\ into \).
17976 sed -n \
17977 "s/'/'\\\\''/g;
17978 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17979 ;;
17980 *)
17981 # `set' quotes correctly as required by POSIX, so do not add quotes.
17982 sed -n \
17983 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17984 ;;
17985 esac;
17986 } |
17987 sed '
17988 t clear
17989 : clear
17990 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17991 t end
17992 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17993 : end' >>confcache
17994 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17995 if test -w $cache_file; then
17996 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17997 cat confcache >$cache_file
17998 else
17999 echo "not updating unwritable cache $cache_file"
18000 fi
18001 fi
18002 rm -f confcache
18003
18004 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18005 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18006 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18007 if test "${wx_cv_lib_glibc21+set}" = set; then
18008 echo $ECHO_N "(cached) $ECHO_C" >&6
18009 else
18010
18011 cat >conftest.$ac_ext <<_ACEOF
18012 #line $LINENO "configure"
18013 /* confdefs.h. */
18014 _ACEOF
18015 cat confdefs.h >>conftest.$ac_ext
18016 cat >>conftest.$ac_ext <<_ACEOF
18017 /* end confdefs.h. */
18018 #include <features.h>
18019 int
18020 main ()
18021 {
18022
18023 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18024 #error not glibc2.1
18025 #endif
18026
18027 ;
18028 return 0;
18029 }
18030 _ACEOF
18031 rm -f conftest.$ac_objext
18032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18033 (eval $ac_compile) 2>&5
18034 ac_status=$?
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); } &&
18037 { ac_try='test -s conftest.$ac_objext'
18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 (eval $ac_try) 2>&5
18040 ac_status=$?
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; }; then
18043
18044 wx_cv_lib_glibc21=yes
18045
18046 else
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.$ac_ext >&5
18049
18050
18051 wx_cv_lib_glibc21=no
18052
18053
18054 fi
18055 rm -f conftest.$ac_objext conftest.$ac_ext
18056
18057 fi
18058 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18059 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18060 if test "$wx_cv_lib_glibc21" = "yes"; then
18061 cat >>confdefs.h <<\_ACEOF
18062 #define wxHAVE_GLIBC2 1
18063 _ACEOF
18064
18065 fi
18066 fi
18067
18068 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18069 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18070 cat >>confdefs.h <<\_ACEOF
18071 #define _GNU_SOURCE 1
18072 _ACEOF
18073
18074 fi
18075 fi
18076
18077
18078
18079 REGEX_INCLUDE=
18080 if test "$wxUSE_REGEX" != "no"; then
18081 cat >>confdefs.h <<\_ACEOF
18082 #define wxUSE_REGEX 1
18083 _ACEOF
18084
18085
18086 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18087 if test "${ac_cv_header_regex_h+set}" = set; then
18088 echo "$as_me:$LINENO: checking for regex.h" >&5
18089 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18090 if test "${ac_cv_header_regex_h+set}" = set; then
18091 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 fi
18093 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18094 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18095 else
18096 # Is the header compilable?
18097 echo "$as_me:$LINENO: checking regex.h usability" >&5
18098 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18099 cat >conftest.$ac_ext <<_ACEOF
18100 #line $LINENO "configure"
18101 /* confdefs.h. */
18102 _ACEOF
18103 cat confdefs.h >>conftest.$ac_ext
18104 cat >>conftest.$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18106 $ac_includes_default
18107 #include <regex.h>
18108 _ACEOF
18109 rm -f conftest.$ac_objext
18110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18111 (eval $ac_compile) 2>&5
18112 ac_status=$?
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } &&
18115 { ac_try='test -s conftest.$ac_objext'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18118 ac_status=$?
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; }; then
18121 ac_header_compiler=yes
18122 else
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.$ac_ext >&5
18125
18126 ac_header_compiler=no
18127 fi
18128 rm -f conftest.$ac_objext conftest.$ac_ext
18129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18130 echo "${ECHO_T}$ac_header_compiler" >&6
18131
18132 # Is the header present?
18133 echo "$as_me:$LINENO: checking regex.h presence" >&5
18134 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18135 cat >conftest.$ac_ext <<_ACEOF
18136 #line $LINENO "configure"
18137 /* confdefs.h. */
18138 _ACEOF
18139 cat confdefs.h >>conftest.$ac_ext
18140 cat >>conftest.$ac_ext <<_ACEOF
18141 /* end confdefs.h. */
18142 #include <regex.h>
18143 _ACEOF
18144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18146 ac_status=$?
18147 grep -v '^ *+' conftest.er1 >conftest.err
18148 rm -f conftest.er1
18149 cat conftest.err >&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } >/dev/null; then
18152 if test -s conftest.err; then
18153 ac_cpp_err=$ac_c_preproc_warn_flag
18154 else
18155 ac_cpp_err=
18156 fi
18157 else
18158 ac_cpp_err=yes
18159 fi
18160 if test -z "$ac_cpp_err"; then
18161 ac_header_preproc=yes
18162 else
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18165
18166 ac_header_preproc=no
18167 fi
18168 rm -f conftest.err conftest.$ac_ext
18169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18170 echo "${ECHO_T}$ac_header_preproc" >&6
18171
18172 # So? What about this header?
18173 case $ac_header_compiler:$ac_header_preproc in
18174 yes:no )
18175 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18176 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18177 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18178 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18179 (
18180 cat <<\_ASBOX
18181 ## ------------------------------------ ##
18182 ## Report this to bug-autoconf@gnu.org. ##
18183 ## ------------------------------------ ##
18184 _ASBOX
18185 ) |
18186 sed "s/^/$as_me: WARNING: /" >&2
18187 ;;
18188 no:yes )
18189 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18190 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18191 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18192 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18193 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18194 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18195 (
18196 cat <<\_ASBOX
18197 ## ------------------------------------ ##
18198 ## Report this to bug-autoconf@gnu.org. ##
18199 ## ------------------------------------ ##
18200 _ASBOX
18201 ) |
18202 sed "s/^/$as_me: WARNING: /" >&2
18203 ;;
18204 esac
18205 echo "$as_me:$LINENO: checking for regex.h" >&5
18206 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18207 if test "${ac_cv_header_regex_h+set}" = set; then
18208 echo $ECHO_N "(cached) $ECHO_C" >&6
18209 else
18210 ac_cv_header_regex_h=$ac_header_preproc
18211 fi
18212 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18213 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18214
18215 fi
18216 if test $ac_cv_header_regex_h = yes; then
18217
18218 for ac_func in regcomp
18219 do
18220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18221 echo "$as_me:$LINENO: checking for $ac_func" >&5
18222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18223 if eval "test \"\${$as_ac_var+set}\" = set"; then
18224 echo $ECHO_N "(cached) $ECHO_C" >&6
18225 else
18226 cat >conftest.$ac_ext <<_ACEOF
18227 #line $LINENO "configure"
18228 /* confdefs.h. */
18229 _ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 /* System header to define __stub macros and hopefully few prototypes,
18234 which can conflict with char $ac_func (); below.
18235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18236 <limits.h> exists even on freestanding compilers. */
18237 #ifdef __STDC__
18238 # include <limits.h>
18239 #else
18240 # include <assert.h>
18241 #endif
18242 /* Override any gcc2 internal prototype to avoid an error. */
18243 #ifdef __cplusplus
18244 extern "C"
18245 {
18246 #endif
18247 /* We use char because int might match the return type of a gcc2
18248 builtin and then its argument prototype would still apply. */
18249 char $ac_func ();
18250 /* The GNU C library defines this for functions which it implements
18251 to always fail with ENOSYS. Some functions are actually named
18252 something starting with __ and the normal name is an alias. */
18253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18254 choke me
18255 #else
18256 char (*f) () = $ac_func;
18257 #endif
18258 #ifdef __cplusplus
18259 }
18260 #endif
18261
18262 int
18263 main ()
18264 {
18265 return f != $ac_func;
18266 ;
18267 return 0;
18268 }
18269 _ACEOF
18270 rm -f conftest.$ac_objext conftest$ac_exeext
18271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18272 (eval $ac_link) 2>&5
18273 ac_status=$?
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); } &&
18276 { ac_try='test -s conftest$ac_exeext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18279 ac_status=$?
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 eval "$as_ac_var=yes"
18283 else
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.$ac_ext >&5
18286
18287 eval "$as_ac_var=no"
18288 fi
18289 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18290 fi
18291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18293 if test `eval echo '${'$as_ac_var'}'` = yes; then
18294 cat >>confdefs.h <<_ACEOF
18295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18296 _ACEOF
18297
18298 fi
18299 done
18300
18301 fi
18302
18303
18304
18305 if test "x$ac_cv_func_regcomp" != "xyes"; then
18306 if test "$wxUSE_REGEX" = "sys" ; then
18307 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18308 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18309 { (exit 1); exit 1; }; }
18310 else
18311 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18312 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18313 wxUSE_REGEX=builtin
18314 fi
18315 else
18316 wxUSE_REGEX=sys
18317 fi
18318 fi
18319
18320 if test "$wxUSE_REGEX" = "builtin" ; then
18321 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18322 fi
18323 fi
18324
18325
18326 ZLIB_INCLUDE=
18327 ZLIB_LINK=
18328 if test "$wxUSE_ZLIB" != "no" ; then
18329 cat >>confdefs.h <<\_ACEOF
18330 #define wxUSE_ZLIB 1
18331 _ACEOF
18332
18333
18334 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18335 if test "$USE_DARWIN" = 1; then
18336 system_zlib_h_ok="yes"
18337 else
18338 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18339 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18340 if test "${ac_cv_header_zlib_h+set}" = set; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6
18342 else
18343 if test "$cross_compiling" = yes; then
18344 unset ac_cv_header_zlib_h
18345
18346 else
18347 cat >conftest.$ac_ext <<_ACEOF
18348 #line $LINENO "configure"
18349 /* confdefs.h. */
18350 _ACEOF
18351 cat confdefs.h >>conftest.$ac_ext
18352 cat >>conftest.$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18354
18355 #include <zlib.h>
18356 #include <stdio.h>
18357
18358 int main()
18359 {
18360 FILE *f=fopen("conftestval", "w");
18361 if (!f) exit(1);
18362 fprintf(f, "%s",
18363 ZLIB_VERSION[0] == '1' &&
18364 (ZLIB_VERSION[2] > '1' ||
18365 (ZLIB_VERSION[2] == '1' &&
18366 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18367 exit(0);
18368 }
18369
18370 _ACEOF
18371 rm -f conftest$ac_exeext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18373 (eval $ac_link) 2>&5
18374 ac_status=$?
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18378 (eval $ac_try) 2>&5
18379 ac_status=$?
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); }; }; then
18382 ac_cv_header_zlib_h=`cat conftestval`
18383 else
18384 echo "$as_me: program exited with status $ac_status" >&5
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.$ac_ext >&5
18387
18388 ( exit $ac_status )
18389 ac_cv_header_zlib_h=no
18390 fi
18391 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18392 fi
18393
18394 fi
18395 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18396 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18397 if test "${ac_cv_header_zlib_h+set}" = set; then
18398 echo "$as_me:$LINENO: checking for zlib.h" >&5
18399 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18400 if test "${ac_cv_header_zlib_h+set}" = set; then
18401 echo $ECHO_N "(cached) $ECHO_C" >&6
18402 fi
18403 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18404 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18405 else
18406 # Is the header compilable?
18407 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18408 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18409 cat >conftest.$ac_ext <<_ACEOF
18410 #line $LINENO "configure"
18411 /* confdefs.h. */
18412 _ACEOF
18413 cat confdefs.h >>conftest.$ac_ext
18414 cat >>conftest.$ac_ext <<_ACEOF
18415 /* end confdefs.h. */
18416 $ac_includes_default
18417 #include <zlib.h>
18418 _ACEOF
18419 rm -f conftest.$ac_objext
18420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18421 (eval $ac_compile) 2>&5
18422 ac_status=$?
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); } &&
18425 { ac_try='test -s conftest.$ac_objext'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18428 ac_status=$?
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; }; then
18431 ac_header_compiler=yes
18432 else
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.$ac_ext >&5
18435
18436 ac_header_compiler=no
18437 fi
18438 rm -f conftest.$ac_objext conftest.$ac_ext
18439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18440 echo "${ECHO_T}$ac_header_compiler" >&6
18441
18442 # Is the header present?
18443 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18444 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18445 cat >conftest.$ac_ext <<_ACEOF
18446 #line $LINENO "configure"
18447 /* confdefs.h. */
18448 _ACEOF
18449 cat confdefs.h >>conftest.$ac_ext
18450 cat >>conftest.$ac_ext <<_ACEOF
18451 /* end confdefs.h. */
18452 #include <zlib.h>
18453 _ACEOF
18454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18455 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18456 ac_status=$?
18457 grep -v '^ *+' conftest.er1 >conftest.err
18458 rm -f conftest.er1
18459 cat conftest.err >&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } >/dev/null; then
18462 if test -s conftest.err; then
18463 ac_cpp_err=$ac_c_preproc_warn_flag
18464 else
18465 ac_cpp_err=
18466 fi
18467 else
18468 ac_cpp_err=yes
18469 fi
18470 if test -z "$ac_cpp_err"; then
18471 ac_header_preproc=yes
18472 else
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18475
18476 ac_header_preproc=no
18477 fi
18478 rm -f conftest.err conftest.$ac_ext
18479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18480 echo "${ECHO_T}$ac_header_preproc" >&6
18481
18482 # So? What about this header?
18483 case $ac_header_compiler:$ac_header_preproc in
18484 yes:no )
18485 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18486 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18487 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18488 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18489 (
18490 cat <<\_ASBOX
18491 ## ------------------------------------ ##
18492 ## Report this to bug-autoconf@gnu.org. ##
18493 ## ------------------------------------ ##
18494 _ASBOX
18495 ) |
18496 sed "s/^/$as_me: WARNING: /" >&2
18497 ;;
18498 no:yes )
18499 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18500 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18501 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18502 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18503 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18504 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18505 (
18506 cat <<\_ASBOX
18507 ## ------------------------------------ ##
18508 ## Report this to bug-autoconf@gnu.org. ##
18509 ## ------------------------------------ ##
18510 _ASBOX
18511 ) |
18512 sed "s/^/$as_me: WARNING: /" >&2
18513 ;;
18514 esac
18515 echo "$as_me:$LINENO: checking for zlib.h" >&5
18516 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18517 if test "${ac_cv_header_zlib_h+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 else
18520 ac_cv_header_zlib_h=$ac_header_preproc
18521 fi
18522 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18523 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18524
18525 fi
18526
18527
18528
18529 system_zlib_h_ok=$ac_cv_header_zlib_h
18530 fi
18531
18532 if test "$system_zlib_h_ok" = "yes"; then
18533 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18534 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18535 if test "${ac_cv_lib_z_deflate+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18537 else
18538 ac_check_lib_save_LIBS=$LIBS
18539 LIBS="-lz $LIBS"
18540 cat >conftest.$ac_ext <<_ACEOF
18541 #line $LINENO "configure"
18542 /* confdefs.h. */
18543 _ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18547
18548 /* Override any gcc2 internal prototype to avoid an error. */
18549 #ifdef __cplusplus
18550 extern "C"
18551 #endif
18552 /* We use char because int might match the return type of a gcc2
18553 builtin and then its argument prototype would still apply. */
18554 char deflate ();
18555 int
18556 main ()
18557 {
18558 deflate ();
18559 ;
18560 return 0;
18561 }
18562 _ACEOF
18563 rm -f conftest.$ac_objext conftest$ac_exeext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18565 (eval $ac_link) 2>&5
18566 ac_status=$?
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); } &&
18569 { ac_try='test -s conftest$ac_exeext'
18570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18571 (eval $ac_try) 2>&5
18572 ac_status=$?
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); }; }; then
18575 ac_cv_lib_z_deflate=yes
18576 else
18577 echo "$as_me: failed program was:" >&5
18578 sed 's/^/| /' conftest.$ac_ext >&5
18579
18580 ac_cv_lib_z_deflate=no
18581 fi
18582 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18583 LIBS=$ac_check_lib_save_LIBS
18584 fi
18585 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18586 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18587 if test $ac_cv_lib_z_deflate = yes; then
18588 ZLIB_LINK=" -lz"
18589 fi
18590
18591 fi
18592
18593 if test "x$ZLIB_LINK" = "x" ; then
18594 if test "$wxUSE_ZLIB" = "sys" ; then
18595 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18596 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18597 { (exit 1); exit 1; }; }
18598 else
18599 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18600 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18601 wxUSE_ZLIB=builtin
18602 fi
18603 else
18604 wxUSE_ZLIB=sys
18605 fi
18606 fi
18607
18608 if test "$wxUSE_ZLIB" = "builtin" ; then
18609 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18610 fi
18611 fi
18612
18613
18614 PNG_INCLUDE=
18615 PNG_LINK=
18616 if test "$wxUSE_LIBPNG" != "no" ; then
18617 cat >>confdefs.h <<\_ACEOF
18618 #define wxUSE_LIBPNG 1
18619 _ACEOF
18620
18621
18622 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18623 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18624 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18625 wxUSE_LIBPNG=sys
18626 fi
18627
18628 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18629 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18630 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18631 wxUSE_LIBPNG=builtin
18632 fi
18633
18634 if test "$wxUSE_MGL" != 1 ; then
18635 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18636 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18637 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18638 if test "${ac_cv_header_png_h+set}" = set; then
18639 echo $ECHO_N "(cached) $ECHO_C" >&6
18640 else
18641 if test "$cross_compiling" = yes; then
18642 unset ac_cv_header_png_h
18643
18644 else
18645 cat >conftest.$ac_ext <<_ACEOF
18646 #line $LINENO "configure"
18647 /* confdefs.h. */
18648 _ACEOF
18649 cat confdefs.h >>conftest.$ac_ext
18650 cat >>conftest.$ac_ext <<_ACEOF
18651 /* end confdefs.h. */
18652
18653 #include <png.h>
18654 #include <stdio.h>
18655
18656 int main()
18657 {
18658 FILE *f=fopen("conftestval", "w");
18659 if (!f) exit(1);
18660 fprintf(f, "%s",
18661 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18662 exit(0);
18663 }
18664
18665 _ACEOF
18666 rm -f conftest$ac_exeext
18667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18668 (eval $ac_link) 2>&5
18669 ac_status=$?
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18674 ac_status=$?
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; }; then
18677 ac_cv_header_png_h=`cat conftestval`
18678 else
18679 echo "$as_me: program exited with status $ac_status" >&5
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18682
18683 ( exit $ac_status )
18684 ac_cv_header_png_h=no
18685 fi
18686 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18687 fi
18688
18689 fi
18690 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18691 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18692 if test "${ac_cv_header_png_h+set}" = set; then
18693 echo "$as_me:$LINENO: checking for png.h" >&5
18694 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18695 if test "${ac_cv_header_png_h+set}" = set; then
18696 echo $ECHO_N "(cached) $ECHO_C" >&6
18697 fi
18698 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18699 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18700 else
18701 # Is the header compilable?
18702 echo "$as_me:$LINENO: checking png.h usability" >&5
18703 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18704 cat >conftest.$ac_ext <<_ACEOF
18705 #line $LINENO "configure"
18706 /* confdefs.h. */
18707 _ACEOF
18708 cat confdefs.h >>conftest.$ac_ext
18709 cat >>conftest.$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18711 $ac_includes_default
18712 #include <png.h>
18713 _ACEOF
18714 rm -f conftest.$ac_objext
18715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18716 (eval $ac_compile) 2>&5
18717 ac_status=$?
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } &&
18720 { ac_try='test -s conftest.$ac_objext'
18721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18722 (eval $ac_try) 2>&5
18723 ac_status=$?
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); }; }; then
18726 ac_header_compiler=yes
18727 else
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.$ac_ext >&5
18730
18731 ac_header_compiler=no
18732 fi
18733 rm -f conftest.$ac_objext conftest.$ac_ext
18734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18735 echo "${ECHO_T}$ac_header_compiler" >&6
18736
18737 # Is the header present?
18738 echo "$as_me:$LINENO: checking png.h presence" >&5
18739 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18740 cat >conftest.$ac_ext <<_ACEOF
18741 #line $LINENO "configure"
18742 /* confdefs.h. */
18743 _ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 #include <png.h>
18748 _ACEOF
18749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18750 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18751 ac_status=$?
18752 grep -v '^ *+' conftest.er1 >conftest.err
18753 rm -f conftest.er1
18754 cat conftest.err >&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } >/dev/null; then
18757 if test -s conftest.err; then
18758 ac_cpp_err=$ac_c_preproc_warn_flag
18759 else
18760 ac_cpp_err=
18761 fi
18762 else
18763 ac_cpp_err=yes
18764 fi
18765 if test -z "$ac_cpp_err"; then
18766 ac_header_preproc=yes
18767 else
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.$ac_ext >&5
18770
18771 ac_header_preproc=no
18772 fi
18773 rm -f conftest.err conftest.$ac_ext
18774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18775 echo "${ECHO_T}$ac_header_preproc" >&6
18776
18777 # So? What about this header?
18778 case $ac_header_compiler:$ac_header_preproc in
18779 yes:no )
18780 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18781 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18782 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18783 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18784 (
18785 cat <<\_ASBOX
18786 ## ------------------------------------ ##
18787 ## Report this to bug-autoconf@gnu.org. ##
18788 ## ------------------------------------ ##
18789 _ASBOX
18790 ) |
18791 sed "s/^/$as_me: WARNING: /" >&2
18792 ;;
18793 no:yes )
18794 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18795 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18796 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18797 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18798 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18799 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18800 (
18801 cat <<\_ASBOX
18802 ## ------------------------------------ ##
18803 ## Report this to bug-autoconf@gnu.org. ##
18804 ## ------------------------------------ ##
18805 _ASBOX
18806 ) |
18807 sed "s/^/$as_me: WARNING: /" >&2
18808 ;;
18809 esac
18810 echo "$as_me:$LINENO: checking for png.h" >&5
18811 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18812 if test "${ac_cv_header_png_h+set}" = set; then
18813 echo $ECHO_N "(cached) $ECHO_C" >&6
18814 else
18815 ac_cv_header_png_h=$ac_header_preproc
18816 fi
18817 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18818 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18819
18820 fi
18821
18822
18823
18824 if test "$ac_cv_header_png_h" = "yes"; then
18825 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18826 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18827 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18828 echo $ECHO_N "(cached) $ECHO_C" >&6
18829 else
18830 ac_check_lib_save_LIBS=$LIBS
18831 LIBS="-lpng -lz -lm $LIBS"
18832 cat >conftest.$ac_ext <<_ACEOF
18833 #line $LINENO "configure"
18834 /* confdefs.h. */
18835 _ACEOF
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18839
18840 /* Override any gcc2 internal prototype to avoid an error. */
18841 #ifdef __cplusplus
18842 extern "C"
18843 #endif
18844 /* We use char because int might match the return type of a gcc2
18845 builtin and then its argument prototype would still apply. */
18846 char png_check_sig ();
18847 int
18848 main ()
18849 {
18850 png_check_sig ();
18851 ;
18852 return 0;
18853 }
18854 _ACEOF
18855 rm -f conftest.$ac_objext conftest$ac_exeext
18856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18857 (eval $ac_link) 2>&5
18858 ac_status=$?
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); } &&
18861 { ac_try='test -s conftest$ac_exeext'
18862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18863 (eval $ac_try) 2>&5
18864 ac_status=$?
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); }; }; then
18867 ac_cv_lib_png_png_check_sig=yes
18868 else
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18871
18872 ac_cv_lib_png_png_check_sig=no
18873 fi
18874 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18875 LIBS=$ac_check_lib_save_LIBS
18876 fi
18877 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18878 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18879 if test $ac_cv_lib_png_png_check_sig = yes; then
18880 PNG_LINK=" -lpng"
18881 fi
18882
18883 fi
18884
18885 if test "x$PNG_LINK" = "x" ; then
18886 if test "$wxUSE_LIBPNG" = "sys" ; then
18887 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18888 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18889 { (exit 1); exit 1; }; }
18890 else
18891 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18892 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18893 wxUSE_LIBPNG=builtin
18894 fi
18895 else
18896 wxUSE_LIBPNG=sys
18897 fi
18898 fi
18899 fi
18900
18901 if test "$wxUSE_LIBPNG" = "builtin" ; then
18902 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18903 fi
18904
18905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18906 fi
18907
18908
18909 JPEG_INCLUDE=
18910 JPEG_LINK=
18911 if test "$wxUSE_LIBJPEG" != "no" ; then
18912 cat >>confdefs.h <<\_ACEOF
18913 #define wxUSE_LIBJPEG 1
18914 _ACEOF
18915
18916
18917 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18918 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18919 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18920 wxUSE_LIBJPEG=sys
18921 fi
18922
18923 if test "$wxUSE_MGL" != 1 ; then
18924 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18925 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18926 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18927 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18928 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 else
18930 cat >conftest.$ac_ext <<_ACEOF
18931 #line $LINENO "configure"
18932 /* confdefs.h. */
18933 _ACEOF
18934 cat confdefs.h >>conftest.$ac_ext
18935 cat >>conftest.$ac_ext <<_ACEOF
18936 /* end confdefs.h. */
18937
18938 #undef HAVE_STDLIB_H
18939 #include <stdio.h>
18940 #include <jpeglib.h>
18941
18942 int
18943 main ()
18944 {
18945
18946
18947 ;
18948 return 0;
18949 }
18950 _ACEOF
18951 rm -f conftest.$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>&5
18954 ac_status=$?
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } &&
18957 { ac_try='test -s conftest.$ac_objext'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18960 ac_status=$?
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; }; then
18963 ac_cv_header_jpeglib_h=yes
18964 else
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.$ac_ext >&5
18967
18968 ac_cv_header_jpeglib_h=no
18969
18970 fi
18971 rm -f conftest.$ac_objext conftest.$ac_ext
18972
18973 fi
18974
18975 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18976 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18977
18978 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18979 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18980 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18981 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18982 echo $ECHO_N "(cached) $ECHO_C" >&6
18983 else
18984 ac_check_lib_save_LIBS=$LIBS
18985 LIBS="-ljpeg $LIBS"
18986 cat >conftest.$ac_ext <<_ACEOF
18987 #line $LINENO "configure"
18988 /* confdefs.h. */
18989 _ACEOF
18990 cat confdefs.h >>conftest.$ac_ext
18991 cat >>conftest.$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18993
18994 /* Override any gcc2 internal prototype to avoid an error. */
18995 #ifdef __cplusplus
18996 extern "C"
18997 #endif
18998 /* We use char because int might match the return type of a gcc2
18999 builtin and then its argument prototype would still apply. */
19000 char jpeg_read_header ();
19001 int
19002 main ()
19003 {
19004 jpeg_read_header ();
19005 ;
19006 return 0;
19007 }
19008 _ACEOF
19009 rm -f conftest.$ac_objext conftest$ac_exeext
19010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19011 (eval $ac_link) 2>&5
19012 ac_status=$?
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } &&
19015 { ac_try='test -s conftest$ac_exeext'
19016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017 (eval $ac_try) 2>&5
19018 ac_status=$?
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }; }; then
19021 ac_cv_lib_jpeg_jpeg_read_header=yes
19022 else
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19025
19026 ac_cv_lib_jpeg_jpeg_read_header=no
19027 fi
19028 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19029 LIBS=$ac_check_lib_save_LIBS
19030 fi
19031 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19032 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19033 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19034 JPEG_LINK=" -ljpeg"
19035 fi
19036
19037 fi
19038
19039 if test "x$JPEG_LINK" = "x" ; then
19040 if test "$wxUSE_LIBJPEG" = "sys" ; then
19041 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19042 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19043 { (exit 1); exit 1; }; }
19044 else
19045 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19046 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19047 wxUSE_LIBJPEG=builtin
19048 fi
19049 else
19050 wxUSE_LIBJPEG=sys
19051 fi
19052 fi
19053 fi
19054
19055 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19056 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
19057 fi
19058 fi
19059
19060
19061 TIFF_INCLUDE=
19062 TIFF_LINK=
19063 TIFF_PREREQ_LINKS=-lm
19064 if test "$wxUSE_LIBTIFF" != "no" ; then
19065 cat >>confdefs.h <<\_ACEOF
19066 #define wxUSE_LIBTIFF 1
19067 _ACEOF
19068
19069
19070 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19071 if test "$wxUSE_LIBJPEG" = "sys"; then
19072 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19073 fi
19074 if test "$wxUSE_ZLIB" = "sys"; then
19075 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19076 fi
19077 if test "${ac_cv_header_tiffio_h+set}" = set; then
19078 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19079 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19080 if test "${ac_cv_header_tiffio_h+set}" = set; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 fi
19083 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19084 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19085 else
19086 # Is the header compilable?
19087 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19088 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19089 cat >conftest.$ac_ext <<_ACEOF
19090 #line $LINENO "configure"
19091 /* confdefs.h. */
19092 _ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19096 $ac_includes_default
19097 #include <tiffio.h>
19098 _ACEOF
19099 rm -f conftest.$ac_objext
19100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19101 (eval $ac_compile) 2>&5
19102 ac_status=$?
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } &&
19105 { ac_try='test -s conftest.$ac_objext'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19108 ac_status=$?
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; }; then
19111 ac_header_compiler=yes
19112 else
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.$ac_ext >&5
19115
19116 ac_header_compiler=no
19117 fi
19118 rm -f conftest.$ac_objext conftest.$ac_ext
19119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19120 echo "${ECHO_T}$ac_header_compiler" >&6
19121
19122 # Is the header present?
19123 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19124 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19125 cat >conftest.$ac_ext <<_ACEOF
19126 #line $LINENO "configure"
19127 /* confdefs.h. */
19128 _ACEOF
19129 cat confdefs.h >>conftest.$ac_ext
19130 cat >>conftest.$ac_ext <<_ACEOF
19131 /* end confdefs.h. */
19132 #include <tiffio.h>
19133 _ACEOF
19134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19135 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19136 ac_status=$?
19137 grep -v '^ *+' conftest.er1 >conftest.err
19138 rm -f conftest.er1
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } >/dev/null; then
19142 if test -s conftest.err; then
19143 ac_cpp_err=$ac_c_preproc_warn_flag
19144 else
19145 ac_cpp_err=
19146 fi
19147 else
19148 ac_cpp_err=yes
19149 fi
19150 if test -z "$ac_cpp_err"; then
19151 ac_header_preproc=yes
19152 else
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19155
19156 ac_header_preproc=no
19157 fi
19158 rm -f conftest.err conftest.$ac_ext
19159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19160 echo "${ECHO_T}$ac_header_preproc" >&6
19161
19162 # So? What about this header?
19163 case $ac_header_compiler:$ac_header_preproc in
19164 yes:no )
19165 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19166 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19167 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19168 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19169 (
19170 cat <<\_ASBOX
19171 ## ------------------------------------ ##
19172 ## Report this to bug-autoconf@gnu.org. ##
19173 ## ------------------------------------ ##
19174 _ASBOX
19175 ) |
19176 sed "s/^/$as_me: WARNING: /" >&2
19177 ;;
19178 no:yes )
19179 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19180 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19181 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19182 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19183 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19184 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19185 (
19186 cat <<\_ASBOX
19187 ## ------------------------------------ ##
19188 ## Report this to bug-autoconf@gnu.org. ##
19189 ## ------------------------------------ ##
19190 _ASBOX
19191 ) |
19192 sed "s/^/$as_me: WARNING: /" >&2
19193 ;;
19194 esac
19195 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19196 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19197 if test "${ac_cv_header_tiffio_h+set}" = set; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 else
19200 ac_cv_header_tiffio_h=$ac_header_preproc
19201 fi
19202 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19203 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19204
19205 fi
19206 if test $ac_cv_header_tiffio_h = yes; then
19207 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19208 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19209 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19210 echo $ECHO_N "(cached) $ECHO_C" >&6
19211 else
19212 ac_check_lib_save_LIBS=$LIBS
19213 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19214 cat >conftest.$ac_ext <<_ACEOF
19215 #line $LINENO "configure"
19216 /* confdefs.h. */
19217 _ACEOF
19218 cat confdefs.h >>conftest.$ac_ext
19219 cat >>conftest.$ac_ext <<_ACEOF
19220 /* end confdefs.h. */
19221
19222 /* Override any gcc2 internal prototype to avoid an error. */
19223 #ifdef __cplusplus
19224 extern "C"
19225 #endif
19226 /* We use char because int might match the return type of a gcc2
19227 builtin and then its argument prototype would still apply. */
19228 char TIFFError ();
19229 int
19230 main ()
19231 {
19232 TIFFError ();
19233 ;
19234 return 0;
19235 }
19236 _ACEOF
19237 rm -f conftest.$ac_objext conftest$ac_exeext
19238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19239 (eval $ac_link) 2>&5
19240 ac_status=$?
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } &&
19243 { ac_try='test -s conftest$ac_exeext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19246 ac_status=$?
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19249 ac_cv_lib_tiff_TIFFError=yes
19250 else
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19253
19254 ac_cv_lib_tiff_TIFFError=no
19255 fi
19256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19257 LIBS=$ac_check_lib_save_LIBS
19258 fi
19259 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19260 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19261 if test $ac_cv_lib_tiff_TIFFError = yes; then
19262 TIFF_LINK=" -ltiff"
19263 fi
19264
19265
19266 fi
19267
19268
19269
19270 if test "x$TIFF_LINK" = "x" ; then
19271 if test "$wxUSE_LIBTIFF" = "sys" ; then
19272 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19273 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19274 { (exit 1); exit 1; }; }
19275 else
19276 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19277 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19278 wxUSE_LIBTIFF=builtin
19279 fi
19280 else
19281 wxUSE_LIBTIFF=sys
19282 fi
19283 fi
19284
19285 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19286 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19287 fi
19288 fi
19289
19290
19291 if test "$wxUSE_EXPAT" != "no"; then
19292 wxUSE_XML=1
19293 cat >>confdefs.h <<\_ACEOF
19294 #define wxUSE_EXPAT 1
19295 _ACEOF
19296
19297 cat >>confdefs.h <<\_ACEOF
19298 #define wxUSE_XML 1
19299 _ACEOF
19300
19301
19302 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19303 if test "${ac_cv_header_expat_h+set}" = set; then
19304 echo "$as_me:$LINENO: checking for expat.h" >&5
19305 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19306 if test "${ac_cv_header_expat_h+set}" = set; then
19307 echo $ECHO_N "(cached) $ECHO_C" >&6
19308 fi
19309 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19310 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19311 else
19312 # Is the header compilable?
19313 echo "$as_me:$LINENO: checking expat.h usability" >&5
19314 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19315 cat >conftest.$ac_ext <<_ACEOF
19316 #line $LINENO "configure"
19317 /* confdefs.h. */
19318 _ACEOF
19319 cat confdefs.h >>conftest.$ac_ext
19320 cat >>conftest.$ac_ext <<_ACEOF
19321 /* end confdefs.h. */
19322 $ac_includes_default
19323 #include <expat.h>
19324 _ACEOF
19325 rm -f conftest.$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>&5
19328 ac_status=$?
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } &&
19331 { ac_try='test -s conftest.$ac_objext'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19334 ac_status=$?
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; }; then
19337 ac_header_compiler=yes
19338 else
19339 echo "$as_me: failed program was:" >&5
19340 sed 's/^/| /' conftest.$ac_ext >&5
19341
19342 ac_header_compiler=no
19343 fi
19344 rm -f conftest.$ac_objext conftest.$ac_ext
19345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19346 echo "${ECHO_T}$ac_header_compiler" >&6
19347
19348 # Is the header present?
19349 echo "$as_me:$LINENO: checking expat.h presence" >&5
19350 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19351 cat >conftest.$ac_ext <<_ACEOF
19352 #line $LINENO "configure"
19353 /* confdefs.h. */
19354 _ACEOF
19355 cat confdefs.h >>conftest.$ac_ext
19356 cat >>conftest.$ac_ext <<_ACEOF
19357 /* end confdefs.h. */
19358 #include <expat.h>
19359 _ACEOF
19360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19362 ac_status=$?
19363 grep -v '^ *+' conftest.er1 >conftest.err
19364 rm -f conftest.er1
19365 cat conftest.err >&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); } >/dev/null; then
19368 if test -s conftest.err; then
19369 ac_cpp_err=$ac_c_preproc_warn_flag
19370 else
19371 ac_cpp_err=
19372 fi
19373 else
19374 ac_cpp_err=yes
19375 fi
19376 if test -z "$ac_cpp_err"; then
19377 ac_header_preproc=yes
19378 else
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.$ac_ext >&5
19381
19382 ac_header_preproc=no
19383 fi
19384 rm -f conftest.err conftest.$ac_ext
19385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19386 echo "${ECHO_T}$ac_header_preproc" >&6
19387
19388 # So? What about this header?
19389 case $ac_header_compiler:$ac_header_preproc in
19390 yes:no )
19391 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19392 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19393 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19394 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19395 (
19396 cat <<\_ASBOX
19397 ## ------------------------------------ ##
19398 ## Report this to bug-autoconf@gnu.org. ##
19399 ## ------------------------------------ ##
19400 _ASBOX
19401 ) |
19402 sed "s/^/$as_me: WARNING: /" >&2
19403 ;;
19404 no:yes )
19405 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19406 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19407 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19408 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19409 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19410 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19411 (
19412 cat <<\_ASBOX
19413 ## ------------------------------------ ##
19414 ## Report this to bug-autoconf@gnu.org. ##
19415 ## ------------------------------------ ##
19416 _ASBOX
19417 ) |
19418 sed "s/^/$as_me: WARNING: /" >&2
19419 ;;
19420 esac
19421 echo "$as_me:$LINENO: checking for expat.h" >&5
19422 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19423 if test "${ac_cv_header_expat_h+set}" = set; then
19424 echo $ECHO_N "(cached) $ECHO_C" >&6
19425 else
19426 ac_cv_header_expat_h=$ac_header_preproc
19427 fi
19428 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19429 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19430
19431 fi
19432 if test $ac_cv_header_expat_h = yes; then
19433 found_expat_h=1
19434 fi
19435
19436
19437 if test "x$found_expat_h" = "x1"; then
19438 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19439 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19440 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19441 echo $ECHO_N "(cached) $ECHO_C" >&6
19442 else
19443
19444
19445
19446 ac_ext=cc
19447 ac_cpp='$CXXCPP $CPPFLAGS'
19448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19451
19452 cat >conftest.$ac_ext <<_ACEOF
19453 #line $LINENO "configure"
19454 /* confdefs.h. */
19455 _ACEOF
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19459 #include <expat.h>
19460 int
19461 main ()
19462 {
19463
19464 ;
19465 return 0;
19466 }
19467 _ACEOF
19468 rm -f conftest.$ac_objext
19469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19470 (eval $ac_compile) 2>&5
19471 ac_status=$?
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); } &&
19474 { ac_try='test -s conftest.$ac_objext'
19475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19476 (eval $ac_try) 2>&5
19477 ac_status=$?
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; }; then
19480 wx_cv_expat_is_not_broken=yes
19481 else
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.$ac_ext >&5
19484
19485 wx_cv_expat_is_not_broken=no
19486
19487 fi
19488 rm -f conftest.$ac_objext conftest.$ac_ext
19489 ac_ext=c
19490 ac_cpp='$CPP $CPPFLAGS'
19491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19494
19495
19496
19497 fi
19498 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19499 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19500 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19501 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19502 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19503 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19504 echo $ECHO_N "(cached) $ECHO_C" >&6
19505 else
19506 ac_check_lib_save_LIBS=$LIBS
19507 LIBS="-lexpat $LIBS"
19508 cat >conftest.$ac_ext <<_ACEOF
19509 #line $LINENO "configure"
19510 /* confdefs.h. */
19511 _ACEOF
19512 cat confdefs.h >>conftest.$ac_ext
19513 cat >>conftest.$ac_ext <<_ACEOF
19514 /* end confdefs.h. */
19515
19516 /* Override any gcc2 internal prototype to avoid an error. */
19517 #ifdef __cplusplus
19518 extern "C"
19519 #endif
19520 /* We use char because int might match the return type of a gcc2
19521 builtin and then its argument prototype would still apply. */
19522 char XML_ParserCreate ();
19523 int
19524 main ()
19525 {
19526 XML_ParserCreate ();
19527 ;
19528 return 0;
19529 }
19530 _ACEOF
19531 rm -f conftest.$ac_objext conftest$ac_exeext
19532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19533 (eval $ac_link) 2>&5
19534 ac_status=$?
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); } &&
19537 { ac_try='test -s conftest$ac_exeext'
19538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539 (eval $ac_try) 2>&5
19540 ac_status=$?
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); }; }; then
19543 ac_cv_lib_expat_XML_ParserCreate=yes
19544 else
19545 echo "$as_me: failed program was:" >&5
19546 sed 's/^/| /' conftest.$ac_ext >&5
19547
19548 ac_cv_lib_expat_XML_ParserCreate=no
19549 fi
19550 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19551 LIBS=$ac_check_lib_save_LIBS
19552 fi
19553 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19554 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19555 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19556 EXPAT_LINK=" -lexpat"
19557 fi
19558
19559 fi
19560 fi
19561 if test "x$EXPAT_LINK" = "x" ; then
19562 if test "$wxUSE_EXPAT" = "sys" ; then
19563 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19564 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19565 { (exit 1); exit 1; }; }
19566 else
19567 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19568 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19569 wxUSE_EXPAT=builtin
19570 fi
19571 else
19572 wxUSE_EXPAT=sys
19573 fi
19574 fi
19575 if test "$wxUSE_EXPAT" = "builtin" ; then
19576
19577
19578 subdirs="$subdirs src/expat"
19579
19580 fi
19581 fi
19582
19583
19584
19585 AFMINSTALL=
19586 WIN32INSTALL=
19587
19588 TOOLKIT=
19589 TOOLKIT_INCLUDE=
19590 WIDGET_SET=
19591
19592 if test "$USE_WIN32" = 1 ; then
19593
19594 for ac_header in w32api.h
19595 do
19596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19598 echo "$as_me:$LINENO: checking for $ac_header" >&5
19599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19601 echo $ECHO_N "(cached) $ECHO_C" >&6
19602 fi
19603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19605 else
19606 # Is the header compilable?
19607 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19609 cat >conftest.$ac_ext <<_ACEOF
19610 #line $LINENO "configure"
19611 /* confdefs.h. */
19612 _ACEOF
19613 cat confdefs.h >>conftest.$ac_ext
19614 cat >>conftest.$ac_ext <<_ACEOF
19615 /* end confdefs.h. */
19616 $ac_includes_default
19617 #include <$ac_header>
19618 _ACEOF
19619 rm -f conftest.$ac_objext
19620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19621 (eval $ac_compile) 2>&5
19622 ac_status=$?
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } &&
19625 { ac_try='test -s conftest.$ac_objext'
19626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19627 (eval $ac_try) 2>&5
19628 ac_status=$?
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); }; }; then
19631 ac_header_compiler=yes
19632 else
19633 echo "$as_me: failed program was:" >&5
19634 sed 's/^/| /' conftest.$ac_ext >&5
19635
19636 ac_header_compiler=no
19637 fi
19638 rm -f conftest.$ac_objext conftest.$ac_ext
19639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19640 echo "${ECHO_T}$ac_header_compiler" >&6
19641
19642 # Is the header present?
19643 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19645 cat >conftest.$ac_ext <<_ACEOF
19646 #line $LINENO "configure"
19647 /* confdefs.h. */
19648 _ACEOF
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 #include <$ac_header>
19653 _ACEOF
19654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19655 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19656 ac_status=$?
19657 grep -v '^ *+' conftest.er1 >conftest.err
19658 rm -f conftest.er1
19659 cat conftest.err >&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); } >/dev/null; then
19662 if test -s conftest.err; then
19663 ac_cpp_err=$ac_c_preproc_warn_flag
19664 else
19665 ac_cpp_err=
19666 fi
19667 else
19668 ac_cpp_err=yes
19669 fi
19670 if test -z "$ac_cpp_err"; then
19671 ac_header_preproc=yes
19672 else
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19675
19676 ac_header_preproc=no
19677 fi
19678 rm -f conftest.err conftest.$ac_ext
19679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19680 echo "${ECHO_T}$ac_header_preproc" >&6
19681
19682 # So? What about this header?
19683 case $ac_header_compiler:$ac_header_preproc in
19684 yes:no )
19685 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19686 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19689 (
19690 cat <<\_ASBOX
19691 ## ------------------------------------ ##
19692 ## Report this to bug-autoconf@gnu.org. ##
19693 ## ------------------------------------ ##
19694 _ASBOX
19695 ) |
19696 sed "s/^/$as_me: WARNING: /" >&2
19697 ;;
19698 no:yes )
19699 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19700 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19701 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19702 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19705 (
19706 cat <<\_ASBOX
19707 ## ------------------------------------ ##
19708 ## Report this to bug-autoconf@gnu.org. ##
19709 ## ------------------------------------ ##
19710 _ASBOX
19711 ) |
19712 sed "s/^/$as_me: WARNING: /" >&2
19713 ;;
19714 esac
19715 echo "$as_me:$LINENO: checking for $ac_header" >&5
19716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19718 echo $ECHO_N "(cached) $ECHO_C" >&6
19719 else
19720 eval "$as_ac_Header=$ac_header_preproc"
19721 fi
19722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19724
19725 fi
19726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19727 cat >>confdefs.h <<_ACEOF
19728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19729 _ACEOF
19730
19731 fi
19732
19733 done
19734
19735 if test "${ac_cv_header_windows_h+set}" = set; then
19736 echo "$as_me:$LINENO: checking for windows.h" >&5
19737 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19738 if test "${ac_cv_header_windows_h+set}" = set; then
19739 echo $ECHO_N "(cached) $ECHO_C" >&6
19740 fi
19741 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19742 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19743 else
19744 # Is the header compilable?
19745 echo "$as_me:$LINENO: checking windows.h usability" >&5
19746 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19747 cat >conftest.$ac_ext <<_ACEOF
19748 #line $LINENO "configure"
19749 /* confdefs.h. */
19750 _ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 $ac_includes_default
19755 #include <windows.h>
19756 _ACEOF
19757 rm -f conftest.$ac_objext
19758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19759 (eval $ac_compile) 2>&5
19760 ac_status=$?
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } &&
19763 { ac_try='test -s conftest.$ac_objext'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19766 ac_status=$?
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; }; then
19769 ac_header_compiler=yes
19770 else
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.$ac_ext >&5
19773
19774 ac_header_compiler=no
19775 fi
19776 rm -f conftest.$ac_objext conftest.$ac_ext
19777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19778 echo "${ECHO_T}$ac_header_compiler" >&6
19779
19780 # Is the header present?
19781 echo "$as_me:$LINENO: checking windows.h presence" >&5
19782 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19783 cat >conftest.$ac_ext <<_ACEOF
19784 #line $LINENO "configure"
19785 /* confdefs.h. */
19786 _ACEOF
19787 cat confdefs.h >>conftest.$ac_ext
19788 cat >>conftest.$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19790 #include <windows.h>
19791 _ACEOF
19792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19794 ac_status=$?
19795 grep -v '^ *+' conftest.er1 >conftest.err
19796 rm -f conftest.er1
19797 cat conftest.err >&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } >/dev/null; then
19800 if test -s conftest.err; then
19801 ac_cpp_err=$ac_c_preproc_warn_flag
19802 else
19803 ac_cpp_err=
19804 fi
19805 else
19806 ac_cpp_err=yes
19807 fi
19808 if test -z "$ac_cpp_err"; then
19809 ac_header_preproc=yes
19810 else
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19813
19814 ac_header_preproc=no
19815 fi
19816 rm -f conftest.err conftest.$ac_ext
19817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19818 echo "${ECHO_T}$ac_header_preproc" >&6
19819
19820 # So? What about this header?
19821 case $ac_header_compiler:$ac_header_preproc in
19822 yes:no )
19823 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19824 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19825 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19826 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19827 (
19828 cat <<\_ASBOX
19829 ## ------------------------------------ ##
19830 ## Report this to bug-autoconf@gnu.org. ##
19831 ## ------------------------------------ ##
19832 _ASBOX
19833 ) |
19834 sed "s/^/$as_me: WARNING: /" >&2
19835 ;;
19836 no:yes )
19837 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19838 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19839 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19840 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19841 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19842 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19843 (
19844 cat <<\_ASBOX
19845 ## ------------------------------------ ##
19846 ## Report this to bug-autoconf@gnu.org. ##
19847 ## ------------------------------------ ##
19848 _ASBOX
19849 ) |
19850 sed "s/^/$as_me: WARNING: /" >&2
19851 ;;
19852 esac
19853 echo "$as_me:$LINENO: checking for windows.h" >&5
19854 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19855 if test "${ac_cv_header_windows_h+set}" = set; then
19856 echo $ECHO_N "(cached) $ECHO_C" >&6
19857 else
19858 ac_cv_header_windows_h=$ac_header_preproc
19859 fi
19860 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19861 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19862
19863 fi
19864 if test $ac_cv_header_windows_h = yes; then
19865 :
19866 else
19867
19868 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19869 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19870 { (exit 1); exit 1; }; }
19871
19872 fi
19873
19874
19875
19876 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19877
19878 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19879 LIBS="$LIBS -loleacc"
19880 fi
19881
19882 case "${host}" in
19883 *-*-cygwin* )
19884 LIBS="$LIBS -lkernel32 -luser32"
19885 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19886 esac
19887
19888 if test "$wxUSE_ODBC" = "sys" ; then
19889 wxUSE_ODBC = "yes"
19890 fi
19891 if test "$wxUSE_ODBC" = "yes" ; then
19892 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19893 cat >>confdefs.h <<\_ACEOF
19894 #define wxUSE_ODBC 1
19895 _ACEOF
19896
19897 fi
19898
19899 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19900 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19901
19902 WIN32INSTALL=win32install
19903 fi
19904
19905 if test "$wxUSE_GUI" = "yes"; then
19906 USE_GUI=1
19907
19908 GUI_TK_LIBRARY=
19909
19910 WXGTK12=
19911 WXGTK127=
19912 WXGTK20=
19913
19914 if test "$wxUSE_MSW" = 1 ; then
19915 TOOLKIT=MSW
19916 GUIDIST=MSW_DIST
19917 fi
19918
19919 if test "$wxUSE_GTK" = 1; then
19920 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19921 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19922
19923 gtk_version_cached=1
19924 if test "${wx_cv_lib_gtk+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19926 else
19927
19928 gtk_version_cached=0
19929 echo "$as_me:$LINENO: result: " >&5
19930 echo "${ECHO_T}" >&6
19931
19932 GTK_MODULES=
19933 if test "$wxUSE_THREADS" = "yes"; then
19934 GTK_MODULES=gthread
19935 fi
19936
19937 wx_cv_lib_gtk=
19938 if test "x$wxUSE_GTK2" = "xyes"; then
19939 # Check whether --enable-gtktest or --disable-gtktest was given.
19940 if test "${enable_gtktest+set}" = set; then
19941 enableval="$enable_gtktest"
19942
19943 else
19944 enable_gtktest=yes
19945 fi;
19946
19947 pkg_config_args=gtk+-2.0
19948 for module in . $GTK_MODULES
19949 do
19950 case "$module" in
19951 gthread)
19952 pkg_config_args="$pkg_config_args gthread-2.0"
19953 ;;
19954 esac
19955 done
19956
19957 no_gtk=""
19958
19959 # Extract the first word of "pkg-config", so it can be a program name with args.
19960 set dummy pkg-config; ac_word=$2
19961 echo "$as_me:$LINENO: checking for $ac_word" >&5
19962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19963 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19965 else
19966 case $PKG_CONFIG in
19967 [\\/]* | ?:[\\/]*)
19968 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19969 ;;
19970 *)
19971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19972 for as_dir in $PATH
19973 do
19974 IFS=$as_save_IFS
19975 test -z "$as_dir" && as_dir=.
19976 for ac_exec_ext in '' $ac_executable_extensions; do
19977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19978 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19980 break 2
19981 fi
19982 done
19983 done
19984
19985 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19986 ;;
19987 esac
19988 fi
19989 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19990
19991 if test -n "$PKG_CONFIG"; then
19992 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19993 echo "${ECHO_T}$PKG_CONFIG" >&6
19994 else
19995 echo "$as_me:$LINENO: result: no" >&5
19996 echo "${ECHO_T}no" >&6
19997 fi
19998
19999
20000 if test x$PKG_CONFIG != xno ; then
20001 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20002 :
20003 else
20004 echo *** pkg-config too old; version 0.7 or better required.
20005 no_gtk=yes
20006 PKG_CONFIG=no
20007 fi
20008 else
20009 no_gtk=yes
20010 fi
20011
20012 min_gtk_version=2.0.0
20013 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20014 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20015
20016 if test x$PKG_CONFIG != xno ; then
20017 ## don't try to run the test against uninstalled libtool libs
20018 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20019 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20020 enable_gtktest=no
20021 fi
20022
20023 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20024 :
20025 else
20026 no_gtk=yes
20027 fi
20028 fi
20029
20030 if test x"$no_gtk" = x ; then
20031 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20032 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20033 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20035 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20037 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20039 if test "x$enable_gtktest" = "xyes" ; then
20040 ac_save_CFLAGS="$CFLAGS"
20041 ac_save_LIBS="$LIBS"
20042 CFLAGS="$CFLAGS $GTK_CFLAGS"
20043 LIBS="$GTK_LIBS $LIBS"
20044 rm -f conf.gtktest
20045 if test "$cross_compiling" = yes; then
20046 echo $ac_n "cross compiling; assumed OK... $ac_c"
20047 else
20048 cat >conftest.$ac_ext <<_ACEOF
20049 #line $LINENO "configure"
20050 /* confdefs.h. */
20051 _ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055
20056 #include <gtk/gtk.h>
20057 #include <stdio.h>
20058 #include <stdlib.h>
20059
20060 int
20061 main ()
20062 {
20063 int major, minor, micro;
20064 char *tmp_version;
20065
20066 system ("touch conf.gtktest");
20067
20068 /* HP/UX 9 (%@#!) writes to sscanf strings */
20069 tmp_version = g_strdup("$min_gtk_version");
20070 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20071 printf("%s, bad version string\n", "$min_gtk_version");
20072 exit(1);
20073 }
20074
20075 if ((gtk_major_version != $gtk_config_major_version) ||
20076 (gtk_minor_version != $gtk_config_minor_version) ||
20077 (gtk_micro_version != $gtk_config_micro_version))
20078 {
20079 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20080 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20081 gtk_major_version, gtk_minor_version, gtk_micro_version);
20082 printf ("*** was found! If pkg-config was correct, then it is best\n");
20083 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20084 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20085 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20086 printf("*** required on your system.\n");
20087 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20088 printf("*** to point to the correct configuration files\n");
20089 }
20090 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20091 (gtk_minor_version != GTK_MINOR_VERSION) ||
20092 (gtk_micro_version != GTK_MICRO_VERSION))
20093 {
20094 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20095 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20096 printf("*** library (version %d.%d.%d)\n",
20097 gtk_major_version, gtk_minor_version, gtk_micro_version);
20098 }
20099 else
20100 {
20101 if ((gtk_major_version > major) ||
20102 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20103 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20104 {
20105 return 0;
20106 }
20107 else
20108 {
20109 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20110 gtk_major_version, gtk_minor_version, gtk_micro_version);
20111 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20112 major, minor, micro);
20113 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20114 printf("***\n");
20115 printf("*** If you have already installed a sufficiently new version, this error\n");
20116 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20117 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20118 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20119 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20120 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20121 printf("*** so that the correct libraries are found at run-time))\n");
20122 }
20123 }
20124 return 1;
20125 }
20126
20127 _ACEOF
20128 rm -f conftest$ac_exeext
20129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20130 (eval $ac_link) 2>&5
20131 ac_status=$?
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20135 (eval $ac_try) 2>&5
20136 ac_status=$?
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); }; }; then
20139 :
20140 else
20141 echo "$as_me: program exited with status $ac_status" >&5
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20144
20145 ( exit $ac_status )
20146 no_gtk=yes
20147 fi
20148 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20149 fi
20150 CFLAGS="$ac_save_CFLAGS"
20151 LIBS="$ac_save_LIBS"
20152 fi
20153 fi
20154 if test "x$no_gtk" = x ; then
20155 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20156 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20157 wx_cv_lib_gtk=2.0
20158 else
20159 echo "$as_me:$LINENO: result: no" >&5
20160 echo "${ECHO_T}no" >&6
20161 if test "$PKG_CONFIG" = "no" ; then
20162 echo "*** A new enough version of pkg-config was not found."
20163 echo "*** See http://pkgconfig.sourceforge.net"
20164 else
20165 if test -f conf.gtktest ; then
20166 :
20167 else
20168 echo "*** Could not run GTK+ test program, checking why..."
20169 ac_save_CFLAGS="$CFLAGS"
20170 ac_save_LIBS="$LIBS"
20171 CFLAGS="$CFLAGS $GTK_CFLAGS"
20172 LIBS="$LIBS $GTK_LIBS"
20173 cat >conftest.$ac_ext <<_ACEOF
20174 #line $LINENO "configure"
20175 /* confdefs.h. */
20176 _ACEOF
20177 cat confdefs.h >>conftest.$ac_ext
20178 cat >>conftest.$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180
20181 #include <gtk/gtk.h>
20182 #include <stdio.h>
20183
20184 int
20185 main ()
20186 {
20187 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20188 ;
20189 return 0;
20190 }
20191 _ACEOF
20192 rm -f conftest.$ac_objext conftest$ac_exeext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20194 (eval $ac_link) 2>&5
20195 ac_status=$?
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); } &&
20198 { ac_try='test -s conftest$ac_exeext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 echo "*** The test program compiled, but did not run. This usually means"
20205 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20206 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20207 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20208 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20209 echo "*** is required on your system"
20210 echo "***"
20211 echo "*** If you have an old version installed, it is best to remove it, although"
20212 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20213 else
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.$ac_ext >&5
20216
20217 echo "*** The test program failed to compile or link. See the file config.log for the"
20218 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20219 fi
20220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20221 CFLAGS="$ac_save_CFLAGS"
20222 LIBS="$ac_save_LIBS"
20223 fi
20224 fi
20225 GTK_CFLAGS=""
20226 GTK_LIBS=""
20227 :
20228 fi
20229
20230
20231 rm -f conf.gtktest
20232
20233 else
20234
20235 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20236 if test "${with_gtk_prefix+set}" = set; then
20237 withval="$with_gtk_prefix"
20238 gtk_config_prefix="$withval"
20239 else
20240 gtk_config_prefix=""
20241 fi;
20242
20243 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20244 if test "${with_gtk_exec_prefix+set}" = set; then
20245 withval="$with_gtk_exec_prefix"
20246 gtk_config_exec_prefix="$withval"
20247 else
20248 gtk_config_exec_prefix=""
20249 fi;
20250 # Check whether --enable-gtktest or --disable-gtktest was given.
20251 if test "${enable_gtktest+set}" = set; then
20252 enableval="$enable_gtktest"
20253
20254 else
20255 enable_gtktest=yes
20256 fi;
20257
20258 for module in . $GTK_MODULES
20259 do
20260 case "$module" in
20261 gthread)
20262 gtk_config_args="$gtk_config_args gthread"
20263 ;;
20264 esac
20265 done
20266
20267 if test x$gtk_config_exec_prefix != x ; then
20268 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20269 if test x${GTK_CONFIG+set} != xset ; then
20270 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20271 fi
20272 fi
20273 if test x$gtk_config_prefix != x ; then
20274 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20275 if test x${GTK_CONFIG+set} != xset ; then
20276 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20277 fi
20278 fi
20279
20280 # Extract the first word of "gtk-config", so it can be a program name with args.
20281 set dummy gtk-config; ac_word=$2
20282 echo "$as_me:$LINENO: checking for $ac_word" >&5
20283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20284 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20285 echo $ECHO_N "(cached) $ECHO_C" >&6
20286 else
20287 case $GTK_CONFIG in
20288 [\\/]* | ?:[\\/]*)
20289 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20290 ;;
20291 *)
20292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20293 for as_dir in $PATH
20294 do
20295 IFS=$as_save_IFS
20296 test -z "$as_dir" && as_dir=.
20297 for ac_exec_ext in '' $ac_executable_extensions; do
20298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20299 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20301 break 2
20302 fi
20303 done
20304 done
20305
20306 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20307 ;;
20308 esac
20309 fi
20310 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20311
20312 if test -n "$GTK_CONFIG"; then
20313 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20314 echo "${ECHO_T}$GTK_CONFIG" >&6
20315 else
20316 echo "$as_me:$LINENO: result: no" >&5
20317 echo "${ECHO_T}no" >&6
20318 fi
20319
20320 min_gtk_version=1.2.7
20321 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20322 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20323 no_gtk=""
20324 if test "$GTK_CONFIG" = "no" ; then
20325 no_gtk=yes
20326 else
20327 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20328 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20329 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20331 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20332 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20333 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20334 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20335 if test "x$enable_gtktest" = "xyes" ; then
20336 ac_save_CFLAGS="$CFLAGS"
20337 ac_save_LIBS="$LIBS"
20338 CFLAGS="$CFLAGS $GTK_CFLAGS"
20339 LIBS="$GTK_LIBS $LIBS"
20340 rm -f conf.gtktest
20341 if test "$cross_compiling" = yes; then
20342 echo $ac_n "cross compiling; assumed OK... $ac_c"
20343 else
20344 cat >conftest.$ac_ext <<_ACEOF
20345 #line $LINENO "configure"
20346 /* confdefs.h. */
20347 _ACEOF
20348 cat confdefs.h >>conftest.$ac_ext
20349 cat >>conftest.$ac_ext <<_ACEOF
20350 /* end confdefs.h. */
20351
20352 #include <gtk/gtk.h>
20353 #include <stdio.h>
20354 #include <stdlib.h>
20355
20356 int
20357 main ()
20358 {
20359 int major, minor, micro;
20360 char *tmp_version;
20361
20362 system ("touch conf.gtktest");
20363
20364 /* HP/UX 9 (%@#!) writes to sscanf strings */
20365 tmp_version = g_strdup("$min_gtk_version");
20366 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20367 printf("%s, bad version string\n", "$min_gtk_version");
20368 exit(1);
20369 }
20370
20371 if ((gtk_major_version != $gtk_config_major_version) ||
20372 (gtk_minor_version != $gtk_config_minor_version) ||
20373 (gtk_micro_version != $gtk_config_micro_version))
20374 {
20375 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20376 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20377 gtk_major_version, gtk_minor_version, gtk_micro_version);
20378 printf ("*** was found! If gtk-config was correct, then it is best\n");
20379 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20380 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20381 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20382 printf("*** required on your system.\n");
20383 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20384 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20385 printf("*** before re-running configure\n");
20386 }
20387 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20388 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20389 (gtk_minor_version != GTK_MINOR_VERSION) ||
20390 (gtk_micro_version != GTK_MICRO_VERSION))
20391 {
20392 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20393 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20394 printf("*** library (version %d.%d.%d)\n",
20395 gtk_major_version, gtk_minor_version, gtk_micro_version);
20396 }
20397 #endif /* defined (GTK_MAJOR_VERSION) ... */
20398 else
20399 {
20400 if ((gtk_major_version > major) ||
20401 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20402 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20403 {
20404 return 0;
20405 }
20406 else
20407 {
20408 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20409 gtk_major_version, gtk_minor_version, gtk_micro_version);
20410 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20411 major, minor, micro);
20412 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20413 printf("***\n");
20414 printf("*** If you have already installed a sufficiently new version, this error\n");
20415 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20416 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20417 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20418 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20419 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20420 printf("*** so that the correct libraries are found at run-time))\n");
20421 }
20422 }
20423 return 1;
20424 }
20425
20426 _ACEOF
20427 rm -f conftest$ac_exeext
20428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20429 (eval $ac_link) 2>&5
20430 ac_status=$?
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20435 ac_status=$?
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; }; then
20438 :
20439 else
20440 echo "$as_me: program exited with status $ac_status" >&5
20441 echo "$as_me: failed program was:" >&5
20442 sed 's/^/| /' conftest.$ac_ext >&5
20443
20444 ( exit $ac_status )
20445 no_gtk=yes
20446 fi
20447 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20448 fi
20449 CFLAGS="$ac_save_CFLAGS"
20450 LIBS="$ac_save_LIBS"
20451 fi
20452 fi
20453 if test "x$no_gtk" = x ; then
20454 echo "$as_me:$LINENO: result: yes" >&5
20455 echo "${ECHO_T}yes" >&6
20456 wx_cv_lib_gtk=1.2.7
20457 else
20458 echo "$as_me:$LINENO: result: no" >&5
20459 echo "${ECHO_T}no" >&6
20460 if test "$GTK_CONFIG" = "no" ; then
20461 echo "*** The gtk-config script installed by GTK could not be found"
20462 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20463 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20464 echo "*** full path to gtk-config."
20465 else
20466 if test -f conf.gtktest ; then
20467 :
20468 else
20469 echo "*** Could not run GTK test program, checking why..."
20470 CFLAGS="$CFLAGS $GTK_CFLAGS"
20471 LIBS="$LIBS $GTK_LIBS"
20472 cat >conftest.$ac_ext <<_ACEOF
20473 #line $LINENO "configure"
20474 /* confdefs.h. */
20475 _ACEOF
20476 cat confdefs.h >>conftest.$ac_ext
20477 cat >>conftest.$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20479
20480 #include <gtk/gtk.h>
20481 #include <stdio.h>
20482
20483 int
20484 main ()
20485 {
20486 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20487 ;
20488 return 0;
20489 }
20490 _ACEOF
20491 rm -f conftest.$ac_objext conftest$ac_exeext
20492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20493 (eval $ac_link) 2>&5
20494 ac_status=$?
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); } &&
20497 { ac_try='test -s conftest$ac_exeext'
20498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20499 (eval $ac_try) 2>&5
20500 ac_status=$?
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); }; }; then
20503 echo "*** The test program compiled, but did not run. This usually means"
20504 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20505 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20506 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20507 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20508 echo "*** is required on your system"
20509 echo "***"
20510 echo "*** If you have an old version installed, it is best to remove it, although"
20511 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20512 echo "***"
20513 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20514 echo "*** came with the system with the command"
20515 echo "***"
20516 echo "*** rpm --erase --nodeps gtk gtk-devel"
20517 else
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20520
20521 echo "*** The test program failed to compile or link. See the file config.log for the"
20522 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20523 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20524 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20525 fi
20526 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20527 CFLAGS="$ac_save_CFLAGS"
20528 LIBS="$ac_save_LIBS"
20529 fi
20530 fi
20531 GTK_CFLAGS=""
20532 GTK_LIBS=""
20533 :
20534 fi
20535
20536
20537 rm -f conf.gtktest
20538
20539
20540 if test -z "$wx_cv_lib_gtk"; then
20541
20542 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20543 if test "${with_gtk_prefix+set}" = set; then
20544 withval="$with_gtk_prefix"
20545 gtk_config_prefix="$withval"
20546 else
20547 gtk_config_prefix=""
20548 fi;
20549
20550 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20551 if test "${with_gtk_exec_prefix+set}" = set; then
20552 withval="$with_gtk_exec_prefix"
20553 gtk_config_exec_prefix="$withval"
20554 else
20555 gtk_config_exec_prefix=""
20556 fi;
20557 # Check whether --enable-gtktest or --disable-gtktest was given.
20558 if test "${enable_gtktest+set}" = set; then
20559 enableval="$enable_gtktest"
20560
20561 else
20562 enable_gtktest=yes
20563 fi;
20564
20565 for module in . $GTK_MODULES
20566 do
20567 case "$module" in
20568 gthread)
20569 gtk_config_args="$gtk_config_args gthread"
20570 ;;
20571 esac
20572 done
20573
20574 if test x$gtk_config_exec_prefix != x ; then
20575 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20576 if test x${GTK_CONFIG+set} != xset ; then
20577 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20578 fi
20579 fi
20580 if test x$gtk_config_prefix != x ; then
20581 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20582 if test x${GTK_CONFIG+set} != xset ; then
20583 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20584 fi
20585 fi
20586
20587 # Extract the first word of "gtk-config", so it can be a program name with args.
20588 set dummy gtk-config; ac_word=$2
20589 echo "$as_me:$LINENO: checking for $ac_word" >&5
20590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20591 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20592 echo $ECHO_N "(cached) $ECHO_C" >&6
20593 else
20594 case $GTK_CONFIG in
20595 [\\/]* | ?:[\\/]*)
20596 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20597 ;;
20598 *)
20599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20600 for as_dir in $PATH
20601 do
20602 IFS=$as_save_IFS
20603 test -z "$as_dir" && as_dir=.
20604 for ac_exec_ext in '' $ac_executable_extensions; do
20605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20606 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20608 break 2
20609 fi
20610 done
20611 done
20612
20613 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20614 ;;
20615 esac
20616 fi
20617 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20618
20619 if test -n "$GTK_CONFIG"; then
20620 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20621 echo "${ECHO_T}$GTK_CONFIG" >&6
20622 else
20623 echo "$as_me:$LINENO: result: no" >&5
20624 echo "${ECHO_T}no" >&6
20625 fi
20626
20627 min_gtk_version=1.2.3
20628 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20629 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20630 no_gtk=""
20631 if test "$GTK_CONFIG" = "no" ; then
20632 no_gtk=yes
20633 else
20634 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20635 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20636 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20638 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20640 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20642 if test "x$enable_gtktest" = "xyes" ; then
20643 ac_save_CFLAGS="$CFLAGS"
20644 ac_save_LIBS="$LIBS"
20645 CFLAGS="$CFLAGS $GTK_CFLAGS"
20646 LIBS="$GTK_LIBS $LIBS"
20647 rm -f conf.gtktest
20648 if test "$cross_compiling" = yes; then
20649 echo $ac_n "cross compiling; assumed OK... $ac_c"
20650 else
20651 cat >conftest.$ac_ext <<_ACEOF
20652 #line $LINENO "configure"
20653 /* confdefs.h. */
20654 _ACEOF
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20658
20659 #include <gtk/gtk.h>
20660 #include <stdio.h>
20661 #include <stdlib.h>
20662
20663 int
20664 main ()
20665 {
20666 int major, minor, micro;
20667 char *tmp_version;
20668
20669 system ("touch conf.gtktest");
20670
20671 /* HP/UX 9 (%@#!) writes to sscanf strings */
20672 tmp_version = g_strdup("$min_gtk_version");
20673 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20674 printf("%s, bad version string\n", "$min_gtk_version");
20675 exit(1);
20676 }
20677
20678 if ((gtk_major_version != $gtk_config_major_version) ||
20679 (gtk_minor_version != $gtk_config_minor_version) ||
20680 (gtk_micro_version != $gtk_config_micro_version))
20681 {
20682 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20683 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20684 gtk_major_version, gtk_minor_version, gtk_micro_version);
20685 printf ("*** was found! If gtk-config was correct, then it is best\n");
20686 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20687 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20688 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20689 printf("*** required on your system.\n");
20690 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20691 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20692 printf("*** before re-running configure\n");
20693 }
20694 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20695 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20696 (gtk_minor_version != GTK_MINOR_VERSION) ||
20697 (gtk_micro_version != GTK_MICRO_VERSION))
20698 {
20699 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20700 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20701 printf("*** library (version %d.%d.%d)\n",
20702 gtk_major_version, gtk_minor_version, gtk_micro_version);
20703 }
20704 #endif /* defined (GTK_MAJOR_VERSION) ... */
20705 else
20706 {
20707 if ((gtk_major_version > major) ||
20708 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20709 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20710 {
20711 return 0;
20712 }
20713 else
20714 {
20715 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20716 gtk_major_version, gtk_minor_version, gtk_micro_version);
20717 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20718 major, minor, micro);
20719 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20720 printf("***\n");
20721 printf("*** If you have already installed a sufficiently new version, this error\n");
20722 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20723 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20724 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20725 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20726 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20727 printf("*** so that the correct libraries are found at run-time))\n");
20728 }
20729 }
20730 return 1;
20731 }
20732
20733 _ACEOF
20734 rm -f conftest$ac_exeext
20735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20736 (eval $ac_link) 2>&5
20737 ac_status=$?
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20741 (eval $ac_try) 2>&5
20742 ac_status=$?
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); }; }; then
20745 :
20746 else
20747 echo "$as_me: program exited with status $ac_status" >&5
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.$ac_ext >&5
20750
20751 ( exit $ac_status )
20752 no_gtk=yes
20753 fi
20754 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20755 fi
20756 CFLAGS="$ac_save_CFLAGS"
20757 LIBS="$ac_save_LIBS"
20758 fi
20759 fi
20760 if test "x$no_gtk" = x ; then
20761 echo "$as_me:$LINENO: result: yes" >&5
20762 echo "${ECHO_T}yes" >&6
20763 wx_cv_lib_gtk=1.2.3
20764 else
20765 echo "$as_me:$LINENO: result: no" >&5
20766 echo "${ECHO_T}no" >&6
20767 if test "$GTK_CONFIG" = "no" ; then
20768 echo "*** The gtk-config script installed by GTK could not be found"
20769 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20770 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20771 echo "*** full path to gtk-config."
20772 else
20773 if test -f conf.gtktest ; then
20774 :
20775 else
20776 echo "*** Could not run GTK test program, checking why..."
20777 CFLAGS="$CFLAGS $GTK_CFLAGS"
20778 LIBS="$LIBS $GTK_LIBS"
20779 cat >conftest.$ac_ext <<_ACEOF
20780 #line $LINENO "configure"
20781 /* confdefs.h. */
20782 _ACEOF
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20786
20787 #include <gtk/gtk.h>
20788 #include <stdio.h>
20789
20790 int
20791 main ()
20792 {
20793 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20794 ;
20795 return 0;
20796 }
20797 _ACEOF
20798 rm -f conftest.$ac_objext conftest$ac_exeext
20799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20800 (eval $ac_link) 2>&5
20801 ac_status=$?
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); } &&
20804 { ac_try='test -s conftest$ac_exeext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20807 ac_status=$?
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20810 echo "*** The test program compiled, but did not run. This usually means"
20811 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20812 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20813 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20814 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20815 echo "*** is required on your system"
20816 echo "***"
20817 echo "*** If you have an old version installed, it is best to remove it, although"
20818 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20819 echo "***"
20820 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20821 echo "*** came with the system with the command"
20822 echo "***"
20823 echo "*** rpm --erase --nodeps gtk gtk-devel"
20824 else
20825 echo "$as_me: failed program was:" >&5
20826 sed 's/^/| /' conftest.$ac_ext >&5
20827
20828 echo "*** The test program failed to compile or link. See the file config.log for the"
20829 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20830 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20831 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20832 fi
20833 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20834 CFLAGS="$ac_save_CFLAGS"
20835 LIBS="$ac_save_LIBS"
20836 fi
20837 fi
20838 GTK_CFLAGS=""
20839 GTK_LIBS=""
20840 :
20841 fi
20842
20843
20844 rm -f conf.gtktest
20845
20846 fi
20847 fi
20848
20849 if test -z "$wx_cv_lib_gtk"; then
20850 wx_cv_lib_gtk=none
20851 else
20852 wx_cv_cflags_gtk=$GTK_CFLAGS
20853 wx_cv_libs_gtk=$GTK_LIBS
20854 fi
20855
20856
20857 fi
20858
20859
20860 if test "$gtk_version_cached" = 1; then
20861 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20862 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20863 fi
20864
20865 case "$wx_cv_lib_gtk" in
20866 2.0) WXGTK20=1
20867 TOOLKIT_VERSION=2
20868 ;;
20869 1.2.7) WXGTK127=1
20870 WXGTK12=1
20871 ;;
20872 1.2.3) WXGTK12=1
20873 ;;
20874 *) { { echo "$as_me:$LINENO: error:
20875 Please check that gtk-config is in path, the directory
20876 where GTK+ libraries are installed (returned by
20877 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20878 equivalent variable and GTK+ is version 1.2.3 or above.
20879 " >&5
20880 echo "$as_me: error:
20881 Please check that gtk-config is in path, the directory
20882 where GTK+ libraries are installed (returned by
20883 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20884 equivalent variable and GTK+ is version 1.2.3 or above.
20885 " >&2;}
20886 { (exit 1); exit 1; }; }
20887 ;;
20888 esac
20889
20890 if test "$WXGTK20" = 1; then
20891 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20892
20893 succeeded=no
20894
20895 if test -z "$PKG_CONFIG"; then
20896 # Extract the first word of "pkg-config", so it can be a program name with args.
20897 set dummy pkg-config; ac_word=$2
20898 echo "$as_me:$LINENO: checking for $ac_word" >&5
20899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20900 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20902 else
20903 case $PKG_CONFIG in
20904 [\\/]* | ?:[\\/]*)
20905 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20906 ;;
20907 *)
20908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20909 for as_dir in $PATH
20910 do
20911 IFS=$as_save_IFS
20912 test -z "$as_dir" && as_dir=.
20913 for ac_exec_ext in '' $ac_executable_extensions; do
20914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20915 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20917 break 2
20918 fi
20919 done
20920 done
20921
20922 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20923 ;;
20924 esac
20925 fi
20926 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20927
20928 if test -n "$PKG_CONFIG"; then
20929 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20930 echo "${ECHO_T}$PKG_CONFIG" >&6
20931 else
20932 echo "$as_me:$LINENO: result: no" >&5
20933 echo "${ECHO_T}no" >&6
20934 fi
20935
20936 fi
20937
20938 if test "$PKG_CONFIG" = "no" ; then
20939 echo "*** The pkg-config script could not be found. Make sure it is"
20940 echo "*** in your path, or set the PKG_CONFIG environment variable"
20941 echo "*** to the full path to pkg-config."
20942 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20943 else
20944 PKG_CONFIG_MIN_VERSION=0.9.0
20945 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20946 echo "$as_me:$LINENO: checking for pangoft2" >&5
20947 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20948
20949 if $PKG_CONFIG --exists "pangoft2" ; then
20950 echo "$as_me:$LINENO: result: yes" >&5
20951 echo "${ECHO_T}yes" >&6
20952 succeeded=yes
20953
20954 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20955 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20956 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20957 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20958 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20959
20960 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20961 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20962 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20963 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20964 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20965 else
20966 PANGOFT2_CFLAGS=""
20967 PANGOFT2_LIBS=""
20968 ## If we have a custom action on failure, don't print errors, but
20969 ## do set a variable so people can do so.
20970 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20971
20972 fi
20973
20974
20975
20976 else
20977 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20978 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20979 fi
20980 fi
20981
20982 if test $succeeded = yes; then
20983
20984 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20985 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20986
20987 else
20988
20989 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20990 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20991 wxUSE_PRINTING_ARCHITECTURE="no"
20992
20993
20994 fi
20995
20996 fi
20997 else
20998 if test "$wxUSE_UNICODE" = "yes"; then
20999 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21000 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21001 wxUSE_UNICODE=no
21002 fi
21003 fi
21004
21005 if test "$USE_DARWIN" != 1; then
21006
21007 for ac_func in poll
21008 do
21009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21010 echo "$as_me:$LINENO: checking for $ac_func" >&5
21011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21012 if eval "test \"\${$as_ac_var+set}\" = set"; then
21013 echo $ECHO_N "(cached) $ECHO_C" >&6
21014 else
21015 cat >conftest.$ac_ext <<_ACEOF
21016 #line $LINENO "configure"
21017 /* confdefs.h. */
21018 _ACEOF
21019 cat confdefs.h >>conftest.$ac_ext
21020 cat >>conftest.$ac_ext <<_ACEOF
21021 /* end confdefs.h. */
21022 /* System header to define __stub macros and hopefully few prototypes,
21023 which can conflict with char $ac_func (); below.
21024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21025 <limits.h> exists even on freestanding compilers. */
21026 #ifdef __STDC__
21027 # include <limits.h>
21028 #else
21029 # include <assert.h>
21030 #endif
21031 /* Override any gcc2 internal prototype to avoid an error. */
21032 #ifdef __cplusplus
21033 extern "C"
21034 {
21035 #endif
21036 /* We use char because int might match the return type of a gcc2
21037 builtin and then its argument prototype would still apply. */
21038 char $ac_func ();
21039 /* The GNU C library defines this for functions which it implements
21040 to always fail with ENOSYS. Some functions are actually named
21041 something starting with __ and the normal name is an alias. */
21042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21043 choke me
21044 #else
21045 char (*f) () = $ac_func;
21046 #endif
21047 #ifdef __cplusplus
21048 }
21049 #endif
21050
21051 int
21052 main ()
21053 {
21054 return f != $ac_func;
21055 ;
21056 return 0;
21057 }
21058 _ACEOF
21059 rm -f conftest.$ac_objext conftest$ac_exeext
21060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21061 (eval $ac_link) 2>&5
21062 ac_status=$?
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); } &&
21065 { ac_try='test -s conftest$ac_exeext'
21066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21067 (eval $ac_try) 2>&5
21068 ac_status=$?
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); }; }; then
21071 eval "$as_ac_var=yes"
21072 else
21073 echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.$ac_ext >&5
21075
21076 eval "$as_ac_var=no"
21077 fi
21078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21079 fi
21080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21082 if test `eval echo '${'$as_ac_var'}'` = yes; then
21083 cat >>confdefs.h <<_ACEOF
21084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21085 _ACEOF
21086
21087 fi
21088 done
21089
21090 fi
21091
21092 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21093 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21094
21095 AFMINSTALL=afminstall
21096 TOOLKIT=GTK
21097 GUIDIST=GTK_DIST
21098
21099 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21100 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21101 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21102 echo $ECHO_N "(cached) $ECHO_C" >&6
21103 else
21104 ac_check_lib_save_LIBS=$LIBS
21105 LIBS="-lgdk $LIBS"
21106 cat >conftest.$ac_ext <<_ACEOF
21107 #line $LINENO "configure"
21108 /* confdefs.h. */
21109 _ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113
21114 /* Override any gcc2 internal prototype to avoid an error. */
21115 #ifdef __cplusplus
21116 extern "C"
21117 #endif
21118 /* We use char because int might match the return type of a gcc2
21119 builtin and then its argument prototype would still apply. */
21120 char gdk_im_open ();
21121 int
21122 main ()
21123 {
21124 gdk_im_open ();
21125 ;
21126 return 0;
21127 }
21128 _ACEOF
21129 rm -f conftest.$ac_objext conftest$ac_exeext
21130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21131 (eval $ac_link) 2>&5
21132 ac_status=$?
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } &&
21135 { ac_try='test -s conftest$ac_exeext'
21136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21137 (eval $ac_try) 2>&5
21138 ac_status=$?
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); }; }; then
21141 ac_cv_lib_gdk_gdk_im_open=yes
21142 else
21143 echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.$ac_ext >&5
21145
21146 ac_cv_lib_gdk_gdk_im_open=no
21147 fi
21148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21149 LIBS=$ac_check_lib_save_LIBS
21150 fi
21151 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21152 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21153 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21154 cat >>confdefs.h <<\_ACEOF
21155 #define HAVE_XIM 1
21156 _ACEOF
21157
21158 fi
21159
21160 fi
21161
21162 if test "$wxUSE_MGL" = 1; then
21163 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21164 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21165 if test "x$MGL_ROOT" = x ; then
21166 echo "$as_me:$LINENO: result: not found" >&5
21167 echo "${ECHO_T}not found" >&6
21168 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21169 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21170 { (exit 1); exit 1; }; }
21171 else
21172 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21173 echo "${ECHO_T}$MGL_ROOT" >&6
21174 fi
21175
21176 echo "$as_me:$LINENO: checking for libmgl location" >&5
21177 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21178 case "${host}" in
21179 *-*-linux* )
21180 if test "x$wxUSE_SHARED" = xyes ; then
21181 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
21182 else
21183 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
21184 fi
21185 ;;
21186 *-pc-msdosdjgpp )
21187 mgl_os_candidates="dos32/dj2"
21188 ;;
21189 *)
21190 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21191 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21192 { (exit 1); exit 1; }; }
21193 esac
21194
21195 mgl_lib_type=""
21196 mgl_os=""
21197
21198 for mgl_os_i in $mgl_os_candidates ; do
21199 if test "x$mgl_os" = x ; then
21200 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21201 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21202 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21203 mgl_lib_type=debug
21204 mgl_os=$mgl_os_i
21205 fi
21206 fi
21207 if test "x$mgl_lib_type" = x ; then
21208 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21209 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21210 mgl_lib_type=release
21211 mgl_os=$mgl_os_i
21212 fi
21213 fi
21214 fi
21215 done
21216
21217 if test "x$mgl_os" = x ; then
21218 echo "$as_me:$LINENO: result: not found" >&5
21219 echo "${ECHO_T}not found" >&6
21220 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21221 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21222 { (exit 1); exit 1; }; }
21223 fi
21224 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21225 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21226
21227 wxUSE_UNIVERSAL="yes"
21228
21229 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21230 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21231
21232 AFMINSTALL=afminstall
21233 TOOLKIT=MGL
21234 GUIDIST=MGL_DIST
21235 fi
21236
21237 if test "$wxUSE_MICROWIN" = 1; then
21238 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21239 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21240 if test "x$MICROWINDOWS" = x ; then
21241 echo "$as_me:$LINENO: result: not found" >&5
21242 echo "${ECHO_T}not found" >&6
21243 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21244 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21245 { (exit 1); exit 1; }; }
21246 else
21247 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21248 echo "${ECHO_T}$MICROWINDOWS" >&6
21249 fi
21250
21251 if test -f $MICROWINDOWS/lib/libmwin.a; then
21252 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21253 echo "${ECHO_T}MicroWindows' libraries found." >&6
21254 else
21255 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21256 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21257 { (exit 1); exit 1; }; }
21258 fi
21259
21260 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21261 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21262
21263 wxUSE_UNIVERSAL="yes"
21264
21265 AFMINSTALL=afminstall
21266 TOOLKIT=MICROWIN
21267 GUIDIST=MICROWIN_DIST
21268
21269 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21270 fi
21271
21272 if test "$wxUSE_X11" = 1; then
21273 echo "$as_me:$LINENO: checking for X" >&5
21274 echo $ECHO_N "checking for X... $ECHO_C" >&6
21275
21276
21277 # Check whether --with-x or --without-x was given.
21278 if test "${with_x+set}" = set; then
21279 withval="$with_x"
21280
21281 fi;
21282 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21283 if test "x$with_x" = xno; then
21284 # The user explicitly disabled X.
21285 have_x=disabled
21286 else
21287 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21288 # Both variables are already set.
21289 have_x=yes
21290 else
21291 if test "${ac_cv_have_x+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 else
21294 # One or both of the vars are not set, and there is no cached value.
21295 ac_x_includes=no ac_x_libraries=no
21296 rm -fr conftest.dir
21297 if mkdir conftest.dir; then
21298 cd conftest.dir
21299 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21300 cat >Imakefile <<'_ACEOF'
21301 acfindx:
21302 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21303 _ACEOF
21304 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21305 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21306 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21307 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21308 for ac_extension in a so sl; do
21309 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21310 test -f $ac_im_libdir/libX11.$ac_extension; then
21311 ac_im_usrlibdir=$ac_im_libdir; break
21312 fi
21313 done
21314 # Screen out bogus values from the imake configuration. They are
21315 # bogus both because they are the default anyway, and because
21316 # using them would break gcc on systems where it needs fixed includes.
21317 case $ac_im_incroot in
21318 /usr/include) ;;
21319 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21320 esac
21321 case $ac_im_usrlibdir in
21322 /usr/lib | /lib) ;;
21323 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21324 esac
21325 fi
21326 cd ..
21327 rm -fr conftest.dir
21328 fi
21329
21330 # Standard set of common directories for X headers.
21331 # Check X11 before X11Rn because it is often a symlink to the current release.
21332 ac_x_header_dirs='
21333 /usr/X11/include
21334 /usr/X11R6/include
21335 /usr/X11R5/include
21336 /usr/X11R4/include
21337
21338 /usr/include/X11
21339 /usr/include/X11R6
21340 /usr/include/X11R5
21341 /usr/include/X11R4
21342
21343 /usr/local/X11/include
21344 /usr/local/X11R6/include
21345 /usr/local/X11R5/include
21346 /usr/local/X11R4/include
21347
21348 /usr/local/include/X11
21349 /usr/local/include/X11R6
21350 /usr/local/include/X11R5
21351 /usr/local/include/X11R4
21352
21353 /usr/X386/include
21354 /usr/x386/include
21355 /usr/XFree86/include/X11
21356
21357 /usr/include
21358 /usr/local/include
21359 /usr/unsupported/include
21360 /usr/athena/include
21361 /usr/local/x11r5/include
21362 /usr/lpp/Xamples/include
21363
21364 /usr/openwin/include
21365 /usr/openwin/share/include'
21366
21367 if test "$ac_x_includes" = no; then
21368 # Guess where to find include files, by looking for Intrinsic.h.
21369 # First, try using that file with no special directory specified.
21370 cat >conftest.$ac_ext <<_ACEOF
21371 #line $LINENO "configure"
21372 /* confdefs.h. */
21373 _ACEOF
21374 cat confdefs.h >>conftest.$ac_ext
21375 cat >>conftest.$ac_ext <<_ACEOF
21376 /* end confdefs.h. */
21377 #include <X11/Intrinsic.h>
21378 _ACEOF
21379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21380 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21381 ac_status=$?
21382 grep -v '^ *+' conftest.er1 >conftest.err
21383 rm -f conftest.er1
21384 cat conftest.err >&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } >/dev/null; then
21387 if test -s conftest.err; then
21388 ac_cpp_err=$ac_c_preproc_warn_flag
21389 else
21390 ac_cpp_err=
21391 fi
21392 else
21393 ac_cpp_err=yes
21394 fi
21395 if test -z "$ac_cpp_err"; then
21396 # We can compile using X headers with no special include directory.
21397 ac_x_includes=
21398 else
21399 echo "$as_me: failed program was:" >&5
21400 sed 's/^/| /' conftest.$ac_ext >&5
21401
21402 for ac_dir in $ac_x_header_dirs; do
21403 if test -r "$ac_dir/X11/Intrinsic.h"; then
21404 ac_x_includes=$ac_dir
21405 break
21406 fi
21407 done
21408 fi
21409 rm -f conftest.err conftest.$ac_ext
21410 fi # $ac_x_includes = no
21411
21412 if test "$ac_x_libraries" = no; then
21413 # Check for the libraries.
21414 # See if we find them without any special options.
21415 # Don't add to $LIBS permanently.
21416 ac_save_LIBS=$LIBS
21417 LIBS="-lXt $LIBS"
21418 cat >conftest.$ac_ext <<_ACEOF
21419 #line $LINENO "configure"
21420 /* confdefs.h. */
21421 _ACEOF
21422 cat confdefs.h >>conftest.$ac_ext
21423 cat >>conftest.$ac_ext <<_ACEOF
21424 /* end confdefs.h. */
21425 #include <X11/Intrinsic.h>
21426 int
21427 main ()
21428 {
21429 XtMalloc (0)
21430 ;
21431 return 0;
21432 }
21433 _ACEOF
21434 rm -f conftest.$ac_objext conftest$ac_exeext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21436 (eval $ac_link) 2>&5
21437 ac_status=$?
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); } &&
21440 { ac_try='test -s conftest$ac_exeext'
21441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442 (eval $ac_try) 2>&5
21443 ac_status=$?
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; }; then
21446 LIBS=$ac_save_LIBS
21447 # We can link X programs with no special library path.
21448 ac_x_libraries=
21449 else
21450 echo "$as_me: failed program was:" >&5
21451 sed 's/^/| /' conftest.$ac_ext >&5
21452
21453 LIBS=$ac_save_LIBS
21454 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21455 do
21456 # Don't even attempt the hair of trying to link an X program!
21457 for ac_extension in a so sl; do
21458 if test -r $ac_dir/libXt.$ac_extension; then
21459 ac_x_libraries=$ac_dir
21460 break 2
21461 fi
21462 done
21463 done
21464 fi
21465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21466 fi # $ac_x_libraries = no
21467
21468 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21469 # Didn't find X anywhere. Cache the known absence of X.
21470 ac_cv_have_x="have_x=no"
21471 else
21472 # Record where we found X for the cache.
21473 ac_cv_have_x="have_x=yes \
21474 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21475 fi
21476 fi
21477
21478 fi
21479 eval "$ac_cv_have_x"
21480 fi # $with_x != no
21481
21482 if test "$have_x" != yes; then
21483 echo "$as_me:$LINENO: result: $have_x" >&5
21484 echo "${ECHO_T}$have_x" >&6
21485 no_x=yes
21486 else
21487 # If each of the values was on the command line, it overrides each guess.
21488 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21489 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21490 # Update the cache value to reflect the command line values.
21491 ac_cv_have_x="have_x=yes \
21492 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21493 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21494 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21495 fi
21496
21497 if test "$no_x" = yes; then
21498 # Not all programs may use this symbol, but it does not hurt to define it.
21499
21500 cat >>confdefs.h <<\_ACEOF
21501 #define X_DISPLAY_MISSING 1
21502 _ACEOF
21503
21504 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21505 else
21506 if test -n "$x_includes"; then
21507 X_CFLAGS="$X_CFLAGS -I$x_includes"
21508 fi
21509
21510 # It would also be nice to do this for all -L options, not just this one.
21511 if test -n "$x_libraries"; then
21512 X_LIBS="$X_LIBS -L$x_libraries"
21513 # For Solaris; some versions of Sun CC require a space after -R and
21514 # others require no space. Words are not sufficient . . . .
21515 case `(uname -sr) 2>/dev/null` in
21516 "SunOS 5"*)
21517 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21518 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21519 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21520 cat >conftest.$ac_ext <<_ACEOF
21521 #line $LINENO "configure"
21522 /* confdefs.h. */
21523 _ACEOF
21524 cat confdefs.h >>conftest.$ac_ext
21525 cat >>conftest.$ac_ext <<_ACEOF
21526 /* end confdefs.h. */
21527
21528 int
21529 main ()
21530 {
21531
21532 ;
21533 return 0;
21534 }
21535 _ACEOF
21536 rm -f conftest.$ac_objext conftest$ac_exeext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21538 (eval $ac_link) 2>&5
21539 ac_status=$?
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } &&
21542 { ac_try='test -s conftest$ac_exeext'
21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544 (eval $ac_try) 2>&5
21545 ac_status=$?
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); }; }; then
21548 ac_R_nospace=yes
21549 else
21550 echo "$as_me: failed program was:" >&5
21551 sed 's/^/| /' conftest.$ac_ext >&5
21552
21553 ac_R_nospace=no
21554 fi
21555 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21556 if test $ac_R_nospace = yes; then
21557 echo "$as_me:$LINENO: result: no" >&5
21558 echo "${ECHO_T}no" >&6
21559 X_LIBS="$X_LIBS -R$x_libraries"
21560 else
21561 LIBS="$ac_xsave_LIBS -R $x_libraries"
21562 cat >conftest.$ac_ext <<_ACEOF
21563 #line $LINENO "configure"
21564 /* confdefs.h. */
21565 _ACEOF
21566 cat confdefs.h >>conftest.$ac_ext
21567 cat >>conftest.$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21569
21570 int
21571 main ()
21572 {
21573
21574 ;
21575 return 0;
21576 }
21577 _ACEOF
21578 rm -f conftest.$ac_objext conftest$ac_exeext
21579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21580 (eval $ac_link) 2>&5
21581 ac_status=$?
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); } &&
21584 { ac_try='test -s conftest$ac_exeext'
21585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21586 (eval $ac_try) 2>&5
21587 ac_status=$?
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); }; }; then
21590 ac_R_space=yes
21591 else
21592 echo "$as_me: failed program was:" >&5
21593 sed 's/^/| /' conftest.$ac_ext >&5
21594
21595 ac_R_space=no
21596 fi
21597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21598 if test $ac_R_space = yes; then
21599 echo "$as_me:$LINENO: result: yes" >&5
21600 echo "${ECHO_T}yes" >&6
21601 X_LIBS="$X_LIBS -R $x_libraries"
21602 else
21603 echo "$as_me:$LINENO: result: neither works" >&5
21604 echo "${ECHO_T}neither works" >&6
21605 fi
21606 fi
21607 LIBS=$ac_xsave_LIBS
21608 esac
21609 fi
21610
21611 # Check for system-dependent libraries X programs must link with.
21612 # Do this before checking for the system-independent R6 libraries
21613 # (-lICE), since we may need -lsocket or whatever for X linking.
21614
21615 if test "$ISC" = yes; then
21616 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21617 else
21618 # Martyn Johnson says this is needed for Ultrix, if the X
21619 # libraries were built with DECnet support. And Karl Berry says
21620 # the Alpha needs dnet_stub (dnet does not exist).
21621 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21622 cat >conftest.$ac_ext <<_ACEOF
21623 #line $LINENO "configure"
21624 /* confdefs.h. */
21625 _ACEOF
21626 cat confdefs.h >>conftest.$ac_ext
21627 cat >>conftest.$ac_ext <<_ACEOF
21628 /* end confdefs.h. */
21629
21630 /* Override any gcc2 internal prototype to avoid an error. */
21631 #ifdef __cplusplus
21632 extern "C"
21633 #endif
21634 /* We use char because int might match the return type of a gcc2
21635 builtin and then its argument prototype would still apply. */
21636 char XOpenDisplay ();
21637 int
21638 main ()
21639 {
21640 XOpenDisplay ();
21641 ;
21642 return 0;
21643 }
21644 _ACEOF
21645 rm -f conftest.$ac_objext conftest$ac_exeext
21646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21647 (eval $ac_link) 2>&5
21648 ac_status=$?
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); } &&
21651 { ac_try='test -s conftest$ac_exeext'
21652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21653 (eval $ac_try) 2>&5
21654 ac_status=$?
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); }; }; then
21657 :
21658 else
21659 echo "$as_me: failed program was:" >&5
21660 sed 's/^/| /' conftest.$ac_ext >&5
21661
21662 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21663 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21664 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21665 echo $ECHO_N "(cached) $ECHO_C" >&6
21666 else
21667 ac_check_lib_save_LIBS=$LIBS
21668 LIBS="-ldnet $LIBS"
21669 cat >conftest.$ac_ext <<_ACEOF
21670 #line $LINENO "configure"
21671 /* confdefs.h. */
21672 _ACEOF
21673 cat confdefs.h >>conftest.$ac_ext
21674 cat >>conftest.$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676
21677 /* Override any gcc2 internal prototype to avoid an error. */
21678 #ifdef __cplusplus
21679 extern "C"
21680 #endif
21681 /* We use char because int might match the return type of a gcc2
21682 builtin and then its argument prototype would still apply. */
21683 char dnet_ntoa ();
21684 int
21685 main ()
21686 {
21687 dnet_ntoa ();
21688 ;
21689 return 0;
21690 }
21691 _ACEOF
21692 rm -f conftest.$ac_objext conftest$ac_exeext
21693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21694 (eval $ac_link) 2>&5
21695 ac_status=$?
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); } &&
21698 { ac_try='test -s conftest$ac_exeext'
21699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21700 (eval $ac_try) 2>&5
21701 ac_status=$?
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; }; then
21704 ac_cv_lib_dnet_dnet_ntoa=yes
21705 else
21706 echo "$as_me: failed program was:" >&5
21707 sed 's/^/| /' conftest.$ac_ext >&5
21708
21709 ac_cv_lib_dnet_dnet_ntoa=no
21710 fi
21711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21712 LIBS=$ac_check_lib_save_LIBS
21713 fi
21714 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21715 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21716 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21717 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21718 fi
21719
21720 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21721 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21722 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21723 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21724 echo $ECHO_N "(cached) $ECHO_C" >&6
21725 else
21726 ac_check_lib_save_LIBS=$LIBS
21727 LIBS="-ldnet_stub $LIBS"
21728 cat >conftest.$ac_ext <<_ACEOF
21729 #line $LINENO "configure"
21730 /* confdefs.h. */
21731 _ACEOF
21732 cat confdefs.h >>conftest.$ac_ext
21733 cat >>conftest.$ac_ext <<_ACEOF
21734 /* end confdefs.h. */
21735
21736 /* Override any gcc2 internal prototype to avoid an error. */
21737 #ifdef __cplusplus
21738 extern "C"
21739 #endif
21740 /* We use char because int might match the return type of a gcc2
21741 builtin and then its argument prototype would still apply. */
21742 char dnet_ntoa ();
21743 int
21744 main ()
21745 {
21746 dnet_ntoa ();
21747 ;
21748 return 0;
21749 }
21750 _ACEOF
21751 rm -f conftest.$ac_objext conftest$ac_exeext
21752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21753 (eval $ac_link) 2>&5
21754 ac_status=$?
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); } &&
21757 { ac_try='test -s conftest$ac_exeext'
21758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21759 (eval $ac_try) 2>&5
21760 ac_status=$?
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); }; }; then
21763 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21764 else
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.$ac_ext >&5
21767
21768 ac_cv_lib_dnet_stub_dnet_ntoa=no
21769 fi
21770 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21771 LIBS=$ac_check_lib_save_LIBS
21772 fi
21773 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21774 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21775 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21776 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21777 fi
21778
21779 fi
21780 fi
21781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21782 LIBS="$ac_xsave_LIBS"
21783
21784 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21785 # to get the SysV transport functions.
21786 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21787 # needs -lnsl.
21788 # The nsl library prevents programs from opening the X display
21789 # on Irix 5.2, according to T.E. Dickey.
21790 # The functions gethostbyname, getservbyname, and inet_addr are
21791 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21792 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21793 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21794 if test "${ac_cv_func_gethostbyname+set}" = set; then
21795 echo $ECHO_N "(cached) $ECHO_C" >&6
21796 else
21797 cat >conftest.$ac_ext <<_ACEOF
21798 #line $LINENO "configure"
21799 /* confdefs.h. */
21800 _ACEOF
21801 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h. */
21804 /* System header to define __stub macros and hopefully few prototypes,
21805 which can conflict with char gethostbyname (); below.
21806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21807 <limits.h> exists even on freestanding compilers. */
21808 #ifdef __STDC__
21809 # include <limits.h>
21810 #else
21811 # include <assert.h>
21812 #endif
21813 /* Override any gcc2 internal prototype to avoid an error. */
21814 #ifdef __cplusplus
21815 extern "C"
21816 {
21817 #endif
21818 /* We use char because int might match the return type of a gcc2
21819 builtin and then its argument prototype would still apply. */
21820 char gethostbyname ();
21821 /* The GNU C library defines this for functions which it implements
21822 to always fail with ENOSYS. Some functions are actually named
21823 something starting with __ and the normal name is an alias. */
21824 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21825 choke me
21826 #else
21827 char (*f) () = gethostbyname;
21828 #endif
21829 #ifdef __cplusplus
21830 }
21831 #endif
21832
21833 int
21834 main ()
21835 {
21836 return f != gethostbyname;
21837 ;
21838 return 0;
21839 }
21840 _ACEOF
21841 rm -f conftest.$ac_objext conftest$ac_exeext
21842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21843 (eval $ac_link) 2>&5
21844 ac_status=$?
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } &&
21847 { ac_try='test -s conftest$ac_exeext'
21848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849 (eval $ac_try) 2>&5
21850 ac_status=$?
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; }; then
21853 ac_cv_func_gethostbyname=yes
21854 else
21855 echo "$as_me: failed program was:" >&5
21856 sed 's/^/| /' conftest.$ac_ext >&5
21857
21858 ac_cv_func_gethostbyname=no
21859 fi
21860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21861 fi
21862 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21863 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21864
21865 if test $ac_cv_func_gethostbyname = no; then
21866 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21867 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21868 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21870 else
21871 ac_check_lib_save_LIBS=$LIBS
21872 LIBS="-lnsl $LIBS"
21873 cat >conftest.$ac_ext <<_ACEOF
21874 #line $LINENO "configure"
21875 /* confdefs.h. */
21876 _ACEOF
21877 cat confdefs.h >>conftest.$ac_ext
21878 cat >>conftest.$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880
21881 /* Override any gcc2 internal prototype to avoid an error. */
21882 #ifdef __cplusplus
21883 extern "C"
21884 #endif
21885 /* We use char because int might match the return type of a gcc2
21886 builtin and then its argument prototype would still apply. */
21887 char gethostbyname ();
21888 int
21889 main ()
21890 {
21891 gethostbyname ();
21892 ;
21893 return 0;
21894 }
21895 _ACEOF
21896 rm -f conftest.$ac_objext conftest$ac_exeext
21897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21898 (eval $ac_link) 2>&5
21899 ac_status=$?
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try='test -s conftest$ac_exeext'
21903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904 (eval $ac_try) 2>&5
21905 ac_status=$?
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; }; then
21908 ac_cv_lib_nsl_gethostbyname=yes
21909 else
21910 echo "$as_me: failed program was:" >&5
21911 sed 's/^/| /' conftest.$ac_ext >&5
21912
21913 ac_cv_lib_nsl_gethostbyname=no
21914 fi
21915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21916 LIBS=$ac_check_lib_save_LIBS
21917 fi
21918 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21919 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21920 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21921 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21922 fi
21923
21924 if test $ac_cv_lib_nsl_gethostbyname = no; then
21925 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21926 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21927 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21928 echo $ECHO_N "(cached) $ECHO_C" >&6
21929 else
21930 ac_check_lib_save_LIBS=$LIBS
21931 LIBS="-lbsd $LIBS"
21932 cat >conftest.$ac_ext <<_ACEOF
21933 #line $LINENO "configure"
21934 /* confdefs.h. */
21935 _ACEOF
21936 cat confdefs.h >>conftest.$ac_ext
21937 cat >>conftest.$ac_ext <<_ACEOF
21938 /* end confdefs.h. */
21939
21940 /* Override any gcc2 internal prototype to avoid an error. */
21941 #ifdef __cplusplus
21942 extern "C"
21943 #endif
21944 /* We use char because int might match the return type of a gcc2
21945 builtin and then its argument prototype would still apply. */
21946 char gethostbyname ();
21947 int
21948 main ()
21949 {
21950 gethostbyname ();
21951 ;
21952 return 0;
21953 }
21954 _ACEOF
21955 rm -f conftest.$ac_objext conftest$ac_exeext
21956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21957 (eval $ac_link) 2>&5
21958 ac_status=$?
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); } &&
21961 { ac_try='test -s conftest$ac_exeext'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21964 ac_status=$?
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; }; then
21967 ac_cv_lib_bsd_gethostbyname=yes
21968 else
21969 echo "$as_me: failed program was:" >&5
21970 sed 's/^/| /' conftest.$ac_ext >&5
21971
21972 ac_cv_lib_bsd_gethostbyname=no
21973 fi
21974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21975 LIBS=$ac_check_lib_save_LIBS
21976 fi
21977 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21978 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21979 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21980 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21981 fi
21982
21983 fi
21984 fi
21985
21986 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21987 # socket/setsockopt and other routines are undefined under SCO ODT
21988 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21989 # on later versions), says Simon Leinen: it contains gethostby*
21990 # variants that don't use the name server (or something). -lsocket
21991 # must be given before -lnsl if both are needed. We assume that
21992 # if connect needs -lnsl, so does gethostbyname.
21993 echo "$as_me:$LINENO: checking for connect" >&5
21994 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21995 if test "${ac_cv_func_connect+set}" = set; then
21996 echo $ECHO_N "(cached) $ECHO_C" >&6
21997 else
21998 cat >conftest.$ac_ext <<_ACEOF
21999 #line $LINENO "configure"
22000 /* confdefs.h. */
22001 _ACEOF
22002 cat confdefs.h >>conftest.$ac_ext
22003 cat >>conftest.$ac_ext <<_ACEOF
22004 /* end confdefs.h. */
22005 /* System header to define __stub macros and hopefully few prototypes,
22006 which can conflict with char connect (); below.
22007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22008 <limits.h> exists even on freestanding compilers. */
22009 #ifdef __STDC__
22010 # include <limits.h>
22011 #else
22012 # include <assert.h>
22013 #endif
22014 /* Override any gcc2 internal prototype to avoid an error. */
22015 #ifdef __cplusplus
22016 extern "C"
22017 {
22018 #endif
22019 /* We use char because int might match the return type of a gcc2
22020 builtin and then its argument prototype would still apply. */
22021 char connect ();
22022 /* The GNU C library defines this for functions which it implements
22023 to always fail with ENOSYS. Some functions are actually named
22024 something starting with __ and the normal name is an alias. */
22025 #if defined (__stub_connect) || defined (__stub___connect)
22026 choke me
22027 #else
22028 char (*f) () = connect;
22029 #endif
22030 #ifdef __cplusplus
22031 }
22032 #endif
22033
22034 int
22035 main ()
22036 {
22037 return f != connect;
22038 ;
22039 return 0;
22040 }
22041 _ACEOF
22042 rm -f conftest.$ac_objext conftest$ac_exeext
22043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22044 (eval $ac_link) 2>&5
22045 ac_status=$?
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } &&
22048 { ac_try='test -s conftest$ac_exeext'
22049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22050 (eval $ac_try) 2>&5
22051 ac_status=$?
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); }; }; then
22054 ac_cv_func_connect=yes
22055 else
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22058
22059 ac_cv_func_connect=no
22060 fi
22061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22062 fi
22063 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22064 echo "${ECHO_T}$ac_cv_func_connect" >&6
22065
22066 if test $ac_cv_func_connect = no; then
22067 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22068 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22069 if test "${ac_cv_lib_socket_connect+set}" = set; then
22070 echo $ECHO_N "(cached) $ECHO_C" >&6
22071 else
22072 ac_check_lib_save_LIBS=$LIBS
22073 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22074 cat >conftest.$ac_ext <<_ACEOF
22075 #line $LINENO "configure"
22076 /* confdefs.h. */
22077 _ACEOF
22078 cat confdefs.h >>conftest.$ac_ext
22079 cat >>conftest.$ac_ext <<_ACEOF
22080 /* end confdefs.h. */
22081
22082 /* Override any gcc2 internal prototype to avoid an error. */
22083 #ifdef __cplusplus
22084 extern "C"
22085 #endif
22086 /* We use char because int might match the return type of a gcc2
22087 builtin and then its argument prototype would still apply. */
22088 char connect ();
22089 int
22090 main ()
22091 {
22092 connect ();
22093 ;
22094 return 0;
22095 }
22096 _ACEOF
22097 rm -f conftest.$ac_objext conftest$ac_exeext
22098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22099 (eval $ac_link) 2>&5
22100 ac_status=$?
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); } &&
22103 { ac_try='test -s conftest$ac_exeext'
22104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22105 (eval $ac_try) 2>&5
22106 ac_status=$?
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; }; then
22109 ac_cv_lib_socket_connect=yes
22110 else
22111 echo "$as_me: failed program was:" >&5
22112 sed 's/^/| /' conftest.$ac_ext >&5
22113
22114 ac_cv_lib_socket_connect=no
22115 fi
22116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22117 LIBS=$ac_check_lib_save_LIBS
22118 fi
22119 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22120 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22121 if test $ac_cv_lib_socket_connect = yes; then
22122 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22123 fi
22124
22125 fi
22126
22127 # Guillermo Gomez says -lposix is necessary on A/UX.
22128 echo "$as_me:$LINENO: checking for remove" >&5
22129 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22130 if test "${ac_cv_func_remove+set}" = set; then
22131 echo $ECHO_N "(cached) $ECHO_C" >&6
22132 else
22133 cat >conftest.$ac_ext <<_ACEOF
22134 #line $LINENO "configure"
22135 /* confdefs.h. */
22136 _ACEOF
22137 cat confdefs.h >>conftest.$ac_ext
22138 cat >>conftest.$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140 /* System header to define __stub macros and hopefully few prototypes,
22141 which can conflict with char remove (); below.
22142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22143 <limits.h> exists even on freestanding compilers. */
22144 #ifdef __STDC__
22145 # include <limits.h>
22146 #else
22147 # include <assert.h>
22148 #endif
22149 /* Override any gcc2 internal prototype to avoid an error. */
22150 #ifdef __cplusplus
22151 extern "C"
22152 {
22153 #endif
22154 /* We use char because int might match the return type of a gcc2
22155 builtin and then its argument prototype would still apply. */
22156 char remove ();
22157 /* The GNU C library defines this for functions which it implements
22158 to always fail with ENOSYS. Some functions are actually named
22159 something starting with __ and the normal name is an alias. */
22160 #if defined (__stub_remove) || defined (__stub___remove)
22161 choke me
22162 #else
22163 char (*f) () = remove;
22164 #endif
22165 #ifdef __cplusplus
22166 }
22167 #endif
22168
22169 int
22170 main ()
22171 {
22172 return f != remove;
22173 ;
22174 return 0;
22175 }
22176 _ACEOF
22177 rm -f conftest.$ac_objext conftest$ac_exeext
22178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22179 (eval $ac_link) 2>&5
22180 ac_status=$?
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } &&
22183 { ac_try='test -s conftest$ac_exeext'
22184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22185 (eval $ac_try) 2>&5
22186 ac_status=$?
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; }; then
22189 ac_cv_func_remove=yes
22190 else
22191 echo "$as_me: failed program was:" >&5
22192 sed 's/^/| /' conftest.$ac_ext >&5
22193
22194 ac_cv_func_remove=no
22195 fi
22196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22197 fi
22198 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22199 echo "${ECHO_T}$ac_cv_func_remove" >&6
22200
22201 if test $ac_cv_func_remove = no; then
22202 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22203 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22204 if test "${ac_cv_lib_posix_remove+set}" = set; then
22205 echo $ECHO_N "(cached) $ECHO_C" >&6
22206 else
22207 ac_check_lib_save_LIBS=$LIBS
22208 LIBS="-lposix $LIBS"
22209 cat >conftest.$ac_ext <<_ACEOF
22210 #line $LINENO "configure"
22211 /* confdefs.h. */
22212 _ACEOF
22213 cat confdefs.h >>conftest.$ac_ext
22214 cat >>conftest.$ac_ext <<_ACEOF
22215 /* end confdefs.h. */
22216
22217 /* Override any gcc2 internal prototype to avoid an error. */
22218 #ifdef __cplusplus
22219 extern "C"
22220 #endif
22221 /* We use char because int might match the return type of a gcc2
22222 builtin and then its argument prototype would still apply. */
22223 char remove ();
22224 int
22225 main ()
22226 {
22227 remove ();
22228 ;
22229 return 0;
22230 }
22231 _ACEOF
22232 rm -f conftest.$ac_objext conftest$ac_exeext
22233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22234 (eval $ac_link) 2>&5
22235 ac_status=$?
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); } &&
22238 { ac_try='test -s conftest$ac_exeext'
22239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240 (eval $ac_try) 2>&5
22241 ac_status=$?
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); }; }; then
22244 ac_cv_lib_posix_remove=yes
22245 else
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22248
22249 ac_cv_lib_posix_remove=no
22250 fi
22251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22252 LIBS=$ac_check_lib_save_LIBS
22253 fi
22254 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22255 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22256 if test $ac_cv_lib_posix_remove = yes; then
22257 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22258 fi
22259
22260 fi
22261
22262 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22263 echo "$as_me:$LINENO: checking for shmat" >&5
22264 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22265 if test "${ac_cv_func_shmat+set}" = set; then
22266 echo $ECHO_N "(cached) $ECHO_C" >&6
22267 else
22268 cat >conftest.$ac_ext <<_ACEOF
22269 #line $LINENO "configure"
22270 /* confdefs.h. */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 /* System header to define __stub macros and hopefully few prototypes,
22276 which can conflict with char shmat (); below.
22277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22278 <limits.h> exists even on freestanding compilers. */
22279 #ifdef __STDC__
22280 # include <limits.h>
22281 #else
22282 # include <assert.h>
22283 #endif
22284 /* Override any gcc2 internal prototype to avoid an error. */
22285 #ifdef __cplusplus
22286 extern "C"
22287 {
22288 #endif
22289 /* We use char because int might match the return type of a gcc2
22290 builtin and then its argument prototype would still apply. */
22291 char shmat ();
22292 /* The GNU C library defines this for functions which it implements
22293 to always fail with ENOSYS. Some functions are actually named
22294 something starting with __ and the normal name is an alias. */
22295 #if defined (__stub_shmat) || defined (__stub___shmat)
22296 choke me
22297 #else
22298 char (*f) () = shmat;
22299 #endif
22300 #ifdef __cplusplus
22301 }
22302 #endif
22303
22304 int
22305 main ()
22306 {
22307 return f != shmat;
22308 ;
22309 return 0;
22310 }
22311 _ACEOF
22312 rm -f conftest.$ac_objext conftest$ac_exeext
22313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22314 (eval $ac_link) 2>&5
22315 ac_status=$?
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); } &&
22318 { ac_try='test -s conftest$ac_exeext'
22319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22320 (eval $ac_try) 2>&5
22321 ac_status=$?
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); }; }; then
22324 ac_cv_func_shmat=yes
22325 else
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22328
22329 ac_cv_func_shmat=no
22330 fi
22331 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22332 fi
22333 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22334 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22335
22336 if test $ac_cv_func_shmat = no; then
22337 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22338 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22339 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22340 echo $ECHO_N "(cached) $ECHO_C" >&6
22341 else
22342 ac_check_lib_save_LIBS=$LIBS
22343 LIBS="-lipc $LIBS"
22344 cat >conftest.$ac_ext <<_ACEOF
22345 #line $LINENO "configure"
22346 /* confdefs.h. */
22347 _ACEOF
22348 cat confdefs.h >>conftest.$ac_ext
22349 cat >>conftest.$ac_ext <<_ACEOF
22350 /* end confdefs.h. */
22351
22352 /* Override any gcc2 internal prototype to avoid an error. */
22353 #ifdef __cplusplus
22354 extern "C"
22355 #endif
22356 /* We use char because int might match the return type of a gcc2
22357 builtin and then its argument prototype would still apply. */
22358 char shmat ();
22359 int
22360 main ()
22361 {
22362 shmat ();
22363 ;
22364 return 0;
22365 }
22366 _ACEOF
22367 rm -f conftest.$ac_objext conftest$ac_exeext
22368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22369 (eval $ac_link) 2>&5
22370 ac_status=$?
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); } &&
22373 { ac_try='test -s conftest$ac_exeext'
22374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22375 (eval $ac_try) 2>&5
22376 ac_status=$?
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); }; }; then
22379 ac_cv_lib_ipc_shmat=yes
22380 else
22381 echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.$ac_ext >&5
22383
22384 ac_cv_lib_ipc_shmat=no
22385 fi
22386 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22387 LIBS=$ac_check_lib_save_LIBS
22388 fi
22389 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22390 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22391 if test $ac_cv_lib_ipc_shmat = yes; then
22392 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22393 fi
22394
22395 fi
22396 fi
22397
22398 # Check for libraries that X11R6 Xt/Xaw programs need.
22399 ac_save_LDFLAGS=$LDFLAGS
22400 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22401 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22402 # check for ICE first), but we must link in the order -lSM -lICE or
22403 # we get undefined symbols. So assume we have SM if we have ICE.
22404 # These have to be linked with before -lX11, unlike the other
22405 # libraries we check for below, so use a different variable.
22406 # John Interrante, Karl Berry
22407 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22408 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22409 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22410 echo $ECHO_N "(cached) $ECHO_C" >&6
22411 else
22412 ac_check_lib_save_LIBS=$LIBS
22413 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22414 cat >conftest.$ac_ext <<_ACEOF
22415 #line $LINENO "configure"
22416 /* confdefs.h. */
22417 _ACEOF
22418 cat confdefs.h >>conftest.$ac_ext
22419 cat >>conftest.$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421
22422 /* Override any gcc2 internal prototype to avoid an error. */
22423 #ifdef __cplusplus
22424 extern "C"
22425 #endif
22426 /* We use char because int might match the return type of a gcc2
22427 builtin and then its argument prototype would still apply. */
22428 char IceConnectionNumber ();
22429 int
22430 main ()
22431 {
22432 IceConnectionNumber ();
22433 ;
22434 return 0;
22435 }
22436 _ACEOF
22437 rm -f conftest.$ac_objext conftest$ac_exeext
22438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22439 (eval $ac_link) 2>&5
22440 ac_status=$?
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); } &&
22443 { ac_try='test -s conftest$ac_exeext'
22444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22445 (eval $ac_try) 2>&5
22446 ac_status=$?
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); }; }; then
22449 ac_cv_lib_ICE_IceConnectionNumber=yes
22450 else
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.$ac_ext >&5
22453
22454 ac_cv_lib_ICE_IceConnectionNumber=no
22455 fi
22456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22457 LIBS=$ac_check_lib_save_LIBS
22458 fi
22459 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22460 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22461 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22462 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22463 fi
22464
22465 LDFLAGS=$ac_save_LDFLAGS
22466
22467 fi
22468
22469
22470 if test "$no_x" = "yes"; then
22471 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22472 echo "$as_me: error: X11 not found" >&2;}
22473 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22474 fi
22475
22476 GUI_TK_LIBRARY="$X_LIBS"
22477 TOOLKIT_INCLUDE="$X_CFLAGS"
22478 AFMINSTALL=afminstall
22479 COMPILED_X_PROGRAM=0
22480
22481 if test "$wxUSE_NANOX" = "yes"; then
22482 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22483 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22484 if test "x$MICROWIN" = x ; then
22485 echo "$as_me:$LINENO: result: not found" >&5
22486 echo "${ECHO_T}not found" >&6
22487 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22488 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22489 { (exit 1); exit 1; }; }
22490 else
22491 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22492 echo "${ECHO_T}$MICROWIN" >&6
22493 cat >>confdefs.h <<\_ACEOF
22494 #define wxUSE_NANOX 1
22495 _ACEOF
22496
22497 fi
22498 fi
22499
22500 xpm_link=
22501 echo "$as_me:$LINENO: checking for Xpm library" >&5
22502 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22503
22504 ac_find_libraries=
22505 for ac_dir in $SEARCH_LIB /usr/lib;
22506 do
22507 for ac_extension in a so sl dylib; do
22508 if test -f "$ac_dir/libXpm.$ac_extension"; then
22509 ac_find_libraries=$ac_dir
22510 break 2
22511 fi
22512 done
22513 done
22514
22515 if test "$ac_find_libraries" != "" ; then
22516
22517 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22518 result=$?
22519 if test $result = 0; then
22520 ac_path_to_link=""
22521 else
22522 ac_path_to_link=" -L$ac_find_libraries"
22523 fi
22524
22525 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22526 xpm_link=" -lXpm"
22527 cat >>confdefs.h <<\_ACEOF
22528 #define wxHAVE_LIB_XPM 1
22529 _ACEOF
22530
22531 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22532 echo "${ECHO_T}found at $ac_find_libraries" >&6
22533 else
22534 cat >conftest.$ac_ext <<_ACEOF
22535 #line $LINENO "configure"
22536 /* confdefs.h. */
22537 _ACEOF
22538 cat confdefs.h >>conftest.$ac_ext
22539 cat >>conftest.$ac_ext <<_ACEOF
22540 /* end confdefs.h. */
22541
22542 #include <X11/xpm.h>
22543
22544 int
22545 main ()
22546 {
22547
22548 int version;
22549 version = XpmLibraryVersion();
22550
22551 ;
22552 return 0;
22553 }
22554 _ACEOF
22555 rm -f conftest.$ac_objext
22556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22557 (eval $ac_compile) 2>&5
22558 ac_status=$?
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); } &&
22561 { ac_try='test -s conftest.$ac_objext'
22562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22563 (eval $ac_try) 2>&5
22564 ac_status=$?
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); }; }; then
22567
22568 xpm_link=" -lXpm"
22569 cat >>confdefs.h <<\_ACEOF
22570 #define wxHAVE_LIB_XPM 1
22571 _ACEOF
22572
22573 echo "$as_me:$LINENO: result: found in default search path" >&5
22574 echo "${ECHO_T}found in default search path" >&6
22575 COMPILED_X_PROGRAM=0
22576
22577 else
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.$ac_ext >&5
22580
22581
22582 echo "$as_me:$LINENO: result: no" >&5
22583 echo "${ECHO_T}no" >&6
22584 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22585 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22586
22587
22588 fi
22589 rm -f conftest.$ac_objext conftest.$ac_ext
22590 fi
22591
22592 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22593 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22594 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22595 echo $ECHO_N "(cached) $ECHO_C" >&6
22596 else
22597 ac_check_lib_save_LIBS=$LIBS
22598 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22599 cat >conftest.$ac_ext <<_ACEOF
22600 #line $LINENO "configure"
22601 /* confdefs.h. */
22602 _ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606
22607 /* Override any gcc2 internal prototype to avoid an error. */
22608 #ifdef __cplusplus
22609 extern "C"
22610 #endif
22611 /* We use char because int might match the return type of a gcc2
22612 builtin and then its argument prototype would still apply. */
22613 char XShapeQueryExtension ();
22614 int
22615 main ()
22616 {
22617 XShapeQueryExtension ();
22618 ;
22619 return 0;
22620 }
22621 _ACEOF
22622 rm -f conftest.$ac_objext conftest$ac_exeext
22623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22624 (eval $ac_link) 2>&5
22625 ac_status=$?
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try='test -s conftest$ac_exeext'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22631 ac_status=$?
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22634 ac_cv_lib_Xext_XShapeQueryExtension=yes
22635 else
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.$ac_ext >&5
22638
22639 ac_cv_lib_Xext_XShapeQueryExtension=no
22640 fi
22641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22642 LIBS=$ac_check_lib_save_LIBS
22643 fi
22644 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22645 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22646 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22647
22648 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22649 wxHAVE_XEXT_LIB=1
22650
22651 fi
22652
22653
22654 if test "$wxUSE_UNICODE" = "yes"; then
22655
22656 succeeded=no
22657
22658 if test -z "$PKG_CONFIG"; then
22659 # Extract the first word of "pkg-config", so it can be a program name with args.
22660 set dummy pkg-config; ac_word=$2
22661 echo "$as_me:$LINENO: checking for $ac_word" >&5
22662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22663 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22664 echo $ECHO_N "(cached) $ECHO_C" >&6
22665 else
22666 case $PKG_CONFIG in
22667 [\\/]* | ?:[\\/]*)
22668 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22669 ;;
22670 *)
22671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22672 for as_dir in $PATH
22673 do
22674 IFS=$as_save_IFS
22675 test -z "$as_dir" && as_dir=.
22676 for ac_exec_ext in '' $ac_executable_extensions; do
22677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22678 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22680 break 2
22681 fi
22682 done
22683 done
22684
22685 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22686 ;;
22687 esac
22688 fi
22689 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22690
22691 if test -n "$PKG_CONFIG"; then
22692 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22693 echo "${ECHO_T}$PKG_CONFIG" >&6
22694 else
22695 echo "$as_me:$LINENO: result: no" >&5
22696 echo "${ECHO_T}no" >&6
22697 fi
22698
22699 fi
22700
22701 if test "$PKG_CONFIG" = "no" ; then
22702 echo "*** The pkg-config script could not be found. Make sure it is"
22703 echo "*** in your path, or set the PKG_CONFIG environment variable"
22704 echo "*** to the full path to pkg-config."
22705 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22706 else
22707 PKG_CONFIG_MIN_VERSION=0.9.0
22708 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22709 echo "$as_me:$LINENO: checking for pangox" >&5
22710 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22711
22712 if $PKG_CONFIG --exists "pangox" ; then
22713 echo "$as_me:$LINENO: result: yes" >&5
22714 echo "${ECHO_T}yes" >&6
22715 succeeded=yes
22716
22717 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22718 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22719 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22720 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22721 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22722
22723 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22724 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22725 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22726 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22727 echo "${ECHO_T}$PANGOX_LIBS" >&6
22728 else
22729 PANGOX_CFLAGS=""
22730 PANGOX_LIBS=""
22731 ## If we have a custom action on failure, don't print errors, but
22732 ## do set a variable so people can do so.
22733 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22734
22735 fi
22736
22737
22738
22739 else
22740 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22741 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22742 fi
22743 fi
22744
22745 if test $succeeded = yes; then
22746
22747 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22748 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22749
22750 else
22751
22752 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22753 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22754 { (exit 1); exit 1; }; }
22755
22756
22757 fi
22758
22759
22760 succeeded=no
22761
22762 if test -z "$PKG_CONFIG"; then
22763 # Extract the first word of "pkg-config", so it can be a program name with args.
22764 set dummy pkg-config; ac_word=$2
22765 echo "$as_me:$LINENO: checking for $ac_word" >&5
22766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22767 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22768 echo $ECHO_N "(cached) $ECHO_C" >&6
22769 else
22770 case $PKG_CONFIG in
22771 [\\/]* | ?:[\\/]*)
22772 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22773 ;;
22774 *)
22775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22776 for as_dir in $PATH
22777 do
22778 IFS=$as_save_IFS
22779 test -z "$as_dir" && as_dir=.
22780 for ac_exec_ext in '' $ac_executable_extensions; do
22781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22782 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22784 break 2
22785 fi
22786 done
22787 done
22788
22789 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22790 ;;
22791 esac
22792 fi
22793 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22794
22795 if test -n "$PKG_CONFIG"; then
22796 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22797 echo "${ECHO_T}$PKG_CONFIG" >&6
22798 else
22799 echo "$as_me:$LINENO: result: no" >&5
22800 echo "${ECHO_T}no" >&6
22801 fi
22802
22803 fi
22804
22805 if test "$PKG_CONFIG" = "no" ; then
22806 echo "*** The pkg-config script could not be found. Make sure it is"
22807 echo "*** in your path, or set the PKG_CONFIG environment variable"
22808 echo "*** to the full path to pkg-config."
22809 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22810 else
22811 PKG_CONFIG_MIN_VERSION=0.9.0
22812 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22813 echo "$as_me:$LINENO: checking for pangoft2" >&5
22814 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22815
22816 if $PKG_CONFIG --exists "pangoft2" ; then
22817 echo "$as_me:$LINENO: result: yes" >&5
22818 echo "${ECHO_T}yes" >&6
22819 succeeded=yes
22820
22821 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22822 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22823 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22824 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22825 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22826
22827 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22828 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22829 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22830 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22831 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22832 else
22833 PANGOFT2_CFLAGS=""
22834 PANGOFT2_LIBS=""
22835 ## If we have a custom action on failure, don't print errors, but
22836 ## do set a variable so people can do so.
22837 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22838
22839 fi
22840
22841
22842
22843 else
22844 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22845 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22846 fi
22847 fi
22848
22849 if test $succeeded = yes; then
22850
22851 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22852 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22853
22854 else
22855
22856 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22857 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22858 wxUSE_PRINTING_ARCHITECTURE="no"
22859
22860
22861 fi
22862
22863
22864 succeeded=no
22865
22866 if test -z "$PKG_CONFIG"; then
22867 # Extract the first word of "pkg-config", so it can be a program name with args.
22868 set dummy pkg-config; ac_word=$2
22869 echo "$as_me:$LINENO: checking for $ac_word" >&5
22870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22871 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22872 echo $ECHO_N "(cached) $ECHO_C" >&6
22873 else
22874 case $PKG_CONFIG in
22875 [\\/]* | ?:[\\/]*)
22876 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22877 ;;
22878 *)
22879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22880 for as_dir in $PATH
22881 do
22882 IFS=$as_save_IFS
22883 test -z "$as_dir" && as_dir=.
22884 for ac_exec_ext in '' $ac_executable_extensions; do
22885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22886 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22888 break 2
22889 fi
22890 done
22891 done
22892
22893 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22894 ;;
22895 esac
22896 fi
22897 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22898
22899 if test -n "$PKG_CONFIG"; then
22900 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22901 echo "${ECHO_T}$PKG_CONFIG" >&6
22902 else
22903 echo "$as_me:$LINENO: result: no" >&5
22904 echo "${ECHO_T}no" >&6
22905 fi
22906
22907 fi
22908
22909 if test "$PKG_CONFIG" = "no" ; then
22910 echo "*** The pkg-config script could not be found. Make sure it is"
22911 echo "*** in your path, or set the PKG_CONFIG environment variable"
22912 echo "*** to the full path to pkg-config."
22913 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22914 else
22915 PKG_CONFIG_MIN_VERSION=0.9.0
22916 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22917 echo "$as_me:$LINENO: checking for pangoxft" >&5
22918 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22919
22920 if $PKG_CONFIG --exists "pangoxft" ; then
22921 echo "$as_me:$LINENO: result: yes" >&5
22922 echo "${ECHO_T}yes" >&6
22923 succeeded=yes
22924
22925 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22926 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22927 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22928 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22929 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22930
22931 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22932 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22933 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22934 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22935 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22936 else
22937 PANGOXFT_CFLAGS=""
22938 PANGOXFT_LIBS=""
22939 ## If we have a custom action on failure, don't print errors, but
22940 ## do set a variable so people can do so.
22941 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22942
22943 fi
22944
22945
22946
22947 else
22948 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22949 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22950 fi
22951 fi
22952
22953 if test $succeeded = yes; then
22954
22955 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22956 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22957
22958 else
22959
22960 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22961 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22962
22963
22964 fi
22965
22966 fi
22967
22968 wxUSE_UNIVERSAL="yes"
22969
22970 if test "$wxUSE_NANOX" = "yes"; then
22971 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22972 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"
22973 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22974 else
22975 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22976 fi
22977
22978 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22979 TOOLKIT=X11
22980 GUIDIST=X11_DIST
22981 fi
22982
22983 if test "$wxUSE_MOTIF" = 1; then
22984 if test "$no_x" = yes; then
22985 # Not all programs may use this symbol, but it does not hurt to define it.
22986
22987 cat >>confdefs.h <<\_ACEOF
22988 #define X_DISPLAY_MISSING 1
22989 _ACEOF
22990
22991 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22992 else
22993 if test -n "$x_includes"; then
22994 X_CFLAGS="$X_CFLAGS -I$x_includes"
22995 fi
22996
22997 # It would also be nice to do this for all -L options, not just this one.
22998 if test -n "$x_libraries"; then
22999 X_LIBS="$X_LIBS -L$x_libraries"
23000 # For Solaris; some versions of Sun CC require a space after -R and
23001 # others require no space. Words are not sufficient . . . .
23002 case `(uname -sr) 2>/dev/null` in
23003 "SunOS 5"*)
23004 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23005 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23006 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23007 cat >conftest.$ac_ext <<_ACEOF
23008 #line $LINENO "configure"
23009 /* confdefs.h. */
23010 _ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014
23015 int
23016 main ()
23017 {
23018
23019 ;
23020 return 0;
23021 }
23022 _ACEOF
23023 rm -f conftest.$ac_objext conftest$ac_exeext
23024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23025 (eval $ac_link) 2>&5
23026 ac_status=$?
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } &&
23029 { ac_try='test -s conftest$ac_exeext'
23030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23031 (eval $ac_try) 2>&5
23032 ac_status=$?
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); }; }; then
23035 ac_R_nospace=yes
23036 else
23037 echo "$as_me: failed program was:" >&5
23038 sed 's/^/| /' conftest.$ac_ext >&5
23039
23040 ac_R_nospace=no
23041 fi
23042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23043 if test $ac_R_nospace = yes; then
23044 echo "$as_me:$LINENO: result: no" >&5
23045 echo "${ECHO_T}no" >&6
23046 X_LIBS="$X_LIBS -R$x_libraries"
23047 else
23048 LIBS="$ac_xsave_LIBS -R $x_libraries"
23049 cat >conftest.$ac_ext <<_ACEOF
23050 #line $LINENO "configure"
23051 /* confdefs.h. */
23052 _ACEOF
23053 cat confdefs.h >>conftest.$ac_ext
23054 cat >>conftest.$ac_ext <<_ACEOF
23055 /* end confdefs.h. */
23056
23057 int
23058 main ()
23059 {
23060
23061 ;
23062 return 0;
23063 }
23064 _ACEOF
23065 rm -f conftest.$ac_objext conftest$ac_exeext
23066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23067 (eval $ac_link) 2>&5
23068 ac_status=$?
23069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23070 (exit $ac_status); } &&
23071 { ac_try='test -s conftest$ac_exeext'
23072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23073 (eval $ac_try) 2>&5
23074 ac_status=$?
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); }; }; then
23077 ac_R_space=yes
23078 else
23079 echo "$as_me: failed program was:" >&5
23080 sed 's/^/| /' conftest.$ac_ext >&5
23081
23082 ac_R_space=no
23083 fi
23084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23085 if test $ac_R_space = yes; then
23086 echo "$as_me:$LINENO: result: yes" >&5
23087 echo "${ECHO_T}yes" >&6
23088 X_LIBS="$X_LIBS -R $x_libraries"
23089 else
23090 echo "$as_me:$LINENO: result: neither works" >&5
23091 echo "${ECHO_T}neither works" >&6
23092 fi
23093 fi
23094 LIBS=$ac_xsave_LIBS
23095 esac
23096 fi
23097
23098 # Check for system-dependent libraries X programs must link with.
23099 # Do this before checking for the system-independent R6 libraries
23100 # (-lICE), since we may need -lsocket or whatever for X linking.
23101
23102 if test "$ISC" = yes; then
23103 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23104 else
23105 # Martyn Johnson says this is needed for Ultrix, if the X
23106 # libraries were built with DECnet support. And Karl Berry says
23107 # the Alpha needs dnet_stub (dnet does not exist).
23108 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23109 cat >conftest.$ac_ext <<_ACEOF
23110 #line $LINENO "configure"
23111 /* confdefs.h. */
23112 _ACEOF
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116
23117 /* Override any gcc2 internal prototype to avoid an error. */
23118 #ifdef __cplusplus
23119 extern "C"
23120 #endif
23121 /* We use char because int might match the return type of a gcc2
23122 builtin and then its argument prototype would still apply. */
23123 char XOpenDisplay ();
23124 int
23125 main ()
23126 {
23127 XOpenDisplay ();
23128 ;
23129 return 0;
23130 }
23131 _ACEOF
23132 rm -f conftest.$ac_objext conftest$ac_exeext
23133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23134 (eval $ac_link) 2>&5
23135 ac_status=$?
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); } &&
23138 { ac_try='test -s conftest$ac_exeext'
23139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23140 (eval $ac_try) 2>&5
23141 ac_status=$?
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); }; }; then
23144 :
23145 else
23146 echo "$as_me: failed program was:" >&5
23147 sed 's/^/| /' conftest.$ac_ext >&5
23148
23149 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23150 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23151 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23152 echo $ECHO_N "(cached) $ECHO_C" >&6
23153 else
23154 ac_check_lib_save_LIBS=$LIBS
23155 LIBS="-ldnet $LIBS"
23156 cat >conftest.$ac_ext <<_ACEOF
23157 #line $LINENO "configure"
23158 /* confdefs.h. */
23159 _ACEOF
23160 cat confdefs.h >>conftest.$ac_ext
23161 cat >>conftest.$ac_ext <<_ACEOF
23162 /* end confdefs.h. */
23163
23164 /* Override any gcc2 internal prototype to avoid an error. */
23165 #ifdef __cplusplus
23166 extern "C"
23167 #endif
23168 /* We use char because int might match the return type of a gcc2
23169 builtin and then its argument prototype would still apply. */
23170 char dnet_ntoa ();
23171 int
23172 main ()
23173 {
23174 dnet_ntoa ();
23175 ;
23176 return 0;
23177 }
23178 _ACEOF
23179 rm -f conftest.$ac_objext conftest$ac_exeext
23180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23181 (eval $ac_link) 2>&5
23182 ac_status=$?
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); } &&
23185 { ac_try='test -s conftest$ac_exeext'
23186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23187 (eval $ac_try) 2>&5
23188 ac_status=$?
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); }; }; then
23191 ac_cv_lib_dnet_dnet_ntoa=yes
23192 else
23193 echo "$as_me: failed program was:" >&5
23194 sed 's/^/| /' conftest.$ac_ext >&5
23195
23196 ac_cv_lib_dnet_dnet_ntoa=no
23197 fi
23198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23199 LIBS=$ac_check_lib_save_LIBS
23200 fi
23201 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23202 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23203 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23204 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23205 fi
23206
23207 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23208 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23209 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23210 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23211 echo $ECHO_N "(cached) $ECHO_C" >&6
23212 else
23213 ac_check_lib_save_LIBS=$LIBS
23214 LIBS="-ldnet_stub $LIBS"
23215 cat >conftest.$ac_ext <<_ACEOF
23216 #line $LINENO "configure"
23217 /* confdefs.h. */
23218 _ACEOF
23219 cat confdefs.h >>conftest.$ac_ext
23220 cat >>conftest.$ac_ext <<_ACEOF
23221 /* end confdefs.h. */
23222
23223 /* Override any gcc2 internal prototype to avoid an error. */
23224 #ifdef __cplusplus
23225 extern "C"
23226 #endif
23227 /* We use char because int might match the return type of a gcc2
23228 builtin and then its argument prototype would still apply. */
23229 char dnet_ntoa ();
23230 int
23231 main ()
23232 {
23233 dnet_ntoa ();
23234 ;
23235 return 0;
23236 }
23237 _ACEOF
23238 rm -f conftest.$ac_objext conftest$ac_exeext
23239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23240 (eval $ac_link) 2>&5
23241 ac_status=$?
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); } &&
23244 { ac_try='test -s conftest$ac_exeext'
23245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23246 (eval $ac_try) 2>&5
23247 ac_status=$?
23248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23249 (exit $ac_status); }; }; then
23250 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23251 else
23252 echo "$as_me: failed program was:" >&5
23253 sed 's/^/| /' conftest.$ac_ext >&5
23254
23255 ac_cv_lib_dnet_stub_dnet_ntoa=no
23256 fi
23257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23258 LIBS=$ac_check_lib_save_LIBS
23259 fi
23260 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23261 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23262 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23263 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23264 fi
23265
23266 fi
23267 fi
23268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23269 LIBS="$ac_xsave_LIBS"
23270
23271 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23272 # to get the SysV transport functions.
23273 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23274 # needs -lnsl.
23275 # The nsl library prevents programs from opening the X display
23276 # on Irix 5.2, according to T.E. Dickey.
23277 # The functions gethostbyname, getservbyname, and inet_addr are
23278 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23279 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23280 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23281 if test "${ac_cv_func_gethostbyname+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23283 else
23284 cat >conftest.$ac_ext <<_ACEOF
23285 #line $LINENO "configure"
23286 /* confdefs.h. */
23287 _ACEOF
23288 cat confdefs.h >>conftest.$ac_ext
23289 cat >>conftest.$ac_ext <<_ACEOF
23290 /* end confdefs.h. */
23291 /* System header to define __stub macros and hopefully few prototypes,
23292 which can conflict with char gethostbyname (); below.
23293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23294 <limits.h> exists even on freestanding compilers. */
23295 #ifdef __STDC__
23296 # include <limits.h>
23297 #else
23298 # include <assert.h>
23299 #endif
23300 /* Override any gcc2 internal prototype to avoid an error. */
23301 #ifdef __cplusplus
23302 extern "C"
23303 {
23304 #endif
23305 /* We use char because int might match the return type of a gcc2
23306 builtin and then its argument prototype would still apply. */
23307 char gethostbyname ();
23308 /* The GNU C library defines this for functions which it implements
23309 to always fail with ENOSYS. Some functions are actually named
23310 something starting with __ and the normal name is an alias. */
23311 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23312 choke me
23313 #else
23314 char (*f) () = gethostbyname;
23315 #endif
23316 #ifdef __cplusplus
23317 }
23318 #endif
23319
23320 int
23321 main ()
23322 {
23323 return f != gethostbyname;
23324 ;
23325 return 0;
23326 }
23327 _ACEOF
23328 rm -f conftest.$ac_objext conftest$ac_exeext
23329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23330 (eval $ac_link) 2>&5
23331 ac_status=$?
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } &&
23334 { ac_try='test -s conftest$ac_exeext'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23337 ac_status=$?
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; }; then
23340 ac_cv_func_gethostbyname=yes
23341 else
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.$ac_ext >&5
23344
23345 ac_cv_func_gethostbyname=no
23346 fi
23347 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23348 fi
23349 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23350 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23351
23352 if test $ac_cv_func_gethostbyname = no; then
23353 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23354 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23355 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23356 echo $ECHO_N "(cached) $ECHO_C" >&6
23357 else
23358 ac_check_lib_save_LIBS=$LIBS
23359 LIBS="-lnsl $LIBS"
23360 cat >conftest.$ac_ext <<_ACEOF
23361 #line $LINENO "configure"
23362 /* confdefs.h. */
23363 _ACEOF
23364 cat confdefs.h >>conftest.$ac_ext
23365 cat >>conftest.$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23367
23368 /* Override any gcc2 internal prototype to avoid an error. */
23369 #ifdef __cplusplus
23370 extern "C"
23371 #endif
23372 /* We use char because int might match the return type of a gcc2
23373 builtin and then its argument prototype would still apply. */
23374 char gethostbyname ();
23375 int
23376 main ()
23377 {
23378 gethostbyname ();
23379 ;
23380 return 0;
23381 }
23382 _ACEOF
23383 rm -f conftest.$ac_objext conftest$ac_exeext
23384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23385 (eval $ac_link) 2>&5
23386 ac_status=$?
23387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388 (exit $ac_status); } &&
23389 { ac_try='test -s conftest$ac_exeext'
23390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23391 (eval $ac_try) 2>&5
23392 ac_status=$?
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); }; }; then
23395 ac_cv_lib_nsl_gethostbyname=yes
23396 else
23397 echo "$as_me: failed program was:" >&5
23398 sed 's/^/| /' conftest.$ac_ext >&5
23399
23400 ac_cv_lib_nsl_gethostbyname=no
23401 fi
23402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23403 LIBS=$ac_check_lib_save_LIBS
23404 fi
23405 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23406 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23407 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23409 fi
23410
23411 if test $ac_cv_lib_nsl_gethostbyname = no; then
23412 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23413 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23414 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23415 echo $ECHO_N "(cached) $ECHO_C" >&6
23416 else
23417 ac_check_lib_save_LIBS=$LIBS
23418 LIBS="-lbsd $LIBS"
23419 cat >conftest.$ac_ext <<_ACEOF
23420 #line $LINENO "configure"
23421 /* confdefs.h. */
23422 _ACEOF
23423 cat confdefs.h >>conftest.$ac_ext
23424 cat >>conftest.$ac_ext <<_ACEOF
23425 /* end confdefs.h. */
23426
23427 /* Override any gcc2 internal prototype to avoid an error. */
23428 #ifdef __cplusplus
23429 extern "C"
23430 #endif
23431 /* We use char because int might match the return type of a gcc2
23432 builtin and then its argument prototype would still apply. */
23433 char gethostbyname ();
23434 int
23435 main ()
23436 {
23437 gethostbyname ();
23438 ;
23439 return 0;
23440 }
23441 _ACEOF
23442 rm -f conftest.$ac_objext conftest$ac_exeext
23443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23444 (eval $ac_link) 2>&5
23445 ac_status=$?
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); } &&
23448 { ac_try='test -s conftest$ac_exeext'
23449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23450 (eval $ac_try) 2>&5
23451 ac_status=$?
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); }; }; then
23454 ac_cv_lib_bsd_gethostbyname=yes
23455 else
23456 echo "$as_me: failed program was:" >&5
23457 sed 's/^/| /' conftest.$ac_ext >&5
23458
23459 ac_cv_lib_bsd_gethostbyname=no
23460 fi
23461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23462 LIBS=$ac_check_lib_save_LIBS
23463 fi
23464 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23465 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23466 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23467 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23468 fi
23469
23470 fi
23471 fi
23472
23473 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23474 # socket/setsockopt and other routines are undefined under SCO ODT
23475 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23476 # on later versions), says Simon Leinen: it contains gethostby*
23477 # variants that don't use the name server (or something). -lsocket
23478 # must be given before -lnsl if both are needed. We assume that
23479 # if connect needs -lnsl, so does gethostbyname.
23480 echo "$as_me:$LINENO: checking for connect" >&5
23481 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23482 if test "${ac_cv_func_connect+set}" = set; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6
23484 else
23485 cat >conftest.$ac_ext <<_ACEOF
23486 #line $LINENO "configure"
23487 /* confdefs.h. */
23488 _ACEOF
23489 cat confdefs.h >>conftest.$ac_ext
23490 cat >>conftest.$ac_ext <<_ACEOF
23491 /* end confdefs.h. */
23492 /* System header to define __stub macros and hopefully few prototypes,
23493 which can conflict with char connect (); below.
23494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23495 <limits.h> exists even on freestanding compilers. */
23496 #ifdef __STDC__
23497 # include <limits.h>
23498 #else
23499 # include <assert.h>
23500 #endif
23501 /* Override any gcc2 internal prototype to avoid an error. */
23502 #ifdef __cplusplus
23503 extern "C"
23504 {
23505 #endif
23506 /* We use char because int might match the return type of a gcc2
23507 builtin and then its argument prototype would still apply. */
23508 char connect ();
23509 /* The GNU C library defines this for functions which it implements
23510 to always fail with ENOSYS. Some functions are actually named
23511 something starting with __ and the normal name is an alias. */
23512 #if defined (__stub_connect) || defined (__stub___connect)
23513 choke me
23514 #else
23515 char (*f) () = connect;
23516 #endif
23517 #ifdef __cplusplus
23518 }
23519 #endif
23520
23521 int
23522 main ()
23523 {
23524 return f != connect;
23525 ;
23526 return 0;
23527 }
23528 _ACEOF
23529 rm -f conftest.$ac_objext conftest$ac_exeext
23530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23531 (eval $ac_link) 2>&5
23532 ac_status=$?
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); } &&
23535 { ac_try='test -s conftest$ac_exeext'
23536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23537 (eval $ac_try) 2>&5
23538 ac_status=$?
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); }; }; then
23541 ac_cv_func_connect=yes
23542 else
23543 echo "$as_me: failed program was:" >&5
23544 sed 's/^/| /' conftest.$ac_ext >&5
23545
23546 ac_cv_func_connect=no
23547 fi
23548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23549 fi
23550 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23551 echo "${ECHO_T}$ac_cv_func_connect" >&6
23552
23553 if test $ac_cv_func_connect = no; then
23554 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23555 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23556 if test "${ac_cv_lib_socket_connect+set}" = set; then
23557 echo $ECHO_N "(cached) $ECHO_C" >&6
23558 else
23559 ac_check_lib_save_LIBS=$LIBS
23560 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23561 cat >conftest.$ac_ext <<_ACEOF
23562 #line $LINENO "configure"
23563 /* confdefs.h. */
23564 _ACEOF
23565 cat confdefs.h >>conftest.$ac_ext
23566 cat >>conftest.$ac_ext <<_ACEOF
23567 /* end confdefs.h. */
23568
23569 /* Override any gcc2 internal prototype to avoid an error. */
23570 #ifdef __cplusplus
23571 extern "C"
23572 #endif
23573 /* We use char because int might match the return type of a gcc2
23574 builtin and then its argument prototype would still apply. */
23575 char connect ();
23576 int
23577 main ()
23578 {
23579 connect ();
23580 ;
23581 return 0;
23582 }
23583 _ACEOF
23584 rm -f conftest.$ac_objext conftest$ac_exeext
23585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23586 (eval $ac_link) 2>&5
23587 ac_status=$?
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); } &&
23590 { ac_try='test -s conftest$ac_exeext'
23591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23592 (eval $ac_try) 2>&5
23593 ac_status=$?
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; }; then
23596 ac_cv_lib_socket_connect=yes
23597 else
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23600
23601 ac_cv_lib_socket_connect=no
23602 fi
23603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23604 LIBS=$ac_check_lib_save_LIBS
23605 fi
23606 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23607 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23608 if test $ac_cv_lib_socket_connect = yes; then
23609 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23610 fi
23611
23612 fi
23613
23614 # Guillermo Gomez says -lposix is necessary on A/UX.
23615 echo "$as_me:$LINENO: checking for remove" >&5
23616 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23617 if test "${ac_cv_func_remove+set}" = set; then
23618 echo $ECHO_N "(cached) $ECHO_C" >&6
23619 else
23620 cat >conftest.$ac_ext <<_ACEOF
23621 #line $LINENO "configure"
23622 /* confdefs.h. */
23623 _ACEOF
23624 cat confdefs.h >>conftest.$ac_ext
23625 cat >>conftest.$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23627 /* System header to define __stub macros and hopefully few prototypes,
23628 which can conflict with char remove (); below.
23629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23630 <limits.h> exists even on freestanding compilers. */
23631 #ifdef __STDC__
23632 # include <limits.h>
23633 #else
23634 # include <assert.h>
23635 #endif
23636 /* Override any gcc2 internal prototype to avoid an error. */
23637 #ifdef __cplusplus
23638 extern "C"
23639 {
23640 #endif
23641 /* We use char because int might match the return type of a gcc2
23642 builtin and then its argument prototype would still apply. */
23643 char remove ();
23644 /* The GNU C library defines this for functions which it implements
23645 to always fail with ENOSYS. Some functions are actually named
23646 something starting with __ and the normal name is an alias. */
23647 #if defined (__stub_remove) || defined (__stub___remove)
23648 choke me
23649 #else
23650 char (*f) () = remove;
23651 #endif
23652 #ifdef __cplusplus
23653 }
23654 #endif
23655
23656 int
23657 main ()
23658 {
23659 return f != remove;
23660 ;
23661 return 0;
23662 }
23663 _ACEOF
23664 rm -f conftest.$ac_objext conftest$ac_exeext
23665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23666 (eval $ac_link) 2>&5
23667 ac_status=$?
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } &&
23670 { ac_try='test -s conftest$ac_exeext'
23671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23672 (eval $ac_try) 2>&5
23673 ac_status=$?
23674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675 (exit $ac_status); }; }; then
23676 ac_cv_func_remove=yes
23677 else
23678 echo "$as_me: failed program was:" >&5
23679 sed 's/^/| /' conftest.$ac_ext >&5
23680
23681 ac_cv_func_remove=no
23682 fi
23683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23684 fi
23685 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23686 echo "${ECHO_T}$ac_cv_func_remove" >&6
23687
23688 if test $ac_cv_func_remove = no; then
23689 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23690 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23691 if test "${ac_cv_lib_posix_remove+set}" = set; then
23692 echo $ECHO_N "(cached) $ECHO_C" >&6
23693 else
23694 ac_check_lib_save_LIBS=$LIBS
23695 LIBS="-lposix $LIBS"
23696 cat >conftest.$ac_ext <<_ACEOF
23697 #line $LINENO "configure"
23698 /* confdefs.h. */
23699 _ACEOF
23700 cat confdefs.h >>conftest.$ac_ext
23701 cat >>conftest.$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23703
23704 /* Override any gcc2 internal prototype to avoid an error. */
23705 #ifdef __cplusplus
23706 extern "C"
23707 #endif
23708 /* We use char because int might match the return type of a gcc2
23709 builtin and then its argument prototype would still apply. */
23710 char remove ();
23711 int
23712 main ()
23713 {
23714 remove ();
23715 ;
23716 return 0;
23717 }
23718 _ACEOF
23719 rm -f conftest.$ac_objext conftest$ac_exeext
23720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23721 (eval $ac_link) 2>&5
23722 ac_status=$?
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); } &&
23725 { ac_try='test -s conftest$ac_exeext'
23726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727 (eval $ac_try) 2>&5
23728 ac_status=$?
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; }; then
23731 ac_cv_lib_posix_remove=yes
23732 else
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.$ac_ext >&5
23735
23736 ac_cv_lib_posix_remove=no
23737 fi
23738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23739 LIBS=$ac_check_lib_save_LIBS
23740 fi
23741 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23742 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23743 if test $ac_cv_lib_posix_remove = yes; then
23744 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23745 fi
23746
23747 fi
23748
23749 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23750 echo "$as_me:$LINENO: checking for shmat" >&5
23751 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23752 if test "${ac_cv_func_shmat+set}" = set; then
23753 echo $ECHO_N "(cached) $ECHO_C" >&6
23754 else
23755 cat >conftest.$ac_ext <<_ACEOF
23756 #line $LINENO "configure"
23757 /* confdefs.h. */
23758 _ACEOF
23759 cat confdefs.h >>conftest.$ac_ext
23760 cat >>conftest.$ac_ext <<_ACEOF
23761 /* end confdefs.h. */
23762 /* System header to define __stub macros and hopefully few prototypes,
23763 which can conflict with char shmat (); below.
23764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23765 <limits.h> exists even on freestanding compilers. */
23766 #ifdef __STDC__
23767 # include <limits.h>
23768 #else
23769 # include <assert.h>
23770 #endif
23771 /* Override any gcc2 internal prototype to avoid an error. */
23772 #ifdef __cplusplus
23773 extern "C"
23774 {
23775 #endif
23776 /* We use char because int might match the return type of a gcc2
23777 builtin and then its argument prototype would still apply. */
23778 char shmat ();
23779 /* The GNU C library defines this for functions which it implements
23780 to always fail with ENOSYS. Some functions are actually named
23781 something starting with __ and the normal name is an alias. */
23782 #if defined (__stub_shmat) || defined (__stub___shmat)
23783 choke me
23784 #else
23785 char (*f) () = shmat;
23786 #endif
23787 #ifdef __cplusplus
23788 }
23789 #endif
23790
23791 int
23792 main ()
23793 {
23794 return f != shmat;
23795 ;
23796 return 0;
23797 }
23798 _ACEOF
23799 rm -f conftest.$ac_objext conftest$ac_exeext
23800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23801 (eval $ac_link) 2>&5
23802 ac_status=$?
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); } &&
23805 { ac_try='test -s conftest$ac_exeext'
23806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23807 (eval $ac_try) 2>&5
23808 ac_status=$?
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); }; }; then
23811 ac_cv_func_shmat=yes
23812 else
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23815
23816 ac_cv_func_shmat=no
23817 fi
23818 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23819 fi
23820 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23821 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23822
23823 if test $ac_cv_func_shmat = no; then
23824 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23825 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23826 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23827 echo $ECHO_N "(cached) $ECHO_C" >&6
23828 else
23829 ac_check_lib_save_LIBS=$LIBS
23830 LIBS="-lipc $LIBS"
23831 cat >conftest.$ac_ext <<_ACEOF
23832 #line $LINENO "configure"
23833 /* confdefs.h. */
23834 _ACEOF
23835 cat confdefs.h >>conftest.$ac_ext
23836 cat >>conftest.$ac_ext <<_ACEOF
23837 /* end confdefs.h. */
23838
23839 /* Override any gcc2 internal prototype to avoid an error. */
23840 #ifdef __cplusplus
23841 extern "C"
23842 #endif
23843 /* We use char because int might match the return type of a gcc2
23844 builtin and then its argument prototype would still apply. */
23845 char shmat ();
23846 int
23847 main ()
23848 {
23849 shmat ();
23850 ;
23851 return 0;
23852 }
23853 _ACEOF
23854 rm -f conftest.$ac_objext conftest$ac_exeext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23856 (eval $ac_link) 2>&5
23857 ac_status=$?
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); } &&
23860 { ac_try='test -s conftest$ac_exeext'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23863 ac_status=$?
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; }; then
23866 ac_cv_lib_ipc_shmat=yes
23867 else
23868 echo "$as_me: failed program was:" >&5
23869 sed 's/^/| /' conftest.$ac_ext >&5
23870
23871 ac_cv_lib_ipc_shmat=no
23872 fi
23873 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23874 LIBS=$ac_check_lib_save_LIBS
23875 fi
23876 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23877 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23878 if test $ac_cv_lib_ipc_shmat = yes; then
23879 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23880 fi
23881
23882 fi
23883 fi
23884
23885 # Check for libraries that X11R6 Xt/Xaw programs need.
23886 ac_save_LDFLAGS=$LDFLAGS
23887 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23888 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23889 # check for ICE first), but we must link in the order -lSM -lICE or
23890 # we get undefined symbols. So assume we have SM if we have ICE.
23891 # These have to be linked with before -lX11, unlike the other
23892 # libraries we check for below, so use a different variable.
23893 # John Interrante, Karl Berry
23894 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23895 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23896 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 else
23899 ac_check_lib_save_LIBS=$LIBS
23900 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23901 cat >conftest.$ac_ext <<_ACEOF
23902 #line $LINENO "configure"
23903 /* confdefs.h. */
23904 _ACEOF
23905 cat confdefs.h >>conftest.$ac_ext
23906 cat >>conftest.$ac_ext <<_ACEOF
23907 /* end confdefs.h. */
23908
23909 /* Override any gcc2 internal prototype to avoid an error. */
23910 #ifdef __cplusplus
23911 extern "C"
23912 #endif
23913 /* We use char because int might match the return type of a gcc2
23914 builtin and then its argument prototype would still apply. */
23915 char IceConnectionNumber ();
23916 int
23917 main ()
23918 {
23919 IceConnectionNumber ();
23920 ;
23921 return 0;
23922 }
23923 _ACEOF
23924 rm -f conftest.$ac_objext conftest$ac_exeext
23925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23926 (eval $ac_link) 2>&5
23927 ac_status=$?
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); } &&
23930 { ac_try='test -s conftest$ac_exeext'
23931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23932 (eval $ac_try) 2>&5
23933 ac_status=$?
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); }; }; then
23936 ac_cv_lib_ICE_IceConnectionNumber=yes
23937 else
23938 echo "$as_me: failed program was:" >&5
23939 sed 's/^/| /' conftest.$ac_ext >&5
23940
23941 ac_cv_lib_ICE_IceConnectionNumber=no
23942 fi
23943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23944 LIBS=$ac_check_lib_save_LIBS
23945 fi
23946 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23947 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23948 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23949 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23950 fi
23951
23952 LDFLAGS=$ac_save_LDFLAGS
23953
23954 fi
23955
23956
23957 if test "$no_x" = "yes"; then
23958 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23959 echo "$as_me: error: X11 not found" >&2;}
23960 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23961 fi
23962
23963 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23964 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23965 AFMINSTALL=afminstall
23966 COMPILED_X_PROGRAM=0
23967
23968 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23969 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23970
23971 ac_find_includes=
23972 for ac_dir in $SEARCH_INCLUDE /usr/include;
23973 do
23974 if test -f "$ac_dir/Xm/Xm.h"; then
23975 ac_find_includes=$ac_dir
23976 break
23977 fi
23978 done
23979
23980 if test "$ac_find_includes" != "" ; then
23981 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23982 echo "${ECHO_T}found in $ac_find_includes" >&6
23983
23984 if test "x$ac_find_includes" = "x/usr/include"; then
23985 ac_path_to_include=""
23986 else
23987 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23988 result=$?
23989 if test $result = 0; then
23990 ac_path_to_include=""
23991 else
23992 ac_path_to_include=" -I$ac_find_includes"
23993 fi
23994 fi
23995
23996 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23997 else
23998 cat >conftest.$ac_ext <<_ACEOF
23999 #line $LINENO "configure"
24000 /* confdefs.h. */
24001 _ACEOF
24002 cat confdefs.h >>conftest.$ac_ext
24003 cat >>conftest.$ac_ext <<_ACEOF
24004 /* end confdefs.h. */
24005
24006 #include <Xm/Xm.h>
24007
24008 int
24009 main ()
24010 {
24011
24012 int version;
24013 version = xmUseVersion;
24014
24015 ;
24016 return 0;
24017 }
24018 _ACEOF
24019 rm -f conftest.$ac_objext
24020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24021 (eval $ac_compile) 2>&5
24022 ac_status=$?
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); } &&
24025 { ac_try='test -s conftest.$ac_objext'
24026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24027 (eval $ac_try) 2>&5
24028 ac_status=$?
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); }; }; then
24031
24032 echo "$as_me:$LINENO: result: found in default search path" >&5
24033 echo "${ECHO_T}found in default search path" >&6
24034 COMPILED_X_PROGRAM=1
24035
24036 else
24037 echo "$as_me: failed program was:" >&5
24038 sed 's/^/| /' conftest.$ac_ext >&5
24039
24040
24041 echo "$as_me:$LINENO: result: no" >&5
24042 echo "${ECHO_T}no" >&6
24043 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24044 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24045 { (exit 1); exit 1; }; }
24046
24047
24048 fi
24049 rm -f conftest.$ac_objext conftest.$ac_ext
24050 fi
24051
24052 if test "$COMPILED_X_PROGRAM" = 0; then
24053 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24054 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24055
24056 ac_find_libraries=
24057 for ac_dir in $SEARCH_LIB /usr/lib;
24058 do
24059 for ac_extension in a so sl dylib; do
24060 if test -f "$ac_dir/libXm.$ac_extension"; then
24061 ac_find_libraries=$ac_dir
24062 break 2
24063 fi
24064 done
24065 done
24066
24067 if test "$ac_find_libraries" != "" ; then
24068 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24069 echo "${ECHO_T}found at $ac_find_libraries" >&6
24070
24071
24072 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24073 result=$?
24074 if test $result = 0; then
24075 ac_path_to_link=""
24076 else
24077 ac_path_to_link=" -L$ac_find_libraries"
24078 fi
24079
24080 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24081 else
24082 save_CFLAGS=$CFLAGS
24083 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24084
24085 cat >conftest.$ac_ext <<_ACEOF
24086 #line $LINENO "configure"
24087 /* confdefs.h. */
24088 _ACEOF
24089 cat confdefs.h >>conftest.$ac_ext
24090 cat >>conftest.$ac_ext <<_ACEOF
24091 /* end confdefs.h. */
24092
24093 #include <Xm/Xm.h>
24094
24095 int
24096 main ()
24097 {
24098
24099 int version;
24100 version = xmUseVersion;
24101
24102 ;
24103 return 0;
24104 }
24105 _ACEOF
24106 rm -f conftest.$ac_objext
24107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24108 (eval $ac_compile) 2>&5
24109 ac_status=$?
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); } &&
24112 { ac_try='test -s conftest.$ac_objext'
24113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24114 (eval $ac_try) 2>&5
24115 ac_status=$?
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); }; }; then
24118
24119 echo "$as_me:$LINENO: result: found in default search path" >&5
24120 echo "${ECHO_T}found in default search path" >&6
24121 COMPILED_X_PROGRAM=1
24122
24123 else
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24126
24127
24128 echo "$as_me:$LINENO: result: no" >&5
24129 echo "${ECHO_T}no" >&6
24130 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24131 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24132 { (exit 1); exit 1; }; }
24133
24134
24135 fi
24136 rm -f conftest.$ac_objext conftest.$ac_ext
24137
24138 CFLAGS=$save_CFLAGS
24139 fi
24140 fi
24141
24142 xpm_link=
24143 echo "$as_me:$LINENO: checking for Xpm library" >&5
24144 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24145
24146 ac_find_libraries=
24147 for ac_dir in $SEARCH_LIB /usr/lib;
24148 do
24149 for ac_extension in a so sl dylib; do
24150 if test -f "$ac_dir/libXpm.$ac_extension"; then
24151 ac_find_libraries=$ac_dir
24152 break 2
24153 fi
24154 done
24155 done
24156
24157 if test "$ac_find_libraries" != "" ; then
24158
24159 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24160 result=$?
24161 if test $result = 0; then
24162 ac_path_to_link=""
24163 else
24164 ac_path_to_link=" -L$ac_find_libraries"
24165 fi
24166
24167 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24168
24169 xpm_link=" -lXpm"
24170 cat >>confdefs.h <<\_ACEOF
24171 #define wxHAVE_LIB_XPM 1
24172 _ACEOF
24173
24174 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24175 echo "${ECHO_T}found at $ac_find_libraries" >&6
24176 else
24177 save_CFLAGS=$CFLAGS
24178 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24179
24180 cat >conftest.$ac_ext <<_ACEOF
24181 #line $LINENO "configure"
24182 /* confdefs.h. */
24183 _ACEOF
24184 cat confdefs.h >>conftest.$ac_ext
24185 cat >>conftest.$ac_ext <<_ACEOF
24186 /* end confdefs.h. */
24187
24188 #include <X11/xpm.h>
24189
24190 int
24191 main ()
24192 {
24193
24194 int version;
24195 version = XpmLibraryVersion();
24196
24197 ;
24198 return 0;
24199 }
24200 _ACEOF
24201 rm -f conftest.$ac_objext
24202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24203 (eval $ac_compile) 2>&5
24204 ac_status=$?
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); } &&
24207 { ac_try='test -s conftest.$ac_objext'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24210 ac_status=$?
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; }; then
24213
24214 xpm_link=" -lXpm"
24215 cat >>confdefs.h <<\_ACEOF
24216 #define wxHAVE_LIB_XPM 1
24217 _ACEOF
24218
24219 echo "$as_me:$LINENO: result: found in default search path" >&5
24220 echo "${ECHO_T}found in default search path" >&6
24221 COMPILED_X_PROGRAM=0
24222
24223 else
24224 echo "$as_me: failed program was:" >&5
24225 sed 's/^/| /' conftest.$ac_ext >&5
24226
24227
24228 echo "$as_me:$LINENO: result: no" >&5
24229 echo "${ECHO_T}no" >&6
24230 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24231 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24232
24233
24234 fi
24235 rm -f conftest.$ac_objext conftest.$ac_ext
24236
24237 CFLAGS=$save_CFLAGS
24238 fi
24239
24240 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24241 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24242 libp_link=""
24243 libsm_ice_link=""
24244 libs_found=0
24245 for libp in "" " -lXp"; do
24246 if test "$libs_found" = "0"; then
24247 for libsm_ice in " -lSM -lICE"; do
24248 if test "$libs_found" = "0"; then
24249 save_LIBS="$LIBS"
24250 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24251 save_CFLAGS=$CFLAGS
24252 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24253
24254 cat >conftest.$ac_ext <<_ACEOF
24255 #line $LINENO "configure"
24256 /* confdefs.h. */
24257 _ACEOF
24258 cat confdefs.h >>conftest.$ac_ext
24259 cat >>conftest.$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24261
24262 #include <Xm/Xm.h>
24263 #include <Xm/List.h>
24264
24265 int
24266 main ()
24267 {
24268
24269 XmString string = NULL;
24270 Widget w = NULL;
24271 int position = 0;
24272 XmListAddItem(w, string, position);
24273
24274 ;
24275 return 0;
24276 }
24277 _ACEOF
24278 rm -f conftest.$ac_objext conftest$ac_exeext
24279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24280 (eval $ac_link) 2>&5
24281 ac_status=$?
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); } &&
24284 { ac_try='test -s conftest$ac_exeext'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24287 ac_status=$?
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; }; then
24290
24291 libp_link="$libp"
24292 libsm_ice_link="$libsm_ice"
24293 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24294 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24295 libs_found=1
24296
24297 else
24298 echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5
24300
24301
24302
24303 fi
24304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24305
24306 LIBS="$save_LIBS"
24307 CFLAGS=$save_CFLAGS
24308 fi
24309 done
24310 fi
24311 done
24312
24313 if test "$libs_found" = "0"; then
24314 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24315 echo "${ECHO_T}can't find the right libraries" >&6
24316 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24317 echo "$as_me: error: can't link a simple motif program" >&2;}
24318 { (exit 1); exit 1; }; }
24319 fi
24320
24321 save_CFLAGS=$CFLAGS
24322 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24323 echo "$as_me:$LINENO: checking for Motif 2" >&5
24324 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24325 cat >conftest.$ac_ext <<_ACEOF
24326 #line $LINENO "configure"
24327 /* confdefs.h. */
24328 _ACEOF
24329 cat confdefs.h >>conftest.$ac_ext
24330 cat >>conftest.$ac_ext <<_ACEOF
24331 /* end confdefs.h. */
24332
24333 #include <Xm/Xm.h>
24334
24335 int
24336 main ()
24337 {
24338
24339 #if XmVersion < 2000
24340 #error "Not Motif 2"
24341 #endif
24342
24343 ;
24344 return 0;
24345 }
24346 _ACEOF
24347 rm -f conftest.$ac_objext
24348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24349 (eval $ac_compile) 2>&5
24350 ac_status=$?
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); } &&
24353 { ac_try='test -s conftest.$ac_objext'
24354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24355 (eval $ac_try) 2>&5
24356 ac_status=$?
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); }; }; then
24359
24360 cat >>confdefs.h <<\_ACEOF
24361 #define __WXMOTIF20__ 1
24362 _ACEOF
24363
24364 echo "$as_me:$LINENO: result: found" >&5
24365 echo "${ECHO_T}found" >&6
24366
24367 else
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.$ac_ext >&5
24370
24371
24372 cat >>confdefs.h <<\_ACEOF
24373 #define __WXMOTIF20__ 0
24374 _ACEOF
24375
24376 echo "$as_me:$LINENO: result: not found" >&5
24377 echo "${ECHO_T}not found" >&6
24378
24379 fi
24380 rm -f conftest.$ac_objext conftest.$ac_ext
24381 CFLAGS=$save_CFLAGS
24382
24383 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24384 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24385 TOOLKIT=MOTIF
24386 GUIDIST=MOTIF_DIST
24387 wxHAVE_XEXT_LIB=1
24388 fi
24389
24390 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24391 test "$wxHAVE_XEXT_LIB" = 1; then
24392 save_CFLAGS="$CFLAGS"
24393 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24394
24395 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24396 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24397 cat >conftest.$ac_ext <<_ACEOF
24398 #line $LINENO "configure"
24399 /* confdefs.h. */
24400 _ACEOF
24401 cat confdefs.h >>conftest.$ac_ext
24402 cat >>conftest.$ac_ext <<_ACEOF
24403 /* end confdefs.h. */
24404
24405 #include <X11/Xlib.h>
24406 #include <X11/extensions/shape.h>
24407
24408 int
24409 main ()
24410 {
24411
24412 int dummy1, dummy2;
24413 XShapeQueryExtension((Display*)NULL,
24414 (int*)NULL, (int*)NULL);
24415
24416 ;
24417 return 0;
24418 }
24419 _ACEOF
24420 rm -f conftest.$ac_objext
24421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24422 (eval $ac_compile) 2>&5
24423 ac_status=$?
24424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); } &&
24426 { ac_try='test -s conftest.$ac_objext'
24427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24428 (eval $ac_try) 2>&5
24429 ac_status=$?
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); }; }; then
24432
24433 cat >>confdefs.h <<\_ACEOF
24434 #define HAVE_XSHAPE 1
24435 _ACEOF
24436
24437 echo "$as_me:$LINENO: result: found" >&5
24438 echo "${ECHO_T}found" >&6
24439
24440 else
24441 echo "$as_me: failed program was:" >&5
24442 sed 's/^/| /' conftest.$ac_ext >&5
24443
24444
24445 echo "$as_me:$LINENO: result: not found" >&5
24446 echo "${ECHO_T}not found" >&6
24447
24448 fi
24449 rm -f conftest.$ac_objext conftest.$ac_ext
24450 CFLAGS="$save_CFLAGS"
24451 fi
24452
24453 if test "$wxUSE_MAC" = 1; then
24454 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24455
24456 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24457 TOOLKIT=MAC
24458 GUIDIST=MACX_DIST
24459 WXBASEPORT="_carbon"
24460 fi
24461
24462 if test "$wxUSE_COCOA" = 1; then
24463 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24464 TOOLKIT=COCOA
24465 GUIDIST=COCOA_DIST
24466 fi
24467
24468 if test "$wxUSE_PM" = 1; then
24469 TOOLKIT=PM
24470 GUIDIST=GTK_DIST
24471 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24472 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24473 wxUSE_THREADS="no"
24474 fi
24475
24476 if test "$TOOLKIT" = "PM" ; then
24477 TOOLKIT_DIR="os2"
24478 else
24479 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24480 fi
24481
24482 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24483
24484 if test "$wxUSE_UNIVERSAL" = "yes"; then
24485 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24486
24487 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24488 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24489
24490 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24491 if test "$wxUSE_X11" = 1; then
24492 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24493 else
24494 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24495 fi
24496 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24497 WIDGET_SET=univ
24498 else
24499 ALL_OBJECTS="\$(GUIOBJS)"
24500 ALL_SOURCES="\$(ALL_SOURCES)"
24501 ALL_HEADERS="\$(ALL_HEADERS)"
24502 fi
24503
24504 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24505
24506 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24507 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24508 fi
24509
24510 if test "$wxUSE_HTML" = "yes"; then
24511 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24512 fi
24513
24514 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24515 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24516 fi
24517 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24518 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24519 fi
24520 if test "$wxUSE_LIBPNG" = "builtin" ; then
24521 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24522 fi
24523
24524 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24525 DISTDIR="wx\$(TOOLKIT)"
24526 else
24527 USE_GUI=0
24528
24529 TOOLKIT_DIR="base"
24530
24531 if test "$USE_WIN32" = 1 ; then
24532 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24533 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24534
24535 TOOLKIT="MSW"
24536 else
24537 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24538 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24539 fi
24540
24541 ALL_SOURCES="\$(ALL_SOURCES)"
24542 ALL_HEADERS="\$(ALL_HEADERS)"
24543
24544 PORT_FILES="\${top_srcdir}/src/files.lst"
24545
24546 GUIDIST="BASE_DIST"
24547 DISTDIR="wxBase"
24548 fi
24549
24550
24551
24552
24553 IODBC_C_SRC=""
24554
24555
24556 if test "$TOOLKIT" != "MSW" ; then
24557
24558 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24559
24560 if test "${ac_cv_header_sql_h+set}" = set; then
24561 echo "$as_me:$LINENO: checking for sql.h" >&5
24562 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24563 if test "${ac_cv_header_sql_h+set}" = set; then
24564 echo $ECHO_N "(cached) $ECHO_C" >&6
24565 fi
24566 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24567 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24568 else
24569 # Is the header compilable?
24570 echo "$as_me:$LINENO: checking sql.h usability" >&5
24571 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24572 cat >conftest.$ac_ext <<_ACEOF
24573 #line $LINENO "configure"
24574 /* confdefs.h. */
24575 _ACEOF
24576 cat confdefs.h >>conftest.$ac_ext
24577 cat >>conftest.$ac_ext <<_ACEOF
24578 /* end confdefs.h. */
24579 $ac_includes_default
24580 #include <sql.h>
24581 _ACEOF
24582 rm -f conftest.$ac_objext
24583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24584 (eval $ac_compile) 2>&5
24585 ac_status=$?
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); } &&
24588 { ac_try='test -s conftest.$ac_objext'
24589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590 (eval $ac_try) 2>&5
24591 ac_status=$?
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); }; }; then
24594 ac_header_compiler=yes
24595 else
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.$ac_ext >&5
24598
24599 ac_header_compiler=no
24600 fi
24601 rm -f conftest.$ac_objext conftest.$ac_ext
24602 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24603 echo "${ECHO_T}$ac_header_compiler" >&6
24604
24605 # Is the header present?
24606 echo "$as_me:$LINENO: checking sql.h presence" >&5
24607 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24608 cat >conftest.$ac_ext <<_ACEOF
24609 #line $LINENO "configure"
24610 /* confdefs.h. */
24611 _ACEOF
24612 cat confdefs.h >>conftest.$ac_ext
24613 cat >>conftest.$ac_ext <<_ACEOF
24614 /* end confdefs.h. */
24615 #include <sql.h>
24616 _ACEOF
24617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24619 ac_status=$?
24620 grep -v '^ *+' conftest.er1 >conftest.err
24621 rm -f conftest.er1
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } >/dev/null; then
24625 if test -s conftest.err; then
24626 ac_cpp_err=$ac_c_preproc_warn_flag
24627 else
24628 ac_cpp_err=
24629 fi
24630 else
24631 ac_cpp_err=yes
24632 fi
24633 if test -z "$ac_cpp_err"; then
24634 ac_header_preproc=yes
24635 else
24636 echo "$as_me: failed program was:" >&5
24637 sed 's/^/| /' conftest.$ac_ext >&5
24638
24639 ac_header_preproc=no
24640 fi
24641 rm -f conftest.err conftest.$ac_ext
24642 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24643 echo "${ECHO_T}$ac_header_preproc" >&6
24644
24645 # So? What about this header?
24646 case $ac_header_compiler:$ac_header_preproc in
24647 yes:no )
24648 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24649 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24650 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24651 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24652 (
24653 cat <<\_ASBOX
24654 ## ------------------------------------ ##
24655 ## Report this to bug-autoconf@gnu.org. ##
24656 ## ------------------------------------ ##
24657 _ASBOX
24658 ) |
24659 sed "s/^/$as_me: WARNING: /" >&2
24660 ;;
24661 no:yes )
24662 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24663 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24664 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24665 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24666 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24667 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24668 (
24669 cat <<\_ASBOX
24670 ## ------------------------------------ ##
24671 ## Report this to bug-autoconf@gnu.org. ##
24672 ## ------------------------------------ ##
24673 _ASBOX
24674 ) |
24675 sed "s/^/$as_me: WARNING: /" >&2
24676 ;;
24677 esac
24678 echo "$as_me:$LINENO: checking for sql.h" >&5
24679 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24680 if test "${ac_cv_header_sql_h+set}" = set; then
24681 echo $ECHO_N "(cached) $ECHO_C" >&6
24682 else
24683 ac_cv_header_sql_h=$ac_header_preproc
24684 fi
24685 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24686 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24687
24688 fi
24689 if test $ac_cv_header_sql_h = yes; then
24690 found_sql_h=1
24691 fi
24692
24693
24694 if test "x$found_sql_h" = "x1" ; then
24695 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24696 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24697 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24698 echo $ECHO_N "(cached) $ECHO_C" >&6
24699 else
24700 ac_check_lib_save_LIBS=$LIBS
24701 LIBS="-lSQLAllocEnv $LIBS"
24702 cat >conftest.$ac_ext <<_ACEOF
24703 #line $LINENO "configure"
24704 /* confdefs.h. */
24705 _ACEOF
24706 cat confdefs.h >>conftest.$ac_ext
24707 cat >>conftest.$ac_ext <<_ACEOF
24708 /* end confdefs.h. */
24709
24710 /* Override any gcc2 internal prototype to avoid an error. */
24711 #ifdef __cplusplus
24712 extern "C"
24713 #endif
24714 /* We use char because int might match the return type of a gcc2
24715 builtin and then its argument prototype would still apply. */
24716 char iodbc ();
24717 int
24718 main ()
24719 {
24720 iodbc ();
24721 ;
24722 return 0;
24723 }
24724 _ACEOF
24725 rm -f conftest.$ac_objext conftest$ac_exeext
24726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24727 (eval $ac_link) 2>&5
24728 ac_status=$?
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); } &&
24731 { ac_try='test -s conftest$ac_exeext'
24732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24733 (eval $ac_try) 2>&5
24734 ac_status=$?
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); }; }; then
24737 ac_cv_lib_SQLAllocEnv_iodbc=yes
24738 else
24739 echo "$as_me: failed program was:" >&5
24740 sed 's/^/| /' conftest.$ac_ext >&5
24741
24742 ac_cv_lib_SQLAllocEnv_iodbc=no
24743 fi
24744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24745 LIBS=$ac_check_lib_save_LIBS
24746 fi
24747 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24748 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24749 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24750 ODBC_LINK=" -liodbc"
24751 else
24752
24753 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24754 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24755 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24756 echo $ECHO_N "(cached) $ECHO_C" >&6
24757 else
24758 ac_check_lib_save_LIBS=$LIBS
24759 LIBS="-lSQLAllocEnv $LIBS"
24760 cat >conftest.$ac_ext <<_ACEOF
24761 #line $LINENO "configure"
24762 /* confdefs.h. */
24763 _ACEOF
24764 cat confdefs.h >>conftest.$ac_ext
24765 cat >>conftest.$ac_ext <<_ACEOF
24766 /* end confdefs.h. */
24767
24768 /* Override any gcc2 internal prototype to avoid an error. */
24769 #ifdef __cplusplus
24770 extern "C"
24771 #endif
24772 /* We use char because int might match the return type of a gcc2
24773 builtin and then its argument prototype would still apply. */
24774 char unixodbc ();
24775 int
24776 main ()
24777 {
24778 unixodbc ();
24779 ;
24780 return 0;
24781 }
24782 _ACEOF
24783 rm -f conftest.$ac_objext conftest$ac_exeext
24784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24785 (eval $ac_link) 2>&5
24786 ac_status=$?
24787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788 (exit $ac_status); } &&
24789 { ac_try='test -s conftest$ac_exeext'
24790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24791 (eval $ac_try) 2>&5
24792 ac_status=$?
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); }; }; then
24795 ac_cv_lib_SQLAllocEnv_unixodbc=yes
24796 else
24797 echo "$as_me: failed program was:" >&5
24798 sed 's/^/| /' conftest.$ac_ext >&5
24799
24800 ac_cv_lib_SQLAllocEnv_unixodbc=no
24801 fi
24802 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24803 LIBS=$ac_check_lib_save_LIBS
24804 fi
24805 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24806 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24807 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24808 ODBC_LINK=" -lunixodbc"
24809 else
24810
24811 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24812 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24813 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24814 echo $ECHO_N "(cached) $ECHO_C" >&6
24815 else
24816 ac_check_lib_save_LIBS=$LIBS
24817 LIBS="-lSQLAllocEnv $LIBS"
24818 cat >conftest.$ac_ext <<_ACEOF
24819 #line $LINENO "configure"
24820 /* confdefs.h. */
24821 _ACEOF
24822 cat confdefs.h >>conftest.$ac_ext
24823 cat >>conftest.$ac_ext <<_ACEOF
24824 /* end confdefs.h. */
24825
24826 /* Override any gcc2 internal prototype to avoid an error. */
24827 #ifdef __cplusplus
24828 extern "C"
24829 #endif
24830 /* We use char because int might match the return type of a gcc2
24831 builtin and then its argument prototype would still apply. */
24832 char odbc ();
24833 int
24834 main ()
24835 {
24836 odbc ();
24837 ;
24838 return 0;
24839 }
24840 _ACEOF
24841 rm -f conftest.$ac_objext conftest$ac_exeext
24842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24843 (eval $ac_link) 2>&5
24844 ac_status=$?
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } &&
24847 { ac_try='test -s conftest$ac_exeext'
24848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24849 (eval $ac_try) 2>&5
24850 ac_status=$?
24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 (exit $ac_status); }; }; then
24853 ac_cv_lib_SQLAllocEnv_odbc=yes
24854 else
24855 echo "$as_me: failed program was:" >&5
24856 sed 's/^/| /' conftest.$ac_ext >&5
24857
24858 ac_cv_lib_SQLAllocEnv_odbc=no
24859 fi
24860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24861 LIBS=$ac_check_lib_save_LIBS
24862 fi
24863 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24864 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24865 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24866 ODBC_LINK=" -lodbc"
24867 fi
24868
24869
24870 fi
24871
24872
24873 fi
24874
24875 fi
24876 if test "x$ODBC_LINK" = "x" ; then
24877 if test "$wxUSE_ODBC" = "sys" ; then
24878 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24879 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24880 { (exit 1); exit 1; }; }
24881 else
24882 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24883 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24884 wxUSE_ODBC=builtin
24885 fi
24886 else
24887 wxUSE_ODBC=sys
24888 fi
24889 fi
24890 if test "$wxUSE_ODBC" != "no" ; then
24891 cat >>confdefs.h <<\_ACEOF
24892 #define wxUSE_ODBC 1
24893 _ACEOF
24894
24895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24896
24897 WXODBCFLAG="-D_IODBC_"
24898 fi
24899 fi
24900
24901 if test "$wxUSE_REGEX" = "builtin" ; then
24902 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24903 fi
24904 if test "$wxUSE_ZLIB" = "builtin" ; then
24905 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24906 fi
24907
24908
24909 USE_OPENGL=0
24910 if test "$wxUSE_OPENGL" = "yes"; then
24911 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24912 OPENGL_LIBS="-framework OpenGL -framework AGL"
24913 elif test "$wxUSE_MSW" = 1; then
24914 OPENGL_LIBS="-lopengl32 -lglu32"
24915 else
24916
24917
24918 ac_find_includes=
24919 for ac_dir in $SEARCH_INCLUDE /usr/include;
24920 do
24921 if test -f "$ac_dir/GL/gl.h"; then
24922 ac_find_includes=$ac_dir
24923 break
24924 fi
24925 done
24926
24927 if test "$ac_find_includes" != "" ; then
24928 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24929 echo "${ECHO_T}found in $ac_find_includes" >&6
24930
24931 if test "x$ac_find_includes" = "x/usr/include"; then
24932 ac_path_to_include=""
24933 else
24934 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24935 result=$?
24936 if test $result = 0; then
24937 ac_path_to_include=""
24938 else
24939 ac_path_to_include=" -I$ac_find_includes"
24940 fi
24941 fi
24942
24943 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24944 fi
24945
24946 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24947 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24948 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24949 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24950 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 fi
24952 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24953 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24954 else
24955 # Is the header compilable?
24956 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24957 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24958 cat >conftest.$ac_ext <<_ACEOF
24959 #line $LINENO "configure"
24960 /* confdefs.h. */
24961 _ACEOF
24962 cat confdefs.h >>conftest.$ac_ext
24963 cat >>conftest.$ac_ext <<_ACEOF
24964 /* end confdefs.h. */
24965 $ac_includes_default
24966 #include <GL/gl.h>
24967 _ACEOF
24968 rm -f conftest.$ac_objext
24969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24970 (eval $ac_compile) 2>&5
24971 ac_status=$?
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); } &&
24974 { ac_try='test -s conftest.$ac_objext'
24975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24976 (eval $ac_try) 2>&5
24977 ac_status=$?
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); }; }; then
24980 ac_header_compiler=yes
24981 else
24982 echo "$as_me: failed program was:" >&5
24983 sed 's/^/| /' conftest.$ac_ext >&5
24984
24985 ac_header_compiler=no
24986 fi
24987 rm -f conftest.$ac_objext conftest.$ac_ext
24988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24989 echo "${ECHO_T}$ac_header_compiler" >&6
24990
24991 # Is the header present?
24992 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24993 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24994 cat >conftest.$ac_ext <<_ACEOF
24995 #line $LINENO "configure"
24996 /* confdefs.h. */
24997 _ACEOF
24998 cat confdefs.h >>conftest.$ac_ext
24999 cat >>conftest.$ac_ext <<_ACEOF
25000 /* end confdefs.h. */
25001 #include <GL/gl.h>
25002 _ACEOF
25003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25005 ac_status=$?
25006 grep -v '^ *+' conftest.er1 >conftest.err
25007 rm -f conftest.er1
25008 cat conftest.err >&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); } >/dev/null; then
25011 if test -s conftest.err; then
25012 ac_cpp_err=$ac_c_preproc_warn_flag
25013 else
25014 ac_cpp_err=
25015 fi
25016 else
25017 ac_cpp_err=yes
25018 fi
25019 if test -z "$ac_cpp_err"; then
25020 ac_header_preproc=yes
25021 else
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.$ac_ext >&5
25024
25025 ac_header_preproc=no
25026 fi
25027 rm -f conftest.err conftest.$ac_ext
25028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25029 echo "${ECHO_T}$ac_header_preproc" >&6
25030
25031 # So? What about this header?
25032 case $ac_header_compiler:$ac_header_preproc in
25033 yes:no )
25034 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25035 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25036 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25037 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25038 (
25039 cat <<\_ASBOX
25040 ## ------------------------------------ ##
25041 ## Report this to bug-autoconf@gnu.org. ##
25042 ## ------------------------------------ ##
25043 _ASBOX
25044 ) |
25045 sed "s/^/$as_me: WARNING: /" >&2
25046 ;;
25047 no:yes )
25048 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25049 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25050 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25051 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25052 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25053 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25054 (
25055 cat <<\_ASBOX
25056 ## ------------------------------------ ##
25057 ## Report this to bug-autoconf@gnu.org. ##
25058 ## ------------------------------------ ##
25059 _ASBOX
25060 ) |
25061 sed "s/^/$as_me: WARNING: /" >&2
25062 ;;
25063 esac
25064 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25065 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25066 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25067 echo $ECHO_N "(cached) $ECHO_C" >&6
25068 else
25069 ac_cv_header_GL_gl_h=$ac_header_preproc
25070 fi
25071 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25072 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25073
25074 fi
25075 if test $ac_cv_header_GL_gl_h = yes; then
25076
25077 found_gl=0
25078
25079 echo "$as_me:$LINENO: checking for -lGL" >&5
25080 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25081
25082 ac_find_libraries=
25083 for ac_dir in $SEARCH_LIB /usr/lib;
25084 do
25085 for ac_extension in a so sl dylib; do
25086 if test -f "$ac_dir/libGL.$ac_extension"; then
25087 ac_find_libraries=$ac_dir
25088 break 2
25089 fi
25090 done
25091 done
25092
25093 if test "$ac_find_libraries" != "" ; then
25094
25095 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25096 result=$?
25097 if test $result = 0; then
25098 ac_path_to_link=""
25099 else
25100 ac_path_to_link=" -L$ac_find_libraries"
25101 fi
25102
25103 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25104 LDFLAGS_GL="$ac_path_to_link"
25105 fi
25106
25107
25108 ac_find_libraries=
25109 for ac_dir in $SEARCH_LIB /usr/lib;
25110 do
25111 for ac_extension in a so sl dylib; do
25112 if test -f "$ac_dir/libGLU.$ac_extension"; then
25113 ac_find_libraries=$ac_dir
25114 break 2
25115 fi
25116 done
25117 done
25118
25119 if test "$ac_find_libraries" != "" ; then
25120
25121 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25122 result=$?
25123 if test $result = 0; then
25124 ac_path_to_link=""
25125 else
25126 ac_path_to_link=" -L$ac_find_libraries"
25127 fi
25128
25129 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25130 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25131 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25132 fi
25133
25134 found_gl=1
25135 OPENGL_LIBS="-lGL -lGLU"
25136 echo "$as_me:$LINENO: result: yes" >&5
25137 echo "${ECHO_T}yes" >&6
25138 fi
25139 fi
25140
25141 if test "$found_gl" != 1; then
25142 echo "$as_me:$LINENO: result: no" >&5
25143 echo "${ECHO_T}no" >&6
25144 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25145 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25146
25147 ac_find_libraries=
25148 for ac_dir in $SEARCH_LIB /usr/lib;
25149 do
25150 for ac_extension in a so sl dylib; do
25151 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25152 ac_find_libraries=$ac_dir
25153 break 2
25154 fi
25155 done
25156 done
25157
25158 if test "$ac_find_libraries" != "" ; then
25159
25160 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25161 result=$?
25162 if test $result = 0; then
25163 ac_path_to_link=""
25164 else
25165 ac_path_to_link=" -L$ac_find_libraries"
25166 fi
25167
25168 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25169 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25170 echo "$as_me:$LINENO: result: yes" >&5
25171 echo "${ECHO_T}yes" >&6
25172 else
25173 echo "$as_me:$LINENO: result: no" >&5
25174 echo "${ECHO_T}no" >&6
25175 fi
25176 fi
25177
25178 fi
25179
25180
25181
25182 if test "x$OPENGL_LIBS" = "x"; then
25183 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25184 echo "$as_me: error: OpenGL libraries not available" >&2;}
25185 { (exit 1); exit 1; }; }
25186 fi
25187 fi
25188
25189 if test "$wxUSE_OPENGL" = "yes"; then
25190 USE_OPENGL=1
25191 cat >>confdefs.h <<\_ACEOF
25192 #define wxUSE_OPENGL 1
25193 _ACEOF
25194
25195 cat >>confdefs.h <<\_ACEOF
25196 #define wxUSE_GLCANVAS 1
25197 _ACEOF
25198
25199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25200 fi
25201 fi
25202
25203 if test -z "$TOOLKIT_VPATH" ; then
25204 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25205 fi
25206
25207 if test -n "$TOOLKIT" ; then
25208 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25209 fi
25210
25211 UNICODE=0
25212 lib_unicode_suffix=
25213 if test "$wxUSE_UNICODE" = "yes"; then
25214 lib_unicode_suffix=u
25215 UNICODE=1
25216 fi
25217
25218 lib_debug_suffix=
25219 DEBUG_FLAG=0
25220 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25221 lib_debug_suffix=d
25222 DEBUG_FLAG=1
25223 fi
25224
25225 DEBUG_INFO=0
25226 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25227 DEBUG_INFO=1
25228 fi
25229
25230 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25231
25232 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25233 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25234
25235 if test "$cross_compiling" = "yes"; then
25236 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25237 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25238 HOST_SUFFIX="-${host_alias}"
25239 fi
25240
25241 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25242 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25243 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25244 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25245
25246 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25247 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25248
25249 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25250 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25251 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25252 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25253
25254 case "${host}" in
25255 *-*-cygwin* | *-*-mingw32* )
25256 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25257 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25258 ;;
25259
25260 *-*-darwin* )
25261
25262 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25263 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25264
25265 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25266 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25267 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25268 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25269
25270 if test "$wxUSE_MAC" = 1; then
25271 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25272 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25273 fi
25274 ;;
25275 esac
25276
25277 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25278 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25279
25280 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25281 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25282
25283 if test "$wxUSE_OPENGL" = "yes"; then
25284 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25285 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25286 fi
25287
25288
25289
25290 if test "$wxUSE_SHARED" = "yes"; then
25291 case "${host}" in
25292 *-pc-os2_emx | *-pc-os2-emx | \
25293 *-pc-msdosdjgpp )
25294 wxUSE_SHARED=no
25295 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25296 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25297 ;;
25298 esac
25299 fi
25300
25301 SHARED=0
25302 if test "$wxUSE_SHARED" = "yes"; then
25303 SHARED=1
25304
25305
25306 found_versioning=no
25307
25308
25309 if test $found_versioning = no ; then
25310 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25311 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25312 if test "${wx_cv_version_script+set}" = set; then
25313 echo $ECHO_N "(cached) $ECHO_C" >&6
25314 else
25315
25316 echo "VER_1 { *; };" >conftest.sym
25317 echo "int main() { return 0; }" >conftest.cpp
25318
25319 if { ac_try='
25320 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25321 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25323 (eval $ac_try) 2>&5
25324 ac_status=$?
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); }; } ; then
25327 if test -s conftest.stderr ; then
25328 wx_cv_version_script=no
25329 else
25330 wx_cv_version_script=yes
25331 fi
25332 else
25333 wx_cv_version_script=no
25334 fi
25335 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25336
25337 fi
25338 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25339 echo "${ECHO_T}$wx_cv_version_script" >&6
25340 if test $wx_cv_version_script = yes ; then
25341 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25342 fi
25343 fi
25344
25345
25346 case "${host}" in
25347 *-*-linux* | *-*-gnu* )
25348 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25349 ;;
25350
25351 *-*-solaris2* )
25352 if test "$GCC" = yes ; then
25353 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25354
25355 saveLdflags="$LDFLAGS"
25356 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25357 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25358 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25359 cat >conftest.$ac_ext <<_ACEOF
25360 #line $LINENO "configure"
25361 /* confdefs.h. */
25362 _ACEOF
25363 cat confdefs.h >>conftest.$ac_ext
25364 cat >>conftest.$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25366
25367 int
25368 main ()
25369 {
25370
25371 ;
25372 return 0;
25373 }
25374 _ACEOF
25375 rm -f conftest.$ac_objext conftest$ac_exeext
25376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25377 (eval $ac_link) 2>&5
25378 ac_status=$?
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); } &&
25381 { ac_try='test -s conftest$ac_exeext'
25382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25383 (eval $ac_try) 2>&5
25384 ac_status=$?
25385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386 (exit $ac_status); }; }; then
25387
25388 echo "$as_me:$LINENO: result: yes" >&5
25389 echo "${ECHO_T}yes" >&6
25390 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25391
25392 else
25393 echo "$as_me: failed program was:" >&5
25394 sed 's/^/| /' conftest.$ac_ext >&5
25395
25396
25397 echo "$as_me:$LINENO: result: no" >&5
25398 echo "${ECHO_T}no" >&6
25399 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25400 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25401 LDFLAGS="$saveLdflags -Wl,-R,/"
25402 cat >conftest.$ac_ext <<_ACEOF
25403 #line $LINENO "configure"
25404 /* confdefs.h. */
25405 _ACEOF
25406 cat confdefs.h >>conftest.$ac_ext
25407 cat >>conftest.$ac_ext <<_ACEOF
25408 /* end confdefs.h. */
25409
25410 int
25411 main ()
25412 {
25413
25414 ;
25415 return 0;
25416 }
25417 _ACEOF
25418 rm -f conftest.$ac_objext conftest$ac_exeext
25419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25420 (eval $ac_link) 2>&5
25421 ac_status=$?
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } &&
25424 { ac_try='test -s conftest$ac_exeext'
25425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25426 (eval $ac_try) 2>&5
25427 ac_status=$?
25428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25429 (exit $ac_status); }; }; then
25430
25431 echo "$as_me:$LINENO: result: yes" >&5
25432 echo "${ECHO_T}yes" >&6
25433 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25434 else
25435 echo "$as_me: failed program was:" >&5
25436 sed 's/^/| /' conftest.$ac_ext >&5
25437
25438
25439 echo "$as_me:$LINENO: result: no" >&5
25440 echo "${ECHO_T}no" >&6
25441
25442 fi
25443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25444
25445 fi
25446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25447 LDFLAGS="$saveLdflags"
25448 else
25449 SHARED_LD="${CXX} -G -o"
25450 PIC_FLAG="-KPIC"
25451 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25452 fi
25453 ;;
25454
25455 powerpc-*-darwin* )
25456 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25457 cat <<EOF >change-install-names
25458 #!/bin/sh
25459 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25460 inst_cmd="install_name_tool "
25461 for i in \${libnames} ; do
25462 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25463 done
25464 \${inst_cmd} \${3}
25465 EOF
25466 chmod +x change-install-names
25467 ;;
25468
25469 esac
25470
25471 if test "x$WX_TARGET_LIBRARY" = "x"; then
25472 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25473 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25474 fi
25475
25476 WX_TARGET_LIBRARY_TYPE="so"
25477 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25478 fi
25479
25480 if test "$wxUSE_SHARED" = "no"; then
25481
25482 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25483 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25484 fi
25485
25486 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25487 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25488 fi
25489
25490 if test "$wxUSE_OPENGL" = "yes"; then
25491 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25492 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25493 else
25494 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25495 fi
25496
25497 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25498 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25499
25500 WX_TARGET_LIBRARY_TYPE="a"
25501 INSTALL_LIBRARY='$(INSTALL_DATA)'
25502
25503 STATIC_FLAG="yes"
25504 else
25505 STATIC_FLAG="no"
25506 fi
25507
25508 MACRESCOMP="@#"
25509 MACSETFILE="@#"
25510 MACRESWXCONFIG="#"
25511 if test "$wxUSE_MAC" = 1; then
25512 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25513 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25514 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25515 # Extract the first word of "Rez", so it can be a program name with args.
25516 set dummy Rez; ac_word=$2
25517 echo "$as_me:$LINENO: checking for $ac_word" >&5
25518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25519 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25520 echo $ECHO_N "(cached) $ECHO_C" >&6
25521 else
25522 if test -n "$RESCOMP"; then
25523 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25524 else
25525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25526 for as_dir in $PATH
25527 do
25528 IFS=$as_save_IFS
25529 test -z "$as_dir" && as_dir=.
25530 for ac_exec_ext in '' $ac_executable_extensions; do
25531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25532 ac_cv_prog_RESCOMP="Rez"
25533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25534 break 2
25535 fi
25536 done
25537 done
25538
25539 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25540 fi
25541 fi
25542 RESCOMP=$ac_cv_prog_RESCOMP
25543 if test -n "$RESCOMP"; then
25544 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25545 echo "${ECHO_T}$RESCOMP" >&6
25546 else
25547 echo "$as_me:$LINENO: result: no" >&5
25548 echo "${ECHO_T}no" >&6
25549 fi
25550
25551 # Extract the first word of "DeRez", so it can be a program name with args.
25552 set dummy DeRez; ac_word=$2
25553 echo "$as_me:$LINENO: checking for $ac_word" >&5
25554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25555 if test "${ac_cv_prog_DEREZ+set}" = set; then
25556 echo $ECHO_N "(cached) $ECHO_C" >&6
25557 else
25558 if test -n "$DEREZ"; then
25559 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25560 else
25561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25562 for as_dir in $PATH
25563 do
25564 IFS=$as_save_IFS
25565 test -z "$as_dir" && as_dir=.
25566 for ac_exec_ext in '' $ac_executable_extensions; do
25567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25568 ac_cv_prog_DEREZ="DeRez"
25569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25570 break 2
25571 fi
25572 done
25573 done
25574
25575 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25576 fi
25577 fi
25578 DEREZ=$ac_cv_prog_DEREZ
25579 if test -n "$DEREZ"; then
25580 echo "$as_me:$LINENO: result: $DEREZ" >&5
25581 echo "${ECHO_T}$DEREZ" >&6
25582 else
25583 echo "$as_me:$LINENO: result: no" >&5
25584 echo "${ECHO_T}no" >&6
25585 fi
25586
25587 # Extract the first word of "SetFile", so it can be a program name with args.
25588 set dummy SetFile; ac_word=$2
25589 echo "$as_me:$LINENO: checking for $ac_word" >&5
25590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25591 if test "${ac_cv_prog_SETFILE+set}" = set; then
25592 echo $ECHO_N "(cached) $ECHO_C" >&6
25593 else
25594 if test -n "$SETFILE"; then
25595 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25596 else
25597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25598 for as_dir in $PATH
25599 do
25600 IFS=$as_save_IFS
25601 test -z "$as_dir" && as_dir=.
25602 for ac_exec_ext in '' $ac_executable_extensions; do
25603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25604 ac_cv_prog_SETFILE="SetFile"
25605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25606 break 2
25607 fi
25608 done
25609 done
25610
25611 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25612 fi
25613 fi
25614 SETFILE=$ac_cv_prog_SETFILE
25615 if test -n "$SETFILE"; then
25616 echo "$as_me:$LINENO: result: $SETFILE" >&5
25617 echo "${ECHO_T}$SETFILE" >&6
25618 else
25619 echo "$as_me:$LINENO: result: no" >&5
25620 echo "${ECHO_T}no" >&6
25621 fi
25622
25623 MACOSX_BUNDLE="bundle"
25624 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25625 MACSETFILE="\$(SETFILE)"
25626 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25627 elif test "$wxUSE_COCOA" = 1; then
25628 # Extract the first word of "Rez", so it can be a program name with args.
25629 set dummy Rez; ac_word=$2
25630 echo "$as_me:$LINENO: checking for $ac_word" >&5
25631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25632 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25633 echo $ECHO_N "(cached) $ECHO_C" >&6
25634 else
25635 if test -n "$RESCOMP"; then
25636 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25637 else
25638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25639 for as_dir in $PATH
25640 do
25641 IFS=$as_save_IFS
25642 test -z "$as_dir" && as_dir=.
25643 for ac_exec_ext in '' $ac_executable_extensions; do
25644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25645 ac_cv_prog_RESCOMP="Rez"
25646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25647 break 2
25648 fi
25649 done
25650 done
25651
25652 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25653 fi
25654 fi
25655 RESCOMP=$ac_cv_prog_RESCOMP
25656 if test -n "$RESCOMP"; then
25657 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25658 echo "${ECHO_T}$RESCOMP" >&6
25659 else
25660 echo "$as_me:$LINENO: result: no" >&5
25661 echo "${ECHO_T}no" >&6
25662 fi
25663
25664 # Extract the first word of "DeRez", so it can be a program name with args.
25665 set dummy DeRez; ac_word=$2
25666 echo "$as_me:$LINENO: checking for $ac_word" >&5
25667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25668 if test "${ac_cv_prog_DEREZ+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25670 else
25671 if test -n "$DEREZ"; then
25672 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25673 else
25674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25675 for as_dir in $PATH
25676 do
25677 IFS=$as_save_IFS
25678 test -z "$as_dir" && as_dir=.
25679 for ac_exec_ext in '' $ac_executable_extensions; do
25680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25681 ac_cv_prog_DEREZ="DeRez"
25682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25683 break 2
25684 fi
25685 done
25686 done
25687
25688 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25689 fi
25690 fi
25691 DEREZ=$ac_cv_prog_DEREZ
25692 if test -n "$DEREZ"; then
25693 echo "$as_me:$LINENO: result: $DEREZ" >&5
25694 echo "${ECHO_T}$DEREZ" >&6
25695 else
25696 echo "$as_me:$LINENO: result: no" >&5
25697 echo "${ECHO_T}no" >&6
25698 fi
25699
25700 # Extract the first word of "SetFile", so it can be a program name with args.
25701 set dummy SetFile; ac_word=$2
25702 echo "$as_me:$LINENO: checking for $ac_word" >&5
25703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25704 if test "${ac_cv_prog_SETFILE+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 else
25707 if test -n "$SETFILE"; then
25708 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25709 else
25710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25711 for as_dir in $PATH
25712 do
25713 IFS=$as_save_IFS
25714 test -z "$as_dir" && as_dir=.
25715 for ac_exec_ext in '' $ac_executable_extensions; do
25716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25717 ac_cv_prog_SETFILE="SetFile"
25718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25719 break 2
25720 fi
25721 done
25722 done
25723
25724 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25725 fi
25726 fi
25727 SETFILE=$ac_cv_prog_SETFILE
25728 if test -n "$SETFILE"; then
25729 echo "$as_me:$LINENO: result: $SETFILE" >&5
25730 echo "${ECHO_T}$SETFILE" >&6
25731 else
25732 echo "$as_me:$LINENO: result: no" >&5
25733 echo "${ECHO_T}no" >&6
25734 fi
25735
25736 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25737 MACSETFILE="\$(SETFILE)"
25738 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25739 else
25740 if test "$wxUSE_PM" = 1; then
25741 MACRESCOMP="emxbind -ep"
25742 fi
25743 fi
25744
25745
25746 echo "$as_me:$LINENO: checking for mode_t" >&5
25747 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25748 if test "${ac_cv_type_mode_t+set}" = set; then
25749 echo $ECHO_N "(cached) $ECHO_C" >&6
25750 else
25751 cat >conftest.$ac_ext <<_ACEOF
25752 #line $LINENO "configure"
25753 /* confdefs.h. */
25754 _ACEOF
25755 cat confdefs.h >>conftest.$ac_ext
25756 cat >>conftest.$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758 $ac_includes_default
25759 int
25760 main ()
25761 {
25762 if ((mode_t *) 0)
25763 return 0;
25764 if (sizeof (mode_t))
25765 return 0;
25766 ;
25767 return 0;
25768 }
25769 _ACEOF
25770 rm -f conftest.$ac_objext
25771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25772 (eval $ac_compile) 2>&5
25773 ac_status=$?
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); } &&
25776 { ac_try='test -s conftest.$ac_objext'
25777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25778 (eval $ac_try) 2>&5
25779 ac_status=$?
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); }; }; then
25782 ac_cv_type_mode_t=yes
25783 else
25784 echo "$as_me: failed program was:" >&5
25785 sed 's/^/| /' conftest.$ac_ext >&5
25786
25787 ac_cv_type_mode_t=no
25788 fi
25789 rm -f conftest.$ac_objext conftest.$ac_ext
25790 fi
25791 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25792 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25793 if test $ac_cv_type_mode_t = yes; then
25794 :
25795 else
25796
25797 cat >>confdefs.h <<_ACEOF
25798 #define mode_t int
25799 _ACEOF
25800
25801 fi
25802
25803 echo "$as_me:$LINENO: checking for off_t" >&5
25804 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25805 if test "${ac_cv_type_off_t+set}" = set; then
25806 echo $ECHO_N "(cached) $ECHO_C" >&6
25807 else
25808 cat >conftest.$ac_ext <<_ACEOF
25809 #line $LINENO "configure"
25810 /* confdefs.h. */
25811 _ACEOF
25812 cat confdefs.h >>conftest.$ac_ext
25813 cat >>conftest.$ac_ext <<_ACEOF
25814 /* end confdefs.h. */
25815 $ac_includes_default
25816 int
25817 main ()
25818 {
25819 if ((off_t *) 0)
25820 return 0;
25821 if (sizeof (off_t))
25822 return 0;
25823 ;
25824 return 0;
25825 }
25826 _ACEOF
25827 rm -f conftest.$ac_objext
25828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25829 (eval $ac_compile) 2>&5
25830 ac_status=$?
25831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25832 (exit $ac_status); } &&
25833 { ac_try='test -s conftest.$ac_objext'
25834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25835 (eval $ac_try) 2>&5
25836 ac_status=$?
25837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 (exit $ac_status); }; }; then
25839 ac_cv_type_off_t=yes
25840 else
25841 echo "$as_me: failed program was:" >&5
25842 sed 's/^/| /' conftest.$ac_ext >&5
25843
25844 ac_cv_type_off_t=no
25845 fi
25846 rm -f conftest.$ac_objext conftest.$ac_ext
25847 fi
25848 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25849 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25850 if test $ac_cv_type_off_t = yes; then
25851 :
25852 else
25853
25854 cat >>confdefs.h <<_ACEOF
25855 #define off_t long
25856 _ACEOF
25857
25858 fi
25859
25860 echo "$as_me:$LINENO: checking for pid_t" >&5
25861 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25862 if test "${ac_cv_type_pid_t+set}" = set; then
25863 echo $ECHO_N "(cached) $ECHO_C" >&6
25864 else
25865 cat >conftest.$ac_ext <<_ACEOF
25866 #line $LINENO "configure"
25867 /* confdefs.h. */
25868 _ACEOF
25869 cat confdefs.h >>conftest.$ac_ext
25870 cat >>conftest.$ac_ext <<_ACEOF
25871 /* end confdefs.h. */
25872 $ac_includes_default
25873 int
25874 main ()
25875 {
25876 if ((pid_t *) 0)
25877 return 0;
25878 if (sizeof (pid_t))
25879 return 0;
25880 ;
25881 return 0;
25882 }
25883 _ACEOF
25884 rm -f conftest.$ac_objext
25885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25886 (eval $ac_compile) 2>&5
25887 ac_status=$?
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); } &&
25890 { ac_try='test -s conftest.$ac_objext'
25891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25892 (eval $ac_try) 2>&5
25893 ac_status=$?
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); }; }; then
25896 ac_cv_type_pid_t=yes
25897 else
25898 echo "$as_me: failed program was:" >&5
25899 sed 's/^/| /' conftest.$ac_ext >&5
25900
25901 ac_cv_type_pid_t=no
25902 fi
25903 rm -f conftest.$ac_objext conftest.$ac_ext
25904 fi
25905 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25906 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25907 if test $ac_cv_type_pid_t = yes; then
25908 :
25909 else
25910
25911 cat >>confdefs.h <<_ACEOF
25912 #define pid_t int
25913 _ACEOF
25914
25915 fi
25916
25917 echo "$as_me:$LINENO: checking for size_t" >&5
25918 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25919 if test "${ac_cv_type_size_t+set}" = set; then
25920 echo $ECHO_N "(cached) $ECHO_C" >&6
25921 else
25922 cat >conftest.$ac_ext <<_ACEOF
25923 #line $LINENO "configure"
25924 /* confdefs.h. */
25925 _ACEOF
25926 cat confdefs.h >>conftest.$ac_ext
25927 cat >>conftest.$ac_ext <<_ACEOF
25928 /* end confdefs.h. */
25929 $ac_includes_default
25930 int
25931 main ()
25932 {
25933 if ((size_t *) 0)
25934 return 0;
25935 if (sizeof (size_t))
25936 return 0;
25937 ;
25938 return 0;
25939 }
25940 _ACEOF
25941 rm -f conftest.$ac_objext
25942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25943 (eval $ac_compile) 2>&5
25944 ac_status=$?
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); } &&
25947 { ac_try='test -s conftest.$ac_objext'
25948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25949 (eval $ac_try) 2>&5
25950 ac_status=$?
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); }; }; then
25953 ac_cv_type_size_t=yes
25954 else
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.$ac_ext >&5
25957
25958 ac_cv_type_size_t=no
25959 fi
25960 rm -f conftest.$ac_objext conftest.$ac_ext
25961 fi
25962 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25963 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25964 if test $ac_cv_type_size_t = yes; then
25965 :
25966 else
25967
25968 cat >>confdefs.h <<_ACEOF
25969 #define size_t unsigned
25970 _ACEOF
25971
25972 fi
25973
25974 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25975 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25976 if test "${ac_cv_type_uid_t+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 else
25979 cat >conftest.$ac_ext <<_ACEOF
25980 #line $LINENO "configure"
25981 /* confdefs.h. */
25982 _ACEOF
25983 cat confdefs.h >>conftest.$ac_ext
25984 cat >>conftest.$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25986 #include <sys/types.h>
25987
25988 _ACEOF
25989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25990 $EGREP "uid_t" >/dev/null 2>&1; then
25991 ac_cv_type_uid_t=yes
25992 else
25993 ac_cv_type_uid_t=no
25994 fi
25995 rm -f conftest*
25996
25997 fi
25998 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25999 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26000 if test $ac_cv_type_uid_t = no; then
26001
26002 cat >>confdefs.h <<\_ACEOF
26003 #define uid_t int
26004 _ACEOF
26005
26006
26007 cat >>confdefs.h <<\_ACEOF
26008 #define gid_t int
26009 _ACEOF
26010
26011 fi
26012
26013
26014
26015
26016 ac_ext=cc
26017 ac_cpp='$CXXCPP $CPPFLAGS'
26018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26021
26022 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26023 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26024 if test "${wx_cv_size_t_is_uint+set}" = set; then
26025 echo $ECHO_N "(cached) $ECHO_C" >&6
26026 else
26027
26028 cat >conftest.$ac_ext <<_ACEOF
26029 #line $LINENO "configure"
26030 /* confdefs.h. */
26031 _ACEOF
26032 cat confdefs.h >>conftest.$ac_ext
26033 cat >>conftest.$ac_ext <<_ACEOF
26034 /* end confdefs.h. */
26035 #include <stddef.h>
26036 int
26037 main ()
26038 {
26039
26040 return 0; }
26041
26042 struct Foo { void foo(size_t); void foo(unsigned int); };
26043
26044 int bar() {
26045
26046 ;
26047 return 0;
26048 }
26049 _ACEOF
26050 rm -f conftest.$ac_objext
26051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26052 (eval $ac_compile) 2>&5
26053 ac_status=$?
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); } &&
26056 { ac_try='test -s conftest.$ac_objext'
26057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26058 (eval $ac_try) 2>&5
26059 ac_status=$?
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); }; }; then
26062 wx_cv_size_t_is_uint=no
26063 else
26064 echo "$as_me: failed program was:" >&5
26065 sed 's/^/| /' conftest.$ac_ext >&5
26066
26067 wx_cv_size_t_is_uint=yes
26068
26069 fi
26070 rm -f conftest.$ac_objext conftest.$ac_ext
26071
26072
26073 fi
26074 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26075 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26076
26077 if test "$wx_cv_size_t_is_uint" = "yes"; then
26078 cat >>confdefs.h <<\_ACEOF
26079 #define wxSIZE_T_IS_UINT 1
26080 _ACEOF
26081
26082 else
26083 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26084 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26085 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26086 echo $ECHO_N "(cached) $ECHO_C" >&6
26087 else
26088 cat >conftest.$ac_ext <<_ACEOF
26089 #line $LINENO "configure"
26090 /* confdefs.h. */
26091 _ACEOF
26092 cat confdefs.h >>conftest.$ac_ext
26093 cat >>conftest.$ac_ext <<_ACEOF
26094 /* end confdefs.h. */
26095 #include <stddef.h>
26096 int
26097 main ()
26098 {
26099
26100 return 0; }
26101
26102 struct Foo { void foo(size_t); void foo(unsigned long); };
26103
26104 int bar() {
26105
26106 ;
26107 return 0;
26108 }
26109 _ACEOF
26110 rm -f conftest.$ac_objext
26111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26112 (eval $ac_compile) 2>&5
26113 ac_status=$?
26114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 (exit $ac_status); } &&
26116 { ac_try='test -s conftest.$ac_objext'
26117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26118 (eval $ac_try) 2>&5
26119 ac_status=$?
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); }; }; then
26122 wx_cv_size_t_is_ulong=no
26123 else
26124 echo "$as_me: failed program was:" >&5
26125 sed 's/^/| /' conftest.$ac_ext >&5
26126
26127 wx_cv_size_t_is_ulong=yes
26128
26129 fi
26130 rm -f conftest.$ac_objext conftest.$ac_ext
26131
26132 fi
26133 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26134 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26135
26136 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26137 cat >>confdefs.h <<\_ACEOF
26138 #define wxSIZE_T_IS_ULONG 1
26139 _ACEOF
26140
26141 fi
26142 fi
26143
26144 ac_ext=c
26145 ac_cpp='$CPP $CPPFLAGS'
26146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26149
26150
26151
26152 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26153 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26154 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26155 echo $ECHO_N "(cached) $ECHO_C" >&6
26156 else
26157
26158 cat >conftest.$ac_ext <<_ACEOF
26159 #line $LINENO "configure"
26160 /* confdefs.h. */
26161 _ACEOF
26162 cat confdefs.h >>conftest.$ac_ext
26163 cat >>conftest.$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26165 #include <pwd.h>
26166 int
26167 main ()
26168 {
26169
26170 char *p;
26171 struct passwd *pw;
26172 p = pw->pw_gecos;
26173
26174 ;
26175 return 0;
26176 }
26177 _ACEOF
26178 rm -f conftest.$ac_objext
26179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26180 (eval $ac_compile) 2>&5
26181 ac_status=$?
26182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26183 (exit $ac_status); } &&
26184 { ac_try='test -s conftest.$ac_objext'
26185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26186 (eval $ac_try) 2>&5
26187 ac_status=$?
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); }; }; then
26190
26191 wx_cv_struct_pw_gecos=yes
26192
26193 else
26194 echo "$as_me: failed program was:" >&5
26195 sed 's/^/| /' conftest.$ac_ext >&5
26196
26197
26198 wx_cv_struct_pw_gecos=no
26199
26200
26201 fi
26202 rm -f conftest.$ac_objext conftest.$ac_ext
26203
26204
26205 fi
26206 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26207 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26208
26209 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26210 cat >>confdefs.h <<\_ACEOF
26211 #define HAVE_PW_GECOS 1
26212 _ACEOF
26213
26214 fi
26215
26216
26217 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26218 cat >>confdefs.h <<\_ACEOF
26219 #define wxUSE_WCHAR_T 1
26220 _ACEOF
26221
26222
26223 WCSLEN_FOUND=0
26224 WCHAR_LINK=
26225
26226 for ac_func in wcslen
26227 do
26228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26229 echo "$as_me:$LINENO: checking for $ac_func" >&5
26230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26231 if eval "test \"\${$as_ac_var+set}\" = set"; then
26232 echo $ECHO_N "(cached) $ECHO_C" >&6
26233 else
26234 cat >conftest.$ac_ext <<_ACEOF
26235 #line $LINENO "configure"
26236 /* confdefs.h. */
26237 _ACEOF
26238 cat confdefs.h >>conftest.$ac_ext
26239 cat >>conftest.$ac_ext <<_ACEOF
26240 /* end confdefs.h. */
26241 /* System header to define __stub macros and hopefully few prototypes,
26242 which can conflict with char $ac_func (); below.
26243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26244 <limits.h> exists even on freestanding compilers. */
26245 #ifdef __STDC__
26246 # include <limits.h>
26247 #else
26248 # include <assert.h>
26249 #endif
26250 /* Override any gcc2 internal prototype to avoid an error. */
26251 #ifdef __cplusplus
26252 extern "C"
26253 {
26254 #endif
26255 /* We use char because int might match the return type of a gcc2
26256 builtin and then its argument prototype would still apply. */
26257 char $ac_func ();
26258 /* The GNU C library defines this for functions which it implements
26259 to always fail with ENOSYS. Some functions are actually named
26260 something starting with __ and the normal name is an alias. */
26261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26262 choke me
26263 #else
26264 char (*f) () = $ac_func;
26265 #endif
26266 #ifdef __cplusplus
26267 }
26268 #endif
26269
26270 int
26271 main ()
26272 {
26273 return f != $ac_func;
26274 ;
26275 return 0;
26276 }
26277 _ACEOF
26278 rm -f conftest.$ac_objext conftest$ac_exeext
26279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26280 (eval $ac_link) 2>&5
26281 ac_status=$?
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); } &&
26284 { ac_try='test -s conftest$ac_exeext'
26285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26286 (eval $ac_try) 2>&5
26287 ac_status=$?
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); }; }; then
26290 eval "$as_ac_var=yes"
26291 else
26292 echo "$as_me: failed program was:" >&5
26293 sed 's/^/| /' conftest.$ac_ext >&5
26294
26295 eval "$as_ac_var=no"
26296 fi
26297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26298 fi
26299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26301 if test `eval echo '${'$as_ac_var'}'` = yes; then
26302 cat >>confdefs.h <<_ACEOF
26303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26304 _ACEOF
26305 WCSLEN_FOUND=1
26306 fi
26307 done
26308
26309
26310 if test "$WCSLEN_FOUND" = 0; then
26311 if test "$TOOLKIT" = "MSW"; then
26312 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26313 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26314 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26315 echo $ECHO_N "(cached) $ECHO_C" >&6
26316 else
26317 ac_check_lib_save_LIBS=$LIBS
26318 LIBS="-lmsvcrt $LIBS"
26319 cat >conftest.$ac_ext <<_ACEOF
26320 #line $LINENO "configure"
26321 /* confdefs.h. */
26322 _ACEOF
26323 cat confdefs.h >>conftest.$ac_ext
26324 cat >>conftest.$ac_ext <<_ACEOF
26325 /* end confdefs.h. */
26326
26327 /* Override any gcc2 internal prototype to avoid an error. */
26328 #ifdef __cplusplus
26329 extern "C"
26330 #endif
26331 /* We use char because int might match the return type of a gcc2
26332 builtin and then its argument prototype would still apply. */
26333 char wcslen ();
26334 int
26335 main ()
26336 {
26337 wcslen ();
26338 ;
26339 return 0;
26340 }
26341 _ACEOF
26342 rm -f conftest.$ac_objext conftest$ac_exeext
26343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26344 (eval $ac_link) 2>&5
26345 ac_status=$?
26346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26347 (exit $ac_status); } &&
26348 { ac_try='test -s conftest$ac_exeext'
26349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26350 (eval $ac_try) 2>&5
26351 ac_status=$?
26352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26353 (exit $ac_status); }; }; then
26354 ac_cv_lib_msvcrt_wcslen=yes
26355 else
26356 echo "$as_me: failed program was:" >&5
26357 sed 's/^/| /' conftest.$ac_ext >&5
26358
26359 ac_cv_lib_msvcrt_wcslen=no
26360 fi
26361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26362 LIBS=$ac_check_lib_save_LIBS
26363 fi
26364 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26365 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26366 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26367 WCHAR_OK=1
26368 fi
26369
26370 else
26371 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26372 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26373 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26374 echo $ECHO_N "(cached) $ECHO_C" >&6
26375 else
26376 ac_check_lib_save_LIBS=$LIBS
26377 LIBS="-lw $LIBS"
26378 cat >conftest.$ac_ext <<_ACEOF
26379 #line $LINENO "configure"
26380 /* confdefs.h. */
26381 _ACEOF
26382 cat confdefs.h >>conftest.$ac_ext
26383 cat >>conftest.$ac_ext <<_ACEOF
26384 /* end confdefs.h. */
26385
26386 /* Override any gcc2 internal prototype to avoid an error. */
26387 #ifdef __cplusplus
26388 extern "C"
26389 #endif
26390 /* We use char because int might match the return type of a gcc2
26391 builtin and then its argument prototype would still apply. */
26392 char wcslen ();
26393 int
26394 main ()
26395 {
26396 wcslen ();
26397 ;
26398 return 0;
26399 }
26400 _ACEOF
26401 rm -f conftest.$ac_objext conftest$ac_exeext
26402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26403 (eval $ac_link) 2>&5
26404 ac_status=$?
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); } &&
26407 { ac_try='test -s conftest$ac_exeext'
26408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26409 (eval $ac_try) 2>&5
26410 ac_status=$?
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); }; }; then
26413 ac_cv_lib_w_wcslen=yes
26414 else
26415 echo "$as_me: failed program was:" >&5
26416 sed 's/^/| /' conftest.$ac_ext >&5
26417
26418 ac_cv_lib_w_wcslen=no
26419 fi
26420 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26421 LIBS=$ac_check_lib_save_LIBS
26422 fi
26423 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26424 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26425 if test $ac_cv_lib_w_wcslen = yes; then
26426
26427 WCHAR_LINK=" -lw"
26428 WCSLEN_FOUND=1
26429
26430 fi
26431
26432 fi
26433 fi
26434
26435 if test "$WCSLEN_FOUND" = 1; then
26436 cat >>confdefs.h <<\_ACEOF
26437 #define HAVE_WCSLEN 1
26438 _ACEOF
26439
26440 fi
26441
26442
26443 for ac_func in wcsrtombs
26444 do
26445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26446 echo "$as_me:$LINENO: checking for $ac_func" >&5
26447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26448 if eval "test \"\${$as_ac_var+set}\" = set"; then
26449 echo $ECHO_N "(cached) $ECHO_C" >&6
26450 else
26451 cat >conftest.$ac_ext <<_ACEOF
26452 #line $LINENO "configure"
26453 /* confdefs.h. */
26454 _ACEOF
26455 cat confdefs.h >>conftest.$ac_ext
26456 cat >>conftest.$ac_ext <<_ACEOF
26457 /* end confdefs.h. */
26458 /* System header to define __stub macros and hopefully few prototypes,
26459 which can conflict with char $ac_func (); below.
26460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26461 <limits.h> exists even on freestanding compilers. */
26462 #ifdef __STDC__
26463 # include <limits.h>
26464 #else
26465 # include <assert.h>
26466 #endif
26467 /* Override any gcc2 internal prototype to avoid an error. */
26468 #ifdef __cplusplus
26469 extern "C"
26470 {
26471 #endif
26472 /* We use char because int might match the return type of a gcc2
26473 builtin and then its argument prototype would still apply. */
26474 char $ac_func ();
26475 /* The GNU C library defines this for functions which it implements
26476 to always fail with ENOSYS. Some functions are actually named
26477 something starting with __ and the normal name is an alias. */
26478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26479 choke me
26480 #else
26481 char (*f) () = $ac_func;
26482 #endif
26483 #ifdef __cplusplus
26484 }
26485 #endif
26486
26487 int
26488 main ()
26489 {
26490 return f != $ac_func;
26491 ;
26492 return 0;
26493 }
26494 _ACEOF
26495 rm -f conftest.$ac_objext conftest$ac_exeext
26496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26497 (eval $ac_link) 2>&5
26498 ac_status=$?
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); } &&
26501 { ac_try='test -s conftest$ac_exeext'
26502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26503 (eval $ac_try) 2>&5
26504 ac_status=$?
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); }; }; then
26507 eval "$as_ac_var=yes"
26508 else
26509 echo "$as_me: failed program was:" >&5
26510 sed 's/^/| /' conftest.$ac_ext >&5
26511
26512 eval "$as_ac_var=no"
26513 fi
26514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26515 fi
26516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26518 if test `eval echo '${'$as_ac_var'}'` = yes; then
26519 cat >>confdefs.h <<_ACEOF
26520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26521 _ACEOF
26522
26523 fi
26524 done
26525
26526 else
26527 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26528 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26529 fi
26530
26531
26532
26533 ac_ext=cc
26534 ac_cpp='$CXXCPP $CPPFLAGS'
26535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26538
26539
26540
26541 for ac_func in vsnprintf
26542 do
26543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26544 echo "$as_me:$LINENO: checking for $ac_func" >&5
26545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26546 if eval "test \"\${$as_ac_var+set}\" = set"; then
26547 echo $ECHO_N "(cached) $ECHO_C" >&6
26548 else
26549 cat >conftest.$ac_ext <<_ACEOF
26550 #line $LINENO "configure"
26551 /* confdefs.h. */
26552 _ACEOF
26553 cat confdefs.h >>conftest.$ac_ext
26554 cat >>conftest.$ac_ext <<_ACEOF
26555 /* end confdefs.h. */
26556 /* System header to define __stub macros and hopefully few prototypes,
26557 which can conflict with char $ac_func (); below.
26558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26559 <limits.h> exists even on freestanding compilers. */
26560 #ifdef __STDC__
26561 # include <limits.h>
26562 #else
26563 # include <assert.h>
26564 #endif
26565 /* Override any gcc2 internal prototype to avoid an error. */
26566 #ifdef __cplusplus
26567 extern "C"
26568 {
26569 #endif
26570 /* We use char because int might match the return type of a gcc2
26571 builtin and then its argument prototype would still apply. */
26572 char $ac_func ();
26573 /* The GNU C library defines this for functions which it implements
26574 to always fail with ENOSYS. Some functions are actually named
26575 something starting with __ and the normal name is an alias. */
26576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26577 choke me
26578 #else
26579 char (*f) () = $ac_func;
26580 #endif
26581 #ifdef __cplusplus
26582 }
26583 #endif
26584
26585 int
26586 main ()
26587 {
26588 return f != $ac_func;
26589 ;
26590 return 0;
26591 }
26592 _ACEOF
26593 rm -f conftest.$ac_objext conftest$ac_exeext
26594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26595 (eval $ac_link) 2>&5
26596 ac_status=$?
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); } &&
26599 { ac_try='test -s conftest$ac_exeext'
26600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26601 (eval $ac_try) 2>&5
26602 ac_status=$?
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); }; }; then
26605 eval "$as_ac_var=yes"
26606 else
26607 echo "$as_me: failed program was:" >&5
26608 sed 's/^/| /' conftest.$ac_ext >&5
26609
26610 eval "$as_ac_var=no"
26611 fi
26612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26613 fi
26614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26616 if test `eval echo '${'$as_ac_var'}'` = yes; then
26617 cat >>confdefs.h <<_ACEOF
26618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26619 _ACEOF
26620
26621 fi
26622 done
26623
26624
26625 if test "$ac_cv_func_vsnprintf" = "yes"; then
26626 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26627 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26628 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26629 echo $ECHO_N "(cached) $ECHO_C" >&6
26630 else
26631
26632 cat >conftest.$ac_ext <<_ACEOF
26633 #line $LINENO "configure"
26634 /* confdefs.h. */
26635 _ACEOF
26636 cat confdefs.h >>conftest.$ac_ext
26637 cat >>conftest.$ac_ext <<_ACEOF
26638 /* end confdefs.h. */
26639
26640 #include <stdio.h>
26641 #include <stdarg.h>
26642
26643 int
26644 main ()
26645 {
26646
26647 char *buf;
26648 va_list ap;
26649 vsnprintf(buf, 10u, "%s", ap);
26650
26651 ;
26652 return 0;
26653 }
26654 _ACEOF
26655 rm -f conftest.$ac_objext
26656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26657 (eval $ac_compile) 2>&5
26658 ac_status=$?
26659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660 (exit $ac_status); } &&
26661 { ac_try='test -s conftest.$ac_objext'
26662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26663 (eval $ac_try) 2>&5
26664 ac_status=$?
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); }; }; then
26667 wx_cv_func_vsnprintf_decl=yes
26668 else
26669 echo "$as_me: failed program was:" >&5
26670 sed 's/^/| /' conftest.$ac_ext >&5
26671
26672 wx_cv_func_vsnprintf_decl=no
26673
26674 fi
26675 rm -f conftest.$ac_objext conftest.$ac_ext
26676
26677
26678 fi
26679 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26680 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26681
26682 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26683 cat >>confdefs.h <<\_ACEOF
26684 #define HAVE_VSNPRINTF_DECL 1
26685 _ACEOF
26686
26687 fi
26688 fi
26689
26690 if test "$wxUSE_UNICODE" = yes; then
26691
26692
26693
26694 for ac_func in fputwc wprintf vswprintf
26695 do
26696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26697 echo "$as_me:$LINENO: checking for $ac_func" >&5
26698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26699 if eval "test \"\${$as_ac_var+set}\" = set"; then
26700 echo $ECHO_N "(cached) $ECHO_C" >&6
26701 else
26702 cat >conftest.$ac_ext <<_ACEOF
26703 #line $LINENO "configure"
26704 /* confdefs.h. */
26705 _ACEOF
26706 cat confdefs.h >>conftest.$ac_ext
26707 cat >>conftest.$ac_ext <<_ACEOF
26708 /* end confdefs.h. */
26709 /* System header to define __stub macros and hopefully few prototypes,
26710 which can conflict with char $ac_func (); below.
26711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26712 <limits.h> exists even on freestanding compilers. */
26713 #ifdef __STDC__
26714 # include <limits.h>
26715 #else
26716 # include <assert.h>
26717 #endif
26718 /* Override any gcc2 internal prototype to avoid an error. */
26719 #ifdef __cplusplus
26720 extern "C"
26721 {
26722 #endif
26723 /* We use char because int might match the return type of a gcc2
26724 builtin and then its argument prototype would still apply. */
26725 char $ac_func ();
26726 /* The GNU C library defines this for functions which it implements
26727 to always fail with ENOSYS. Some functions are actually named
26728 something starting with __ and the normal name is an alias. */
26729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26730 choke me
26731 #else
26732 char (*f) () = $ac_func;
26733 #endif
26734 #ifdef __cplusplus
26735 }
26736 #endif
26737
26738 int
26739 main ()
26740 {
26741 return f != $ac_func;
26742 ;
26743 return 0;
26744 }
26745 _ACEOF
26746 rm -f conftest.$ac_objext conftest$ac_exeext
26747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26748 (eval $ac_link) 2>&5
26749 ac_status=$?
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); } &&
26752 { ac_try='test -s conftest$ac_exeext'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26755 ac_status=$?
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; }; then
26758 eval "$as_ac_var=yes"
26759 else
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.$ac_ext >&5
26762
26763 eval "$as_ac_var=no"
26764 fi
26765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26766 fi
26767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26769 if test `eval echo '${'$as_ac_var'}'` = yes; then
26770 cat >>confdefs.h <<_ACEOF
26771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26772 _ACEOF
26773
26774 fi
26775 done
26776
26777
26778 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26779 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26780 cat >conftest.$ac_ext <<_ACEOF
26781 #line $LINENO "configure"
26782 /* confdefs.h. */
26783 _ACEOF
26784 cat confdefs.h >>conftest.$ac_ext
26785 cat >>conftest.$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26787 #include <wchar.h>
26788 int
26789 main ()
26790 {
26791 &_vsnwprintf;
26792 ;
26793 return 0;
26794 }
26795 _ACEOF
26796 rm -f conftest.$ac_objext
26797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26798 (eval $ac_compile) 2>&5
26799 ac_status=$?
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } &&
26802 { ac_try='test -s conftest.$ac_objext'
26803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26804 (eval $ac_try) 2>&5
26805 ac_status=$?
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); }; }; then
26808 echo "$as_me:$LINENO: result: yes" >&5
26809 echo "${ECHO_T}yes" >&6
26810 cat >>confdefs.h <<\_ACEOF
26811 #define HAVE__VSNWPRINTF 1
26812 _ACEOF
26813
26814 else
26815 echo "$as_me: failed program was:" >&5
26816 sed 's/^/| /' conftest.$ac_ext >&5
26817
26818 echo "$as_me:$LINENO: result: no" >&5
26819 echo "${ECHO_T}no" >&6
26820 fi
26821 rm -f conftest.$ac_objext conftest.$ac_ext;
26822 fi
26823
26824 ac_ext=c
26825 ac_cpp='$CPP $CPPFLAGS'
26826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26829
26830
26831
26832
26833 if test "$TOOLKIT" != "MSW"; then
26834
26835
26836
26837
26838 ac_ext=cc
26839 ac_cpp='$CXXCPP $CPPFLAGS'
26840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26843
26844
26845
26846
26847 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26848 if test "${with_libiconv_prefix+set}" = set; then
26849 withval="$with_libiconv_prefix"
26850
26851 for dir in `echo "$withval" | tr : ' '`; do
26852 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26853 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26854 done
26855
26856 fi;
26857
26858 echo "$as_me:$LINENO: checking for iconv" >&5
26859 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26860 if test "${am_cv_func_iconv+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 else
26863
26864 am_cv_func_iconv="no, consider installing GNU libiconv"
26865 am_cv_lib_iconv=no
26866 cat >conftest.$ac_ext <<_ACEOF
26867 #line $LINENO "configure"
26868 /* confdefs.h. */
26869 _ACEOF
26870 cat confdefs.h >>conftest.$ac_ext
26871 cat >>conftest.$ac_ext <<_ACEOF
26872 /* end confdefs.h. */
26873 #include <stdlib.h>
26874 #include <iconv.h>
26875 int
26876 main ()
26877 {
26878 iconv_t cd = iconv_open("","");
26879 iconv(cd,NULL,NULL,NULL,NULL);
26880 iconv_close(cd);
26881 ;
26882 return 0;
26883 }
26884 _ACEOF
26885 rm -f conftest.$ac_objext conftest$ac_exeext
26886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26887 (eval $ac_link) 2>&5
26888 ac_status=$?
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); } &&
26891 { ac_try='test -s conftest$ac_exeext'
26892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26893 (eval $ac_try) 2>&5
26894 ac_status=$?
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); }; }; then
26897 am_cv_func_iconv=yes
26898 else
26899 echo "$as_me: failed program was:" >&5
26900 sed 's/^/| /' conftest.$ac_ext >&5
26901
26902 fi
26903 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26904 if test "$am_cv_func_iconv" != yes; then
26905 am_save_LIBS="$LIBS"
26906 LIBS="$LIBS -liconv"
26907 cat >conftest.$ac_ext <<_ACEOF
26908 #line $LINENO "configure"
26909 /* confdefs.h. */
26910 _ACEOF
26911 cat confdefs.h >>conftest.$ac_ext
26912 cat >>conftest.$ac_ext <<_ACEOF
26913 /* end confdefs.h. */
26914 #include <stdlib.h>
26915 #include <iconv.h>
26916 int
26917 main ()
26918 {
26919 iconv_t cd = iconv_open("","");
26920 iconv(cd,NULL,NULL,NULL,NULL);
26921 iconv_close(cd);
26922 ;
26923 return 0;
26924 }
26925 _ACEOF
26926 rm -f conftest.$ac_objext conftest$ac_exeext
26927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26928 (eval $ac_link) 2>&5
26929 ac_status=$?
26930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931 (exit $ac_status); } &&
26932 { ac_try='test -s conftest$ac_exeext'
26933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26934 (eval $ac_try) 2>&5
26935 ac_status=$?
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); }; }; then
26938 am_cv_lib_iconv=yes
26939 am_cv_func_iconv=yes
26940 else
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.$ac_ext >&5
26943
26944 fi
26945 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26946 LIBS="$am_save_LIBS"
26947 fi
26948
26949 fi
26950 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26951 echo "${ECHO_T}$am_cv_func_iconv" >&6
26952 if test "$am_cv_func_iconv" = yes; then
26953
26954 cat >>confdefs.h <<\_ACEOF
26955 #define HAVE_ICONV 1
26956 _ACEOF
26957
26958 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26959 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26960 if test "${wx_cv_func_iconv_const+set}" = set; then
26961 echo $ECHO_N "(cached) $ECHO_C" >&6
26962 else
26963 cat >conftest.$ac_ext <<_ACEOF
26964 #line $LINENO "configure"
26965 /* confdefs.h. */
26966 _ACEOF
26967 cat confdefs.h >>conftest.$ac_ext
26968 cat >>conftest.$ac_ext <<_ACEOF
26969 /* end confdefs.h. */
26970
26971 #include <stdlib.h>
26972 #include <iconv.h>
26973 extern
26974 #ifdef __cplusplus
26975 "C"
26976 #endif
26977 #if defined(__STDC__) || defined(__cplusplus)
26978 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26979 #else
26980 size_t iconv();
26981 #endif
26982
26983 int
26984 main ()
26985 {
26986
26987 ;
26988 return 0;
26989 }
26990 _ACEOF
26991 rm -f conftest.$ac_objext
26992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26993 (eval $ac_compile) 2>&5
26994 ac_status=$?
26995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26996 (exit $ac_status); } &&
26997 { ac_try='test -s conftest.$ac_objext'
26998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26999 (eval $ac_try) 2>&5
27000 ac_status=$?
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); }; }; then
27003 wx_cv_func_iconv_const="no"
27004 else
27005 echo "$as_me: failed program was:" >&5
27006 sed 's/^/| /' conftest.$ac_ext >&5
27007
27008 wx_cv_func_iconv_const="yes"
27009
27010 fi
27011 rm -f conftest.$ac_objext conftest.$ac_ext
27012
27013 fi
27014 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27015 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27016
27017 iconv_const=
27018 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27019 iconv_const="const"
27020 fi
27021
27022
27023 cat >>confdefs.h <<_ACEOF
27024 #define ICONV_CONST $iconv_const
27025 _ACEOF
27026
27027 fi
27028 LIBICONV=
27029 if test "$am_cv_lib_iconv" = yes; then
27030 LIBICONV="-liconv"
27031 fi
27032
27033
27034 LIBS="$LIBICONV $LIBS"
27035 ac_ext=c
27036 ac_cpp='$CPP $CPPFLAGS'
27037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27040
27041
27042 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27043
27044 for ac_func in sigaction
27045 do
27046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27047 echo "$as_me:$LINENO: checking for $ac_func" >&5
27048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27049 if eval "test \"\${$as_ac_var+set}\" = set"; then
27050 echo $ECHO_N "(cached) $ECHO_C" >&6
27051 else
27052 cat >conftest.$ac_ext <<_ACEOF
27053 #line $LINENO "configure"
27054 /* confdefs.h. */
27055 _ACEOF
27056 cat confdefs.h >>conftest.$ac_ext
27057 cat >>conftest.$ac_ext <<_ACEOF
27058 /* end confdefs.h. */
27059 /* System header to define __stub macros and hopefully few prototypes,
27060 which can conflict with char $ac_func (); below.
27061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27062 <limits.h> exists even on freestanding compilers. */
27063 #ifdef __STDC__
27064 # include <limits.h>
27065 #else
27066 # include <assert.h>
27067 #endif
27068 /* Override any gcc2 internal prototype to avoid an error. */
27069 #ifdef __cplusplus
27070 extern "C"
27071 {
27072 #endif
27073 /* We use char because int might match the return type of a gcc2
27074 builtin and then its argument prototype would still apply. */
27075 char $ac_func ();
27076 /* The GNU C library defines this for functions which it implements
27077 to always fail with ENOSYS. Some functions are actually named
27078 something starting with __ and the normal name is an alias. */
27079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27080 choke me
27081 #else
27082 char (*f) () = $ac_func;
27083 #endif
27084 #ifdef __cplusplus
27085 }
27086 #endif
27087
27088 int
27089 main ()
27090 {
27091 return f != $ac_func;
27092 ;
27093 return 0;
27094 }
27095 _ACEOF
27096 rm -f conftest.$ac_objext conftest$ac_exeext
27097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27098 (eval $ac_link) 2>&5
27099 ac_status=$?
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } &&
27102 { ac_try='test -s conftest$ac_exeext'
27103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104 (eval $ac_try) 2>&5
27105 ac_status=$?
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; }; then
27108 eval "$as_ac_var=yes"
27109 else
27110 echo "$as_me: failed program was:" >&5
27111 sed 's/^/| /' conftest.$ac_ext >&5
27112
27113 eval "$as_ac_var=no"
27114 fi
27115 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27116 fi
27117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27119 if test `eval echo '${'$as_ac_var'}'` = yes; then
27120 cat >>confdefs.h <<_ACEOF
27121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27122 _ACEOF
27123
27124 fi
27125 done
27126
27127
27128 if test "$ac_cv_func_sigaction" = "no"; then
27129 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27130 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27131 wxUSE_ON_FATAL_EXCEPTION=no
27132 fi
27133
27134 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27135
27136
27137 ac_ext=cc
27138 ac_cpp='$CXXCPP $CPPFLAGS'
27139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27142
27143
27144 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27145 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27146 if test "${wx_cv_type_sa_handler+set}" = set; then
27147 echo $ECHO_N "(cached) $ECHO_C" >&6
27148 else
27149
27150 cat >conftest.$ac_ext <<_ACEOF
27151 #line $LINENO "configure"
27152 /* confdefs.h. */
27153 _ACEOF
27154 cat confdefs.h >>conftest.$ac_ext
27155 cat >>conftest.$ac_ext <<_ACEOF
27156 /* end confdefs.h. */
27157 #include <signal.h>
27158 int
27159 main ()
27160 {
27161
27162 extern void testSigHandler(int);
27163
27164 struct sigaction sa;
27165 sa.sa_handler = testSigHandler;
27166
27167 ;
27168 return 0;
27169 }
27170 _ACEOF
27171 rm -f conftest.$ac_objext
27172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27173 (eval $ac_compile) 2>&5
27174 ac_status=$?
27175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27176 (exit $ac_status); } &&
27177 { ac_try='test -s conftest.$ac_objext'
27178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27179 (eval $ac_try) 2>&5
27180 ac_status=$?
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); }; }; then
27183
27184 wx_cv_type_sa_handler=int
27185
27186 else
27187 echo "$as_me: failed program was:" >&5
27188 sed 's/^/| /' conftest.$ac_ext >&5
27189
27190
27191 wx_cv_type_sa_handler=void
27192
27193 fi
27194 rm -f conftest.$ac_objext conftest.$ac_ext
27195
27196 fi
27197 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27198 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27199
27200 ac_ext=c
27201 ac_cpp='$CPP $CPPFLAGS'
27202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27205
27206
27207 cat >>confdefs.h <<_ACEOF
27208 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27209 _ACEOF
27210
27211 fi
27212 fi
27213
27214
27215
27216 for ac_func in mkstemp mktemp
27217 do
27218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27219 echo "$as_me:$LINENO: checking for $ac_func" >&5
27220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27221 if eval "test \"\${$as_ac_var+set}\" = set"; then
27222 echo $ECHO_N "(cached) $ECHO_C" >&6
27223 else
27224 cat >conftest.$ac_ext <<_ACEOF
27225 #line $LINENO "configure"
27226 /* confdefs.h. */
27227 _ACEOF
27228 cat confdefs.h >>conftest.$ac_ext
27229 cat >>conftest.$ac_ext <<_ACEOF
27230 /* end confdefs.h. */
27231 /* System header to define __stub macros and hopefully few prototypes,
27232 which can conflict with char $ac_func (); below.
27233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27234 <limits.h> exists even on freestanding compilers. */
27235 #ifdef __STDC__
27236 # include <limits.h>
27237 #else
27238 # include <assert.h>
27239 #endif
27240 /* Override any gcc2 internal prototype to avoid an error. */
27241 #ifdef __cplusplus
27242 extern "C"
27243 {
27244 #endif
27245 /* We use char because int might match the return type of a gcc2
27246 builtin and then its argument prototype would still apply. */
27247 char $ac_func ();
27248 /* The GNU C library defines this for functions which it implements
27249 to always fail with ENOSYS. Some functions are actually named
27250 something starting with __ and the normal name is an alias. */
27251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27252 choke me
27253 #else
27254 char (*f) () = $ac_func;
27255 #endif
27256 #ifdef __cplusplus
27257 }
27258 #endif
27259
27260 int
27261 main ()
27262 {
27263 return f != $ac_func;
27264 ;
27265 return 0;
27266 }
27267 _ACEOF
27268 rm -f conftest.$ac_objext conftest$ac_exeext
27269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27270 (eval $ac_link) 2>&5
27271 ac_status=$?
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); } &&
27274 { ac_try='test -s conftest$ac_exeext'
27275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27276 (eval $ac_try) 2>&5
27277 ac_status=$?
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); }; }; then
27280 eval "$as_ac_var=yes"
27281 else
27282 echo "$as_me: failed program was:" >&5
27283 sed 's/^/| /' conftest.$ac_ext >&5
27284
27285 eval "$as_ac_var=no"
27286 fi
27287 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27288 fi
27289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27291 if test `eval echo '${'$as_ac_var'}'` = yes; then
27292 cat >>confdefs.h <<_ACEOF
27293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27294 _ACEOF
27295 break
27296 fi
27297 done
27298
27299
27300 echo "$as_me:$LINENO: checking for statfs" >&5
27301 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27302 if test "${wx_cv_func_statfs+set}" = set; then
27303 echo $ECHO_N "(cached) $ECHO_C" >&6
27304 else
27305 cat >conftest.$ac_ext <<_ACEOF
27306 #line $LINENO "configure"
27307 /* confdefs.h. */
27308 _ACEOF
27309 cat confdefs.h >>conftest.$ac_ext
27310 cat >>conftest.$ac_ext <<_ACEOF
27311 /* end confdefs.h. */
27312
27313 #if defined(__BSD__)
27314 #include <sys/param.h>
27315 #include <sys/mount.h>
27316 #else
27317 #include <sys/vfs.h>
27318 #endif
27319
27320 int
27321 main ()
27322 {
27323
27324 long l;
27325 struct statfs fs;
27326 statfs("/", &fs);
27327 l = fs.f_bsize;
27328 l += fs.f_blocks;
27329 l += fs.f_bavail;
27330
27331 ;
27332 return 0;
27333 }
27334 _ACEOF
27335 rm -f conftest.$ac_objext
27336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27337 (eval $ac_compile) 2>&5
27338 ac_status=$?
27339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27340 (exit $ac_status); } &&
27341 { ac_try='test -s conftest.$ac_objext'
27342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27343 (eval $ac_try) 2>&5
27344 ac_status=$?
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); }; }; then
27347
27348 wx_cv_func_statfs=yes
27349
27350 else
27351 echo "$as_me: failed program was:" >&5
27352 sed 's/^/| /' conftest.$ac_ext >&5
27353
27354
27355 wx_cv_func_statfs=no
27356
27357
27358 fi
27359 rm -f conftest.$ac_objext conftest.$ac_ext
27360
27361 fi
27362 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27363 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27364
27365 if test "$wx_cv_func_statfs" = "yes"; then
27366 wx_cv_type_statvfs_t="struct statfs"
27367 cat >>confdefs.h <<\_ACEOF
27368 #define HAVE_STATFS 1
27369 _ACEOF
27370
27371 else
27372 echo "$as_me:$LINENO: checking for statvfs" >&5
27373 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27374 if test "${wx_cv_func_statvfs+set}" = set; then
27375 echo $ECHO_N "(cached) $ECHO_C" >&6
27376 else
27377 cat >conftest.$ac_ext <<_ACEOF
27378 #line $LINENO "configure"
27379 /* confdefs.h. */
27380 _ACEOF
27381 cat confdefs.h >>conftest.$ac_ext
27382 cat >>conftest.$ac_ext <<_ACEOF
27383 /* end confdefs.h. */
27384
27385 #include <stddef.h>
27386 #include <sys/statvfs.h>
27387
27388 int
27389 main ()
27390 {
27391
27392 statvfs("/", NULL);
27393
27394 ;
27395 return 0;
27396 }
27397 _ACEOF
27398 rm -f conftest.$ac_objext
27399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27400 (eval $ac_compile) 2>&5
27401 ac_status=$?
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); } &&
27404 { ac_try='test -s conftest.$ac_objext'
27405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406 (eval $ac_try) 2>&5
27407 ac_status=$?
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); }; }; then
27410 wx_cv_func_statvfs=yes
27411 else
27412 echo "$as_me: failed program was:" >&5
27413 sed 's/^/| /' conftest.$ac_ext >&5
27414
27415 wx_cv_func_statvfs=no
27416
27417 fi
27418 rm -f conftest.$ac_objext conftest.$ac_ext
27419
27420 fi
27421 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27422 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27423
27424 if test "$wx_cv_func_statvfs" = "yes"; then
27425
27426
27427 ac_ext=cc
27428 ac_cpp='$CXXCPP $CPPFLAGS'
27429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27432
27433
27434 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27435 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27436 if test "${wx_cv_type_statvfs_t+set}" = set; then
27437 echo $ECHO_N "(cached) $ECHO_C" >&6
27438 else
27439 cat >conftest.$ac_ext <<_ACEOF
27440 #line $LINENO "configure"
27441 /* confdefs.h. */
27442 _ACEOF
27443 cat confdefs.h >>conftest.$ac_ext
27444 cat >>conftest.$ac_ext <<_ACEOF
27445 /* end confdefs.h. */
27446
27447 #include <sys/statvfs.h>
27448
27449 int
27450 main ()
27451 {
27452
27453 long l;
27454 statvfs_t fs;
27455 statvfs("/", &fs);
27456 l = fs.f_bsize;
27457 l += fs.f_blocks;
27458 l += fs.f_bavail;
27459
27460 ;
27461 return 0;
27462 }
27463 _ACEOF
27464 rm -f conftest.$ac_objext
27465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27466 (eval $ac_compile) 2>&5
27467 ac_status=$?
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); } &&
27470 { ac_try='test -s conftest.$ac_objext'
27471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27472 (eval $ac_try) 2>&5
27473 ac_status=$?
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); }; }; then
27476 wx_cv_type_statvfs_t=statvfs_t
27477 else
27478 echo "$as_me: failed program was:" >&5
27479 sed 's/^/| /' conftest.$ac_ext >&5
27480
27481
27482 cat >conftest.$ac_ext <<_ACEOF
27483 #line $LINENO "configure"
27484 /* confdefs.h. */
27485 _ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27489
27490 #include <sys/statvfs.h>
27491
27492 int
27493 main ()
27494 {
27495
27496 long l;
27497 struct statvfs fs;
27498 statvfs("/", &fs);
27499 l = fs.f_bsize;
27500 l += fs.f_blocks;
27501 l += fs.f_bavail;
27502
27503 ;
27504 return 0;
27505 }
27506 _ACEOF
27507 rm -f conftest.$ac_objext
27508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27509 (eval $ac_compile) 2>&5
27510 ac_status=$?
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); } &&
27513 { ac_try='test -s conftest.$ac_objext'
27514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27515 (eval $ac_try) 2>&5
27516 ac_status=$?
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); }; }; then
27519 wx_cv_type_statvfs_t="struct statvfs"
27520 else
27521 echo "$as_me: failed program was:" >&5
27522 sed 's/^/| /' conftest.$ac_ext >&5
27523
27524 wx_cv_type_statvfs_t="unknown"
27525
27526 fi
27527 rm -f conftest.$ac_objext conftest.$ac_ext
27528
27529
27530 fi
27531 rm -f conftest.$ac_objext conftest.$ac_ext
27532
27533 fi
27534 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27535 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27536
27537 ac_ext=c
27538 ac_cpp='$CPP $CPPFLAGS'
27539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27542
27543
27544 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27545 cat >>confdefs.h <<\_ACEOF
27546 #define HAVE_STATVFS 1
27547 _ACEOF
27548
27549 fi
27550 else
27551 wx_cv_type_statvfs_t="unknown"
27552 fi
27553 fi
27554
27555 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27556 cat >>confdefs.h <<_ACEOF
27557 #define WX_STATFS_T $wx_cv_type_statvfs_t
27558 _ACEOF
27559
27560 else
27561 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27562 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27563 fi
27564
27565 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27566
27567
27568 for ac_func in fcntl flock
27569 do
27570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27571 echo "$as_me:$LINENO: checking for $ac_func" >&5
27572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27573 if eval "test \"\${$as_ac_var+set}\" = set"; then
27574 echo $ECHO_N "(cached) $ECHO_C" >&6
27575 else
27576 cat >conftest.$ac_ext <<_ACEOF
27577 #line $LINENO "configure"
27578 /* confdefs.h. */
27579 _ACEOF
27580 cat confdefs.h >>conftest.$ac_ext
27581 cat >>conftest.$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27583 /* System header to define __stub macros and hopefully few prototypes,
27584 which can conflict with char $ac_func (); below.
27585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27586 <limits.h> exists even on freestanding compilers. */
27587 #ifdef __STDC__
27588 # include <limits.h>
27589 #else
27590 # include <assert.h>
27591 #endif
27592 /* Override any gcc2 internal prototype to avoid an error. */
27593 #ifdef __cplusplus
27594 extern "C"
27595 {
27596 #endif
27597 /* We use char because int might match the return type of a gcc2
27598 builtin and then its argument prototype would still apply. */
27599 char $ac_func ();
27600 /* The GNU C library defines this for functions which it implements
27601 to always fail with ENOSYS. Some functions are actually named
27602 something starting with __ and the normal name is an alias. */
27603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27604 choke me
27605 #else
27606 char (*f) () = $ac_func;
27607 #endif
27608 #ifdef __cplusplus
27609 }
27610 #endif
27611
27612 int
27613 main ()
27614 {
27615 return f != $ac_func;
27616 ;
27617 return 0;
27618 }
27619 _ACEOF
27620 rm -f conftest.$ac_objext conftest$ac_exeext
27621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27622 (eval $ac_link) 2>&5
27623 ac_status=$?
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); } &&
27626 { ac_try='test -s conftest$ac_exeext'
27627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27628 (eval $ac_try) 2>&5
27629 ac_status=$?
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); }; }; then
27632 eval "$as_ac_var=yes"
27633 else
27634 echo "$as_me: failed program was:" >&5
27635 sed 's/^/| /' conftest.$ac_ext >&5
27636
27637 eval "$as_ac_var=no"
27638 fi
27639 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27640 fi
27641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27643 if test `eval echo '${'$as_ac_var'}'` = yes; then
27644 cat >>confdefs.h <<_ACEOF
27645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27646 _ACEOF
27647 break
27648 fi
27649 done
27650
27651
27652 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27653 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27654 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27655 wxUSE_SNGLINST_CHECKER=no
27656 fi
27657 fi
27658
27659
27660 for ac_func in timegm
27661 do
27662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27663 echo "$as_me:$LINENO: checking for $ac_func" >&5
27664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27665 if eval "test \"\${$as_ac_var+set}\" = set"; then
27666 echo $ECHO_N "(cached) $ECHO_C" >&6
27667 else
27668 cat >conftest.$ac_ext <<_ACEOF
27669 #line $LINENO "configure"
27670 /* confdefs.h. */
27671 _ACEOF
27672 cat confdefs.h >>conftest.$ac_ext
27673 cat >>conftest.$ac_ext <<_ACEOF
27674 /* end confdefs.h. */
27675 /* System header to define __stub macros and hopefully few prototypes,
27676 which can conflict with char $ac_func (); below.
27677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27678 <limits.h> exists even on freestanding compilers. */
27679 #ifdef __STDC__
27680 # include <limits.h>
27681 #else
27682 # include <assert.h>
27683 #endif
27684 /* Override any gcc2 internal prototype to avoid an error. */
27685 #ifdef __cplusplus
27686 extern "C"
27687 {
27688 #endif
27689 /* We use char because int might match the return type of a gcc2
27690 builtin and then its argument prototype would still apply. */
27691 char $ac_func ();
27692 /* The GNU C library defines this for functions which it implements
27693 to always fail with ENOSYS. Some functions are actually named
27694 something starting with __ and the normal name is an alias. */
27695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27696 choke me
27697 #else
27698 char (*f) () = $ac_func;
27699 #endif
27700 #ifdef __cplusplus
27701 }
27702 #endif
27703
27704 int
27705 main ()
27706 {
27707 return f != $ac_func;
27708 ;
27709 return 0;
27710 }
27711 _ACEOF
27712 rm -f conftest.$ac_objext conftest$ac_exeext
27713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27714 (eval $ac_link) 2>&5
27715 ac_status=$?
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); } &&
27718 { ac_try='test -s conftest$ac_exeext'
27719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27720 (eval $ac_try) 2>&5
27721 ac_status=$?
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); }; }; then
27724 eval "$as_ac_var=yes"
27725 else
27726 echo "$as_me: failed program was:" >&5
27727 sed 's/^/| /' conftest.$ac_ext >&5
27728
27729 eval "$as_ac_var=no"
27730 fi
27731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27732 fi
27733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27735 if test `eval echo '${'$as_ac_var'}'` = yes; then
27736 cat >>confdefs.h <<_ACEOF
27737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27738 _ACEOF
27739
27740 fi
27741 done
27742
27743
27744
27745
27746 for ac_func in putenv setenv
27747 do
27748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27749 echo "$as_me:$LINENO: checking for $ac_func" >&5
27750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27751 if eval "test \"\${$as_ac_var+set}\" = set"; then
27752 echo $ECHO_N "(cached) $ECHO_C" >&6
27753 else
27754 cat >conftest.$ac_ext <<_ACEOF
27755 #line $LINENO "configure"
27756 /* confdefs.h. */
27757 _ACEOF
27758 cat confdefs.h >>conftest.$ac_ext
27759 cat >>conftest.$ac_ext <<_ACEOF
27760 /* end confdefs.h. */
27761 /* System header to define __stub macros and hopefully few prototypes,
27762 which can conflict with char $ac_func (); below.
27763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27764 <limits.h> exists even on freestanding compilers. */
27765 #ifdef __STDC__
27766 # include <limits.h>
27767 #else
27768 # include <assert.h>
27769 #endif
27770 /* Override any gcc2 internal prototype to avoid an error. */
27771 #ifdef __cplusplus
27772 extern "C"
27773 {
27774 #endif
27775 /* We use char because int might match the return type of a gcc2
27776 builtin and then its argument prototype would still apply. */
27777 char $ac_func ();
27778 /* The GNU C library defines this for functions which it implements
27779 to always fail with ENOSYS. Some functions are actually named
27780 something starting with __ and the normal name is an alias. */
27781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27782 choke me
27783 #else
27784 char (*f) () = $ac_func;
27785 #endif
27786 #ifdef __cplusplus
27787 }
27788 #endif
27789
27790 int
27791 main ()
27792 {
27793 return f != $ac_func;
27794 ;
27795 return 0;
27796 }
27797 _ACEOF
27798 rm -f conftest.$ac_objext conftest$ac_exeext
27799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27800 (eval $ac_link) 2>&5
27801 ac_status=$?
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); } &&
27804 { ac_try='test -s conftest$ac_exeext'
27805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27806 (eval $ac_try) 2>&5
27807 ac_status=$?
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); }; }; then
27810 eval "$as_ac_var=yes"
27811 else
27812 echo "$as_me: failed program was:" >&5
27813 sed 's/^/| /' conftest.$ac_ext >&5
27814
27815 eval "$as_ac_var=no"
27816 fi
27817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27818 fi
27819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27821 if test `eval echo '${'$as_ac_var'}'` = yes; then
27822 cat >>confdefs.h <<_ACEOF
27823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27824 _ACEOF
27825 break
27826 fi
27827 done
27828
27829
27830 HAVE_SOME_SLEEP_FUNC=0
27831 if test "$USE_BEOS" = 1; then
27832 cat >>confdefs.h <<\_ACEOF
27833 #define HAVE_SLEEP 1
27834 _ACEOF
27835
27836 HAVE_SOME_SLEEP_FUNC=1
27837 fi
27838
27839 if test "$USE_DARWIN" = 1; then
27840 cat >>confdefs.h <<\_ACEOF
27841 #define HAVE_USLEEP 1
27842 _ACEOF
27843
27844 HAVE_SOME_SLEEP_FUNC=1
27845 fi
27846
27847 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27848 POSIX4_LINK=
27849
27850 for ac_func in nanosleep
27851 do
27852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27853 echo "$as_me:$LINENO: checking for $ac_func" >&5
27854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27855 if eval "test \"\${$as_ac_var+set}\" = set"; then
27856 echo $ECHO_N "(cached) $ECHO_C" >&6
27857 else
27858 cat >conftest.$ac_ext <<_ACEOF
27859 #line $LINENO "configure"
27860 /* confdefs.h. */
27861 _ACEOF
27862 cat confdefs.h >>conftest.$ac_ext
27863 cat >>conftest.$ac_ext <<_ACEOF
27864 /* end confdefs.h. */
27865 /* System header to define __stub macros and hopefully few prototypes,
27866 which can conflict with char $ac_func (); below.
27867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27868 <limits.h> exists even on freestanding compilers. */
27869 #ifdef __STDC__
27870 # include <limits.h>
27871 #else
27872 # include <assert.h>
27873 #endif
27874 /* Override any gcc2 internal prototype to avoid an error. */
27875 #ifdef __cplusplus
27876 extern "C"
27877 {
27878 #endif
27879 /* We use char because int might match the return type of a gcc2
27880 builtin and then its argument prototype would still apply. */
27881 char $ac_func ();
27882 /* The GNU C library defines this for functions which it implements
27883 to always fail with ENOSYS. Some functions are actually named
27884 something starting with __ and the normal name is an alias. */
27885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27886 choke me
27887 #else
27888 char (*f) () = $ac_func;
27889 #endif
27890 #ifdef __cplusplus
27891 }
27892 #endif
27893
27894 int
27895 main ()
27896 {
27897 return f != $ac_func;
27898 ;
27899 return 0;
27900 }
27901 _ACEOF
27902 rm -f conftest.$ac_objext conftest$ac_exeext
27903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27904 (eval $ac_link) 2>&5
27905 ac_status=$?
27906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27907 (exit $ac_status); } &&
27908 { ac_try='test -s conftest$ac_exeext'
27909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27910 (eval $ac_try) 2>&5
27911 ac_status=$?
27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913 (exit $ac_status); }; }; then
27914 eval "$as_ac_var=yes"
27915 else
27916 echo "$as_me: failed program was:" >&5
27917 sed 's/^/| /' conftest.$ac_ext >&5
27918
27919 eval "$as_ac_var=no"
27920 fi
27921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27922 fi
27923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27925 if test `eval echo '${'$as_ac_var'}'` = yes; then
27926 cat >>confdefs.h <<_ACEOF
27927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27928 _ACEOF
27929 cat >>confdefs.h <<\_ACEOF
27930 #define HAVE_NANOSLEEP 1
27931 _ACEOF
27932
27933 else
27934
27935 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27936 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27937 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27938 echo $ECHO_N "(cached) $ECHO_C" >&6
27939 else
27940 ac_check_lib_save_LIBS=$LIBS
27941 LIBS="-lposix4 $LIBS"
27942 cat >conftest.$ac_ext <<_ACEOF
27943 #line $LINENO "configure"
27944 /* confdefs.h. */
27945 _ACEOF
27946 cat confdefs.h >>conftest.$ac_ext
27947 cat >>conftest.$ac_ext <<_ACEOF
27948 /* end confdefs.h. */
27949
27950 /* Override any gcc2 internal prototype to avoid an error. */
27951 #ifdef __cplusplus
27952 extern "C"
27953 #endif
27954 /* We use char because int might match the return type of a gcc2
27955 builtin and then its argument prototype would still apply. */
27956 char nanosleep ();
27957 int
27958 main ()
27959 {
27960 nanosleep ();
27961 ;
27962 return 0;
27963 }
27964 _ACEOF
27965 rm -f conftest.$ac_objext conftest$ac_exeext
27966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27967 (eval $ac_link) 2>&5
27968 ac_status=$?
27969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27970 (exit $ac_status); } &&
27971 { ac_try='test -s conftest$ac_exeext'
27972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27973 (eval $ac_try) 2>&5
27974 ac_status=$?
27975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976 (exit $ac_status); }; }; then
27977 ac_cv_lib_posix4_nanosleep=yes
27978 else
27979 echo "$as_me: failed program was:" >&5
27980 sed 's/^/| /' conftest.$ac_ext >&5
27981
27982 ac_cv_lib_posix4_nanosleep=no
27983 fi
27984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27985 LIBS=$ac_check_lib_save_LIBS
27986 fi
27987 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27988 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27989 if test $ac_cv_lib_posix4_nanosleep = yes; then
27990
27991 cat >>confdefs.h <<\_ACEOF
27992 #define HAVE_NANOSLEEP 1
27993 _ACEOF
27994
27995 POSIX4_LINK=" -lposix4"
27996
27997 else
27998
27999
28000 for ac_func in usleep
28001 do
28002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28003 echo "$as_me:$LINENO: checking for $ac_func" >&5
28004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28005 if eval "test \"\${$as_ac_var+set}\" = set"; then
28006 echo $ECHO_N "(cached) $ECHO_C" >&6
28007 else
28008 cat >conftest.$ac_ext <<_ACEOF
28009 #line $LINENO "configure"
28010 /* confdefs.h. */
28011 _ACEOF
28012 cat confdefs.h >>conftest.$ac_ext
28013 cat >>conftest.$ac_ext <<_ACEOF
28014 /* end confdefs.h. */
28015 /* System header to define __stub macros and hopefully few prototypes,
28016 which can conflict with char $ac_func (); below.
28017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28018 <limits.h> exists even on freestanding compilers. */
28019 #ifdef __STDC__
28020 # include <limits.h>
28021 #else
28022 # include <assert.h>
28023 #endif
28024 /* Override any gcc2 internal prototype to avoid an error. */
28025 #ifdef __cplusplus
28026 extern "C"
28027 {
28028 #endif
28029 /* We use char because int might match the return type of a gcc2
28030 builtin and then its argument prototype would still apply. */
28031 char $ac_func ();
28032 /* The GNU C library defines this for functions which it implements
28033 to always fail with ENOSYS. Some functions are actually named
28034 something starting with __ and the normal name is an alias. */
28035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28036 choke me
28037 #else
28038 char (*f) () = $ac_func;
28039 #endif
28040 #ifdef __cplusplus
28041 }
28042 #endif
28043
28044 int
28045 main ()
28046 {
28047 return f != $ac_func;
28048 ;
28049 return 0;
28050 }
28051 _ACEOF
28052 rm -f conftest.$ac_objext conftest$ac_exeext
28053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28054 (eval $ac_link) 2>&5
28055 ac_status=$?
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); } &&
28058 { ac_try='test -s conftest$ac_exeext'
28059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28060 (eval $ac_try) 2>&5
28061 ac_status=$?
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); }; }; then
28064 eval "$as_ac_var=yes"
28065 else
28066 echo "$as_me: failed program was:" >&5
28067 sed 's/^/| /' conftest.$ac_ext >&5
28068
28069 eval "$as_ac_var=no"
28070 fi
28071 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28072 fi
28073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28075 if test `eval echo '${'$as_ac_var'}'` = yes; then
28076 cat >>confdefs.h <<_ACEOF
28077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28078 _ACEOF
28079 cat >>confdefs.h <<\_ACEOF
28080 #define HAVE_USLEEP 1
28081 _ACEOF
28082
28083 else
28084 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28085 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28086
28087 fi
28088 done
28089
28090
28091
28092 fi
28093
28094
28095
28096 fi
28097 done
28098
28099 fi
28100
28101
28102
28103 for ac_func in uname gethostname
28104 do
28105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28106 echo "$as_me:$LINENO: checking for $ac_func" >&5
28107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28108 if eval "test \"\${$as_ac_var+set}\" = set"; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28110 else
28111 cat >conftest.$ac_ext <<_ACEOF
28112 #line $LINENO "configure"
28113 /* confdefs.h. */
28114 _ACEOF
28115 cat confdefs.h >>conftest.$ac_ext
28116 cat >>conftest.$ac_ext <<_ACEOF
28117 /* end confdefs.h. */
28118 /* System header to define __stub macros and hopefully few prototypes,
28119 which can conflict with char $ac_func (); below.
28120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28121 <limits.h> exists even on freestanding compilers. */
28122 #ifdef __STDC__
28123 # include <limits.h>
28124 #else
28125 # include <assert.h>
28126 #endif
28127 /* Override any gcc2 internal prototype to avoid an error. */
28128 #ifdef __cplusplus
28129 extern "C"
28130 {
28131 #endif
28132 /* We use char because int might match the return type of a gcc2
28133 builtin and then its argument prototype would still apply. */
28134 char $ac_func ();
28135 /* The GNU C library defines this for functions which it implements
28136 to always fail with ENOSYS. Some functions are actually named
28137 something starting with __ and the normal name is an alias. */
28138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28139 choke me
28140 #else
28141 char (*f) () = $ac_func;
28142 #endif
28143 #ifdef __cplusplus
28144 }
28145 #endif
28146
28147 int
28148 main ()
28149 {
28150 return f != $ac_func;
28151 ;
28152 return 0;
28153 }
28154 _ACEOF
28155 rm -f conftest.$ac_objext conftest$ac_exeext
28156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28157 (eval $ac_link) 2>&5
28158 ac_status=$?
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try='test -s conftest$ac_exeext'
28162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163 (eval $ac_try) 2>&5
28164 ac_status=$?
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); }; }; then
28167 eval "$as_ac_var=yes"
28168 else
28169 echo "$as_me: failed program was:" >&5
28170 sed 's/^/| /' conftest.$ac_ext >&5
28171
28172 eval "$as_ac_var=no"
28173 fi
28174 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28175 fi
28176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28178 if test `eval echo '${'$as_ac_var'}'` = yes; then
28179 cat >>confdefs.h <<_ACEOF
28180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28181 _ACEOF
28182 break
28183 fi
28184 done
28185
28186
28187
28188
28189 ac_ext=cc
28190 ac_cpp='$CXXCPP $CPPFLAGS'
28191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28194
28195
28196
28197 for ac_func in strtok_r
28198 do
28199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28200 echo "$as_me:$LINENO: checking for $ac_func" >&5
28201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28202 if eval "test \"\${$as_ac_var+set}\" = set"; then
28203 echo $ECHO_N "(cached) $ECHO_C" >&6
28204 else
28205 cat >conftest.$ac_ext <<_ACEOF
28206 #line $LINENO "configure"
28207 /* confdefs.h. */
28208 _ACEOF
28209 cat confdefs.h >>conftest.$ac_ext
28210 cat >>conftest.$ac_ext <<_ACEOF
28211 /* end confdefs.h. */
28212 /* System header to define __stub macros and hopefully few prototypes,
28213 which can conflict with char $ac_func (); below.
28214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28215 <limits.h> exists even on freestanding compilers. */
28216 #ifdef __STDC__
28217 # include <limits.h>
28218 #else
28219 # include <assert.h>
28220 #endif
28221 /* Override any gcc2 internal prototype to avoid an error. */
28222 #ifdef __cplusplus
28223 extern "C"
28224 {
28225 #endif
28226 /* We use char because int might match the return type of a gcc2
28227 builtin and then its argument prototype would still apply. */
28228 char $ac_func ();
28229 /* The GNU C library defines this for functions which it implements
28230 to always fail with ENOSYS. Some functions are actually named
28231 something starting with __ and the normal name is an alias. */
28232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28233 choke me
28234 #else
28235 char (*f) () = $ac_func;
28236 #endif
28237 #ifdef __cplusplus
28238 }
28239 #endif
28240
28241 int
28242 main ()
28243 {
28244 return f != $ac_func;
28245 ;
28246 return 0;
28247 }
28248 _ACEOF
28249 rm -f conftest.$ac_objext conftest$ac_exeext
28250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28251 (eval $ac_link) 2>&5
28252 ac_status=$?
28253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254 (exit $ac_status); } &&
28255 { ac_try='test -s conftest$ac_exeext'
28256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28257 (eval $ac_try) 2>&5
28258 ac_status=$?
28259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28260 (exit $ac_status); }; }; then
28261 eval "$as_ac_var=yes"
28262 else
28263 echo "$as_me: failed program was:" >&5
28264 sed 's/^/| /' conftest.$ac_ext >&5
28265
28266 eval "$as_ac_var=no"
28267 fi
28268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28269 fi
28270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28272 if test `eval echo '${'$as_ac_var'}'` = yes; then
28273 cat >>confdefs.h <<_ACEOF
28274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28275 _ACEOF
28276
28277 fi
28278 done
28279
28280
28281 ac_ext=c
28282 ac_cpp='$CPP $CPPFLAGS'
28283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28286
28287
28288 INET_LINK=
28289
28290 for ac_func in inet_addr
28291 do
28292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28293 echo "$as_me:$LINENO: checking for $ac_func" >&5
28294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28295 if eval "test \"\${$as_ac_var+set}\" = set"; then
28296 echo $ECHO_N "(cached) $ECHO_C" >&6
28297 else
28298 cat >conftest.$ac_ext <<_ACEOF
28299 #line $LINENO "configure"
28300 /* confdefs.h. */
28301 _ACEOF
28302 cat confdefs.h >>conftest.$ac_ext
28303 cat >>conftest.$ac_ext <<_ACEOF
28304 /* end confdefs.h. */
28305 /* System header to define __stub macros and hopefully few prototypes,
28306 which can conflict with char $ac_func (); below.
28307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28308 <limits.h> exists even on freestanding compilers. */
28309 #ifdef __STDC__
28310 # include <limits.h>
28311 #else
28312 # include <assert.h>
28313 #endif
28314 /* Override any gcc2 internal prototype to avoid an error. */
28315 #ifdef __cplusplus
28316 extern "C"
28317 {
28318 #endif
28319 /* We use char because int might match the return type of a gcc2
28320 builtin and then its argument prototype would still apply. */
28321 char $ac_func ();
28322 /* The GNU C library defines this for functions which it implements
28323 to always fail with ENOSYS. Some functions are actually named
28324 something starting with __ and the normal name is an alias. */
28325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28326 choke me
28327 #else
28328 char (*f) () = $ac_func;
28329 #endif
28330 #ifdef __cplusplus
28331 }
28332 #endif
28333
28334 int
28335 main ()
28336 {
28337 return f != $ac_func;
28338 ;
28339 return 0;
28340 }
28341 _ACEOF
28342 rm -f conftest.$ac_objext conftest$ac_exeext
28343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28344 (eval $ac_link) 2>&5
28345 ac_status=$?
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); } &&
28348 { ac_try='test -s conftest$ac_exeext'
28349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28350 (eval $ac_try) 2>&5
28351 ac_status=$?
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; }; then
28354 eval "$as_ac_var=yes"
28355 else
28356 echo "$as_me: failed program was:" >&5
28357 sed 's/^/| /' conftest.$ac_ext >&5
28358
28359 eval "$as_ac_var=no"
28360 fi
28361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28362 fi
28363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28365 if test `eval echo '${'$as_ac_var'}'` = yes; then
28366 cat >>confdefs.h <<_ACEOF
28367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28368 _ACEOF
28369 cat >>confdefs.h <<\_ACEOF
28370 #define HAVE_INET_ADDR 1
28371 _ACEOF
28372
28373 else
28374
28375 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28376 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28377 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28378 echo $ECHO_N "(cached) $ECHO_C" >&6
28379 else
28380 ac_check_lib_save_LIBS=$LIBS
28381 LIBS="-lnsl $LIBS"
28382 cat >conftest.$ac_ext <<_ACEOF
28383 #line $LINENO "configure"
28384 /* confdefs.h. */
28385 _ACEOF
28386 cat confdefs.h >>conftest.$ac_ext
28387 cat >>conftest.$ac_ext <<_ACEOF
28388 /* end confdefs.h. */
28389
28390 /* Override any gcc2 internal prototype to avoid an error. */
28391 #ifdef __cplusplus
28392 extern "C"
28393 #endif
28394 /* We use char because int might match the return type of a gcc2
28395 builtin and then its argument prototype would still apply. */
28396 char inet_addr ();
28397 int
28398 main ()
28399 {
28400 inet_addr ();
28401 ;
28402 return 0;
28403 }
28404 _ACEOF
28405 rm -f conftest.$ac_objext conftest$ac_exeext
28406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28407 (eval $ac_link) 2>&5
28408 ac_status=$?
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); } &&
28411 { ac_try='test -s conftest$ac_exeext'
28412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28413 (eval $ac_try) 2>&5
28414 ac_status=$?
28415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28416 (exit $ac_status); }; }; then
28417 ac_cv_lib_nsl_inet_addr=yes
28418 else
28419 echo "$as_me: failed program was:" >&5
28420 sed 's/^/| /' conftest.$ac_ext >&5
28421
28422 ac_cv_lib_nsl_inet_addr=no
28423 fi
28424 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28425 LIBS=$ac_check_lib_save_LIBS
28426 fi
28427 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28428 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28429 if test $ac_cv_lib_nsl_inet_addr = yes; then
28430 INET_LINK="nsl"
28431 else
28432 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28433 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28434 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28435 echo $ECHO_N "(cached) $ECHO_C" >&6
28436 else
28437 ac_check_lib_save_LIBS=$LIBS
28438 LIBS="-lresolv $LIBS"
28439 cat >conftest.$ac_ext <<_ACEOF
28440 #line $LINENO "configure"
28441 /* confdefs.h. */
28442 _ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28446
28447 /* Override any gcc2 internal prototype to avoid an error. */
28448 #ifdef __cplusplus
28449 extern "C"
28450 #endif
28451 /* We use char because int might match the return type of a gcc2
28452 builtin and then its argument prototype would still apply. */
28453 char inet_addr ();
28454 int
28455 main ()
28456 {
28457 inet_addr ();
28458 ;
28459 return 0;
28460 }
28461 _ACEOF
28462 rm -f conftest.$ac_objext conftest$ac_exeext
28463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28464 (eval $ac_link) 2>&5
28465 ac_status=$?
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); } &&
28468 { ac_try='test -s conftest$ac_exeext'
28469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28470 (eval $ac_try) 2>&5
28471 ac_status=$?
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); }; }; then
28474 ac_cv_lib_resolv_inet_addr=yes
28475 else
28476 echo "$as_me: failed program was:" >&5
28477 sed 's/^/| /' conftest.$ac_ext >&5
28478
28479 ac_cv_lib_resolv_inet_addr=no
28480 fi
28481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28482 LIBS=$ac_check_lib_save_LIBS
28483 fi
28484 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28485 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28486 if test $ac_cv_lib_resolv_inet_addr = yes; then
28487 INET_LINK="resolv"
28488 else
28489 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28490 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28491 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28492 echo $ECHO_N "(cached) $ECHO_C" >&6
28493 else
28494 ac_check_lib_save_LIBS=$LIBS
28495 LIBS="-lsocket $LIBS"
28496 cat >conftest.$ac_ext <<_ACEOF
28497 #line $LINENO "configure"
28498 /* confdefs.h. */
28499 _ACEOF
28500 cat confdefs.h >>conftest.$ac_ext
28501 cat >>conftest.$ac_ext <<_ACEOF
28502 /* end confdefs.h. */
28503
28504 /* Override any gcc2 internal prototype to avoid an error. */
28505 #ifdef __cplusplus
28506 extern "C"
28507 #endif
28508 /* We use char because int might match the return type of a gcc2
28509 builtin and then its argument prototype would still apply. */
28510 char inet_addr ();
28511 int
28512 main ()
28513 {
28514 inet_addr ();
28515 ;
28516 return 0;
28517 }
28518 _ACEOF
28519 rm -f conftest.$ac_objext conftest$ac_exeext
28520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28521 (eval $ac_link) 2>&5
28522 ac_status=$?
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); } &&
28525 { ac_try='test -s conftest$ac_exeext'
28526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527 (eval $ac_try) 2>&5
28528 ac_status=$?
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); }; }; then
28531 ac_cv_lib_socket_inet_addr=yes
28532 else
28533 echo "$as_me: failed program was:" >&5
28534 sed 's/^/| /' conftest.$ac_ext >&5
28535
28536 ac_cv_lib_socket_inet_addr=no
28537 fi
28538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28539 LIBS=$ac_check_lib_save_LIBS
28540 fi
28541 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28542 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28543 if test $ac_cv_lib_socket_inet_addr = yes; then
28544 INET_LINK="socket"
28545
28546 fi
28547
28548
28549 fi
28550
28551
28552 fi
28553
28554
28555
28556 fi
28557 done
28558
28559
28560
28561 for ac_func in inet_aton
28562 do
28563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28564 echo "$as_me:$LINENO: checking for $ac_func" >&5
28565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28566 if eval "test \"\${$as_ac_var+set}\" = set"; then
28567 echo $ECHO_N "(cached) $ECHO_C" >&6
28568 else
28569 cat >conftest.$ac_ext <<_ACEOF
28570 #line $LINENO "configure"
28571 /* confdefs.h. */
28572 _ACEOF
28573 cat confdefs.h >>conftest.$ac_ext
28574 cat >>conftest.$ac_ext <<_ACEOF
28575 /* end confdefs.h. */
28576 /* System header to define __stub macros and hopefully few prototypes,
28577 which can conflict with char $ac_func (); below.
28578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28579 <limits.h> exists even on freestanding compilers. */
28580 #ifdef __STDC__
28581 # include <limits.h>
28582 #else
28583 # include <assert.h>
28584 #endif
28585 /* Override any gcc2 internal prototype to avoid an error. */
28586 #ifdef __cplusplus
28587 extern "C"
28588 {
28589 #endif
28590 /* We use char because int might match the return type of a gcc2
28591 builtin and then its argument prototype would still apply. */
28592 char $ac_func ();
28593 /* The GNU C library defines this for functions which it implements
28594 to always fail with ENOSYS. Some functions are actually named
28595 something starting with __ and the normal name is an alias. */
28596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28597 choke me
28598 #else
28599 char (*f) () = $ac_func;
28600 #endif
28601 #ifdef __cplusplus
28602 }
28603 #endif
28604
28605 int
28606 main ()
28607 {
28608 return f != $ac_func;
28609 ;
28610 return 0;
28611 }
28612 _ACEOF
28613 rm -f conftest.$ac_objext conftest$ac_exeext
28614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28615 (eval $ac_link) 2>&5
28616 ac_status=$?
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); } &&
28619 { ac_try='test -s conftest$ac_exeext'
28620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28621 (eval $ac_try) 2>&5
28622 ac_status=$?
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); }; }; then
28625 eval "$as_ac_var=yes"
28626 else
28627 echo "$as_me: failed program was:" >&5
28628 sed 's/^/| /' conftest.$ac_ext >&5
28629
28630 eval "$as_ac_var=no"
28631 fi
28632 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28633 fi
28634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28636 if test `eval echo '${'$as_ac_var'}'` = yes; then
28637 cat >>confdefs.h <<_ACEOF
28638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28639 _ACEOF
28640 cat >>confdefs.h <<\_ACEOF
28641 #define HAVE_INET_ATON 1
28642 _ACEOF
28643
28644 else
28645
28646 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28647 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28648 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28649 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28650 echo $ECHO_N "(cached) $ECHO_C" >&6
28651 else
28652 ac_check_lib_save_LIBS=$LIBS
28653 LIBS="-l$INET_LINK $LIBS"
28654 cat >conftest.$ac_ext <<_ACEOF
28655 #line $LINENO "configure"
28656 /* confdefs.h. */
28657 _ACEOF
28658 cat confdefs.h >>conftest.$ac_ext
28659 cat >>conftest.$ac_ext <<_ACEOF
28660 /* end confdefs.h. */
28661
28662 /* Override any gcc2 internal prototype to avoid an error. */
28663 #ifdef __cplusplus
28664 extern "C"
28665 #endif
28666 /* We use char because int might match the return type of a gcc2
28667 builtin and then its argument prototype would still apply. */
28668 char inet_aton ();
28669 int
28670 main ()
28671 {
28672 inet_aton ();
28673 ;
28674 return 0;
28675 }
28676 _ACEOF
28677 rm -f conftest.$ac_objext conftest$ac_exeext
28678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28679 (eval $ac_link) 2>&5
28680 ac_status=$?
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); } &&
28683 { ac_try='test -s conftest$ac_exeext'
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28686 ac_status=$?
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; }; then
28689 eval "$as_ac_Lib=yes"
28690 else
28691 echo "$as_me: failed program was:" >&5
28692 sed 's/^/| /' conftest.$ac_ext >&5
28693
28694 eval "$as_ac_Lib=no"
28695 fi
28696 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28697 LIBS=$ac_check_lib_save_LIBS
28698 fi
28699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28700 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28701 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28702 cat >>confdefs.h <<\_ACEOF
28703 #define HAVE_INET_ATON 1
28704 _ACEOF
28705
28706 fi
28707
28708
28709 fi
28710 done
28711
28712
28713 if test "x$INET_LINK" != "x"; then
28714 cat >>confdefs.h <<\_ACEOF
28715 #define HAVE_INET_ADDR 1
28716 _ACEOF
28717
28718 INET_LINK=" -l$INET_LINK"
28719 fi
28720
28721 fi
28722
28723
28724
28725 EXTRALIBS_ESD=
28726 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28727 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28728 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28729 echo $ECHO_N "(cached) $ECHO_C" >&6
28730 else
28731 ac_check_lib_save_LIBS=$LIBS
28732 LIBS="-lesd $LIBS"
28733 cat >conftest.$ac_ext <<_ACEOF
28734 #line $LINENO "configure"
28735 /* confdefs.h. */
28736 _ACEOF
28737 cat confdefs.h >>conftest.$ac_ext
28738 cat >>conftest.$ac_ext <<_ACEOF
28739 /* end confdefs.h. */
28740
28741 /* Override any gcc2 internal prototype to avoid an error. */
28742 #ifdef __cplusplus
28743 extern "C"
28744 #endif
28745 /* We use char because int might match the return type of a gcc2
28746 builtin and then its argument prototype would still apply. */
28747 char esd_close ();
28748 int
28749 main ()
28750 {
28751 esd_close ();
28752 ;
28753 return 0;
28754 }
28755 _ACEOF
28756 rm -f conftest.$ac_objext conftest$ac_exeext
28757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28758 (eval $ac_link) 2>&5
28759 ac_status=$?
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); } &&
28762 { ac_try='test -s conftest$ac_exeext'
28763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28764 (eval $ac_try) 2>&5
28765 ac_status=$?
28766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767 (exit $ac_status); }; }; then
28768 ac_cv_lib_esd_esd_close=yes
28769 else
28770 echo "$as_me: failed program was:" >&5
28771 sed 's/^/| /' conftest.$ac_ext >&5
28772
28773 ac_cv_lib_esd_esd_close=no
28774 fi
28775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28776 LIBS=$ac_check_lib_save_LIBS
28777 fi
28778 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28779 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28780 if test $ac_cv_lib_esd_esd_close = yes; then
28781
28782
28783 for ac_header in esd.h
28784 do
28785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28787 echo "$as_me:$LINENO: checking for $ac_header" >&5
28788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28790 echo $ECHO_N "(cached) $ECHO_C" >&6
28791 fi
28792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28794 else
28795 # Is the header compilable?
28796 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28798 cat >conftest.$ac_ext <<_ACEOF
28799 #line $LINENO "configure"
28800 /* confdefs.h. */
28801 _ACEOF
28802 cat confdefs.h >>conftest.$ac_ext
28803 cat >>conftest.$ac_ext <<_ACEOF
28804 /* end confdefs.h. */
28805 $ac_includes_default
28806 #include <$ac_header>
28807 _ACEOF
28808 rm -f conftest.$ac_objext
28809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28810 (eval $ac_compile) 2>&5
28811 ac_status=$?
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); } &&
28814 { ac_try='test -s conftest.$ac_objext'
28815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28816 (eval $ac_try) 2>&5
28817 ac_status=$?
28818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28819 (exit $ac_status); }; }; then
28820 ac_header_compiler=yes
28821 else
28822 echo "$as_me: failed program was:" >&5
28823 sed 's/^/| /' conftest.$ac_ext >&5
28824
28825 ac_header_compiler=no
28826 fi
28827 rm -f conftest.$ac_objext conftest.$ac_ext
28828 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28829 echo "${ECHO_T}$ac_header_compiler" >&6
28830
28831 # Is the header present?
28832 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28833 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28834 cat >conftest.$ac_ext <<_ACEOF
28835 #line $LINENO "configure"
28836 /* confdefs.h. */
28837 _ACEOF
28838 cat confdefs.h >>conftest.$ac_ext
28839 cat >>conftest.$ac_ext <<_ACEOF
28840 /* end confdefs.h. */
28841 #include <$ac_header>
28842 _ACEOF
28843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28844 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28845 ac_status=$?
28846 grep -v '^ *+' conftest.er1 >conftest.err
28847 rm -f conftest.er1
28848 cat conftest.err >&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); } >/dev/null; then
28851 if test -s conftest.err; then
28852 ac_cpp_err=$ac_c_preproc_warn_flag
28853 else
28854 ac_cpp_err=
28855 fi
28856 else
28857 ac_cpp_err=yes
28858 fi
28859 if test -z "$ac_cpp_err"; then
28860 ac_header_preproc=yes
28861 else
28862 echo "$as_me: failed program was:" >&5
28863 sed 's/^/| /' conftest.$ac_ext >&5
28864
28865 ac_header_preproc=no
28866 fi
28867 rm -f conftest.err conftest.$ac_ext
28868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28869 echo "${ECHO_T}$ac_header_preproc" >&6
28870
28871 # So? What about this header?
28872 case $ac_header_compiler:$ac_header_preproc in
28873 yes:no )
28874 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28875 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28877 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28878 (
28879 cat <<\_ASBOX
28880 ## ------------------------------------ ##
28881 ## Report this to bug-autoconf@gnu.org. ##
28882 ## ------------------------------------ ##
28883 _ASBOX
28884 ) |
28885 sed "s/^/$as_me: WARNING: /" >&2
28886 ;;
28887 no:yes )
28888 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28890 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28891 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28894 (
28895 cat <<\_ASBOX
28896 ## ------------------------------------ ##
28897 ## Report this to bug-autoconf@gnu.org. ##
28898 ## ------------------------------------ ##
28899 _ASBOX
28900 ) |
28901 sed "s/^/$as_me: WARNING: /" >&2
28902 ;;
28903 esac
28904 echo "$as_me:$LINENO: checking for $ac_header" >&5
28905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28907 echo $ECHO_N "(cached) $ECHO_C" >&6
28908 else
28909 eval "$as_ac_Header=$ac_header_preproc"
28910 fi
28911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28913
28914 fi
28915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28916 cat >>confdefs.h <<_ACEOF
28917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28918 _ACEOF
28919
28920 EXTRALIBS_ESD="-lesd"
28921
28922 fi
28923
28924 done
28925
28926
28927 fi
28928
28929
28930
28931
28932
28933 cat >confcache <<\_ACEOF
28934 # This file is a shell script that caches the results of configure
28935 # tests run on this system so they can be shared between configure
28936 # scripts and configure runs, see configure's option --config-cache.
28937 # It is not useful on other systems. If it contains results you don't
28938 # want to keep, you may remove or edit it.
28939 #
28940 # config.status only pays attention to the cache file if you give it
28941 # the --recheck option to rerun configure.
28942 #
28943 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28944 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28945 # following values.
28946
28947 _ACEOF
28948
28949 # The following way of writing the cache mishandles newlines in values,
28950 # but we know of no workaround that is simple, portable, and efficient.
28951 # So, don't put newlines in cache variables' values.
28952 # Ultrix sh set writes to stderr and can't be redirected directly,
28953 # and sets the high bit in the cache file unless we assign to the vars.
28954 {
28955 (set) 2>&1 |
28956 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28957 *ac_space=\ *)
28958 # `set' does not quote correctly, so add quotes (double-quote
28959 # substitution turns \\\\ into \\, and sed turns \\ into \).
28960 sed -n \
28961 "s/'/'\\\\''/g;
28962 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28963 ;;
28964 *)
28965 # `set' quotes correctly as required by POSIX, so do not add quotes.
28966 sed -n \
28967 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28968 ;;
28969 esac;
28970 } |
28971 sed '
28972 t clear
28973 : clear
28974 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28975 t end
28976 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28977 : end' >>confcache
28978 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28979 if test -w $cache_file; then
28980 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28981 cat confcache >$cache_file
28982 else
28983 echo "not updating unwritable cache $cache_file"
28984 fi
28985 fi
28986 rm -f confcache
28987
28988
28989 CPP_MT_FLAG=
28990 if test "$TOOLKIT" != "MSW"; then
28991
28992
28993 THREADS_LINK=
28994 THREADS_CFLAGS=
28995
28996 if test "$wxUSE_THREADS" = "yes" ; then
28997 if test "$USE_BEOS" = 1; then
28998 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28999 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29000 wxUSE_THREADS="no"
29001 fi
29002 fi
29003
29004 if test "$wxUSE_THREADS" = "yes" ; then
29005
29006
29007 THREAD_OPTS="-pthread"
29008 case "${host}" in
29009 *-*-solaris2* | *-*-sunos4* )
29010 if test "x$GCC" = "xyes"; then
29011 THREAD_OPTS="-pthreads $THREAD_OPTS"
29012 else
29013 THREAD_OPTS="-mt $THREAD_OPTS"
29014 fi
29015 ;;
29016 *-*-freebsd*)
29017 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29018 ;;
29019 *-*-darwin* | *-*-cygwin* )
29020 THREAD_OPTS=""
29021 ;;
29022 *-*-aix*)
29023 THREAD_OPTS="pthreads"
29024 ;;
29025 *-hp-hpux* )
29026 if test "x$GCC" != "xyes"; then
29027 THREAD_OPTS=""
29028 fi
29029 ;;
29030
29031 *-*-irix* )
29032 if test "x$GCC" = "xyes"; then
29033 THREAD_OPTS=""
29034 fi
29035 ;;
29036
29037 *-*-*UnixWare*)
29038 if test "x$GCC" != "xyes"; then
29039 THREAD_OPTS="-Ethread"
29040 fi
29041 ;;
29042 esac
29043
29044 THREAD_OPTS="$THREAD_OPTS pthread none"
29045
29046 THREADS_OK=no
29047 for flag in $THREAD_OPTS; do
29048 case $flag in
29049 none)
29050 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29051 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29052 ;;
29053
29054 -*)
29055 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29056 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29057 THREADS_CFLAGS="$flag"
29058 ;;
29059
29060 *)
29061 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29062 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29063 THREADS_LINK="-l$flag"
29064 ;;
29065 esac
29066
29067 save_LIBS="$LIBS"
29068 save_CFLAGS="$CFLAGS"
29069 LIBS="$THREADS_LINK $LIBS"
29070 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29071
29072 cat >conftest.$ac_ext <<_ACEOF
29073 #line $LINENO "configure"
29074 /* confdefs.h. */
29075 _ACEOF
29076 cat confdefs.h >>conftest.$ac_ext
29077 cat >>conftest.$ac_ext <<_ACEOF
29078 /* end confdefs.h. */
29079 #include <pthread.h>
29080 int
29081 main ()
29082 {
29083 pthread_create(0,0,0,0);
29084 ;
29085 return 0;
29086 }
29087 _ACEOF
29088 rm -f conftest.$ac_objext conftest$ac_exeext
29089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29090 (eval $ac_link) 2>&5
29091 ac_status=$?
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); } &&
29094 { ac_try='test -s conftest$ac_exeext'
29095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29096 (eval $ac_try) 2>&5
29097 ac_status=$?
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); }; }; then
29100 THREADS_OK=yes
29101 else
29102 echo "$as_me: failed program was:" >&5
29103 sed 's/^/| /' conftest.$ac_ext >&5
29104
29105 fi
29106 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29107
29108 LIBS="$save_LIBS"
29109 CFLAGS="$save_CFLAGS"
29110
29111 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29112 echo "${ECHO_T}$THREADS_OK" >&6
29113 if test "x$THREADS_OK" = "xyes"; then
29114 break;
29115 fi
29116
29117 THREADS_LINK=""
29118 THREADS_CFLAGS=""
29119 done
29120
29121 if test "x$THREADS_OK" != "xyes"; then
29122 wxUSE_THREADS=no
29123 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29124 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29125 else
29126 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29127 LIBS="$THREADS_LINK $LIBS"
29128
29129 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29130 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29131 flag=no
29132 case "${host}" in
29133 *-aix*)
29134 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29135 flag="-D_THREAD_SAFE"
29136 ;;
29137 *-freebsd*)
29138 flag="-D_THREAD_SAFE"
29139 ;;
29140 *-hp-hpux* )
29141 flag="-D_REENTRANT"
29142 if test "x$GCC" != "xyes"; then
29143 flag="$flag -D_RWSTD_MULTI_THREAD"
29144 fi
29145 ;;
29146 *solaris* | alpha*-osf*)
29147 flag="-D_REENTRANT"
29148 ;;
29149 esac
29150 echo "$as_me:$LINENO: result: ${flag}" >&5
29151 echo "${ECHO_T}${flag}" >&6
29152 if test "x$flag" != xno; then
29153 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29154 fi
29155
29156 if test "x$THREADS_CFLAGS" != "x"; then
29157 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29158 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29159 fi
29160 fi
29161 fi
29162
29163 if test "$wxUSE_THREADS" = "yes" ; then
29164
29165 for ac_func in thr_setconcurrency
29166 do
29167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29168 echo "$as_me:$LINENO: checking for $ac_func" >&5
29169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29170 if eval "test \"\${$as_ac_var+set}\" = set"; then
29171 echo $ECHO_N "(cached) $ECHO_C" >&6
29172 else
29173 cat >conftest.$ac_ext <<_ACEOF
29174 #line $LINENO "configure"
29175 /* confdefs.h. */
29176 _ACEOF
29177 cat confdefs.h >>conftest.$ac_ext
29178 cat >>conftest.$ac_ext <<_ACEOF
29179 /* end confdefs.h. */
29180 /* System header to define __stub macros and hopefully few prototypes,
29181 which can conflict with char $ac_func (); below.
29182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29183 <limits.h> exists even on freestanding compilers. */
29184 #ifdef __STDC__
29185 # include <limits.h>
29186 #else
29187 # include <assert.h>
29188 #endif
29189 /* Override any gcc2 internal prototype to avoid an error. */
29190 #ifdef __cplusplus
29191 extern "C"
29192 {
29193 #endif
29194 /* We use char because int might match the return type of a gcc2
29195 builtin and then its argument prototype would still apply. */
29196 char $ac_func ();
29197 /* The GNU C library defines this for functions which it implements
29198 to always fail with ENOSYS. Some functions are actually named
29199 something starting with __ and the normal name is an alias. */
29200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29201 choke me
29202 #else
29203 char (*f) () = $ac_func;
29204 #endif
29205 #ifdef __cplusplus
29206 }
29207 #endif
29208
29209 int
29210 main ()
29211 {
29212 return f != $ac_func;
29213 ;
29214 return 0;
29215 }
29216 _ACEOF
29217 rm -f conftest.$ac_objext conftest$ac_exeext
29218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29219 (eval $ac_link) 2>&5
29220 ac_status=$?
29221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29222 (exit $ac_status); } &&
29223 { ac_try='test -s conftest$ac_exeext'
29224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29225 (eval $ac_try) 2>&5
29226 ac_status=$?
29227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29228 (exit $ac_status); }; }; then
29229 eval "$as_ac_var=yes"
29230 else
29231 echo "$as_me: failed program was:" >&5
29232 sed 's/^/| /' conftest.$ac_ext >&5
29233
29234 eval "$as_ac_var=no"
29235 fi
29236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29237 fi
29238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29240 if test `eval echo '${'$as_ac_var'}'` = yes; then
29241 cat >>confdefs.h <<_ACEOF
29242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29243 _ACEOF
29244
29245 fi
29246 done
29247
29248
29249
29250 for ac_header in sched.h
29251 do
29252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29254 echo "$as_me:$LINENO: checking for $ac_header" >&5
29255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29257 echo $ECHO_N "(cached) $ECHO_C" >&6
29258 fi
29259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29261 else
29262 # Is the header compilable?
29263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29265 cat >conftest.$ac_ext <<_ACEOF
29266 #line $LINENO "configure"
29267 /* confdefs.h. */
29268 _ACEOF
29269 cat confdefs.h >>conftest.$ac_ext
29270 cat >>conftest.$ac_ext <<_ACEOF
29271 /* end confdefs.h. */
29272 $ac_includes_default
29273 #include <$ac_header>
29274 _ACEOF
29275 rm -f conftest.$ac_objext
29276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29277 (eval $ac_compile) 2>&5
29278 ac_status=$?
29279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29280 (exit $ac_status); } &&
29281 { ac_try='test -s conftest.$ac_objext'
29282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29283 (eval $ac_try) 2>&5
29284 ac_status=$?
29285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29286 (exit $ac_status); }; }; then
29287 ac_header_compiler=yes
29288 else
29289 echo "$as_me: failed program was:" >&5
29290 sed 's/^/| /' conftest.$ac_ext >&5
29291
29292 ac_header_compiler=no
29293 fi
29294 rm -f conftest.$ac_objext conftest.$ac_ext
29295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29296 echo "${ECHO_T}$ac_header_compiler" >&6
29297
29298 # Is the header present?
29299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29301 cat >conftest.$ac_ext <<_ACEOF
29302 #line $LINENO "configure"
29303 /* confdefs.h. */
29304 _ACEOF
29305 cat confdefs.h >>conftest.$ac_ext
29306 cat >>conftest.$ac_ext <<_ACEOF
29307 /* end confdefs.h. */
29308 #include <$ac_header>
29309 _ACEOF
29310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29312 ac_status=$?
29313 grep -v '^ *+' conftest.er1 >conftest.err
29314 rm -f conftest.er1
29315 cat conftest.err >&5
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); } >/dev/null; then
29318 if test -s conftest.err; then
29319 ac_cpp_err=$ac_c_preproc_warn_flag
29320 else
29321 ac_cpp_err=
29322 fi
29323 else
29324 ac_cpp_err=yes
29325 fi
29326 if test -z "$ac_cpp_err"; then
29327 ac_header_preproc=yes
29328 else
29329 echo "$as_me: failed program was:" >&5
29330 sed 's/^/| /' conftest.$ac_ext >&5
29331
29332 ac_header_preproc=no
29333 fi
29334 rm -f conftest.err conftest.$ac_ext
29335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29336 echo "${ECHO_T}$ac_header_preproc" >&6
29337
29338 # So? What about this header?
29339 case $ac_header_compiler:$ac_header_preproc in
29340 yes:no )
29341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29345 (
29346 cat <<\_ASBOX
29347 ## ------------------------------------ ##
29348 ## Report this to bug-autoconf@gnu.org. ##
29349 ## ------------------------------------ ##
29350 _ASBOX
29351 ) |
29352 sed "s/^/$as_me: WARNING: /" >&2
29353 ;;
29354 no:yes )
29355 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29356 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29357 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29358 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29361 (
29362 cat <<\_ASBOX
29363 ## ------------------------------------ ##
29364 ## Report this to bug-autoconf@gnu.org. ##
29365 ## ------------------------------------ ##
29366 _ASBOX
29367 ) |
29368 sed "s/^/$as_me: WARNING: /" >&2
29369 ;;
29370 esac
29371 echo "$as_me:$LINENO: checking for $ac_header" >&5
29372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29374 echo $ECHO_N "(cached) $ECHO_C" >&6
29375 else
29376 eval "$as_ac_Header=$ac_header_preproc"
29377 fi
29378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29380
29381 fi
29382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29383 cat >>confdefs.h <<_ACEOF
29384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29385 _ACEOF
29386
29387 fi
29388
29389 done
29390
29391 if test "$ac_cv_header_sched_h" = "yes"; then
29392 echo "$as_me:$LINENO: checking for sched_yield" >&5
29393 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29394 if test "${ac_cv_func_sched_yield+set}" = set; then
29395 echo $ECHO_N "(cached) $ECHO_C" >&6
29396 else
29397 cat >conftest.$ac_ext <<_ACEOF
29398 #line $LINENO "configure"
29399 /* confdefs.h. */
29400 _ACEOF
29401 cat confdefs.h >>conftest.$ac_ext
29402 cat >>conftest.$ac_ext <<_ACEOF
29403 /* end confdefs.h. */
29404 /* System header to define __stub macros and hopefully few prototypes,
29405 which can conflict with char sched_yield (); below.
29406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29407 <limits.h> exists even on freestanding compilers. */
29408 #ifdef __STDC__
29409 # include <limits.h>
29410 #else
29411 # include <assert.h>
29412 #endif
29413 /* Override any gcc2 internal prototype to avoid an error. */
29414 #ifdef __cplusplus
29415 extern "C"
29416 {
29417 #endif
29418 /* We use char because int might match the return type of a gcc2
29419 builtin and then its argument prototype would still apply. */
29420 char sched_yield ();
29421 /* The GNU C library defines this for functions which it implements
29422 to always fail with ENOSYS. Some functions are actually named
29423 something starting with __ and the normal name is an alias. */
29424 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29425 choke me
29426 #else
29427 char (*f) () = sched_yield;
29428 #endif
29429 #ifdef __cplusplus
29430 }
29431 #endif
29432
29433 int
29434 main ()
29435 {
29436 return f != sched_yield;
29437 ;
29438 return 0;
29439 }
29440 _ACEOF
29441 rm -f conftest.$ac_objext conftest$ac_exeext
29442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29443 (eval $ac_link) 2>&5
29444 ac_status=$?
29445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29446 (exit $ac_status); } &&
29447 { ac_try='test -s conftest$ac_exeext'
29448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29449 (eval $ac_try) 2>&5
29450 ac_status=$?
29451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29452 (exit $ac_status); }; }; then
29453 ac_cv_func_sched_yield=yes
29454 else
29455 echo "$as_me: failed program was:" >&5
29456 sed 's/^/| /' conftest.$ac_ext >&5
29457
29458 ac_cv_func_sched_yield=no
29459 fi
29460 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29461 fi
29462 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29463 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29464 if test $ac_cv_func_sched_yield = yes; then
29465 cat >>confdefs.h <<\_ACEOF
29466 #define HAVE_SCHED_YIELD 1
29467 _ACEOF
29468
29469 else
29470
29471 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29472 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29473 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29474 echo $ECHO_N "(cached) $ECHO_C" >&6
29475 else
29476 ac_check_lib_save_LIBS=$LIBS
29477 LIBS="-lposix4 $LIBS"
29478 cat >conftest.$ac_ext <<_ACEOF
29479 #line $LINENO "configure"
29480 /* confdefs.h. */
29481 _ACEOF
29482 cat confdefs.h >>conftest.$ac_ext
29483 cat >>conftest.$ac_ext <<_ACEOF
29484 /* end confdefs.h. */
29485
29486 /* Override any gcc2 internal prototype to avoid an error. */
29487 #ifdef __cplusplus
29488 extern "C"
29489 #endif
29490 /* We use char because int might match the return type of a gcc2
29491 builtin and then its argument prototype would still apply. */
29492 char sched_yield ();
29493 int
29494 main ()
29495 {
29496 sched_yield ();
29497 ;
29498 return 0;
29499 }
29500 _ACEOF
29501 rm -f conftest.$ac_objext conftest$ac_exeext
29502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29503 (eval $ac_link) 2>&5
29504 ac_status=$?
29505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29506 (exit $ac_status); } &&
29507 { ac_try='test -s conftest$ac_exeext'
29508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29509 (eval $ac_try) 2>&5
29510 ac_status=$?
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); }; }; then
29513 ac_cv_lib_posix4_sched_yield=yes
29514 else
29515 echo "$as_me: failed program was:" >&5
29516 sed 's/^/| /' conftest.$ac_ext >&5
29517
29518 ac_cv_lib_posix4_sched_yield=no
29519 fi
29520 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29521 LIBS=$ac_check_lib_save_LIBS
29522 fi
29523 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29524 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29525 if test $ac_cv_lib_posix4_sched_yield = yes; then
29526 cat >>confdefs.h <<\_ACEOF
29527 #define HAVE_SCHED_YIELD 1
29528 _ACEOF
29529 POSIX4_LINK=" -lposix4"
29530 else
29531 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29532 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29533
29534 fi
29535
29536
29537
29538 fi
29539
29540 fi
29541
29542 HAVE_PRIOR_FUNCS=0
29543 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29544 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29545 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29546 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 else
29548 cat >conftest.$ac_ext <<_ACEOF
29549 #line $LINENO "configure"
29550 /* confdefs.h. */
29551 _ACEOF
29552 cat confdefs.h >>conftest.$ac_ext
29553 cat >>conftest.$ac_ext <<_ACEOF
29554 /* end confdefs.h. */
29555 /* System header to define __stub macros and hopefully few prototypes,
29556 which can conflict with char pthread_attr_getschedpolicy (); below.
29557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29558 <limits.h> exists even on freestanding compilers. */
29559 #ifdef __STDC__
29560 # include <limits.h>
29561 #else
29562 # include <assert.h>
29563 #endif
29564 /* Override any gcc2 internal prototype to avoid an error. */
29565 #ifdef __cplusplus
29566 extern "C"
29567 {
29568 #endif
29569 /* We use char because int might match the return type of a gcc2
29570 builtin and then its argument prototype would still apply. */
29571 char pthread_attr_getschedpolicy ();
29572 /* The GNU C library defines this for functions which it implements
29573 to always fail with ENOSYS. Some functions are actually named
29574 something starting with __ and the normal name is an alias. */
29575 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29576 choke me
29577 #else
29578 char (*f) () = pthread_attr_getschedpolicy;
29579 #endif
29580 #ifdef __cplusplus
29581 }
29582 #endif
29583
29584 int
29585 main ()
29586 {
29587 return f != pthread_attr_getschedpolicy;
29588 ;
29589 return 0;
29590 }
29591 _ACEOF
29592 rm -f conftest.$ac_objext conftest$ac_exeext
29593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29594 (eval $ac_link) 2>&5
29595 ac_status=$?
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); } &&
29598 { ac_try='test -s conftest$ac_exeext'
29599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29600 (eval $ac_try) 2>&5
29601 ac_status=$?
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); }; }; then
29604 ac_cv_func_pthread_attr_getschedpolicy=yes
29605 else
29606 echo "$as_me: failed program was:" >&5
29607 sed 's/^/| /' conftest.$ac_ext >&5
29608
29609 ac_cv_func_pthread_attr_getschedpolicy=no
29610 fi
29611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29612 fi
29613 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29614 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29615 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29616 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29617 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29618 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29619 echo $ECHO_N "(cached) $ECHO_C" >&6
29620 else
29621 cat >conftest.$ac_ext <<_ACEOF
29622 #line $LINENO "configure"
29623 /* confdefs.h. */
29624 _ACEOF
29625 cat confdefs.h >>conftest.$ac_ext
29626 cat >>conftest.$ac_ext <<_ACEOF
29627 /* end confdefs.h. */
29628 /* System header to define __stub macros and hopefully few prototypes,
29629 which can conflict with char pthread_attr_setschedparam (); below.
29630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29631 <limits.h> exists even on freestanding compilers. */
29632 #ifdef __STDC__
29633 # include <limits.h>
29634 #else
29635 # include <assert.h>
29636 #endif
29637 /* Override any gcc2 internal prototype to avoid an error. */
29638 #ifdef __cplusplus
29639 extern "C"
29640 {
29641 #endif
29642 /* We use char because int might match the return type of a gcc2
29643 builtin and then its argument prototype would still apply. */
29644 char pthread_attr_setschedparam ();
29645 /* The GNU C library defines this for functions which it implements
29646 to always fail with ENOSYS. Some functions are actually named
29647 something starting with __ and the normal name is an alias. */
29648 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29649 choke me
29650 #else
29651 char (*f) () = pthread_attr_setschedparam;
29652 #endif
29653 #ifdef __cplusplus
29654 }
29655 #endif
29656
29657 int
29658 main ()
29659 {
29660 return f != pthread_attr_setschedparam;
29661 ;
29662 return 0;
29663 }
29664 _ACEOF
29665 rm -f conftest.$ac_objext conftest$ac_exeext
29666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29667 (eval $ac_link) 2>&5
29668 ac_status=$?
29669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29670 (exit $ac_status); } &&
29671 { ac_try='test -s conftest$ac_exeext'
29672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29673 (eval $ac_try) 2>&5
29674 ac_status=$?
29675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29676 (exit $ac_status); }; }; then
29677 ac_cv_func_pthread_attr_setschedparam=yes
29678 else
29679 echo "$as_me: failed program was:" >&5
29680 sed 's/^/| /' conftest.$ac_ext >&5
29681
29682 ac_cv_func_pthread_attr_setschedparam=no
29683 fi
29684 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29685 fi
29686 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29687 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29688 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29689 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29690 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29691 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29692 echo $ECHO_N "(cached) $ECHO_C" >&6
29693 else
29694 cat >conftest.$ac_ext <<_ACEOF
29695 #line $LINENO "configure"
29696 /* confdefs.h. */
29697 _ACEOF
29698 cat confdefs.h >>conftest.$ac_ext
29699 cat >>conftest.$ac_ext <<_ACEOF
29700 /* end confdefs.h. */
29701 /* System header to define __stub macros and hopefully few prototypes,
29702 which can conflict with char sched_get_priority_max (); below.
29703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29704 <limits.h> exists even on freestanding compilers. */
29705 #ifdef __STDC__
29706 # include <limits.h>
29707 #else
29708 # include <assert.h>
29709 #endif
29710 /* Override any gcc2 internal prototype to avoid an error. */
29711 #ifdef __cplusplus
29712 extern "C"
29713 {
29714 #endif
29715 /* We use char because int might match the return type of a gcc2
29716 builtin and then its argument prototype would still apply. */
29717 char sched_get_priority_max ();
29718 /* The GNU C library defines this for functions which it implements
29719 to always fail with ENOSYS. Some functions are actually named
29720 something starting with __ and the normal name is an alias. */
29721 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29722 choke me
29723 #else
29724 char (*f) () = sched_get_priority_max;
29725 #endif
29726 #ifdef __cplusplus
29727 }
29728 #endif
29729
29730 int
29731 main ()
29732 {
29733 return f != sched_get_priority_max;
29734 ;
29735 return 0;
29736 }
29737 _ACEOF
29738 rm -f conftest.$ac_objext conftest$ac_exeext
29739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29740 (eval $ac_link) 2>&5
29741 ac_status=$?
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); } &&
29744 { ac_try='test -s conftest$ac_exeext'
29745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29746 (eval $ac_try) 2>&5
29747 ac_status=$?
29748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29749 (exit $ac_status); }; }; then
29750 ac_cv_func_sched_get_priority_max=yes
29751 else
29752 echo "$as_me: failed program was:" >&5
29753 sed 's/^/| /' conftest.$ac_ext >&5
29754
29755 ac_cv_func_sched_get_priority_max=no
29756 fi
29757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29758 fi
29759 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29760 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29761 if test $ac_cv_func_sched_get_priority_max = yes; then
29762 HAVE_PRIOR_FUNCS=1
29763 else
29764 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29765 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29766 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29767 echo $ECHO_N "(cached) $ECHO_C" >&6
29768 else
29769 ac_check_lib_save_LIBS=$LIBS
29770 LIBS="-lposix4 $LIBS"
29771 cat >conftest.$ac_ext <<_ACEOF
29772 #line $LINENO "configure"
29773 /* confdefs.h. */
29774 _ACEOF
29775 cat confdefs.h >>conftest.$ac_ext
29776 cat >>conftest.$ac_ext <<_ACEOF
29777 /* end confdefs.h. */
29778
29779 /* Override any gcc2 internal prototype to avoid an error. */
29780 #ifdef __cplusplus
29781 extern "C"
29782 #endif
29783 /* We use char because int might match the return type of a gcc2
29784 builtin and then its argument prototype would still apply. */
29785 char sched_get_priority_max ();
29786 int
29787 main ()
29788 {
29789 sched_get_priority_max ();
29790 ;
29791 return 0;
29792 }
29793 _ACEOF
29794 rm -f conftest.$ac_objext conftest$ac_exeext
29795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29796 (eval $ac_link) 2>&5
29797 ac_status=$?
29798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29799 (exit $ac_status); } &&
29800 { ac_try='test -s conftest$ac_exeext'
29801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29802 (eval $ac_try) 2>&5
29803 ac_status=$?
29804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29805 (exit $ac_status); }; }; then
29806 ac_cv_lib_posix4_sched_get_priority_max=yes
29807 else
29808 echo "$as_me: failed program was:" >&5
29809 sed 's/^/| /' conftest.$ac_ext >&5
29810
29811 ac_cv_lib_posix4_sched_get_priority_max=no
29812 fi
29813 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29814 LIBS=$ac_check_lib_save_LIBS
29815 fi
29816 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29817 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29818 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29819
29820 HAVE_PRIOR_FUNCS=1
29821 POSIX4_LINK=" -lposix4"
29822
29823 fi
29824
29825
29826 fi
29827
29828
29829 fi
29830
29831
29832 fi
29833
29834
29835 if test "$HAVE_PRIOR_FUNCS" = 1; then
29836 cat >>confdefs.h <<\_ACEOF
29837 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29838 _ACEOF
29839
29840 else
29841 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29842 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29843 fi
29844
29845 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29846 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29847 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29848 echo $ECHO_N "(cached) $ECHO_C" >&6
29849 else
29850 cat >conftest.$ac_ext <<_ACEOF
29851 #line $LINENO "configure"
29852 /* confdefs.h. */
29853 _ACEOF
29854 cat confdefs.h >>conftest.$ac_ext
29855 cat >>conftest.$ac_ext <<_ACEOF
29856 /* end confdefs.h. */
29857 /* System header to define __stub macros and hopefully few prototypes,
29858 which can conflict with char pthread_cancel (); below.
29859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29860 <limits.h> exists even on freestanding compilers. */
29861 #ifdef __STDC__
29862 # include <limits.h>
29863 #else
29864 # include <assert.h>
29865 #endif
29866 /* Override any gcc2 internal prototype to avoid an error. */
29867 #ifdef __cplusplus
29868 extern "C"
29869 {
29870 #endif
29871 /* We use char because int might match the return type of a gcc2
29872 builtin and then its argument prototype would still apply. */
29873 char pthread_cancel ();
29874 /* The GNU C library defines this for functions which it implements
29875 to always fail with ENOSYS. Some functions are actually named
29876 something starting with __ and the normal name is an alias. */
29877 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29878 choke me
29879 #else
29880 char (*f) () = pthread_cancel;
29881 #endif
29882 #ifdef __cplusplus
29883 }
29884 #endif
29885
29886 int
29887 main ()
29888 {
29889 return f != pthread_cancel;
29890 ;
29891 return 0;
29892 }
29893 _ACEOF
29894 rm -f conftest.$ac_objext conftest$ac_exeext
29895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29896 (eval $ac_link) 2>&5
29897 ac_status=$?
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); } &&
29900 { ac_try='test -s conftest$ac_exeext'
29901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29902 (eval $ac_try) 2>&5
29903 ac_status=$?
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); }; }; then
29906 ac_cv_func_pthread_cancel=yes
29907 else
29908 echo "$as_me: failed program was:" >&5
29909 sed 's/^/| /' conftest.$ac_ext >&5
29910
29911 ac_cv_func_pthread_cancel=no
29912 fi
29913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29914 fi
29915 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29916 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29917 if test $ac_cv_func_pthread_cancel = yes; then
29918 cat >>confdefs.h <<\_ACEOF
29919 #define HAVE_PTHREAD_CANCEL 1
29920 _ACEOF
29921
29922 else
29923 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29924 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29925 fi
29926
29927
29928 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29929 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29930 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29931 echo $ECHO_N "(cached) $ECHO_C" >&6
29932 else
29933
29934 cat >conftest.$ac_ext <<_ACEOF
29935 #line $LINENO "configure"
29936 /* confdefs.h. */
29937 _ACEOF
29938 cat confdefs.h >>conftest.$ac_ext
29939 cat >>conftest.$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29941 #include <pthread.h>
29942 int
29943 main ()
29944 {
29945
29946 pthread_cleanup_push(NULL, NULL);
29947 pthread_cleanup_pop(0);
29948
29949 ;
29950 return 0;
29951 }
29952 _ACEOF
29953 rm -f conftest.$ac_objext
29954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29955 (eval $ac_compile) 2>&5
29956 ac_status=$?
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); } &&
29959 { ac_try='test -s conftest.$ac_objext'
29960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29961 (eval $ac_try) 2>&5
29962 ac_status=$?
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); }; }; then
29965
29966 wx_cv_func_pthread_cleanup_push=yes
29967
29968 else
29969 echo "$as_me: failed program was:" >&5
29970 sed 's/^/| /' conftest.$ac_ext >&5
29971
29972
29973 wx_cv_func_pthread_cleanup_push=no
29974
29975 fi
29976 rm -f conftest.$ac_objext conftest.$ac_ext
29977
29978 fi
29979 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29980 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29981
29982 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29983 cat >>confdefs.h <<\_ACEOF
29984 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29985 _ACEOF
29986
29987 fi
29988
29989
29990 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29991 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29992 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29993 echo $ECHO_N "(cached) $ECHO_C" >&6
29994 else
29995
29996 cat >conftest.$ac_ext <<_ACEOF
29997 #line $LINENO "configure"
29998 /* confdefs.h. */
29999 _ACEOF
30000 cat confdefs.h >>conftest.$ac_ext
30001 cat >>conftest.$ac_ext <<_ACEOF
30002 /* end confdefs.h. */
30003 #include <pthread.h>
30004 int
30005 main ()
30006 {
30007
30008 pthread_mutexattr_t attr;
30009 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30010
30011 ;
30012 return 0;
30013 }
30014 _ACEOF
30015 rm -f conftest.$ac_objext
30016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30017 (eval $ac_compile) 2>&5
30018 ac_status=$?
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); } &&
30021 { ac_try='test -s conftest.$ac_objext'
30022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30023 (eval $ac_try) 2>&5
30024 ac_status=$?
30025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30026 (exit $ac_status); }; }; then
30027
30028 wx_cv_type_pthread_mutexattr_t=yes
30029
30030 else
30031 echo "$as_me: failed program was:" >&5
30032 sed 's/^/| /' conftest.$ac_ext >&5
30033
30034
30035 wx_cv_type_pthread_mutexattr_t=no
30036
30037
30038 fi
30039 rm -f conftest.$ac_objext conftest.$ac_ext
30040
30041 fi
30042 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30043 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30044
30045 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30046 cat >>confdefs.h <<\_ACEOF
30047 #define HAVE_PTHREAD_MUTEXATTR_T 1
30048 _ACEOF
30049
30050 else
30051 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30052 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30053 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30054 echo $ECHO_N "(cached) $ECHO_C" >&6
30055 else
30056
30057 cat >conftest.$ac_ext <<_ACEOF
30058 #line $LINENO "configure"
30059 /* confdefs.h. */
30060 _ACEOF
30061 cat confdefs.h >>conftest.$ac_ext
30062 cat >>conftest.$ac_ext <<_ACEOF
30063 /* end confdefs.h. */
30064 #include <pthread.h>
30065 int
30066 main ()
30067 {
30068
30069 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30070
30071 ;
30072 return 0;
30073 }
30074 _ACEOF
30075 rm -f conftest.$ac_objext
30076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30077 (eval $ac_compile) 2>&5
30078 ac_status=$?
30079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30080 (exit $ac_status); } &&
30081 { ac_try='test -s conftest.$ac_objext'
30082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30083 (eval $ac_try) 2>&5
30084 ac_status=$?
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); }; }; then
30087
30088 wx_cv_type_pthread_rec_mutex_init=yes
30089
30090 else
30091 echo "$as_me: failed program was:" >&5
30092 sed 's/^/| /' conftest.$ac_ext >&5
30093
30094
30095 wx_cv_type_pthread_rec_mutex_init=no
30096
30097
30098 fi
30099 rm -f conftest.$ac_objext conftest.$ac_ext
30100
30101 fi
30102 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30103 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30104 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30105 cat >>confdefs.h <<\_ACEOF
30106 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30107 _ACEOF
30108
30109 else
30110 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30111 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30112 fi
30113 fi
30114 fi
30115
30116 else
30117 if test "$wxUSE_THREADS" = "yes" ; then
30118 case "${host}" in
30119 *-*-mingw32* )
30120 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30121 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30122 if test "${wx_cv_cflags_mthread+set}" = set; then
30123 echo $ECHO_N "(cached) $ECHO_C" >&6
30124 else
30125
30126 CFLAGS_OLD="$CFLAGS"
30127 CFLAGS="$CFLAGS -mthreads"
30128 cat >conftest.$ac_ext <<_ACEOF
30129 #line $LINENO "configure"
30130 /* confdefs.h. */
30131 _ACEOF
30132 cat confdefs.h >>conftest.$ac_ext
30133 cat >>conftest.$ac_ext <<_ACEOF
30134 /* end confdefs.h. */
30135
30136 int
30137 main ()
30138 {
30139
30140 ;
30141 return 0;
30142 }
30143 _ACEOF
30144 rm -f conftest.$ac_objext
30145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30146 (eval $ac_compile) 2>&5
30147 ac_status=$?
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); } &&
30150 { ac_try='test -s conftest.$ac_objext'
30151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30152 (eval $ac_try) 2>&5
30153 ac_status=$?
30154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155 (exit $ac_status); }; }; then
30156 wx_cv_cflags_mthread=yes
30157 else
30158 echo "$as_me: failed program was:" >&5
30159 sed 's/^/| /' conftest.$ac_ext >&5
30160
30161 wx_cv_cflags_mthread=no
30162
30163 fi
30164 rm -f conftest.$ac_objext conftest.$ac_ext
30165
30166
30167 fi
30168 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30169 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30170
30171 if test "$wx_cv_cflags_mthread" = "yes"; then
30172 CXXFLAGS="$CXXFLAGS -mthreads"
30173 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30174 LDFLAGS="$LDFLAGS -mthreads"
30175 else
30176 CFLAGS="$CFLAGS_OLD"
30177 fi
30178 ;;
30179 esac
30180 fi
30181 fi
30182
30183 if test "$wxUSE_THREADS" = "yes"; then
30184 cat >>confdefs.h <<\_ACEOF
30185 #define wxUSE_THREADS 1
30186 _ACEOF
30187
30188
30189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30190 else
30191 if test "$ac_cv_func_strtok_r" = "yes"; then
30192 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30193 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30194 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30195 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30196 echo "$as_me:$LINENO: result: yes" >&5
30197 echo "${ECHO_T}yes" >&6
30198 else
30199 echo "$as_me:$LINENO: result: no" >&5
30200 echo "${ECHO_T}no" >&6
30201 fi
30202 fi
30203 fi
30204
30205 if test "$WXGTK20" = 1 ; then
30206 cat >>confdefs.h <<_ACEOF
30207 #define __WXGTK20__ $WXGTK20
30208 _ACEOF
30209
30210 WXGTK12=1
30211 fi
30212
30213 if test "$WXGTK12" = 1 ; then
30214 cat >>confdefs.h <<_ACEOF
30215 #define __WXGTK12__ $WXGTK12
30216 _ACEOF
30217
30218 fi
30219
30220 if test "$WXGTK127" = 1 ; then
30221 cat >>confdefs.h <<_ACEOF
30222 #define __WXGTK127__ $WXGTK127
30223 _ACEOF
30224
30225 fi
30226
30227 WXDEBUG=
30228
30229 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30230 WXDEBUG="-g"
30231 wxUSE_OPTIMISE=no
30232 fi
30233
30234 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30235 wxUSE_DEBUG_INFO=yes
30236 WXDEBUG="-ggdb"
30237 fi
30238
30239 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30240 cat >>confdefs.h <<\_ACEOF
30241 #define WXDEBUG 1
30242 _ACEOF
30243
30244 WXDEBUG_DEFINE="-D__WXDEBUG__"
30245 else
30246 if test "$wxUSE_GTK" = 1 ; then
30247 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30248 fi
30249 fi
30250
30251 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30252 cat >>confdefs.h <<\_ACEOF
30253 #define wxUSE_MEMORY_TRACING 1
30254 _ACEOF
30255
30256 cat >>confdefs.h <<\_ACEOF
30257 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30258 _ACEOF
30259
30260 cat >>confdefs.h <<\_ACEOF
30261 #define wxUSE_DEBUG_NEW_ALWAYS 1
30262 _ACEOF
30263
30264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30265 fi
30266
30267 if test "$wxUSE_DMALLOC" = "yes" ; then
30268 DMALLOC_LIBS="-ldmalloc"
30269 fi
30270
30271 PROFILE=
30272 if test "$wxUSE_PROFILE" = "yes" ; then
30273 PROFILE=" -pg"
30274 fi
30275
30276 CODE_GEN_FLAGS=
30277 CODE_GEN_FLAGS_CXX=
30278 if test "$GCC" = "yes" ; then
30279 if test "$wxUSE_NO_RTTI" = "yes" ; then
30280 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30281 fi
30282 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30283 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30284 fi
30285 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30286 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30287 fi
30288
30289 case "${host}" in
30290 powerpc*-*-aix* )
30291 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30292 ;;
30293 *-hppa* )
30294 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30295 ;;
30296 esac
30297 fi
30298
30299 OPTIMISE=
30300 if test "$wxUSE_OPTIMISE" = "no" ; then
30301 if test "$GCC" = yes ; then
30302 OPTIMISE="-O0"
30303 fi
30304 else
30305 if test "$GCC" = yes ; then
30306 OPTIMISE="-O2"
30307
30308 case "${host}" in
30309 i586-*-*|i686-*-* )
30310 OPTIMISE="${OPTIMISE} "
30311 ;;
30312 esac
30313 else
30314 OPTIMISE="-O"
30315 fi
30316 fi
30317
30318
30319 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
30320 cat >>confdefs.h <<\_ACEOF
30321 #define WXWIN_COMPATIBILITY_2 1
30322 _ACEOF
30323
30324
30325 WXWIN_COMPATIBILITY_2_2="yes"
30326 fi
30327
30328 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30329 cat >>confdefs.h <<\_ACEOF
30330 #define WXWIN_COMPATIBILITY_2_2 1
30331 _ACEOF
30332
30333
30334 WXWIN_COMPATIBILITY_2_4="yes"
30335 fi
30336
30337 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30338 cat >>confdefs.h <<\_ACEOF
30339 #define WXWIN_COMPATIBILITY_2_4 1
30340 _ACEOF
30341
30342 fi
30343
30344
30345 if test "$wxUSE_GUI" = "yes"; then
30346 cat >>confdefs.h <<\_ACEOF
30347 #define wxUSE_GUI 1
30348 _ACEOF
30349
30350
30351 else
30352 cat >>confdefs.h <<\_ACEOF
30353 #define wxUSE_NOGUI 1
30354 _ACEOF
30355
30356 fi
30357
30358
30359 if test "$wxUSE_UNIX" = "yes"; then
30360 cat >>confdefs.h <<\_ACEOF
30361 #define wxUSE_UNIX 1
30362 _ACEOF
30363
30364 fi
30365
30366
30367 if test "$wxUSE_STL" = "yes"; then
30368 cat >>confdefs.h <<\_ACEOF
30369 #define wxUSE_STL 1
30370 _ACEOF
30371
30372 fi
30373
30374 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30375 cat >>confdefs.h <<\_ACEOF
30376 #define wxUSE_APPLE_IEEE 1
30377 _ACEOF
30378
30379 fi
30380
30381 if test "$wxUSE_TIMER" = "yes"; then
30382 cat >>confdefs.h <<\_ACEOF
30383 #define wxUSE_TIMER 1
30384 _ACEOF
30385
30386 fi
30387
30388 if test "$wxUSE_WAVE" = "yes"; then
30389 cat >>confdefs.h <<\_ACEOF
30390 #define wxUSE_WAVE 1
30391 _ACEOF
30392
30393 fi
30394
30395 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30396 cat >>confdefs.h <<\_ACEOF
30397 #define wxUSE_CMDLINE_PARSER 1
30398 _ACEOF
30399
30400 fi
30401
30402 if test "$wxUSE_STOPWATCH" = "yes"; then
30403 cat >>confdefs.h <<\_ACEOF
30404 #define wxUSE_STOPWATCH 1
30405 _ACEOF
30406
30407 fi
30408
30409 if test "$wxUSE_DATETIME" = "yes"; then
30410 cat >>confdefs.h <<\_ACEOF
30411 #define wxUSE_DATETIME 1
30412 _ACEOF
30413
30414 fi
30415
30416 if test "$wxUSE_FILE" = "yes"; then
30417 cat >>confdefs.h <<\_ACEOF
30418 #define wxUSE_FILE 1
30419 _ACEOF
30420
30421 fi
30422
30423 if test "$wxUSE_FFILE" = "yes"; then
30424 cat >>confdefs.h <<\_ACEOF
30425 #define wxUSE_FFILE 1
30426 _ACEOF
30427
30428 fi
30429
30430 if test "$wxUSE_FILESYSTEM" = "yes"; then
30431 cat >>confdefs.h <<\_ACEOF
30432 #define wxUSE_FILESYSTEM 1
30433 _ACEOF
30434
30435 fi
30436
30437 if test "$wxUSE_FS_ZIP" = "yes"; then
30438 cat >>confdefs.h <<\_ACEOF
30439 #define wxUSE_FS_ZIP 1
30440 _ACEOF
30441
30442 fi
30443
30444 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30445 cat >>confdefs.h <<\_ACEOF
30446 #define wxUSE_ZIPSTREAM 1
30447 _ACEOF
30448
30449 fi
30450
30451 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30452 cat >>confdefs.h <<\_ACEOF
30453 #define wxUSE_ON_FATAL_EXCEPTION 1
30454 _ACEOF
30455
30456 fi
30457
30458 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30459 cat >>confdefs.h <<\_ACEOF
30460 #define wxUSE_SNGLINST_CHECKER 1
30461 _ACEOF
30462
30463 fi
30464
30465 if test "$wxUSE_BUSYINFO" = "yes"; then
30466 cat >>confdefs.h <<\_ACEOF
30467 #define wxUSE_BUSYINFO 1
30468 _ACEOF
30469
30470 fi
30471
30472 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30473 cat >>confdefs.h <<\_ACEOF
30474 #define wxUSE_STD_IOSTREAM 1
30475 _ACEOF
30476
30477 fi
30478
30479 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30480 cat >>confdefs.h <<\_ACEOF
30481 #define wxUSE_TEXTBUFFER 1
30482 _ACEOF
30483
30484 fi
30485
30486 if test "$wxUSE_TEXTFILE" = "yes"; then
30487 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30488 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30489 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30490 else
30491 cat >>confdefs.h <<\_ACEOF
30492 #define wxUSE_TEXTFILE 1
30493 _ACEOF
30494
30495 fi
30496 fi
30497
30498 if test "$wxUSE_CONFIG" = "yes" ; then
30499 if test "$wxUSE_TEXTFILE" != "yes"; then
30500 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30501 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30502 else
30503 cat >>confdefs.h <<\_ACEOF
30504 #define wxUSE_CONFIG 1
30505 _ACEOF
30506
30507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30508 fi
30509 fi
30510
30511 if test "$wxUSE_INTL" = "yes" ; then
30512 if test "$wxUSE_FILE" != "yes"; then
30513 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30514 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30515 else
30516 cat >>confdefs.h <<\_ACEOF
30517 #define wxUSE_INTL 1
30518 _ACEOF
30519
30520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30521 GUIDIST="$GUIDIST INTL_DIST"
30522 fi
30523 fi
30524
30525 if test "$wxUSE_LOG" = "yes"; then
30526 cat >>confdefs.h <<\_ACEOF
30527 #define wxUSE_LOG 1
30528 _ACEOF
30529
30530
30531 if test "$wxUSE_LOGGUI" = "yes"; then
30532 cat >>confdefs.h <<\_ACEOF
30533 #define wxUSE_LOGGUI 1
30534 _ACEOF
30535
30536 fi
30537
30538 if test "$wxUSE_LOGWINDOW" = "yes"; then
30539 cat >>confdefs.h <<\_ACEOF
30540 #define wxUSE_LOGWINDOW 1
30541 _ACEOF
30542
30543 fi
30544
30545 if test "$wxUSE_LOGDIALOG" = "yes"; then
30546 cat >>confdefs.h <<\_ACEOF
30547 #define wxUSE_LOG_DIALOG 1
30548 _ACEOF
30549
30550 fi
30551 fi
30552
30553 if test "$wxUSE_LONGLONG" = "yes"; then
30554 cat >>confdefs.h <<\_ACEOF
30555 #define wxUSE_LONGLONG 1
30556 _ACEOF
30557
30558 fi
30559
30560 if test "$wxUSE_GEOMETRY" = "yes"; then
30561 cat >>confdefs.h <<\_ACEOF
30562 #define wxUSE_GEOMETRY 1
30563 _ACEOF
30564
30565 fi
30566
30567 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30568 cat >>confdefs.h <<\_ACEOF
30569 #define wxUSE_DIALUP_MANAGER 1
30570 _ACEOF
30571
30572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30573 fi
30574
30575 if test "$wxUSE_STREAMS" = "yes" ; then
30576 cat >>confdefs.h <<\_ACEOF
30577 #define wxUSE_STREAMS 1
30578 _ACEOF
30579
30580 fi
30581
30582
30583 if test "$wxUSE_DATETIME" = "yes"; then
30584
30585 for ac_func in strptime
30586 do
30587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30588 echo "$as_me:$LINENO: checking for $ac_func" >&5
30589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30590 if eval "test \"\${$as_ac_var+set}\" = set"; then
30591 echo $ECHO_N "(cached) $ECHO_C" >&6
30592 else
30593 cat >conftest.$ac_ext <<_ACEOF
30594 #line $LINENO "configure"
30595 /* confdefs.h. */
30596 _ACEOF
30597 cat confdefs.h >>conftest.$ac_ext
30598 cat >>conftest.$ac_ext <<_ACEOF
30599 /* end confdefs.h. */
30600 /* System header to define __stub macros and hopefully few prototypes,
30601 which can conflict with char $ac_func (); below.
30602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30603 <limits.h> exists even on freestanding compilers. */
30604 #ifdef __STDC__
30605 # include <limits.h>
30606 #else
30607 # include <assert.h>
30608 #endif
30609 /* Override any gcc2 internal prototype to avoid an error. */
30610 #ifdef __cplusplus
30611 extern "C"
30612 {
30613 #endif
30614 /* We use char because int might match the return type of a gcc2
30615 builtin and then its argument prototype would still apply. */
30616 char $ac_func ();
30617 /* The GNU C library defines this for functions which it implements
30618 to always fail with ENOSYS. Some functions are actually named
30619 something starting with __ and the normal name is an alias. */
30620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30621 choke me
30622 #else
30623 char (*f) () = $ac_func;
30624 #endif
30625 #ifdef __cplusplus
30626 }
30627 #endif
30628
30629 int
30630 main ()
30631 {
30632 return f != $ac_func;
30633 ;
30634 return 0;
30635 }
30636 _ACEOF
30637 rm -f conftest.$ac_objext conftest$ac_exeext
30638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30639 (eval $ac_link) 2>&5
30640 ac_status=$?
30641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30642 (exit $ac_status); } &&
30643 { ac_try='test -s conftest$ac_exeext'
30644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30645 (eval $ac_try) 2>&5
30646 ac_status=$?
30647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30648 (exit $ac_status); }; }; then
30649 eval "$as_ac_var=yes"
30650 else
30651 echo "$as_me: failed program was:" >&5
30652 sed 's/^/| /' conftest.$ac_ext >&5
30653
30654 eval "$as_ac_var=no"
30655 fi
30656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30657 fi
30658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30660 if test `eval echo '${'$as_ac_var'}'` = yes; then
30661 cat >>confdefs.h <<_ACEOF
30662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30663 _ACEOF
30664
30665 fi
30666 done
30667
30668
30669 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30670 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30671 if test "${wx_cv_var_timezone+set}" = set; then
30672 echo $ECHO_N "(cached) $ECHO_C" >&6
30673 else
30674
30675 cat >conftest.$ac_ext <<_ACEOF
30676 #line $LINENO "configure"
30677 /* confdefs.h. */
30678 _ACEOF
30679 cat confdefs.h >>conftest.$ac_ext
30680 cat >>conftest.$ac_ext <<_ACEOF
30681 /* end confdefs.h. */
30682
30683 #include <time.h>
30684
30685 int
30686 main ()
30687 {
30688
30689 int tz;
30690 tz = timezone;
30691
30692 ;
30693 return 0;
30694 }
30695 _ACEOF
30696 rm -f conftest.$ac_objext
30697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30698 (eval $ac_compile) 2>&5
30699 ac_status=$?
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } &&
30702 { ac_try='test -s conftest.$ac_objext'
30703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30704 (eval $ac_try) 2>&5
30705 ac_status=$?
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); }; }; then
30708
30709 wx_cv_var_timezone=timezone
30710
30711 else
30712 echo "$as_me: failed program was:" >&5
30713 sed 's/^/| /' conftest.$ac_ext >&5
30714
30715
30716 cat >conftest.$ac_ext <<_ACEOF
30717 #line $LINENO "configure"
30718 /* confdefs.h. */
30719 _ACEOF
30720 cat confdefs.h >>conftest.$ac_ext
30721 cat >>conftest.$ac_ext <<_ACEOF
30722 /* end confdefs.h. */
30723
30724 #include <time.h>
30725
30726 int
30727 main ()
30728 {
30729
30730 int tz;
30731 tz = _timezone;
30732
30733 ;
30734 return 0;
30735 }
30736 _ACEOF
30737 rm -f conftest.$ac_objext
30738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30739 (eval $ac_compile) 2>&5
30740 ac_status=$?
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); } &&
30743 { ac_try='test -s conftest.$ac_objext'
30744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30745 (eval $ac_try) 2>&5
30746 ac_status=$?
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); }; }; then
30749
30750 wx_cv_var_timezone=_timezone
30751
30752 else
30753 echo "$as_me: failed program was:" >&5
30754 sed 's/^/| /' conftest.$ac_ext >&5
30755
30756
30757 cat >conftest.$ac_ext <<_ACEOF
30758 #line $LINENO "configure"
30759 /* confdefs.h. */
30760 _ACEOF
30761 cat confdefs.h >>conftest.$ac_ext
30762 cat >>conftest.$ac_ext <<_ACEOF
30763 /* end confdefs.h. */
30764
30765 #include <time.h>
30766
30767 int
30768 main ()
30769 {
30770
30771 int tz;
30772 tz = __timezone;
30773
30774 ;
30775 return 0;
30776 }
30777 _ACEOF
30778 rm -f conftest.$ac_objext
30779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30780 (eval $ac_compile) 2>&5
30781 ac_status=$?
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); } &&
30784 { ac_try='test -s conftest.$ac_objext'
30785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30786 (eval $ac_try) 2>&5
30787 ac_status=$?
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); }; }; then
30790
30791 wx_cv_var_timezone=__timezone
30792
30793 else
30794 echo "$as_me: failed program was:" >&5
30795 sed 's/^/| /' conftest.$ac_ext >&5
30796
30797
30798 if test "$USE_DOS" = 0 ; then
30799 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30800 echo "$as_me: WARNING: no timezone variable" >&2;}
30801 fi
30802
30803
30804 fi
30805 rm -f conftest.$ac_objext conftest.$ac_ext
30806
30807
30808 fi
30809 rm -f conftest.$ac_objext conftest.$ac_ext
30810
30811
30812 fi
30813 rm -f conftest.$ac_objext conftest.$ac_ext
30814
30815
30816 fi
30817 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30818 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30819
30820 if test "x$wx_cv_var_timezone" != x ; then
30821 cat >>confdefs.h <<_ACEOF
30822 #define WX_TIMEZONE $wx_cv_var_timezone
30823 _ACEOF
30824
30825 fi
30826
30827
30828 for ac_func in localtime
30829 do
30830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30831 echo "$as_me:$LINENO: checking for $ac_func" >&5
30832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30833 if eval "test \"\${$as_ac_var+set}\" = set"; then
30834 echo $ECHO_N "(cached) $ECHO_C" >&6
30835 else
30836 cat >conftest.$ac_ext <<_ACEOF
30837 #line $LINENO "configure"
30838 /* confdefs.h. */
30839 _ACEOF
30840 cat confdefs.h >>conftest.$ac_ext
30841 cat >>conftest.$ac_ext <<_ACEOF
30842 /* end confdefs.h. */
30843 /* System header to define __stub macros and hopefully few prototypes,
30844 which can conflict with char $ac_func (); below.
30845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30846 <limits.h> exists even on freestanding compilers. */
30847 #ifdef __STDC__
30848 # include <limits.h>
30849 #else
30850 # include <assert.h>
30851 #endif
30852 /* Override any gcc2 internal prototype to avoid an error. */
30853 #ifdef __cplusplus
30854 extern "C"
30855 {
30856 #endif
30857 /* We use char because int might match the return type of a gcc2
30858 builtin and then its argument prototype would still apply. */
30859 char $ac_func ();
30860 /* The GNU C library defines this for functions which it implements
30861 to always fail with ENOSYS. Some functions are actually named
30862 something starting with __ and the normal name is an alias. */
30863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30864 choke me
30865 #else
30866 char (*f) () = $ac_func;
30867 #endif
30868 #ifdef __cplusplus
30869 }
30870 #endif
30871
30872 int
30873 main ()
30874 {
30875 return f != $ac_func;
30876 ;
30877 return 0;
30878 }
30879 _ACEOF
30880 rm -f conftest.$ac_objext conftest$ac_exeext
30881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30882 (eval $ac_link) 2>&5
30883 ac_status=$?
30884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885 (exit $ac_status); } &&
30886 { ac_try='test -s conftest$ac_exeext'
30887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30888 (eval $ac_try) 2>&5
30889 ac_status=$?
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); }; }; then
30892 eval "$as_ac_var=yes"
30893 else
30894 echo "$as_me: failed program was:" >&5
30895 sed 's/^/| /' conftest.$ac_ext >&5
30896
30897 eval "$as_ac_var=no"
30898 fi
30899 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30900 fi
30901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30903 if test `eval echo '${'$as_ac_var'}'` = yes; then
30904 cat >>confdefs.h <<_ACEOF
30905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30906 _ACEOF
30907
30908 fi
30909 done
30910
30911
30912 if test "$ac_cv_func_localtime" = "yes"; then
30913 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30914 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30915 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30916 echo $ECHO_N "(cached) $ECHO_C" >&6
30917 else
30918
30919 cat >conftest.$ac_ext <<_ACEOF
30920 #line $LINENO "configure"
30921 /* confdefs.h. */
30922 _ACEOF
30923 cat confdefs.h >>conftest.$ac_ext
30924 cat >>conftest.$ac_ext <<_ACEOF
30925 /* end confdefs.h. */
30926
30927 #include <time.h>
30928
30929 int
30930 main ()
30931 {
30932
30933 struct tm tm;
30934 tm.tm_gmtoff++;
30935
30936 ;
30937 return 0;
30938 }
30939 _ACEOF
30940 rm -f conftest.$ac_objext
30941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30942 (eval $ac_compile) 2>&5
30943 ac_status=$?
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); } &&
30946 { ac_try='test -s conftest.$ac_objext'
30947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30948 (eval $ac_try) 2>&5
30949 ac_status=$?
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); }; }; then
30952
30953 wx_cv_struct_tm_has_gmtoff=yes
30954
30955 else
30956 echo "$as_me: failed program was:" >&5
30957 sed 's/^/| /' conftest.$ac_ext >&5
30958
30959 wx_cv_struct_tm_has_gmtoff=no
30960
30961 fi
30962 rm -f conftest.$ac_objext conftest.$ac_ext
30963
30964 fi
30965 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30966 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30967 fi
30968
30969 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30970 cat >>confdefs.h <<\_ACEOF
30971 #define WX_GMTOFF_IN_TM 1
30972 _ACEOF
30973
30974 fi
30975
30976
30977
30978 for ac_func in gettimeofday ftime
30979 do
30980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30981 echo "$as_me:$LINENO: checking for $ac_func" >&5
30982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30983 if eval "test \"\${$as_ac_var+set}\" = set"; then
30984 echo $ECHO_N "(cached) $ECHO_C" >&6
30985 else
30986 cat >conftest.$ac_ext <<_ACEOF
30987 #line $LINENO "configure"
30988 /* confdefs.h. */
30989 _ACEOF
30990 cat confdefs.h >>conftest.$ac_ext
30991 cat >>conftest.$ac_ext <<_ACEOF
30992 /* end confdefs.h. */
30993 /* System header to define __stub macros and hopefully few prototypes,
30994 which can conflict with char $ac_func (); below.
30995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30996 <limits.h> exists even on freestanding compilers. */
30997 #ifdef __STDC__
30998 # include <limits.h>
30999 #else
31000 # include <assert.h>
31001 #endif
31002 /* Override any gcc2 internal prototype to avoid an error. */
31003 #ifdef __cplusplus
31004 extern "C"
31005 {
31006 #endif
31007 /* We use char because int might match the return type of a gcc2
31008 builtin and then its argument prototype would still apply. */
31009 char $ac_func ();
31010 /* The GNU C library defines this for functions which it implements
31011 to always fail with ENOSYS. Some functions are actually named
31012 something starting with __ and the normal name is an alias. */
31013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31014 choke me
31015 #else
31016 char (*f) () = $ac_func;
31017 #endif
31018 #ifdef __cplusplus
31019 }
31020 #endif
31021
31022 int
31023 main ()
31024 {
31025 return f != $ac_func;
31026 ;
31027 return 0;
31028 }
31029 _ACEOF
31030 rm -f conftest.$ac_objext conftest$ac_exeext
31031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31032 (eval $ac_link) 2>&5
31033 ac_status=$?
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } &&
31036 { ac_try='test -s conftest$ac_exeext'
31037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31038 (eval $ac_try) 2>&5
31039 ac_status=$?
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); }; }; then
31042 eval "$as_ac_var=yes"
31043 else
31044 echo "$as_me: failed program was:" >&5
31045 sed 's/^/| /' conftest.$ac_ext >&5
31046
31047 eval "$as_ac_var=no"
31048 fi
31049 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31050 fi
31051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31053 if test `eval echo '${'$as_ac_var'}'` = yes; then
31054 cat >>confdefs.h <<_ACEOF
31055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31056 _ACEOF
31057 break
31058 fi
31059 done
31060
31061
31062 if test "$ac_cv_func_gettimeofday" = "yes"; then
31063 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31064 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31065 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31066 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 else
31068
31069
31070
31071 ac_ext=cc
31072 ac_cpp='$CXXCPP $CPPFLAGS'
31073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31076
31077
31078 cat >conftest.$ac_ext <<_ACEOF
31079 #line $LINENO "configure"
31080 /* confdefs.h. */
31081 _ACEOF
31082 cat confdefs.h >>conftest.$ac_ext
31083 cat >>conftest.$ac_ext <<_ACEOF
31084 /* end confdefs.h. */
31085
31086 #include <sys/time.h>
31087 #include <unistd.h>
31088
31089 int
31090 main ()
31091 {
31092
31093 struct timeval tv;
31094 gettimeofday(&tv, NULL);
31095
31096 ;
31097 return 0;
31098 }
31099 _ACEOF
31100 rm -f conftest.$ac_objext
31101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31102 (eval $ac_compile) 2>&5
31103 ac_status=$?
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); } &&
31106 { ac_try='test -s conftest.$ac_objext'
31107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31108 (eval $ac_try) 2>&5
31109 ac_status=$?
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); }; }; then
31112 wx_cv_func_gettimeofday_has_2_args=yes
31113 else
31114 echo "$as_me: failed program was:" >&5
31115 sed 's/^/| /' conftest.$ac_ext >&5
31116
31117 cat >conftest.$ac_ext <<_ACEOF
31118 #line $LINENO "configure"
31119 /* confdefs.h. */
31120 _ACEOF
31121 cat confdefs.h >>conftest.$ac_ext
31122 cat >>conftest.$ac_ext <<_ACEOF
31123 /* end confdefs.h. */
31124
31125 #include <sys/time.h>
31126 #include <unistd.h>
31127
31128 int
31129 main ()
31130 {
31131
31132 struct timeval tv;
31133 gettimeofday(&tv);
31134
31135 ;
31136 return 0;
31137 }
31138 _ACEOF
31139 rm -f conftest.$ac_objext
31140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31141 (eval $ac_compile) 2>&5
31142 ac_status=$?
31143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31144 (exit $ac_status); } &&
31145 { ac_try='test -s conftest.$ac_objext'
31146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31147 (eval $ac_try) 2>&5
31148 ac_status=$?
31149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31150 (exit $ac_status); }; }; then
31151 wx_cv_func_gettimeofday_has_2_args=no
31152 else
31153 echo "$as_me: failed program was:" >&5
31154 sed 's/^/| /' conftest.$ac_ext >&5
31155
31156
31157 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31158 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31159 wx_cv_func_gettimeofday_has_2_args=unknown
31160
31161
31162 fi
31163 rm -f conftest.$ac_objext conftest.$ac_ext
31164
31165 fi
31166 rm -f conftest.$ac_objext conftest.$ac_ext
31167 ac_ext=c
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31172
31173
31174 fi
31175 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31176 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31177
31178 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31179 cat >>confdefs.h <<\_ACEOF
31180 #define WX_GETTIMEOFDAY_NO_TZ 1
31181 _ACEOF
31182
31183 fi
31184 fi
31185
31186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31187 fi
31188
31189
31190 if test "$wxUSE_SOCKETS" = "yes"; then
31191 if test "$wxUSE_MGL" = "1"; then
31192 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31193 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31194 wxUSE_SOCKETS="no"
31195 fi
31196 if test "$wxUSE_COCOA" = "1"; then
31197 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31198 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31199 wxUSE_SOCKETS="no"
31200 fi
31201 fi
31202
31203 if test "$wxUSE_SOCKETS" = "yes"; then
31204 if test "$TOOLKIT" != "MSW"; then
31205 echo "$as_me:$LINENO: checking for socket" >&5
31206 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31207 if test "${ac_cv_func_socket+set}" = set; then
31208 echo $ECHO_N "(cached) $ECHO_C" >&6
31209 else
31210 cat >conftest.$ac_ext <<_ACEOF
31211 #line $LINENO "configure"
31212 /* confdefs.h. */
31213 _ACEOF
31214 cat confdefs.h >>conftest.$ac_ext
31215 cat >>conftest.$ac_ext <<_ACEOF
31216 /* end confdefs.h. */
31217 /* System header to define __stub macros and hopefully few prototypes,
31218 which can conflict with char socket (); below.
31219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31220 <limits.h> exists even on freestanding compilers. */
31221 #ifdef __STDC__
31222 # include <limits.h>
31223 #else
31224 # include <assert.h>
31225 #endif
31226 /* Override any gcc2 internal prototype to avoid an error. */
31227 #ifdef __cplusplus
31228 extern "C"
31229 {
31230 #endif
31231 /* We use char because int might match the return type of a gcc2
31232 builtin and then its argument prototype would still apply. */
31233 char socket ();
31234 /* The GNU C library defines this for functions which it implements
31235 to always fail with ENOSYS. Some functions are actually named
31236 something starting with __ and the normal name is an alias. */
31237 #if defined (__stub_socket) || defined (__stub___socket)
31238 choke me
31239 #else
31240 char (*f) () = socket;
31241 #endif
31242 #ifdef __cplusplus
31243 }
31244 #endif
31245
31246 int
31247 main ()
31248 {
31249 return f != socket;
31250 ;
31251 return 0;
31252 }
31253 _ACEOF
31254 rm -f conftest.$ac_objext conftest$ac_exeext
31255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31256 (eval $ac_link) 2>&5
31257 ac_status=$?
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); } &&
31260 { ac_try='test -s conftest$ac_exeext'
31261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31262 (eval $ac_try) 2>&5
31263 ac_status=$?
31264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31265 (exit $ac_status); }; }; then
31266 ac_cv_func_socket=yes
31267 else
31268 echo "$as_me: failed program was:" >&5
31269 sed 's/^/| /' conftest.$ac_ext >&5
31270
31271 ac_cv_func_socket=no
31272 fi
31273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31274 fi
31275 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31276 echo "${ECHO_T}$ac_cv_func_socket" >&6
31277 if test $ac_cv_func_socket = yes; then
31278 :
31279 else
31280 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31281 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31282 if test "${ac_cv_lib_socket_socket+set}" = set; then
31283 echo $ECHO_N "(cached) $ECHO_C" >&6
31284 else
31285 ac_check_lib_save_LIBS=$LIBS
31286 LIBS="-lsocket $LIBS"
31287 cat >conftest.$ac_ext <<_ACEOF
31288 #line $LINENO "configure"
31289 /* confdefs.h. */
31290 _ACEOF
31291 cat confdefs.h >>conftest.$ac_ext
31292 cat >>conftest.$ac_ext <<_ACEOF
31293 /* end confdefs.h. */
31294
31295 /* Override any gcc2 internal prototype to avoid an error. */
31296 #ifdef __cplusplus
31297 extern "C"
31298 #endif
31299 /* We use char because int might match the return type of a gcc2
31300 builtin and then its argument prototype would still apply. */
31301 char socket ();
31302 int
31303 main ()
31304 {
31305 socket ();
31306 ;
31307 return 0;
31308 }
31309 _ACEOF
31310 rm -f conftest.$ac_objext conftest$ac_exeext
31311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31312 (eval $ac_link) 2>&5
31313 ac_status=$?
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); } &&
31316 { ac_try='test -s conftest$ac_exeext'
31317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318 (eval $ac_try) 2>&5
31319 ac_status=$?
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; }; then
31322 ac_cv_lib_socket_socket=yes
31323 else
31324 echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.$ac_ext >&5
31326
31327 ac_cv_lib_socket_socket=no
31328 fi
31329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31330 LIBS=$ac_check_lib_save_LIBS
31331 fi
31332 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31333 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31334 if test $ac_cv_lib_socket_socket = yes; then
31335 if test "$INET_LINK" != " -lsocket"; then
31336 INET_LINK="$INET_LINK -lsocket"
31337 fi
31338 else
31339
31340 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31341 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31342 wxUSE_SOCKETS=no
31343
31344
31345 fi
31346
31347
31348 fi
31349
31350 fi
31351 fi
31352
31353 if test "$wxUSE_SOCKETS" = "yes" ; then
31354 if test "$TOOLKIT" != "MSW"; then
31355 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31356 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31357 if test "${wx_cv_type_getsockname3+set}" = set; then
31358 echo $ECHO_N "(cached) $ECHO_C" >&6
31359 else
31360
31361 cat >conftest.$ac_ext <<_ACEOF
31362 #line $LINENO "configure"
31363 /* confdefs.h. */
31364 _ACEOF
31365 cat confdefs.h >>conftest.$ac_ext
31366 cat >>conftest.$ac_ext <<_ACEOF
31367 /* end confdefs.h. */
31368
31369 #include <sys/types.h>
31370 #include <sys/socket.h>
31371
31372 int
31373 main ()
31374 {
31375
31376 socklen_t len;
31377 getsockname(0, 0, &len);
31378
31379 ;
31380 return 0;
31381 }
31382 _ACEOF
31383 rm -f conftest.$ac_objext
31384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31385 (eval $ac_compile) 2>&5
31386 ac_status=$?
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } &&
31389 { ac_try='test -s conftest.$ac_objext'
31390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31391 (eval $ac_try) 2>&5
31392 ac_status=$?
31393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394 (exit $ac_status); }; }; then
31395 wx_cv_type_getsockname3=socklen_t
31396 else
31397 echo "$as_me: failed program was:" >&5
31398 sed 's/^/| /' conftest.$ac_ext >&5
31399
31400
31401 CFLAGS_OLD="$CFLAGS"
31402 if test "$GCC" = yes ; then
31403 CFLAGS="$CFLAGS -Werror"
31404 fi
31405
31406 cat >conftest.$ac_ext <<_ACEOF
31407 #line $LINENO "configure"
31408 /* confdefs.h. */
31409 _ACEOF
31410 cat confdefs.h >>conftest.$ac_ext
31411 cat >>conftest.$ac_ext <<_ACEOF
31412 /* end confdefs.h. */
31413
31414 #include <sys/types.h>
31415 #include <sys/socket.h>
31416
31417 int
31418 main ()
31419 {
31420
31421 size_t len;
31422 getsockname(0, 0, &len);
31423
31424 ;
31425 return 0;
31426 }
31427 _ACEOF
31428 rm -f conftest.$ac_objext
31429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31430 (eval $ac_compile) 2>&5
31431 ac_status=$?
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); } &&
31434 { ac_try='test -s conftest.$ac_objext'
31435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31436 (eval $ac_try) 2>&5
31437 ac_status=$?
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); }; }; then
31440 wx_cv_type_getsockname3=size_t
31441 else
31442 echo "$as_me: failed program was:" >&5
31443 sed 's/^/| /' conftest.$ac_ext >&5
31444
31445 cat >conftest.$ac_ext <<_ACEOF
31446 #line $LINENO "configure"
31447 /* confdefs.h. */
31448 _ACEOF
31449 cat confdefs.h >>conftest.$ac_ext
31450 cat >>conftest.$ac_ext <<_ACEOF
31451 /* end confdefs.h. */
31452
31453 #include <sys/types.h>
31454 #include <sys/socket.h>
31455
31456 int
31457 main ()
31458 {
31459
31460 int len;
31461 getsockname(0, 0, &len);
31462
31463 ;
31464 return 0;
31465 }
31466 _ACEOF
31467 rm -f conftest.$ac_objext
31468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31469 (eval $ac_compile) 2>&5
31470 ac_status=$?
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); } &&
31473 { ac_try='test -s conftest.$ac_objext'
31474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31475 (eval $ac_try) 2>&5
31476 ac_status=$?
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); }; }; then
31479 wx_cv_type_getsockname3=int
31480 else
31481 echo "$as_me: failed program was:" >&5
31482 sed 's/^/| /' conftest.$ac_ext >&5
31483
31484 wx_cv_type_getsockname3=unknown
31485
31486 fi
31487 rm -f conftest.$ac_objext conftest.$ac_ext
31488
31489 fi
31490 rm -f conftest.$ac_objext conftest.$ac_ext
31491
31492 CFLAGS="$CFLAGS_OLD"
31493
31494
31495 fi
31496 rm -f conftest.$ac_objext conftest.$ac_ext
31497
31498 fi
31499 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31500 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31501
31502 if test "$wx_cv_type_getsockname3" = "unknown"; then
31503 wxUSE_SOCKETS=no
31504 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31505 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31506 else
31507 cat >>confdefs.h <<_ACEOF
31508 #define SOCKLEN_T $wx_cv_type_getsockname3
31509 _ACEOF
31510
31511 fi
31512 fi
31513 fi
31514
31515 if test "$wxUSE_SOCKETS" = "yes" ; then
31516 cat >>confdefs.h <<\_ACEOF
31517 #define wxUSE_SOCKETS 1
31518 _ACEOF
31519
31520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31521 fi
31522
31523 if test "$wxUSE_PROTOCOL" = "yes"; then
31524 if test "$wxUSE_SOCKETS" != "yes"; then
31525 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31526 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31527 wxUSE_PROTOCOL=no
31528 fi
31529 fi
31530
31531 if test "$wxUSE_PROTOCOL" = "yes"; then
31532 cat >>confdefs.h <<\_ACEOF
31533 #define wxUSE_PROTOCOL 1
31534 _ACEOF
31535
31536
31537 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31538 cat >>confdefs.h <<\_ACEOF
31539 #define wxUSE_PROTOCOL_HTTP 1
31540 _ACEOF
31541
31542 fi
31543 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31544 cat >>confdefs.h <<\_ACEOF
31545 #define wxUSE_PROTOCOL_FTP 1
31546 _ACEOF
31547
31548 fi
31549 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31550 cat >>confdefs.h <<\_ACEOF
31551 #define wxUSE_PROTOCOL_FILE 1
31552 _ACEOF
31553
31554 fi
31555 else
31556 if test "$wxUSE_FS_INET" = "yes"; then
31557 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31558 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31559 wxUSE_FS_INET="no"
31560 fi
31561 fi
31562
31563 if test "$wxUSE_URL" = "yes"; then
31564 if test "$wxUSE_PROTOCOL" != "yes"; then
31565 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31566 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31567 wxUSE_URL=no
31568 fi
31569 if test "$wxUSE_URL" = "yes"; then
31570 cat >>confdefs.h <<\_ACEOF
31571 #define wxUSE_URL 1
31572 _ACEOF
31573
31574 fi
31575 fi
31576
31577 if test "$wxUSE_FS_INET" = "yes"; then
31578 cat >>confdefs.h <<\_ACEOF
31579 #define wxUSE_FS_INET 1
31580 _ACEOF
31581
31582 fi
31583
31584
31585 if test "$wxUSE_GUI" = "yes"; then
31586
31587 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31588 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31589 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31590 wxUSE_JOYSTICK=no
31591 fi
31592
31593 if test "$TOOLKIT" != "MSW"; then
31594 if test "$wxUSE_JOYSTICK" = "yes"; then
31595
31596 for ac_header in linux/joystick.h
31597 do
31598 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31600 echo "$as_me:$LINENO: checking for $ac_header" >&5
31601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31603 echo $ECHO_N "(cached) $ECHO_C" >&6
31604 fi
31605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31607 else
31608 # Is the header compilable?
31609 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31611 cat >conftest.$ac_ext <<_ACEOF
31612 #line $LINENO "configure"
31613 /* confdefs.h. */
31614 _ACEOF
31615 cat confdefs.h >>conftest.$ac_ext
31616 cat >>conftest.$ac_ext <<_ACEOF
31617 /* end confdefs.h. */
31618 $ac_includes_default
31619 #include <$ac_header>
31620 _ACEOF
31621 rm -f conftest.$ac_objext
31622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31623 (eval $ac_compile) 2>&5
31624 ac_status=$?
31625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31626 (exit $ac_status); } &&
31627 { ac_try='test -s conftest.$ac_objext'
31628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31629 (eval $ac_try) 2>&5
31630 ac_status=$?
31631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31632 (exit $ac_status); }; }; then
31633 ac_header_compiler=yes
31634 else
31635 echo "$as_me: failed program was:" >&5
31636 sed 's/^/| /' conftest.$ac_ext >&5
31637
31638 ac_header_compiler=no
31639 fi
31640 rm -f conftest.$ac_objext conftest.$ac_ext
31641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31642 echo "${ECHO_T}$ac_header_compiler" >&6
31643
31644 # Is the header present?
31645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31647 cat >conftest.$ac_ext <<_ACEOF
31648 #line $LINENO "configure"
31649 /* confdefs.h. */
31650 _ACEOF
31651 cat confdefs.h >>conftest.$ac_ext
31652 cat >>conftest.$ac_ext <<_ACEOF
31653 /* end confdefs.h. */
31654 #include <$ac_header>
31655 _ACEOF
31656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31658 ac_status=$?
31659 grep -v '^ *+' conftest.er1 >conftest.err
31660 rm -f conftest.er1
31661 cat conftest.err >&5
31662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31663 (exit $ac_status); } >/dev/null; then
31664 if test -s conftest.err; then
31665 ac_cpp_err=$ac_c_preproc_warn_flag
31666 else
31667 ac_cpp_err=
31668 fi
31669 else
31670 ac_cpp_err=yes
31671 fi
31672 if test -z "$ac_cpp_err"; then
31673 ac_header_preproc=yes
31674 else
31675 echo "$as_me: failed program was:" >&5
31676 sed 's/^/| /' conftest.$ac_ext >&5
31677
31678 ac_header_preproc=no
31679 fi
31680 rm -f conftest.err conftest.$ac_ext
31681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31682 echo "${ECHO_T}$ac_header_preproc" >&6
31683
31684 # So? What about this header?
31685 case $ac_header_compiler:$ac_header_preproc in
31686 yes:no )
31687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31691 (
31692 cat <<\_ASBOX
31693 ## ------------------------------------ ##
31694 ## Report this to bug-autoconf@gnu.org. ##
31695 ## ------------------------------------ ##
31696 _ASBOX
31697 ) |
31698 sed "s/^/$as_me: WARNING: /" >&2
31699 ;;
31700 no:yes )
31701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31707 (
31708 cat <<\_ASBOX
31709 ## ------------------------------------ ##
31710 ## Report this to bug-autoconf@gnu.org. ##
31711 ## ------------------------------------ ##
31712 _ASBOX
31713 ) |
31714 sed "s/^/$as_me: WARNING: /" >&2
31715 ;;
31716 esac
31717 echo "$as_me:$LINENO: checking for $ac_header" >&5
31718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31720 echo $ECHO_N "(cached) $ECHO_C" >&6
31721 else
31722 eval "$as_ac_Header=$ac_header_preproc"
31723 fi
31724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31726
31727 fi
31728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31729 cat >>confdefs.h <<_ACEOF
31730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31731 _ACEOF
31732
31733 fi
31734
31735 done
31736
31737 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31738 wxUSE_JOYSTICK=no
31739 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31740 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31741 fi
31742 fi
31743 fi
31744
31745 if test "$wxUSE_JOYSTICK" = "yes"; then
31746 cat >>confdefs.h <<\_ACEOF
31747 #define wxUSE_JOYSTICK 1
31748 _ACEOF
31749
31750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31751 fi
31752 fi
31753
31754
31755 if test "$TOOLKIT" != "MSW"; then
31756
31757 HAVE_DL_FUNCS=0
31758 HAVE_SHL_FUNCS=0
31759 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31760 if test "$USE_DARWIN" = 1; then
31761 HAVE_DL_FUNCS=1
31762 else
31763
31764 for ac_func in dlopen
31765 do
31766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31767 echo "$as_me:$LINENO: checking for $ac_func" >&5
31768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31769 if eval "test \"\${$as_ac_var+set}\" = set"; then
31770 echo $ECHO_N "(cached) $ECHO_C" >&6
31771 else
31772 cat >conftest.$ac_ext <<_ACEOF
31773 #line $LINENO "configure"
31774 /* confdefs.h. */
31775 _ACEOF
31776 cat confdefs.h >>conftest.$ac_ext
31777 cat >>conftest.$ac_ext <<_ACEOF
31778 /* end confdefs.h. */
31779 /* System header to define __stub macros and hopefully few prototypes,
31780 which can conflict with char $ac_func (); below.
31781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31782 <limits.h> exists even on freestanding compilers. */
31783 #ifdef __STDC__
31784 # include <limits.h>
31785 #else
31786 # include <assert.h>
31787 #endif
31788 /* Override any gcc2 internal prototype to avoid an error. */
31789 #ifdef __cplusplus
31790 extern "C"
31791 {
31792 #endif
31793 /* We use char because int might match the return type of a gcc2
31794 builtin and then its argument prototype would still apply. */
31795 char $ac_func ();
31796 /* The GNU C library defines this for functions which it implements
31797 to always fail with ENOSYS. Some functions are actually named
31798 something starting with __ and the normal name is an alias. */
31799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31800 choke me
31801 #else
31802 char (*f) () = $ac_func;
31803 #endif
31804 #ifdef __cplusplus
31805 }
31806 #endif
31807
31808 int
31809 main ()
31810 {
31811 return f != $ac_func;
31812 ;
31813 return 0;
31814 }
31815 _ACEOF
31816 rm -f conftest.$ac_objext conftest$ac_exeext
31817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31818 (eval $ac_link) 2>&5
31819 ac_status=$?
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); } &&
31822 { ac_try='test -s conftest$ac_exeext'
31823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31824 (eval $ac_try) 2>&5
31825 ac_status=$?
31826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31827 (exit $ac_status); }; }; then
31828 eval "$as_ac_var=yes"
31829 else
31830 echo "$as_me: failed program was:" >&5
31831 sed 's/^/| /' conftest.$ac_ext >&5
31832
31833 eval "$as_ac_var=no"
31834 fi
31835 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31836 fi
31837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31839 if test `eval echo '${'$as_ac_var'}'` = yes; then
31840 cat >>confdefs.h <<_ACEOF
31841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31842 _ACEOF
31843
31844 cat >>confdefs.h <<\_ACEOF
31845 #define HAVE_DLOPEN 1
31846 _ACEOF
31847
31848 HAVE_DL_FUNCS=1
31849
31850 else
31851
31852 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31853 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31854 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31855 echo $ECHO_N "(cached) $ECHO_C" >&6
31856 else
31857 ac_check_lib_save_LIBS=$LIBS
31858 LIBS="-ldl $LIBS"
31859 cat >conftest.$ac_ext <<_ACEOF
31860 #line $LINENO "configure"
31861 /* confdefs.h. */
31862 _ACEOF
31863 cat confdefs.h >>conftest.$ac_ext
31864 cat >>conftest.$ac_ext <<_ACEOF
31865 /* end confdefs.h. */
31866
31867 /* Override any gcc2 internal prototype to avoid an error. */
31868 #ifdef __cplusplus
31869 extern "C"
31870 #endif
31871 /* We use char because int might match the return type of a gcc2
31872 builtin and then its argument prototype would still apply. */
31873 char dlopen ();
31874 int
31875 main ()
31876 {
31877 dlopen ();
31878 ;
31879 return 0;
31880 }
31881 _ACEOF
31882 rm -f conftest.$ac_objext conftest$ac_exeext
31883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31884 (eval $ac_link) 2>&5
31885 ac_status=$?
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); } &&
31888 { ac_try='test -s conftest$ac_exeext'
31889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31890 (eval $ac_try) 2>&5
31891 ac_status=$?
31892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31893 (exit $ac_status); }; }; then
31894 ac_cv_lib_dl_dlopen=yes
31895 else
31896 echo "$as_me: failed program was:" >&5
31897 sed 's/^/| /' conftest.$ac_ext >&5
31898
31899 ac_cv_lib_dl_dlopen=no
31900 fi
31901 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31902 LIBS=$ac_check_lib_save_LIBS
31903 fi
31904 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31905 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31906 if test $ac_cv_lib_dl_dlopen = yes; then
31907
31908 cat >>confdefs.h <<\_ACEOF
31909 #define HAVE_DLOPEN 1
31910 _ACEOF
31911
31912 HAVE_DL_FUNCS=1
31913 DL_LINK=" -ldl$DL_LINK"
31914
31915 else
31916
31917
31918 for ac_func in shl_load
31919 do
31920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31921 echo "$as_me:$LINENO: checking for $ac_func" >&5
31922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31923 if eval "test \"\${$as_ac_var+set}\" = set"; then
31924 echo $ECHO_N "(cached) $ECHO_C" >&6
31925 else
31926 cat >conftest.$ac_ext <<_ACEOF
31927 #line $LINENO "configure"
31928 /* confdefs.h. */
31929 _ACEOF
31930 cat confdefs.h >>conftest.$ac_ext
31931 cat >>conftest.$ac_ext <<_ACEOF
31932 /* end confdefs.h. */
31933 /* System header to define __stub macros and hopefully few prototypes,
31934 which can conflict with char $ac_func (); below.
31935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31936 <limits.h> exists even on freestanding compilers. */
31937 #ifdef __STDC__
31938 # include <limits.h>
31939 #else
31940 # include <assert.h>
31941 #endif
31942 /* Override any gcc2 internal prototype to avoid an error. */
31943 #ifdef __cplusplus
31944 extern "C"
31945 {
31946 #endif
31947 /* We use char because int might match the return type of a gcc2
31948 builtin and then its argument prototype would still apply. */
31949 char $ac_func ();
31950 /* The GNU C library defines this for functions which it implements
31951 to always fail with ENOSYS. Some functions are actually named
31952 something starting with __ and the normal name is an alias. */
31953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31954 choke me
31955 #else
31956 char (*f) () = $ac_func;
31957 #endif
31958 #ifdef __cplusplus
31959 }
31960 #endif
31961
31962 int
31963 main ()
31964 {
31965 return f != $ac_func;
31966 ;
31967 return 0;
31968 }
31969 _ACEOF
31970 rm -f conftest.$ac_objext conftest$ac_exeext
31971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31972 (eval $ac_link) 2>&5
31973 ac_status=$?
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); } &&
31976 { ac_try='test -s conftest$ac_exeext'
31977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31978 (eval $ac_try) 2>&5
31979 ac_status=$?
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); }; }; then
31982 eval "$as_ac_var=yes"
31983 else
31984 echo "$as_me: failed program was:" >&5
31985 sed 's/^/| /' conftest.$ac_ext >&5
31986
31987 eval "$as_ac_var=no"
31988 fi
31989 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31990 fi
31991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31993 if test `eval echo '${'$as_ac_var'}'` = yes; then
31994 cat >>confdefs.h <<_ACEOF
31995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31996 _ACEOF
31997
31998 cat >>confdefs.h <<\_ACEOF
31999 #define HAVE_SHL_LOAD 1
32000 _ACEOF
32001
32002 HAVE_SHL_FUNCS=1
32003
32004 else
32005
32006 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32007 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32008 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32009 echo $ECHO_N "(cached) $ECHO_C" >&6
32010 else
32011 ac_check_lib_save_LIBS=$LIBS
32012 LIBS="-lshl_load $LIBS"
32013 cat >conftest.$ac_ext <<_ACEOF
32014 #line $LINENO "configure"
32015 /* confdefs.h. */
32016 _ACEOF
32017 cat confdefs.h >>conftest.$ac_ext
32018 cat >>conftest.$ac_ext <<_ACEOF
32019 /* end confdefs.h. */
32020
32021 /* Override any gcc2 internal prototype to avoid an error. */
32022 #ifdef __cplusplus
32023 extern "C"
32024 #endif
32025 /* We use char because int might match the return type of a gcc2
32026 builtin and then its argument prototype would still apply. */
32027 char dld ();
32028 int
32029 main ()
32030 {
32031 dld ();
32032 ;
32033 return 0;
32034 }
32035 _ACEOF
32036 rm -f conftest.$ac_objext conftest$ac_exeext
32037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32038 (eval $ac_link) 2>&5
32039 ac_status=$?
32040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041 (exit $ac_status); } &&
32042 { ac_try='test -s conftest$ac_exeext'
32043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32044 (eval $ac_try) 2>&5
32045 ac_status=$?
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); }; }; then
32048 ac_cv_lib_shl_load_dld=yes
32049 else
32050 echo "$as_me: failed program was:" >&5
32051 sed 's/^/| /' conftest.$ac_ext >&5
32052
32053 ac_cv_lib_shl_load_dld=no
32054 fi
32055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32056 LIBS=$ac_check_lib_save_LIBS
32057 fi
32058 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32059 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32060 if test $ac_cv_lib_shl_load_dld = yes; then
32061
32062 HAVE_SHL_FUNCS=1
32063 DL_LINK=" -ldld$DL_LINK"
32064
32065 fi
32066
32067
32068 fi
32069 done
32070
32071
32072 fi
32073
32074
32075 fi
32076 done
32077
32078
32079 if test "$HAVE_DL_FUNCS" = 1; then
32080
32081 for ac_func in dlerror
32082 do
32083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32084 echo "$as_me:$LINENO: checking for $ac_func" >&5
32085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32086 if eval "test \"\${$as_ac_var+set}\" = set"; then
32087 echo $ECHO_N "(cached) $ECHO_C" >&6
32088 else
32089 cat >conftest.$ac_ext <<_ACEOF
32090 #line $LINENO "configure"
32091 /* confdefs.h. */
32092 _ACEOF
32093 cat confdefs.h >>conftest.$ac_ext
32094 cat >>conftest.$ac_ext <<_ACEOF
32095 /* end confdefs.h. */
32096 /* System header to define __stub macros and hopefully few prototypes,
32097 which can conflict with char $ac_func (); below.
32098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32099 <limits.h> exists even on freestanding compilers. */
32100 #ifdef __STDC__
32101 # include <limits.h>
32102 #else
32103 # include <assert.h>
32104 #endif
32105 /* Override any gcc2 internal prototype to avoid an error. */
32106 #ifdef __cplusplus
32107 extern "C"
32108 {
32109 #endif
32110 /* We use char because int might match the return type of a gcc2
32111 builtin and then its argument prototype would still apply. */
32112 char $ac_func ();
32113 /* The GNU C library defines this for functions which it implements
32114 to always fail with ENOSYS. Some functions are actually named
32115 something starting with __ and the normal name is an alias. */
32116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32117 choke me
32118 #else
32119 char (*f) () = $ac_func;
32120 #endif
32121 #ifdef __cplusplus
32122 }
32123 #endif
32124
32125 int
32126 main ()
32127 {
32128 return f != $ac_func;
32129 ;
32130 return 0;
32131 }
32132 _ACEOF
32133 rm -f conftest.$ac_objext conftest$ac_exeext
32134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32135 (eval $ac_link) 2>&5
32136 ac_status=$?
32137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32138 (exit $ac_status); } &&
32139 { ac_try='test -s conftest$ac_exeext'
32140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32141 (eval $ac_try) 2>&5
32142 ac_status=$?
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); }; }; then
32145 eval "$as_ac_var=yes"
32146 else
32147 echo "$as_me: failed program was:" >&5
32148 sed 's/^/| /' conftest.$ac_ext >&5
32149
32150 eval "$as_ac_var=no"
32151 fi
32152 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32153 fi
32154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32156 if test `eval echo '${'$as_ac_var'}'` = yes; then
32157 cat >>confdefs.h <<_ACEOF
32158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32159 _ACEOF
32160 cat >>confdefs.h <<\_ACEOF
32161 #define HAVE_DLERROR 1
32162 _ACEOF
32163
32164 else
32165 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32166 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32167 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32168 echo $ECHO_N "(cached) $ECHO_C" >&6
32169 else
32170 ac_check_lib_save_LIBS=$LIBS
32171 LIBS="-ldl $LIBS"
32172 cat >conftest.$ac_ext <<_ACEOF
32173 #line $LINENO "configure"
32174 /* confdefs.h. */
32175 _ACEOF
32176 cat confdefs.h >>conftest.$ac_ext
32177 cat >>conftest.$ac_ext <<_ACEOF
32178 /* end confdefs.h. */
32179
32180 /* Override any gcc2 internal prototype to avoid an error. */
32181 #ifdef __cplusplus
32182 extern "C"
32183 #endif
32184 /* We use char because int might match the return type of a gcc2
32185 builtin and then its argument prototype would still apply. */
32186 char dlerror ();
32187 int
32188 main ()
32189 {
32190 dlerror ();
32191 ;
32192 return 0;
32193 }
32194 _ACEOF
32195 rm -f conftest.$ac_objext conftest$ac_exeext
32196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32197 (eval $ac_link) 2>&5
32198 ac_status=$?
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); } &&
32201 { ac_try='test -s conftest$ac_exeext'
32202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32203 (eval $ac_try) 2>&5
32204 ac_status=$?
32205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32206 (exit $ac_status); }; }; then
32207 ac_cv_lib_dl_dlerror=yes
32208 else
32209 echo "$as_me: failed program was:" >&5
32210 sed 's/^/| /' conftest.$ac_ext >&5
32211
32212 ac_cv_lib_dl_dlerror=no
32213 fi
32214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32215 LIBS=$ac_check_lib_save_LIBS
32216 fi
32217 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32218 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32219 if test $ac_cv_lib_dl_dlerror = yes; then
32220 cat >>confdefs.h <<\_ACEOF
32221 #define HAVE_DLERROR 1
32222 _ACEOF
32223
32224 fi
32225
32226 fi
32227 done
32228
32229 fi
32230 fi
32231
32232 if test "$HAVE_DL_FUNCS" = 0; then
32233 if test "$HAVE_SHL_FUNCS" = 0; then
32234 if test "$USE_UNIX" = 1; then
32235 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32236 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32237 wxUSE_DYNAMIC_LOADER=no
32238 wxUSE_DYNLIB_CLASS=no
32239 else
32240 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32241 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32242 fi
32243 fi
32244 fi
32245 fi
32246 fi
32247
32248 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32249 cat >>confdefs.h <<\_ACEOF
32250 #define wxUSE_DYNAMIC_LOADER 1
32251 _ACEOF
32252
32253 fi
32254 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32255 cat >>confdefs.h <<\_ACEOF
32256 #define wxUSE_DYNLIB_CLASS 1
32257 _ACEOF
32258
32259 fi
32260
32261
32262 if test "$wxUSE_FONTMAP" = "yes" ; then
32263 cat >>confdefs.h <<\_ACEOF
32264 #define wxUSE_FONTMAP 1
32265 _ACEOF
32266
32267 fi
32268
32269 if test "$wxUSE_UNICODE" = "yes" ; then
32270 cat >>confdefs.h <<\_ACEOF
32271 #define wxUSE_UNICODE 1
32272 _ACEOF
32273
32274
32275 if test "$USE_WIN32" != 1; then
32276 wxUSE_UNICODE_MSLU=no
32277 fi
32278
32279 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32280 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32281 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32282 if test "${ac_cv_lib_unicows_main+set}" = set; then
32283 echo $ECHO_N "(cached) $ECHO_C" >&6
32284 else
32285 ac_check_lib_save_LIBS=$LIBS
32286 LIBS="-lunicows $LIBS"
32287 cat >conftest.$ac_ext <<_ACEOF
32288 #line $LINENO "configure"
32289 /* confdefs.h. */
32290 _ACEOF
32291 cat confdefs.h >>conftest.$ac_ext
32292 cat >>conftest.$ac_ext <<_ACEOF
32293 /* end confdefs.h. */
32294
32295
32296 int
32297 main ()
32298 {
32299 main ();
32300 ;
32301 return 0;
32302 }
32303 _ACEOF
32304 rm -f conftest.$ac_objext conftest$ac_exeext
32305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32306 (eval $ac_link) 2>&5
32307 ac_status=$?
32308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309 (exit $ac_status); } &&
32310 { ac_try='test -s conftest$ac_exeext'
32311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32312 (eval $ac_try) 2>&5
32313 ac_status=$?
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); }; }; then
32316 ac_cv_lib_unicows_main=yes
32317 else
32318 echo "$as_me: failed program was:" >&5
32319 sed 's/^/| /' conftest.$ac_ext >&5
32320
32321 ac_cv_lib_unicows_main=no
32322 fi
32323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32324 LIBS=$ac_check_lib_save_LIBS
32325 fi
32326 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32327 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32328 if test $ac_cv_lib_unicows_main = yes; then
32329
32330 cat >>confdefs.h <<\_ACEOF
32331 #define wxUSE_UNICODE_MSLU 1
32332 _ACEOF
32333
32334
32335 else
32336
32337 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32338 Applications will only run on Windows NT/2000/XP!" >&5
32339 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32340 Applications will only run on Windows NT/2000/XP!" >&2;}
32341 wxUSE_UNICODE_MSLU=no
32342
32343 fi
32344
32345 fi
32346 fi
32347
32348 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32349 cat >>confdefs.h <<\_ACEOF
32350 #define wxUSE_EXPERIMENTAL_PRINTF 1
32351 _ACEOF
32352
32353 fi
32354
32355
32356 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32357 cat >>confdefs.h <<\_ACEOF
32358 #define wxUSE_POSTSCRIPT 1
32359 _ACEOF
32360
32361 fi
32362
32363 cat >>confdefs.h <<\_ACEOF
32364 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32365 _ACEOF
32366
32367
32368 cat >>confdefs.h <<\_ACEOF
32369 #define wxUSE_NORMALIZED_PS_FONTS 1
32370 _ACEOF
32371
32372
32373
32374 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32375 cat >>confdefs.h <<\_ACEOF
32376 #define wxUSE_CONSTRAINTS 1
32377 _ACEOF
32378
32379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32380 fi
32381
32382 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32383 cat >>confdefs.h <<\_ACEOF
32384 #define wxUSE_MDI_ARCHITECTURE 1
32385 _ACEOF
32386
32387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32388 fi
32389
32390 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32391 cat >>confdefs.h <<\_ACEOF
32392 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32393 _ACEOF
32394
32395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32396 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32398 fi
32399 fi
32400
32401 if test "$wxUSE_HELP" = "yes"; then
32402 cat >>confdefs.h <<\_ACEOF
32403 #define wxUSE_HELP 1
32404 _ACEOF
32405
32406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32407
32408 if test "$wxUSE_MSW" = 1; then
32409 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32410 cat >>confdefs.h <<\_ACEOF
32411 #define wxUSE_MS_HTML_HELP 1
32412 _ACEOF
32413
32414 fi
32415 fi
32416
32417 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32418 if test "$wxUSE_HTML" = "yes"; then
32419 cat >>confdefs.h <<\_ACEOF
32420 #define wxUSE_WXHTML_HELP 1
32421 _ACEOF
32422
32423 else
32424 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32425 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32426 wxUSE_WXHTML_HELP=no
32427 fi
32428 fi
32429 fi
32430
32431 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32432 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32433 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32434 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32435 else
32436 cat >>confdefs.h <<\_ACEOF
32437 #define wxUSE_PRINTING_ARCHITECTURE 1
32438 _ACEOF
32439
32440 fi
32441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32442 fi
32443
32444 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32445 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32446 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32447 { (exit 1); exit 1; }; }
32448 fi
32449
32450
32451 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32452 -o "$wxUSE_CLIPBOARD" = "yes" \
32453 -o "$wxUSE_OLE" = "yes" \
32454 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32455
32456 for ac_header in ole2.h
32457 do
32458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32460 echo "$as_me:$LINENO: checking for $ac_header" >&5
32461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32463 echo $ECHO_N "(cached) $ECHO_C" >&6
32464 fi
32465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32467 else
32468 # Is the header compilable?
32469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32471 cat >conftest.$ac_ext <<_ACEOF
32472 #line $LINENO "configure"
32473 /* confdefs.h. */
32474 _ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32478 $ac_includes_default
32479 #include <$ac_header>
32480 _ACEOF
32481 rm -f conftest.$ac_objext
32482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32483 (eval $ac_compile) 2>&5
32484 ac_status=$?
32485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486 (exit $ac_status); } &&
32487 { ac_try='test -s conftest.$ac_objext'
32488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32489 (eval $ac_try) 2>&5
32490 ac_status=$?
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); }; }; then
32493 ac_header_compiler=yes
32494 else
32495 echo "$as_me: failed program was:" >&5
32496 sed 's/^/| /' conftest.$ac_ext >&5
32497
32498 ac_header_compiler=no
32499 fi
32500 rm -f conftest.$ac_objext conftest.$ac_ext
32501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32502 echo "${ECHO_T}$ac_header_compiler" >&6
32503
32504 # Is the header present?
32505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32507 cat >conftest.$ac_ext <<_ACEOF
32508 #line $LINENO "configure"
32509 /* confdefs.h. */
32510 _ACEOF
32511 cat confdefs.h >>conftest.$ac_ext
32512 cat >>conftest.$ac_ext <<_ACEOF
32513 /* end confdefs.h. */
32514 #include <$ac_header>
32515 _ACEOF
32516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32518 ac_status=$?
32519 grep -v '^ *+' conftest.er1 >conftest.err
32520 rm -f conftest.er1
32521 cat conftest.err >&5
32522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32523 (exit $ac_status); } >/dev/null; then
32524 if test -s conftest.err; then
32525 ac_cpp_err=$ac_c_preproc_warn_flag
32526 else
32527 ac_cpp_err=
32528 fi
32529 else
32530 ac_cpp_err=yes
32531 fi
32532 if test -z "$ac_cpp_err"; then
32533 ac_header_preproc=yes
32534 else
32535 echo "$as_me: failed program was:" >&5
32536 sed 's/^/| /' conftest.$ac_ext >&5
32537
32538 ac_header_preproc=no
32539 fi
32540 rm -f conftest.err conftest.$ac_ext
32541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32542 echo "${ECHO_T}$ac_header_preproc" >&6
32543
32544 # So? What about this header?
32545 case $ac_header_compiler:$ac_header_preproc in
32546 yes:no )
32547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32551 (
32552 cat <<\_ASBOX
32553 ## ------------------------------------ ##
32554 ## Report this to bug-autoconf@gnu.org. ##
32555 ## ------------------------------------ ##
32556 _ASBOX
32557 ) |
32558 sed "s/^/$as_me: WARNING: /" >&2
32559 ;;
32560 no:yes )
32561 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32562 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32563 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32564 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32567 (
32568 cat <<\_ASBOX
32569 ## ------------------------------------ ##
32570 ## Report this to bug-autoconf@gnu.org. ##
32571 ## ------------------------------------ ##
32572 _ASBOX
32573 ) |
32574 sed "s/^/$as_me: WARNING: /" >&2
32575 ;;
32576 esac
32577 echo "$as_me:$LINENO: checking for $ac_header" >&5
32578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32580 echo $ECHO_N "(cached) $ECHO_C" >&6
32581 else
32582 eval "$as_ac_Header=$ac_header_preproc"
32583 fi
32584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32586
32587 fi
32588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32589 cat >>confdefs.h <<_ACEOF
32590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32591 _ACEOF
32592
32593 fi
32594
32595 done
32596
32597
32598 if test "$ac_cv_header_ole2_h" = "yes" ; then
32599 if test "$GCC" = yes ; then
32600
32601
32602 ac_ext=cc
32603 ac_cpp='$CXXCPP $CPPFLAGS'
32604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32607
32608
32609 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32610 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32611 cat >conftest.$ac_ext <<_ACEOF
32612 #line $LINENO "configure"
32613 /* confdefs.h. */
32614 _ACEOF
32615 cat confdefs.h >>conftest.$ac_ext
32616 cat >>conftest.$ac_ext <<_ACEOF
32617 /* end confdefs.h. */
32618 #include <windows.h>
32619 #include <ole2.h>
32620 int
32621 main ()
32622 {
32623
32624 ;
32625 return 0;
32626 }
32627 _ACEOF
32628 rm -f conftest.$ac_objext
32629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32630 (eval $ac_compile) 2>&5
32631 ac_status=$?
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); } &&
32634 { ac_try='test -s conftest.$ac_objext'
32635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32636 (eval $ac_try) 2>&5
32637 ac_status=$?
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); }; }; then
32640 echo "$as_me:$LINENO: result: no" >&5
32641 echo "${ECHO_T}no" >&6
32642 else
32643 echo "$as_me: failed program was:" >&5
32644 sed 's/^/| /' conftest.$ac_ext >&5
32645
32646 echo "$as_me:$LINENO: result: yes" >&5
32647 echo "${ECHO_T}yes" >&6
32648 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32649 fi
32650 rm -f conftest.$ac_objext conftest.$ac_ext
32651 ac_ext=c
32652 ac_cpp='$CPP $CPPFLAGS'
32653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32656
32657 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32658 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32659 cat >>confdefs.h <<\_ACEOF
32660 #define wxUSE_OLE 1
32661 _ACEOF
32662
32663
32664 fi
32665
32666 cat >>confdefs.h <<\_ACEOF
32667 #define wxUSE_DATAOBJ 1
32668 _ACEOF
32669
32670 else
32671 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32672 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32673
32674 wxUSE_CLIPBOARD=no
32675 wxUSE_DRAG_AND_DROP=no
32676 wxUSE_DATAOBJ=no
32677 wxUSE_OLE=no
32678 fi
32679
32680 if test "$wxUSE_METAFILE" = "yes"; then
32681 cat >>confdefs.h <<\_ACEOF
32682 #define wxUSE_METAFILE 1
32683 _ACEOF
32684
32685
32686 cat >>confdefs.h <<\_ACEOF
32687 #define wxUSE_ENH_METAFILE 1
32688 _ACEOF
32689
32690 fi
32691 fi
32692
32693 if test "$wxUSE_IPC" = "yes"; then
32694 if test "$wxUSE_SOCKETS" != "yes"; then
32695 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32696 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32697 fi
32698
32699 cat >>confdefs.h <<\_ACEOF
32700 #define wxUSE_IPC 1
32701 _ACEOF
32702
32703 fi
32704
32705 if test "$wxUSE_CLIPBOARD" = "yes"; then
32706 if test "$wxUSE_MGL" = 1; then
32707 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32708 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32709 wxUSE_CLIPBOARD=no
32710 fi
32711
32712 if test "$wxUSE_CLIPBOARD" = "yes"; then
32713 cat >>confdefs.h <<\_ACEOF
32714 #define wxUSE_CLIPBOARD 1
32715 _ACEOF
32716
32717
32718 cat >>confdefs.h <<\_ACEOF
32719 #define wxUSE_DATAOBJ 1
32720 _ACEOF
32721
32722 fi
32723 fi
32724
32725 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32726 if test "$wxUSE_GTK" = 1; then
32727 if test "$WXGTK12" != 1; then
32728 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32729 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32730 wxUSE_DRAG_AND_DROP=no
32731 fi
32732 fi
32733
32734 if test "$wxUSE_MOTIF" = 1; then
32735 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32736 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32737 wxUSE_DRAG_AND_DROP=no
32738 fi
32739
32740 if test "$wxUSE_X11" = 1; then
32741 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32742 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32743 wxUSE_DRAG_AND_DROP=no
32744 fi
32745
32746 if test "$wxUSE_MGL" = 1; then
32747 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32748 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32749 wxUSE_DRAG_AND_DROP=no
32750 fi
32751
32752 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32753 cat >>confdefs.h <<\_ACEOF
32754 #define wxUSE_DRAG_AND_DROP 1
32755 _ACEOF
32756
32757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32758 fi
32759
32760 fi
32761
32762 if test "$wxUSE_SPLINES" = "yes" ; then
32763 cat >>confdefs.h <<\_ACEOF
32764 #define wxUSE_SPLINES 1
32765 _ACEOF
32766
32767 fi
32768
32769
32770 USES_CONTROLS=0
32771 if test "$wxUSE_CONTROLS" = "yes"; then
32772 USES_CONTROLS=1
32773 fi
32774
32775 if test "$wxUSE_ACCEL" = "yes"; then
32776 cat >>confdefs.h <<\_ACEOF
32777 #define wxUSE_ACCEL 1
32778 _ACEOF
32779
32780 USES_CONTROLS=1
32781 fi
32782
32783 if test "$wxUSE_BUTTON" = "yes"; then
32784 cat >>confdefs.h <<\_ACEOF
32785 #define wxUSE_BUTTON 1
32786 _ACEOF
32787
32788 USES_CONTROLS=1
32789 fi
32790
32791 if test "$wxUSE_BMPBUTTON" = "yes"; then
32792 cat >>confdefs.h <<\_ACEOF
32793 #define wxUSE_BMPBUTTON 1
32794 _ACEOF
32795
32796 USES_CONTROLS=1
32797 fi
32798
32799 if test "$wxUSE_CALCTRL" = "yes"; then
32800 cat >>confdefs.h <<\_ACEOF
32801 #define wxUSE_CALENDARCTRL 1
32802 _ACEOF
32803
32804 USES_CONTROLS=1
32805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32806 fi
32807
32808 if test "$wxUSE_CARET" = "yes"; then
32809 cat >>confdefs.h <<\_ACEOF
32810 #define wxUSE_CARET 1
32811 _ACEOF
32812
32813 USES_CONTROLS=1
32814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32815 fi
32816
32817 if test "$wxUSE_COMBOBOX" = "yes"; then
32818 cat >>confdefs.h <<\_ACEOF
32819 #define wxUSE_COMBOBOX 1
32820 _ACEOF
32821
32822 USES_CONTROLS=1
32823 fi
32824
32825 if test "$wxUSE_CHOICE" = "yes"; then
32826 cat >>confdefs.h <<\_ACEOF
32827 #define wxUSE_CHOICE 1
32828 _ACEOF
32829
32830 USES_CONTROLS=1
32831 fi
32832
32833 if test "$wxUSE_CHECKBOX" = "yes"; then
32834 cat >>confdefs.h <<\_ACEOF
32835 #define wxUSE_CHECKBOX 1
32836 _ACEOF
32837
32838 USES_CONTROLS=1
32839 fi
32840
32841 if test "$wxUSE_CHECKLST" = "yes"; then
32842 cat >>confdefs.h <<\_ACEOF
32843 #define wxUSE_CHECKLISTBOX 1
32844 _ACEOF
32845
32846 USES_CONTROLS=1
32847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32848 fi
32849
32850 if test "$wxUSE_DISPLAY" = "yes"; then
32851 cat >>confdefs.h <<\_ACEOF
32852 #define wxUSE_DISPLAY 1
32853 _ACEOF
32854
32855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32856 fi
32857
32858 if test "$wxUSE_GAUGE" = "yes"; then
32859 cat >>confdefs.h <<\_ACEOF
32860 #define wxUSE_GAUGE 1
32861 _ACEOF
32862
32863 USES_CONTROLS=1
32864 fi
32865
32866 if test "$wxUSE_GRID" = "yes"; then
32867 cat >>confdefs.h <<\_ACEOF
32868 #define wxUSE_GRID 1
32869 _ACEOF
32870
32871 USES_CONTROLS=1
32872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32873 fi
32874
32875 if test "$wxUSE_IMAGLIST" = "yes"; then
32876 cat >>confdefs.h <<\_ACEOF
32877 #define wxUSE_IMAGLIST 1
32878 _ACEOF
32879
32880 fi
32881
32882 if test "$wxUSE_LISTBOX" = "yes"; then
32883 cat >>confdefs.h <<\_ACEOF
32884 #define wxUSE_LISTBOX 1
32885 _ACEOF
32886
32887 USES_CONTROLS=1
32888 fi
32889
32890 if test "$wxUSE_LISTCTRL" = "yes"; then
32891 if test "$wxUSE_IMAGLIST" = "yes"; then
32892 cat >>confdefs.h <<\_ACEOF
32893 #define wxUSE_LISTCTRL 1
32894 _ACEOF
32895
32896 USES_CONTROLS=1
32897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32898 else
32899 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32900 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32901 fi
32902 fi
32903
32904 if test "$wxUSE_NOTEBOOK" = "yes"; then
32905 cat >>confdefs.h <<\_ACEOF
32906 #define wxUSE_NOTEBOOK 1
32907 _ACEOF
32908
32909 USES_CONTROLS=1
32910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32911 fi
32912
32913
32914 if test "$wxUSE_RADIOBOX" = "yes"; then
32915 cat >>confdefs.h <<\_ACEOF
32916 #define wxUSE_RADIOBOX 1
32917 _ACEOF
32918
32919 USES_CONTROLS=1
32920 fi
32921
32922 if test "$wxUSE_RADIOBTN" = "yes"; then
32923 cat >>confdefs.h <<\_ACEOF
32924 #define wxUSE_RADIOBTN 1
32925 _ACEOF
32926
32927 USES_CONTROLS=1
32928 fi
32929
32930 if test "$wxUSE_SASH" = "yes"; then
32931 cat >>confdefs.h <<\_ACEOF
32932 #define wxUSE_SASH 1
32933 _ACEOF
32934
32935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32936 fi
32937
32938 if test "$wxUSE_SCROLLBAR" = "yes"; then
32939 cat >>confdefs.h <<\_ACEOF
32940 #define wxUSE_SCROLLBAR 1
32941 _ACEOF
32942
32943 USES_CONTROLS=1
32944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32945 fi
32946
32947 if test "$wxUSE_SLIDER" = "yes"; then
32948 cat >>confdefs.h <<\_ACEOF
32949 #define wxUSE_SLIDER 1
32950 _ACEOF
32951
32952 USES_CONTROLS=1
32953 fi
32954
32955 if test "$wxUSE_SPINBTN" = "yes"; then
32956 cat >>confdefs.h <<\_ACEOF
32957 #define wxUSE_SPINBTN 1
32958 _ACEOF
32959
32960 USES_CONTROLS=1
32961 fi
32962
32963 if test "$wxUSE_SPINCTRL" = "yes"; then
32964 cat >>confdefs.h <<\_ACEOF
32965 #define wxUSE_SPINCTRL 1
32966 _ACEOF
32967
32968 USES_CONTROLS=1
32969 fi
32970
32971 if test "$wxUSE_SPLITTER" = "yes"; then
32972 cat >>confdefs.h <<\_ACEOF
32973 #define wxUSE_SPLITTER 1
32974 _ACEOF
32975
32976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32977 fi
32978
32979 if test "$wxUSE_STATBMP" = "yes"; then
32980 cat >>confdefs.h <<\_ACEOF
32981 #define wxUSE_STATBMP 1
32982 _ACEOF
32983
32984 USES_CONTROLS=1
32985 fi
32986
32987 if test "$wxUSE_STATBOX" = "yes"; then
32988 cat >>confdefs.h <<\_ACEOF
32989 #define wxUSE_STATBOX 1
32990 _ACEOF
32991
32992 USES_CONTROLS=1
32993 fi
32994
32995 if test "$wxUSE_STATTEXT" = "yes"; then
32996 cat >>confdefs.h <<\_ACEOF
32997 #define wxUSE_STATTEXT 1
32998 _ACEOF
32999
33000 USES_CONTROLS=1
33001 fi
33002
33003 if test "$wxUSE_STATLINE" = "yes"; then
33004 cat >>confdefs.h <<\_ACEOF
33005 #define wxUSE_STATLINE 1
33006 _ACEOF
33007
33008 USES_CONTROLS=1
33009 fi
33010
33011 if test "$wxUSE_STATUSBAR" = "yes"; then
33012 cat >>confdefs.h <<\_ACEOF
33013 #define wxUSE_STATUSBAR 1
33014 _ACEOF
33015
33016 USES_CONTROLS=1
33017
33018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
33019 fi
33020
33021 if test "$wxUSE_TABDIALOG" = "yes"; then
33022 cat >>confdefs.h <<\_ACEOF
33023 #define wxUSE_TAB_DIALOG 1
33024 _ACEOF
33025
33026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
33027 fi
33028
33029 if test "$wxUSE_TEXTCTRL" = "yes"; then
33030 cat >>confdefs.h <<\_ACEOF
33031 #define wxUSE_TEXTCTRL 1
33032 _ACEOF
33033
33034 USES_CONTROLS=1
33035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
33036 fi
33037
33038 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33039 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33040 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33041 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33042 wxUSE_TOGGLEBTN=no
33043 fi
33044 if test "$wxUSE_UNIVERSAL" = "yes"; then
33045 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33046 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33047 wxUSE_TOGGLEBTN=no
33048 fi
33049
33050 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33051 cat >>confdefs.h <<\_ACEOF
33052 #define wxUSE_TOGGLEBTN 1
33053 _ACEOF
33054
33055 USES_CONTROLS=1
33056 fi
33057 fi
33058
33059 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33060 cat >>confdefs.h <<\_ACEOF
33061 #define wxUSE_TOOLBAR_SIMPLE 1
33062 _ACEOF
33063
33064 wxUSE_TOOLBAR="yes"
33065 USES_CONTROLS=1
33066 fi
33067
33068 if test "$wxUSE_TOOLBAR" = "yes"; then
33069 cat >>confdefs.h <<\_ACEOF
33070 #define wxUSE_TOOLBAR 1
33071 _ACEOF
33072
33073 USES_CONTROLS=1
33074
33075 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33076 wxUSE_TOOLBAR_NATIVE="yes"
33077 fi
33078
33079 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33080 cat >>confdefs.h <<\_ACEOF
33081 #define wxUSE_TOOLBAR_NATIVE 1
33082 _ACEOF
33083
33084 USES_CONTROLS=1
33085 fi
33086
33087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33088 fi
33089
33090 if test "$wxUSE_TOOLTIPS" = "yes"; then
33091 if test "$wxUSE_MOTIF" = 1; then
33092 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33093 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33094 else
33095 if test "$wxUSE_UNIVERSAL" = "yes"; then
33096 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33097 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33098 else
33099 cat >>confdefs.h <<\_ACEOF
33100 #define wxUSE_TOOLTIPS 1
33101 _ACEOF
33102
33103 fi
33104 fi
33105 fi
33106
33107 if test "$wxUSE_TREECTRL" = "yes"; then
33108 if test "$wxUSE_IMAGLIST" = "yes"; then
33109 cat >>confdefs.h <<\_ACEOF
33110 #define wxUSE_TREECTRL 1
33111 _ACEOF
33112
33113 USES_CONTROLS=1
33114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33115 else
33116 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33117 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33118 fi
33119 fi
33120
33121 if test "$wxUSE_POPUPWIN" = "yes"; then
33122 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33123 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33124 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33125 else
33126 if test "$wxUSE_MOTIF" = 1; then
33127 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33128 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33129 else
33130 if test "$wxUSE_PM" = 1; then
33131 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33132 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33133 else
33134 cat >>confdefs.h <<\_ACEOF
33135 #define wxUSE_POPUPWIN 1
33136 _ACEOF
33137
33138
33139 USES_CONTROLS=1
33140 fi
33141 fi
33142 fi
33143 fi
33144
33145 if test "$wxUSE_TIPWINDOW" = "yes"; then
33146 if test "$wxUSE_PM" = 1; then
33147 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33148 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33149 else
33150 cat >>confdefs.h <<\_ACEOF
33151 #define wxUSE_TIPWINDOW 1
33152 _ACEOF
33153
33154 fi
33155 fi
33156
33157 if test "$USES_CONTROLS" = 1; then
33158 cat >>confdefs.h <<\_ACEOF
33159 #define wxUSE_CONTROLS 1
33160 _ACEOF
33161
33162 fi
33163
33164
33165
33166 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33167 cat >>confdefs.h <<\_ACEOF
33168 #define wxUSE_DRAGIMAGE 1
33169 _ACEOF
33170
33171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33172 fi
33173
33174 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33175 cat >>confdefs.h <<\_ACEOF
33176 #define wxUSE_ACCESSIBILITY 1
33177 _ACEOF
33178
33179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33180 fi
33181
33182 if test "$wxUSE_MENUS" = "yes"; then
33183 cat >>confdefs.h <<\_ACEOF
33184 #define wxUSE_MENUS 1
33185 _ACEOF
33186
33187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33188 fi
33189
33190 if test "$wxUSE_METAFILE" = "yes"; then
33191 cat >>confdefs.h <<\_ACEOF
33192 #define wxUSE_METAFILE 1
33193 _ACEOF
33194
33195 fi
33196
33197 if test "$wxUSE_MIMETYPE" = "yes"; then
33198 cat >>confdefs.h <<\_ACEOF
33199 #define wxUSE_MIMETYPE 1
33200 _ACEOF
33201
33202 fi
33203
33204 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33205 cat >>confdefs.h <<\_ACEOF
33206 #define wxUSE_SYSTEM_OPTIONS 1
33207 _ACEOF
33208
33209 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33210 "$TOOLKIT" = "MOTIF"; then
33211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33212 fi
33213
33214 fi
33215
33216 if test "$wxUSE_MINIFRAME" = "yes"; then
33217 cat >>confdefs.h <<\_ACEOF
33218 #define wxUSE_MINIFRAME 1
33219 _ACEOF
33220
33221 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33222 fi
33223
33224 USE_HTML=0
33225 if test "$wxUSE_HTML" = "yes"; then
33226 cat >>confdefs.h <<\_ACEOF
33227 #define wxUSE_HTML 1
33228 _ACEOF
33229
33230 USE_HTML=1
33231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33232 fi
33233
33234 if test "$wxUSE_VALIDATORS" = "yes"; then
33235 cat >>confdefs.h <<\_ACEOF
33236 #define wxUSE_VALIDATORS 1
33237 _ACEOF
33238
33239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33240 fi
33241
33242 if test "$wxUSE_PALETTE" = "yes" ; then
33243 cat >>confdefs.h <<\_ACEOF
33244 #define wxUSE_PALETTE 1
33245 _ACEOF
33246
33247 fi
33248
33249 if test "$wxUSE_IMAGE" = "yes" ; then
33250 cat >>confdefs.h <<\_ACEOF
33251 #define wxUSE_IMAGE 1
33252 _ACEOF
33253
33254 fi
33255
33256 if test "$wxUSE_GIF" = "yes" ; then
33257 cat >>confdefs.h <<\_ACEOF
33258 #define wxUSE_GIF 1
33259 _ACEOF
33260
33261 fi
33262
33263 if test "$wxUSE_PCX" = "yes" ; then
33264 cat >>confdefs.h <<\_ACEOF
33265 #define wxUSE_PCX 1
33266 _ACEOF
33267
33268 fi
33269
33270 if test "$wxUSE_IFF" = "yes" ; then
33271 cat >>confdefs.h <<\_ACEOF
33272 #define wxUSE_IFF 1
33273 _ACEOF
33274
33275 fi
33276
33277 if test "$wxUSE_PNM" = "yes" ; then
33278 cat >>confdefs.h <<\_ACEOF
33279 #define wxUSE_PNM 1
33280 _ACEOF
33281
33282 fi
33283
33284 if test "$wxUSE_XPM" = "yes" ; then
33285 cat >>confdefs.h <<\_ACEOF
33286 #define wxUSE_XPM 1
33287 _ACEOF
33288
33289 fi
33290
33291 if test "$wxUSE_ICO_CUR" = "yes" ; then
33292 cat >>confdefs.h <<\_ACEOF
33293 #define wxUSE_ICO_CUR 1
33294 _ACEOF
33295
33296 fi
33297
33298 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33299 LIBS=" -lunicows $LIBS"
33300 fi
33301
33302
33303 if test "$wxUSE_CHOICEDLG" = "yes"; then
33304 cat >>confdefs.h <<\_ACEOF
33305 #define wxUSE_CHOICEDLG 1
33306 _ACEOF
33307
33308 fi
33309
33310 if test "$wxUSE_COLOURDLG" = "yes"; then
33311 cat >>confdefs.h <<\_ACEOF
33312 #define wxUSE_COLOURDLG 1
33313 _ACEOF
33314
33315 fi
33316
33317 if test "$wxUSE_FILEDLG" = "yes"; then
33318 cat >>confdefs.h <<\_ACEOF
33319 #define wxUSE_FILEDLG 1
33320 _ACEOF
33321
33322 fi
33323
33324 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33325 cat >>confdefs.h <<\_ACEOF
33326 #define wxUSE_FINDREPLDLG 1
33327 _ACEOF
33328
33329 fi
33330
33331 if test "$wxUSE_FONTDLG" = "yes"; then
33332 cat >>confdefs.h <<\_ACEOF
33333 #define wxUSE_FONTDLG 1
33334 _ACEOF
33335
33336 fi
33337
33338 if test "$wxUSE_DIRDLG" = "yes"; then
33339 if test "$wxUSE_TREECTRL" != "yes"; then
33340 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33341 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33342 else
33343 cat >>confdefs.h <<\_ACEOF
33344 #define wxUSE_DIRDLG 1
33345 _ACEOF
33346
33347 fi
33348 fi
33349
33350 if test "$wxUSE_MSGDLG" = "yes"; then
33351 cat >>confdefs.h <<\_ACEOF
33352 #define wxUSE_MSGDLG 1
33353 _ACEOF
33354
33355 fi
33356
33357 if test "$wxUSE_NUMBERDLG" = "yes"; then
33358 cat >>confdefs.h <<\_ACEOF
33359 #define wxUSE_NUMBERDLG 1
33360 _ACEOF
33361
33362 fi
33363
33364 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33365 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33366 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33367 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33368 else
33369 cat >>confdefs.h <<\_ACEOF
33370 #define wxUSE_PROGRESSDLG 1
33371 _ACEOF
33372
33373 fi
33374 fi
33375
33376 if test "$wxUSE_SPLASH" = "yes"; then
33377 cat >>confdefs.h <<\_ACEOF
33378 #define wxUSE_SPLASH 1
33379 _ACEOF
33380
33381 fi
33382
33383 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33384 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33385 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33386 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33387 else
33388 cat >>confdefs.h <<\_ACEOF
33389 #define wxUSE_STARTUP_TIPS 1
33390 _ACEOF
33391
33392 fi
33393 fi
33394
33395 if test "$wxUSE_TEXTDLG" = "yes"; then
33396 cat >>confdefs.h <<\_ACEOF
33397 #define wxUSE_TEXTDLG 1
33398 _ACEOF
33399
33400 fi
33401
33402 if test "$wxUSE_WIZARDDLG" = "yes"; then
33403 cat >>confdefs.h <<\_ACEOF
33404 #define wxUSE_WIZARDDLG 1
33405 _ACEOF
33406
33407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33408 fi
33409
33410
33411 if test "$cross_compiling" = "yes"; then
33412 OSINFO="\"$host\""
33413 else
33414 OSINFO=`uname -s -r -m`
33415 OSINFO="\"$OSINFO\""
33416 fi
33417
33418 cat >>confdefs.h <<_ACEOF
33419 #define WXWIN_OS_DESCRIPTION $OSINFO
33420 _ACEOF
33421
33422
33423
33424 if test "x$prefix" != "xNONE"; then
33425 wxPREFIX=$prefix
33426 else
33427 wxPREFIX=$ac_default_prefix
33428 fi
33429
33430 cat >>confdefs.h <<_ACEOF
33431 #define wxINSTALL_PREFIX "$wxPREFIX"
33432 _ACEOF
33433
33434
33435 top_builddir_wxconfig=`pwd`
33436
33437
33438
33439 CORE_BASE_LIBS="net base"
33440 CORE_GUI_LIBS="adv core"
33441
33442 if test "$wxUSE_XML" = "yes" ; then
33443 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33444 fi
33445 if test "$wxUSE_ODBC" != "no" ; then
33446 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33447 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33448 fi
33449 if test "$wxUSE_HTML" = "yes" ; then
33450 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33451 fi
33452
33453
33454
33455
33456
33457
33458
33459
33460 if test "$wxUSE_MAC" = 1 ; then
33461 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33462 fi
33463 if test "$wxUSE_COCOA" = 1 ; then
33464 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33465 fi
33466
33467
33468 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33469
33470 have_cos=0
33471 have_floor=0
33472
33473 for ac_func in cos
33474 do
33475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33476 echo "$as_me:$LINENO: checking for $ac_func" >&5
33477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33478 if eval "test \"\${$as_ac_var+set}\" = set"; then
33479 echo $ECHO_N "(cached) $ECHO_C" >&6
33480 else
33481 cat >conftest.$ac_ext <<_ACEOF
33482 #line $LINENO "configure"
33483 /* confdefs.h. */
33484 _ACEOF
33485 cat confdefs.h >>conftest.$ac_ext
33486 cat >>conftest.$ac_ext <<_ACEOF
33487 /* end confdefs.h. */
33488 /* System header to define __stub macros and hopefully few prototypes,
33489 which can conflict with char $ac_func (); below.
33490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33491 <limits.h> exists even on freestanding compilers. */
33492 #ifdef __STDC__
33493 # include <limits.h>
33494 #else
33495 # include <assert.h>
33496 #endif
33497 /* Override any gcc2 internal prototype to avoid an error. */
33498 #ifdef __cplusplus
33499 extern "C"
33500 {
33501 #endif
33502 /* We use char because int might match the return type of a gcc2
33503 builtin and then its argument prototype would still apply. */
33504 char $ac_func ();
33505 /* The GNU C library defines this for functions which it implements
33506 to always fail with ENOSYS. Some functions are actually named
33507 something starting with __ and the normal name is an alias. */
33508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33509 choke me
33510 #else
33511 char (*f) () = $ac_func;
33512 #endif
33513 #ifdef __cplusplus
33514 }
33515 #endif
33516
33517 int
33518 main ()
33519 {
33520 return f != $ac_func;
33521 ;
33522 return 0;
33523 }
33524 _ACEOF
33525 rm -f conftest.$ac_objext conftest$ac_exeext
33526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33527 (eval $ac_link) 2>&5
33528 ac_status=$?
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); } &&
33531 { ac_try='test -s conftest$ac_exeext'
33532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33533 (eval $ac_try) 2>&5
33534 ac_status=$?
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); }; }; then
33537 eval "$as_ac_var=yes"
33538 else
33539 echo "$as_me: failed program was:" >&5
33540 sed 's/^/| /' conftest.$ac_ext >&5
33541
33542 eval "$as_ac_var=no"
33543 fi
33544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33545 fi
33546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33548 if test `eval echo '${'$as_ac_var'}'` = yes; then
33549 cat >>confdefs.h <<_ACEOF
33550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33551 _ACEOF
33552 have_cos=1
33553 fi
33554 done
33555
33556
33557 for ac_func in floor
33558 do
33559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33560 echo "$as_me:$LINENO: checking for $ac_func" >&5
33561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33562 if eval "test \"\${$as_ac_var+set}\" = set"; then
33563 echo $ECHO_N "(cached) $ECHO_C" >&6
33564 else
33565 cat >conftest.$ac_ext <<_ACEOF
33566 #line $LINENO "configure"
33567 /* confdefs.h. */
33568 _ACEOF
33569 cat confdefs.h >>conftest.$ac_ext
33570 cat >>conftest.$ac_ext <<_ACEOF
33571 /* end confdefs.h. */
33572 /* System header to define __stub macros and hopefully few prototypes,
33573 which can conflict with char $ac_func (); below.
33574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33575 <limits.h> exists even on freestanding compilers. */
33576 #ifdef __STDC__
33577 # include <limits.h>
33578 #else
33579 # include <assert.h>
33580 #endif
33581 /* Override any gcc2 internal prototype to avoid an error. */
33582 #ifdef __cplusplus
33583 extern "C"
33584 {
33585 #endif
33586 /* We use char because int might match the return type of a gcc2
33587 builtin and then its argument prototype would still apply. */
33588 char $ac_func ();
33589 /* The GNU C library defines this for functions which it implements
33590 to always fail with ENOSYS. Some functions are actually named
33591 something starting with __ and the normal name is an alias. */
33592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33593 choke me
33594 #else
33595 char (*f) () = $ac_func;
33596 #endif
33597 #ifdef __cplusplus
33598 }
33599 #endif
33600
33601 int
33602 main ()
33603 {
33604 return f != $ac_func;
33605 ;
33606 return 0;
33607 }
33608 _ACEOF
33609 rm -f conftest.$ac_objext conftest$ac_exeext
33610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33611 (eval $ac_link) 2>&5
33612 ac_status=$?
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); } &&
33615 { ac_try='test -s conftest$ac_exeext'
33616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33617 (eval $ac_try) 2>&5
33618 ac_status=$?
33619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33620 (exit $ac_status); }; }; then
33621 eval "$as_ac_var=yes"
33622 else
33623 echo "$as_me: failed program was:" >&5
33624 sed 's/^/| /' conftest.$ac_ext >&5
33625
33626 eval "$as_ac_var=no"
33627 fi
33628 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33629 fi
33630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33632 if test `eval echo '${'$as_ac_var'}'` = yes; then
33633 cat >>confdefs.h <<_ACEOF
33634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33635 _ACEOF
33636 have_floor=1
33637 fi
33638 done
33639
33640 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33641 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33642 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33643 echo "$as_me:$LINENO: result: yes" >&5
33644 echo "${ECHO_T}yes" >&6
33645 else
33646 echo "$as_me:$LINENO: result: no" >&5
33647 echo "${ECHO_T}no" >&6
33648 LIBS="$LIBS -lm"
33649 # use different functions to avoid configure caching
33650 have_sin=0
33651 have_ceil=0
33652
33653 for ac_func in sin
33654 do
33655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33656 echo "$as_me:$LINENO: checking for $ac_func" >&5
33657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33658 if eval "test \"\${$as_ac_var+set}\" = set"; then
33659 echo $ECHO_N "(cached) $ECHO_C" >&6
33660 else
33661 cat >conftest.$ac_ext <<_ACEOF
33662 #line $LINENO "configure"
33663 /* confdefs.h. */
33664 _ACEOF
33665 cat confdefs.h >>conftest.$ac_ext
33666 cat >>conftest.$ac_ext <<_ACEOF
33667 /* end confdefs.h. */
33668 /* System header to define __stub macros and hopefully few prototypes,
33669 which can conflict with char $ac_func (); below.
33670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33671 <limits.h> exists even on freestanding compilers. */
33672 #ifdef __STDC__
33673 # include <limits.h>
33674 #else
33675 # include <assert.h>
33676 #endif
33677 /* Override any gcc2 internal prototype to avoid an error. */
33678 #ifdef __cplusplus
33679 extern "C"
33680 {
33681 #endif
33682 /* We use char because int might match the return type of a gcc2
33683 builtin and then its argument prototype would still apply. */
33684 char $ac_func ();
33685 /* The GNU C library defines this for functions which it implements
33686 to always fail with ENOSYS. Some functions are actually named
33687 something starting with __ and the normal name is an alias. */
33688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33689 choke me
33690 #else
33691 char (*f) () = $ac_func;
33692 #endif
33693 #ifdef __cplusplus
33694 }
33695 #endif
33696
33697 int
33698 main ()
33699 {
33700 return f != $ac_func;
33701 ;
33702 return 0;
33703 }
33704 _ACEOF
33705 rm -f conftest.$ac_objext conftest$ac_exeext
33706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33707 (eval $ac_link) 2>&5
33708 ac_status=$?
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); } &&
33711 { ac_try='test -s conftest$ac_exeext'
33712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33713 (eval $ac_try) 2>&5
33714 ac_status=$?
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); }; }; then
33717 eval "$as_ac_var=yes"
33718 else
33719 echo "$as_me: failed program was:" >&5
33720 sed 's/^/| /' conftest.$ac_ext >&5
33721
33722 eval "$as_ac_var=no"
33723 fi
33724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33725 fi
33726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33728 if test `eval echo '${'$as_ac_var'}'` = yes; then
33729 cat >>confdefs.h <<_ACEOF
33730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33731 _ACEOF
33732 have_sin=1
33733 fi
33734 done
33735
33736
33737 for ac_func in ceil
33738 do
33739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33740 echo "$as_me:$LINENO: checking for $ac_func" >&5
33741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33742 if eval "test \"\${$as_ac_var+set}\" = set"; then
33743 echo $ECHO_N "(cached) $ECHO_C" >&6
33744 else
33745 cat >conftest.$ac_ext <<_ACEOF
33746 #line $LINENO "configure"
33747 /* confdefs.h. */
33748 _ACEOF
33749 cat confdefs.h >>conftest.$ac_ext
33750 cat >>conftest.$ac_ext <<_ACEOF
33751 /* end confdefs.h. */
33752 /* System header to define __stub macros and hopefully few prototypes,
33753 which can conflict with char $ac_func (); below.
33754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33755 <limits.h> exists even on freestanding compilers. */
33756 #ifdef __STDC__
33757 # include <limits.h>
33758 #else
33759 # include <assert.h>
33760 #endif
33761 /* Override any gcc2 internal prototype to avoid an error. */
33762 #ifdef __cplusplus
33763 extern "C"
33764 {
33765 #endif
33766 /* We use char because int might match the return type of a gcc2
33767 builtin and then its argument prototype would still apply. */
33768 char $ac_func ();
33769 /* The GNU C library defines this for functions which it implements
33770 to always fail with ENOSYS. Some functions are actually named
33771 something starting with __ and the normal name is an alias. */
33772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33773 choke me
33774 #else
33775 char (*f) () = $ac_func;
33776 #endif
33777 #ifdef __cplusplus
33778 }
33779 #endif
33780
33781 int
33782 main ()
33783 {
33784 return f != $ac_func;
33785 ;
33786 return 0;
33787 }
33788 _ACEOF
33789 rm -f conftest.$ac_objext conftest$ac_exeext
33790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33791 (eval $ac_link) 2>&5
33792 ac_status=$?
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); } &&
33795 { ac_try='test -s conftest$ac_exeext'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33798 ac_status=$?
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; }; then
33801 eval "$as_ac_var=yes"
33802 else
33803 echo "$as_me: failed program was:" >&5
33804 sed 's/^/| /' conftest.$ac_ext >&5
33805
33806 eval "$as_ac_var=no"
33807 fi
33808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33809 fi
33810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33812 if test `eval echo '${'$as_ac_var'}'` = yes; then
33813 cat >>confdefs.h <<_ACEOF
33814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33815 _ACEOF
33816 have_ceil=1
33817 fi
33818 done
33819
33820 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33821 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33822 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33823 echo "$as_me:$LINENO: result: yes" >&5
33824 echo "${ECHO_T}yes" >&6
33825 else
33826 echo "$as_me:$LINENO: result: no" >&5
33827 echo "${ECHO_T}no" >&6
33828 # not sure we should warn the user, crash, etc.
33829 fi
33830 fi
33831
33832 if test "$wxUSE_GUI" = "yes"; then
33833
33834
33835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33836 drawing dynamic erase event exec font image \
33837 minimal propsize rotate shaped widgets render"
33838
33839 if test "$wxUSE_MONOLITHIC" != "yes"; then
33840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33841 fi
33842 else
33843 SAMPLES_SUBDIRS="console"
33844 fi
33845
33846
33847 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33848 -I\${top_srcdir}/include \
33849 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33850 $TOOLKIT_INCLUDE"
33851
33852 if test "$GXX" = yes ; then
33853 CXXWARNINGS="-Wall"
33854 fi
33855
33856 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33857
33858 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33859 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33860 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33861
33862
33863 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33864 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33865 EXTRALIBS_XML="$EXPAT_LINK"
33866 EXTRALIBS_ODBC="$ODBC_LINK"
33867 if test "$wxUSE_GUI" = "yes"; then
33868 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33869 fi
33870 if test "$wxUSE_OPENGL" = "yes"; then
33871 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33872 fi
33873
33874 LDFLAGS="$LDFLAGS $PROFILE"
33875
33876 if test "$wxUSE_GTK" = 1; then
33877 WXCONFIG_INCLUDE=
33878 else
33879 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33880 fi
33881
33882 WXCONFIG_EXTRALIBS="$LIBS"
33883
33884 if test "$wxUSE_REGEX" = "builtin" ; then
33885 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33886 fi
33887 if test "$wxUSE_EXPAT" = "builtin" ; then
33888 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33889 fi
33890 if test "$wxUSE_ODBC" = "builtin" ; then
33891 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33892 fi
33893 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33894 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33895 fi
33896 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33897 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33898 fi
33899 if test "$wxUSE_LIBPNG" = "builtin" ; then
33900 wxconfig_3rdparty="$wxconfig_3rdparty png"
33901 fi
33902 if test "$wxUSE_ZLIB" = "builtin" ; then
33903 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33904 fi
33905 if test "$wxUSE_ODBC" = "builtin" ; then
33906 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33907 fi
33908
33909 for i in $wxconfig_3rdparty ; do
33910 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33911 done
33912
33913
33914 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33915 WXUNIV=1
33916 else
33917 WXUNIV=0
33918 fi
33919
33920
33921
33922
33923
33924
33925
33926
33927
33928 if test $wxUSE_MONOLITHIC = "yes" ; then
33929 MONOLITHIC=1
33930 else
33931 MONOLITHIC=0
33932 fi
33933
33934 if test $wxUSE_ODBC != "no" ; then
33935 USE_ODBC=1
33936 else
33937 USE_ODBC=0
33938 fi
33939
33940 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33941 OFFICIAL_BUILD=1
33942 else
33943 OFFICIAL_BUILD=0
33944 fi
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
33961
33962 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33963
33964
33965
33966
33967
33968
33969
33970 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33971
33972 if test -n "$ac_tool_prefix"; then
33973 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33974 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33975 echo "$as_me:$LINENO: checking for $ac_word" >&5
33976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33977 if test "${ac_cv_prog_RANLIB+set}" = set; then
33978 echo $ECHO_N "(cached) $ECHO_C" >&6
33979 else
33980 if test -n "$RANLIB"; then
33981 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33982 else
33983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33984 for as_dir in $PATH
33985 do
33986 IFS=$as_save_IFS
33987 test -z "$as_dir" && as_dir=.
33988 for ac_exec_ext in '' $ac_executable_extensions; do
33989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33990 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33992 break 2
33993 fi
33994 done
33995 done
33996
33997 fi
33998 fi
33999 RANLIB=$ac_cv_prog_RANLIB
34000 if test -n "$RANLIB"; then
34001 echo "$as_me:$LINENO: result: $RANLIB" >&5
34002 echo "${ECHO_T}$RANLIB" >&6
34003 else
34004 echo "$as_me:$LINENO: result: no" >&5
34005 echo "${ECHO_T}no" >&6
34006 fi
34007
34008 fi
34009 if test -z "$ac_cv_prog_RANLIB"; then
34010 ac_ct_RANLIB=$RANLIB
34011 # Extract the first word of "ranlib", so it can be a program name with args.
34012 set dummy ranlib; ac_word=$2
34013 echo "$as_me:$LINENO: checking for $ac_word" >&5
34014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34015 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34016 echo $ECHO_N "(cached) $ECHO_C" >&6
34017 else
34018 if test -n "$ac_ct_RANLIB"; then
34019 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
34020 else
34021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34022 for as_dir in $PATH
34023 do
34024 IFS=$as_save_IFS
34025 test -z "$as_dir" && as_dir=.
34026 for ac_exec_ext in '' $ac_executable_extensions; do
34027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34028 ac_cv_prog_ac_ct_RANLIB="ranlib"
34029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34030 break 2
34031 fi
34032 done
34033 done
34034
34035 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34036 fi
34037 fi
34038 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34039 if test -n "$ac_ct_RANLIB"; then
34040 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34041 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34042 else
34043 echo "$as_me:$LINENO: result: no" >&5
34044 echo "${ECHO_T}no" >&6
34045 fi
34046
34047 RANLIB=$ac_ct_RANLIB
34048 else
34049 RANLIB="$ac_cv_prog_RANLIB"
34050 fi
34051
34052 # Find a good install program. We prefer a C program (faster),
34053 # so one script is as good as another. But avoid the broken or
34054 # incompatible versions:
34055 # SysV /etc/install, /usr/sbin/install
34056 # SunOS /usr/etc/install
34057 # IRIX /sbin/install
34058 # AIX /bin/install
34059 # AmigaOS /C/install, which installs bootblocks on floppy discs
34060 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34061 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34062 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34063 # ./install, which can be erroneously created by make from ./install.sh.
34064 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34065 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34066 if test -z "$INSTALL"; then
34067 if test "${ac_cv_path_install+set}" = set; then
34068 echo $ECHO_N "(cached) $ECHO_C" >&6
34069 else
34070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34071 for as_dir in $PATH
34072 do
34073 IFS=$as_save_IFS
34074 test -z "$as_dir" && as_dir=.
34075 # Account for people who put trailing slashes in PATH elements.
34076 case $as_dir/ in
34077 ./ | .// | /cC/* | \
34078 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34079 /usr/ucb/* ) ;;
34080 *)
34081 # OSF1 and SCO ODT 3.0 have their own names for install.
34082 # Don't use installbsd from OSF since it installs stuff as root
34083 # by default.
34084 for ac_prog in ginstall scoinst install; do
34085 for ac_exec_ext in '' $ac_executable_extensions; do
34086 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34087 if test $ac_prog = install &&
34088 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34089 # AIX install. It has an incompatible calling convention.
34090 :
34091 elif test $ac_prog = install &&
34092 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34093 # program-specific install script used by HP pwplus--don't use.
34094 :
34095 else
34096 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34097 break 3
34098 fi
34099 fi
34100 done
34101 done
34102 ;;
34103 esac
34104 done
34105
34106
34107 fi
34108 if test "${ac_cv_path_install+set}" = set; then
34109 INSTALL=$ac_cv_path_install
34110 else
34111 # As a last resort, use the slow shell script. We don't cache a
34112 # path for INSTALL within a source directory, because that will
34113 # break other packages using the cache if that directory is
34114 # removed, or if the path is relative.
34115 INSTALL=$ac_install_sh
34116 fi
34117 fi
34118 echo "$as_me:$LINENO: result: $INSTALL" >&5
34119 echo "${ECHO_T}$INSTALL" >&6
34120
34121 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34122 # It thinks the first close brace ends the variable substitution.
34123 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34124
34125 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34126
34127 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34128
34129 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34130 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34131 LN_S=$as_ln_s
34132 if test "$LN_S" = "ln -s"; then
34133 echo "$as_me:$LINENO: result: yes" >&5
34134 echo "${ECHO_T}yes" >&6
34135 else
34136 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34137 echo "${ECHO_T}no, using $LN_S" >&6
34138 fi
34139
34140
34141 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34142 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34143 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34144 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34145 echo $ECHO_N "(cached) $ECHO_C" >&6
34146 else
34147 cat >conftest.make <<\_ACEOF
34148 all:
34149 @echo 'ac_maketemp="$(MAKE)"'
34150 _ACEOF
34151 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34152 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34153 if test -n "$ac_maketemp"; then
34154 eval ac_cv_prog_make_${ac_make}_set=yes
34155 else
34156 eval ac_cv_prog_make_${ac_make}_set=no
34157 fi
34158 rm -f conftest.make
34159 fi
34160 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34161 echo "$as_me:$LINENO: result: yes" >&5
34162 echo "${ECHO_T}yes" >&6
34163 SET_MAKE=
34164 else
34165 echo "$as_me:$LINENO: result: no" >&5
34166 echo "${ECHO_T}no" >&6
34167 SET_MAKE="MAKE=${MAKE-make}"
34168 fi
34169
34170
34171
34172 if test "$build" != "$host" ; then
34173 AR=$host_alias-ar
34174 STRIP=$host_alias-strip
34175 else
34176 # Extract the first word of "ar", so it can be a program name with args.
34177 set dummy ar; ac_word=$2
34178 echo "$as_me:$LINENO: checking for $ac_word" >&5
34179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34180 if test "${ac_cv_prog_AR+set}" = set; then
34181 echo $ECHO_N "(cached) $ECHO_C" >&6
34182 else
34183 if test -n "$AR"; then
34184 ac_cv_prog_AR="$AR" # Let the user override the test.
34185 else
34186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34187 for as_dir in $PATH
34188 do
34189 IFS=$as_save_IFS
34190 test -z "$as_dir" && as_dir=.
34191 for ac_exec_ext in '' $ac_executable_extensions; do
34192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34193 ac_cv_prog_AR="ar"
34194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34195 break 2
34196 fi
34197 done
34198 done
34199
34200 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
34201 fi
34202 fi
34203 AR=$ac_cv_prog_AR
34204 if test -n "$AR"; then
34205 echo "$as_me:$LINENO: result: $AR" >&5
34206 echo "${ECHO_T}$AR" >&6
34207 else
34208 echo "$as_me:$LINENO: result: no" >&5
34209 echo "${ECHO_T}no" >&6
34210 fi
34211
34212 # Extract the first word of "strip", so it can be a program name with args.
34213 set dummy strip; ac_word=$2
34214 echo "$as_me:$LINENO: checking for $ac_word" >&5
34215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34216 if test "${ac_cv_prog_STRIP+set}" = set; then
34217 echo $ECHO_N "(cached) $ECHO_C" >&6
34218 else
34219 if test -n "$STRIP"; then
34220 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34221 else
34222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34223 for as_dir in $PATH
34224 do
34225 IFS=$as_save_IFS
34226 test -z "$as_dir" && as_dir=.
34227 for ac_exec_ext in '' $ac_executable_extensions; do
34228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34229 ac_cv_prog_STRIP="strip"
34230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34231 break 2
34232 fi
34233 done
34234 done
34235
34236 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
34237 fi
34238 fi
34239 STRIP=$ac_cv_prog_STRIP
34240 if test -n "$STRIP"; then
34241 echo "$as_me:$LINENO: result: $STRIP" >&5
34242 echo "${ECHO_T}$STRIP" >&6
34243 else
34244 echo "$as_me:$LINENO: result: no" >&5
34245 echo "${ECHO_T}no" >&6
34246 fi
34247
34248 fi
34249
34250 case ${host} in
34251 *-hp-hpux* )
34252 INSTALL_DIR="mkdir"
34253 ;;
34254 *) INSTALL_DIR="$INSTALL -d"
34255 ;;
34256 esac
34257
34258
34259 LDFLAGS_GUI=
34260 case ${host} in
34261 *-*-cygwin* | *-*-mingw32* )
34262 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34263 esac
34264
34265
34266 fi
34267
34268 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34269 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34270 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34271 echo $ECHO_N "(cached) $ECHO_C" >&6
34272 else
34273
34274 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34275 egrep -s GNU > /dev/null); then
34276 bakefile_cv_prog_makeisgnu="yes"
34277 else
34278 bakefile_cv_prog_makeisgnu="no"
34279 fi
34280
34281 fi
34282 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34283 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34284
34285 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34286 IF_GNU_MAKE=""
34287 else
34288 IF_GNU_MAKE="#"
34289 fi
34290
34291
34292
34293 PLATFORM_UNIX=0
34294 PLATFORM_WIN32=0
34295 PLATFORM_MSDOS=0
34296 PLATFORM_MAC=0
34297 PLATFORM_MACOSX=0
34298
34299 case "${host}" in
34300 *-*-cygwin* | *-*-mingw32* )
34301 PLATFORM_WIN32=1
34302 ;;
34303 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34304 PLATFORM_MSDOS=1
34305 ;;
34306 powerpc-*-darwin* )
34307 PLATFORM_MAC=1
34308 PLATFORM_MACOSX=1
34309 ;;
34310 * )
34311 PLATFORM_UNIX=1
34312 ;;
34313 esac
34314
34315
34316
34317
34318
34319
34320
34321
34322 SO_SUFFIX="so"
34323 SO_SUFFIX_MODULE="so"
34324 EXEEXT=""
34325 DLLPREFIX=lib
34326 DLLPREFIX_MODULE=
34327
34328 case "${host}" in
34329 *-hp-hpux* )
34330 SO_SUFFIX="sl"
34331 SO_SUFFIX_MODULE="sl"
34332 ;;
34333 *-*-aix* )
34334 SO_SUFFIX="a"
34335 SO_SUFFIX_MODULE="a"
34336 ;;
34337 *-*-cygwin* | *-*-mingw32* )
34338 SO_SUFFIX="dll"
34339 SO_SUFFIX_MODULE="dll"
34340 EXEEXT=".exe"
34341 DLLPREFIX=""
34342 ;;
34343 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34344 EXEEXT=".exe"
34345 DLLPREFIX=""
34346 ;;
34347 powerpc-*-darwin* )
34348 SO_SUFFIX="dylib"
34349 SO_SUFFIX_MODULE="bundle"
34350 ;;
34351 esac
34352
34353
34354
34355
34356
34357
34358
34359
34360 SHARED_LD_CC="\$(CC) -shared -o"
34361 SHARED_LD_CXX="\$(CXX) -shared -o"
34362
34363 if test "x$GCC" = "xyes"; then
34364 PIC_FLAG="-fPIC"
34365 fi
34366
34367 case "${host}" in
34368 *-hp-hpux* )
34369 if test "x$GCC" = "xyes"; then
34370 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34371 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34372 else
34373 LDFLAGS="$LDFLAGS -L/usr/lib"
34374
34375 SHARED_LD_CC="${CC} -b -o"
34376 SHARED_LD_CXX="${CXX} -b -o"
34377 PIC_FLAG="+Z"
34378 fi
34379 ;;
34380
34381 *-*-linux* )
34382 if test "x$GCC" != "xyes"; then
34383 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34384 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34385 if test "${bakefile_cv_prog_icc+set}" = set; then
34386 echo $ECHO_N "(cached) $ECHO_C" >&6
34387 else
34388
34389 cat >conftest.$ac_ext <<_ACEOF
34390 #line $LINENO "configure"
34391 /* confdefs.h. */
34392 _ACEOF
34393 cat confdefs.h >>conftest.$ac_ext
34394 cat >>conftest.$ac_ext <<_ACEOF
34395 /* end confdefs.h. */
34396
34397 int
34398 main ()
34399 {
34400
34401 #ifndef __INTEL_COMPILER
34402 #error Not icc
34403 #endif
34404
34405 ;
34406 return 0;
34407 }
34408 _ACEOF
34409 rm -f conftest.$ac_objext
34410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34411 (eval $ac_compile) 2>&5
34412 ac_status=$?
34413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34414 (exit $ac_status); } &&
34415 { ac_try='test -s conftest.$ac_objext'
34416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34417 (eval $ac_try) 2>&5
34418 ac_status=$?
34419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34420 (exit $ac_status); }; }; then
34421 bakefile_cv_prog_icc=yes
34422 else
34423 echo "$as_me: failed program was:" >&5
34424 sed 's/^/| /' conftest.$ac_ext >&5
34425
34426 bakefile_cv_prog_icc=no
34427
34428 fi
34429 rm -f conftest.$ac_objext conftest.$ac_ext
34430
34431 fi
34432 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34433 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34434 if test "$bakefile_cv_prog_icc" = "yes"; then
34435 PIC_FLAG="-KPIC"
34436 fi
34437 fi
34438 ;;
34439
34440 *-*-solaris2* )
34441 if test "x$GCC" != xyes ; then
34442 SHARED_LD_CC="${CC} -G -o"
34443 SHARED_LD_CXX="${CXX} -G -o"
34444 PIC_FLAG="-KPIC"
34445 fi
34446 ;;
34447
34448 *-*-darwin* )
34449 CFLAGS="$CFLAGS -fno-common"
34450 CXXFLAGS="$CXXFLAGS -fno-common"
34451
34452
34453 cat <<EOF >shared-ld-sh
34454 #!/bin/sh
34455 #-----------------------------------------------------------------------------
34456 #-- Name: distrib/mac/shared-ld-sh
34457 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34458 #-- Author: Gilles Depeyrot
34459 #-- Copyright: (c) 2002 Gilles Depeyrot
34460 #-- Licence: any use permitted
34461 #-----------------------------------------------------------------------------
34462
34463 verbose=0
34464 args=""
34465 objects=""
34466 linking_flag="-dynamiclib"
34467
34468 while test \${#} -gt 0; do
34469 case \${1} in
34470
34471 -v)
34472 verbose=1
34473 ;;
34474
34475 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34476 # collect these options and values
34477 args="\${args} \${1} \${2}"
34478 shift
34479 ;;
34480
34481 -l*|-L*|-flat_namespace)
34482 # collect these options
34483 args="\${args} \${1}"
34484 ;;
34485
34486 -dynamiclib|-bundle)
34487 linking_flag="\${1}"
34488 ;;
34489
34490 -*)
34491 echo "shared-ld: unhandled option '\${1}'"
34492 exit 1
34493 ;;
34494
34495 *.o | *.a | *.dylib)
34496 # collect object files
34497 objects="\${objects} \${1}"
34498 ;;
34499
34500 *)
34501 echo "shared-ld: unhandled argument '\${1}'"
34502 exit 1
34503 ;;
34504
34505 esac
34506 shift
34507 done
34508
34509 #
34510 # Link one module containing all the others
34511 #
34512 if test \${verbose} = 1; then
34513 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34514 fi
34515 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34516 status=\$?
34517 if test \${status} != 0; then
34518 exit \${status}
34519 fi
34520
34521 #
34522 # Link the shared library from the single module created
34523 #
34524 if test \${verbose} = 1; then
34525 echo "cc \${linking_flag} master.\$\$.o \${args}"
34526 fi
34527 c++ \${linking_flag} master.\$\$.o \${args}
34528 status=\$?
34529 if test \${status} != 0; then
34530 exit \${status}
34531 fi
34532
34533 #
34534 # Remove intermediate module
34535 #
34536 rm -f master.\$\$.o
34537
34538 exit 0
34539 EOF
34540 chmod +x shared-ld-sh
34541
34542 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34543 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34544 SHARED_LD_CXX="$SHARED_LD_CC"
34545 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34546 PIC_FLAG="-dynamic -fPIC"
34547 ;;
34548
34549 *-*-aix* )
34550 if test "x$GCC" != "xyes"; then
34551 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34552 set dummy makeC++SharedLib; ac_word=$2
34553 echo "$as_me:$LINENO: checking for $ac_word" >&5
34554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34555 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34556 echo $ECHO_N "(cached) $ECHO_C" >&6
34557 else
34558 if test -n "$AIX_CXX_LD"; then
34559 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34560 else
34561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34562 for as_dir in $PATH
34563 do
34564 IFS=$as_save_IFS
34565 test -z "$as_dir" && as_dir=.
34566 for ac_exec_ext in '' $ac_executable_extensions; do
34567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34568 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34570 break 2
34571 fi
34572 done
34573 done
34574
34575 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34576 fi
34577 fi
34578 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34579 if test -n "$AIX_CXX_LD"; then
34580 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34581 echo "${ECHO_T}$AIX_CXX_LD" >&6
34582 else
34583 echo "$as_me:$LINENO: result: no" >&5
34584 echo "${ECHO_T}no" >&6
34585 fi
34586
34587 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34588 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34589 fi
34590 ;;
34591
34592 *-*-beos* )
34593 SHARED_LD_CC="${LD} -shared -o"
34594 SHARED_LD_CXX="${LD} -shared -o"
34595 ;;
34596
34597 *-*-irix* )
34598 if test "x$GCC" != "xyes"; then
34599 PIC_FLAG="-KPIC"
34600 fi
34601 ;;
34602
34603 *-*-cygwin* | *-*-mingw32* )
34604 PIC_FLAG=""
34605 ;;
34606
34607 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34608 *-*-sunos4* | \
34609 *-*-osf* | \
34610 *-*-dgux5* | \
34611 *-*-sysv5* )
34612 ;;
34613
34614 *)
34615 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34616 echo "$as_me: error: unknown system type $host." >&2;}
34617 { (exit 1); exit 1; }; }
34618 esac
34619
34620 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34621 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34622 fi
34623 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34624 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34625 fi
34626
34627
34628
34629
34630
34631
34632
34633
34634 USE_SOVERSION=0
34635 USE_SOVERLINUX=0
34636 USE_SOVERSOLARIS=0
34637 USE_SOSYMLINKS=0
34638 USE_MACVERSION=0
34639 SONAME_FLAG=
34640
34641 case "${host}" in
34642 *-*-linux* )
34643 SONAME_FLAG="-Wl,-soname,"
34644 USE_SOVERSION=1
34645 USE_SOVERLINUX=1
34646 USE_SOSYMLINKS=1
34647 ;;
34648
34649 *-*-solaris2* )
34650 SONAME_FLAG="-h "
34651 USE_SOVERSION=1
34652 USE_SOVERSOLARIS=1
34653 USE_SOSYMLINKS=1
34654 ;;
34655
34656 *-*-darwin* )
34657 USE_MACVERSION=1
34658 USE_SOVERSION=1
34659 USE_SOSYMLINKS=1
34660 ;;
34661 esac
34662
34663
34664
34665
34666
34667
34668
34669
34670
34671 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34672 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34673 DEPS_TRACKING=0
34674
34675 if test "x$GCC" = "xyes"; then
34676 DEPSMODE=gcc
34677 DEPS_TRACKING=1
34678 case "${host}" in
34679 powerpc-*-darwin* )
34680 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34681 ;;
34682 * )
34683 DEPSFLAG_GCC="-MMD"
34684 ;;
34685 esac
34686 echo "$as_me:$LINENO: result: gcc" >&5
34687 echo "${ECHO_T}gcc" >&6
34688 else
34689 echo "$as_me:$LINENO: result: none" >&5
34690 echo "${ECHO_T}none" >&6
34691 fi
34692
34693 if test $DEPS_TRACKING = 1 ; then
34694 cat <<EOF >bk-deps
34695 #!/bin/sh
34696
34697 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34698 # script. It is used to track C/C++ files dependencies in portable way.
34699 #
34700 # Permission is given to use this file in any way.
34701
34702 DEPSMODE=$DEPSMODE
34703 DEPSDIR=.deps
34704 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34705
34706 mkdir -p \$DEPSDIR
34707
34708 if test \$DEPSMODE = gcc ; then
34709 \${*} \${DEPSFLAG_GCC}
34710 status=\${?}
34711 if test \${status} != 0 ; then
34712 exit \${status}
34713 fi
34714 # move created file to the location we want it in:
34715 while test \${#} -gt 0; do
34716 case "\${1}" in
34717 -o )
34718 shift
34719 objfile=\${1}
34720 ;;
34721 -* )
34722 ;;
34723 * )
34724 srcfile=\${1}
34725 ;;
34726 esac
34727 shift
34728 done
34729 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34730 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34731 if test -f \$depfile ; then
34732 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34733 rm -f \$depfile
34734 else
34735 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34736 if test -f \$depfile ; then
34737 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34738 rm -f \$depfile
34739 fi
34740 fi
34741 exit 0
34742 else
34743 \${*}
34744 exit \${?}
34745 fi
34746 EOF
34747 chmod +x bk-deps
34748 fi
34749
34750
34751
34752
34753 RESCOMP=
34754 SETFILE=
34755
34756 case ${host} in
34757 *-*-cygwin* | *-*-mingw32* )
34758 if test "$build" != "$host" ; then
34759 RESCOMP=$host_alias-windres
34760 else
34761 # Extract the first word of "windres", so it can be a program name with args.
34762 set dummy windres; ac_word=$2
34763 echo "$as_me:$LINENO: checking for $ac_word" >&5
34764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34765 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34766 echo $ECHO_N "(cached) $ECHO_C" >&6
34767 else
34768 if test -n "$RESCOMP"; then
34769 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34770 else
34771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34772 for as_dir in $PATH
34773 do
34774 IFS=$as_save_IFS
34775 test -z "$as_dir" && as_dir=.
34776 for ac_exec_ext in '' $ac_executable_extensions; do
34777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34778 ac_cv_prog_RESCOMP="windres"
34779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34780 break 2
34781 fi
34782 done
34783 done
34784
34785 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34786 fi
34787 fi
34788 RESCOMP=$ac_cv_prog_RESCOMP
34789 if test -n "$RESCOMP"; then
34790 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34791 echo "${ECHO_T}$RESCOMP" >&6
34792 else
34793 echo "$as_me:$LINENO: result: no" >&5
34794 echo "${ECHO_T}no" >&6
34795 fi
34796
34797 fi
34798 ;;
34799
34800 *-*-darwin* )
34801 # Extract the first word of "Rez", so it can be a program name with args.
34802 set dummy Rez; ac_word=$2
34803 echo "$as_me:$LINENO: checking for $ac_word" >&5
34804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34805 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34806 echo $ECHO_N "(cached) $ECHO_C" >&6
34807 else
34808 if test -n "$RESCOMP"; then
34809 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34810 else
34811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34812 for as_dir in $PATH
34813 do
34814 IFS=$as_save_IFS
34815 test -z "$as_dir" && as_dir=.
34816 for ac_exec_ext in '' $ac_executable_extensions; do
34817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34818 ac_cv_prog_RESCOMP="Rez"
34819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34820 break 2
34821 fi
34822 done
34823 done
34824
34825 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34826 fi
34827 fi
34828 RESCOMP=$ac_cv_prog_RESCOMP
34829 if test -n "$RESCOMP"; then
34830 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34831 echo "${ECHO_T}$RESCOMP" >&6
34832 else
34833 echo "$as_me:$LINENO: result: no" >&5
34834 echo "${ECHO_T}no" >&6
34835 fi
34836
34837 # Extract the first word of "SetFile", so it can be a program name with args.
34838 set dummy SetFile; ac_word=$2
34839 echo "$as_me:$LINENO: checking for $ac_word" >&5
34840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34841 if test "${ac_cv_prog_SETFILE+set}" = set; then
34842 echo $ECHO_N "(cached) $ECHO_C" >&6
34843 else
34844 if test -n "$SETFILE"; then
34845 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34846 else
34847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34848 for as_dir in $PATH
34849 do
34850 IFS=$as_save_IFS
34851 test -z "$as_dir" && as_dir=.
34852 for ac_exec_ext in '' $ac_executable_extensions; do
34853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34854 ac_cv_prog_SETFILE="SetFile"
34855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34856 break 2
34857 fi
34858 done
34859 done
34860
34861 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34862 fi
34863 fi
34864 SETFILE=$ac_cv_prog_SETFILE
34865 if test -n "$SETFILE"; then
34866 echo "$as_me:$LINENO: result: $SETFILE" >&5
34867 echo "${ECHO_T}$SETFILE" >&6
34868 else
34869 echo "$as_me:$LINENO: result: no" >&5
34870 echo "${ECHO_T}no" >&6
34871 fi
34872
34873 ;;
34874 esac
34875
34876
34877
34878
34879
34880
34881
34882
34883 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34884 if test "${enable_precomp_headers+set}" = set; then
34885 enableval="$enable_precomp_headers"
34886 bk_use_pch="$enableval"
34887 fi;
34888
34889 GCC_PCH=0
34890
34891 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34892 if test "x$GCC" = "xyes"; then
34893 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34894 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34895 cat >conftest.$ac_ext <<_ACEOF
34896 #line $LINENO "configure"
34897 /* confdefs.h. */
34898 _ACEOF
34899 cat confdefs.h >>conftest.$ac_ext
34900 cat >>conftest.$ac_ext <<_ACEOF
34901 /* end confdefs.h. */
34902
34903 int
34904 main ()
34905 {
34906
34907 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__) || \
34908 (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)
34909 #error "no pch support"
34910 #endif
34911
34912 ;
34913 return 0;
34914 }
34915 _ACEOF
34916 rm -f conftest.$ac_objext
34917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34918 (eval $ac_compile) 2>&5
34919 ac_status=$?
34920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34921 (exit $ac_status); } &&
34922 { ac_try='test -s conftest.$ac_objext'
34923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34924 (eval $ac_try) 2>&5
34925 ac_status=$?
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); }; }; then
34928
34929 echo "$as_me:$LINENO: result: yes" >&5
34930 echo "${ECHO_T}yes" >&6
34931 CPPFLAGS="-fpch-deps $CPPFLAGS"
34932 GCC_PCH=1
34933
34934 else
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.$ac_ext >&5
34937
34938
34939 echo "$as_me:$LINENO: result: no" >&5
34940 echo "${ECHO_T}no" >&6
34941
34942 fi
34943 rm -f conftest.$ac_objext conftest.$ac_ext
34944 if test $GCC_PCH = 1 ; then
34945 cat <<EOF >bk-make-pch
34946 #!/bin/sh
34947
34948 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34949 # script. It is used to generated precompiled headers.
34950 #
34951 # Permission is given to use this file in any way.
34952
34953 outfile="\${1}"
34954 header="\${2}"
34955 shift
34956 shift
34957
34958 compiler=
34959 headerfile=
34960 while test \${#} -gt 0; do
34961 case "\${1}" in
34962 -I* )
34963 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34964 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34965 headerfile="\${incdir}/\${header}"
34966 fi
34967 ;;
34968 esac
34969 compiler="\${compiler} \${1}"
34970 shift
34971 done
34972
34973 if test "x\${headerfile}" = "x" ; then
34974 echo "error: can't find header \${header} in include paths" >2
34975 else
34976 if test -f \${outfile} ; then
34977 rm -f \${outfile}
34978 else
34979 mkdir -p \`dirname \${outfile}\`
34980 fi
34981 depsfile=".deps/\`basename \${outfile}\`.d"
34982 mkdir -p .deps
34983 # can do this because gcc is >= 3.4:
34984 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34985 exit \${?}
34986 fi
34987 EOF
34988 chmod +x bk-make-pch
34989 fi
34990 fi
34991 fi
34992
34993
34994
34995
34996
34997 COND_BUILD_DEBUG="#"
34998 if test "x$BUILD" = "xdebug" ; then
34999 COND_BUILD_DEBUG=""
35000 fi
35001
35002 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35003 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35004 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35005 fi
35006
35007 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35008 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35009 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35010 fi
35011
35012 COND_BUILD_RELEASE="#"
35013 if test "x$BUILD" = "xrelease" ; then
35014 COND_BUILD_RELEASE=""
35015 fi
35016
35017 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35018 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35019 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35020 fi
35021
35022 COND_DEBUG_FLAG_1="#"
35023 if test "x$DEBUG_FLAG" = "x1" ; then
35024 COND_DEBUG_FLAG_1=""
35025 fi
35026
35027 COND_DEBUG_INFO_0="#"
35028 if test "x$DEBUG_INFO" = "x0" ; then
35029 COND_DEBUG_INFO_0=""
35030 fi
35031
35032 COND_DEBUG_INFO_1="#"
35033 if test "x$DEBUG_INFO" = "x1" ; then
35034 COND_DEBUG_INFO_1=""
35035 fi
35036
35037 COND_DEPS_TRACKING_0="#"
35038 if test "x$DEPS_TRACKING" = "x0" ; then
35039 COND_DEPS_TRACKING_0=""
35040 fi
35041
35042 COND_DEPS_TRACKING_1="#"
35043 if test "x$DEPS_TRACKING" = "x1" ; then
35044 COND_DEPS_TRACKING_1=""
35045 fi
35046
35047 COND_GCC_PCH_1="#"
35048 if test "x$GCC_PCH" = "x1" ; then
35049 COND_GCC_PCH_1=""
35050 fi
35051
35052 COND_MONOLITHIC_0="#"
35053 if test "x$MONOLITHIC" = "x0" ; then
35054 COND_MONOLITHIC_0=""
35055 fi
35056
35057 COND_MONOLITHIC_0_SHARED_0="#"
35058 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35059 COND_MONOLITHIC_0_SHARED_0=""
35060 fi
35061
35062 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35063 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35064 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35065 fi
35066
35067 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35068 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35069 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35070 fi
35071
35072 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35073 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35074 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35075 fi
35076
35077 COND_MONOLITHIC_0_SHARED_1="#"
35078 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35079 COND_MONOLITHIC_0_SHARED_1=""
35080 fi
35081
35082 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35083 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35084 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35085 fi
35086
35087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35088 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35089 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35090 fi
35091
35092 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35093 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35094 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35095 fi
35096
35097 COND_MONOLITHIC_1="#"
35098 if test "x$MONOLITHIC" = "x1" ; then
35099 COND_MONOLITHIC_1=""
35100 fi
35101
35102 COND_MONOLITHIC_1_SHARED_0="#"
35103 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35104 COND_MONOLITHIC_1_SHARED_0=""
35105 fi
35106
35107 COND_MONOLITHIC_1_SHARED_1="#"
35108 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35109 COND_MONOLITHIC_1_SHARED_1=""
35110 fi
35111
35112 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35113 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35114 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35115 fi
35116
35117 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35118 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35119 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35120 fi
35121
35122 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35123 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35124 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35125 fi
35126
35127 COND_PLATFORM_MACOSX_1="#"
35128 if test "x$PLATFORM_MACOSX" = "x1" ; then
35129 COND_PLATFORM_MACOSX_1=""
35130 fi
35131
35132 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35133 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35134 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35135 fi
35136
35137 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35138 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35139 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35140 fi
35141
35142 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35143 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35144 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35145 fi
35146
35147 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35148 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35149 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35150 fi
35151
35152 COND_PLATFORM_MAC_1="#"
35153 if test "x$PLATFORM_MAC" = "x1" ; then
35154 COND_PLATFORM_MAC_1=""
35155 fi
35156
35157 COND_PLATFORM_UNIX_0="#"
35158 if test "x$PLATFORM_UNIX" = "x0" ; then
35159 COND_PLATFORM_UNIX_0=""
35160 fi
35161
35162 COND_PLATFORM_UNIX_1="#"
35163 if test "x$PLATFORM_UNIX" = "x1" ; then
35164 COND_PLATFORM_UNIX_1=""
35165 fi
35166
35167 COND_PLATFORM_WIN32_0="#"
35168 if test "x$PLATFORM_WIN32" = "x0" ; then
35169 COND_PLATFORM_WIN32_0=""
35170 fi
35171
35172 COND_PLATFORM_WIN32_1="#"
35173 if test "x$PLATFORM_WIN32" = "x1" ; then
35174 COND_PLATFORM_WIN32_1=""
35175 fi
35176
35177 COND_SHARED_0="#"
35178 if test "x$SHARED" = "x0" ; then
35179 COND_SHARED_0=""
35180 fi
35181
35182 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35183 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35184 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35185 fi
35186
35187 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35188 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35189 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35190 fi
35191
35192 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35193 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35194 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35195 fi
35196
35197 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35198 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35199 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35200 fi
35201
35202 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35203 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35204 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35205 fi
35206
35207 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35208 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35209 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35210 fi
35211
35212 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35213 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35214 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35215 fi
35216
35217 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35218 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35219 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35220 fi
35221
35222 COND_SHARED_1="#"
35223 if test "x$SHARED" = "x1" ; then
35224 COND_SHARED_1=""
35225 fi
35226
35227 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35228 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35229 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35230 fi
35231
35232 COND_TOOLKIT_COCOA="#"
35233 if test "x$TOOLKIT" = "xCOCOA" ; then
35234 COND_TOOLKIT_COCOA=""
35235 fi
35236
35237 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35238 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35239 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35240 fi
35241
35242 COND_TOOLKIT_GTK="#"
35243 if test "x$TOOLKIT" = "xGTK" ; then
35244 COND_TOOLKIT_GTK=""
35245 fi
35246
35247 COND_TOOLKIT_GTK_USE_GUI_1="#"
35248 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35249 COND_TOOLKIT_GTK_USE_GUI_1=""
35250 fi
35251
35252 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35253 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35254 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35255 fi
35256
35257 COND_TOOLKIT_MAC="#"
35258 if test "x$TOOLKIT" = "xMAC" ; then
35259 COND_TOOLKIT_MAC=""
35260 fi
35261
35262 COND_TOOLKIT_MAC_USE_GUI_1="#"
35263 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35264 COND_TOOLKIT_MAC_USE_GUI_1=""
35265 fi
35266
35267 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35268 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35269 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35270 fi
35271
35272 COND_TOOLKIT_MGL="#"
35273 if test "x$TOOLKIT" = "xMGL" ; then
35274 COND_TOOLKIT_MGL=""
35275 fi
35276
35277 COND_TOOLKIT_MGL_USE_GUI_1="#"
35278 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35279 COND_TOOLKIT_MGL_USE_GUI_1=""
35280 fi
35281
35282 COND_TOOLKIT_MOTIF="#"
35283 if test "x$TOOLKIT" = "xMOTIF" ; then
35284 COND_TOOLKIT_MOTIF=""
35285 fi
35286
35287 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35288 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35289 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35290 fi
35291
35292 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35293 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35294 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35295 fi
35296
35297 COND_TOOLKIT_MSW="#"
35298 if test "x$TOOLKIT" = "xMSW" ; then
35299 COND_TOOLKIT_MSW=""
35300 fi
35301
35302 COND_TOOLKIT_MSW_USE_GUI_1="#"
35303 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35304 COND_TOOLKIT_MSW_USE_GUI_1=""
35305 fi
35306
35307 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35308 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35309 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35310 fi
35311
35312 COND_TOOLKIT_OS2="#"
35313 if test "x$TOOLKIT" = "xOS2" ; then
35314 COND_TOOLKIT_OS2=""
35315 fi
35316
35317 COND_TOOLKIT_OS2_USE_GUI_1="#"
35318 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35319 COND_TOOLKIT_OS2_USE_GUI_1=""
35320 fi
35321
35322 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
35323 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35324 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
35325 fi
35326
35327 COND_TOOLKIT_X11="#"
35328 if test "x$TOOLKIT" = "xX11" ; then
35329 COND_TOOLKIT_X11=""
35330 fi
35331
35332 COND_TOOLKIT_X11_USE_GUI_1="#"
35333 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35334 COND_TOOLKIT_X11_USE_GUI_1=""
35335 fi
35336
35337 COND_UNICODE_1="#"
35338 if test "x$UNICODE" = "x1" ; then
35339 COND_UNICODE_1=""
35340 fi
35341
35342 COND_USE_GUI_0="#"
35343 if test "x$USE_GUI" = "x0" ; then
35344 COND_USE_GUI_0=""
35345 fi
35346
35347 COND_USE_GUI_1="#"
35348 if test "x$USE_GUI" = "x1" ; then
35349 COND_USE_GUI_1=""
35350 fi
35351
35352 COND_USE_GUI_1_WXUNIV_0="#"
35353 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35354 COND_USE_GUI_1_WXUNIV_0=""
35355 fi
35356
35357 COND_USE_GUI_1_WXUNIV_1="#"
35358 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35359 COND_USE_GUI_1_WXUNIV_1=""
35360 fi
35361
35362 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35363 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35364 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35365 fi
35366
35367 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35368 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35369 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35370 fi
35371
35372 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35373 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35374 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35375 fi
35376
35377 COND_USE_SOSYMLINKS_1="#"
35378 if test "x$USE_SOSYMLINKS" = "x1" ; then
35379 COND_USE_SOSYMLINKS_1=""
35380 fi
35381
35382 COND_USE_SOVERLINUX_1="#"
35383 if test "x$USE_SOVERLINUX" = "x1" ; then
35384 COND_USE_SOVERLINUX_1=""
35385 fi
35386
35387 COND_USE_SOVERSION_0="#"
35388 if test "x$USE_SOVERSION" = "x0" ; then
35389 COND_USE_SOVERSION_0=""
35390 fi
35391
35392 COND_USE_SOVERSOLARIS_1="#"
35393 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35394 COND_USE_SOVERSOLARIS_1=""
35395 fi
35396
35397 COND_WXUNIV_1="#"
35398 if test "x$WXUNIV" = "x1" ; then
35399 COND_WXUNIV_1=""
35400 fi
35401
35402 COND_WXUSE_EXPAT_BUILTIN="#"
35403 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35404 COND_WXUSE_EXPAT_BUILTIN=""
35405 fi
35406
35407 COND_WXUSE_LIBJPEG_BUILTIN="#"
35408 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35409 COND_WXUSE_LIBJPEG_BUILTIN=""
35410 fi
35411
35412 COND_WXUSE_LIBPNG_BUILTIN="#"
35413 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35414 COND_WXUSE_LIBPNG_BUILTIN=""
35415 fi
35416
35417 COND_WXUSE_LIBTIFF_BUILTIN="#"
35418 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35419 COND_WXUSE_LIBTIFF_BUILTIN=""
35420 fi
35421
35422 COND_WXUSE_ODBC_BUILTIN="#"
35423 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35424 COND_WXUSE_ODBC_BUILTIN=""
35425 fi
35426
35427 COND_WXUSE_REGEX_BUILTIN="#"
35428 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35429 COND_WXUSE_REGEX_BUILTIN=""
35430 fi
35431
35432 COND_WXUSE_ZLIB_BUILTIN="#"
35433 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35434 COND_WXUSE_ZLIB_BUILTIN=""
35435 fi
35436
35437
35438
35439
35440
35441 if test $GCC_PCH = 1 ; then
35442 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35443 else
35444 case "${host}" in
35445 powerpc-*-darwin* )
35446 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35447 ;;
35448 *)
35449 ;;
35450 esac
35451 fi
35452
35453
35454 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35455
35456
35457
35458
35459
35460
35461
35462
35463
35464
35465
35466
35467
35468
35469
35470
35471
35472
35473
35474
35475
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485
35486
35487
35488
35489
35490
35491
35492
35493
35494
35495
35496
35497
35498
35499
35500
35501
35502
35503
35504
35505
35506
35507
35508
35509
35510
35511
35512
35513
35514
35515
35516
35517
35518
35519
35520
35521
35522
35523
35524
35525
35526
35527
35528
35529
35530
35531
35532
35533
35534
35535
35536
35537
35538
35539
35540
35541
35542
35543
35544
35545
35546
35547
35548
35549
35550
35551
35552
35553
35554
35555 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35556 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35557 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35558 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35559 echo $ECHO_N "(cached) $ECHO_C" >&6
35560 else
35561 cat >conftest.make <<\_ACEOF
35562 all:
35563 @echo 'ac_maketemp="$(MAKE)"'
35564 _ACEOF
35565 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35566 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35567 if test -n "$ac_maketemp"; then
35568 eval ac_cv_prog_make_${ac_make}_set=yes
35569 else
35570 eval ac_cv_prog_make_${ac_make}_set=no
35571 fi
35572 rm -f conftest.make
35573 fi
35574 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35575 echo "$as_me:$LINENO: result: yes" >&5
35576 echo "${ECHO_T}yes" >&6
35577 SET_MAKE=
35578 else
35579 echo "$as_me:$LINENO: result: no" >&5
35580 echo "${ECHO_T}no" >&6
35581 SET_MAKE="MAKE=${MAKE-make}"
35582 fi
35583
35584
35585 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35586 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35587 fi
35588
35589 ac_config_headers="$ac_config_headers setup.h"
35590
35591
35592 ac_config_files="$ac_config_files wx-config version-script Makefile"
35593
35594
35595 ac_config_commands="$ac_config_commands default"
35596
35597
35598
35599 if test "$wxUSE_GUI" = "yes"; then
35600 SUBDIRS="samples demos utils contrib"
35601 else SUBDIRS="samples utils"
35602 fi
35603
35604 for subdir in `echo $SUBDIRS`; do
35605 if test -d ${srcdir}/${subdir} ; then
35606 if test "$wxUSE_GUI" = "yes"; then
35607 if test ${subdir} = "samples"; then
35608 makefiles="samples/Makefile.in $makefiles"
35609 for sample in `echo $SAMPLES_SUBDIRS`; do
35610 if test -d $srcdir/samples/$sample; then
35611 makefiles="samples/$sample/Makefile.in $makefiles"
35612 fi
35613 done
35614 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35615 fi
35616 else if test ${subdir} = "samples"; then
35617 makefiles="samples/Makefile.in samples/console/Makefile.in"
35618 else makefiles="utils/HelpGen/Makefile.in \
35619 utils/HelpGen/src/Makefile.in \
35620 utils/makegen/Makefile.in"
35621 fi
35622 fi
35623
35624 for mkin in $makefiles ; do
35625 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35626 ac_config_files="$ac_config_files $mk"
35627
35628 done
35629 fi
35630 done
35631
35632
35633 cat >confcache <<\_ACEOF
35634 # This file is a shell script that caches the results of configure
35635 # tests run on this system so they can be shared between configure
35636 # scripts and configure runs, see configure's option --config-cache.
35637 # It is not useful on other systems. If it contains results you don't
35638 # want to keep, you may remove or edit it.
35639 #
35640 # config.status only pays attention to the cache file if you give it
35641 # the --recheck option to rerun configure.
35642 #
35643 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35644 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35645 # following values.
35646
35647 _ACEOF
35648
35649 # The following way of writing the cache mishandles newlines in values,
35650 # but we know of no workaround that is simple, portable, and efficient.
35651 # So, don't put newlines in cache variables' values.
35652 # Ultrix sh set writes to stderr and can't be redirected directly,
35653 # and sets the high bit in the cache file unless we assign to the vars.
35654 {
35655 (set) 2>&1 |
35656 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35657 *ac_space=\ *)
35658 # `set' does not quote correctly, so add quotes (double-quote
35659 # substitution turns \\\\ into \\, and sed turns \\ into \).
35660 sed -n \
35661 "s/'/'\\\\''/g;
35662 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35663 ;;
35664 *)
35665 # `set' quotes correctly as required by POSIX, so do not add quotes.
35666 sed -n \
35667 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35668 ;;
35669 esac;
35670 } |
35671 sed '
35672 t clear
35673 : clear
35674 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35675 t end
35676 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35677 : end' >>confcache
35678 if diff $cache_file confcache >/dev/null 2>&1; then :; else
35679 if test -w $cache_file; then
35680 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35681 cat confcache >$cache_file
35682 else
35683 echo "not updating unwritable cache $cache_file"
35684 fi
35685 fi
35686 rm -f confcache
35687
35688 test "x$prefix" = xNONE && prefix=$ac_default_prefix
35689 # Let make expand exec_prefix.
35690 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35691
35692 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35693 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35694 # trailing colons and then remove the whole line if VPATH becomes empty
35695 # (actually we leave an empty line to preserve line numbers).
35696 if test "x$srcdir" = x.; then
35697 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35698 s/:*\$(srcdir):*/:/;
35699 s/:*\${srcdir}:*/:/;
35700 s/:*@srcdir@:*/:/;
35701 s/^\([^=]*=[ ]*\):*/\1/;
35702 s/:*$//;
35703 s/^[^=]*=[ ]*$//;
35704 }'
35705 fi
35706
35707 DEFS=-DHAVE_CONFIG_H
35708
35709 ac_libobjs=
35710 ac_ltlibobjs=
35711 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35712 # 1. Remove the extension, and $U if already installed.
35713 ac_i=`echo "$ac_i" |
35714 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35715 # 2. Add them.
35716 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35717 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35718 done
35719 LIBOBJS=$ac_libobjs
35720
35721 LTLIBOBJS=$ac_ltlibobjs
35722
35723
35724
35725 : ${CONFIG_STATUS=./config.status}
35726 ac_clean_files_save=$ac_clean_files
35727 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35728 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35729 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35730 cat >$CONFIG_STATUS <<_ACEOF
35731 #! $SHELL
35732 # Generated by $as_me.
35733 # Run this file to recreate the current configuration.
35734 # Compiler output produced by configure, useful for debugging
35735 # configure, is in config.log if it exists.
35736
35737 debug=false
35738 ac_cs_recheck=false
35739 ac_cs_silent=false
35740 SHELL=\${CONFIG_SHELL-$SHELL}
35741 _ACEOF
35742
35743 cat >>$CONFIG_STATUS <<\_ACEOF
35744 ## --------------------- ##
35745 ## M4sh Initialization. ##
35746 ## --------------------- ##
35747
35748 # Be Bourne compatible
35749 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35750 emulate sh
35751 NULLCMD=:
35752 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35753 # is contrary to our usage. Disable this feature.
35754 alias -g '${1+"$@"}'='"$@"'
35755 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35756 set -o posix
35757 fi
35758
35759 # Support unset when possible.
35760 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35761 as_unset=unset
35762 else
35763 as_unset=false
35764 fi
35765
35766
35767 # Work around bugs in pre-3.0 UWIN ksh.
35768 $as_unset ENV MAIL MAILPATH
35769 PS1='$ '
35770 PS2='> '
35771 PS4='+ '
35772
35773 # NLS nuisances.
35774 for as_var in \
35775 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35776 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35777 LC_TELEPHONE LC_TIME
35778 do
35779 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35780 eval $as_var=C; export $as_var
35781 else
35782 $as_unset $as_var
35783 fi
35784 done
35785
35786 # Required to use basename.
35787 if expr a : '\(a\)' >/dev/null 2>&1; then
35788 as_expr=expr
35789 else
35790 as_expr=false
35791 fi
35792
35793 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35794 as_basename=basename
35795 else
35796 as_basename=false
35797 fi
35798
35799
35800 # Name of the executable.
35801 as_me=`$as_basename "$0" ||
35802 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35803 X"$0" : 'X\(//\)$' \| \
35804 X"$0" : 'X\(/\)$' \| \
35805 . : '\(.\)' 2>/dev/null ||
35806 echo X/"$0" |
35807 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35808 /^X\/\(\/\/\)$/{ s//\1/; q; }
35809 /^X\/\(\/\).*/{ s//\1/; q; }
35810 s/.*/./; q'`
35811
35812
35813 # PATH needs CR, and LINENO needs CR and PATH.
35814 # Avoid depending upon Character Ranges.
35815 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35816 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35817 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35818 as_cr_digits='0123456789'
35819 as_cr_alnum=$as_cr_Letters$as_cr_digits
35820
35821 # The user is always right.
35822 if test "${PATH_SEPARATOR+set}" != set; then
35823 echo "#! /bin/sh" >conf$$.sh
35824 echo "exit 0" >>conf$$.sh
35825 chmod +x conf$$.sh
35826 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35827 PATH_SEPARATOR=';'
35828 else
35829 PATH_SEPARATOR=:
35830 fi
35831 rm -f conf$$.sh
35832 fi
35833
35834
35835 as_lineno_1=$LINENO
35836 as_lineno_2=$LINENO
35837 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35838 test "x$as_lineno_1" != "x$as_lineno_2" &&
35839 test "x$as_lineno_3" = "x$as_lineno_2" || {
35840 # Find who we are. Look in the path if we contain no path at all
35841 # relative or not.
35842 case $0 in
35843 *[\\/]* ) as_myself=$0 ;;
35844 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35845 for as_dir in $PATH
35846 do
35847 IFS=$as_save_IFS
35848 test -z "$as_dir" && as_dir=.
35849 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35850 done
35851
35852 ;;
35853 esac
35854 # We did not find ourselves, most probably we were run as `sh COMMAND'
35855 # in which case we are not to be found in the path.
35856 if test "x$as_myself" = x; then
35857 as_myself=$0
35858 fi
35859 if test ! -f "$as_myself"; then
35860 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35861 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35862 { (exit 1); exit 1; }; }
35863 fi
35864 case $CONFIG_SHELL in
35865 '')
35866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35867 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35868 do
35869 IFS=$as_save_IFS
35870 test -z "$as_dir" && as_dir=.
35871 for as_base in sh bash ksh sh5; do
35872 case $as_dir in
35873 /*)
35874 if ("$as_dir/$as_base" -c '
35875 as_lineno_1=$LINENO
35876 as_lineno_2=$LINENO
35877 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35878 test "x$as_lineno_1" != "x$as_lineno_2" &&
35879 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35880 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35881 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35882 CONFIG_SHELL=$as_dir/$as_base
35883 export CONFIG_SHELL
35884 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35885 fi;;
35886 esac
35887 done
35888 done
35889 ;;
35890 esac
35891
35892 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35893 # uniformly replaced by the line number. The first 'sed' inserts a
35894 # line-number line before each line; the second 'sed' does the real
35895 # work. The second script uses 'N' to pair each line-number line
35896 # with the numbered line, and appends trailing '-' during
35897 # substitution so that $LINENO is not a special case at line end.
35898 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35899 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35900 sed '=' <$as_myself |
35901 sed '
35902 N
35903 s,$,-,
35904 : loop
35905 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35906 t loop
35907 s,-$,,
35908 s,^['$as_cr_digits']*\n,,
35909 ' >$as_me.lineno &&
35910 chmod +x $as_me.lineno ||
35911 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35912 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35913 { (exit 1); exit 1; }; }
35914
35915 # Don't try to exec as it changes $[0], causing all sort of problems
35916 # (the dirname of $[0] is not the place where we might find the
35917 # original and so on. Autoconf is especially sensible to this).
35918 . ./$as_me.lineno
35919 # Exit status is that of the last command.
35920 exit
35921 }
35922
35923
35924 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35925 *c*,-n*) ECHO_N= ECHO_C='
35926 ' ECHO_T=' ' ;;
35927 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35928 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35929 esac
35930
35931 if expr a : '\(a\)' >/dev/null 2>&1; then
35932 as_expr=expr
35933 else
35934 as_expr=false
35935 fi
35936
35937 rm -f conf$$ conf$$.exe conf$$.file
35938 echo >conf$$.file
35939 if ln -s conf$$.file conf$$ 2>/dev/null; then
35940 # We could just check for DJGPP; but this test a) works b) is more generic
35941 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35942 if test -f conf$$.exe; then
35943 # Don't use ln at all; we don't have any links
35944 as_ln_s='cp -p'
35945 else
35946 as_ln_s='ln -s'
35947 fi
35948 elif ln conf$$.file conf$$ 2>/dev/null; then
35949 as_ln_s=ln
35950 else
35951 as_ln_s='cp -p'
35952 fi
35953 rm -f conf$$ conf$$.exe conf$$.file
35954
35955 if mkdir -p . 2>/dev/null; then
35956 as_mkdir_p=:
35957 else
35958 as_mkdir_p=false
35959 fi
35960
35961 as_executable_p="test -f"
35962
35963 # Sed expression to map a string onto a valid CPP name.
35964 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35965
35966 # Sed expression to map a string onto a valid variable name.
35967 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35968
35969
35970 # IFS
35971 # We need space, tab and new line, in precisely that order.
35972 as_nl='
35973 '
35974 IFS=" $as_nl"
35975
35976 # CDPATH.
35977 $as_unset CDPATH
35978
35979 exec 6>&1
35980
35981 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35982 # report actual input values of CONFIG_FILES etc. instead of their
35983 # values after options handling. Logging --version etc. is OK.
35984 exec 5>>config.log
35985 {
35986 echo
35987 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35988 ## Running $as_me. ##
35989 _ASBOX
35990 } >&5
35991 cat >&5 <<_CSEOF
35992
35993 This file was extended by wxWindows $as_me 2.5.0, which was
35994 generated by GNU Autoconf 2.57. Invocation command line was
35995
35996 CONFIG_FILES = $CONFIG_FILES
35997 CONFIG_HEADERS = $CONFIG_HEADERS
35998 CONFIG_LINKS = $CONFIG_LINKS
35999 CONFIG_COMMANDS = $CONFIG_COMMANDS
36000 $ $0 $@
36001
36002 _CSEOF
36003 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36004 echo >&5
36005 _ACEOF
36006
36007 # Files that config.status was made for.
36008 if test -n "$ac_config_files"; then
36009 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36010 fi
36011
36012 if test -n "$ac_config_headers"; then
36013 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36014 fi
36015
36016 if test -n "$ac_config_links"; then
36017 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36018 fi
36019
36020 if test -n "$ac_config_commands"; then
36021 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36022 fi
36023
36024 cat >>$CONFIG_STATUS <<\_ACEOF
36025
36026 ac_cs_usage="\
36027 \`$as_me' instantiates files from templates according to the
36028 current configuration.
36029
36030 Usage: $0 [OPTIONS] [FILE]...
36031
36032 -h, --help print this help, then exit
36033 -V, --version print version number, then exit
36034 -q, --quiet do not print progress messages
36035 -d, --debug don't remove temporary files
36036 --recheck update $as_me by reconfiguring in the same conditions
36037 --file=FILE[:TEMPLATE]
36038 instantiate the configuration file FILE
36039 --header=FILE[:TEMPLATE]
36040 instantiate the configuration header FILE
36041
36042 Configuration files:
36043 $config_files
36044
36045 Configuration headers:
36046 $config_headers
36047
36048 Configuration commands:
36049 $config_commands
36050
36051 Report bugs to <bug-autoconf@gnu.org>."
36052 _ACEOF
36053
36054 cat >>$CONFIG_STATUS <<_ACEOF
36055 ac_cs_version="\\
36056 wxWindows config.status 2.5.0
36057 configured by $0, generated by GNU Autoconf 2.57,
36058 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36059
36060 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36061 Free Software Foundation, Inc.
36062 This config.status script is free software; the Free Software Foundation
36063 gives unlimited permission to copy, distribute and modify it."
36064 srcdir=$srcdir
36065 INSTALL="$INSTALL"
36066 _ACEOF
36067
36068 cat >>$CONFIG_STATUS <<\_ACEOF
36069 # If no file are specified by the user, then we need to provide default
36070 # value. By we need to know if files were specified by the user.
36071 ac_need_defaults=:
36072 while test $# != 0
36073 do
36074 case $1 in
36075 --*=*)
36076 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36077 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36078 ac_shift=:
36079 ;;
36080 -*)
36081 ac_option=$1
36082 ac_optarg=$2
36083 ac_shift=shift
36084 ;;
36085 *) # This is not an option, so the user has probably given explicit
36086 # arguments.
36087 ac_option=$1
36088 ac_need_defaults=false;;
36089 esac
36090
36091 case $ac_option in
36092 # Handling of the options.
36093 _ACEOF
36094 cat >>$CONFIG_STATUS <<\_ACEOF
36095 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36096 ac_cs_recheck=: ;;
36097 --version | --vers* | -V )
36098 echo "$ac_cs_version"; exit 0 ;;
36099 --he | --h)
36100 # Conflict between --help and --header
36101 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36102 Try \`$0 --help' for more information." >&5
36103 echo "$as_me: error: ambiguous option: $1
36104 Try \`$0 --help' for more information." >&2;}
36105 { (exit 1); exit 1; }; };;
36106 --help | --hel | -h )
36107 echo "$ac_cs_usage"; exit 0 ;;
36108 --debug | --d* | -d )
36109 debug=: ;;
36110 --file | --fil | --fi | --f )
36111 $ac_shift
36112 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36113 ac_need_defaults=false;;
36114 --header | --heade | --head | --hea )
36115 $ac_shift
36116 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36117 ac_need_defaults=false;;
36118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36119 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36120 ac_cs_silent=: ;;
36121
36122 # This is an error.
36123 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36124 Try \`$0 --help' for more information." >&5
36125 echo "$as_me: error: unrecognized option: $1
36126 Try \`$0 --help' for more information." >&2;}
36127 { (exit 1); exit 1; }; } ;;
36128
36129 *) ac_config_targets="$ac_config_targets $1" ;;
36130
36131 esac
36132 shift
36133 done
36134
36135 ac_configure_extra_args=
36136
36137 if $ac_cs_silent; then
36138 exec 6>/dev/null
36139 ac_configure_extra_args="$ac_configure_extra_args --silent"
36140 fi
36141
36142 _ACEOF
36143 cat >>$CONFIG_STATUS <<_ACEOF
36144 if \$ac_cs_recheck; then
36145 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36146 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36147 fi
36148
36149 _ACEOF
36150
36151 cat >>$CONFIG_STATUS <<_ACEOF
36152 #
36153 # INIT-COMMANDS section.
36154 #
36155
36156
36157 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36158 LN_S="${LN_S}"
36159
36160
36161
36162 _ACEOF
36163
36164
36165
36166 cat >>$CONFIG_STATUS <<\_ACEOF
36167 for ac_config_target in $ac_config_targets
36168 do
36169 case "$ac_config_target" in
36170 # Handling of arguments.
36171 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36172 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36173 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36174 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36175 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36176 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36177 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36178 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36179 { (exit 1); exit 1; }; };;
36180 esac
36181 done
36182
36183 # If the user did not use the arguments to specify the items to instantiate,
36184 # then the envvar interface is used. Set only those that are not.
36185 # We use the long form for the default assignment because of an extremely
36186 # bizarre bug on SunOS 4.1.3.
36187 if $ac_need_defaults; then
36188 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36189 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36190 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36191 fi
36192
36193 # Have a temporary directory for convenience. Make it in the build tree
36194 # simply because there is no reason to put it here, and in addition,
36195 # creating and moving files from /tmp can sometimes cause problems.
36196 # Create a temporary directory, and hook for its removal unless debugging.
36197 $debug ||
36198 {
36199 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36200 trap '{ (exit 1); exit 1; }' 1 2 13 15
36201 }
36202
36203 # Create a (secure) tmp directory for tmp files.
36204
36205 {
36206 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36207 test -n "$tmp" && test -d "$tmp"
36208 } ||
36209 {
36210 tmp=./confstat$$-$RANDOM
36211 (umask 077 && mkdir $tmp)
36212 } ||
36213 {
36214 echo "$me: cannot create a temporary directory in ." >&2
36215 { (exit 1); exit 1; }
36216 }
36217
36218 _ACEOF
36219
36220 cat >>$CONFIG_STATUS <<_ACEOF
36221
36222 #
36223 # CONFIG_FILES section.
36224 #
36225
36226 # No need to generate the scripts if there are no CONFIG_FILES.
36227 # This happens for instance when ./config.status config.h
36228 if test -n "\$CONFIG_FILES"; then
36229 # Protect against being on the right side of a sed subst in config.status.
36230 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36231 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36232 s,@SHELL@,$SHELL,;t t
36233 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36234 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36235 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36236 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36237 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36238 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36239 s,@exec_prefix@,$exec_prefix,;t t
36240 s,@prefix@,$prefix,;t t
36241 s,@program_transform_name@,$program_transform_name,;t t
36242 s,@bindir@,$bindir,;t t
36243 s,@sbindir@,$sbindir,;t t
36244 s,@libexecdir@,$libexecdir,;t t
36245 s,@datadir@,$datadir,;t t
36246 s,@sysconfdir@,$sysconfdir,;t t
36247 s,@sharedstatedir@,$sharedstatedir,;t t
36248 s,@localstatedir@,$localstatedir,;t t
36249 s,@libdir@,$libdir,;t t
36250 s,@includedir@,$includedir,;t t
36251 s,@oldincludedir@,$oldincludedir,;t t
36252 s,@infodir@,$infodir,;t t
36253 s,@mandir@,$mandir,;t t
36254 s,@build_alias@,$build_alias,;t t
36255 s,@host_alias@,$host_alias,;t t
36256 s,@target_alias@,$target_alias,;t t
36257 s,@DEFS@,$DEFS,;t t
36258 s,@ECHO_C@,$ECHO_C,;t t
36259 s,@ECHO_N@,$ECHO_N,;t t
36260 s,@ECHO_T@,$ECHO_T,;t t
36261 s,@LIBS@,$LIBS,;t t
36262 s,@build@,$build,;t t
36263 s,@build_cpu@,$build_cpu,;t t
36264 s,@build_vendor@,$build_vendor,;t t
36265 s,@build_os@,$build_os,;t t
36266 s,@host@,$host,;t t
36267 s,@host_cpu@,$host_cpu,;t t
36268 s,@host_vendor@,$host_vendor,;t t
36269 s,@host_os@,$host_os,;t t
36270 s,@target@,$target,;t t
36271 s,@target_cpu@,$target_cpu,;t t
36272 s,@target_vendor@,$target_vendor,;t t
36273 s,@target_os@,$target_os,;t t
36274 s,@CC@,$CC,;t t
36275 s,@CFLAGS@,$CFLAGS,;t t
36276 s,@LDFLAGS@,$LDFLAGS,;t t
36277 s,@CPPFLAGS@,$CPPFLAGS,;t t
36278 s,@ac_ct_CC@,$ac_ct_CC,;t t
36279 s,@EXEEXT@,$EXEEXT,;t t
36280 s,@OBJEXT@,$OBJEXT,;t t
36281 s,@CPP@,$CPP,;t t
36282 s,@EGREP@,$EGREP,;t t
36283 s,@CXX@,$CXX,;t t
36284 s,@CXXFLAGS@,$CXXFLAGS,;t t
36285 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36286 s,@RANLIB@,$RANLIB,;t t
36287 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36288 s,@AR@,$AR,;t t
36289 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36290 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36291 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36292 s,@STRIP@,$STRIP,;t t
36293 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36294 s,@YACC@,$YACC,;t t
36295 s,@LEX@,$LEX,;t t
36296 s,@LEXLIB@,$LEXLIB,;t t
36297 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
36298 s,@LN_S@,$LN_S,;t t
36299 s,@CXXCPP@,$CXXCPP,;t t
36300 s,@subdirs@,$subdirs,;t t
36301 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36302 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36303 s,@GTK_LIBS@,$GTK_LIBS,;t t
36304 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36305 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36306 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36307 s,@X_CFLAGS@,$X_CFLAGS,;t t
36308 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36309 s,@X_LIBS@,$X_LIBS,;t t
36310 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36311 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36312 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36313 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36314 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36315 s,@RESCOMP@,$RESCOMP,;t t
36316 s,@DEREZ@,$DEREZ,;t t
36317 s,@SETFILE@,$SETFILE,;t t
36318 s,@LIBICONV@,$LIBICONV,;t t
36319 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36320 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36321 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36322 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36323 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36324 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36325 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36326 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36327 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36328 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36329 s,@VENDOR@,$VENDOR,;t t
36330 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36331 s,@WXUNIV@,$WXUNIV,;t t
36332 s,@MONOLITHIC@,$MONOLITHIC,;t t
36333 s,@EXTRALIBS@,$EXTRALIBS,;t t
36334 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36335 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36336 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36337 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36338 s,@UNICODE@,$UNICODE,;t t
36339 s,@BUILD@,$BUILD,;t t
36340 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36341 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36342 s,@SHARED@,$SHARED,;t t
36343 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36344 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36345 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36346 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36347 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36348 s,@SET_MAKE@,$SET_MAKE,;t t
36349 s,@MAKE_SET@,$MAKE_SET,;t t
36350 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36351 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36352 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36353 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36354 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36355 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36356 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36357 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36358 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36359 s,@DLLPREFIX@,$DLLPREFIX,;t t
36360 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36361 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36362 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36363 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36364 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36365 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36366 s,@PIC_FLAG@,$PIC_FLAG,;t t
36367 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36368 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36369 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36370 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36371 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36372 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36373 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36374 s,@GCC_PCH@,$GCC_PCH,;t t
36375 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36376 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36377 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36378 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36379 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36380 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36381 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36382 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36383 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36384 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36385 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36386 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36387 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36388 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36389 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1,;t t
36390 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36391 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36392 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36393 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1,;t t
36394 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36395 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36396 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36397 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36398 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36399 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36400 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36401 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36402 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36403 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36404 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36405 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36406 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36407 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36408 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36409 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36410 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36411 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36412 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36413 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36414 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36415 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36416 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36417 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36418 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36419 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36420 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36421 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36422 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36423 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36424 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36425 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36426 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36427 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36428 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36429 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36430 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36431 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36432 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36433 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36434 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36435 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36436 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36437 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36438 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36439 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36440 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36441 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36442 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36443 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36444 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36445 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36446 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36447 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36448 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36449 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36450 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36451 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36452 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36453 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36454 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36455 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36456 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36457 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36458 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36459 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36460 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36461 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36462 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36463 s,@LEX_STEM@,$LEX_STEM,;t t
36464 s,@PATH_IFS@,$PATH_IFS,;t t
36465 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36466 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36467 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36468 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36469 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36470 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36471 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36472 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36473 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36474 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36475 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36476 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36477 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36478 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36479 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36480 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36481 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36482 s,@WX_ALL@,$WX_ALL,;t t
36483 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36484 s,@SHARED_LD@,$SHARED_LD,;t t
36485 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36486 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36487 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36488 s,@USE_GUI@,$USE_GUI,;t t
36489 s,@AFMINSTALL@,$AFMINSTALL,;t t
36490 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36491 s,@TOOLKIT@,$TOOLKIT,;t t
36492 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36493 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36494 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36495 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36496 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36497 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36498 s,@cross_compiling@,$cross_compiling,;t t
36499 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36500 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36501 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36502 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36503 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36504 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36505 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36506 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36507 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36508 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36509 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36510 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36511 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36512 s,@GUIDIST@,$GUIDIST,;t t
36513 s,@PORT_FILES@,$PORT_FILES,;t t
36514 s,@DISTDIR@,$DISTDIR,;t t
36515 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36516 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36517 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36518 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36519 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36520 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36521 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36522 s,@RESFLAGS@,$RESFLAGS,;t t
36523 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36524 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36525 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36526 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36527 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36528 s,@MACRESCOMP@,$MACRESCOMP,;t t
36529 s,@MACSETFILE@,$MACSETFILE,;t t
36530 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36531 s,@GCC@,$GCC,;t t
36532 s,@DLLTOOL@,$DLLTOOL,;t t
36533 s,@AS@,$AS,;t t
36534 s,@NM@,$NM,;t t
36535 s,@LD@,$LD,;t t
36536 s,@MAKEINFO@,$MAKEINFO,;t t
36537 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36538 s,@LIBOBJS@,$LIBOBJS,;t t
36539 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36540 CEOF
36541
36542 _ACEOF
36543
36544 cat >>$CONFIG_STATUS <<\_ACEOF
36545 # Split the substitutions into bite-sized pieces for seds with
36546 # small command number limits, like on Digital OSF/1 and HP-UX.
36547 ac_max_sed_lines=48
36548 ac_sed_frag=1 # Number of current file.
36549 ac_beg=1 # First line for current file.
36550 ac_end=$ac_max_sed_lines # Line after last line for current file.
36551 ac_more_lines=:
36552 ac_sed_cmds=
36553 while $ac_more_lines; do
36554 if test $ac_beg -gt 1; then
36555 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36556 else
36557 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36558 fi
36559 if test ! -s $tmp/subs.frag; then
36560 ac_more_lines=false
36561 else
36562 # The purpose of the label and of the branching condition is to
36563 # speed up the sed processing (if there are no `@' at all, there
36564 # is no need to browse any of the substitutions).
36565 # These are the two extra sed commands mentioned above.
36566 (echo ':t
36567 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36568 if test -z "$ac_sed_cmds"; then
36569 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36570 else
36571 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36572 fi
36573 ac_sed_frag=`expr $ac_sed_frag + 1`
36574 ac_beg=$ac_end
36575 ac_end=`expr $ac_end + $ac_max_sed_lines`
36576 fi
36577 done
36578 if test -z "$ac_sed_cmds"; then
36579 ac_sed_cmds=cat
36580 fi
36581 fi # test -n "$CONFIG_FILES"
36582
36583 _ACEOF
36584 cat >>$CONFIG_STATUS <<\_ACEOF
36585 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36586 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36587 case $ac_file in
36588 - | *:- | *:-:* ) # input from stdin
36589 cat >$tmp/stdin
36590 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36591 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36592 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36593 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36594 * ) ac_file_in=$ac_file.in ;;
36595 esac
36596
36597 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36598 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36599 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36600 X"$ac_file" : 'X\(//\)[^/]' \| \
36601 X"$ac_file" : 'X\(//\)$' \| \
36602 X"$ac_file" : 'X\(/\)' \| \
36603 . : '\(.\)' 2>/dev/null ||
36604 echo X"$ac_file" |
36605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36606 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36607 /^X\(\/\/\)$/{ s//\1/; q; }
36608 /^X\(\/\).*/{ s//\1/; q; }
36609 s/.*/./; q'`
36610 { if $as_mkdir_p; then
36611 mkdir -p "$ac_dir"
36612 else
36613 as_dir="$ac_dir"
36614 as_dirs=
36615 while test ! -d "$as_dir"; do
36616 as_dirs="$as_dir $as_dirs"
36617 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36618 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36619 X"$as_dir" : 'X\(//\)[^/]' \| \
36620 X"$as_dir" : 'X\(//\)$' \| \
36621 X"$as_dir" : 'X\(/\)' \| \
36622 . : '\(.\)' 2>/dev/null ||
36623 echo X"$as_dir" |
36624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36625 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36626 /^X\(\/\/\)$/{ s//\1/; q; }
36627 /^X\(\/\).*/{ s//\1/; q; }
36628 s/.*/./; q'`
36629 done
36630 test ! -n "$as_dirs" || mkdir $as_dirs
36631 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36632 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36633 { (exit 1); exit 1; }; }; }
36634
36635 ac_builddir=.
36636
36637 if test "$ac_dir" != .; then
36638 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36639 # A "../" for each directory in $ac_dir_suffix.
36640 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36641 else
36642 ac_dir_suffix= ac_top_builddir=
36643 fi
36644
36645 case $srcdir in
36646 .) # No --srcdir option. We are building in place.
36647 ac_srcdir=.
36648 if test -z "$ac_top_builddir"; then
36649 ac_top_srcdir=.
36650 else
36651 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36652 fi ;;
36653 [\\/]* | ?:[\\/]* ) # Absolute path.
36654 ac_srcdir=$srcdir$ac_dir_suffix;
36655 ac_top_srcdir=$srcdir ;;
36656 *) # Relative path.
36657 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36658 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36659 esac
36660 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36661 # absolute.
36662 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36663 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36664 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36665 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36666
36667
36668 case $INSTALL in
36669 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36670 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36671 esac
36672
36673 if test x"$ac_file" != x-; then
36674 { echo "$as_me:$LINENO: creating $ac_file" >&5
36675 echo "$as_me: creating $ac_file" >&6;}
36676 rm -f "$ac_file"
36677 fi
36678 # Let's still pretend it is `configure' which instantiates (i.e., don't
36679 # use $as_me), people would be surprised to read:
36680 # /* config.h. Generated by config.status. */
36681 if test x"$ac_file" = x-; then
36682 configure_input=
36683 else
36684 configure_input="$ac_file. "
36685 fi
36686 configure_input=$configure_input"Generated from `echo $ac_file_in |
36687 sed 's,.*/,,'` by configure."
36688
36689 # First look for the input files in the build tree, otherwise in the
36690 # src tree.
36691 ac_file_inputs=`IFS=:
36692 for f in $ac_file_in; do
36693 case $f in
36694 -) echo $tmp/stdin ;;
36695 [\\/$]*)
36696 # Absolute (can't be DOS-style, as IFS=:)
36697 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36698 echo "$as_me: error: cannot find input file: $f" >&2;}
36699 { (exit 1); exit 1; }; }
36700 echo $f;;
36701 *) # Relative
36702 if test -f "$f"; then
36703 # Build tree
36704 echo $f
36705 elif test -f "$srcdir/$f"; then
36706 # Source tree
36707 echo $srcdir/$f
36708 else
36709 # /dev/null tree
36710 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36711 echo "$as_me: error: cannot find input file: $f" >&2;}
36712 { (exit 1); exit 1; }; }
36713 fi;;
36714 esac
36715 done` || { (exit 1); exit 1; }
36716 _ACEOF
36717 cat >>$CONFIG_STATUS <<_ACEOF
36718 sed "$ac_vpsub
36719 $extrasub
36720 _ACEOF
36721 cat >>$CONFIG_STATUS <<\_ACEOF
36722 :t
36723 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36724 s,@configure_input@,$configure_input,;t t
36725 s,@srcdir@,$ac_srcdir,;t t
36726 s,@abs_srcdir@,$ac_abs_srcdir,;t t
36727 s,@top_srcdir@,$ac_top_srcdir,;t t
36728 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36729 s,@builddir@,$ac_builddir,;t t
36730 s,@abs_builddir@,$ac_abs_builddir,;t t
36731 s,@top_builddir@,$ac_top_builddir,;t t
36732 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36733 s,@INSTALL@,$ac_INSTALL,;t t
36734 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36735 rm -f $tmp/stdin
36736 if test x"$ac_file" != x-; then
36737 mv $tmp/out $ac_file
36738 else
36739 cat $tmp/out
36740 rm -f $tmp/out
36741 fi
36742
36743 done
36744 _ACEOF
36745 cat >>$CONFIG_STATUS <<\_ACEOF
36746
36747 #
36748 # CONFIG_HEADER section.
36749 #
36750
36751 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36752 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36753 #
36754 # ac_d sets the value in "#define NAME VALUE" lines.
36755 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36756 ac_dB='[ ].*$,\1#\2'
36757 ac_dC=' '
36758 ac_dD=',;t'
36759 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36760 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36761 ac_uB='$,\1#\2define\3'
36762 ac_uC=' '
36763 ac_uD=',;t'
36764
36765 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36766 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36767 case $ac_file in
36768 - | *:- | *:-:* ) # input from stdin
36769 cat >$tmp/stdin
36770 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36771 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36772 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36773 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36774 * ) ac_file_in=$ac_file.in ;;
36775 esac
36776
36777 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36778 echo "$as_me: creating $ac_file" >&6;}
36779
36780 # First look for the input files in the build tree, otherwise in the
36781 # src tree.
36782 ac_file_inputs=`IFS=:
36783 for f in $ac_file_in; do
36784 case $f in
36785 -) echo $tmp/stdin ;;
36786 [\\/$]*)
36787 # Absolute (can't be DOS-style, as IFS=:)
36788 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36789 echo "$as_me: error: cannot find input file: $f" >&2;}
36790 { (exit 1); exit 1; }; }
36791 echo $f;;
36792 *) # Relative
36793 if test -f "$f"; then
36794 # Build tree
36795 echo $f
36796 elif test -f "$srcdir/$f"; then
36797 # Source tree
36798 echo $srcdir/$f
36799 else
36800 # /dev/null tree
36801 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36802 echo "$as_me: error: cannot find input file: $f" >&2;}
36803 { (exit 1); exit 1; }; }
36804 fi;;
36805 esac
36806 done` || { (exit 1); exit 1; }
36807 # Remove the trailing spaces.
36808 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36809
36810 _ACEOF
36811
36812 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36813 # `conftest.undefs', that substitutes the proper values into
36814 # config.h.in to produce config.h. The first handles `#define'
36815 # templates, and the second `#undef' templates.
36816 # And first: Protect against being on the right side of a sed subst in
36817 # config.status. Protect against being in an unquoted here document
36818 # in config.status.
36819 rm -f conftest.defines conftest.undefs
36820 # Using a here document instead of a string reduces the quoting nightmare.
36821 # Putting comments in sed scripts is not portable.
36822 #
36823 # `end' is used to avoid that the second main sed command (meant for
36824 # 0-ary CPP macros) applies to n-ary macro definitions.
36825 # See the Autoconf documentation for `clear'.
36826 cat >confdef2sed.sed <<\_ACEOF
36827 s/[\\&,]/\\&/g
36828 s,[\\$`],\\&,g
36829 t clear
36830 : clear
36831 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36832 t end
36833 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36834 : end
36835 _ACEOF
36836 # If some macros were called several times there might be several times
36837 # the same #defines, which is useless. Nevertheless, we may not want to
36838 # sort them, since we want the *last* AC-DEFINE to be honored.
36839 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36840 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36841 rm -f confdef2sed.sed
36842
36843 # This sed command replaces #undef with comments. This is necessary, for
36844 # example, in the case of _POSIX_SOURCE, which is predefined and required
36845 # on some systems where configure will not decide to define it.
36846 cat >>conftest.undefs <<\_ACEOF
36847 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36848 _ACEOF
36849
36850 # Break up conftest.defines because some shells have a limit on the size
36851 # of here documents, and old seds have small limits too (100 cmds).
36852 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36853 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36854 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36855 echo ' :' >>$CONFIG_STATUS
36856 rm -f conftest.tail
36857 while grep . conftest.defines >/dev/null
36858 do
36859 # Write a limited-size here document to $tmp/defines.sed.
36860 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36861 # Speed up: don't consider the non `#define' lines.
36862 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36863 # Work around the forget-to-reset-the-flag bug.
36864 echo 't clr' >>$CONFIG_STATUS
36865 echo ': clr' >>$CONFIG_STATUS
36866 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36867 echo 'CEOF
36868 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36869 rm -f $tmp/in
36870 mv $tmp/out $tmp/in
36871 ' >>$CONFIG_STATUS
36872 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36873 rm -f conftest.defines
36874 mv conftest.tail conftest.defines
36875 done
36876 rm -f conftest.defines
36877 echo ' fi # grep' >>$CONFIG_STATUS
36878 echo >>$CONFIG_STATUS
36879
36880 # Break up conftest.undefs because some shells have a limit on the size
36881 # of here documents, and old seds have small limits too (100 cmds).
36882 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36883 rm -f conftest.tail
36884 while grep . conftest.undefs >/dev/null
36885 do
36886 # Write a limited-size here document to $tmp/undefs.sed.
36887 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36888 # Speed up: don't consider the non `#undef'
36889 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36890 # Work around the forget-to-reset-the-flag bug.
36891 echo 't clr' >>$CONFIG_STATUS
36892 echo ': clr' >>$CONFIG_STATUS
36893 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36894 echo 'CEOF
36895 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36896 rm -f $tmp/in
36897 mv $tmp/out $tmp/in
36898 ' >>$CONFIG_STATUS
36899 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36900 rm -f conftest.undefs
36901 mv conftest.tail conftest.undefs
36902 done
36903 rm -f conftest.undefs
36904
36905 cat >>$CONFIG_STATUS <<\_ACEOF
36906 # Let's still pretend it is `configure' which instantiates (i.e., don't
36907 # use $as_me), people would be surprised to read:
36908 # /* config.h. Generated by config.status. */
36909 if test x"$ac_file" = x-; then
36910 echo "/* Generated by configure. */" >$tmp/config.h
36911 else
36912 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36913 fi
36914 cat $tmp/in >>$tmp/config.h
36915 rm -f $tmp/in
36916 if test x"$ac_file" != x-; then
36917 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36918 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36919 echo "$as_me: $ac_file is unchanged" >&6;}
36920 else
36921 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36922 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36923 X"$ac_file" : 'X\(//\)[^/]' \| \
36924 X"$ac_file" : 'X\(//\)$' \| \
36925 X"$ac_file" : 'X\(/\)' \| \
36926 . : '\(.\)' 2>/dev/null ||
36927 echo X"$ac_file" |
36928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36929 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36930 /^X\(\/\/\)$/{ s//\1/; q; }
36931 /^X\(\/\).*/{ s//\1/; q; }
36932 s/.*/./; q'`
36933 { if $as_mkdir_p; then
36934 mkdir -p "$ac_dir"
36935 else
36936 as_dir="$ac_dir"
36937 as_dirs=
36938 while test ! -d "$as_dir"; do
36939 as_dirs="$as_dir $as_dirs"
36940 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36941 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36942 X"$as_dir" : 'X\(//\)[^/]' \| \
36943 X"$as_dir" : 'X\(//\)$' \| \
36944 X"$as_dir" : 'X\(/\)' \| \
36945 . : '\(.\)' 2>/dev/null ||
36946 echo X"$as_dir" |
36947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36948 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36949 /^X\(\/\/\)$/{ s//\1/; q; }
36950 /^X\(\/\).*/{ s//\1/; q; }
36951 s/.*/./; q'`
36952 done
36953 test ! -n "$as_dirs" || mkdir $as_dirs
36954 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36955 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36956 { (exit 1); exit 1; }; }; }
36957
36958 rm -f $ac_file
36959 mv $tmp/config.h $ac_file
36960 fi
36961 else
36962 cat $tmp/config.h
36963 rm -f $tmp/config.h
36964 fi
36965 done
36966 _ACEOF
36967 cat >>$CONFIG_STATUS <<\_ACEOF
36968
36969 #
36970 # CONFIG_COMMANDS section.
36971 #
36972 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36973 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36974 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36975 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36976 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36977 X"$ac_dest" : 'X\(//\)[^/]' \| \
36978 X"$ac_dest" : 'X\(//\)$' \| \
36979 X"$ac_dest" : 'X\(/\)' \| \
36980 . : '\(.\)' 2>/dev/null ||
36981 echo X"$ac_dest" |
36982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36983 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36984 /^X\(\/\/\)$/{ s//\1/; q; }
36985 /^X\(\/\).*/{ s//\1/; q; }
36986 s/.*/./; q'`
36987 ac_builddir=.
36988
36989 if test "$ac_dir" != .; then
36990 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36991 # A "../" for each directory in $ac_dir_suffix.
36992 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36993 else
36994 ac_dir_suffix= ac_top_builddir=
36995 fi
36996
36997 case $srcdir in
36998 .) # No --srcdir option. We are building in place.
36999 ac_srcdir=.
37000 if test -z "$ac_top_builddir"; then
37001 ac_top_srcdir=.
37002 else
37003 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37004 fi ;;
37005 [\\/]* | ?:[\\/]* ) # Absolute path.
37006 ac_srcdir=$srcdir$ac_dir_suffix;
37007 ac_top_srcdir=$srcdir ;;
37008 *) # Relative path.
37009 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37010 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37011 esac
37012 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37013 # absolute.
37014 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37015 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37016 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37017 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37018
37019
37020 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37021 echo "$as_me: executing $ac_dest commands" >&6;}
37022 case $ac_dest in
37023 default )
37024 if test ! -h wx-config; then
37025 chmod +x wx-config
37026 mv wx-config wx${TOOLCHAIN_NAME}-config
37027 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37028 fi
37029
37030 if test ! -d lib; then
37031 mkdir lib
37032 fi
37033 if test ! -d lib/wx; then
37034 mkdir lib/wx
37035 fi
37036 if test ! -d lib/wx/include; then
37037 mkdir lib/wx/include
37038 fi
37039 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37040 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37041 fi
37042 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37043 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37044 fi
37045 if test -f setup.h; then
37046 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37047 fi
37048 ;;
37049 esac
37050 done
37051 _ACEOF
37052
37053 cat >>$CONFIG_STATUS <<\_ACEOF
37054
37055 { (exit 0); exit 0; }
37056 _ACEOF
37057 chmod +x $CONFIG_STATUS
37058 ac_clean_files=$ac_clean_files_save
37059
37060
37061 # configure is writing to config.log, and then calls config.status.
37062 # config.status does its own redirection, appending to config.log.
37063 # Unfortunately, on DOS this fails, as config.log is still kept open
37064 # by configure, so config.status won't be able to write to it; its
37065 # output is simply discarded. So we exec the FD to /dev/null,
37066 # effectively closing config.log, so it can be properly (re)opened and
37067 # appended to by config.status. When coming back to configure, we
37068 # need to make the FD available again.
37069 if test "$no_create" != yes; then
37070 ac_cs_success=:
37071 ac_config_status_args=
37072 test "$silent" = yes &&
37073 ac_config_status_args="$ac_config_status_args --quiet"
37074 exec 5>/dev/null
37075 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37076 exec 5>>config.log
37077 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37078 # would make configure fail if this is the last instruction.
37079 $ac_cs_success || { (exit 1); exit 1; }
37080 fi
37081
37082 #
37083 # CONFIG_SUBDIRS section.
37084 #
37085 if test "$no_recursion" != yes; then
37086
37087 # Remove --cache-file and --srcdir arguments so they do not pile up.
37088 ac_sub_configure_args=
37089 ac_prev=
37090 for ac_arg in $ac_configure_args; do
37091 if test -n "$ac_prev"; then
37092 ac_prev=
37093 continue
37094 fi
37095 case $ac_arg in
37096 -cache-file | --cache-file | --cache-fil | --cache-fi \
37097 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37098 ac_prev=cache_file ;;
37099 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37100 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37101 | --c=*)
37102 ;;
37103 --config-cache | -C)
37104 ;;
37105 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37106 ac_prev=srcdir ;;
37107 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37108 ;;
37109 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37110 ac_prev=prefix ;;
37111 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37112 ;;
37113 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37114 esac
37115 done
37116
37117 # Always prepend --prefix to ensure using the same prefix
37118 # in subdir configurations.
37119 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37120
37121 ac_popdir=`pwd`
37122 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37123
37124 # Do not complain, so a configure script can configure whichever
37125 # parts of a large source tree are present.
37126 test -d $srcdir/$ac_dir || continue
37127
37128 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37129 echo "$as_me: configuring in $ac_dir" >&6;}
37130 { if $as_mkdir_p; then
37131 mkdir -p "$ac_dir"
37132 else
37133 as_dir="$ac_dir"
37134 as_dirs=
37135 while test ! -d "$as_dir"; do
37136 as_dirs="$as_dir $as_dirs"
37137 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37138 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37139 X"$as_dir" : 'X\(//\)[^/]' \| \
37140 X"$as_dir" : 'X\(//\)$' \| \
37141 X"$as_dir" : 'X\(/\)' \| \
37142 . : '\(.\)' 2>/dev/null ||
37143 echo X"$as_dir" |
37144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37145 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37146 /^X\(\/\/\)$/{ s//\1/; q; }
37147 /^X\(\/\).*/{ s//\1/; q; }
37148 s/.*/./; q'`
37149 done
37150 test ! -n "$as_dirs" || mkdir $as_dirs
37151 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37152 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37153 { (exit 1); exit 1; }; }; }
37154
37155 ac_builddir=.
37156
37157 if test "$ac_dir" != .; then
37158 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37159 # A "../" for each directory in $ac_dir_suffix.
37160 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37161 else
37162 ac_dir_suffix= ac_top_builddir=
37163 fi
37164
37165 case $srcdir in
37166 .) # No --srcdir option. We are building in place.
37167 ac_srcdir=.
37168 if test -z "$ac_top_builddir"; then
37169 ac_top_srcdir=.
37170 else
37171 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37172 fi ;;
37173 [\\/]* | ?:[\\/]* ) # Absolute path.
37174 ac_srcdir=$srcdir$ac_dir_suffix;
37175 ac_top_srcdir=$srcdir ;;
37176 *) # Relative path.
37177 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37178 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37179 esac
37180 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37181 # absolute.
37182 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37183 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37184 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37185 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37186
37187
37188 cd $ac_dir
37189
37190 # Check for guested configure; otherwise get Cygnus style configure.
37191 if test -f $ac_srcdir/configure.gnu; then
37192 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37193 elif test -f $ac_srcdir/configure; then
37194 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37195 elif test -f $ac_srcdir/configure.in; then
37196 ac_sub_configure=$ac_configure
37197 else
37198 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37199 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37200 ac_sub_configure=
37201 fi
37202
37203 # The recursion is here.
37204 if test -n "$ac_sub_configure"; then
37205 # Make the cache file name correct relative to the subdirectory.
37206 case $cache_file in
37207 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37208 *) # Relative path.
37209 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37210 esac
37211
37212 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37213 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37214 # The eval makes quoting arguments work.
37215 eval $ac_sub_configure $ac_sub_configure_args \
37216 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37217 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37218 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37219 { (exit 1); exit 1; }; }
37220 fi
37221
37222 cd $ac_popdir
37223 done
37224 fi
37225
37226
37227 echo
37228 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37229 echo ""
37230 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37231 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37232
37233 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37234 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37235 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37236
37237 echo " What level of wxWindows compatibility should be enabled?"
37238 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
37239 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37240 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37241
37242 echo " Which libraries should wxWindows use?"
37243 echo " jpeg ${wxUSE_LIBJPEG-none}"
37244 echo " png ${wxUSE_LIBPNG-none}"
37245 echo " regex ${wxUSE_REGEX}"
37246 echo " tiff ${wxUSE_LIBTIFF-none}"
37247 echo " zlib ${wxUSE_ZLIB}"
37248 echo " odbc ${wxUSE_ODBC}"
37249 echo " expat ${wxUSE_EXPAT}"
37250
37251 echo ""
37252