]> git.saurik.com Git - wxWidgets.git/blob - configure
Set CHRBITS to the "correct" amount.
[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.58 for wxWindows 2.5.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWindows'
272 PACKAGE_TARNAME='wxwindows'
273 PACKAGE_VERSION='2.5.1'
274 PACKAGE_STRING='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 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 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_HTML 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 ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX 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_0_USE_ODBC_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_0_SHARED_1_USE_ODBC_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_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_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_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_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_ODBC_1 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 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 WXCONFIG_LDFLAGS_GUI 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 LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --disable-monolithic don't build wxWindows as single library
872 --enable-universal use wxWindows GUI controls instead of native ones
873 --enable-nanox use NanoX
874 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
875 --enable-shared create shared library code
876 --enable-optimise create optimised code
877 --enable-debug same as debug_flag and debug_info
878 --enable-stl use STL for containers
879 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
880 --enable-debug_info create code with debugging information
881 --enable-debug_gdb create code with extra GDB debugging information
882 --enable-debug_cntxt use wxDebugContext
883 --enable-mem_tracing create code with memory tracing
884 --enable-profile create code with profiling information
885 --enable-no_rtti create code without RTTI information
886 --enable-no_exceptions create code without C++ exceptions handling
887 --enable-permissive compile code disregarding strict ANSI
888 --enable-no_deps create code without dependency information
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 (Win32 only)
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-apple_ieee use the Apple IEEE codec
903 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
904 --enable-cmdline use wxCmdLineParser class
905 --enable-datetime use wxDateTime class
906 --enable-dialupman use dialup network classes
907 --enable-dynlib use wxLibrary class for DLL loading
908 --enable-dynamicloader use (new) wxDynamicLibrary class
909 --enable-exceptions build exception-safe library
910 --enable-ffile use wxFFile class
911 --enable-file use wxFile class
912 --enable-filesystem use virtual file systems classes
913 --enable-fontmap use font encodings conversion classes
914 --enable-fs_inet use virtual HTTP/FTP filesystems
915 --enable-fs_zip use virtual ZIP filesystems
916 --enable-geometry use geometry class
917 --enable-log use logging system
918 --enable-longlong use wxLongLong class
919 --enable-mimetype use wxMimeTypesManager
920 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
921 --enable-snglinst use wxSingleInstanceChecker class
922 --enable-streams use wxStream etc classes
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-stopwatch use wxStopWatch class
925 --enable-sysoptions use wxSystemOptions
926 --enable-textbuf use wxTextBuffer class
927 --enable-textfile use wxTextFile class
928 --enable-timer use wxTimer class
929 --enable-unicode compile wxString with Unicode support
930 --enable-wave use wxWave class
931 --enable-wxprintfv use wxWindows implementation of vprintf()
932 --enable-zipstream use wxZipInputStream
933 --enable-gzstream use wxGzipInputStream
934 --enable-url use wxURL class
935 --enable-protocol use wxProtocol class
936 --enable-protocol-http HTTP support in wxProtocol
937 --enable-protocol-ftp FTP support in wxProtocol
938 --enable-protocol-file FILE support in wxProtocol
939 --enable-threads use threads
940 --enable-docview use document view architecture
941 --enable-help use help subsystem
942 --enable-mshtmlhelp use MS HTML Help (win32)
943 --enable-html use wxHTML sub-library
944 --enable-htmlhelp use wxHTML-based help
945 --enable-constraints use layout-constraints system
946 --enable-printarch use printing architecture
947 --enable-mdi use multiple document interface architecture
948 --enable-loggui use standard GUI logger
949 --enable-logwin use wxLogWindow
950 --enable-logdialog use wxLogDialog
951 --enable-postscript use wxPostscriptDC device context (default for gtk+)
952 --enable-prologio not available; see contrib
953 --enable-resources not available; see contrib
954 --enable-clipboard use wxClipboard class
955 --enable-dnd use Drag'n'Drop classes
956 --enable-metafile use win32 metafiles
957 --enable-controls use all usual controls
958 --enable-accel use accelerators
959 --enable-button use wxButton class
960 --enable-bmpbutton use wxBitmapButton class
961 --enable-calendar use wxCalendarCtrl class
962 --enable-caret use wxCaret class
963 --enable-checkbox use wxCheckBox class
964 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
965 --enable-choice use wxChoice class
966 --enable-combobox use wxComboBox class
967 --enable-display use wxDisplay class
968 --enable-gauge use wxGauge class
969 --enable-grid use wxGrid class
970 --enable-imaglist use wxImageList class
971 --enable-listbook use wxListbook class
972 --enable-listbox use wxListBox class
973 --enable-listctrl use wxListCtrl class
974 --enable-notebook use wxNotebook class
975 --enable-radiobox use wxRadioBox class
976 --enable-radiobtn use wxRadioButton class
977 --enable-sash use wxSashWindow class
978 --enable-scrollbar use wxScrollBar class and scrollable windows
979 --enable-slider use wxSlider class
980 --enable-spinbtn use wxSpinButton class
981 --enable-spinctrl use wxSpinCtrl class
982 --enable-splitter use wxSplitterWindow class
983 --enable-statbmp use wxStaticBitmap class
984 --enable-statbox use wxStaticBox class
985 --enable-statline use wxStaticLine class
986 --enable-stattext use wxStaticText class
987 --enable-statusbar use wxStatusBar class
988 --enable-tabdialog use wxTabControl class
989 --enable-textctrl use wxTextCtrl class
990 --enable-togglebtn use wxToggleButton class
991 --enable-toolbar use wxToolBar class
992 --enable-tbarnative use native wxToolBar class
993 --enable-tbarsmpl use wxToolBarSimple class
994 --enable-treectrl use wxTreeCtrl class
995 --enable-tipwindow use wxTipWindow class
996 --enable-popupwin use wxPopUpWindow class
997 --enable-commondlg use all common dialogs
998 --enable-choicedlg use wxChoiceDialog
999 --enable-coldlg use wxColourDialog
1000 --enable-filedlg use wxFileDialog
1001 --enable-finddlg use wxFindReplaceDialog
1002 --enable-fontdlg use wxFontDialog
1003 --enable-dirdlg use wxDirDialog
1004 --enable-msgdlg use wxMessageDialog
1005 --enable-numberdlg use wxNumberEntryDialog
1006 --enable-splash use wxSplashScreen
1007 --enable-textdlg use wxTextDialog
1008 --enable-tipdlg use startup tips
1009 --enable-progressdlg use wxProgressDialog
1010 --enable-wizarddlg use wxWizard
1011 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1012 --enable-miniframe use wxMiniFrame class
1013 --enable-tooltips use wxToolTip class
1014 --enable-splines use spline drawing code
1015 --enable-validators use wxValidator and derived classes
1016 --enable-busyinfo use wxBusyInfo
1017 --enable-joystick use wxJoystick (Linux only)
1018 --enable-metafiles use wxMetaFile (Windows only)
1019 --enable-dragimage use wxDragImage
1020 --enable-accessibility enable accessibility support
1021 --enable-palette use wxPalette class
1022 --enable-image use wxImage class
1023 --enable-gif use gif images (GIF file format)
1024 --enable-pcx use pcx images (PCX file format)
1025 --enable-iff use iff images (IFF file format)
1026 --enable-pnm use pnm images (PNM file format)
1027 --enable-xpm use xpm images (XPM file format)
1028 --enable-icocur use Windows ICO and CUR formats
1029 --enable-official_build official build of wxWindows (win32 DLL only)
1030 --enable-vendor=VENDOR vendor name (win32 DLL only)
1031 --disable-largefile omit support for large files
1032 --disable-gtktest do not try to compile and run a test GTK+ program
1033 --disable-gtktest Do not try to compile and run a test GTK program
1034 --disable-precomp-headers don't use precompiled headers even if compiler can
1035
1036 Optional Packages:
1037 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1038 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1039 --with-gtk use GTK+
1040 --with-motif use Motif/Lesstif
1041 --with-mac use Mac OS X
1042 --with-cocoa use Cocoa
1043 --with-wine use Wine
1044 --with-msw use MS-Windows
1045 --with-pm use OS/2 Presentation Manager
1046 --with-mgl use SciTech MGL
1047 --with-microwin use MicroWindows
1048 --with-x11 use X11
1049 --with-libpng use libpng (PNG image format)
1050 --with-libjpeg use libjpeg (JPEG file format)
1051 --with-libtiff use libtiff (TIFF file format)
1052 --with-libxpm use libxpm (XPM file format)
1053 --with-libmspack use libmspack (CHM help files loading)
1054 --with-opengl use OpenGL (or Mesa)
1055 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1056 --with-regex enable support for wxRegEx class
1057 --with-zlib use zlib for LZW compression
1058 --with-odbc use the IODBC and wxODBC classes
1059 --with-expat enable XML support using expat parser
1060 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1061 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1062 --with-x use the X Window System
1063 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1064
1065 Some influential environment variables:
1066 CC C compiler command
1067 CFLAGS C compiler flags
1068 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1069 nonstandard directory <lib dir>
1070 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1071 headers in a nonstandard directory <include dir>
1072 CPP C preprocessor
1073 CXX C++ compiler command
1074 CXXFLAGS C++ compiler flags
1075 CXXCPP C++ preprocessor
1076
1077 Use these variables to override the choices made by `configure' or to help
1078 it to find libraries and programs with nonstandard names/locations.
1079
1080 Report bugs to <wx-dev@lists.wxwindows.org>.
1081 _ACEOF
1082 fi
1083
1084 if test "$ac_init_help" = "recursive"; then
1085 # If there are subdirs, report their specific --help.
1086 ac_popdir=`pwd`
1087 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1088 test -d $ac_dir || continue
1089 ac_builddir=.
1090
1091 if test "$ac_dir" != .; then
1092 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1093 # A "../" for each directory in $ac_dir_suffix.
1094 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1095 else
1096 ac_dir_suffix= ac_top_builddir=
1097 fi
1098
1099 case $srcdir in
1100 .) # No --srcdir option. We are building in place.
1101 ac_srcdir=.
1102 if test -z "$ac_top_builddir"; then
1103 ac_top_srcdir=.
1104 else
1105 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1106 fi ;;
1107 [\\/]* | ?:[\\/]* ) # Absolute path.
1108 ac_srcdir=$srcdir$ac_dir_suffix;
1109 ac_top_srcdir=$srcdir ;;
1110 *) # Relative path.
1111 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1112 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1113 esac
1114 case "$ac_dir" in
1115 .) ac_abs_builddir=$ac_builddir;;
1116 *)
1117 case $ac_builddir in
1118 .) ac_abs_builddir="$ac_dir";;
1119 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
1120 *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
1121 esac;;
1122 esac
1123 case "$ac_dir" in
1124 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1125 *)
1126 case ${ac_top_builddir}. in
1127 .) ac_abs_top_builddir="$ac_dir";;
1128 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1129 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
1130 esac;;
1131 esac
1132 case "$ac_dir" in
1133 .) ac_abs_srcdir=$ac_srcdir;;
1134 *)
1135 case $ac_srcdir in
1136 .) ac_abs_srcdir="$ac_dir";;
1137 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1138 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
1139 esac;;
1140 esac
1141 case "$ac_dir" in
1142 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1143 *)
1144 case $ac_top_srcdir in
1145 .) ac_abs_top_srcdir="$ac_dir";;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1147 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
1148 esac;;
1149 esac
1150
1151 cd $ac_dir
1152 # Check for guested configure; otherwise get Cygnus style configure.
1153 if test -f $ac_srcdir/configure.gnu; then
1154 echo
1155 $SHELL $ac_srcdir/configure.gnu --help=recursive
1156 elif test -f $ac_srcdir/configure; then
1157 echo
1158 $SHELL $ac_srcdir/configure --help=recursive
1159 elif test -f $ac_srcdir/configure.ac ||
1160 test -f $ac_srcdir/configure.in; then
1161 echo
1162 $ac_configure --help
1163 else
1164 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1165 fi
1166 cd $ac_popdir
1167 done
1168 fi
1169
1170 test -n "$ac_init_help" && exit 0
1171 if $ac_init_version; then
1172 cat <<\_ACEOF
1173 wxWindows configure 2.5.1
1174 generated by GNU Autoconf 2.58
1175
1176 Copyright (C) 2003 Free Software Foundation, Inc.
1177 This configure script is free software; the Free Software Foundation
1178 gives unlimited permission to copy, distribute and modify it.
1179 _ACEOF
1180 exit 0
1181 fi
1182 exec 5>config.log
1183 cat >&5 <<_ACEOF
1184 This file contains any messages produced by compilers while
1185 running configure, to aid debugging if configure makes a mistake.
1186
1187 It was created by wxWindows $as_me 2.5.1, which was
1188 generated by GNU Autoconf 2.58. Invocation command line was
1189
1190 $ $0 $@
1191
1192 _ACEOF
1193 {
1194 cat <<_ASUNAME
1195 ## --------- ##
1196 ## Platform. ##
1197 ## --------- ##
1198
1199 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1200 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1201 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1202 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1203 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1204
1205 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1206 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1207
1208 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1209 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1210 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1211 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1212 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1213 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1214 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1215
1216 _ASUNAME
1217
1218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1219 for as_dir in $PATH
1220 do
1221 IFS=$as_save_IFS
1222 test -z "$as_dir" && as_dir=.
1223 echo "PATH: $as_dir"
1224 done
1225
1226 } >&5
1227
1228 cat >&5 <<_ACEOF
1229
1230
1231 ## ----------- ##
1232 ## Core tests. ##
1233 ## ----------- ##
1234
1235 _ACEOF
1236
1237
1238 # Keep a trace of the command line.
1239 # Strip out --no-create and --no-recursion so they do not pile up.
1240 # Strip out --silent because we don't want to record it for future runs.
1241 # Also quote any args containing shell meta-characters.
1242 # Make two passes to allow for proper duplicate-argument suppression.
1243 ac_configure_args=
1244 ac_configure_args0=
1245 ac_configure_args1=
1246 ac_sep=
1247 ac_must_keep_next=false
1248 for ac_pass in 1 2
1249 do
1250 for ac_arg
1251 do
1252 case $ac_arg in
1253 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1254 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1255 | -silent | --silent | --silen | --sile | --sil)
1256 continue ;;
1257 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1258 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1259 esac
1260 case $ac_pass in
1261 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1262 2)
1263 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1264 if test $ac_must_keep_next = true; then
1265 ac_must_keep_next=false # Got value, back to normal.
1266 else
1267 case $ac_arg in
1268 *=* | --config-cache | -C | -disable-* | --disable-* \
1269 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1270 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1271 | -with-* | --with-* | -without-* | --without-* | --x)
1272 case "$ac_configure_args0 " in
1273 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1274 esac
1275 ;;
1276 -* ) ac_must_keep_next=true ;;
1277 esac
1278 fi
1279 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1280 # Get rid of the leading space.
1281 ac_sep=" "
1282 ;;
1283 esac
1284 done
1285 done
1286 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1287 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1288
1289 # When interrupted or exit'd, cleanup temporary files, and complete
1290 # config.log. We remove comments because anyway the quotes in there
1291 # would cause problems or look ugly.
1292 # WARNING: Be sure not to use single quotes in there, as some shells,
1293 # such as our DU 5.0 friend, will then `close' the trap.
1294 trap 'exit_status=$?
1295 # Save into config.log some information that might help in debugging.
1296 {
1297 echo
1298
1299 cat <<\_ASBOX
1300 ## ---------------- ##
1301 ## Cache variables. ##
1302 ## ---------------- ##
1303 _ASBOX
1304 echo
1305 # The following way of writing the cache mishandles newlines in values,
1306 {
1307 (set) 2>&1 |
1308 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1309 *ac_space=\ *)
1310 sed -n \
1311 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1312 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1313 ;;
1314 *)
1315 sed -n \
1316 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1317 ;;
1318 esac;
1319 }
1320 echo
1321
1322 cat <<\_ASBOX
1323 ## ----------------- ##
1324 ## Output variables. ##
1325 ## ----------------- ##
1326 _ASBOX
1327 echo
1328 for ac_var in $ac_subst_vars
1329 do
1330 eval ac_val=$`echo $ac_var`
1331 echo "$ac_var='"'"'$ac_val'"'"'"
1332 done | sort
1333 echo
1334
1335 if test -n "$ac_subst_files"; then
1336 cat <<\_ASBOX
1337 ## ------------- ##
1338 ## Output files. ##
1339 ## ------------- ##
1340 _ASBOX
1341 echo
1342 for ac_var in $ac_subst_files
1343 do
1344 eval ac_val=$`echo $ac_var`
1345 echo "$ac_var='"'"'$ac_val'"'"'"
1346 done | sort
1347 echo
1348 fi
1349
1350 if test -s confdefs.h; then
1351 cat <<\_ASBOX
1352 ## ----------- ##
1353 ## confdefs.h. ##
1354 ## ----------- ##
1355 _ASBOX
1356 echo
1357 sed "/^$/d" confdefs.h | sort
1358 echo
1359 fi
1360 test "$ac_signal" != 0 &&
1361 echo "$as_me: caught signal $ac_signal"
1362 echo "$as_me: exit $exit_status"
1363 } >&5
1364 rm -f core *.core &&
1365 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1366 exit $exit_status
1367 ' 0
1368 for ac_signal in 1 2 13 15; do
1369 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1370 done
1371 ac_signal=0
1372
1373 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1374 rm -rf conftest* confdefs.h
1375 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1376 echo >confdefs.h
1377
1378 # Predefined preprocessor variables.
1379
1380 cat >>confdefs.h <<_ACEOF
1381 #define PACKAGE_NAME "$PACKAGE_NAME"
1382 _ACEOF
1383
1384
1385 cat >>confdefs.h <<_ACEOF
1386 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1387 _ACEOF
1388
1389
1390 cat >>confdefs.h <<_ACEOF
1391 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1392 _ACEOF
1393
1394
1395 cat >>confdefs.h <<_ACEOF
1396 #define PACKAGE_STRING "$PACKAGE_STRING"
1397 _ACEOF
1398
1399
1400 cat >>confdefs.h <<_ACEOF
1401 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1402 _ACEOF
1403
1404
1405 # Let the site file select an alternate cache file if it wants to.
1406 # Prefer explicitly selected file to automatically selected ones.
1407 if test -z "$CONFIG_SITE"; then
1408 if test "x$prefix" != xNONE; then
1409 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1410 else
1411 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1412 fi
1413 fi
1414 for ac_site_file in $CONFIG_SITE; do
1415 if test -r "$ac_site_file"; then
1416 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1417 echo "$as_me: loading site script $ac_site_file" >&6;}
1418 sed 's/^/| /' "$ac_site_file" >&5
1419 . "$ac_site_file"
1420 fi
1421 done
1422
1423 if test -r "$cache_file"; then
1424 # Some versions of bash will fail to source /dev/null (special
1425 # files actually), so we avoid doing that.
1426 if test -f "$cache_file"; then
1427 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1428 echo "$as_me: loading cache $cache_file" >&6;}
1429 case $cache_file in
1430 [\\/]* | ?:[\\/]* ) . $cache_file;;
1431 *) . ./$cache_file;;
1432 esac
1433 fi
1434 else
1435 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1436 echo "$as_me: creating cache $cache_file" >&6;}
1437 >$cache_file
1438 fi
1439
1440 # Check that the precious variables saved in the cache have kept the same
1441 # value.
1442 ac_cache_corrupted=false
1443 for ac_var in `(set) 2>&1 |
1444 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1445 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1446 eval ac_new_set=\$ac_env_${ac_var}_set
1447 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1448 eval ac_new_val="\$ac_env_${ac_var}_value"
1449 case $ac_old_set,$ac_new_set in
1450 set,)
1451 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1452 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1453 ac_cache_corrupted=: ;;
1454 ,set)
1455 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1456 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1457 ac_cache_corrupted=: ;;
1458 ,);;
1459 *)
1460 if test "x$ac_old_val" != "x$ac_new_val"; then
1461 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1462 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1463 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1464 echo "$as_me: former value: $ac_old_val" >&2;}
1465 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1466 echo "$as_me: current value: $ac_new_val" >&2;}
1467 ac_cache_corrupted=:
1468 fi;;
1469 esac
1470 # Pass precious variables to config.status.
1471 if test "$ac_new_set" = set; then
1472 case $ac_new_val in
1473 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1474 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1475 *) ac_arg=$ac_var=$ac_new_val ;;
1476 esac
1477 case " $ac_configure_args " in
1478 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1479 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1480 esac
1481 fi
1482 done
1483 if $ac_cache_corrupted; then
1484 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1485 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1486 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1487 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1488 { (exit 1); exit 1; }; }
1489 fi
1490
1491 ac_ext=c
1492 ac_cpp='$CPP $CPPFLAGS'
1493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526 ac_aux_dir=
1527 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1528 if test -f $ac_dir/install-sh; then
1529 ac_aux_dir=$ac_dir
1530 ac_install_sh="$ac_aux_dir/install-sh -c"
1531 break
1532 elif test -f $ac_dir/install.sh; then
1533 ac_aux_dir=$ac_dir
1534 ac_install_sh="$ac_aux_dir/install.sh -c"
1535 break
1536 elif test -f $ac_dir/shtool; then
1537 ac_aux_dir=$ac_dir
1538 ac_install_sh="$ac_aux_dir/shtool install -c"
1539 break
1540 fi
1541 done
1542 if test -z "$ac_aux_dir"; then
1543 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1544 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1545 { (exit 1); exit 1; }; }
1546 fi
1547 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1548 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1549 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1550
1551 # Make sure we can run config.sub.
1552 $ac_config_sub sun4 >/dev/null 2>&1 ||
1553 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1554 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1555 { (exit 1); exit 1; }; }
1556
1557 echo "$as_me:$LINENO: checking build system type" >&5
1558 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1559 if test "${ac_cv_build+set}" = set; then
1560 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 else
1562 ac_cv_build_alias=$build_alias
1563 test -z "$ac_cv_build_alias" &&
1564 ac_cv_build_alias=`$ac_config_guess`
1565 test -z "$ac_cv_build_alias" &&
1566 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1567 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1568 { (exit 1); exit 1; }; }
1569 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1570 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1571 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1572 { (exit 1); exit 1; }; }
1573
1574 fi
1575 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1576 echo "${ECHO_T}$ac_cv_build" >&6
1577 build=$ac_cv_build
1578 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1579 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1580 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1581
1582
1583 echo "$as_me:$LINENO: checking host system type" >&5
1584 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1585 if test "${ac_cv_host+set}" = set; then
1586 echo $ECHO_N "(cached) $ECHO_C" >&6
1587 else
1588 ac_cv_host_alias=$host_alias
1589 test -z "$ac_cv_host_alias" &&
1590 ac_cv_host_alias=$ac_cv_build_alias
1591 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1592 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1593 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1594 { (exit 1); exit 1; }; }
1595
1596 fi
1597 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1598 echo "${ECHO_T}$ac_cv_host" >&6
1599 host=$ac_cv_host
1600 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1601 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1602 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1603
1604
1605 echo "$as_me:$LINENO: checking target system type" >&5
1606 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1607 if test "${ac_cv_target+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 else
1610 ac_cv_target_alias=$target_alias
1611 test "x$ac_cv_target_alias" = "x" &&
1612 ac_cv_target_alias=$ac_cv_host_alias
1613 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1614 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1615 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1616 { (exit 1); exit 1; }; }
1617
1618 fi
1619 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1620 echo "${ECHO_T}$ac_cv_target" >&6
1621 target=$ac_cv_target
1622 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1623 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1624 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1625
1626
1627 # The aliases save the names the user supplied, while $host etc.
1628 # will get canonicalized.
1629 test -n "$target_alias" &&
1630 test "$program_prefix$program_suffix$program_transform_name" = \
1631 NONENONEs,x,x, &&
1632 program_prefix=${target_alias}-
1633
1634
1635
1636 WX_MAJOR_VERSION_NUMBER=2
1637 WX_MINOR_VERSION_NUMBER=5
1638 WX_RELEASE_NUMBER=1
1639
1640 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1641 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1642
1643 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1644
1645 WX_CURRENT=1
1646 WX_REVISION=0
1647 WX_AGE=0
1648
1649
1650
1651 USE_UNIX=1
1652 USE_OS2=0
1653 USE_WIN32=0
1654 USE_DOS=0
1655 USE_BEOS=0
1656 USE_MAC=0
1657
1658 USE_AIX=
1659 USE_BSD= USE_DARWIN= USE_FREEBSD=
1660 USE_GNU= USE_HPUX=
1661 USE_LINUX=
1662 USE_NETBSD=
1663 USE_OPENBSD=
1664 USE_OSF= USE_SGI=
1665 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1666 USE_ULTRIX=
1667 USE_UNIXWARE=
1668
1669 USE_ALPHA=
1670
1671 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1672
1673 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1674
1675 DEFAULT_wxUSE_COCOA=0
1676 DEFAULT_wxUSE_GTK=0
1677 DEFAULT_wxUSE_MAC=0
1678 DEFAULT_wxUSE_MGL=0
1679 DEFAULT_wxUSE_MICROWIN=0
1680 DEFAULT_wxUSE_MOTIF=0
1681 DEFAULT_wxUSE_MSW=0
1682 DEFAULT_wxUSE_PM=0
1683 DEFAULT_wxUSE_X11=0
1684
1685 DEFAULT_DEFAULT_wxUSE_COCOA=0
1686 DEFAULT_DEFAULT_wxUSE_GTK=0
1687 DEFAULT_DEFAULT_wxUSE_MAC=0
1688 DEFAULT_DEFAULT_wxUSE_MGL=0
1689 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1690 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1691 DEFAULT_DEFAULT_wxUSE_MSW=0
1692 DEFAULT_DEFAULT_wxUSE_PM=0
1693 DEFAULT_DEFAULT_wxUSE_X11=0
1694
1695 PROGRAM_EXT=
1696 SO_SUFFIX=so
1697 SAMPLES_RPATH_FLAG=
1698 SAMPLES_RPATH_POSTLINK=
1699
1700 case "${host}" in
1701 *-hp-hpux* )
1702 USE_HPUX=1
1703 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1704 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1705 SO_SUFFIX=sl
1706 cat >>confdefs.h <<\_ACEOF
1707 #define __HPUX__ 1
1708 _ACEOF
1709
1710 ;;
1711 *-*-linux* )
1712 USE_LINUX=1
1713 cat >>confdefs.h <<\_ACEOF
1714 #define __LINUX__ 1
1715 _ACEOF
1716
1717 TMP=`uname -m`
1718 if test "x$TMP" = "xalpha"; then
1719 USE_ALPHA=1
1720 cat >>confdefs.h <<\_ACEOF
1721 #define __ALPHA__ 1
1722 _ACEOF
1723
1724 fi
1725 DEFAULT_DEFAULT_wxUSE_GTK=1
1726 ;;
1727 *-*-gnu* )
1728 USE_GNU=1
1729 cat >>confdefs.h <<\_ACEOF
1730 #define __GNU__ 1
1731 _ACEOF
1732
1733 TMP=`uname -m`
1734 if test "x$TMP" = "xalpha"; then
1735 USE_ALPHA=1
1736 cat >>confdefs.h <<\_ACEOF
1737 #define __ALPHA__ 1
1738 _ACEOF
1739
1740 fi
1741 DEFAULT_DEFAULT_wxUSE_GTK=1
1742 ;;
1743 *-*-irix5* | *-*-irix6* )
1744 USE_SGI=1
1745 USE_SVR4=1
1746 cat >>confdefs.h <<\_ACEOF
1747 #define __SGI__ 1
1748 _ACEOF
1749
1750 cat >>confdefs.h <<\_ACEOF
1751 #define __SVR4__ 1
1752 _ACEOF
1753
1754 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1755 ;;
1756 *-*-solaris2* )
1757 USE_SUN=1
1758 USE_SOLARIS=1
1759 USE_SVR4=1
1760 cat >>confdefs.h <<\_ACEOF
1761 #define __SUN__ 1
1762 _ACEOF
1763
1764 cat >>confdefs.h <<\_ACEOF
1765 #define __SOLARIS__ 1
1766 _ACEOF
1767
1768 cat >>confdefs.h <<\_ACEOF
1769 #define __SVR4__ 1
1770 _ACEOF
1771
1772 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1773 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1774 ;;
1775 *-*-sunos4* )
1776 USE_SUN=1
1777 USE_SUNOS=1
1778 USE_BSD=1
1779 cat >>confdefs.h <<\_ACEOF
1780 #define __SUN__ 1
1781 _ACEOF
1782
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __SUNOS__ 1
1785 _ACEOF
1786
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __BSD__ 1
1789 _ACEOF
1790
1791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1792 ;;
1793 *-*-freebsd*)
1794 USE_BSD=1
1795 USE_FREEBSD=1
1796 cat >>confdefs.h <<\_ACEOF
1797 #define __FREEBSD__ 1
1798 _ACEOF
1799
1800 cat >>confdefs.h <<\_ACEOF
1801 #define __BSD__ 1
1802 _ACEOF
1803
1804 DEFAULT_DEFAULT_wxUSE_GTK=1
1805 ;;
1806 *-*-openbsd*)
1807 USE_BSD=1
1808 USE_OPENBSD=1
1809 cat >>confdefs.h <<\_ACEOF
1810 #define __OPENBSD__ 1
1811 _ACEOF
1812
1813 cat >>confdefs.h <<\_ACEOF
1814 #define __BSD__ 1
1815 _ACEOF
1816
1817 DEFAULT_DEFAULT_wxUSE_GTK=1
1818 ;;
1819 *-*-netbsd*)
1820 USE_BSD=1
1821 USE_NETBSD=1
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __NETBSD__ 1
1824 _ACEOF
1825
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __BSD__ 1
1828 _ACEOF
1829
1830 DEFAULT_DEFAULT_wxUSE_GTK=1
1831 ;;
1832 *-*-osf* )
1833 USE_ALPHA=1
1834 USE_OSF=1
1835 cat >>confdefs.h <<\_ACEOF
1836 #define __ALPHA__ 1
1837 _ACEOF
1838
1839 cat >>confdefs.h <<\_ACEOF
1840 #define __OSF__ 1
1841 _ACEOF
1842
1843 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1844 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1845 ;;
1846 *-*-dgux5* )
1847 USE_ALPHA=1
1848 USE_SVR4=1
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __ALPHA__ 1
1851 _ACEOF
1852
1853 cat >>confdefs.h <<\_ACEOF
1854 #define __SVR4__ 1
1855 _ACEOF
1856
1857 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1858 ;;
1859 *-*-sysv5* )
1860 USE_SYSV=1
1861 USE_SVR4=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __SYSV__ 1
1864 _ACEOF
1865
1866 cat >>confdefs.h <<\_ACEOF
1867 #define __SVR4__ 1
1868 _ACEOF
1869
1870 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1871 ;;
1872 *-*-aix* )
1873 USE_AIX=1
1874 USE_SYSV=1
1875 USE_SVR4=1
1876 SO_SUFFIX=a
1877 cat >>confdefs.h <<\_ACEOF
1878 #define __AIX__ 1
1879 _ACEOF
1880
1881 cat >>confdefs.h <<\_ACEOF
1882 #define __SYSV__ 1
1883 _ACEOF
1884
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __SVR4__ 1
1887 _ACEOF
1888
1889 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1890 ;;
1891
1892 *-*-*UnixWare*)
1893 USE_SYSV=1
1894 USE_SVR4=1
1895 USE_UNIXWARE=1
1896 cat >>confdefs.h <<\_ACEOF
1897 #define __UNIXWARE__ 1
1898 _ACEOF
1899
1900 ;;
1901
1902 *-*-cygwin* | *-*-mingw32* )
1903 SO_SUFFIX=dll
1904 PROGRAM_EXT=".exe"
1905 RESCOMP=windres
1906 DEFAULT_DEFAULT_wxUSE_MSW=1
1907 ;;
1908
1909 *-pc-msdosdjgpp )
1910 USE_UNIX=0
1911 USE_DOS=1
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __DOS__ 1
1914 _ACEOF
1915
1916 PROGRAM_EXT=".exe"
1917 DEFAULT_DEFAULT_wxUSE_MGL=1
1918 LIBS="$LIBS -lstdc++"
1919 ;;
1920
1921 *-pc-os2_emx | *-pc-os2-emx )
1922 cat >>confdefs.h <<\_ACEOF
1923 #define __EMX__ 1
1924 _ACEOF
1925
1926 USE_OS2=1
1927 cat >>confdefs.h <<\_ACEOF
1928 #define __OS2__ 1
1929 _ACEOF
1930
1931 PROGRAM_EXT=".exe"
1932 DEFAULT_DEFAULT_wxUSE_PM=1
1933 CXX=gcc
1934 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1935 ac_executable_extensions=".exe"
1936 export ac_executable_extensions
1937 ac_save_IFS="$IFS"
1938 IFS='\\'
1939 ac_TEMP_PATH=
1940 for ac_dir in $PATH; do
1941 IFS=$ac_save_IFS
1942 if test -z "$ac_TEMP_PATH"; then
1943 ac_TEMP_PATH="$ac_dir"
1944 else
1945 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1946 fi
1947 done
1948 export PATH="$ac_TEMP_PATH"
1949 unset ac_TEMP_PATH
1950 ;;
1951
1952 powerpc-*-darwin* )
1953 USE_BSD=1
1954 USE_DARWIN=1
1955 SO_SUFFIX=dylib
1956 cat >>confdefs.h <<\_ACEOF
1957 #define __BSD__ 1
1958 _ACEOF
1959
1960 cat >>confdefs.h <<\_ACEOF
1961 #define __DARWIN__ 1
1962 _ACEOF
1963
1964 cat >>confdefs.h <<\_ACEOF
1965 #define __POWERPC__ 1
1966 _ACEOF
1967
1968 cat >>confdefs.h <<\_ACEOF
1969 #define TARGET_CARBON 1
1970 _ACEOF
1971
1972 DEFAULT_DEFAULT_wxUSE_MAC=1
1973 ;;
1974
1975 *-*-beos* )
1976 USE_BEOS=1
1977 cat >>confdefs.h <<\_ACEOF
1978 #define __BEOS__ 1
1979 _ACEOF
1980
1981 ;;
1982
1983 *)
1984 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1985 echo "$as_me: error: unknown system type ${host}." >&2;}
1986 { (exit 1); exit 1; }; }
1987 esac
1988
1989
1990
1991
1992 wx_arg_cache_file="configarg.cache"
1993 echo "loading argument cache $wx_arg_cache_file"
1994 rm -f ${wx_arg_cache_file}.tmp
1995 touch ${wx_arg_cache_file}.tmp
1996 touch ${wx_arg_cache_file}
1997
1998
1999 DEBUG_CONFIGURE=0
2000 if test $DEBUG_CONFIGURE = 1; then
2001 DEFAULT_wxUSE_UNIVERSAL=no
2002 DEFAULT_wxUSE_STL=no
2003
2004 DEFAULT_wxUSE_NANOX=no
2005
2006 DEFAULT_wxUSE_THREADS=yes
2007
2008 DEFAULT_wxUSE_SHARED=yes
2009 DEFAULT_wxUSE_OPTIMISE=no
2010 DEFAULT_wxUSE_PROFILE=no
2011 DEFAULT_wxUSE_NO_DEPS=no
2012 DEFAULT_wxUSE_NO_RTTI=no
2013 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2014 DEFAULT_wxUSE_PERMISSIVE=no
2015 DEFAULT_wxUSE_DEBUG_FLAG=yes
2016 DEFAULT_wxUSE_DEBUG_INFO=yes
2017 DEFAULT_wxUSE_DEBUG_GDB=yes
2018 DEFAULT_wxUSE_MEM_TRACING=no
2019 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2020 DEFAULT_wxUSE_DMALLOC=no
2021 DEFAULT_wxUSE_APPLE_IEEE=no
2022
2023 DEFAULT_wxUSE_EXCEPTIONS=no
2024 DEFAULT_wxUSE_LOG=yes
2025 DEFAULT_wxUSE_LOGWINDOW=no
2026 DEFAULT_wxUSE_LOGGUI=no
2027 DEFAULT_wxUSE_LOGDIALOG=no
2028
2029 DEFAULT_wxUSE_GUI=yes
2030 DEFAULT_wxUSE_CONTROLS=no
2031
2032 DEFAULT_wxUSE_REGEX=no
2033 DEFAULT_wxUSE_XML=no
2034 DEFAULT_wxUSE_EXPAT=no
2035 DEFAULT_wxUSE_ZLIB=no
2036 DEFAULT_wxUSE_LIBPNG=no
2037 DEFAULT_wxUSE_LIBJPEG=no
2038 DEFAULT_wxUSE_LIBTIFF=no
2039 DEFAULT_wxUSE_LIBXPM=no
2040 DEFAULT_wxUSE_ODBC=no
2041 DEFAULT_wxUSE_OPENGL=no
2042
2043 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2044 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2045 DEFAULT_wxUSE_STD_IOSTREAM=no
2046 DEFAULT_wxUSE_CMDLINE_PARSER=no
2047 DEFAULT_wxUSE_DATETIME=no
2048 DEFAULT_wxUSE_TIMER=no
2049 DEFAULT_wxUSE_STOPWATCH=no
2050 DEFAULT_wxUSE_FILE=no
2051 DEFAULT_wxUSE_FFILE=no
2052 DEFAULT_wxUSE_TEXTBUFFER=no
2053 DEFAULT_wxUSE_TEXTFILE=no
2054 DEFAULT_wxUSE_WAVE=no
2055 DEFAULT_wxUSE_INTL=no
2056 DEFAULT_wxUSE_CONFIG=no
2057 DEFAULT_wxUSE_FONTMAP=no
2058 DEFAULT_wxUSE_STREAMS=no
2059 DEFAULT_wxUSE_SOCKETS=no
2060 DEFAULT_wxUSE_OLE=no
2061 DEFAULT_wxUSE_DATAOBJ=no
2062 DEFAULT_wxUSE_DIALUP_MANAGER=no
2063 DEFAULT_wxUSE_JOYSTICK=no
2064 DEFAULT_wxUSE_DYNLIB_CLASS=no
2065 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2066 DEFAULT_wxUSE_LONGLONG=no
2067 DEFAULT_wxUSE_GEOMETRY=no
2068
2069 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2070 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2071 DEFAULT_wxUSE_POSTSCRIPT=no
2072
2073 DEFAULT_wxUSE_CLIPBOARD=no
2074 DEFAULT_wxUSE_TOOLTIPS=no
2075 DEFAULT_wxUSE_DRAG_AND_DROP=no
2076 DEFAULT_wxUSE_DRAGIMAGE=no
2077 DEFAULT_wxUSE_SPLINES=no
2078
2079 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2080 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2081 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2082
2083 DEFAULT_wxUSE_RESOURCES=no
2084 DEFAULT_wxUSE_CONSTRAINTS=no
2085 DEFAULT_wxUSE_IPC=no
2086 DEFAULT_wxUSE_HELP=no
2087 DEFAULT_wxUSE_MS_HTML_HELP=no
2088 DEFAULT_wxUSE_WXHTML_HELP=no
2089 DEFAULT_wxUSE_TREELAYOUT=no
2090 DEFAULT_wxUSE_METAFILE=no
2091 DEFAULT_wxUSE_MIMETYPE=no
2092 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2093 DEFAULT_wxUSE_PROTOCOL=no
2094 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2095 DEFAULT_wxUSE_PROTOCOL_FTP=no
2096 DEFAULT_wxUSE_PROTOCOL_FILE=no
2097 DEFAULT_wxUSE_URL=no
2098
2099 DEFAULT_wxUSE_COMMONDLGS=no
2100 DEFAULT_wxUSE_CHOICEDLG=no
2101 DEFAULT_wxUSE_COLOURDLG=no
2102 DEFAULT_wxUSE_DIRDLG=no
2103 DEFAULT_wxUSE_FILEDLG=no
2104 DEFAULT_wxUSE_FINDREPLDLG=no
2105 DEFAULT_wxUSE_FONTDLG=no
2106 DEFAULT_wxUSE_MSGDLG=no
2107 DEFAULT_wxUSE_NUMBERDLG=no
2108 DEFAULT_wxUSE_TEXTDLG=no
2109 DEFAULT_wxUSE_SPLASH=no
2110 DEFAULT_wxUSE_STARTUP_TIPS=no
2111 DEFAULT_wxUSE_PROGRESSDLG=no
2112 DEFAULT_wxUSE_WIZARDDLG=no
2113
2114 DEFAULT_wxUSE_MENUS=no
2115 DEFAULT_wxUSE_MINIFRAME=no
2116 DEFAULT_wxUSE_HTML=no
2117 DEFAULT_wxUSE_FILESYSTEM=no
2118 DEFAULT_wxUSE_FS_INET=no
2119 DEFAULT_wxUSE_FS_ZIP=no
2120 DEFAULT_wxUSE_BUSYINFO=no
2121 DEFAULT_wxUSE_ZIPSTREAM=no
2122 DEFAULT_wxUSE_GZSTREAM=no
2123 DEFAULT_wxUSE_VALIDATORS=no
2124
2125 DEFAULT_wxUSE_ACCEL=no
2126 DEFAULT_wxUSE_BUTTON=no
2127 DEFAULT_wxUSE_BMPBUTTON=no
2128 DEFAULT_wxUSE_CALCTRL=no
2129 DEFAULT_wxUSE_CARET=no
2130 DEFAULT_wxUSE_CHECKBOX=no
2131 DEFAULT_wxUSE_CHECKLST=no
2132 DEFAULT_wxUSE_CHOICE=no
2133 DEFAULT_wxUSE_COMBOBOX=no
2134 DEFAULT_wxUSE_DISPLAY=no
2135 DEFAULT_wxUSE_GAUGE=no
2136 DEFAULT_wxUSE_GRID=no
2137 DEFAULT_wxUSE_IMAGLIST=no
2138 DEFAULT_wxUSE_LISTBOOK=no
2139 DEFAULT_wxUSE_LISTBOX=no
2140 DEFAULT_wxUSE_LISTCTRL=no
2141 DEFAULT_wxUSE_NOTEBOOK=no
2142 DEFAULT_wxUSE_RADIOBOX=no
2143 DEFAULT_wxUSE_RADIOBTN=no
2144 DEFAULT_wxUSE_SASH=no
2145 DEFAULT_wxUSE_SCROLLBAR=no
2146 DEFAULT_wxUSE_SLIDER=no
2147 DEFAULT_wxUSE_SPINBTN=no
2148 DEFAULT_wxUSE_SPINCTRL=no
2149 DEFAULT_wxUSE_SPLITTER=no
2150 DEFAULT_wxUSE_STATBMP=no
2151 DEFAULT_wxUSE_STATBOX=no
2152 DEFAULT_wxUSE_STATLINE=no
2153 DEFAULT_wxUSE_STATTEXT=no
2154 DEFAULT_wxUSE_STATUSBAR=yes
2155 DEFAULT_wxUSE_TABDIALOG=no
2156 DEFAULT_wxUSE_TEXTCTRL=no
2157 DEFAULT_wxUSE_TOGGLEBTN=no
2158 DEFAULT_wxUSE_TOOLBAR=no
2159 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2160 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2161 DEFAULT_wxUSE_TREECTRL=no
2162 DEFAULT_wxUSE_POPUPWIN=no
2163 DEFAULT_wxUSE_TIPWINDOW=no
2164
2165 DEFAULT_wxUSE_UNICODE=no
2166 DEFAULT_wxUSE_UNICODE_MSLU=no
2167 DEFAULT_wxUSE_WCSRTOMBS=no
2168
2169 DEFAULT_wxUSE_PALETTE=no
2170 DEFAULT_wxUSE_IMAGE=no
2171 DEFAULT_wxUSE_GIF=no
2172 DEFAULT_wxUSE_PCX=no
2173 DEFAULT_wxUSE_PNM=no
2174 DEFAULT_wxUSE_IFF=no
2175 DEFAULT_wxUSE_XPM=no
2176 DEFAULT_wxUSE_ICO_CUR=no
2177 DEFAULT_wxUSE_ACCESSIBILITY=no
2178
2179 DEFAULT_wxUSE_MONOLITHIC=no
2180 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2181 else
2182 DEFAULT_wxUSE_UNIVERSAL=no
2183 DEFAULT_wxUSE_STL=no
2184
2185 DEFAULT_wxUSE_NANOX=no
2186
2187 DEFAULT_wxUSE_THREADS=yes
2188
2189 DEFAULT_wxUSE_SHARED=yes
2190 DEFAULT_wxUSE_OPTIMISE=yes
2191 DEFAULT_wxUSE_PROFILE=no
2192 DEFAULT_wxUSE_NO_DEPS=no
2193 DEFAULT_wxUSE_NO_RTTI=no
2194 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2195 DEFAULT_wxUSE_PERMISSIVE=no
2196 DEFAULT_wxUSE_DEBUG_FLAG=no
2197 DEFAULT_wxUSE_DEBUG_INFO=no
2198 DEFAULT_wxUSE_DEBUG_GDB=no
2199 DEFAULT_wxUSE_MEM_TRACING=no
2200 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2201 DEFAULT_wxUSE_DMALLOC=no
2202 DEFAULT_wxUSE_APPLE_IEEE=yes
2203
2204 DEFAULT_wxUSE_EXCEPTIONS=yes
2205 DEFAULT_wxUSE_LOG=yes
2206 DEFAULT_wxUSE_LOGWINDOW=yes
2207 DEFAULT_wxUSE_LOGGUI=yes
2208 DEFAULT_wxUSE_LOGDIALOG=yes
2209
2210 DEFAULT_wxUSE_GUI=yes
2211
2212 DEFAULT_wxUSE_REGEX=yes
2213 DEFAULT_wxUSE_XML=yes
2214 DEFAULT_wxUSE_EXPAT=yes
2215 DEFAULT_wxUSE_ZLIB=yes
2216 DEFAULT_wxUSE_LIBPNG=yes
2217 DEFAULT_wxUSE_LIBJPEG=yes
2218 DEFAULT_wxUSE_LIBTIFF=yes
2219 DEFAULT_wxUSE_LIBXPM=yes
2220 DEFAULT_wxUSE_LIBMSPACK=yes
2221 DEFAULT_wxUSE_ODBC=no
2222 DEFAULT_wxUSE_OPENGL=no
2223
2224 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2225 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2226 DEFAULT_wxUSE_STD_IOSTREAM=no
2227 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2228 DEFAULT_wxUSE_DATETIME=yes
2229 DEFAULT_wxUSE_TIMER=yes
2230 DEFAULT_wxUSE_STOPWATCH=yes
2231 DEFAULT_wxUSE_FILE=yes
2232 DEFAULT_wxUSE_FFILE=yes
2233 DEFAULT_wxUSE_TEXTBUFFER=yes
2234 DEFAULT_wxUSE_TEXTFILE=yes
2235 DEFAULT_wxUSE_WAVE=no
2236 DEFAULT_wxUSE_INTL=yes
2237 DEFAULT_wxUSE_CONFIG=yes
2238 DEFAULT_wxUSE_FONTMAP=yes
2239 DEFAULT_wxUSE_STREAMS=yes
2240 DEFAULT_wxUSE_SOCKETS=yes
2241 DEFAULT_wxUSE_OLE=yes
2242 DEFAULT_wxUSE_DATAOBJ=yes
2243 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2244 DEFAULT_wxUSE_JOYSTICK=yes
2245 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2246 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2247 DEFAULT_wxUSE_LONGLONG=yes
2248 DEFAULT_wxUSE_GEOMETRY=yes
2249
2250 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2251 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2252 DEFAULT_wxUSE_POSTSCRIPT=yes
2253
2254 DEFAULT_wxUSE_CLIPBOARD=yes
2255 DEFAULT_wxUSE_TOOLTIPS=yes
2256 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2257 DEFAULT_wxUSE_DRAGIMAGE=yes
2258 DEFAULT_wxUSE_SPLINES=yes
2259
2260 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2261 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2262 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2263
2264 DEFAULT_wxUSE_RESOURCES=no
2265 DEFAULT_wxUSE_CONSTRAINTS=yes
2266 DEFAULT_wxUSE_IPC=yes
2267 DEFAULT_wxUSE_HELP=yes
2268 DEFAULT_wxUSE_MS_HTML_HELP=yes
2269 DEFAULT_wxUSE_WXHTML_HELP=yes
2270 DEFAULT_wxUSE_TREELAYOUT=yes
2271 DEFAULT_wxUSE_METAFILE=yes
2272 DEFAULT_wxUSE_MIMETYPE=yes
2273 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2274 DEFAULT_wxUSE_PROTOCOL=yes
2275 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2276 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2277 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2278 DEFAULT_wxUSE_URL=yes
2279
2280 DEFAULT_wxUSE_COMMONDLGS=yes
2281 DEFAULT_wxUSE_CHOICEDLG=yes
2282 DEFAULT_wxUSE_COLOURDLG=yes
2283 DEFAULT_wxUSE_DIRDLG=yes
2284 DEFAULT_wxUSE_FILEDLG=yes
2285 DEFAULT_wxUSE_FINDREPLDLG=yes
2286 DEFAULT_wxUSE_FONTDLG=yes
2287 DEFAULT_wxUSE_MSGDLG=yes
2288 DEFAULT_wxUSE_NUMBERDLG=yes
2289 DEFAULT_wxUSE_TEXTDLG=yes
2290 DEFAULT_wxUSE_SPLASH=yes
2291 DEFAULT_wxUSE_STARTUP_TIPS=yes
2292 DEFAULT_wxUSE_PROGRESSDLG=yes
2293 DEFAULT_wxUSE_WIZARDDLG=yes
2294
2295 DEFAULT_wxUSE_MENUS=yes
2296 DEFAULT_wxUSE_MINIFRAME=yes
2297 DEFAULT_wxUSE_HTML=yes
2298 DEFAULT_wxUSE_FILESYSTEM=yes
2299 DEFAULT_wxUSE_FS_INET=yes
2300 DEFAULT_wxUSE_FS_ZIP=yes
2301 DEFAULT_wxUSE_BUSYINFO=yes
2302 DEFAULT_wxUSE_ZIPSTREAM=yes
2303 DEFAULT_wxUSE_GZSTREAM=yes
2304 DEFAULT_wxUSE_VALIDATORS=yes
2305
2306 DEFAULT_wxUSE_ACCEL=yes
2307 DEFAULT_wxUSE_BUTTON=yes
2308 DEFAULT_wxUSE_BMPBUTTON=yes
2309 DEFAULT_wxUSE_CALCTRL=yes
2310 DEFAULT_wxUSE_CARET=yes
2311 DEFAULT_wxUSE_CHECKBOX=yes
2312 DEFAULT_wxUSE_CHECKLST=yes
2313 DEFAULT_wxUSE_CHOICE=yes
2314 DEFAULT_wxUSE_COMBOBOX=yes
2315 DEFAULT_wxUSE_DISPLAY=no
2316 DEFAULT_wxUSE_GAUGE=yes
2317 DEFAULT_wxUSE_GRID=yes
2318 DEFAULT_wxUSE_IMAGLIST=yes
2319 DEFAULT_wxUSE_LISTBOOK=yes
2320 DEFAULT_wxUSE_LISTBOX=yes
2321 DEFAULT_wxUSE_LISTCTRL=yes
2322 DEFAULT_wxUSE_NOTEBOOK=yes
2323 DEFAULT_wxUSE_RADIOBOX=yes
2324 DEFAULT_wxUSE_RADIOBTN=yes
2325 DEFAULT_wxUSE_SASH=yes
2326 DEFAULT_wxUSE_SCROLLBAR=yes
2327 DEFAULT_wxUSE_SLIDER=yes
2328 DEFAULT_wxUSE_SPINBTN=yes
2329 DEFAULT_wxUSE_SPINCTRL=yes
2330 DEFAULT_wxUSE_SPLITTER=yes
2331 DEFAULT_wxUSE_STATBMP=yes
2332 DEFAULT_wxUSE_STATBOX=yes
2333 DEFAULT_wxUSE_STATLINE=yes
2334 DEFAULT_wxUSE_STATTEXT=yes
2335 DEFAULT_wxUSE_STATUSBAR=yes
2336 DEFAULT_wxUSE_TABDIALOG=no
2337 DEFAULT_wxUSE_TEXTCTRL=yes
2338 DEFAULT_wxUSE_TOGGLEBTN=yes
2339 DEFAULT_wxUSE_TOOLBAR=yes
2340 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2341 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2342 DEFAULT_wxUSE_TREECTRL=yes
2343 DEFAULT_wxUSE_POPUPWIN=yes
2344 DEFAULT_wxUSE_TIPWINDOW=yes
2345
2346 DEFAULT_wxUSE_UNICODE=no
2347 DEFAULT_wxUSE_UNICODE_MSLU=yes
2348 DEFAULT_wxUSE_WCSRTOMBS=no
2349
2350 DEFAULT_wxUSE_PALETTE=yes
2351 DEFAULT_wxUSE_IMAGE=yes
2352 DEFAULT_wxUSE_GIF=yes
2353 DEFAULT_wxUSE_PCX=yes
2354 DEFAULT_wxUSE_IFF=no
2355 DEFAULT_wxUSE_PNM=yes
2356 DEFAULT_wxUSE_XPM=yes
2357 DEFAULT_wxUSE_ICO_CUR=yes
2358 DEFAULT_wxUSE_ACCESSIBILITY=no
2359
2360 DEFAULT_wxUSE_MONOLITHIC=no
2361 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2362 fi
2363
2364
2365
2366 for toolkit in `echo $ALL_TOOLKITS`; do
2367 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2368 if test "x$LINE" != "x" ; then
2369 has_toolkit_in_cache=1
2370 eval "DEFAULT_$LINE"
2371 eval "CACHE_$toolkit=1"
2372 fi
2373 done
2374
2375
2376
2377 enablestring=
2378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2379 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2380 no_cache=0
2381 # Check whether --enable-gui or --disable-gui was given.
2382 if test "${enable_gui+set}" = set; then
2383 enableval="$enable_gui"
2384
2385 if test "$enableval" = yes; then
2386 ac_cv_use_gui='wxUSE_GUI=yes'
2387 else
2388 ac_cv_use_gui='wxUSE_GUI=no'
2389 fi
2390
2391 else
2392
2393 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2394 if test "x$LINE" != x ; then
2395 eval "DEFAULT_$LINE"
2396 else
2397 no_cache=1
2398 fi
2399
2400 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2401
2402 fi;
2403
2404 eval "$ac_cv_use_gui"
2405 if test "$no_cache" != 1; then
2406 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2407 fi
2408
2409 if test "$wxUSE_GUI" = yes; then
2410 echo "$as_me:$LINENO: result: yes" >&5
2411 echo "${ECHO_T}yes" >&6
2412 else
2413 echo "$as_me:$LINENO: result: no" >&5
2414 echo "${ECHO_T}no" >&6
2415 fi
2416
2417
2418 enablestring=
2419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2420 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2421 no_cache=0
2422 # Check whether --enable-monolithic or --disable-monolithic was given.
2423 if test "${enable_monolithic+set}" = set; then
2424 enableval="$enable_monolithic"
2425
2426 if test "$enableval" = yes; then
2427 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2428 else
2429 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2430 fi
2431
2432 else
2433
2434 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2435 if test "x$LINE" != x ; then
2436 eval "DEFAULT_$LINE"
2437 else
2438 no_cache=1
2439 fi
2440
2441 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2442
2443 fi;
2444
2445 eval "$ac_cv_use_monolithic"
2446 if test "$no_cache" != 1; then
2447 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2448 fi
2449
2450 if test "$wxUSE_MONOLITHIC" = yes; then
2451 echo "$as_me:$LINENO: result: yes" >&5
2452 echo "${ECHO_T}yes" >&6
2453 else
2454 echo "$as_me:$LINENO: result: no" >&5
2455 echo "${ECHO_T}no" >&6
2456 fi
2457
2458
2459 if test "$wxUSE_GUI" = "yes"; then
2460
2461
2462 enablestring=
2463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2464 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2465 no_cache=0
2466 # Check whether --enable-universal or --disable-universal was given.
2467 if test "${enable_universal+set}" = set; then
2468 enableval="$enable_universal"
2469
2470 if test "$enableval" = yes; then
2471 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2472 else
2473 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2474 fi
2475
2476 else
2477
2478 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2479 if test "x$LINE" != x ; then
2480 eval "DEFAULT_$LINE"
2481 else
2482 no_cache=1
2483 fi
2484
2485 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2486
2487 fi;
2488
2489 eval "$ac_cv_use_universal"
2490 if test "$no_cache" != 1; then
2491 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2492 fi
2493
2494 if test "$wxUSE_UNIVERSAL" = yes; then
2495 echo "$as_me:$LINENO: result: yes" >&5
2496 echo "${ECHO_T}yes" >&6
2497 else
2498 echo "$as_me:$LINENO: result: no" >&5
2499 echo "${ECHO_T}no" >&6
2500 fi
2501
2502
2503 # Check whether --with-gtk or --without-gtk was given.
2504 if test "${with_gtk+set}" = set; then
2505 withval="$with_gtk"
2506 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2507 fi;
2508
2509 # Check whether --with-motif or --without-motif was given.
2510 if test "${with_motif+set}" = set; then
2511 withval="$with_motif"
2512 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2513 fi;
2514
2515 # Check whether --with-mac or --without-mac was given.
2516 if test "${with_mac+set}" = set; then
2517 withval="$with_mac"
2518 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2519 fi;
2520
2521 # Check whether --with-cocoa or --without-cocoa was given.
2522 if test "${with_cocoa+set}" = set; then
2523 withval="$with_cocoa"
2524 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2525 fi;
2526
2527 # Check whether --with-wine or --without-wine was given.
2528 if test "${with_wine+set}" = set; then
2529 withval="$with_wine"
2530 wxUSE_WINE="$withval" CACHE_WINE=1
2531 fi;
2532
2533 # Check whether --with-msw or --without-msw was given.
2534 if test "${with_msw+set}" = set; then
2535 withval="$with_msw"
2536 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2537 fi;
2538
2539 # Check whether --with-pm or --without-pm was given.
2540 if test "${with_pm+set}" = set; then
2541 withval="$with_pm"
2542 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2543 fi;
2544
2545 # Check whether --with-mgl or --without-mgl was given.
2546 if test "${with_mgl+set}" = set; then
2547 withval="$with_mgl"
2548 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2549 fi;
2550
2551 # Check whether --with-microwin or --without-microwin was given.
2552 if test "${with_microwin+set}" = set; then
2553 withval="$with_microwin"
2554 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2555 fi;
2556
2557 # Check whether --with-x11 or --without-x11 was given.
2558 if test "${with_x11+set}" = set; then
2559 withval="$with_x11"
2560 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2561 fi;
2562
2563 enablestring=
2564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2565 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2566 no_cache=0
2567 # Check whether --enable-nanox or --disable-nanox was given.
2568 if test "${enable_nanox+set}" = set; then
2569 enableval="$enable_nanox"
2570
2571 if test "$enableval" = yes; then
2572 ac_cv_use_nanox='wxUSE_NANOX=yes'
2573 else
2574 ac_cv_use_nanox='wxUSE_NANOX=no'
2575 fi
2576
2577 else
2578
2579 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2580 if test "x$LINE" != x ; then
2581 eval "DEFAULT_$LINE"
2582 else
2583 no_cache=1
2584 fi
2585
2586 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2587
2588 fi;
2589
2590 eval "$ac_cv_use_nanox"
2591 if test "$no_cache" != 1; then
2592 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2593 fi
2594
2595 if test "$wxUSE_NANOX" = yes; then
2596 echo "$as_me:$LINENO: result: yes" >&5
2597 echo "${ECHO_T}yes" >&6
2598 else
2599 echo "$as_me:$LINENO: result: no" >&5
2600 echo "${ECHO_T}no" >&6
2601 fi
2602
2603
2604
2605 enablestring=
2606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2607 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2608 no_cache=0
2609 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2610 if test "${enable_gtk2+set}" = set; then
2611 enableval="$enable_gtk2"
2612
2613 if test "$enableval" = yes; then
2614 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2615 else
2616 ac_cv_use_gtk2='wxUSE_GTK2=no'
2617 fi
2618
2619 else
2620
2621 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x ; then
2623 eval "DEFAULT_$LINE"
2624 else
2625 no_cache=1
2626 fi
2627
2628 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2629
2630 fi;
2631
2632 eval "$ac_cv_use_gtk2"
2633 if test "$no_cache" != 1; then
2634 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2635 fi
2636
2637 if test "$wxUSE_GTK2" = yes; then
2638 echo "$as_me:$LINENO: result: yes" >&5
2639 echo "${ECHO_T}yes" >&6
2640 else
2641 echo "$as_me:$LINENO: result: no" >&5
2642 echo "${ECHO_T}no" >&6
2643 fi
2644
2645
2646
2647 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2648 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2649 no_cache=0
2650
2651 # Check whether --with-libpng or --without-libpng was given.
2652 if test "${with_libpng+set}" = set; then
2653 withval="$with_libpng"
2654
2655 if test "$withval" = yes; then
2656 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2657 elif test "$withval" = no; then
2658 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2659 elif test "$withval" = sys; then
2660 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2661 elif test "$withval" = builtin; then
2662 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2663 else
2664 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2665 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2666 { (exit 1); exit 1; }; }
2667 fi
2668
2669 else
2670
2671 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2672 if test "x$LINE" != x ; then
2673 eval "DEFAULT_$LINE"
2674 else
2675 no_cache=1
2676 fi
2677
2678 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2679
2680 fi;
2681
2682 eval "$ac_cv_use_libpng"
2683 if test "$no_cache" != 1; then
2684 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2685 fi
2686
2687 if test "$wxUSE_LIBPNG" = yes; then
2688 echo "$as_me:$LINENO: result: yes" >&5
2689 echo "${ECHO_T}yes" >&6
2690 elif test "$wxUSE_LIBPNG" = no; then
2691 echo "$as_me:$LINENO: result: no" >&5
2692 echo "${ECHO_T}no" >&6
2693 elif test "$wxUSE_LIBPNG" = sys; then
2694 echo "$as_me:$LINENO: result: system version" >&5
2695 echo "${ECHO_T}system version" >&6
2696 elif test "$wxUSE_LIBPNG" = builtin; then
2697 echo "$as_me:$LINENO: result: builtin version" >&5
2698 echo "${ECHO_T}builtin version" >&6
2699 else
2700 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2701 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2702 { (exit 1); exit 1; }; }
2703 fi
2704
2705
2706 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2707 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2708 no_cache=0
2709
2710 # Check whether --with-libjpeg or --without-libjpeg was given.
2711 if test "${with_libjpeg+set}" = set; then
2712 withval="$with_libjpeg"
2713
2714 if test "$withval" = yes; then
2715 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2716 elif test "$withval" = no; then
2717 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2718 elif test "$withval" = sys; then
2719 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2720 elif test "$withval" = builtin; then
2721 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2722 else
2723 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2724 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2725 { (exit 1); exit 1; }; }
2726 fi
2727
2728 else
2729
2730 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2731 if test "x$LINE" != x ; then
2732 eval "DEFAULT_$LINE"
2733 else
2734 no_cache=1
2735 fi
2736
2737 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2738
2739 fi;
2740
2741 eval "$ac_cv_use_libjpeg"
2742 if test "$no_cache" != 1; then
2743 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2744 fi
2745
2746 if test "$wxUSE_LIBJPEG" = yes; then
2747 echo "$as_me:$LINENO: result: yes" >&5
2748 echo "${ECHO_T}yes" >&6
2749 elif test "$wxUSE_LIBJPEG" = no; then
2750 echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2752 elif test "$wxUSE_LIBJPEG" = sys; then
2753 echo "$as_me:$LINENO: result: system version" >&5
2754 echo "${ECHO_T}system version" >&6
2755 elif test "$wxUSE_LIBJPEG" = builtin; then
2756 echo "$as_me:$LINENO: result: builtin version" >&5
2757 echo "${ECHO_T}builtin version" >&6
2758 else
2759 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2760 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2761 { (exit 1); exit 1; }; }
2762 fi
2763
2764
2765 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2766 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2767 no_cache=0
2768
2769 # Check whether --with-libtiff or --without-libtiff was given.
2770 if test "${with_libtiff+set}" = set; then
2771 withval="$with_libtiff"
2772
2773 if test "$withval" = yes; then
2774 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2775 elif test "$withval" = no; then
2776 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2777 elif test "$withval" = sys; then
2778 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2779 elif test "$withval" = builtin; then
2780 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2781 else
2782 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2783 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2784 { (exit 1); exit 1; }; }
2785 fi
2786
2787 else
2788
2789 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x ; then
2791 eval "DEFAULT_$LINE"
2792 else
2793 no_cache=1
2794 fi
2795
2796 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2797
2798 fi;
2799
2800 eval "$ac_cv_use_libtiff"
2801 if test "$no_cache" != 1; then
2802 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2803 fi
2804
2805 if test "$wxUSE_LIBTIFF" = yes; then
2806 echo "$as_me:$LINENO: result: yes" >&5
2807 echo "${ECHO_T}yes" >&6
2808 elif test "$wxUSE_LIBTIFF" = no; then
2809 echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2811 elif test "$wxUSE_LIBTIFF" = sys; then
2812 echo "$as_me:$LINENO: result: system version" >&5
2813 echo "${ECHO_T}system version" >&6
2814 elif test "$wxUSE_LIBTIFF" = builtin; then
2815 echo "$as_me:$LINENO: result: builtin version" >&5
2816 echo "${ECHO_T}builtin version" >&6
2817 else
2818 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2819 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2820 { (exit 1); exit 1; }; }
2821 fi
2822
2823
2824 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2825 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2826 no_cache=0
2827
2828 # Check whether --with-libxpm or --without-libxpm was given.
2829 if test "${with_libxpm+set}" = set; then
2830 withval="$with_libxpm"
2831
2832 if test "$withval" = yes; then
2833 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2834 elif test "$withval" = no; then
2835 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2836 elif test "$withval" = sys; then
2837 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2838 elif test "$withval" = builtin; then
2839 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2840 else
2841 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2842 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2843 { (exit 1); exit 1; }; }
2844 fi
2845
2846 else
2847
2848 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2849 if test "x$LINE" != x ; then
2850 eval "DEFAULT_$LINE"
2851 else
2852 no_cache=1
2853 fi
2854
2855 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2856
2857 fi;
2858
2859 eval "$ac_cv_use_libxpm"
2860 if test "$no_cache" != 1; then
2861 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2862 fi
2863
2864 if test "$wxUSE_LIBXPM" = yes; then
2865 echo "$as_me:$LINENO: result: yes" >&5
2866 echo "${ECHO_T}yes" >&6
2867 elif test "$wxUSE_LIBXPM" = no; then
2868 echo "$as_me:$LINENO: result: no" >&5
2869 echo "${ECHO_T}no" >&6
2870 elif test "$wxUSE_LIBXPM" = sys; then
2871 echo "$as_me:$LINENO: result: system version" >&5
2872 echo "${ECHO_T}system version" >&6
2873 elif test "$wxUSE_LIBXPM" = builtin; then
2874 echo "$as_me:$LINENO: result: builtin version" >&5
2875 echo "${ECHO_T}builtin version" >&6
2876 else
2877 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2878 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2879 { (exit 1); exit 1; }; }
2880 fi
2881
2882
2883 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2884 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2885 no_cache=0
2886
2887 # Check whether --with-libmspack or --without-libmspack was given.
2888 if test "${with_libmspack+set}" = set; then
2889 withval="$with_libmspack"
2890
2891 if test "$withval" = yes; then
2892 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2893 else
2894 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2895 fi
2896
2897 else
2898
2899 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2900 if test "x$LINE" != x ; then
2901 eval "DEFAULT_$LINE"
2902 else
2903 no_cache=1
2904 fi
2905
2906 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2907
2908 fi;
2909
2910 eval "$ac_cv_use_libmspack"
2911 if test "$no_cache" != 1; then
2912 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2913 fi
2914
2915 if test "$wxUSE_LIBMSPACK" = yes; then
2916 echo "$as_me:$LINENO: result: yes" >&5
2917 echo "${ECHO_T}yes" >&6
2918 else
2919 echo "$as_me:$LINENO: result: no" >&5
2920 echo "${ECHO_T}no" >&6
2921 fi
2922
2923
2924 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2925 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2926 no_cache=0
2927
2928 # Check whether --with-opengl or --without-opengl was given.
2929 if test "${with_opengl+set}" = set; then
2930 withval="$with_opengl"
2931
2932 if test "$withval" = yes; then
2933 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2934 else
2935 ac_cv_use_opengl='wxUSE_OPENGL=no'
2936 fi
2937
2938 else
2939
2940 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2941 if test "x$LINE" != x ; then
2942 eval "DEFAULT_$LINE"
2943 else
2944 no_cache=1
2945 fi
2946
2947 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2948
2949 fi;
2950
2951 eval "$ac_cv_use_opengl"
2952 if test "$no_cache" != 1; then
2953 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2954 fi
2955
2956 if test "$wxUSE_OPENGL" = yes; then
2957 echo "$as_me:$LINENO: result: yes" >&5
2958 echo "${ECHO_T}yes" >&6
2959 else
2960 echo "$as_me:$LINENO: result: no" >&5
2961 echo "${ECHO_T}no" >&6
2962 fi
2963
2964
2965 fi
2966
2967
2968 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2969 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2970 no_cache=0
2971
2972 # Check whether --with-dmalloc or --without-dmalloc was given.
2973 if test "${with_dmalloc+set}" = set; then
2974 withval="$with_dmalloc"
2975
2976 if test "$withval" = yes; then
2977 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2978 else
2979 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2980 fi
2981
2982 else
2983
2984 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x ; then
2986 eval "DEFAULT_$LINE"
2987 else
2988 no_cache=1
2989 fi
2990
2991 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2992
2993 fi;
2994
2995 eval "$ac_cv_use_dmalloc"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2998 fi
2999
3000 if test "$wxUSE_DMALLOC" = yes; then
3001 echo "$as_me:$LINENO: result: yes" >&5
3002 echo "${ECHO_T}yes" >&6
3003 else
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3006 fi
3007
3008
3009 echo "$as_me:$LINENO: checking for --with-regex" >&5
3010 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3011 no_cache=0
3012
3013 # Check whether --with-regex or --without-regex was given.
3014 if test "${with_regex+set}" = set; then
3015 withval="$with_regex"
3016
3017 if test "$withval" = yes; then
3018 ac_cv_use_regex='wxUSE_REGEX=yes'
3019 elif test "$withval" = no; then
3020 ac_cv_use_regex='wxUSE_REGEX=no'
3021 elif test "$withval" = sys; then
3022 ac_cv_use_regex='wxUSE_REGEX=sys'
3023 elif test "$withval" = builtin; then
3024 ac_cv_use_regex='wxUSE_REGEX=builtin'
3025 else
3026 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3027 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3028 { (exit 1); exit 1; }; }
3029 fi
3030
3031 else
3032
3033 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3034 if test "x$LINE" != x ; then
3035 eval "DEFAULT_$LINE"
3036 else
3037 no_cache=1
3038 fi
3039
3040 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3041
3042 fi;
3043
3044 eval "$ac_cv_use_regex"
3045 if test "$no_cache" != 1; then
3046 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3047 fi
3048
3049 if test "$wxUSE_REGEX" = yes; then
3050 echo "$as_me:$LINENO: result: yes" >&5
3051 echo "${ECHO_T}yes" >&6
3052 elif test "$wxUSE_REGEX" = no; then
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3055 elif test "$wxUSE_REGEX" = sys; then
3056 echo "$as_me:$LINENO: result: system version" >&5
3057 echo "${ECHO_T}system version" >&6
3058 elif test "$wxUSE_REGEX" = builtin; then
3059 echo "$as_me:$LINENO: result: builtin version" >&5
3060 echo "${ECHO_T}builtin version" >&6
3061 else
3062 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3063 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3064 { (exit 1); exit 1; }; }
3065 fi
3066
3067
3068 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3069 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3070 no_cache=0
3071
3072 # Check whether --with-zlib or --without-zlib was given.
3073 if test "${with_zlib+set}" = set; then
3074 withval="$with_zlib"
3075
3076 if test "$withval" = yes; then
3077 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3078 elif test "$withval" = no; then
3079 ac_cv_use_zlib='wxUSE_ZLIB=no'
3080 elif test "$withval" = sys; then
3081 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3082 elif test "$withval" = builtin; then
3083 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3084 else
3085 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3086 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3087 { (exit 1); exit 1; }; }
3088 fi
3089
3090 else
3091
3092 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x ; then
3094 eval "DEFAULT_$LINE"
3095 else
3096 no_cache=1
3097 fi
3098
3099 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3100
3101 fi;
3102
3103 eval "$ac_cv_use_zlib"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3106 fi
3107
3108 if test "$wxUSE_ZLIB" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3111 elif test "$wxUSE_ZLIB" = no; then
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3114 elif test "$wxUSE_ZLIB" = sys; then
3115 echo "$as_me:$LINENO: result: system version" >&5
3116 echo "${ECHO_T}system version" >&6
3117 elif test "$wxUSE_ZLIB" = builtin; then
3118 echo "$as_me:$LINENO: result: builtin version" >&5
3119 echo "${ECHO_T}builtin version" >&6
3120 else
3121 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3122 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3123 { (exit 1); exit 1; }; }
3124 fi
3125
3126
3127 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3128 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3129 no_cache=0
3130
3131 # Check whether --with-odbc or --without-odbc was given.
3132 if test "${with_odbc+set}" = set; then
3133 withval="$with_odbc"
3134
3135 if test "$withval" = yes; then
3136 ac_cv_use_odbc='wxUSE_ODBC=yes'
3137 elif test "$withval" = no; then
3138 ac_cv_use_odbc='wxUSE_ODBC=no'
3139 elif test "$withval" = sys; then
3140 ac_cv_use_odbc='wxUSE_ODBC=sys'
3141 elif test "$withval" = builtin; then
3142 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3143 else
3144 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3145 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3146 { (exit 1); exit 1; }; }
3147 fi
3148
3149 else
3150
3151 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x ; then
3153 eval "DEFAULT_$LINE"
3154 else
3155 no_cache=1
3156 fi
3157
3158 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3159
3160 fi;
3161
3162 eval "$ac_cv_use_odbc"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3165 fi
3166
3167 if test "$wxUSE_ODBC" = yes; then
3168 echo "$as_me:$LINENO: result: yes" >&5
3169 echo "${ECHO_T}yes" >&6
3170 elif test "$wxUSE_ODBC" = no; then
3171 echo "$as_me:$LINENO: result: no" >&5
3172 echo "${ECHO_T}no" >&6
3173 elif test "$wxUSE_ODBC" = sys; then
3174 echo "$as_me:$LINENO: result: system version" >&5
3175 echo "${ECHO_T}system version" >&6
3176 elif test "$wxUSE_ODBC" = builtin; then
3177 echo "$as_me:$LINENO: result: builtin version" >&5
3178 echo "${ECHO_T}builtin version" >&6
3179 else
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3183 fi
3184
3185
3186 echo "$as_me:$LINENO: checking for --with-expat" >&5
3187 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3188 no_cache=0
3189
3190 # Check whether --with-expat or --without-expat was given.
3191 if test "${with_expat+set}" = set; then
3192 withval="$with_expat"
3193
3194 if test "$withval" = yes; then
3195 ac_cv_use_expat='wxUSE_EXPAT=yes'
3196 elif test "$withval" = no; then
3197 ac_cv_use_expat='wxUSE_EXPAT=no'
3198 elif test "$withval" = sys; then
3199 ac_cv_use_expat='wxUSE_EXPAT=sys'
3200 elif test "$withval" = builtin; then
3201 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3202 else
3203 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3204 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3205 { (exit 1); exit 1; }; }
3206 fi
3207
3208 else
3209
3210 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x ; then
3212 eval "DEFAULT_$LINE"
3213 else
3214 no_cache=1
3215 fi
3216
3217 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3218
3219 fi;
3220
3221 eval "$ac_cv_use_expat"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3224 fi
3225
3226 if test "$wxUSE_EXPAT" = yes; then
3227 echo "$as_me:$LINENO: result: yes" >&5
3228 echo "${ECHO_T}yes" >&6
3229 elif test "$wxUSE_EXPAT" = no; then
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3232 elif test "$wxUSE_EXPAT" = sys; then
3233 echo "$as_me:$LINENO: result: system version" >&5
3234 echo "${ECHO_T}system version" >&6
3235 elif test "$wxUSE_EXPAT" = builtin; then
3236 echo "$as_me:$LINENO: result: builtin version" >&5
3237 echo "${ECHO_T}builtin version" >&6
3238 else
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3242 fi
3243
3244
3245
3246
3247 enablestring=
3248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3249 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3250 no_cache=0
3251 # Check whether --enable-shared or --disable-shared was given.
3252 if test "${enable_shared+set}" = set; then
3253 enableval="$enable_shared"
3254
3255 if test "$enableval" = yes; then
3256 ac_cv_use_shared='wxUSE_SHARED=yes'
3257 else
3258 ac_cv_use_shared='wxUSE_SHARED=no'
3259 fi
3260
3261 else
3262
3263 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3264 if test "x$LINE" != x ; then
3265 eval "DEFAULT_$LINE"
3266 else
3267 no_cache=1
3268 fi
3269
3270 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3271
3272 fi;
3273
3274 eval "$ac_cv_use_shared"
3275 if test "$no_cache" != 1; then
3276 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3277 fi
3278
3279 if test "$wxUSE_SHARED" = yes; then
3280 echo "$as_me:$LINENO: result: yes" >&5
3281 echo "${ECHO_T}yes" >&6
3282 else
3283 echo "$as_me:$LINENO: result: no" >&5
3284 echo "${ECHO_T}no" >&6
3285 fi
3286
3287
3288 enablestring=
3289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3290 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3291 no_cache=0
3292 # Check whether --enable-optimise or --disable-optimise was given.
3293 if test "${enable_optimise+set}" = set; then
3294 enableval="$enable_optimise"
3295
3296 if test "$enableval" = yes; then
3297 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3298 else
3299 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3300 fi
3301
3302 else
3303
3304 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x ; then
3306 eval "DEFAULT_$LINE"
3307 else
3308 no_cache=1
3309 fi
3310
3311 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3312
3313 fi;
3314
3315 eval "$ac_cv_use_optimise"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3318 fi
3319
3320 if test "$wxUSE_OPTIMISE" = yes; then
3321 echo "$as_me:$LINENO: result: yes" >&5
3322 echo "${ECHO_T}yes" >&6
3323 else
3324 echo "$as_me:$LINENO: result: no" >&5
3325 echo "${ECHO_T}no" >&6
3326 fi
3327
3328
3329 enablestring=
3330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3331 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3332 no_cache=0
3333 # Check whether --enable-debug or --disable-debug was given.
3334 if test "${enable_debug+set}" = set; then
3335 enableval="$enable_debug"
3336
3337 if test "$enableval" = yes; then
3338 ac_cv_use_debug='wxUSE_DEBUG=yes'
3339 else
3340 ac_cv_use_debug='wxUSE_DEBUG=no'
3341 fi
3342
3343 else
3344
3345 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3346 if test "x$LINE" != x ; then
3347 eval "DEFAULT_$LINE"
3348 else
3349 no_cache=1
3350 fi
3351
3352 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3353
3354 fi;
3355
3356 eval "$ac_cv_use_debug"
3357 if test "$no_cache" != 1; then
3358 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3359 fi
3360
3361 if test "$wxUSE_DEBUG" = yes; then
3362 echo "$as_me:$LINENO: result: yes" >&5
3363 echo "${ECHO_T}yes" >&6
3364 else
3365 echo "$as_me:$LINENO: result: no" >&5
3366 echo "${ECHO_T}no" >&6
3367 fi
3368
3369
3370 enablestring=
3371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3372 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3373 no_cache=0
3374 # Check whether --enable-stl or --disable-stl was given.
3375 if test "${enable_stl+set}" = set; then
3376 enableval="$enable_stl"
3377
3378 if test "$enableval" = yes; then
3379 ac_cv_use_stl='wxUSE_STL=yes'
3380 else
3381 ac_cv_use_stl='wxUSE_STL=no'
3382 fi
3383
3384 else
3385
3386 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3387 if test "x$LINE" != x ; then
3388 eval "DEFAULT_$LINE"
3389 else
3390 no_cache=1
3391 fi
3392
3393 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3394
3395 fi;
3396
3397 eval "$ac_cv_use_stl"
3398 if test "$no_cache" != 1; then
3399 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3400 fi
3401
3402 if test "$wxUSE_STL" = yes; then
3403 echo "$as_me:$LINENO: result: yes" >&5
3404 echo "${ECHO_T}yes" >&6
3405 else
3406 echo "$as_me:$LINENO: result: no" >&5
3407 echo "${ECHO_T}no" >&6
3408 fi
3409
3410
3411 if test "$wxUSE_DEBUG" = "yes"; then
3412 DEFAULT_wxUSE_DEBUG_FLAG=yes
3413 DEFAULT_wxUSE_DEBUG_INFO=yes
3414 BUILD=debug
3415 elif test "$wxUSE_DEBUG" = "no"; then
3416 DEFAULT_wxUSE_DEBUG_FLAG=no
3417 DEFAULT_wxUSE_DEBUG_INFO=no
3418 BUILD=release
3419 fi
3420
3421
3422 enablestring=
3423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3424 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3425 no_cache=0
3426 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3427 if test "${enable_debug_flag+set}" = set; then
3428 enableval="$enable_debug_flag"
3429
3430 if test "$enableval" = yes; then
3431 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3432 else
3433 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3434 fi
3435
3436 else
3437
3438 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3439 if test "x$LINE" != x ; then
3440 eval "DEFAULT_$LINE"
3441 else
3442 no_cache=1
3443 fi
3444
3445 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3446
3447 fi;
3448
3449 eval "$ac_cv_use_debug_flag"
3450 if test "$no_cache" != 1; then
3451 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3452 fi
3453
3454 if test "$wxUSE_DEBUG_FLAG" = yes; then
3455 echo "$as_me:$LINENO: result: yes" >&5
3456 echo "${ECHO_T}yes" >&6
3457 else
3458 echo "$as_me:$LINENO: result: no" >&5
3459 echo "${ECHO_T}no" >&6
3460 fi
3461
3462
3463 enablestring=
3464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3465 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3466 no_cache=0
3467 # Check whether --enable-debug_info or --disable-debug_info was given.
3468 if test "${enable_debug_info+set}" = set; then
3469 enableval="$enable_debug_info"
3470
3471 if test "$enableval" = yes; then
3472 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3473 else
3474 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3475 fi
3476
3477 else
3478
3479 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3480 if test "x$LINE" != x ; then
3481 eval "DEFAULT_$LINE"
3482 else
3483 no_cache=1
3484 fi
3485
3486 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3487
3488 fi;
3489
3490 eval "$ac_cv_use_debug_info"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3493 fi
3494
3495 if test "$wxUSE_DEBUG_INFO" = yes; then
3496 echo "$as_me:$LINENO: result: yes" >&5
3497 echo "${ECHO_T}yes" >&6
3498 else
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3501 fi
3502
3503
3504 enablestring=
3505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3506 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3507 no_cache=0
3508 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3509 if test "${enable_debug_gdb+set}" = set; then
3510 enableval="$enable_debug_gdb"
3511
3512 if test "$enableval" = yes; then
3513 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3514 else
3515 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3516 fi
3517
3518 else
3519
3520 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3521 if test "x$LINE" != x ; then
3522 eval "DEFAULT_$LINE"
3523 else
3524 no_cache=1
3525 fi
3526
3527 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3528
3529 fi;
3530
3531 eval "$ac_cv_use_debug_gdb"
3532 if test "$no_cache" != 1; then
3533 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3534 fi
3535
3536 if test "$wxUSE_DEBUG_GDB" = yes; then
3537 echo "$as_me:$LINENO: result: yes" >&5
3538 echo "${ECHO_T}yes" >&6
3539 else
3540 echo "$as_me:$LINENO: result: no" >&5
3541 echo "${ECHO_T}no" >&6
3542 fi
3543
3544
3545 enablestring=
3546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3547 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3548 no_cache=0
3549 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3550 if test "${enable_debug_cntxt+set}" = set; then
3551 enableval="$enable_debug_cntxt"
3552
3553 if test "$enableval" = yes; then
3554 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3555 else
3556 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3557 fi
3558
3559 else
3560
3561 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3562 if test "x$LINE" != x ; then
3563 eval "DEFAULT_$LINE"
3564 else
3565 no_cache=1
3566 fi
3567
3568 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3569
3570 fi;
3571
3572 eval "$ac_cv_use_debug_cntxt"
3573 if test "$no_cache" != 1; then
3574 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3575 fi
3576
3577 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3578 echo "$as_me:$LINENO: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6
3580 else
3581 echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6
3583 fi
3584
3585
3586 enablestring=
3587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3588 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3589 no_cache=0
3590 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3591 if test "${enable_mem_tracing+set}" = set; then
3592 enableval="$enable_mem_tracing"
3593
3594 if test "$enableval" = yes; then
3595 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3596 else
3597 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3598 fi
3599
3600 else
3601
3602 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3603 if test "x$LINE" != x ; then
3604 eval "DEFAULT_$LINE"
3605 else
3606 no_cache=1
3607 fi
3608
3609 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3610
3611 fi;
3612
3613 eval "$ac_cv_use_mem_tracing"
3614 if test "$no_cache" != 1; then
3615 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3616 fi
3617
3618 if test "$wxUSE_MEM_TRACING" = yes; then
3619 echo "$as_me:$LINENO: result: yes" >&5
3620 echo "${ECHO_T}yes" >&6
3621 else
3622 echo "$as_me:$LINENO: result: no" >&5
3623 echo "${ECHO_T}no" >&6
3624 fi
3625
3626
3627 enablestring=
3628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3629 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3630 no_cache=0
3631 # Check whether --enable-profile or --disable-profile was given.
3632 if test "${enable_profile+set}" = set; then
3633 enableval="$enable_profile"
3634
3635 if test "$enableval" = yes; then
3636 ac_cv_use_profile='wxUSE_PROFILE=yes'
3637 else
3638 ac_cv_use_profile='wxUSE_PROFILE=no'
3639 fi
3640
3641 else
3642
3643 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x ; then
3645 eval "DEFAULT_$LINE"
3646 else
3647 no_cache=1
3648 fi
3649
3650 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3651
3652 fi;
3653
3654 eval "$ac_cv_use_profile"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3657 fi
3658
3659 if test "$wxUSE_PROFILE" = yes; then
3660 echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6
3662 else
3663 echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6
3665 fi
3666
3667
3668 enablestring=
3669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3670 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3671 no_cache=0
3672 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3673 if test "${enable_no_rtti+set}" = set; then
3674 enableval="$enable_no_rtti"
3675
3676 if test "$enableval" = yes; then
3677 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3678 else
3679 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3680 fi
3681
3682 else
3683
3684 LINE=`grep "wxUSE_NO_RTTI" ${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_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3692
3693 fi;
3694
3695 eval "$ac_cv_use_no_rtti"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3698 fi
3699
3700 if test "$wxUSE_NO_RTTI" = 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}-no_exceptions" >&5
3711 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3712 no_cache=0
3713 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3714 if test "${enable_no_exceptions+set}" = set; then
3715 enableval="$enable_no_exceptions"
3716
3717 if test "$enableval" = yes; then
3718 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3719 else
3720 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3721 fi
3722
3723 else
3724
3725 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${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_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3733
3734 fi;
3735
3736 eval "$ac_cv_use_no_exceptions"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3739 fi
3740
3741 if test "$wxUSE_NO_EXCEPTIONS" = 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=
3751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3752 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3753 no_cache=0
3754 # Check whether --enable-permissive or --disable-permissive was given.
3755 if test "${enable_permissive+set}" = set; then
3756 enableval="$enable_permissive"
3757
3758 if test "$enableval" = yes; then
3759 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3760 else
3761 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3762 fi
3763
3764 else
3765
3766 LINE=`grep "wxUSE_PERMISSIVE" ${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_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3774
3775 fi;
3776
3777 eval "$ac_cv_use_permissive"
3778 if test "$no_cache" != 1; then
3779 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3780 fi
3781
3782 if test "$wxUSE_PERMISSIVE" = 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 enablestring=
3792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3793 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3794 no_cache=0
3795 # Check whether --enable-no_deps or --disable-no_deps was given.
3796 if test "${enable_no_deps+set}" = set; then
3797 enableval="$enable_no_deps"
3798
3799 if test "$enableval" = yes; then
3800 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3801 else
3802 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3803 fi
3804
3805 else
3806
3807 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3808 if test "x$LINE" != x ; then
3809 eval "DEFAULT_$LINE"
3810 else
3811 no_cache=1
3812 fi
3813
3814 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3815
3816 fi;
3817
3818 eval "$ac_cv_use_no_deps"
3819 if test "$no_cache" != 1; then
3820 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3821 fi
3822
3823 if test "$wxUSE_NO_DEPS" = yes; then
3824 echo "$as_me:$LINENO: result: yes" >&5
3825 echo "${ECHO_T}yes" >&6
3826 else
3827 echo "$as_me:$LINENO: result: no" >&5
3828 echo "${ECHO_T}no" >&6
3829 fi
3830
3831
3832
3833 enablestring=
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3836 no_cache=0
3837 # Check whether --enable-compat22 or --disable-compat22 was given.
3838 if test "${enable_compat22+set}" = set; then
3839 enableval="$enable_compat22"
3840
3841 if test "$enableval" = yes; then
3842 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3843 else
3844 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3845 fi
3846
3847 else
3848
3849 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x ; then
3851 eval "DEFAULT_$LINE"
3852 else
3853 no_cache=1
3854 fi
3855
3856 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3857
3858 fi;
3859
3860 eval "$ac_cv_use_compat22"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3868 else
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3871 fi
3872
3873
3874 enablestring=disable
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3877 no_cache=0
3878 # Check whether --enable-compat24 or --disable-compat24 was given.
3879 if test "${enable_compat24+set}" = set; then
3880 enableval="$enable_compat24"
3881
3882 if test "$enableval" = yes; then
3883 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3884 else
3885 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3886 fi
3887
3888 else
3889
3890 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x ; then
3892 eval "DEFAULT_$LINE"
3893 else
3894 no_cache=1
3895 fi
3896
3897 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3898
3899 fi;
3900
3901 eval "$ac_cv_use_compat24"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3909 else
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3912 fi
3913
3914
3915 # Check whether --enable-rpath or --disable-rpath was given.
3916 if test "${enable_rpath+set}" = set; then
3917 enableval="$enable_rpath"
3918 wxRPATH_DIR="$enableval"
3919 fi;
3920
3921 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3922 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3923 fi
3924
3925
3926
3927
3928 enablestring=
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3931 no_cache=0
3932 # Check whether --enable-intl or --disable-intl was given.
3933 if test "${enable_intl+set}" = set; then
3934 enableval="$enable_intl"
3935
3936 if test "$enableval" = yes; then
3937 ac_cv_use_intl='wxUSE_INTL=yes'
3938 else
3939 ac_cv_use_intl='wxUSE_INTL=no'
3940 fi
3941
3942 else
3943
3944 LINE=`grep "wxUSE_INTL" ${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_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3952
3953 fi;
3954
3955 eval "$ac_cv_use_intl"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3958 fi
3959
3960 if test "$wxUSE_INTL" = 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}-config" >&5
3971 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3972 no_cache=0
3973 # Check whether --enable-config or --disable-config was given.
3974 if test "${enable_config+set}" = set; then
3975 enableval="$enable_config"
3976
3977 if test "$enableval" = yes; then
3978 ac_cv_use_config='wxUSE_CONFIG=yes'
3979 else
3980 ac_cv_use_config='wxUSE_CONFIG=no'
3981 fi
3982
3983 else
3984
3985 LINE=`grep "wxUSE_CONFIG" ${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_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3993
3994 fi;
3995
3996 eval "$ac_cv_use_config"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3999 fi
4000
4001 if test "$wxUSE_CONFIG" = 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
4011 enablestring=
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4014 no_cache=0
4015 # Check whether --enable-protocols or --disable-protocols was given.
4016 if test "${enable_protocols+set}" = set; then
4017 enableval="$enable_protocols"
4018
4019 if test "$enableval" = yes; then
4020 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4021 else
4022 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4023 fi
4024
4025 else
4026
4027 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4030 else
4031 no_cache=1
4032 fi
4033
4034 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4035
4036 fi;
4037
4038 eval "$ac_cv_use_protocols"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test "$wxUSE_PROTOCOL" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4046 else
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4049 fi
4050
4051
4052 enablestring=
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4055 no_cache=0
4056 # Check whether --enable-ftp or --disable-ftp was given.
4057 if test "${enable_ftp+set}" = set; then
4058 enableval="$enable_ftp"
4059
4060 if test "$enableval" = yes; then
4061 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4062 else
4063 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4064 fi
4065
4066 else
4067
4068 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4071 else
4072 no_cache=1
4073 fi
4074
4075 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4076
4077 fi;
4078
4079 eval "$ac_cv_use_ftp"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4082 fi
4083
4084 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4087 else
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4090 fi
4091
4092
4093 enablestring=
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4096 no_cache=0
4097 # Check whether --enable-http or --disable-http was given.
4098 if test "${enable_http+set}" = set; then
4099 enableval="$enable_http"
4100
4101 if test "$enableval" = yes; then
4102 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4103 else
4104 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4105 fi
4106
4107 else
4108
4109 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x ; then
4111 eval "DEFAULT_$LINE"
4112 else
4113 no_cache=1
4114 fi
4115
4116 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4117
4118 fi;
4119
4120 eval "$ac_cv_use_http"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4123 fi
4124
4125 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4128 else
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4131 fi
4132
4133
4134 enablestring=
4135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4136 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4137 no_cache=0
4138 # Check whether --enable-fileproto or --disable-fileproto was given.
4139 if test "${enable_fileproto+set}" = set; then
4140 enableval="$enable_fileproto"
4141
4142 if test "$enableval" = yes; then
4143 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4144 else
4145 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4146 fi
4147
4148 else
4149
4150 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x ; then
4152 eval "DEFAULT_$LINE"
4153 else
4154 no_cache=1
4155 fi
4156
4157 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4158
4159 fi;
4160
4161 eval "$ac_cv_use_fileproto"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4164 fi
4165
4166 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4167 echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6
4169 else
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4172 fi
4173
4174
4175 enablestring=
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4178 no_cache=0
4179 # Check whether --enable-sockets or --disable-sockets was given.
4180 if test "${enable_sockets+set}" = set; then
4181 enableval="$enable_sockets"
4182
4183 if test "$enableval" = yes; then
4184 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4185 else
4186 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4187 fi
4188
4189 else
4190
4191 LINE=`grep "wxUSE_SOCKETS" ${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_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4199
4200 fi;
4201
4202 eval "$ac_cv_use_sockets"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4205 fi
4206
4207 if test "$wxUSE_SOCKETS" = 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 enablestring=
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4219 no_cache=0
4220 # Check whether --enable-ole or --disable-ole was given.
4221 if test "${enable_ole+set}" = set; then
4222 enableval="$enable_ole"
4223
4224 if test "$enableval" = yes; then
4225 ac_cv_use_ole='wxUSE_OLE=yes'
4226 else
4227 ac_cv_use_ole='wxUSE_OLE=no'
4228 fi
4229
4230 else
4231
4232 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x ; then
4234 eval "DEFAULT_$LINE"
4235 else
4236 no_cache=1
4237 fi
4238
4239 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4240
4241 fi;
4242
4243 eval "$ac_cv_use_ole"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4246 fi
4247
4248 if test "$wxUSE_OLE" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4251 else
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4254 fi
4255
4256
4257 enablestring=
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4260 no_cache=0
4261 # Check whether --enable-dataobj or --disable-dataobj was given.
4262 if test "${enable_dataobj+set}" = set; then
4263 enableval="$enable_dataobj"
4264
4265 if test "$enableval" = yes; then
4266 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4267 else
4268 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4269 fi
4270
4271 else
4272
4273 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x ; then
4275 eval "DEFAULT_$LINE"
4276 else
4277 no_cache=1
4278 fi
4279
4280 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4281
4282 fi;
4283
4284 eval "$ac_cv_use_dataobj"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4287 fi
4288
4289 if test "$wxUSE_DATAOBJ" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4292 else
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4295 fi
4296
4297
4298
4299 enablestring=
4300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4301 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4302 no_cache=0
4303 # Check whether --enable-ipc or --disable-ipc was given.
4304 if test "${enable_ipc+set}" = set; then
4305 enableval="$enable_ipc"
4306
4307 if test "$enableval" = yes; then
4308 ac_cv_use_ipc='wxUSE_IPC=yes'
4309 else
4310 ac_cv_use_ipc='wxUSE_IPC=no'
4311 fi
4312
4313 else
4314
4315 LINE=`grep "wxUSE_IPC" ${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_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4323
4324 fi;
4325
4326 eval "$ac_cv_use_ipc"
4327 if test "$no_cache" != 1; then
4328 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4329 fi
4330
4331 if test "$wxUSE_IPC" = 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
4341 enablestring=
4342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4343 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4344 no_cache=0
4345 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4346 if test "${enable_apple_ieee+set}" = set; then
4347 enableval="$enable_apple_ieee"
4348
4349 if test "$enableval" = yes; then
4350 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4351 else
4352 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4353 fi
4354
4355 else
4356
4357 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x ; then
4359 eval "DEFAULT_$LINE"
4360 else
4361 no_cache=1
4362 fi
4363
4364 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4365
4366 fi;
4367
4368 eval "$ac_cv_use_apple_ieee"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4371 fi
4372
4373 if test "$wxUSE_APPLE_IEEE" = yes; then
4374 echo "$as_me:$LINENO: result: yes" >&5
4375 echo "${ECHO_T}yes" >&6
4376 else
4377 echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6
4379 fi
4380
4381
4382 enablestring=
4383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4384 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4385 no_cache=0
4386 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4387 if test "${enable_catch_segvs+set}" = set; then
4388 enableval="$enable_catch_segvs"
4389
4390 if test "$enableval" = yes; then
4391 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4392 else
4393 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4394 fi
4395
4396 else
4397
4398 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x ; then
4400 eval "DEFAULT_$LINE"
4401 else
4402 no_cache=1
4403 fi
4404
4405 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4406
4407 fi;
4408
4409 eval "$ac_cv_use_catch_segvs"
4410 if test "$no_cache" != 1; then
4411 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4412 fi
4413
4414 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4415 echo "$as_me:$LINENO: result: yes" >&5
4416 echo "${ECHO_T}yes" >&6
4417 else
4418 echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4420 fi
4421
4422
4423 enablestring=
4424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4425 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4426 no_cache=0
4427 # Check whether --enable-cmdline or --disable-cmdline was given.
4428 if test "${enable_cmdline+set}" = set; then
4429 enableval="$enable_cmdline"
4430
4431 if test "$enableval" = yes; then
4432 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4433 else
4434 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4435 fi
4436
4437 else
4438
4439 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4440 if test "x$LINE" != x ; then
4441 eval "DEFAULT_$LINE"
4442 else
4443 no_cache=1
4444 fi
4445
4446 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4447
4448 fi;
4449
4450 eval "$ac_cv_use_cmdline"
4451 if test "$no_cache" != 1; then
4452 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4453 fi
4454
4455 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4456 echo "$as_me:$LINENO: result: yes" >&5
4457 echo "${ECHO_T}yes" >&6
4458 else
4459 echo "$as_me:$LINENO: result: no" >&5
4460 echo "${ECHO_T}no" >&6
4461 fi
4462
4463
4464 enablestring=
4465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4467 no_cache=0
4468 # Check whether --enable-datetime or --disable-datetime was given.
4469 if test "${enable_datetime+set}" = set; then
4470 enableval="$enable_datetime"
4471
4472 if test "$enableval" = yes; then
4473 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4474 else
4475 ac_cv_use_datetime='wxUSE_DATETIME=no'
4476 fi
4477
4478 else
4479
4480 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x ; then
4482 eval "DEFAULT_$LINE"
4483 else
4484 no_cache=1
4485 fi
4486
4487 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4488
4489 fi;
4490
4491 eval "$ac_cv_use_datetime"
4492 if test "$no_cache" != 1; then
4493 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4494 fi
4495
4496 if test "$wxUSE_DATETIME" = yes; then
4497 echo "$as_me:$LINENO: result: yes" >&5
4498 echo "${ECHO_T}yes" >&6
4499 else
4500 echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6
4502 fi
4503
4504
4505 enablestring=
4506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4507 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4508 no_cache=0
4509 # Check whether --enable-dialupman or --disable-dialupman was given.
4510 if test "${enable_dialupman+set}" = set; then
4511 enableval="$enable_dialupman"
4512
4513 if test "$enableval" = yes; then
4514 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4515 else
4516 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4517 fi
4518
4519 else
4520
4521 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x ; then
4523 eval "DEFAULT_$LINE"
4524 else
4525 no_cache=1
4526 fi
4527
4528 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4529
4530 fi;
4531
4532 eval "$ac_cv_use_dialupman"
4533 if test "$no_cache" != 1; then
4534 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4535 fi
4536
4537 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4538 echo "$as_me:$LINENO: result: yes" >&5
4539 echo "${ECHO_T}yes" >&6
4540 else
4541 echo "$as_me:$LINENO: result: no" >&5
4542 echo "${ECHO_T}no" >&6
4543 fi
4544
4545
4546 enablestring=
4547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4548 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4549 no_cache=0
4550 # Check whether --enable-dynlib or --disable-dynlib was given.
4551 if test "${enable_dynlib+set}" = set; then
4552 enableval="$enable_dynlib"
4553
4554 if test "$enableval" = yes; then
4555 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4556 else
4557 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4558 fi
4559
4560 else
4561
4562 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x ; then
4564 eval "DEFAULT_$LINE"
4565 else
4566 no_cache=1
4567 fi
4568
4569 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4570
4571 fi;
4572
4573 eval "$ac_cv_use_dynlib"
4574 if test "$no_cache" != 1; then
4575 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4576 fi
4577
4578 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4579 echo "$as_me:$LINENO: result: yes" >&5
4580 echo "${ECHO_T}yes" >&6
4581 else
4582 echo "$as_me:$LINENO: result: no" >&5
4583 echo "${ECHO_T}no" >&6
4584 fi
4585
4586
4587 enablestring=
4588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4590 no_cache=0
4591 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4592 if test "${enable_dynamicloader+set}" = set; then
4593 enableval="$enable_dynamicloader"
4594
4595 if test "$enableval" = yes; then
4596 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4597 else
4598 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4599 fi
4600
4601 else
4602
4603 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x ; then
4605 eval "DEFAULT_$LINE"
4606 else
4607 no_cache=1
4608 fi
4609
4610 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4611
4612 fi;
4613
4614 eval "$ac_cv_use_dynamicloader"
4615 if test "$no_cache" != 1; then
4616 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4617 fi
4618
4619 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4620 echo "$as_me:$LINENO: result: yes" >&5
4621 echo "${ECHO_T}yes" >&6
4622 else
4623 echo "$as_me:$LINENO: result: no" >&5
4624 echo "${ECHO_T}no" >&6
4625 fi
4626
4627
4628 enablestring=
4629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4631 no_cache=0
4632 # Check whether --enable-exceptions or --disable-exceptions was given.
4633 if test "${enable_exceptions+set}" = set; then
4634 enableval="$enable_exceptions"
4635
4636 if test "$enableval" = yes; then
4637 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4638 else
4639 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4640 fi
4641
4642 else
4643
4644 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x ; then
4646 eval "DEFAULT_$LINE"
4647 else
4648 no_cache=1
4649 fi
4650
4651 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4652
4653 fi;
4654
4655 eval "$ac_cv_use_exceptions"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4658 fi
4659
4660 if test "$wxUSE_EXCEPTIONS" = yes; then
4661 echo "$as_me:$LINENO: result: yes" >&5
4662 echo "${ECHO_T}yes" >&6
4663 else
4664 echo "$as_me:$LINENO: result: no" >&5
4665 echo "${ECHO_T}no" >&6
4666 fi
4667
4668
4669 enablestring=
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4672 no_cache=0
4673 # Check whether --enable-ffile or --disable-ffile was given.
4674 if test "${enable_ffile+set}" = set; then
4675 enableval="$enable_ffile"
4676
4677 if test "$enableval" = yes; then
4678 ac_cv_use_ffile='wxUSE_FFILE=yes'
4679 else
4680 ac_cv_use_ffile='wxUSE_FFILE=no'
4681 fi
4682
4683 else
4684
4685 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x ; then
4687 eval "DEFAULT_$LINE"
4688 else
4689 no_cache=1
4690 fi
4691
4692 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4693
4694 fi;
4695
4696 eval "$ac_cv_use_ffile"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4699 fi
4700
4701 if test "$wxUSE_FFILE" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4704 else
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4707 fi
4708
4709
4710 enablestring=
4711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4713 no_cache=0
4714 # Check whether --enable-file or --disable-file was given.
4715 if test "${enable_file+set}" = set; then
4716 enableval="$enable_file"
4717
4718 if test "$enableval" = yes; then
4719 ac_cv_use_file='wxUSE_FILE=yes'
4720 else
4721 ac_cv_use_file='wxUSE_FILE=no'
4722 fi
4723
4724 else
4725
4726 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4727 if test "x$LINE" != x ; then
4728 eval "DEFAULT_$LINE"
4729 else
4730 no_cache=1
4731 fi
4732
4733 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4734
4735 fi;
4736
4737 eval "$ac_cv_use_file"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4740 fi
4741
4742 if test "$wxUSE_FILE" = yes; then
4743 echo "$as_me:$LINENO: result: yes" >&5
4744 echo "${ECHO_T}yes" >&6
4745 else
4746 echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6
4748 fi
4749
4750
4751 enablestring=
4752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4754 no_cache=0
4755 # Check whether --enable-filesystem or --disable-filesystem was given.
4756 if test "${enable_filesystem+set}" = set; then
4757 enableval="$enable_filesystem"
4758
4759 if test "$enableval" = yes; then
4760 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4761 else
4762 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4763 fi
4764
4765 else
4766
4767 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x ; then
4769 eval "DEFAULT_$LINE"
4770 else
4771 no_cache=1
4772 fi
4773
4774 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4775
4776 fi;
4777
4778 eval "$ac_cv_use_filesystem"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4781 fi
4782
4783 if test "$wxUSE_FILESYSTEM" = yes; then
4784 echo "$as_me:$LINENO: result: yes" >&5
4785 echo "${ECHO_T}yes" >&6
4786 else
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4789 fi
4790
4791
4792 enablestring=
4793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4795 no_cache=0
4796 # Check whether --enable-fontmap or --disable-fontmap was given.
4797 if test "${enable_fontmap+set}" = set; then
4798 enableval="$enable_fontmap"
4799
4800 if test "$enableval" = yes; then
4801 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4802 else
4803 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4804 fi
4805
4806 else
4807
4808 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x ; then
4810 eval "DEFAULT_$LINE"
4811 else
4812 no_cache=1
4813 fi
4814
4815 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4816
4817 fi;
4818
4819 eval "$ac_cv_use_fontmap"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4822 fi
4823
4824 if test "$wxUSE_FONTMAP" = yes; then
4825 echo "$as_me:$LINENO: result: yes" >&5
4826 echo "${ECHO_T}yes" >&6
4827 else
4828 echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6
4830 fi
4831
4832
4833 enablestring=
4834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4836 no_cache=0
4837 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4838 if test "${enable_fs_inet+set}" = set; then
4839 enableval="$enable_fs_inet"
4840
4841 if test "$enableval" = yes; then
4842 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4843 else
4844 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4845 fi
4846
4847 else
4848
4849 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x ; then
4851 eval "DEFAULT_$LINE"
4852 else
4853 no_cache=1
4854 fi
4855
4856 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4857
4858 fi;
4859
4860 eval "$ac_cv_use_fs_inet"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4863 fi
4864
4865 if test "$wxUSE_FS_INET" = yes; then
4866 echo "$as_me:$LINENO: result: yes" >&5
4867 echo "${ECHO_T}yes" >&6
4868 else
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4871 fi
4872
4873
4874 enablestring=
4875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4877 no_cache=0
4878 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4879 if test "${enable_fs_zip+set}" = set; then
4880 enableval="$enable_fs_zip"
4881
4882 if test "$enableval" = yes; then
4883 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4884 else
4885 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4886 fi
4887
4888 else
4889
4890 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x ; then
4892 eval "DEFAULT_$LINE"
4893 else
4894 no_cache=1
4895 fi
4896
4897 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4898
4899 fi;
4900
4901 eval "$ac_cv_use_fs_zip"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4904 fi
4905
4906 if test "$wxUSE_FS_ZIP" = yes; then
4907 echo "$as_me:$LINENO: result: yes" >&5
4908 echo "${ECHO_T}yes" >&6
4909 else
4910 echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6
4912 fi
4913
4914
4915 enablestring=
4916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4918 no_cache=0
4919 # Check whether --enable-geometry or --disable-geometry was given.
4920 if test "${enable_geometry+set}" = set; then
4921 enableval="$enable_geometry"
4922
4923 if test "$enableval" = yes; then
4924 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4925 else
4926 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4927 fi
4928
4929 else
4930
4931 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x ; then
4933 eval "DEFAULT_$LINE"
4934 else
4935 no_cache=1
4936 fi
4937
4938 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4939
4940 fi;
4941
4942 eval "$ac_cv_use_geometry"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4945 fi
4946
4947 if test "$wxUSE_GEOMETRY" = yes; then
4948 echo "$as_me:$LINENO: result: yes" >&5
4949 echo "${ECHO_T}yes" >&6
4950 else
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4953 fi
4954
4955
4956 enablestring=
4957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4959 no_cache=0
4960 # Check whether --enable-log or --disable-log was given.
4961 if test "${enable_log+set}" = set; then
4962 enableval="$enable_log"
4963
4964 if test "$enableval" = yes; then
4965 ac_cv_use_log='wxUSE_LOG=yes'
4966 else
4967 ac_cv_use_log='wxUSE_LOG=no'
4968 fi
4969
4970 else
4971
4972 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x ; then
4974 eval "DEFAULT_$LINE"
4975 else
4976 no_cache=1
4977 fi
4978
4979 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4980
4981 fi;
4982
4983 eval "$ac_cv_use_log"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4986 fi
4987
4988 if test "$wxUSE_LOG" = yes; then
4989 echo "$as_me:$LINENO: result: yes" >&5
4990 echo "${ECHO_T}yes" >&6
4991 else
4992 echo "$as_me:$LINENO: result: no" >&5
4993 echo "${ECHO_T}no" >&6
4994 fi
4995
4996
4997 enablestring=
4998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4999 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5000 no_cache=0
5001 # Check whether --enable-longlong or --disable-longlong was given.
5002 if test "${enable_longlong+set}" = set; then
5003 enableval="$enable_longlong"
5004
5005 if test "$enableval" = yes; then
5006 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5007 else
5008 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5009 fi
5010
5011 else
5012
5013 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x ; then
5015 eval "DEFAULT_$LINE"
5016 else
5017 no_cache=1
5018 fi
5019
5020 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5021
5022 fi;
5023
5024 eval "$ac_cv_use_longlong"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5027 fi
5028
5029 if test "$wxUSE_LONGLONG" = yes; then
5030 echo "$as_me:$LINENO: result: yes" >&5
5031 echo "${ECHO_T}yes" >&6
5032 else
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5035 fi
5036
5037
5038 enablestring=
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5041 no_cache=0
5042 # Check whether --enable-mimetype or --disable-mimetype was given.
5043 if test "${enable_mimetype+set}" = set; then
5044 enableval="$enable_mimetype"
5045
5046 if test "$enableval" = yes; then
5047 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5048 else
5049 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5050 fi
5051
5052 else
5053
5054 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x ; then
5056 eval "DEFAULT_$LINE"
5057 else
5058 no_cache=1
5059 fi
5060
5061 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5062
5063 fi;
5064
5065 eval "$ac_cv_use_mimetype"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5068 fi
5069
5070 if test "$wxUSE_MIMETYPE" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5073 else
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5076 fi
5077
5078
5079 enablestring=
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5082 no_cache=0
5083 # Check whether --enable-mslu or --disable-mslu was given.
5084 if test "${enable_mslu+set}" = set; then
5085 enableval="$enable_mslu"
5086
5087 if test "$enableval" = yes; then
5088 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5089 else
5090 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5091 fi
5092
5093 else
5094
5095 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5098 else
5099 no_cache=1
5100 fi
5101
5102 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5103
5104 fi;
5105
5106 eval "$ac_cv_use_mslu"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5109 fi
5110
5111 if test "$wxUSE_UNICODE_MSLU" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5114 else
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5117 fi
5118
5119
5120 enablestring=
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5123 no_cache=0
5124 # Check whether --enable-snglinst or --disable-snglinst was given.
5125 if test "${enable_snglinst+set}" = set; then
5126 enableval="$enable_snglinst"
5127
5128 if test "$enableval" = yes; then
5129 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5130 else
5131 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5132 fi
5133
5134 else
5135
5136 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5139 else
5140 no_cache=1
5141 fi
5142
5143 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5144
5145 fi;
5146
5147 eval "$ac_cv_use_snglinst"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5150 fi
5151
5152 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5155 else
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5158 fi
5159
5160
5161 enablestring=
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5164 no_cache=0
5165 # Check whether --enable-streams or --disable-streams was given.
5166 if test "${enable_streams+set}" = set; then
5167 enableval="$enable_streams"
5168
5169 if test "$enableval" = yes; then
5170 ac_cv_use_streams='wxUSE_STREAMS=yes'
5171 else
5172 ac_cv_use_streams='wxUSE_STREAMS=no'
5173 fi
5174
5175 else
5176
5177 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5180 else
5181 no_cache=1
5182 fi
5183
5184 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5185
5186 fi;
5187
5188 eval "$ac_cv_use_streams"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5191 fi
5192
5193 if test "$wxUSE_STREAMS" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5196 else
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5199 fi
5200
5201
5202 enablestring=
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5205 no_cache=0
5206 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5207 if test "${enable_std_iostreams+set}" = set; then
5208 enableval="$enable_std_iostreams"
5209
5210 if test "$enableval" = yes; then
5211 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5212 else
5213 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5214 fi
5215
5216 else
5217
5218 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5221 else
5222 no_cache=1
5223 fi
5224
5225 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5226
5227 fi;
5228
5229 eval "$ac_cv_use_std_iostreams"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5232 fi
5233
5234 if test "$wxUSE_STD_IOSTREAM" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5237 else
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5240 fi
5241
5242
5243 enablestring=
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5246 no_cache=0
5247 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5248 if test "${enable_stopwatch+set}" = set; then
5249 enableval="$enable_stopwatch"
5250
5251 if test "$enableval" = yes; then
5252 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5253 else
5254 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5255 fi
5256
5257 else
5258
5259 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5262 else
5263 no_cache=1
5264 fi
5265
5266 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5267
5268 fi;
5269
5270 eval "$ac_cv_use_stopwatch"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5273 fi
5274
5275 if test "$wxUSE_STOPWATCH" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5278 else
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5281 fi
5282
5283
5284 enablestring=
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5287 no_cache=0
5288 # Check whether --enable-system_options or --disable-system_options was given.
5289 if test "${enable_system_options+set}" = set; then
5290 enableval="$enable_system_options"
5291
5292 if test "$enableval" = yes; then
5293 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5294 else
5295 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5296 fi
5297
5298 else
5299
5300 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x ; then
5302 eval "DEFAULT_$LINE"
5303 else
5304 no_cache=1
5305 fi
5306
5307 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5308
5309 fi;
5310
5311 eval "$ac_cv_use_system_options"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5314 fi
5315
5316 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5319 else
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5322 fi
5323
5324
5325 enablestring=
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5328 no_cache=0
5329 # Check whether --enable-textbuf or --disable-textbuf was given.
5330 if test "${enable_textbuf+set}" = set; then
5331 enableval="$enable_textbuf"
5332
5333 if test "$enableval" = yes; then
5334 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5335 else
5336 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5337 fi
5338
5339 else
5340
5341 LINE=`grep "wxUSE_TEXTBUFFER" ${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_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5349
5350 fi;
5351
5352 eval "$ac_cv_use_textbuf"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5355 fi
5356
5357 if test "$wxUSE_TEXTBUFFER" = 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}-textfile" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5369 no_cache=0
5370 # Check whether --enable-textfile or --disable-textfile was given.
5371 if test "${enable_textfile+set}" = set; then
5372 enableval="$enable_textfile"
5373
5374 if test "$enableval" = yes; then
5375 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5376 else
5377 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5378 fi
5379
5380 else
5381
5382 LINE=`grep "wxUSE_TEXTFILE" ${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_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5390
5391 fi;
5392
5393 eval "$ac_cv_use_textfile"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5396 fi
5397
5398 if test "$wxUSE_TEXTFILE" = 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 enablestring=
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5410 no_cache=0
5411 # Check whether --enable-timer or --disable-timer was given.
5412 if test "${enable_timer+set}" = set; then
5413 enableval="$enable_timer"
5414
5415 if test "$enableval" = yes; then
5416 ac_cv_use_timer='wxUSE_TIMER=yes'
5417 else
5418 ac_cv_use_timer='wxUSE_TIMER=no'
5419 fi
5420
5421 else
5422
5423 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5426 else
5427 no_cache=1
5428 fi
5429
5430 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5431
5432 fi;
5433
5434 eval "$ac_cv_use_timer"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5437 fi
5438
5439 if test "$wxUSE_TIMER" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5442 else
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5445 fi
5446
5447
5448 enablestring=
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5451 no_cache=0
5452 # Check whether --enable-unicode or --disable-unicode was given.
5453 if test "${enable_unicode+set}" = set; then
5454 enableval="$enable_unicode"
5455
5456 if test "$enableval" = yes; then
5457 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5458 else
5459 ac_cv_use_unicode='wxUSE_UNICODE=no'
5460 fi
5461
5462 else
5463
5464 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5467 else
5468 no_cache=1
5469 fi
5470
5471 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5472
5473 fi;
5474
5475 eval "$ac_cv_use_unicode"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5478 fi
5479
5480 if test "$wxUSE_UNICODE" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5483 else
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5486 fi
5487
5488
5489 enablestring=
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5492 no_cache=0
5493 # Check whether --enable-wave or --disable-wave was given.
5494 if test "${enable_wave+set}" = set; then
5495 enableval="$enable_wave"
5496
5497 if test "$enableval" = yes; then
5498 ac_cv_use_wave='wxUSE_WAVE=yes'
5499 else
5500 ac_cv_use_wave='wxUSE_WAVE=no'
5501 fi
5502
5503 else
5504
5505 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5508 else
5509 no_cache=1
5510 fi
5511
5512 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
5513
5514 fi;
5515
5516 eval "$ac_cv_use_wave"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5519 fi
5520
5521 if test "$wxUSE_WAVE" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5524 else
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5527 fi
5528
5529
5530 enablestring=
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5533 no_cache=0
5534 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5535 if test "${enable_wxprintfv+set}" = set; then
5536 enableval="$enable_wxprintfv"
5537
5538 if test "$enableval" = yes; then
5539 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5540 else
5541 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5542 fi
5543
5544 else
5545
5546 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5549 else
5550 no_cache=1
5551 fi
5552
5553 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5554
5555 fi;
5556
5557 eval "$ac_cv_use_wxprintfv"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5560 fi
5561
5562 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5565 else
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5568 fi
5569
5570
5571 enablestring=
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5574 no_cache=0
5575 # Check whether --enable-zipstream or --disable-zipstream was given.
5576 if test "${enable_zipstream+set}" = set; then
5577 enableval="$enable_zipstream"
5578
5579 if test "$enableval" = yes; then
5580 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5581 else
5582 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5583 fi
5584
5585 else
5586
5587 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5590 else
5591 no_cache=1
5592 fi
5593
5594 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5595
5596 fi;
5597
5598 eval "$ac_cv_use_zipstream"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5601 fi
5602
5603 if test "$wxUSE_ZIPSTREAM" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5606 else
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5609 fi
5610
5611
5612 enablestring=
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5615 no_cache=0
5616 # Check whether --enable-gzstream or --disable-gzstream was given.
5617 if test "${enable_gzstream+set}" = set; then
5618 enableval="$enable_gzstream"
5619
5620 if test "$enableval" = yes; then
5621 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5622 else
5623 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5624 fi
5625
5626 else
5627
5628 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5631 else
5632 no_cache=1
5633 fi
5634
5635 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5636
5637 fi;
5638
5639 eval "$ac_cv_use_gzstream"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5642 fi
5643
5644 if test "$wxUSE_GZSTREAM" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5647 else
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5650 fi
5651
5652
5653
5654 enablestring=
5655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5656 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5657 no_cache=0
5658 # Check whether --enable-url or --disable-url was given.
5659 if test "${enable_url+set}" = set; then
5660 enableval="$enable_url"
5661
5662 if test "$enableval" = yes; then
5663 ac_cv_use_url='wxUSE_URL=yes'
5664 else
5665 ac_cv_use_url='wxUSE_URL=no'
5666 fi
5667
5668 else
5669
5670 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5671 if test "x$LINE" != x ; then
5672 eval "DEFAULT_$LINE"
5673 else
5674 no_cache=1
5675 fi
5676
5677 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5678
5679 fi;
5680
5681 eval "$ac_cv_use_url"
5682 if test "$no_cache" != 1; then
5683 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5684 fi
5685
5686 if test "$wxUSE_URL" = yes; then
5687 echo "$as_me:$LINENO: result: yes" >&5
5688 echo "${ECHO_T}yes" >&6
5689 else
5690 echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6
5692 fi
5693
5694
5695 enablestring=
5696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5697 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5698 no_cache=0
5699 # Check whether --enable-protocol or --disable-protocol was given.
5700 if test "${enable_protocol+set}" = set; then
5701 enableval="$enable_protocol"
5702
5703 if test "$enableval" = yes; then
5704 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5705 else
5706 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5707 fi
5708
5709 else
5710
5711 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5712 if test "x$LINE" != x ; then
5713 eval "DEFAULT_$LINE"
5714 else
5715 no_cache=1
5716 fi
5717
5718 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5719
5720 fi;
5721
5722 eval "$ac_cv_use_protocol"
5723 if test "$no_cache" != 1; then
5724 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5725 fi
5726
5727 if test "$wxUSE_PROTOCOL" = yes; then
5728 echo "$as_me:$LINENO: result: yes" >&5
5729 echo "${ECHO_T}yes" >&6
5730 else
5731 echo "$as_me:$LINENO: result: no" >&5
5732 echo "${ECHO_T}no" >&6
5733 fi
5734
5735
5736 enablestring=
5737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5738 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5739 no_cache=0
5740 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5741 if test "${enable_protocol_http+set}" = set; then
5742 enableval="$enable_protocol_http"
5743
5744 if test "$enableval" = yes; then
5745 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5746 else
5747 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5748 fi
5749
5750 else
5751
5752 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5753 if test "x$LINE" != x ; then
5754 eval "DEFAULT_$LINE"
5755 else
5756 no_cache=1
5757 fi
5758
5759 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5760
5761 fi;
5762
5763 eval "$ac_cv_use_protocol_http"
5764 if test "$no_cache" != 1; then
5765 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5766 fi
5767
5768 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5769 echo "$as_me:$LINENO: result: yes" >&5
5770 echo "${ECHO_T}yes" >&6
5771 else
5772 echo "$as_me:$LINENO: result: no" >&5
5773 echo "${ECHO_T}no" >&6
5774 fi
5775
5776
5777 enablestring=
5778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5779 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5780 no_cache=0
5781 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5782 if test "${enable_protocol_ftp+set}" = set; then
5783 enableval="$enable_protocol_ftp"
5784
5785 if test "$enableval" = yes; then
5786 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5787 else
5788 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5789 fi
5790
5791 else
5792
5793 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5794 if test "x$LINE" != x ; then
5795 eval "DEFAULT_$LINE"
5796 else
5797 no_cache=1
5798 fi
5799
5800 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5801
5802 fi;
5803
5804 eval "$ac_cv_use_protocol_ftp"
5805 if test "$no_cache" != 1; then
5806 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5807 fi
5808
5809 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5810 echo "$as_me:$LINENO: result: yes" >&5
5811 echo "${ECHO_T}yes" >&6
5812 else
5813 echo "$as_me:$LINENO: result: no" >&5
5814 echo "${ECHO_T}no" >&6
5815 fi
5816
5817
5818 enablestring=
5819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5820 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5821 no_cache=0
5822 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5823 if test "${enable_protocol_file+set}" = set; then
5824 enableval="$enable_protocol_file"
5825
5826 if test "$enableval" = yes; then
5827 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5828 else
5829 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5830 fi
5831
5832 else
5833
5834 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5835 if test "x$LINE" != x ; then
5836 eval "DEFAULT_$LINE"
5837 else
5838 no_cache=1
5839 fi
5840
5841 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5842
5843 fi;
5844
5845 eval "$ac_cv_use_protocol_file"
5846 if test "$no_cache" != 1; then
5847 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5848 fi
5849
5850 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5851 echo "$as_me:$LINENO: result: yes" >&5
5852 echo "${ECHO_T}yes" >&6
5853 else
5854 echo "$as_me:$LINENO: result: no" >&5
5855 echo "${ECHO_T}no" >&6
5856 fi
5857
5858
5859
5860
5861
5862 enablestring=
5863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5864 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5865 no_cache=0
5866 # Check whether --enable-threads or --disable-threads was given.
5867 if test "${enable_threads+set}" = set; then
5868 enableval="$enable_threads"
5869
5870 if test "$enableval" = yes; then
5871 ac_cv_use_threads='wxUSE_THREADS=yes'
5872 else
5873 ac_cv_use_threads='wxUSE_THREADS=no'
5874 fi
5875
5876 else
5877
5878 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5879 if test "x$LINE" != x ; then
5880 eval "DEFAULT_$LINE"
5881 else
5882 no_cache=1
5883 fi
5884
5885 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5886
5887 fi;
5888
5889 eval "$ac_cv_use_threads"
5890 if test "$no_cache" != 1; then
5891 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5892 fi
5893
5894 if test "$wxUSE_THREADS" = yes; then
5895 echo "$as_me:$LINENO: result: yes" >&5
5896 echo "${ECHO_T}yes" >&6
5897 else
5898 echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6
5900 fi
5901
5902
5903 if test "$wxUSE_GUI" = "yes"; then
5904
5905
5906
5907 enablestring=
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5910 no_cache=0
5911 # Check whether --enable-docview or --disable-docview was given.
5912 if test "${enable_docview+set}" = set; then
5913 enableval="$enable_docview"
5914
5915 if test "$enableval" = yes; then
5916 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5917 else
5918 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5919 fi
5920
5921 else
5922
5923 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x ; then
5925 eval "DEFAULT_$LINE"
5926 else
5927 no_cache=1
5928 fi
5929
5930 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5931
5932 fi;
5933
5934 eval "$ac_cv_use_docview"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5937 fi
5938
5939 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5942 else
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5945 fi
5946
5947
5948 enablestring=
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5951 no_cache=0
5952 # Check whether --enable-help or --disable-help was given.
5953 if test "${enable_help+set}" = set; then
5954 enableval="$enable_help"
5955
5956 if test "$enableval" = yes; then
5957 ac_cv_use_help='wxUSE_HELP=yes'
5958 else
5959 ac_cv_use_help='wxUSE_HELP=no'
5960 fi
5961
5962 else
5963
5964 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x ; then
5966 eval "DEFAULT_$LINE"
5967 else
5968 no_cache=1
5969 fi
5970
5971 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5972
5973 fi;
5974
5975 eval "$ac_cv_use_help"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5978 fi
5979
5980 if test "$wxUSE_HELP" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5983 else
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5986 fi
5987
5988
5989 enablestring=
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5992 no_cache=0
5993 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5994 if test "${enable_mshtmlhelp+set}" = set; then
5995 enableval="$enable_mshtmlhelp"
5996
5997 if test "$enableval" = yes; then
5998 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5999 else
6000 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6001 fi
6002
6003 else
6004
6005 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6008 else
6009 no_cache=1
6010 fi
6011
6012 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6013
6014 fi;
6015
6016 eval "$ac_cv_use_mshtmlhelp"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6019 fi
6020
6021 if test "$wxUSE_MS_HTML_HELP" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6024 else
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6027 fi
6028
6029
6030 enablestring=
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6033 no_cache=0
6034 # Check whether --enable-html or --disable-html was given.
6035 if test "${enable_html+set}" = set; then
6036 enableval="$enable_html"
6037
6038 if test "$enableval" = yes; then
6039 ac_cv_use_html='wxUSE_HTML=yes'
6040 else
6041 ac_cv_use_html='wxUSE_HTML=no'
6042 fi
6043
6044 else
6045
6046 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x ; then
6048 eval "DEFAULT_$LINE"
6049 else
6050 no_cache=1
6051 fi
6052
6053 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6054
6055 fi;
6056
6057 eval "$ac_cv_use_html"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6060 fi
6061
6062 if test "$wxUSE_HTML" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6065 else
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6068 fi
6069
6070
6071 enablestring=
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6074 no_cache=0
6075 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6076 if test "${enable_htmlhelp+set}" = set; then
6077 enableval="$enable_htmlhelp"
6078
6079 if test "$enableval" = yes; then
6080 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6081 else
6082 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6083 fi
6084
6085 else
6086
6087 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x ; then
6089 eval "DEFAULT_$LINE"
6090 else
6091 no_cache=1
6092 fi
6093
6094 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6095
6096 fi;
6097
6098 eval "$ac_cv_use_htmlhelp"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6101 fi
6102
6103 if test "$wxUSE_WXHTML_HELP" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6106 else
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6109 fi
6110
6111
6112 enablestring=
6113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6115 no_cache=0
6116 # Check whether --enable-constraints or --disable-constraints was given.
6117 if test "${enable_constraints+set}" = set; then
6118 enableval="$enable_constraints"
6119
6120 if test "$enableval" = yes; then
6121 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6122 else
6123 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6124 fi
6125
6126 else
6127
6128 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x ; then
6130 eval "DEFAULT_$LINE"
6131 else
6132 no_cache=1
6133 fi
6134
6135 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6136
6137 fi;
6138
6139 eval "$ac_cv_use_constraints"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6142 fi
6143
6144 if test "$wxUSE_CONSTRAINTS" = yes; then
6145 echo "$as_me:$LINENO: result: yes" >&5
6146 echo "${ECHO_T}yes" >&6
6147 else
6148 echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6
6150 fi
6151
6152
6153 enablestring=
6154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6156 no_cache=0
6157 # Check whether --enable-printarch or --disable-printarch was given.
6158 if test "${enable_printarch+set}" = set; then
6159 enableval="$enable_printarch"
6160
6161 if test "$enableval" = yes; then
6162 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6163 else
6164 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6165 fi
6166
6167 else
6168
6169 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6170 if test "x$LINE" != x ; then
6171 eval "DEFAULT_$LINE"
6172 else
6173 no_cache=1
6174 fi
6175
6176 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6177
6178 fi;
6179
6180 eval "$ac_cv_use_printarch"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6183 fi
6184
6185 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6186 echo "$as_me:$LINENO: result: yes" >&5
6187 echo "${ECHO_T}yes" >&6
6188 else
6189 echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6
6191 fi
6192
6193
6194 enablestring=
6195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6196 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6197 no_cache=0
6198 # Check whether --enable-mdi or --disable-mdi was given.
6199 if test "${enable_mdi+set}" = set; then
6200 enableval="$enable_mdi"
6201
6202 if test "$enableval" = yes; then
6203 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6204 else
6205 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6206 fi
6207
6208 else
6209
6210 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6211 if test "x$LINE" != x ; then
6212 eval "DEFAULT_$LINE"
6213 else
6214 no_cache=1
6215 fi
6216
6217 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6218
6219 fi;
6220
6221 eval "$ac_cv_use_mdi"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6224 fi
6225
6226 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6227 echo "$as_me:$LINENO: result: yes" >&5
6228 echo "${ECHO_T}yes" >&6
6229 else
6230 echo "$as_me:$LINENO: result: no" >&5
6231 echo "${ECHO_T}no" >&6
6232 fi
6233
6234
6235 enablestring=
6236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6238 no_cache=0
6239 # Check whether --enable-loggui or --disable-loggui was given.
6240 if test "${enable_loggui+set}" = set; then
6241 enableval="$enable_loggui"
6242
6243 if test "$enableval" = yes; then
6244 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6245 else
6246 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6247 fi
6248
6249 else
6250
6251 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6252 if test "x$LINE" != x ; then
6253 eval "DEFAULT_$LINE"
6254 else
6255 no_cache=1
6256 fi
6257
6258 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6259
6260 fi;
6261
6262 eval "$ac_cv_use_loggui"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6265 fi
6266
6267 if test "$wxUSE_LOGGUI" = yes; then
6268 echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6
6270 else
6271 echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6273 fi
6274
6275
6276 enablestring=
6277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6279 no_cache=0
6280 # Check whether --enable-logwin or --disable-logwin was given.
6281 if test "${enable_logwin+set}" = set; then
6282 enableval="$enable_logwin"
6283
6284 if test "$enableval" = yes; then
6285 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6286 else
6287 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6288 fi
6289
6290 else
6291
6292 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x ; then
6294 eval "DEFAULT_$LINE"
6295 else
6296 no_cache=1
6297 fi
6298
6299 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6300
6301 fi;
6302
6303 eval "$ac_cv_use_logwin"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6306 fi
6307
6308 if test "$wxUSE_LOGWINDOW" = yes; then
6309 echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6
6311 else
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6314 fi
6315
6316
6317 enablestring=
6318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6320 no_cache=0
6321 # Check whether --enable-logdialog or --disable-logdialog was given.
6322 if test "${enable_logdialog+set}" = set; then
6323 enableval="$enable_logdialog"
6324
6325 if test "$enableval" = yes; then
6326 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6327 else
6328 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6329 fi
6330
6331 else
6332
6333 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x ; then
6335 eval "DEFAULT_$LINE"
6336 else
6337 no_cache=1
6338 fi
6339
6340 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6341
6342 fi;
6343
6344 eval "$ac_cv_use_logdialog"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6347 fi
6348
6349 if test "$wxUSE_LOGDIALOG" = yes; then
6350 echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6
6352 else
6353 echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6
6355 fi
6356
6357
6358
6359 enablestring=
6360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6361 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6362 no_cache=0
6363 # Check whether --enable-postscript or --disable-postscript was given.
6364 if test "${enable_postscript+set}" = set; then
6365 enableval="$enable_postscript"
6366
6367 if test "$enableval" = yes; then
6368 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6369 else
6370 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6371 fi
6372
6373 else
6374
6375 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6376 if test "x$LINE" != x ; then
6377 eval "DEFAULT_$LINE"
6378 else
6379 no_cache=1
6380 fi
6381
6382 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6383
6384 fi;
6385
6386 eval "$ac_cv_use_postscript"
6387 if test "$no_cache" != 1; then
6388 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6389 fi
6390
6391 if test "$wxUSE_POSTSCRIPT" = yes; then
6392 echo "$as_me:$LINENO: result: yes" >&5
6393 echo "${ECHO_T}yes" >&6
6394 else
6395 echo "$as_me:$LINENO: result: no" >&5
6396 echo "${ECHO_T}no" >&6
6397 fi
6398
6399
6400
6401
6402
6403 enablestring=
6404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6405 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6406 no_cache=0
6407 # Check whether --enable-prologio or --disable-prologio was given.
6408 if test "${enable_prologio+set}" = set; then
6409 enableval="$enable_prologio"
6410
6411 if test "$enableval" = yes; then
6412 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6413 else
6414 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6415 fi
6416
6417 else
6418
6419 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6420 if test "x$LINE" != x ; then
6421 eval "DEFAULT_$LINE"
6422 else
6423 no_cache=1
6424 fi
6425
6426 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6427
6428 fi;
6429
6430 eval "$ac_cv_use_prologio"
6431 if test "$no_cache" != 1; then
6432 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6433 fi
6434
6435 if test "$wxUSE_PROLOGIO" = yes; then
6436 echo "$as_me:$LINENO: result: yes" >&5
6437 echo "${ECHO_T}yes" >&6
6438 else
6439 echo "$as_me:$LINENO: result: no" >&5
6440 echo "${ECHO_T}no" >&6
6441 fi
6442
6443
6444 enablestring=
6445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6447 no_cache=0
6448 # Check whether --enable-resources or --disable-resources was given.
6449 if test "${enable_resources+set}" = set; then
6450 enableval="$enable_resources"
6451
6452 if test "$enableval" = yes; then
6453 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6454 else
6455 ac_cv_use_resources='wxUSE_RESOURCES=no'
6456 fi
6457
6458 else
6459
6460 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6461 if test "x$LINE" != x ; then
6462 eval "DEFAULT_$LINE"
6463 else
6464 no_cache=1
6465 fi
6466
6467 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6468
6469 fi;
6470
6471 eval "$ac_cv_use_resources"
6472 if test "$no_cache" != 1; then
6473 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6474 fi
6475
6476 if test "$wxUSE_RESOURCES" = yes; then
6477 echo "$as_me:$LINENO: result: yes" >&5
6478 echo "${ECHO_T}yes" >&6
6479 else
6480 echo "$as_me:$LINENO: result: no" >&5
6481 echo "${ECHO_T}no" >&6
6482 fi
6483
6484
6485
6486
6487 enablestring=
6488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6489 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6490 no_cache=0
6491 # Check whether --enable-clipboard or --disable-clipboard was given.
6492 if test "${enable_clipboard+set}" = set; then
6493 enableval="$enable_clipboard"
6494
6495 if test "$enableval" = yes; then
6496 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6497 else
6498 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6499 fi
6500
6501 else
6502
6503 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6504 if test "x$LINE" != x ; then
6505 eval "DEFAULT_$LINE"
6506 else
6507 no_cache=1
6508 fi
6509
6510 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6511
6512 fi;
6513
6514 eval "$ac_cv_use_clipboard"
6515 if test "$no_cache" != 1; then
6516 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6517 fi
6518
6519 if test "$wxUSE_CLIPBOARD" = yes; then
6520 echo "$as_me:$LINENO: result: yes" >&5
6521 echo "${ECHO_T}yes" >&6
6522 else
6523 echo "$as_me:$LINENO: result: no" >&5
6524 echo "${ECHO_T}no" >&6
6525 fi
6526
6527
6528 enablestring=
6529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6530 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6531 no_cache=0
6532 # Check whether --enable-dnd or --disable-dnd was given.
6533 if test "${enable_dnd+set}" = set; then
6534 enableval="$enable_dnd"
6535
6536 if test "$enableval" = yes; then
6537 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6538 else
6539 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6540 fi
6541
6542 else
6543
6544 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6545 if test "x$LINE" != x ; then
6546 eval "DEFAULT_$LINE"
6547 else
6548 no_cache=1
6549 fi
6550
6551 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6552
6553 fi;
6554
6555 eval "$ac_cv_use_dnd"
6556 if test "$no_cache" != 1; then
6557 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6558 fi
6559
6560 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6561 echo "$as_me:$LINENO: result: yes" >&5
6562 echo "${ECHO_T}yes" >&6
6563 else
6564 echo "$as_me:$LINENO: result: no" >&5
6565 echo "${ECHO_T}no" >&6
6566 fi
6567
6568
6569 enablestring=
6570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6571 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6572 no_cache=0
6573 # Check whether --enable-metafile or --disable-metafile was given.
6574 if test "${enable_metafile+set}" = set; then
6575 enableval="$enable_metafile"
6576
6577 if test "$enableval" = yes; then
6578 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6579 else
6580 ac_cv_use_metafile='wxUSE_METAFILE=no'
6581 fi
6582
6583 else
6584
6585 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6586 if test "x$LINE" != x ; then
6587 eval "DEFAULT_$LINE"
6588 else
6589 no_cache=1
6590 fi
6591
6592 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6593
6594 fi;
6595
6596 eval "$ac_cv_use_metafile"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6599 fi
6600
6601 if test "$wxUSE_METAFILE" = yes; then
6602 echo "$as_me:$LINENO: result: yes" >&5
6603 echo "${ECHO_T}yes" >&6
6604 else
6605 echo "$as_me:$LINENO: result: no" >&5
6606 echo "${ECHO_T}no" >&6
6607 fi
6608
6609
6610
6611
6612
6613 enablestring=
6614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6615 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6616 no_cache=0
6617 # Check whether --enable-controls or --disable-controls was given.
6618 if test "${enable_controls+set}" = set; then
6619 enableval="$enable_controls"
6620
6621 if test "$enableval" = yes; then
6622 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6623 else
6624 ac_cv_use_controls='wxUSE_CONTROLS=no'
6625 fi
6626
6627 else
6628
6629 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6630 if test "x$LINE" != x ; then
6631 eval "DEFAULT_$LINE"
6632 else
6633 no_cache=1
6634 fi
6635
6636 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6637
6638 fi;
6639
6640 eval "$ac_cv_use_controls"
6641 if test "$no_cache" != 1; then
6642 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6643 fi
6644
6645 if test "$wxUSE_CONTROLS" = yes; then
6646 echo "$as_me:$LINENO: result: yes" >&5
6647 echo "${ECHO_T}yes" >&6
6648 else
6649 echo "$as_me:$LINENO: result: no" >&5
6650 echo "${ECHO_T}no" >&6
6651 fi
6652
6653
6654 if test "$wxUSE_CONTROLS" = "yes"; then
6655 DEFAULT_wxUSE_ACCEL=yes
6656 DEFAULT_wxUSE_BMPBUTTON=yes
6657 DEFAULT_wxUSE_BUTTON=yes
6658 DEFAULT_wxUSE_CALCTRL=no
6659 DEFAULT_wxUSE_CARET=yes
6660 DEFAULT_wxUSE_COMBOBOX=yes
6661 DEFAULT_wxUSE_CHECKBOX=yes
6662 DEFAULT_wxUSE_CHECKLISTBOX=yes
6663 DEFAULT_wxUSE_CHOICE=yes
6664 DEFAULT_wxUSE_GAUGE=yes
6665 DEFAULT_wxUSE_GRID=yes
6666 DEFAULT_wxUSE_IMAGLIST=yes
6667 DEFAULT_wxUSE_LISTBOOK=yes
6668 DEFAULT_wxUSE_LISTBOX=yes
6669 DEFAULT_wxUSE_LISTCTRL=yes
6670 DEFAULT_wxUSE_NOTEBOOK=yes
6671 DEFAULT_wxUSE_RADIOBOX=yes
6672 DEFAULT_wxUSE_RADIOBTN=yes
6673 DEFAULT_wxUSE_SASH=yes
6674 DEFAULT_wxUSE_SCROLLBAR=yes
6675 DEFAULT_wxUSE_SLIDER=yes
6676 DEFAULT_wxUSE_SPINBTN=yes
6677 DEFAULT_wxUSE_SPINCTRL=yes
6678 DEFAULT_wxUSE_SPLITTER=yes
6679 DEFAULT_wxUSE_STATBMP=yes
6680 DEFAULT_wxUSE_STATBOX=yes
6681 DEFAULT_wxUSE_STATLINE=yes
6682 DEFAULT_wxUSE_STATUSBAR=yes
6683 DEFAULT_wxUSE_TAB_DIALOG=yes
6684 DEFAULT_wxUSE_TOGGLEBTN=yes
6685 DEFAULT_wxUSE_TOOLBAR=yes
6686 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6687 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6688 DEFAULT_wxUSE_TOOLTIPS=yes
6689 DEFAULT_wxUSE_TREECTRL=yes
6690 DEFAULT_wxUSE_POPUPWIN=yes
6691 DEFAULT_wxUSE_TIPWINDOW=yes
6692 elif test "$wxUSE_CONTROLS" = "no"; then
6693 DEFAULT_wxUSE_ACCEL=no
6694 DEFAULT_wxUSE_BMPBUTTON=no
6695 DEFAULT_wxUSE_BUTTON=no
6696 DEFAULT_wxUSE_CALCTRL=no
6697 DEFAULT_wxUSE_CARET=no
6698 DEFAULT_wxUSE_COMBOBOX=no
6699 DEFAULT_wxUSE_CHECKBOX=no
6700 DEFAULT_wxUSE_CHECKLISTBOX=no
6701 DEFAULT_wxUSE_CHOICE=no
6702 DEFAULT_wxUSE_GAUGE=no
6703 DEFAULT_wxUSE_GRID=no
6704 DEFAULT_wxUSE_IMAGLIST=no
6705 DEFAULT_wxUSE_LISTBOOK=no
6706 DEFAULT_wxUSE_LISTBOX=no
6707 DEFAULT_wxUSE_LISTCTRL=no
6708 DEFAULT_wxUSE_NOTEBOOK=no
6709 DEFAULT_wxUSE_RADIOBOX=no
6710 DEFAULT_wxUSE_RADIOBTN=no
6711 DEFAULT_wxUSE_SASH=no
6712 DEFAULT_wxUSE_SCROLLBAR=no
6713 DEFAULT_wxUSE_SLIDER=no
6714 DEFAULT_wxUSE_SPINBTN=no
6715 DEFAULT_wxUSE_SPINCTRL=no
6716 DEFAULT_wxUSE_SPLITTER=no
6717 DEFAULT_wxUSE_STATBMP=no
6718 DEFAULT_wxUSE_STATBOX=no
6719 DEFAULT_wxUSE_STATLINE=no
6720 DEFAULT_wxUSE_STATUSBAR=no
6721 DEFAULT_wxUSE_TAB_DIALOG=no
6722 DEFAULT_wxUSE_TOGGLEBTN=no
6723 DEFAULT_wxUSE_TOOLBAR=no
6724 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6725 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6726 DEFAULT_wxUSE_TOOLTIPS=no
6727 DEFAULT_wxUSE_TREECTRL=no
6728 DEFAULT_wxUSE_POPUPWIN=no
6729 DEFAULT_wxUSE_TIPWINDOW=no
6730 fi
6731
6732 ## FIXME: This is a blatant hack
6733 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6734 wxUSE_PRINTING_ARCHITECTURE=no
6735 wxUSE_DRAG_AND_DROP=no
6736 # Generic notebook requires tab dialog
6737 DEFAULT_wxUSE_TABDIALOG=yes
6738 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6739 DEFAULT_wxUSE_SCROLLBAR=no
6740 DEFAULT_wxUSE_TOOLTIPS=no
6741 DEFAULT_wxUSE_DRAGIMAGE=no
6742 fi
6743
6744
6745 enablestring=
6746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6747 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6748 no_cache=0
6749 # Check whether --enable-accel or --disable-accel was given.
6750 if test "${enable_accel+set}" = set; then
6751 enableval="$enable_accel"
6752
6753 if test "$enableval" = yes; then
6754 ac_cv_use_accel='wxUSE_ACCEL=yes'
6755 else
6756 ac_cv_use_accel='wxUSE_ACCEL=no'
6757 fi
6758
6759 else
6760
6761 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6762 if test "x$LINE" != x ; then
6763 eval "DEFAULT_$LINE"
6764 else
6765 no_cache=1
6766 fi
6767
6768 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6769
6770 fi;
6771
6772 eval "$ac_cv_use_accel"
6773 if test "$no_cache" != 1; then
6774 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6775 fi
6776
6777 if test "$wxUSE_ACCEL" = yes; then
6778 echo "$as_me:$LINENO: result: yes" >&5
6779 echo "${ECHO_T}yes" >&6
6780 else
6781 echo "$as_me:$LINENO: result: no" >&5
6782 echo "${ECHO_T}no" >&6
6783 fi
6784
6785
6786 enablestring=
6787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6788 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6789 no_cache=0
6790 # Check whether --enable-button or --disable-button was given.
6791 if test "${enable_button+set}" = set; then
6792 enableval="$enable_button"
6793
6794 if test "$enableval" = yes; then
6795 ac_cv_use_button='wxUSE_BUTTON=yes'
6796 else
6797 ac_cv_use_button='wxUSE_BUTTON=no'
6798 fi
6799
6800 else
6801
6802 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x ; then
6804 eval "DEFAULT_$LINE"
6805 else
6806 no_cache=1
6807 fi
6808
6809 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6810
6811 fi;
6812
6813 eval "$ac_cv_use_button"
6814 if test "$no_cache" != 1; then
6815 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6816 fi
6817
6818 if test "$wxUSE_BUTTON" = yes; then
6819 echo "$as_me:$LINENO: result: yes" >&5
6820 echo "${ECHO_T}yes" >&6
6821 else
6822 echo "$as_me:$LINENO: result: no" >&5
6823 echo "${ECHO_T}no" >&6
6824 fi
6825
6826
6827 enablestring=
6828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6829 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6830 no_cache=0
6831 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6832 if test "${enable_bmpbutton+set}" = set; then
6833 enableval="$enable_bmpbutton"
6834
6835 if test "$enableval" = yes; then
6836 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6837 else
6838 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6839 fi
6840
6841 else
6842
6843 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x ; then
6845 eval "DEFAULT_$LINE"
6846 else
6847 no_cache=1
6848 fi
6849
6850 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6851
6852 fi;
6853
6854 eval "$ac_cv_use_bmpbutton"
6855 if test "$no_cache" != 1; then
6856 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6857 fi
6858
6859 if test "$wxUSE_BMPBUTTON" = yes; then
6860 echo "$as_me:$LINENO: result: yes" >&5
6861 echo "${ECHO_T}yes" >&6
6862 else
6863 echo "$as_me:$LINENO: result: no" >&5
6864 echo "${ECHO_T}no" >&6
6865 fi
6866
6867
6868 enablestring=
6869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6870 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6871 no_cache=0
6872 # Check whether --enable-calendar or --disable-calendar was given.
6873 if test "${enable_calendar+set}" = set; then
6874 enableval="$enable_calendar"
6875
6876 if test "$enableval" = yes; then
6877 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6878 else
6879 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6880 fi
6881
6882 else
6883
6884 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6885 if test "x$LINE" != x ; then
6886 eval "DEFAULT_$LINE"
6887 else
6888 no_cache=1
6889 fi
6890
6891 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6892
6893 fi;
6894
6895 eval "$ac_cv_use_calendar"
6896 if test "$no_cache" != 1; then
6897 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6898 fi
6899
6900 if test "$wxUSE_CALCTRL" = yes; then
6901 echo "$as_me:$LINENO: result: yes" >&5
6902 echo "${ECHO_T}yes" >&6
6903 else
6904 echo "$as_me:$LINENO: result: no" >&5
6905 echo "${ECHO_T}no" >&6
6906 fi
6907
6908
6909 enablestring=
6910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6911 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6912 no_cache=0
6913 # Check whether --enable-caret or --disable-caret was given.
6914 if test "${enable_caret+set}" = set; then
6915 enableval="$enable_caret"
6916
6917 if test "$enableval" = yes; then
6918 ac_cv_use_caret='wxUSE_CARET=yes'
6919 else
6920 ac_cv_use_caret='wxUSE_CARET=no'
6921 fi
6922
6923 else
6924
6925 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x ; then
6927 eval "DEFAULT_$LINE"
6928 else
6929 no_cache=1
6930 fi
6931
6932 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6933
6934 fi;
6935
6936 eval "$ac_cv_use_caret"
6937 if test "$no_cache" != 1; then
6938 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6939 fi
6940
6941 if test "$wxUSE_CARET" = yes; then
6942 echo "$as_me:$LINENO: result: yes" >&5
6943 echo "${ECHO_T}yes" >&6
6944 else
6945 echo "$as_me:$LINENO: result: no" >&5
6946 echo "${ECHO_T}no" >&6
6947 fi
6948
6949
6950 enablestring=
6951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6952 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6953 no_cache=0
6954 # Check whether --enable-checkbox or --disable-checkbox was given.
6955 if test "${enable_checkbox+set}" = set; then
6956 enableval="$enable_checkbox"
6957
6958 if test "$enableval" = yes; then
6959 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6960 else
6961 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6962 fi
6963
6964 else
6965
6966 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6967 if test "x$LINE" != x ; then
6968 eval "DEFAULT_$LINE"
6969 else
6970 no_cache=1
6971 fi
6972
6973 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6974
6975 fi;
6976
6977 eval "$ac_cv_use_checkbox"
6978 if test "$no_cache" != 1; then
6979 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6980 fi
6981
6982 if test "$wxUSE_CHECKBOX" = yes; then
6983 echo "$as_me:$LINENO: result: yes" >&5
6984 echo "${ECHO_T}yes" >&6
6985 else
6986 echo "$as_me:$LINENO: result: no" >&5
6987 echo "${ECHO_T}no" >&6
6988 fi
6989
6990
6991 enablestring=
6992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6994 no_cache=0
6995 # Check whether --enable-checklst or --disable-checklst was given.
6996 if test "${enable_checklst+set}" = set; then
6997 enableval="$enable_checklst"
6998
6999 if test "$enableval" = yes; then
7000 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7001 else
7002 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7003 fi
7004
7005 else
7006
7007 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7008 if test "x$LINE" != x ; then
7009 eval "DEFAULT_$LINE"
7010 else
7011 no_cache=1
7012 fi
7013
7014 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7015
7016 fi;
7017
7018 eval "$ac_cv_use_checklst"
7019 if test "$no_cache" != 1; then
7020 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7021 fi
7022
7023 if test "$wxUSE_CHECKLST" = yes; then
7024 echo "$as_me:$LINENO: result: yes" >&5
7025 echo "${ECHO_T}yes" >&6
7026 else
7027 echo "$as_me:$LINENO: result: no" >&5
7028 echo "${ECHO_T}no" >&6
7029 fi
7030
7031
7032 enablestring=
7033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7034 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7035 no_cache=0
7036 # Check whether --enable-choice or --disable-choice was given.
7037 if test "${enable_choice+set}" = set; then
7038 enableval="$enable_choice"
7039
7040 if test "$enableval" = yes; then
7041 ac_cv_use_choice='wxUSE_CHOICE=yes'
7042 else
7043 ac_cv_use_choice='wxUSE_CHOICE=no'
7044 fi
7045
7046 else
7047
7048 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7049 if test "x$LINE" != x ; then
7050 eval "DEFAULT_$LINE"
7051 else
7052 no_cache=1
7053 fi
7054
7055 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7056
7057 fi;
7058
7059 eval "$ac_cv_use_choice"
7060 if test "$no_cache" != 1; then
7061 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7062 fi
7063
7064 if test "$wxUSE_CHOICE" = yes; then
7065 echo "$as_me:$LINENO: result: yes" >&5
7066 echo "${ECHO_T}yes" >&6
7067 else
7068 echo "$as_me:$LINENO: result: no" >&5
7069 echo "${ECHO_T}no" >&6
7070 fi
7071
7072
7073 enablestring=
7074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7075 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7076 no_cache=0
7077 # Check whether --enable-combobox or --disable-combobox was given.
7078 if test "${enable_combobox+set}" = set; then
7079 enableval="$enable_combobox"
7080
7081 if test "$enableval" = yes; then
7082 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7083 else
7084 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7085 fi
7086
7087 else
7088
7089 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7092 else
7093 no_cache=1
7094 fi
7095
7096 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7097
7098 fi;
7099
7100 eval "$ac_cv_use_combobox"
7101 if test "$no_cache" != 1; then
7102 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7103 fi
7104
7105 if test "$wxUSE_COMBOBOX" = yes; then
7106 echo "$as_me:$LINENO: result: yes" >&5
7107 echo "${ECHO_T}yes" >&6
7108 else
7109 echo "$as_me:$LINENO: result: no" >&5
7110 echo "${ECHO_T}no" >&6
7111 fi
7112
7113
7114 enablestring=
7115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7116 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7117 no_cache=0
7118 # Check whether --enable-display or --disable-display was given.
7119 if test "${enable_display+set}" = set; then
7120 enableval="$enable_display"
7121
7122 if test "$enableval" = yes; then
7123 ac_cv_use_display='wxUSE_DISPLAY=yes'
7124 else
7125 ac_cv_use_display='wxUSE_DISPLAY=no'
7126 fi
7127
7128 else
7129
7130 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7131 if test "x$LINE" != x ; then
7132 eval "DEFAULT_$LINE"
7133 else
7134 no_cache=1
7135 fi
7136
7137 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7138
7139 fi;
7140
7141 eval "$ac_cv_use_display"
7142 if test "$no_cache" != 1; then
7143 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7144 fi
7145
7146 if test "$wxUSE_DISPLAY" = yes; then
7147 echo "$as_me:$LINENO: result: yes" >&5
7148 echo "${ECHO_T}yes" >&6
7149 else
7150 echo "$as_me:$LINENO: result: no" >&5
7151 echo "${ECHO_T}no" >&6
7152 fi
7153
7154
7155 enablestring=
7156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7157 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7158 no_cache=0
7159 # Check whether --enable-gauge or --disable-gauge was given.
7160 if test "${enable_gauge+set}" = set; then
7161 enableval="$enable_gauge"
7162
7163 if test "$enableval" = yes; then
7164 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7165 else
7166 ac_cv_use_gauge='wxUSE_GAUGE=no'
7167 fi
7168
7169 else
7170
7171 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7172 if test "x$LINE" != x ; then
7173 eval "DEFAULT_$LINE"
7174 else
7175 no_cache=1
7176 fi
7177
7178 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7179
7180 fi;
7181
7182 eval "$ac_cv_use_gauge"
7183 if test "$no_cache" != 1; then
7184 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7185 fi
7186
7187 if test "$wxUSE_GAUGE" = yes; then
7188 echo "$as_me:$LINENO: result: yes" >&5
7189 echo "${ECHO_T}yes" >&6
7190 else
7191 echo "$as_me:$LINENO: result: no" >&5
7192 echo "${ECHO_T}no" >&6
7193 fi
7194
7195
7196 enablestring=
7197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7198 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7199 no_cache=0
7200 # Check whether --enable-grid or --disable-grid was given.
7201 if test "${enable_grid+set}" = set; then
7202 enableval="$enable_grid"
7203
7204 if test "$enableval" = yes; then
7205 ac_cv_use_grid='wxUSE_GRID=yes'
7206 else
7207 ac_cv_use_grid='wxUSE_GRID=no'
7208 fi
7209
7210 else
7211
7212 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7215 else
7216 no_cache=1
7217 fi
7218
7219 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7220
7221 fi;
7222
7223 eval "$ac_cv_use_grid"
7224 if test "$no_cache" != 1; then
7225 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7226 fi
7227
7228 if test "$wxUSE_GRID" = yes; then
7229 echo "$as_me:$LINENO: result: yes" >&5
7230 echo "${ECHO_T}yes" >&6
7231 else
7232 echo "$as_me:$LINENO: result: no" >&5
7233 echo "${ECHO_T}no" >&6
7234 fi
7235
7236
7237 enablestring=
7238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7239 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7240 no_cache=0
7241 # Check whether --enable-imaglist or --disable-imaglist was given.
7242 if test "${enable_imaglist+set}" = set; then
7243 enableval="$enable_imaglist"
7244
7245 if test "$enableval" = yes; then
7246 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7247 else
7248 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7249 fi
7250
7251 else
7252
7253 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7254 if test "x$LINE" != x ; then
7255 eval "DEFAULT_$LINE"
7256 else
7257 no_cache=1
7258 fi
7259
7260 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7261
7262 fi;
7263
7264 eval "$ac_cv_use_imaglist"
7265 if test "$no_cache" != 1; then
7266 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7267 fi
7268
7269 if test "$wxUSE_IMAGLIST" = yes; then
7270 echo "$as_me:$LINENO: result: yes" >&5
7271 echo "${ECHO_T}yes" >&6
7272 else
7273 echo "$as_me:$LINENO: result: no" >&5
7274 echo "${ECHO_T}no" >&6
7275 fi
7276
7277
7278 enablestring=
7279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7280 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7281 no_cache=0
7282 # Check whether --enable-listbook or --disable-listbook was given.
7283 if test "${enable_listbook+set}" = set; then
7284 enableval="$enable_listbook"
7285
7286 if test "$enableval" = yes; then
7287 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7288 else
7289 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7290 fi
7291
7292 else
7293
7294 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x ; then
7296 eval "DEFAULT_$LINE"
7297 else
7298 no_cache=1
7299 fi
7300
7301 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7302
7303 fi;
7304
7305 eval "$ac_cv_use_listbook"
7306 if test "$no_cache" != 1; then
7307 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7308 fi
7309
7310 if test "$wxUSE_LISTBOOK" = yes; then
7311 echo "$as_me:$LINENO: result: yes" >&5
7312 echo "${ECHO_T}yes" >&6
7313 else
7314 echo "$as_me:$LINENO: result: no" >&5
7315 echo "${ECHO_T}no" >&6
7316 fi
7317
7318
7319 enablestring=
7320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7321 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7322 no_cache=0
7323 # Check whether --enable-listbox or --disable-listbox was given.
7324 if test "${enable_listbox+set}" = set; then
7325 enableval="$enable_listbox"
7326
7327 if test "$enableval" = yes; then
7328 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7329 else
7330 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7331 fi
7332
7333 else
7334
7335 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7338 else
7339 no_cache=1
7340 fi
7341
7342 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7343
7344 fi;
7345
7346 eval "$ac_cv_use_listbox"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7349 fi
7350
7351 if test "$wxUSE_LISTBOX" = yes; then
7352 echo "$as_me:$LINENO: result: yes" >&5
7353 echo "${ECHO_T}yes" >&6
7354 else
7355 echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6
7357 fi
7358
7359
7360 enablestring=
7361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7362 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7363 no_cache=0
7364 # Check whether --enable-listctrl or --disable-listctrl was given.
7365 if test "${enable_listctrl+set}" = set; then
7366 enableval="$enable_listctrl"
7367
7368 if test "$enableval" = yes; then
7369 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7370 else
7371 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7372 fi
7373
7374 else
7375
7376 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7379 else
7380 no_cache=1
7381 fi
7382
7383 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7384
7385 fi;
7386
7387 eval "$ac_cv_use_listctrl"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7390 fi
7391
7392 if test "$wxUSE_LISTCTRL" = yes; then
7393 echo "$as_me:$LINENO: result: yes" >&5
7394 echo "${ECHO_T}yes" >&6
7395 else
7396 echo "$as_me:$LINENO: result: no" >&5
7397 echo "${ECHO_T}no" >&6
7398 fi
7399
7400
7401 enablestring=
7402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7404 no_cache=0
7405 # Check whether --enable-notebook or --disable-notebook was given.
7406 if test "${enable_notebook+set}" = set; then
7407 enableval="$enable_notebook"
7408
7409 if test "$enableval" = yes; then
7410 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7411 else
7412 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7413 fi
7414
7415 else
7416
7417 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7420 else
7421 no_cache=1
7422 fi
7423
7424 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7425
7426 fi;
7427
7428 eval "$ac_cv_use_notebook"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7431 fi
7432
7433 if test "$wxUSE_NOTEBOOK" = yes; then
7434 echo "$as_me:$LINENO: result: yes" >&5
7435 echo "${ECHO_T}yes" >&6
7436 else
7437 echo "$as_me:$LINENO: result: no" >&5
7438 echo "${ECHO_T}no" >&6
7439 fi
7440
7441
7442 enablestring=
7443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7445 no_cache=0
7446 # Check whether --enable-radiobox or --disable-radiobox was given.
7447 if test "${enable_radiobox+set}" = set; then
7448 enableval="$enable_radiobox"
7449
7450 if test "$enableval" = yes; then
7451 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7452 else
7453 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7454 fi
7455
7456 else
7457
7458 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7461 else
7462 no_cache=1
7463 fi
7464
7465 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7466
7467 fi;
7468
7469 eval "$ac_cv_use_radiobox"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7472 fi
7473
7474 if test "$wxUSE_RADIOBOX" = yes; then
7475 echo "$as_me:$LINENO: result: yes" >&5
7476 echo "${ECHO_T}yes" >&6
7477 else
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7480 fi
7481
7482
7483 enablestring=
7484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7486 no_cache=0
7487 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7488 if test "${enable_radiobtn+set}" = set; then
7489 enableval="$enable_radiobtn"
7490
7491 if test "$enableval" = yes; then
7492 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7493 else
7494 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7495 fi
7496
7497 else
7498
7499 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7502 else
7503 no_cache=1
7504 fi
7505
7506 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7507
7508 fi;
7509
7510 eval "$ac_cv_use_radiobtn"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7513 fi
7514
7515 if test "$wxUSE_RADIOBTN" = yes; then
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7518 else
7519 echo "$as_me:$LINENO: result: no" >&5
7520 echo "${ECHO_T}no" >&6
7521 fi
7522
7523
7524 enablestring=
7525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7527 no_cache=0
7528 # Check whether --enable-sash or --disable-sash was given.
7529 if test "${enable_sash+set}" = set; then
7530 enableval="$enable_sash"
7531
7532 if test "$enableval" = yes; then
7533 ac_cv_use_sash='wxUSE_SASH=yes'
7534 else
7535 ac_cv_use_sash='wxUSE_SASH=no'
7536 fi
7537
7538 else
7539
7540 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7543 else
7544 no_cache=1
7545 fi
7546
7547 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7548
7549 fi;
7550
7551 eval "$ac_cv_use_sash"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7554 fi
7555
7556 if test "$wxUSE_SASH" = yes; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7559 else
7560 echo "$as_me:$LINENO: result: no" >&5
7561 echo "${ECHO_T}no" >&6
7562 fi
7563
7564
7565 enablestring=
7566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7568 no_cache=0
7569 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7570 if test "${enable_scrollbar+set}" = set; then
7571 enableval="$enable_scrollbar"
7572
7573 if test "$enableval" = yes; then
7574 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7575 else
7576 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7577 fi
7578
7579 else
7580
7581 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7582 if test "x$LINE" != x ; then
7583 eval "DEFAULT_$LINE"
7584 else
7585 no_cache=1
7586 fi
7587
7588 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7589
7590 fi;
7591
7592 eval "$ac_cv_use_scrollbar"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7595 fi
7596
7597 if test "$wxUSE_SCROLLBAR" = yes; then
7598 echo "$as_me:$LINENO: result: yes" >&5
7599 echo "${ECHO_T}yes" >&6
7600 else
7601 echo "$as_me:$LINENO: result: no" >&5
7602 echo "${ECHO_T}no" >&6
7603 fi
7604
7605
7606 enablestring=
7607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7609 no_cache=0
7610 # Check whether --enable-slider or --disable-slider was given.
7611 if test "${enable_slider+set}" = set; then
7612 enableval="$enable_slider"
7613
7614 if test "$enableval" = yes; then
7615 ac_cv_use_slider='wxUSE_SLIDER=yes'
7616 else
7617 ac_cv_use_slider='wxUSE_SLIDER=no'
7618 fi
7619
7620 else
7621
7622 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x ; then
7624 eval "DEFAULT_$LINE"
7625 else
7626 no_cache=1
7627 fi
7628
7629 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7630
7631 fi;
7632
7633 eval "$ac_cv_use_slider"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7636 fi
7637
7638 if test "$wxUSE_SLIDER" = yes; then
7639 echo "$as_me:$LINENO: result: yes" >&5
7640 echo "${ECHO_T}yes" >&6
7641 else
7642 echo "$as_me:$LINENO: result: no" >&5
7643 echo "${ECHO_T}no" >&6
7644 fi
7645
7646
7647 enablestring=
7648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7650 no_cache=0
7651 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7652 if test "${enable_spinbtn+set}" = set; then
7653 enableval="$enable_spinbtn"
7654
7655 if test "$enableval" = yes; then
7656 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7657 else
7658 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7659 fi
7660
7661 else
7662
7663 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x ; then
7665 eval "DEFAULT_$LINE"
7666 else
7667 no_cache=1
7668 fi
7669
7670 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7671
7672 fi;
7673
7674 eval "$ac_cv_use_spinbtn"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7677 fi
7678
7679 if test "$wxUSE_SPINBTN" = yes; then
7680 echo "$as_me:$LINENO: result: yes" >&5
7681 echo "${ECHO_T}yes" >&6
7682 else
7683 echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6
7685 fi
7686
7687
7688 enablestring=
7689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7691 no_cache=0
7692 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7693 if test "${enable_spinctrl+set}" = set; then
7694 enableval="$enable_spinctrl"
7695
7696 if test "$enableval" = yes; then
7697 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7698 else
7699 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7700 fi
7701
7702 else
7703
7704 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x ; then
7706 eval "DEFAULT_$LINE"
7707 else
7708 no_cache=1
7709 fi
7710
7711 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7712
7713 fi;
7714
7715 eval "$ac_cv_use_spinctrl"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7718 fi
7719
7720 if test "$wxUSE_SPINCTRL" = yes; then
7721 echo "$as_me:$LINENO: result: yes" >&5
7722 echo "${ECHO_T}yes" >&6
7723 else
7724 echo "$as_me:$LINENO: result: no" >&5
7725 echo "${ECHO_T}no" >&6
7726 fi
7727
7728
7729 enablestring=
7730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7732 no_cache=0
7733 # Check whether --enable-splitter or --disable-splitter was given.
7734 if test "${enable_splitter+set}" = set; then
7735 enableval="$enable_splitter"
7736
7737 if test "$enableval" = yes; then
7738 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7739 else
7740 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7741 fi
7742
7743 else
7744
7745 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7746 if test "x$LINE" != x ; then
7747 eval "DEFAULT_$LINE"
7748 else
7749 no_cache=1
7750 fi
7751
7752 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7753
7754 fi;
7755
7756 eval "$ac_cv_use_splitter"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7759 fi
7760
7761 if test "$wxUSE_SPLITTER" = yes; then
7762 echo "$as_me:$LINENO: result: yes" >&5
7763 echo "${ECHO_T}yes" >&6
7764 else
7765 echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6
7767 fi
7768
7769
7770 enablestring=
7771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7773 no_cache=0
7774 # Check whether --enable-statbmp or --disable-statbmp was given.
7775 if test "${enable_statbmp+set}" = set; then
7776 enableval="$enable_statbmp"
7777
7778 if test "$enableval" = yes; then
7779 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7780 else
7781 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7782 fi
7783
7784 else
7785
7786 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x ; then
7788 eval "DEFAULT_$LINE"
7789 else
7790 no_cache=1
7791 fi
7792
7793 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7794
7795 fi;
7796
7797 eval "$ac_cv_use_statbmp"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7800 fi
7801
7802 if test "$wxUSE_STATBMP" = yes; then
7803 echo "$as_me:$LINENO: result: yes" >&5
7804 echo "${ECHO_T}yes" >&6
7805 else
7806 echo "$as_me:$LINENO: result: no" >&5
7807 echo "${ECHO_T}no" >&6
7808 fi
7809
7810
7811 enablestring=
7812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7814 no_cache=0
7815 # Check whether --enable-statbox or --disable-statbox was given.
7816 if test "${enable_statbox+set}" = set; then
7817 enableval="$enable_statbox"
7818
7819 if test "$enableval" = yes; then
7820 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7821 else
7822 ac_cv_use_statbox='wxUSE_STATBOX=no'
7823 fi
7824
7825 else
7826
7827 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x ; then
7829 eval "DEFAULT_$LINE"
7830 else
7831 no_cache=1
7832 fi
7833
7834 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7835
7836 fi;
7837
7838 eval "$ac_cv_use_statbox"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7841 fi
7842
7843 if test "$wxUSE_STATBOX" = yes; then
7844 echo "$as_me:$LINENO: result: yes" >&5
7845 echo "${ECHO_T}yes" >&6
7846 else
7847 echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6
7849 fi
7850
7851
7852 enablestring=
7853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7855 no_cache=0
7856 # Check whether --enable-statline or --disable-statline was given.
7857 if test "${enable_statline+set}" = set; then
7858 enableval="$enable_statline"
7859
7860 if test "$enableval" = yes; then
7861 ac_cv_use_statline='wxUSE_STATLINE=yes'
7862 else
7863 ac_cv_use_statline='wxUSE_STATLINE=no'
7864 fi
7865
7866 else
7867
7868 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x ; then
7870 eval "DEFAULT_$LINE"
7871 else
7872 no_cache=1
7873 fi
7874
7875 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7876
7877 fi;
7878
7879 eval "$ac_cv_use_statline"
7880 if test "$no_cache" != 1; then
7881 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7882 fi
7883
7884 if test "$wxUSE_STATLINE" = yes; then
7885 echo "$as_me:$LINENO: result: yes" >&5
7886 echo "${ECHO_T}yes" >&6
7887 else
7888 echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6
7890 fi
7891
7892
7893 enablestring=
7894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7895 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7896 no_cache=0
7897 # Check whether --enable-stattext or --disable-stattext was given.
7898 if test "${enable_stattext+set}" = set; then
7899 enableval="$enable_stattext"
7900
7901 if test "$enableval" = yes; then
7902 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7903 else
7904 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7905 fi
7906
7907 else
7908
7909 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7910 if test "x$LINE" != x ; then
7911 eval "DEFAULT_$LINE"
7912 else
7913 no_cache=1
7914 fi
7915
7916 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7917
7918 fi;
7919
7920 eval "$ac_cv_use_stattext"
7921 if test "$no_cache" != 1; then
7922 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7923 fi
7924
7925 if test "$wxUSE_STATTEXT" = yes; then
7926 echo "$as_me:$LINENO: result: yes" >&5
7927 echo "${ECHO_T}yes" >&6
7928 else
7929 echo "$as_me:$LINENO: result: no" >&5
7930 echo "${ECHO_T}no" >&6
7931 fi
7932
7933
7934 enablestring=
7935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7936 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7937 no_cache=0
7938 # Check whether --enable-statusbar or --disable-statusbar was given.
7939 if test "${enable_statusbar+set}" = set; then
7940 enableval="$enable_statusbar"
7941
7942 if test "$enableval" = yes; then
7943 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7944 else
7945 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7946 fi
7947
7948 else
7949
7950 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7951 if test "x$LINE" != x ; then
7952 eval "DEFAULT_$LINE"
7953 else
7954 no_cache=1
7955 fi
7956
7957 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7958
7959 fi;
7960
7961 eval "$ac_cv_use_statusbar"
7962 if test "$no_cache" != 1; then
7963 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7964 fi
7965
7966 if test "$wxUSE_STATUSBAR" = yes; then
7967 echo "$as_me:$LINENO: result: yes" >&5
7968 echo "${ECHO_T}yes" >&6
7969 else
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7972 fi
7973
7974
7975 enablestring=
7976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7978 no_cache=0
7979 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7980 if test "${enable_tabdialog+set}" = set; then
7981 enableval="$enable_tabdialog"
7982
7983 if test "$enableval" = yes; then
7984 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7985 else
7986 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7987 fi
7988
7989 else
7990
7991 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x ; then
7993 eval "DEFAULT_$LINE"
7994 else
7995 no_cache=1
7996 fi
7997
7998 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7999
8000 fi;
8001
8002 eval "$ac_cv_use_tabdialog"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8005 fi
8006
8007 if test "$wxUSE_TABDIALOG" = yes; then
8008 echo "$as_me:$LINENO: result: yes" >&5
8009 echo "${ECHO_T}yes" >&6
8010 else
8011 echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6
8013 fi
8014
8015
8016 enablestring=
8017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8019 no_cache=0
8020 # Check whether --enable-textctrl or --disable-textctrl was given.
8021 if test "${enable_textctrl+set}" = set; then
8022 enableval="$enable_textctrl"
8023
8024 if test "$enableval" = yes; then
8025 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8026 else
8027 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8028 fi
8029
8030 else
8031
8032 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x ; then
8034 eval "DEFAULT_$LINE"
8035 else
8036 no_cache=1
8037 fi
8038
8039 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8040
8041 fi;
8042
8043 eval "$ac_cv_use_textctrl"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8046 fi
8047
8048 if test "$wxUSE_TEXTCTRL" = yes; then
8049 echo "$as_me:$LINENO: result: yes" >&5
8050 echo "${ECHO_T}yes" >&6
8051 else
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8054 fi
8055
8056
8057 enablestring=
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8060 no_cache=0
8061 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8062 if test "${enable_togglebtn+set}" = set; then
8063 enableval="$enable_togglebtn"
8064
8065 if test "$enableval" = yes; then
8066 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8067 else
8068 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8069 fi
8070
8071 else
8072
8073 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x ; then
8075 eval "DEFAULT_$LINE"
8076 else
8077 no_cache=1
8078 fi
8079
8080 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8081
8082 fi;
8083
8084 eval "$ac_cv_use_togglebtn"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8087 fi
8088
8089 if test "$wxUSE_TOGGLEBTN" = yes; then
8090 echo "$as_me:$LINENO: result: yes" >&5
8091 echo "${ECHO_T}yes" >&6
8092 else
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8095 fi
8096
8097
8098 enablestring=
8099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8101 no_cache=0
8102 # Check whether --enable-toolbar or --disable-toolbar was given.
8103 if test "${enable_toolbar+set}" = set; then
8104 enableval="$enable_toolbar"
8105
8106 if test "$enableval" = yes; then
8107 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8108 else
8109 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8110 fi
8111
8112 else
8113
8114 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x ; then
8116 eval "DEFAULT_$LINE"
8117 else
8118 no_cache=1
8119 fi
8120
8121 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8122
8123 fi;
8124
8125 eval "$ac_cv_use_toolbar"
8126 if test "$no_cache" != 1; then
8127 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8128 fi
8129
8130 if test "$wxUSE_TOOLBAR" = yes; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8133 else
8134 echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6
8136 fi
8137
8138
8139 enablestring=
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8142 no_cache=0
8143 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8144 if test "${enable_tbarnative+set}" = set; then
8145 enableval="$enable_tbarnative"
8146
8147 if test "$enableval" = yes; then
8148 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8149 else
8150 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8151 fi
8152
8153 else
8154
8155 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8158 else
8159 no_cache=1
8160 fi
8161
8162 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8163
8164 fi;
8165
8166 eval "$ac_cv_use_tbarnative"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8169 fi
8170
8171 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8174 else
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8177 fi
8178
8179
8180 enablestring=
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8183 no_cache=0
8184 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8185 if test "${enable_tbarsmpl+set}" = set; then
8186 enableval="$enable_tbarsmpl"
8187
8188 if test "$enableval" = yes; then
8189 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8190 else
8191 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8192 fi
8193
8194 else
8195
8196 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x ; then
8198 eval "DEFAULT_$LINE"
8199 else
8200 no_cache=1
8201 fi
8202
8203 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8204
8205 fi;
8206
8207 eval "$ac_cv_use_tbarsmpl"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8210 fi
8211
8212 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8215 else
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8218 fi
8219
8220
8221 enablestring=
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8224 no_cache=0
8225 # Check whether --enable-treectrl or --disable-treectrl was given.
8226 if test "${enable_treectrl+set}" = set; then
8227 enableval="$enable_treectrl"
8228
8229 if test "$enableval" = yes; then
8230 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8231 else
8232 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8233 fi
8234
8235 else
8236
8237 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x ; then
8239 eval "DEFAULT_$LINE"
8240 else
8241 no_cache=1
8242 fi
8243
8244 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8245
8246 fi;
8247
8248 eval "$ac_cv_use_treectrl"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8251 fi
8252
8253 if test "$wxUSE_TREECTRL" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8256 else
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8259 fi
8260
8261
8262 enablestring=
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8265 no_cache=0
8266 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8267 if test "${enable_tipwindow+set}" = set; then
8268 enableval="$enable_tipwindow"
8269
8270 if test "$enableval" = yes; then
8271 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8272 else
8273 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8274 fi
8275
8276 else
8277
8278 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x ; then
8280 eval "DEFAULT_$LINE"
8281 else
8282 no_cache=1
8283 fi
8284
8285 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8286
8287 fi;
8288
8289 eval "$ac_cv_use_tipwindow"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8292 fi
8293
8294 if test "$wxUSE_TIPWINDOW" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8297 else
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8300 fi
8301
8302
8303 enablestring=
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8306 no_cache=0
8307 # Check whether --enable-popupwin or --disable-popupwin was given.
8308 if test "${enable_popupwin+set}" = set; then
8309 enableval="$enable_popupwin"
8310
8311 if test "$enableval" = yes; then
8312 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8313 else
8314 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8315 fi
8316
8317 else
8318
8319 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x ; then
8321 eval "DEFAULT_$LINE"
8322 else
8323 no_cache=1
8324 fi
8325
8326 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8327
8328 fi;
8329
8330 eval "$ac_cv_use_popupwin"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8333 fi
8334
8335 if test "$wxUSE_POPUPWIN" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8338 else
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8341 fi
8342
8343
8344
8345
8346 enablestring=
8347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8348 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8349 no_cache=0
8350 # Check whether --enable-commondlg or --disable-commondlg was given.
8351 if test "${enable_commondlg+set}" = set; then
8352 enableval="$enable_commondlg"
8353
8354 if test "$enableval" = yes; then
8355 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8356 else
8357 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8358 fi
8359
8360 else
8361
8362 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8363 if test "x$LINE" != x ; then
8364 eval "DEFAULT_$LINE"
8365 else
8366 no_cache=1
8367 fi
8368
8369 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8370
8371 fi;
8372
8373 eval "$ac_cv_use_commondlg"
8374 if test "$no_cache" != 1; then
8375 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8376 fi
8377
8378 if test "$wxUSE_COMMONDLGS" = yes; then
8379 echo "$as_me:$LINENO: result: yes" >&5
8380 echo "${ECHO_T}yes" >&6
8381 else
8382 echo "$as_me:$LINENO: result: no" >&5
8383 echo "${ECHO_T}no" >&6
8384 fi
8385
8386
8387 enablestring=
8388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8390 no_cache=0
8391 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8392 if test "${enable_choicedlg+set}" = set; then
8393 enableval="$enable_choicedlg"
8394
8395 if test "$enableval" = yes; then
8396 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8397 else
8398 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8399 fi
8400
8401 else
8402
8403 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8404 if test "x$LINE" != x ; then
8405 eval "DEFAULT_$LINE"
8406 else
8407 no_cache=1
8408 fi
8409
8410 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8411
8412 fi;
8413
8414 eval "$ac_cv_use_choicedlg"
8415 if test "$no_cache" != 1; then
8416 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8417 fi
8418
8419 if test "$wxUSE_CHOICEDLG" = yes; then
8420 echo "$as_me:$LINENO: result: yes" >&5
8421 echo "${ECHO_T}yes" >&6
8422 else
8423 echo "$as_me:$LINENO: result: no" >&5
8424 echo "${ECHO_T}no" >&6
8425 fi
8426
8427
8428 enablestring=
8429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8430 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8431 no_cache=0
8432 # Check whether --enable-coldlg or --disable-coldlg was given.
8433 if test "${enable_coldlg+set}" = set; then
8434 enableval="$enable_coldlg"
8435
8436 if test "$enableval" = yes; then
8437 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8438 else
8439 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8440 fi
8441
8442 else
8443
8444 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x ; then
8446 eval "DEFAULT_$LINE"
8447 else
8448 no_cache=1
8449 fi
8450
8451 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8452
8453 fi;
8454
8455 eval "$ac_cv_use_coldlg"
8456 if test "$no_cache" != 1; then
8457 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8458 fi
8459
8460 if test "$wxUSE_COLOURDLG" = yes; then
8461 echo "$as_me:$LINENO: result: yes" >&5
8462 echo "${ECHO_T}yes" >&6
8463 else
8464 echo "$as_me:$LINENO: result: no" >&5
8465 echo "${ECHO_T}no" >&6
8466 fi
8467
8468
8469 enablestring=
8470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8471 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8472 no_cache=0
8473 # Check whether --enable-filedlg or --disable-filedlg was given.
8474 if test "${enable_filedlg+set}" = set; then
8475 enableval="$enable_filedlg"
8476
8477 if test "$enableval" = yes; then
8478 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8479 else
8480 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8481 fi
8482
8483 else
8484
8485 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8486 if test "x$LINE" != x ; then
8487 eval "DEFAULT_$LINE"
8488 else
8489 no_cache=1
8490 fi
8491
8492 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8493
8494 fi;
8495
8496 eval "$ac_cv_use_filedlg"
8497 if test "$no_cache" != 1; then
8498 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8499 fi
8500
8501 if test "$wxUSE_FILEDLG" = yes; then
8502 echo "$as_me:$LINENO: result: yes" >&5
8503 echo "${ECHO_T}yes" >&6
8504 else
8505 echo "$as_me:$LINENO: result: no" >&5
8506 echo "${ECHO_T}no" >&6
8507 fi
8508
8509
8510 enablestring=
8511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8512 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8513 no_cache=0
8514 # Check whether --enable-finddlg or --disable-finddlg was given.
8515 if test "${enable_finddlg+set}" = set; then
8516 enableval="$enable_finddlg"
8517
8518 if test "$enableval" = yes; then
8519 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8520 else
8521 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8522 fi
8523
8524 else
8525
8526 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8527 if test "x$LINE" != x ; then
8528 eval "DEFAULT_$LINE"
8529 else
8530 no_cache=1
8531 fi
8532
8533 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8534
8535 fi;
8536
8537 eval "$ac_cv_use_finddlg"
8538 if test "$no_cache" != 1; then
8539 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8540 fi
8541
8542 if test "$wxUSE_FINDREPLDLG" = yes; then
8543 echo "$as_me:$LINENO: result: yes" >&5
8544 echo "${ECHO_T}yes" >&6
8545 else
8546 echo "$as_me:$LINENO: result: no" >&5
8547 echo "${ECHO_T}no" >&6
8548 fi
8549
8550
8551 enablestring=
8552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8554 no_cache=0
8555 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8556 if test "${enable_fontdlg+set}" = set; then
8557 enableval="$enable_fontdlg"
8558
8559 if test "$enableval" = yes; then
8560 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8561 else
8562 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8563 fi
8564
8565 else
8566
8567 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8568 if test "x$LINE" != x ; then
8569 eval "DEFAULT_$LINE"
8570 else
8571 no_cache=1
8572 fi
8573
8574 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8575
8576 fi;
8577
8578 eval "$ac_cv_use_fontdlg"
8579 if test "$no_cache" != 1; then
8580 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8581 fi
8582
8583 if test "$wxUSE_FONTDLG" = yes; then
8584 echo "$as_me:$LINENO: result: yes" >&5
8585 echo "${ECHO_T}yes" >&6
8586 else
8587 echo "$as_me:$LINENO: result: no" >&5
8588 echo "${ECHO_T}no" >&6
8589 fi
8590
8591
8592 enablestring=
8593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8595 no_cache=0
8596 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8597 if test "${enable_dirdlg+set}" = set; then
8598 enableval="$enable_dirdlg"
8599
8600 if test "$enableval" = yes; then
8601 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8602 else
8603 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8604 fi
8605
8606 else
8607
8608 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8609 if test "x$LINE" != x ; then
8610 eval "DEFAULT_$LINE"
8611 else
8612 no_cache=1
8613 fi
8614
8615 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8616
8617 fi;
8618
8619 eval "$ac_cv_use_dirdlg"
8620 if test "$no_cache" != 1; then
8621 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8622 fi
8623
8624 if test "$wxUSE_DIRDLG" = yes; then
8625 echo "$as_me:$LINENO: result: yes" >&5
8626 echo "${ECHO_T}yes" >&6
8627 else
8628 echo "$as_me:$LINENO: result: no" >&5
8629 echo "${ECHO_T}no" >&6
8630 fi
8631
8632
8633 enablestring=
8634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8636 no_cache=0
8637 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8638 if test "${enable_msgdlg+set}" = set; then
8639 enableval="$enable_msgdlg"
8640
8641 if test "$enableval" = yes; then
8642 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8643 else
8644 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8645 fi
8646
8647 else
8648
8649 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8650 if test "x$LINE" != x ; then
8651 eval "DEFAULT_$LINE"
8652 else
8653 no_cache=1
8654 fi
8655
8656 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8657
8658 fi;
8659
8660 eval "$ac_cv_use_msgdlg"
8661 if test "$no_cache" != 1; then
8662 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8663 fi
8664
8665 if test "$wxUSE_MSGDLG" = yes; then
8666 echo "$as_me:$LINENO: result: yes" >&5
8667 echo "${ECHO_T}yes" >&6
8668 else
8669 echo "$as_me:$LINENO: result: no" >&5
8670 echo "${ECHO_T}no" >&6
8671 fi
8672
8673
8674 enablestring=
8675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8676 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8677 no_cache=0
8678 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8679 if test "${enable_numberdlg+set}" = set; then
8680 enableval="$enable_numberdlg"
8681
8682 if test "$enableval" = yes; then
8683 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8684 else
8685 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8686 fi
8687
8688 else
8689
8690 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8691 if test "x$LINE" != x ; then
8692 eval "DEFAULT_$LINE"
8693 else
8694 no_cache=1
8695 fi
8696
8697 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8698
8699 fi;
8700
8701 eval "$ac_cv_use_numberdlg"
8702 if test "$no_cache" != 1; then
8703 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8704 fi
8705
8706 if test "$wxUSE_NUMBERDLG" = yes; then
8707 echo "$as_me:$LINENO: result: yes" >&5
8708 echo "${ECHO_T}yes" >&6
8709 else
8710 echo "$as_me:$LINENO: result: no" >&5
8711 echo "${ECHO_T}no" >&6
8712 fi
8713
8714
8715 enablestring=
8716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8718 no_cache=0
8719 # Check whether --enable-splash or --disable-splash was given.
8720 if test "${enable_splash+set}" = set; then
8721 enableval="$enable_splash"
8722
8723 if test "$enableval" = yes; then
8724 ac_cv_use_splash='wxUSE_SPLASH=yes'
8725 else
8726 ac_cv_use_splash='wxUSE_SPLASH=no'
8727 fi
8728
8729 else
8730
8731 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8732 if test "x$LINE" != x ; then
8733 eval "DEFAULT_$LINE"
8734 else
8735 no_cache=1
8736 fi
8737
8738 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8739
8740 fi;
8741
8742 eval "$ac_cv_use_splash"
8743 if test "$no_cache" != 1; then
8744 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8745 fi
8746
8747 if test "$wxUSE_SPLASH" = yes; then
8748 echo "$as_me:$LINENO: result: yes" >&5
8749 echo "${ECHO_T}yes" >&6
8750 else
8751 echo "$as_me:$LINENO: result: no" >&5
8752 echo "${ECHO_T}no" >&6
8753 fi
8754
8755
8756 enablestring=
8757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8759 no_cache=0
8760 # Check whether --enable-textdlg or --disable-textdlg was given.
8761 if test "${enable_textdlg+set}" = set; then
8762 enableval="$enable_textdlg"
8763
8764 if test "$enableval" = yes; then
8765 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8766 else
8767 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8768 fi
8769
8770 else
8771
8772 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8773 if test "x$LINE" != x ; then
8774 eval "DEFAULT_$LINE"
8775 else
8776 no_cache=1
8777 fi
8778
8779 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8780
8781 fi;
8782
8783 eval "$ac_cv_use_textdlg"
8784 if test "$no_cache" != 1; then
8785 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8786 fi
8787
8788 if test "$wxUSE_TEXTDLG" = yes; then
8789 echo "$as_me:$LINENO: result: yes" >&5
8790 echo "${ECHO_T}yes" >&6
8791 else
8792 echo "$as_me:$LINENO: result: no" >&5
8793 echo "${ECHO_T}no" >&6
8794 fi
8795
8796
8797 enablestring=
8798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8799 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8800 no_cache=0
8801 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8802 if test "${enable_tipdlg+set}" = set; then
8803 enableval="$enable_tipdlg"
8804
8805 if test "$enableval" = yes; then
8806 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8807 else
8808 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8809 fi
8810
8811 else
8812
8813 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8814 if test "x$LINE" != x ; then
8815 eval "DEFAULT_$LINE"
8816 else
8817 no_cache=1
8818 fi
8819
8820 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8821
8822 fi;
8823
8824 eval "$ac_cv_use_tipdlg"
8825 if test "$no_cache" != 1; then
8826 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8827 fi
8828
8829 if test "$wxUSE_STARTUP_TIPS" = yes; then
8830 echo "$as_me:$LINENO: result: yes" >&5
8831 echo "${ECHO_T}yes" >&6
8832 else
8833 echo "$as_me:$LINENO: result: no" >&5
8834 echo "${ECHO_T}no" >&6
8835 fi
8836
8837
8838 enablestring=
8839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8840 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8841 no_cache=0
8842 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8843 if test "${enable_progressdlg+set}" = set; then
8844 enableval="$enable_progressdlg"
8845
8846 if test "$enableval" = yes; then
8847 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8848 else
8849 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8850 fi
8851
8852 else
8853
8854 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8855 if test "x$LINE" != x ; then
8856 eval "DEFAULT_$LINE"
8857 else
8858 no_cache=1
8859 fi
8860
8861 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8862
8863 fi;
8864
8865 eval "$ac_cv_use_progressdlg"
8866 if test "$no_cache" != 1; then
8867 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8868 fi
8869
8870 if test "$wxUSE_PROGRESSDLG" = yes; then
8871 echo "$as_me:$LINENO: result: yes" >&5
8872 echo "${ECHO_T}yes" >&6
8873 else
8874 echo "$as_me:$LINENO: result: no" >&5
8875 echo "${ECHO_T}no" >&6
8876 fi
8877
8878
8879 enablestring=
8880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8882 no_cache=0
8883 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8884 if test "${enable_wizarddlg+set}" = set; then
8885 enableval="$enable_wizarddlg"
8886
8887 if test "$enableval" = yes; then
8888 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8889 else
8890 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8891 fi
8892
8893 else
8894
8895 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8896 if test "x$LINE" != x ; then
8897 eval "DEFAULT_$LINE"
8898 else
8899 no_cache=1
8900 fi
8901
8902 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8903
8904 fi;
8905
8906 eval "$ac_cv_use_wizarddlg"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8909 fi
8910
8911 if test "$wxUSE_WIZARDDLG" = yes; then
8912 echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6
8914 else
8915 echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6
8917 fi
8918
8919
8920
8921
8922 enablestring=
8923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8925 no_cache=0
8926 # Check whether --enable-menus or --disable-menus was given.
8927 if test "${enable_menus+set}" = set; then
8928 enableval="$enable_menus"
8929
8930 if test "$enableval" = yes; then
8931 ac_cv_use_menus='wxUSE_MENUS=yes'
8932 else
8933 ac_cv_use_menus='wxUSE_MENUS=no'
8934 fi
8935
8936 else
8937
8938 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8939 if test "x$LINE" != x ; then
8940 eval "DEFAULT_$LINE"
8941 else
8942 no_cache=1
8943 fi
8944
8945 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8946
8947 fi;
8948
8949 eval "$ac_cv_use_menus"
8950 if test "$no_cache" != 1; then
8951 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8952 fi
8953
8954 if test "$wxUSE_MENUS" = yes; then
8955 echo "$as_me:$LINENO: result: yes" >&5
8956 echo "${ECHO_T}yes" >&6
8957 else
8958 echo "$as_me:$LINENO: result: no" >&5
8959 echo "${ECHO_T}no" >&6
8960 fi
8961
8962
8963 enablestring=
8964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8965 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8966 no_cache=0
8967 # Check whether --enable-miniframe or --disable-miniframe was given.
8968 if test "${enable_miniframe+set}" = set; then
8969 enableval="$enable_miniframe"
8970
8971 if test "$enableval" = yes; then
8972 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8973 else
8974 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8975 fi
8976
8977 else
8978
8979 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8980 if test "x$LINE" != x ; then
8981 eval "DEFAULT_$LINE"
8982 else
8983 no_cache=1
8984 fi
8985
8986 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8987
8988 fi;
8989
8990 eval "$ac_cv_use_miniframe"
8991 if test "$no_cache" != 1; then
8992 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8993 fi
8994
8995 if test "$wxUSE_MINIFRAME" = yes; then
8996 echo "$as_me:$LINENO: result: yes" >&5
8997 echo "${ECHO_T}yes" >&6
8998 else
8999 echo "$as_me:$LINENO: result: no" >&5
9000 echo "${ECHO_T}no" >&6
9001 fi
9002
9003
9004 enablestring=
9005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9006 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9007 no_cache=0
9008 # Check whether --enable-tooltips or --disable-tooltips was given.
9009 if test "${enable_tooltips+set}" = set; then
9010 enableval="$enable_tooltips"
9011
9012 if test "$enableval" = yes; then
9013 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9014 else
9015 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9016 fi
9017
9018 else
9019
9020 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9021 if test "x$LINE" != x ; then
9022 eval "DEFAULT_$LINE"
9023 else
9024 no_cache=1
9025 fi
9026
9027 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9028
9029 fi;
9030
9031 eval "$ac_cv_use_tooltips"
9032 if test "$no_cache" != 1; then
9033 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9034 fi
9035
9036 if test "$wxUSE_TOOLTIPS" = yes; then
9037 echo "$as_me:$LINENO: result: yes" >&5
9038 echo "${ECHO_T}yes" >&6
9039 else
9040 echo "$as_me:$LINENO: result: no" >&5
9041 echo "${ECHO_T}no" >&6
9042 fi
9043
9044
9045 enablestring=
9046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9047 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9048 no_cache=0
9049 # Check whether --enable-splines or --disable-splines was given.
9050 if test "${enable_splines+set}" = set; then
9051 enableval="$enable_splines"
9052
9053 if test "$enableval" = yes; then
9054 ac_cv_use_splines='wxUSE_SPLINES=yes'
9055 else
9056 ac_cv_use_splines='wxUSE_SPLINES=no'
9057 fi
9058
9059 else
9060
9061 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9064 else
9065 no_cache=1
9066 fi
9067
9068 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9069
9070 fi;
9071
9072 eval "$ac_cv_use_splines"
9073 if test "$no_cache" != 1; then
9074 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9075 fi
9076
9077 if test "$wxUSE_SPLINES" = yes; then
9078 echo "$as_me:$LINENO: result: yes" >&5
9079 echo "${ECHO_T}yes" >&6
9080 else
9081 echo "$as_me:$LINENO: result: no" >&5
9082 echo "${ECHO_T}no" >&6
9083 fi
9084
9085
9086 enablestring=
9087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9088 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9089 no_cache=0
9090 # Check whether --enable-validators or --disable-validators was given.
9091 if test "${enable_validators+set}" = set; then
9092 enableval="$enable_validators"
9093
9094 if test "$enableval" = yes; then
9095 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9096 else
9097 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9098 fi
9099
9100 else
9101
9102 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9105 else
9106 no_cache=1
9107 fi
9108
9109 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9110
9111 fi;
9112
9113 eval "$ac_cv_use_validators"
9114 if test "$no_cache" != 1; then
9115 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9116 fi
9117
9118 if test "$wxUSE_VALIDATORS" = yes; then
9119 echo "$as_me:$LINENO: result: yes" >&5
9120 echo "${ECHO_T}yes" >&6
9121 else
9122 echo "$as_me:$LINENO: result: no" >&5
9123 echo "${ECHO_T}no" >&6
9124 fi
9125
9126
9127 enablestring=
9128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9129 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9130 no_cache=0
9131 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9132 if test "${enable_busyinfo+set}" = set; then
9133 enableval="$enable_busyinfo"
9134
9135 if test "$enableval" = yes; then
9136 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9137 else
9138 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9139 fi
9140
9141 else
9142
9143 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9144 if test "x$LINE" != x ; then
9145 eval "DEFAULT_$LINE"
9146 else
9147 no_cache=1
9148 fi
9149
9150 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9151
9152 fi;
9153
9154 eval "$ac_cv_use_busyinfo"
9155 if test "$no_cache" != 1; then
9156 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9157 fi
9158
9159 if test "$wxUSE_BUSYINFO" = yes; then
9160 echo "$as_me:$LINENO: result: yes" >&5
9161 echo "${ECHO_T}yes" >&6
9162 else
9163 echo "$as_me:$LINENO: result: no" >&5
9164 echo "${ECHO_T}no" >&6
9165 fi
9166
9167
9168 enablestring=
9169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9170 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9171 no_cache=0
9172 # Check whether --enable-joystick or --disable-joystick was given.
9173 if test "${enable_joystick+set}" = set; then
9174 enableval="$enable_joystick"
9175
9176 if test "$enableval" = yes; then
9177 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9178 else
9179 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9180 fi
9181
9182 else
9183
9184 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9185 if test "x$LINE" != x ; then
9186 eval "DEFAULT_$LINE"
9187 else
9188 no_cache=1
9189 fi
9190
9191 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9192
9193 fi;
9194
9195 eval "$ac_cv_use_joystick"
9196 if test "$no_cache" != 1; then
9197 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9198 fi
9199
9200 if test "$wxUSE_JOYSTICK" = yes; then
9201 echo "$as_me:$LINENO: result: yes" >&5
9202 echo "${ECHO_T}yes" >&6
9203 else
9204 echo "$as_me:$LINENO: result: no" >&5
9205 echo "${ECHO_T}no" >&6
9206 fi
9207
9208
9209 enablestring=
9210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9211 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9212 no_cache=0
9213 # Check whether --enable-metafile or --disable-metafile was given.
9214 if test "${enable_metafile+set}" = set; then
9215 enableval="$enable_metafile"
9216
9217 if test "$enableval" = yes; then
9218 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9219 else
9220 ac_cv_use_metafile='wxUSE_METAFILE=no'
9221 fi
9222
9223 else
9224
9225 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9226 if test "x$LINE" != x ; then
9227 eval "DEFAULT_$LINE"
9228 else
9229 no_cache=1
9230 fi
9231
9232 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9233
9234 fi;
9235
9236 eval "$ac_cv_use_metafile"
9237 if test "$no_cache" != 1; then
9238 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9239 fi
9240
9241 if test "$wxUSE_METAFILE" = yes; then
9242 echo "$as_me:$LINENO: result: yes" >&5
9243 echo "${ECHO_T}yes" >&6
9244 else
9245 echo "$as_me:$LINENO: result: no" >&5
9246 echo "${ECHO_T}no" >&6
9247 fi
9248
9249
9250 enablestring=
9251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9252 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9253 no_cache=0
9254 # Check whether --enable-dragimage or --disable-dragimage was given.
9255 if test "${enable_dragimage+set}" = set; then
9256 enableval="$enable_dragimage"
9257
9258 if test "$enableval" = yes; then
9259 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9260 else
9261 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9262 fi
9263
9264 else
9265
9266 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9267 if test "x$LINE" != x ; then
9268 eval "DEFAULT_$LINE"
9269 else
9270 no_cache=1
9271 fi
9272
9273 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9274
9275 fi;
9276
9277 eval "$ac_cv_use_dragimage"
9278 if test "$no_cache" != 1; then
9279 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9280 fi
9281
9282 if test "$wxUSE_DRAGIMAGE" = yes; then
9283 echo "$as_me:$LINENO: result: yes" >&5
9284 echo "${ECHO_T}yes" >&6
9285 else
9286 echo "$as_me:$LINENO: result: no" >&5
9287 echo "${ECHO_T}no" >&6
9288 fi
9289
9290
9291 enablestring=
9292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9293 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9294 no_cache=0
9295 # Check whether --enable-accessibility or --disable-accessibility was given.
9296 if test "${enable_accessibility+set}" = set; then
9297 enableval="$enable_accessibility"
9298
9299 if test "$enableval" = yes; then
9300 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9301 else
9302 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9303 fi
9304
9305 else
9306
9307 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9308 if test "x$LINE" != x ; then
9309 eval "DEFAULT_$LINE"
9310 else
9311 no_cache=1
9312 fi
9313
9314 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9315
9316 fi;
9317
9318 eval "$ac_cv_use_accessibility"
9319 if test "$no_cache" != 1; then
9320 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9321 fi
9322
9323 if test "$wxUSE_ACCESSIBILITY" = yes; then
9324 echo "$as_me:$LINENO: result: yes" >&5
9325 echo "${ECHO_T}yes" >&6
9326 else
9327 echo "$as_me:$LINENO: result: no" >&5
9328 echo "${ECHO_T}no" >&6
9329 fi
9330
9331
9332
9333
9334 enablestring=
9335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9336 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9337 no_cache=0
9338 # Check whether --enable-palette or --disable-palette was given.
9339 if test "${enable_palette+set}" = set; then
9340 enableval="$enable_palette"
9341
9342 if test "$enableval" = yes; then
9343 ac_cv_use_palette='wxUSE_PALETTE=yes'
9344 else
9345 ac_cv_use_palette='wxUSE_PALETTE=no'
9346 fi
9347
9348 else
9349
9350 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9351 if test "x$LINE" != x ; then
9352 eval "DEFAULT_$LINE"
9353 else
9354 no_cache=1
9355 fi
9356
9357 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9358
9359 fi;
9360
9361 eval "$ac_cv_use_palette"
9362 if test "$no_cache" != 1; then
9363 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9364 fi
9365
9366 if test "$wxUSE_PALETTE" = yes; then
9367 echo "$as_me:$LINENO: result: yes" >&5
9368 echo "${ECHO_T}yes" >&6
9369 else
9370 echo "$as_me:$LINENO: result: no" >&5
9371 echo "${ECHO_T}no" >&6
9372 fi
9373
9374
9375 enablestring=
9376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9378 no_cache=0
9379 # Check whether --enable-image or --disable-image was given.
9380 if test "${enable_image+set}" = set; then
9381 enableval="$enable_image"
9382
9383 if test "$enableval" = yes; then
9384 ac_cv_use_image='wxUSE_IMAGE=yes'
9385 else
9386 ac_cv_use_image='wxUSE_IMAGE=no'
9387 fi
9388
9389 else
9390
9391 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9394 else
9395 no_cache=1
9396 fi
9397
9398 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9399
9400 fi;
9401
9402 eval "$ac_cv_use_image"
9403 if test "$no_cache" != 1; then
9404 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9405 fi
9406
9407 if test "$wxUSE_IMAGE" = yes; then
9408 echo "$as_me:$LINENO: result: yes" >&5
9409 echo "${ECHO_T}yes" >&6
9410 else
9411 echo "$as_me:$LINENO: result: no" >&5
9412 echo "${ECHO_T}no" >&6
9413 fi
9414
9415
9416 enablestring=
9417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9418 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9419 no_cache=0
9420 # Check whether --enable-gif or --disable-gif was given.
9421 if test "${enable_gif+set}" = set; then
9422 enableval="$enable_gif"
9423
9424 if test "$enableval" = yes; then
9425 ac_cv_use_gif='wxUSE_GIF=yes'
9426 else
9427 ac_cv_use_gif='wxUSE_GIF=no'
9428 fi
9429
9430 else
9431
9432 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9433 if test "x$LINE" != x ; then
9434 eval "DEFAULT_$LINE"
9435 else
9436 no_cache=1
9437 fi
9438
9439 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9440
9441 fi;
9442
9443 eval "$ac_cv_use_gif"
9444 if test "$no_cache" != 1; then
9445 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9446 fi
9447
9448 if test "$wxUSE_GIF" = yes; then
9449 echo "$as_me:$LINENO: result: yes" >&5
9450 echo "${ECHO_T}yes" >&6
9451 else
9452 echo "$as_me:$LINENO: result: no" >&5
9453 echo "${ECHO_T}no" >&6
9454 fi
9455
9456
9457 enablestring=
9458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9459 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9460 no_cache=0
9461 # Check whether --enable-pcx or --disable-pcx was given.
9462 if test "${enable_pcx+set}" = set; then
9463 enableval="$enable_pcx"
9464
9465 if test "$enableval" = yes; then
9466 ac_cv_use_pcx='wxUSE_PCX=yes'
9467 else
9468 ac_cv_use_pcx='wxUSE_PCX=no'
9469 fi
9470
9471 else
9472
9473 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9474 if test "x$LINE" != x ; then
9475 eval "DEFAULT_$LINE"
9476 else
9477 no_cache=1
9478 fi
9479
9480 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9481
9482 fi;
9483
9484 eval "$ac_cv_use_pcx"
9485 if test "$no_cache" != 1; then
9486 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9487 fi
9488
9489 if test "$wxUSE_PCX" = yes; then
9490 echo "$as_me:$LINENO: result: yes" >&5
9491 echo "${ECHO_T}yes" >&6
9492 else
9493 echo "$as_me:$LINENO: result: no" >&5
9494 echo "${ECHO_T}no" >&6
9495 fi
9496
9497
9498 enablestring=
9499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9500 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9501 no_cache=0
9502 # Check whether --enable-iff or --disable-iff was given.
9503 if test "${enable_iff+set}" = set; then
9504 enableval="$enable_iff"
9505
9506 if test "$enableval" = yes; then
9507 ac_cv_use_iff='wxUSE_IFF=yes'
9508 else
9509 ac_cv_use_iff='wxUSE_IFF=no'
9510 fi
9511
9512 else
9513
9514 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9515 if test "x$LINE" != x ; then
9516 eval "DEFAULT_$LINE"
9517 else
9518 no_cache=1
9519 fi
9520
9521 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9522
9523 fi;
9524
9525 eval "$ac_cv_use_iff"
9526 if test "$no_cache" != 1; then
9527 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9528 fi
9529
9530 if test "$wxUSE_IFF" = yes; then
9531 echo "$as_me:$LINENO: result: yes" >&5
9532 echo "${ECHO_T}yes" >&6
9533 else
9534 echo "$as_me:$LINENO: result: no" >&5
9535 echo "${ECHO_T}no" >&6
9536 fi
9537
9538
9539 enablestring=
9540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9542 no_cache=0
9543 # Check whether --enable-pnm or --disable-pnm was given.
9544 if test "${enable_pnm+set}" = set; then
9545 enableval="$enable_pnm"
9546
9547 if test "$enableval" = yes; then
9548 ac_cv_use_pnm='wxUSE_PNM=yes'
9549 else
9550 ac_cv_use_pnm='wxUSE_PNM=no'
9551 fi
9552
9553 else
9554
9555 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9556 if test "x$LINE" != x ; then
9557 eval "DEFAULT_$LINE"
9558 else
9559 no_cache=1
9560 fi
9561
9562 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9563
9564 fi;
9565
9566 eval "$ac_cv_use_pnm"
9567 if test "$no_cache" != 1; then
9568 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9569 fi
9570
9571 if test "$wxUSE_PNM" = yes; then
9572 echo "$as_me:$LINENO: result: yes" >&5
9573 echo "${ECHO_T}yes" >&6
9574 else
9575 echo "$as_me:$LINENO: result: no" >&5
9576 echo "${ECHO_T}no" >&6
9577 fi
9578
9579
9580 enablestring=
9581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9582 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9583 no_cache=0
9584 # Check whether --enable-xpm or --disable-xpm was given.
9585 if test "${enable_xpm+set}" = set; then
9586 enableval="$enable_xpm"
9587
9588 if test "$enableval" = yes; then
9589 ac_cv_use_xpm='wxUSE_XPM=yes'
9590 else
9591 ac_cv_use_xpm='wxUSE_XPM=no'
9592 fi
9593
9594 else
9595
9596 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9597 if test "x$LINE" != x ; then
9598 eval "DEFAULT_$LINE"
9599 else
9600 no_cache=1
9601 fi
9602
9603 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9604
9605 fi;
9606
9607 eval "$ac_cv_use_xpm"
9608 if test "$no_cache" != 1; then
9609 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9610 fi
9611
9612 if test "$wxUSE_XPM" = yes; then
9613 echo "$as_me:$LINENO: result: yes" >&5
9614 echo "${ECHO_T}yes" >&6
9615 else
9616 echo "$as_me:$LINENO: result: no" >&5
9617 echo "${ECHO_T}no" >&6
9618 fi
9619
9620
9621 enablestring=
9622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9623 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9624 no_cache=0
9625 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9626 if test "${enable_ico_cur+set}" = set; then
9627 enableval="$enable_ico_cur"
9628
9629 if test "$enableval" = yes; then
9630 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9631 else
9632 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9633 fi
9634
9635 else
9636
9637 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9638 if test "x$LINE" != x ; then
9639 eval "DEFAULT_$LINE"
9640 else
9641 no_cache=1
9642 fi
9643
9644 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9645
9646 fi;
9647
9648 eval "$ac_cv_use_ico_cur"
9649 if test "$no_cache" != 1; then
9650 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9651 fi
9652
9653 if test "$wxUSE_ICO_CUR" = yes; then
9654 echo "$as_me:$LINENO: result: yes" >&5
9655 echo "${ECHO_T}yes" >&6
9656 else
9657 echo "$as_me:$LINENO: result: no" >&5
9658 echo "${ECHO_T}no" >&6
9659 fi
9660
9661
9662 fi
9663
9664
9665
9666 enablestring=
9667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9668 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9669 no_cache=0
9670 # Check whether --enable-official_build or --disable-official_build was given.
9671 if test "${enable_official_build+set}" = set; then
9672 enableval="$enable_official_build"
9673
9674 if test "$enableval" = yes; then
9675 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9676 else
9677 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9678 fi
9679
9680 else
9681
9682 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9683 if test "x$LINE" != x ; then
9684 eval "DEFAULT_$LINE"
9685 else
9686 no_cache=1
9687 fi
9688
9689 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9690
9691 fi;
9692
9693 eval "$ac_cv_use_official_build"
9694 if test "$no_cache" != 1; then
9695 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9696 fi
9697
9698 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9699 echo "$as_me:$LINENO: result: yes" >&5
9700 echo "${ECHO_T}yes" >&6
9701 else
9702 echo "$as_me:$LINENO: result: no" >&5
9703 echo "${ECHO_T}no" >&6
9704 fi
9705
9706 # Check whether --enable-vendor or --disable-vendor was given.
9707 if test "${enable_vendor+set}" = set; then
9708 enableval="$enable_vendor"
9709 VENDOR="$enableval"
9710 fi;
9711 if test "x$VENDOR" = "x"; then
9712 VENDOR="custom"
9713 fi
9714
9715 case "${host}" in
9716 *-pc-os2_emx | *-pc-os2-emx )
9717 PATH_IFS=';'
9718 ;;
9719 *)
9720 PATH_IFS=':'
9721 ;;
9722 esac
9723
9724
9725
9726 echo "saving argument cache $wx_arg_cache_file"
9727 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9728
9729
9730
9731 echo "$as_me:$LINENO: checking for toolkit" >&5
9732 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9733
9734 # In Wine, we need to default to MSW, not GTK or MOTIF
9735 if test "$wxUSE_WINE" = "yes"; then
9736 DEFAULT_DEFAULT_wxUSE_GTK=0
9737 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9738 DEFAULT_DEFAULT_wxUSE_MSW=1
9739 wxUSE_SHARED=no
9740 fi
9741
9742 if test "$wxUSE_GUI" = "yes"; then
9743
9744 if test "$USE_BEOS" = 1; then
9745 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9746 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9747 { (exit 1); exit 1; }; }
9748 fi
9749
9750 if test "$TOOLKIT_GIVEN" = 1; then
9751 for toolkit in `echo $ALL_TOOLKITS`; do
9752 var=wxUSE_$toolkit
9753 eval "value=\$${var}"
9754 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9755 done
9756 else
9757 for toolkit in `echo $ALL_TOOLKITS`; do
9758 if test "$has_toolkit_in_cache" != 1; then
9759 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9760 else
9761 var=DEFAULT_wxUSE_$toolkit
9762 fi
9763 eval "wxUSE_$toolkit=\$${var}"
9764 done
9765 fi
9766
9767 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9768 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9769 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9770
9771 case "${host}" in
9772 *-pc-os2_emx | *-pc-os2-emx )
9773 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9774 esac
9775
9776 case "$NUM_TOOLKITS" in
9777 1)
9778 ;;
9779 0)
9780 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9781 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9782 { (exit 1); exit 1; }; }
9783 ;;
9784 *)
9785 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9786 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9787 { (exit 1); exit 1; }; }
9788 esac
9789
9790 for toolkit in `echo $ALL_TOOLKITS`; do
9791 var=wxUSE_$toolkit
9792 eval "value=\$${var}"
9793 if test "x$value" != x; then
9794 cache_var=CACHE_$toolkit
9795 eval "cache=\$${cache_var}"
9796 if test "$cache" = 1; then
9797 echo "$var=$value" >> ${wx_arg_cache_file}
9798 fi
9799 if test "$value" = 1; then
9800 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9801 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9802 echo "${ECHO_T}$toolkit_echo" >&6
9803 fi
9804 fi
9805 done
9806 else
9807 if test "x$host_alias" != "x"; then
9808 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9809 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9810 else
9811 echo "$as_me:$LINENO: result: base only" >&5
9812 echo "${ECHO_T}base only" >&6
9813 fi
9814 fi
9815
9816 wants_win32=0
9817 doesnt_want_win32=0
9818 case "${host}" in
9819 *-*-cygwin*)
9820 if test "$wxUSE_MSW" = 1 ; then
9821 wants_win32=1
9822 else
9823 doesnt_want_win32=1
9824 fi
9825 ;;
9826 *-*-mingw*)
9827 wants_win32=1
9828 ;;
9829 esac
9830
9831 if test "$wxUSE_WINE" = "yes"; then
9832 wants_win32=1
9833 CC=winegcc
9834 CXX=wineg++
9835 RESCOMP=wrc
9836 fi
9837
9838 if test "$wants_win32" = 1 ; then
9839 USE_UNIX=0
9840 USE_WIN32=1
9841 cat >>confdefs.h <<\_ACEOF
9842 #define __WIN32__ 1
9843 _ACEOF
9844
9845 cat >>confdefs.h <<\_ACEOF
9846 #define __WIN95__ 1
9847 _ACEOF
9848
9849 cat >>confdefs.h <<\_ACEOF
9850 #define __WINDOWS__ 1
9851 _ACEOF
9852
9853 cat >>confdefs.h <<\_ACEOF
9854 #define __GNUWIN32__ 1
9855 _ACEOF
9856
9857 cat >>confdefs.h <<\_ACEOF
9858 #define STRICT 1
9859 _ACEOF
9860
9861 cat >>confdefs.h <<\_ACEOF
9862 #define WINVER 0x0400
9863 _ACEOF
9864
9865 fi
9866 if test "$doesnt_want_win32" = 1 ; then
9867 USE_UNIX=1
9868 USE_WIN32=0
9869 fi
9870
9871 if test "$USE_UNIX" = 1 ; then
9872 wxUSE_UNIX=yes
9873 cat >>confdefs.h <<\_ACEOF
9874 #define __UNIX__ 1
9875 _ACEOF
9876
9877 fi
9878
9879
9880 cat >confcache <<\_ACEOF
9881 # This file is a shell script that caches the results of configure
9882 # tests run on this system so they can be shared between configure
9883 # scripts and configure runs, see configure's option --config-cache.
9884 # It is not useful on other systems. If it contains results you don't
9885 # want to keep, you may remove or edit it.
9886 #
9887 # config.status only pays attention to the cache file if you give it
9888 # the --recheck option to rerun configure.
9889 #
9890 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9891 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9892 # following values.
9893
9894 _ACEOF
9895
9896 # The following way of writing the cache mishandles newlines in values,
9897 # but we know of no workaround that is simple, portable, and efficient.
9898 # So, don't put newlines in cache variables' values.
9899 # Ultrix sh set writes to stderr and can't be redirected directly,
9900 # and sets the high bit in the cache file unless we assign to the vars.
9901 {
9902 (set) 2>&1 |
9903 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9904 *ac_space=\ *)
9905 # `set' does not quote correctly, so add quotes (double-quote
9906 # substitution turns \\\\ into \\, and sed turns \\ into \).
9907 sed -n \
9908 "s/'/'\\\\''/g;
9909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9910 ;;
9911 *)
9912 # `set' quotes correctly as required by POSIX, so do not add quotes.
9913 sed -n \
9914 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9915 ;;
9916 esac;
9917 } |
9918 sed '
9919 t clear
9920 : clear
9921 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9922 t end
9923 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9924 : end' >>confcache
9925 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9926 if test -w $cache_file; then
9927 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9928 cat confcache >$cache_file
9929 else
9930 echo "not updating unwritable cache $cache_file"
9931 fi
9932 fi
9933 rm -f confcache
9934
9935 if test "$build" != "$host" ; then
9936 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9937 CC=$host_alias-gcc
9938 CXX=$host_alias-c++
9939 AR=$host_alias-ar
9940 RANLIB=$host_alias-ranlib
9941 DLLTOOL=$host_alias-dlltool
9942 RESCOMP=$host_alias-windres
9943 LD=$host_alias-ld
9944 NM=$host_alias-nm
9945 STRIP=$host_alias-strip
9946 else
9947 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9948 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9949 { (exit 1); exit 1; }; }
9950 fi
9951 fi
9952
9953 CFLAGS=${CFLAGS:=}
9954 ac_ext=c
9955 ac_cpp='$CPP $CPPFLAGS'
9956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9959 if test -n "$ac_tool_prefix"; then
9960 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9961 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9962 echo "$as_me:$LINENO: checking for $ac_word" >&5
9963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9964 if test "${ac_cv_prog_CC+set}" = set; then
9965 echo $ECHO_N "(cached) $ECHO_C" >&6
9966 else
9967 if test -n "$CC"; then
9968 ac_cv_prog_CC="$CC" # Let the user override the test.
9969 else
9970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9971 for as_dir in $PATH
9972 do
9973 IFS=$as_save_IFS
9974 test -z "$as_dir" && as_dir=.
9975 for ac_exec_ext in '' $ac_executable_extensions; do
9976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9977 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9979 break 2
9980 fi
9981 done
9982 done
9983
9984 fi
9985 fi
9986 CC=$ac_cv_prog_CC
9987 if test -n "$CC"; then
9988 echo "$as_me:$LINENO: result: $CC" >&5
9989 echo "${ECHO_T}$CC" >&6
9990 else
9991 echo "$as_me:$LINENO: result: no" >&5
9992 echo "${ECHO_T}no" >&6
9993 fi
9994
9995 fi
9996 if test -z "$ac_cv_prog_CC"; then
9997 ac_ct_CC=$CC
9998 # Extract the first word of "gcc", so it can be a program name with args.
9999 set dummy gcc; ac_word=$2
10000 echo "$as_me:$LINENO: checking for $ac_word" >&5
10001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 else
10005 if test -n "$ac_ct_CC"; then
10006 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10007 else
10008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10009 for as_dir in $PATH
10010 do
10011 IFS=$as_save_IFS
10012 test -z "$as_dir" && as_dir=.
10013 for ac_exec_ext in '' $ac_executable_extensions; do
10014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10015 ac_cv_prog_ac_ct_CC="gcc"
10016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10017 break 2
10018 fi
10019 done
10020 done
10021
10022 fi
10023 fi
10024 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10025 if test -n "$ac_ct_CC"; then
10026 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10027 echo "${ECHO_T}$ac_ct_CC" >&6
10028 else
10029 echo "$as_me:$LINENO: result: no" >&5
10030 echo "${ECHO_T}no" >&6
10031 fi
10032
10033 CC=$ac_ct_CC
10034 else
10035 CC="$ac_cv_prog_CC"
10036 fi
10037
10038 if test -z "$CC"; then
10039 if test -n "$ac_tool_prefix"; then
10040 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10041 set dummy ${ac_tool_prefix}cc; ac_word=$2
10042 echo "$as_me:$LINENO: checking for $ac_word" >&5
10043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10044 if test "${ac_cv_prog_CC+set}" = set; then
10045 echo $ECHO_N "(cached) $ECHO_C" >&6
10046 else
10047 if test -n "$CC"; then
10048 ac_cv_prog_CC="$CC" # Let the user override the test.
10049 else
10050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10051 for as_dir in $PATH
10052 do
10053 IFS=$as_save_IFS
10054 test -z "$as_dir" && as_dir=.
10055 for ac_exec_ext in '' $ac_executable_extensions; do
10056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10057 ac_cv_prog_CC="${ac_tool_prefix}cc"
10058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10059 break 2
10060 fi
10061 done
10062 done
10063
10064 fi
10065 fi
10066 CC=$ac_cv_prog_CC
10067 if test -n "$CC"; then
10068 echo "$as_me:$LINENO: result: $CC" >&5
10069 echo "${ECHO_T}$CC" >&6
10070 else
10071 echo "$as_me:$LINENO: result: no" >&5
10072 echo "${ECHO_T}no" >&6
10073 fi
10074
10075 fi
10076 if test -z "$ac_cv_prog_CC"; then
10077 ac_ct_CC=$CC
10078 # Extract the first word of "cc", so it can be a program name with args.
10079 set dummy cc; ac_word=$2
10080 echo "$as_me:$LINENO: checking for $ac_word" >&5
10081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10083 echo $ECHO_N "(cached) $ECHO_C" >&6
10084 else
10085 if test -n "$ac_ct_CC"; then
10086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10087 else
10088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10089 for as_dir in $PATH
10090 do
10091 IFS=$as_save_IFS
10092 test -z "$as_dir" && as_dir=.
10093 for ac_exec_ext in '' $ac_executable_extensions; do
10094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10095 ac_cv_prog_ac_ct_CC="cc"
10096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10097 break 2
10098 fi
10099 done
10100 done
10101
10102 fi
10103 fi
10104 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10105 if test -n "$ac_ct_CC"; then
10106 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10107 echo "${ECHO_T}$ac_ct_CC" >&6
10108 else
10109 echo "$as_me:$LINENO: result: no" >&5
10110 echo "${ECHO_T}no" >&6
10111 fi
10112
10113 CC=$ac_ct_CC
10114 else
10115 CC="$ac_cv_prog_CC"
10116 fi
10117
10118 fi
10119 if test -z "$CC"; then
10120 # Extract the first word of "cc", so it can be a program name with args.
10121 set dummy cc; ac_word=$2
10122 echo "$as_me:$LINENO: checking for $ac_word" >&5
10123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10124 if test "${ac_cv_prog_CC+set}" = set; then
10125 echo $ECHO_N "(cached) $ECHO_C" >&6
10126 else
10127 if test -n "$CC"; then
10128 ac_cv_prog_CC="$CC" # Let the user override the test.
10129 else
10130 ac_prog_rejected=no
10131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10132 for as_dir in $PATH
10133 do
10134 IFS=$as_save_IFS
10135 test -z "$as_dir" && as_dir=.
10136 for ac_exec_ext in '' $ac_executable_extensions; do
10137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10138 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10139 ac_prog_rejected=yes
10140 continue
10141 fi
10142 ac_cv_prog_CC="cc"
10143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10144 break 2
10145 fi
10146 done
10147 done
10148
10149 if test $ac_prog_rejected = yes; then
10150 # We found a bogon in the path, so make sure we never use it.
10151 set dummy $ac_cv_prog_CC
10152 shift
10153 if test $# != 0; then
10154 # We chose a different compiler from the bogus one.
10155 # However, it has the same basename, so the bogon will be chosen
10156 # first if we set CC to just the basename; use the full file name.
10157 shift
10158 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10159 fi
10160 fi
10161 fi
10162 fi
10163 CC=$ac_cv_prog_CC
10164 if test -n "$CC"; then
10165 echo "$as_me:$LINENO: result: $CC" >&5
10166 echo "${ECHO_T}$CC" >&6
10167 else
10168 echo "$as_me:$LINENO: result: no" >&5
10169 echo "${ECHO_T}no" >&6
10170 fi
10171
10172 fi
10173 if test -z "$CC"; then
10174 if test -n "$ac_tool_prefix"; then
10175 for ac_prog in cl
10176 do
10177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10178 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10179 echo "$as_me:$LINENO: checking for $ac_word" >&5
10180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10181 if test "${ac_cv_prog_CC+set}" = set; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 else
10184 if test -n "$CC"; then
10185 ac_cv_prog_CC="$CC" # Let the user override the test.
10186 else
10187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10188 for as_dir in $PATH
10189 do
10190 IFS=$as_save_IFS
10191 test -z "$as_dir" && as_dir=.
10192 for ac_exec_ext in '' $ac_executable_extensions; do
10193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10194 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10196 break 2
10197 fi
10198 done
10199 done
10200
10201 fi
10202 fi
10203 CC=$ac_cv_prog_CC
10204 if test -n "$CC"; then
10205 echo "$as_me:$LINENO: result: $CC" >&5
10206 echo "${ECHO_T}$CC" >&6
10207 else
10208 echo "$as_me:$LINENO: result: no" >&5
10209 echo "${ECHO_T}no" >&6
10210 fi
10211
10212 test -n "$CC" && break
10213 done
10214 fi
10215 if test -z "$CC"; then
10216 ac_ct_CC=$CC
10217 for ac_prog in cl
10218 do
10219 # Extract the first word of "$ac_prog", so it can be a program name with args.
10220 set dummy $ac_prog; ac_word=$2
10221 echo "$as_me:$LINENO: checking for $ac_word" >&5
10222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10224 echo $ECHO_N "(cached) $ECHO_C" >&6
10225 else
10226 if test -n "$ac_ct_CC"; then
10227 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10228 else
10229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10230 for as_dir in $PATH
10231 do
10232 IFS=$as_save_IFS
10233 test -z "$as_dir" && as_dir=.
10234 for ac_exec_ext in '' $ac_executable_extensions; do
10235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10236 ac_cv_prog_ac_ct_CC="$ac_prog"
10237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10238 break 2
10239 fi
10240 done
10241 done
10242
10243 fi
10244 fi
10245 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10246 if test -n "$ac_ct_CC"; then
10247 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10248 echo "${ECHO_T}$ac_ct_CC" >&6
10249 else
10250 echo "$as_me:$LINENO: result: no" >&5
10251 echo "${ECHO_T}no" >&6
10252 fi
10253
10254 test -n "$ac_ct_CC" && break
10255 done
10256
10257 CC=$ac_ct_CC
10258 fi
10259
10260 fi
10261
10262
10263 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10264 See \`config.log' for more details." >&5
10265 echo "$as_me: error: no acceptable C compiler found in \$PATH
10266 See \`config.log' for more details." >&2;}
10267 { (exit 1); exit 1; }; }
10268
10269 # Provide some information about the compiler.
10270 echo "$as_me:$LINENO:" \
10271 "checking for C compiler version" >&5
10272 ac_compiler=`set X $ac_compile; echo $2`
10273 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10274 (eval $ac_compiler --version </dev/null >&5) 2>&5
10275 ac_status=$?
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }
10278 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10279 (eval $ac_compiler -v </dev/null >&5) 2>&5
10280 ac_status=$?
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); }
10283 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10284 (eval $ac_compiler -V </dev/null >&5) 2>&5
10285 ac_status=$?
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); }
10288
10289 cat >conftest.$ac_ext <<_ACEOF
10290 /* confdefs.h. */
10291 _ACEOF
10292 cat confdefs.h >>conftest.$ac_ext
10293 cat >>conftest.$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10295
10296 int
10297 main ()
10298 {
10299
10300 ;
10301 return 0;
10302 }
10303 _ACEOF
10304 ac_clean_files_save=$ac_clean_files
10305 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10306 # Try to create an executable without -o first, disregard a.out.
10307 # It will help us diagnose broken compilers, and finding out an intuition
10308 # of exeext.
10309 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10310 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10311 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10312 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10313 (eval $ac_link_default) 2>&5
10314 ac_status=$?
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); }; then
10317 # Find the output, starting from the most likely. This scheme is
10318 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10319 # resort.
10320
10321 # Be careful to initialize this variable, since it used to be cached.
10322 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10323 ac_cv_exeext=
10324 # b.out is created by i960 compilers.
10325 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10326 do
10327 test -f "$ac_file" || continue
10328 case $ac_file in
10329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10330 ;;
10331 conftest.$ac_ext )
10332 # This is the source file.
10333 ;;
10334 [ab].out )
10335 # We found the default executable, but exeext='' is most
10336 # certainly right.
10337 break;;
10338 *.* )
10339 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10340 # FIXME: I believe we export ac_cv_exeext for Libtool,
10341 # but it would be cool to find out if it's true. Does anybody
10342 # maintain Libtool? --akim.
10343 export ac_cv_exeext
10344 break;;
10345 * )
10346 break;;
10347 esac
10348 done
10349 else
10350 echo "$as_me: failed program was:" >&5
10351 sed 's/^/| /' conftest.$ac_ext >&5
10352
10353 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10354 See \`config.log' for more details." >&5
10355 echo "$as_me: error: C compiler cannot create executables
10356 See \`config.log' for more details." >&2;}
10357 { (exit 77); exit 77; }; }
10358 fi
10359
10360 ac_exeext=$ac_cv_exeext
10361 echo "$as_me:$LINENO: result: $ac_file" >&5
10362 echo "${ECHO_T}$ac_file" >&6
10363
10364 # Check the compiler produces executables we can run. If not, either
10365 # the compiler is broken, or we cross compile.
10366 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10367 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10368 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10369 # If not cross compiling, check that we can run a simple program.
10370 if test "$cross_compiling" != yes; then
10371 if { ac_try='./$ac_file'
10372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10373 (eval $ac_try) 2>&5
10374 ac_status=$?
10375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376 (exit $ac_status); }; }; then
10377 cross_compiling=no
10378 else
10379 if test "$cross_compiling" = maybe; then
10380 cross_compiling=yes
10381 else
10382 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10383 If you meant to cross compile, use \`--host'.
10384 See \`config.log' for more details." >&5
10385 echo "$as_me: error: cannot run C compiled programs.
10386 If you meant to cross compile, use \`--host'.
10387 See \`config.log' for more details." >&2;}
10388 { (exit 1); exit 1; }; }
10389 fi
10390 fi
10391 fi
10392 echo "$as_me:$LINENO: result: yes" >&5
10393 echo "${ECHO_T}yes" >&6
10394
10395 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10396 ac_clean_files=$ac_clean_files_save
10397 # Check the compiler produces executables we can run. If not, either
10398 # the compiler is broken, or we cross compile.
10399 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10400 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10401 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10402 echo "${ECHO_T}$cross_compiling" >&6
10403
10404 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10405 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10407 (eval $ac_link) 2>&5
10408 ac_status=$?
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; then
10411 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10412 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10413 # work properly (i.e., refer to `conftest.exe'), while it won't with
10414 # `rm'.
10415 for ac_file in conftest.exe conftest conftest.*; do
10416 test -f "$ac_file" || continue
10417 case $ac_file in
10418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10419 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10420 export ac_cv_exeext
10421 break;;
10422 * ) break;;
10423 esac
10424 done
10425 else
10426 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10427 See \`config.log' for more details." >&5
10428 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10429 See \`config.log' for more details." >&2;}
10430 { (exit 1); exit 1; }; }
10431 fi
10432
10433 rm -f conftest$ac_cv_exeext
10434 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10435 echo "${ECHO_T}$ac_cv_exeext" >&6
10436
10437 rm -f conftest.$ac_ext
10438 EXEEXT=$ac_cv_exeext
10439 ac_exeext=$EXEEXT
10440 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10441 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10442 if test "${ac_cv_objext+set}" = set; then
10443 echo $ECHO_N "(cached) $ECHO_C" >&6
10444 else
10445 cat >conftest.$ac_ext <<_ACEOF
10446 /* confdefs.h. */
10447 _ACEOF
10448 cat confdefs.h >>conftest.$ac_ext
10449 cat >>conftest.$ac_ext <<_ACEOF
10450 /* end confdefs.h. */
10451
10452 int
10453 main ()
10454 {
10455
10456 ;
10457 return 0;
10458 }
10459 _ACEOF
10460 rm -f conftest.o conftest.obj
10461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10462 (eval $ac_compile) 2>&5
10463 ac_status=$?
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }; then
10466 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10467 case $ac_file in
10468 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10469 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10470 break;;
10471 esac
10472 done
10473 else
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.$ac_ext >&5
10476
10477 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10478 See \`config.log' for more details." >&5
10479 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10480 See \`config.log' for more details." >&2;}
10481 { (exit 1); exit 1; }; }
10482 fi
10483
10484 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10485 fi
10486 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10487 echo "${ECHO_T}$ac_cv_objext" >&6
10488 OBJEXT=$ac_cv_objext
10489 ac_objext=$OBJEXT
10490 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10491 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10492 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10493 echo $ECHO_N "(cached) $ECHO_C" >&6
10494 else
10495 cat >conftest.$ac_ext <<_ACEOF
10496 /* confdefs.h. */
10497 _ACEOF
10498 cat confdefs.h >>conftest.$ac_ext
10499 cat >>conftest.$ac_ext <<_ACEOF
10500 /* end confdefs.h. */
10501
10502 int
10503 main ()
10504 {
10505 #ifndef __GNUC__
10506 choke me
10507 #endif
10508
10509 ;
10510 return 0;
10511 }
10512 _ACEOF
10513 rm -f conftest.$ac_objext
10514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10515 (eval $ac_compile) 2>conftest.er1
10516 ac_status=$?
10517 grep -v '^ *+' conftest.er1 >conftest.err
10518 rm -f conftest.er1
10519 cat conftest.err >&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } &&
10522 { ac_try='test -z "$ac_c_werror_flag"
10523 || test ! -s conftest.err'
10524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10525 (eval $ac_try) 2>&5
10526 ac_status=$?
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); }; } &&
10529 { ac_try='test -s conftest.$ac_objext'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10532 ac_status=$?
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 ac_compiler_gnu=yes
10536 else
10537 echo "$as_me: failed program was:" >&5
10538 sed 's/^/| /' conftest.$ac_ext >&5
10539
10540 ac_compiler_gnu=no
10541 fi
10542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10543 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10544
10545 fi
10546 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10547 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10548 GCC=`test $ac_compiler_gnu = yes && echo yes`
10549 ac_test_CFLAGS=${CFLAGS+set}
10550 ac_save_CFLAGS=$CFLAGS
10551 CFLAGS="-g"
10552 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10553 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10554 if test "${ac_cv_prog_cc_g+set}" = set; then
10555 echo $ECHO_N "(cached) $ECHO_C" >&6
10556 else
10557 cat >conftest.$ac_ext <<_ACEOF
10558 /* confdefs.h. */
10559 _ACEOF
10560 cat confdefs.h >>conftest.$ac_ext
10561 cat >>conftest.$ac_ext <<_ACEOF
10562 /* end confdefs.h. */
10563
10564 int
10565 main ()
10566 {
10567
10568 ;
10569 return 0;
10570 }
10571 _ACEOF
10572 rm -f conftest.$ac_objext
10573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10574 (eval $ac_compile) 2>conftest.er1
10575 ac_status=$?
10576 grep -v '^ *+' conftest.er1 >conftest.err
10577 rm -f conftest.er1
10578 cat conftest.err >&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); } &&
10581 { ac_try='test -z "$ac_c_werror_flag"
10582 || test ! -s conftest.err'
10583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10584 (eval $ac_try) 2>&5
10585 ac_status=$?
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; } &&
10588 { ac_try='test -s conftest.$ac_objext'
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10590 (eval $ac_try) 2>&5
10591 ac_status=$?
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); }; }; then
10594 ac_cv_prog_cc_g=yes
10595 else
10596 echo "$as_me: failed program was:" >&5
10597 sed 's/^/| /' conftest.$ac_ext >&5
10598
10599 ac_cv_prog_cc_g=no
10600 fi
10601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10602 fi
10603 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10604 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10605 if test "$ac_test_CFLAGS" = set; then
10606 CFLAGS=$ac_save_CFLAGS
10607 elif test $ac_cv_prog_cc_g = yes; then
10608 if test "$GCC" = yes; then
10609 CFLAGS="-g -O2"
10610 else
10611 CFLAGS="-g"
10612 fi
10613 else
10614 if test "$GCC" = yes; then
10615 CFLAGS="-O2"
10616 else
10617 CFLAGS=
10618 fi
10619 fi
10620 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10621 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10622 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10623 echo $ECHO_N "(cached) $ECHO_C" >&6
10624 else
10625 ac_cv_prog_cc_stdc=no
10626 ac_save_CC=$CC
10627 cat >conftest.$ac_ext <<_ACEOF
10628 /* confdefs.h. */
10629 _ACEOF
10630 cat confdefs.h >>conftest.$ac_ext
10631 cat >>conftest.$ac_ext <<_ACEOF
10632 /* end confdefs.h. */
10633 #include <stdarg.h>
10634 #include <stdio.h>
10635 #include <sys/types.h>
10636 #include <sys/stat.h>
10637 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10638 struct buf { int x; };
10639 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10640 static char *e (p, i)
10641 char **p;
10642 int i;
10643 {
10644 return p[i];
10645 }
10646 static char *f (char * (*g) (char **, int), char **p, ...)
10647 {
10648 char *s;
10649 va_list v;
10650 va_start (v,p);
10651 s = g (p, va_arg (v,int));
10652 va_end (v);
10653 return s;
10654 }
10655
10656 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10657 function prototypes and stuff, but not '\xHH' hex character constants.
10658 These don't provoke an error unfortunately, instead are silently treated
10659 as 'x'. The following induces an error, until -std1 is added to get
10660 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10661 array size at least. It's necessary to write '\x00'==0 to get something
10662 that's true only with -std1. */
10663 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10664
10665 int test (int i, double x);
10666 struct s1 {int (*f) (int a);};
10667 struct s2 {int (*f) (double a);};
10668 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10669 int argc;
10670 char **argv;
10671 int
10672 main ()
10673 {
10674 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10675 ;
10676 return 0;
10677 }
10678 _ACEOF
10679 # Don't try gcc -ansi; that turns off useful extensions and
10680 # breaks some systems' header files.
10681 # AIX -qlanglvl=ansi
10682 # Ultrix and OSF/1 -std1
10683 # HP-UX 10.20 and later -Ae
10684 # HP-UX older versions -Aa -D_HPUX_SOURCE
10685 # SVR4 -Xc -D__EXTENSIONS__
10686 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10687 do
10688 CC="$ac_save_CC $ac_arg"
10689 rm -f conftest.$ac_objext
10690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10691 (eval $ac_compile) 2>conftest.er1
10692 ac_status=$?
10693 grep -v '^ *+' conftest.er1 >conftest.err
10694 rm -f conftest.er1
10695 cat conftest.err >&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); } &&
10698 { ac_try='test -z "$ac_c_werror_flag"
10699 || test ! -s conftest.err'
10700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10701 (eval $ac_try) 2>&5
10702 ac_status=$?
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); }; } &&
10705 { ac_try='test -s conftest.$ac_objext'
10706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10707 (eval $ac_try) 2>&5
10708 ac_status=$?
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710 (exit $ac_status); }; }; then
10711 ac_cv_prog_cc_stdc=$ac_arg
10712 break
10713 else
10714 echo "$as_me: failed program was:" >&5
10715 sed 's/^/| /' conftest.$ac_ext >&5
10716
10717 fi
10718 rm -f conftest.err conftest.$ac_objext
10719 done
10720 rm -f conftest.$ac_ext conftest.$ac_objext
10721 CC=$ac_save_CC
10722
10723 fi
10724
10725 case "x$ac_cv_prog_cc_stdc" in
10726 x|xno)
10727 echo "$as_me:$LINENO: result: none needed" >&5
10728 echo "${ECHO_T}none needed" >&6 ;;
10729 *)
10730 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10731 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10732 CC="$CC $ac_cv_prog_cc_stdc" ;;
10733 esac
10734
10735 # Some people use a C++ compiler to compile C. Since we use `exit',
10736 # in C++ we need to declare it. In case someone uses the same compiler
10737 # for both compiling C and C++ we need to have the C++ compiler decide
10738 # the declaration of exit, since it's the most demanding environment.
10739 cat >conftest.$ac_ext <<_ACEOF
10740 #ifndef __cplusplus
10741 choke me
10742 #endif
10743 _ACEOF
10744 rm -f conftest.$ac_objext
10745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10746 (eval $ac_compile) 2>conftest.er1
10747 ac_status=$?
10748 grep -v '^ *+' conftest.er1 >conftest.err
10749 rm -f conftest.er1
10750 cat conftest.err >&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } &&
10753 { ac_try='test -z "$ac_c_werror_flag"
10754 || test ! -s conftest.err'
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5
10757 ac_status=$?
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; } &&
10760 { ac_try='test -s conftest.$ac_objext'
10761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10762 (eval $ac_try) 2>&5
10763 ac_status=$?
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }; }; then
10766 for ac_declaration in \
10767 '' \
10768 'extern "C" void std::exit (int) throw (); using std::exit;' \
10769 'extern "C" void std::exit (int); using std::exit;' \
10770 'extern "C" void exit (int) throw ();' \
10771 'extern "C" void exit (int);' \
10772 'void exit (int);'
10773 do
10774 cat >conftest.$ac_ext <<_ACEOF
10775 /* confdefs.h. */
10776 _ACEOF
10777 cat confdefs.h >>conftest.$ac_ext
10778 cat >>conftest.$ac_ext <<_ACEOF
10779 /* end confdefs.h. */
10780 $ac_declaration
10781 #include <stdlib.h>
10782 int
10783 main ()
10784 {
10785 exit (42);
10786 ;
10787 return 0;
10788 }
10789 _ACEOF
10790 rm -f conftest.$ac_objext
10791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10792 (eval $ac_compile) 2>conftest.er1
10793 ac_status=$?
10794 grep -v '^ *+' conftest.er1 >conftest.err
10795 rm -f conftest.er1
10796 cat conftest.err >&5
10797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10798 (exit $ac_status); } &&
10799 { ac_try='test -z "$ac_c_werror_flag"
10800 || test ! -s conftest.err'
10801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10802 (eval $ac_try) 2>&5
10803 ac_status=$?
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); }; } &&
10806 { ac_try='test -s conftest.$ac_objext'
10807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10808 (eval $ac_try) 2>&5
10809 ac_status=$?
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); }; }; then
10812 :
10813 else
10814 echo "$as_me: failed program was:" >&5
10815 sed 's/^/| /' conftest.$ac_ext >&5
10816
10817 continue
10818 fi
10819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10820 cat >conftest.$ac_ext <<_ACEOF
10821 /* confdefs.h. */
10822 _ACEOF
10823 cat confdefs.h >>conftest.$ac_ext
10824 cat >>conftest.$ac_ext <<_ACEOF
10825 /* end confdefs.h. */
10826 $ac_declaration
10827 int
10828 main ()
10829 {
10830 exit (42);
10831 ;
10832 return 0;
10833 }
10834 _ACEOF
10835 rm -f conftest.$ac_objext
10836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10837 (eval $ac_compile) 2>conftest.er1
10838 ac_status=$?
10839 grep -v '^ *+' conftest.er1 >conftest.err
10840 rm -f conftest.er1
10841 cat conftest.err >&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); } &&
10844 { ac_try='test -z "$ac_c_werror_flag"
10845 || test ! -s conftest.err'
10846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10847 (eval $ac_try) 2>&5
10848 ac_status=$?
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); }; } &&
10851 { ac_try='test -s conftest.$ac_objext'
10852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10853 (eval $ac_try) 2>&5
10854 ac_status=$?
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); }; }; then
10857 break
10858 else
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.$ac_ext >&5
10861
10862 fi
10863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10864 done
10865 rm -f conftest*
10866 if test -n "$ac_declaration"; then
10867 echo '#ifdef __cplusplus' >>confdefs.h
10868 echo $ac_declaration >>confdefs.h
10869 echo '#endif' >>confdefs.h
10870 fi
10871
10872 else
10873 echo "$as_me: failed program was:" >&5
10874 sed 's/^/| /' conftest.$ac_ext >&5
10875
10876 fi
10877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10878 ac_ext=c
10879 ac_cpp='$CPP $CPPFLAGS'
10880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10883
10884
10885
10886 ac_ext=c
10887 ac_cpp='$CPP $CPPFLAGS'
10888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10891 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10892 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10893 # On Suns, sometimes $CPP names a directory.
10894 if test -n "$CPP" && test -d "$CPP"; then
10895 CPP=
10896 fi
10897 if test -z "$CPP"; then
10898 if test "${ac_cv_prog_CPP+set}" = set; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10900 else
10901 # Double quotes because CPP needs to be expanded
10902 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10903 do
10904 ac_preproc_ok=false
10905 for ac_c_preproc_warn_flag in '' yes
10906 do
10907 # Use a header file that comes with gcc, so configuring glibc
10908 # with a fresh cross-compiler works.
10909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10910 # <limits.h> exists even on freestanding compilers.
10911 # On the NeXT, cc -E runs the code through the compiler's parser,
10912 # not just through cpp. "Syntax error" is here to catch this case.
10913 cat >conftest.$ac_ext <<_ACEOF
10914 /* confdefs.h. */
10915 _ACEOF
10916 cat confdefs.h >>conftest.$ac_ext
10917 cat >>conftest.$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10919 #ifdef __STDC__
10920 # include <limits.h>
10921 #else
10922 # include <assert.h>
10923 #endif
10924 Syntax error
10925 _ACEOF
10926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10927 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10928 ac_status=$?
10929 grep -v '^ *+' conftest.er1 >conftest.err
10930 rm -f conftest.er1
10931 cat conftest.err >&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } >/dev/null; then
10934 if test -s conftest.err; then
10935 ac_cpp_err=$ac_c_preproc_warn_flag
10936 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10937 else
10938 ac_cpp_err=
10939 fi
10940 else
10941 ac_cpp_err=yes
10942 fi
10943 if test -z "$ac_cpp_err"; then
10944 :
10945 else
10946 echo "$as_me: failed program was:" >&5
10947 sed 's/^/| /' conftest.$ac_ext >&5
10948
10949 # Broken: fails on valid input.
10950 continue
10951 fi
10952 rm -f conftest.err conftest.$ac_ext
10953
10954 # OK, works on sane cases. Now check whether non-existent headers
10955 # can be detected and how.
10956 cat >conftest.$ac_ext <<_ACEOF
10957 /* confdefs.h. */
10958 _ACEOF
10959 cat confdefs.h >>conftest.$ac_ext
10960 cat >>conftest.$ac_ext <<_ACEOF
10961 /* end confdefs.h. */
10962 #include <ac_nonexistent.h>
10963 _ACEOF
10964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10966 ac_status=$?
10967 grep -v '^ *+' conftest.er1 >conftest.err
10968 rm -f conftest.er1
10969 cat conftest.err >&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } >/dev/null; then
10972 if test -s conftest.err; then
10973 ac_cpp_err=$ac_c_preproc_warn_flag
10974 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10975 else
10976 ac_cpp_err=
10977 fi
10978 else
10979 ac_cpp_err=yes
10980 fi
10981 if test -z "$ac_cpp_err"; then
10982 # Broken: success on invalid input.
10983 continue
10984 else
10985 echo "$as_me: failed program was:" >&5
10986 sed 's/^/| /' conftest.$ac_ext >&5
10987
10988 # Passes both tests.
10989 ac_preproc_ok=:
10990 break
10991 fi
10992 rm -f conftest.err conftest.$ac_ext
10993
10994 done
10995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10996 rm -f conftest.err conftest.$ac_ext
10997 if $ac_preproc_ok; then
10998 break
10999 fi
11000
11001 done
11002 ac_cv_prog_CPP=$CPP
11003
11004 fi
11005 CPP=$ac_cv_prog_CPP
11006 else
11007 ac_cv_prog_CPP=$CPP
11008 fi
11009 echo "$as_me:$LINENO: result: $CPP" >&5
11010 echo "${ECHO_T}$CPP" >&6
11011 ac_preproc_ok=false
11012 for ac_c_preproc_warn_flag in '' yes
11013 do
11014 # Use a header file that comes with gcc, so configuring glibc
11015 # with a fresh cross-compiler works.
11016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11017 # <limits.h> exists even on freestanding compilers.
11018 # On the NeXT, cc -E runs the code through the compiler's parser,
11019 # not just through cpp. "Syntax error" is here to catch this case.
11020 cat >conftest.$ac_ext <<_ACEOF
11021 /* confdefs.h. */
11022 _ACEOF
11023 cat confdefs.h >>conftest.$ac_ext
11024 cat >>conftest.$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11026 #ifdef __STDC__
11027 # include <limits.h>
11028 #else
11029 # include <assert.h>
11030 #endif
11031 Syntax error
11032 _ACEOF
11033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11035 ac_status=$?
11036 grep -v '^ *+' conftest.er1 >conftest.err
11037 rm -f conftest.er1
11038 cat conftest.err >&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); } >/dev/null; then
11041 if test -s conftest.err; then
11042 ac_cpp_err=$ac_c_preproc_warn_flag
11043 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11044 else
11045 ac_cpp_err=
11046 fi
11047 else
11048 ac_cpp_err=yes
11049 fi
11050 if test -z "$ac_cpp_err"; then
11051 :
11052 else
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.$ac_ext >&5
11055
11056 # Broken: fails on valid input.
11057 continue
11058 fi
11059 rm -f conftest.err conftest.$ac_ext
11060
11061 # OK, works on sane cases. Now check whether non-existent headers
11062 # can be detected and how.
11063 cat >conftest.$ac_ext <<_ACEOF
11064 /* confdefs.h. */
11065 _ACEOF
11066 cat confdefs.h >>conftest.$ac_ext
11067 cat >>conftest.$ac_ext <<_ACEOF
11068 /* end confdefs.h. */
11069 #include <ac_nonexistent.h>
11070 _ACEOF
11071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11073 ac_status=$?
11074 grep -v '^ *+' conftest.er1 >conftest.err
11075 rm -f conftest.er1
11076 cat conftest.err >&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } >/dev/null; then
11079 if test -s conftest.err; then
11080 ac_cpp_err=$ac_c_preproc_warn_flag
11081 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11082 else
11083 ac_cpp_err=
11084 fi
11085 else
11086 ac_cpp_err=yes
11087 fi
11088 if test -z "$ac_cpp_err"; then
11089 # Broken: success on invalid input.
11090 continue
11091 else
11092 echo "$as_me: failed program was:" >&5
11093 sed 's/^/| /' conftest.$ac_ext >&5
11094
11095 # Passes both tests.
11096 ac_preproc_ok=:
11097 break
11098 fi
11099 rm -f conftest.err conftest.$ac_ext
11100
11101 done
11102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11103 rm -f conftest.err conftest.$ac_ext
11104 if $ac_preproc_ok; then
11105 :
11106 else
11107 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11108 See \`config.log' for more details." >&5
11109 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11110 See \`config.log' for more details." >&2;}
11111 { (exit 1); exit 1; }; }
11112 fi
11113
11114 ac_ext=c
11115 ac_cpp='$CPP $CPPFLAGS'
11116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11119
11120
11121 echo "$as_me:$LINENO: checking for egrep" >&5
11122 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11123 if test "${ac_cv_prog_egrep+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 else
11126 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11127 then ac_cv_prog_egrep='grep -E'
11128 else ac_cv_prog_egrep='egrep'
11129 fi
11130 fi
11131 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11132 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11133 EGREP=$ac_cv_prog_egrep
11134
11135
11136 if test $ac_cv_c_compiler_gnu = yes; then
11137 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11138 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11139 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11140 echo $ECHO_N "(cached) $ECHO_C" >&6
11141 else
11142 ac_pattern="Autoconf.*'x'"
11143 cat >conftest.$ac_ext <<_ACEOF
11144 /* confdefs.h. */
11145 _ACEOF
11146 cat confdefs.h >>conftest.$ac_ext
11147 cat >>conftest.$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11149 #include <sgtty.h>
11150 Autoconf TIOCGETP
11151 _ACEOF
11152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11153 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11154 ac_cv_prog_gcc_traditional=yes
11155 else
11156 ac_cv_prog_gcc_traditional=no
11157 fi
11158 rm -f conftest*
11159
11160
11161 if test $ac_cv_prog_gcc_traditional = no; then
11162 cat >conftest.$ac_ext <<_ACEOF
11163 /* confdefs.h. */
11164 _ACEOF
11165 cat confdefs.h >>conftest.$ac_ext
11166 cat >>conftest.$ac_ext <<_ACEOF
11167 /* end confdefs.h. */
11168 #include <termio.h>
11169 Autoconf TCGETA
11170 _ACEOF
11171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11172 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11173 ac_cv_prog_gcc_traditional=yes
11174 fi
11175 rm -f conftest*
11176
11177 fi
11178 fi
11179 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11180 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11181 if test $ac_cv_prog_gcc_traditional = yes; then
11182 CC="$CC -traditional"
11183 fi
11184 fi
11185
11186
11187
11188
11189 ac_ext=cc
11190 ac_cpp='$CXXCPP $CPPFLAGS'
11191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11194
11195
11196 CXXFLAGS=${CXXFLAGS:=}
11197 ac_ext=cc
11198 ac_cpp='$CXXCPP $CPPFLAGS'
11199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11202 if test -n "$ac_tool_prefix"; then
11203 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11204 do
11205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11206 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11207 echo "$as_me:$LINENO: checking for $ac_word" >&5
11208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11209 if test "${ac_cv_prog_CXX+set}" = set; then
11210 echo $ECHO_N "(cached) $ECHO_C" >&6
11211 else
11212 if test -n "$CXX"; then
11213 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11214 else
11215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11216 for as_dir in $PATH
11217 do
11218 IFS=$as_save_IFS
11219 test -z "$as_dir" && as_dir=.
11220 for ac_exec_ext in '' $ac_executable_extensions; do
11221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11222 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11224 break 2
11225 fi
11226 done
11227 done
11228
11229 fi
11230 fi
11231 CXX=$ac_cv_prog_CXX
11232 if test -n "$CXX"; then
11233 echo "$as_me:$LINENO: result: $CXX" >&5
11234 echo "${ECHO_T}$CXX" >&6
11235 else
11236 echo "$as_me:$LINENO: result: no" >&5
11237 echo "${ECHO_T}no" >&6
11238 fi
11239
11240 test -n "$CXX" && break
11241 done
11242 fi
11243 if test -z "$CXX"; then
11244 ac_ct_CXX=$CXX
11245 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11246 do
11247 # Extract the first word of "$ac_prog", so it can be a program name with args.
11248 set dummy $ac_prog; ac_word=$2
11249 echo "$as_me:$LINENO: checking for $ac_word" >&5
11250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11251 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11252 echo $ECHO_N "(cached) $ECHO_C" >&6
11253 else
11254 if test -n "$ac_ct_CXX"; then
11255 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11256 else
11257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11258 for as_dir in $PATH
11259 do
11260 IFS=$as_save_IFS
11261 test -z "$as_dir" && as_dir=.
11262 for ac_exec_ext in '' $ac_executable_extensions; do
11263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11264 ac_cv_prog_ac_ct_CXX="$ac_prog"
11265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11266 break 2
11267 fi
11268 done
11269 done
11270
11271 fi
11272 fi
11273 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11274 if test -n "$ac_ct_CXX"; then
11275 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11276 echo "${ECHO_T}$ac_ct_CXX" >&6
11277 else
11278 echo "$as_me:$LINENO: result: no" >&5
11279 echo "${ECHO_T}no" >&6
11280 fi
11281
11282 test -n "$ac_ct_CXX" && break
11283 done
11284 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11285
11286 CXX=$ac_ct_CXX
11287 fi
11288
11289
11290 # Provide some information about the compiler.
11291 echo "$as_me:$LINENO:" \
11292 "checking for C++ compiler version" >&5
11293 ac_compiler=`set X $ac_compile; echo $2`
11294 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11295 (eval $ac_compiler --version </dev/null >&5) 2>&5
11296 ac_status=$?
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); }
11299 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11300 (eval $ac_compiler -v </dev/null >&5) 2>&5
11301 ac_status=$?
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }
11304 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11305 (eval $ac_compiler -V </dev/null >&5) 2>&5
11306 ac_status=$?
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); }
11309
11310 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11311 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11312 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11313 echo $ECHO_N "(cached) $ECHO_C" >&6
11314 else
11315 cat >conftest.$ac_ext <<_ACEOF
11316 /* confdefs.h. */
11317 _ACEOF
11318 cat confdefs.h >>conftest.$ac_ext
11319 cat >>conftest.$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11321
11322 int
11323 main ()
11324 {
11325 #ifndef __GNUC__
11326 choke me
11327 #endif
11328
11329 ;
11330 return 0;
11331 }
11332 _ACEOF
11333 rm -f conftest.$ac_objext
11334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11335 (eval $ac_compile) 2>conftest.er1
11336 ac_status=$?
11337 grep -v '^ *+' conftest.er1 >conftest.err
11338 rm -f conftest.er1
11339 cat conftest.err >&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } &&
11342 { ac_try='test -z "$ac_cxx_werror_flag"
11343 || test ! -s conftest.err'
11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11345 (eval $ac_try) 2>&5
11346 ac_status=$?
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); }; } &&
11349 { ac_try='test -s conftest.$ac_objext'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11352 ac_status=$?
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; }; then
11355 ac_compiler_gnu=yes
11356 else
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.$ac_ext >&5
11359
11360 ac_compiler_gnu=no
11361 fi
11362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11363 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11364
11365 fi
11366 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11367 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11368 GXX=`test $ac_compiler_gnu = yes && echo yes`
11369 ac_test_CXXFLAGS=${CXXFLAGS+set}
11370 ac_save_CXXFLAGS=$CXXFLAGS
11371 CXXFLAGS="-g"
11372 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11373 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11374 if test "${ac_cv_prog_cxx_g+set}" = set; then
11375 echo $ECHO_N "(cached) $ECHO_C" >&6
11376 else
11377 cat >conftest.$ac_ext <<_ACEOF
11378 /* confdefs.h. */
11379 _ACEOF
11380 cat confdefs.h >>conftest.$ac_ext
11381 cat >>conftest.$ac_ext <<_ACEOF
11382 /* end confdefs.h. */
11383
11384 int
11385 main ()
11386 {
11387
11388 ;
11389 return 0;
11390 }
11391 _ACEOF
11392 rm -f conftest.$ac_objext
11393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11394 (eval $ac_compile) 2>conftest.er1
11395 ac_status=$?
11396 grep -v '^ *+' conftest.er1 >conftest.err
11397 rm -f conftest.er1
11398 cat conftest.err >&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); } &&
11401 { ac_try='test -z "$ac_cxx_werror_flag"
11402 || test ! -s conftest.err'
11403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11404 (eval $ac_try) 2>&5
11405 ac_status=$?
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); }; } &&
11408 { ac_try='test -s conftest.$ac_objext'
11409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11410 (eval $ac_try) 2>&5
11411 ac_status=$?
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); }; }; then
11414 ac_cv_prog_cxx_g=yes
11415 else
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.$ac_ext >&5
11418
11419 ac_cv_prog_cxx_g=no
11420 fi
11421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11422 fi
11423 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11424 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11425 if test "$ac_test_CXXFLAGS" = set; then
11426 CXXFLAGS=$ac_save_CXXFLAGS
11427 elif test $ac_cv_prog_cxx_g = yes; then
11428 if test "$GXX" = yes; then
11429 CXXFLAGS="-g -O2"
11430 else
11431 CXXFLAGS="-g"
11432 fi
11433 else
11434 if test "$GXX" = yes; then
11435 CXXFLAGS="-O2"
11436 else
11437 CXXFLAGS=
11438 fi
11439 fi
11440 for ac_declaration in \
11441 '' \
11442 'extern "C" void std::exit (int) throw (); using std::exit;' \
11443 'extern "C" void std::exit (int); using std::exit;' \
11444 'extern "C" void exit (int) throw ();' \
11445 'extern "C" void exit (int);' \
11446 'void exit (int);'
11447 do
11448 cat >conftest.$ac_ext <<_ACEOF
11449 /* confdefs.h. */
11450 _ACEOF
11451 cat confdefs.h >>conftest.$ac_ext
11452 cat >>conftest.$ac_ext <<_ACEOF
11453 /* end confdefs.h. */
11454 $ac_declaration
11455 #include <stdlib.h>
11456 int
11457 main ()
11458 {
11459 exit (42);
11460 ;
11461 return 0;
11462 }
11463 _ACEOF
11464 rm -f conftest.$ac_objext
11465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11466 (eval $ac_compile) 2>conftest.er1
11467 ac_status=$?
11468 grep -v '^ *+' conftest.er1 >conftest.err
11469 rm -f conftest.er1
11470 cat conftest.err >&5
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 (exit $ac_status); } &&
11473 { ac_try='test -z "$ac_cxx_werror_flag"
11474 || test ! -s conftest.err'
11475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11476 (eval $ac_try) 2>&5
11477 ac_status=$?
11478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479 (exit $ac_status); }; } &&
11480 { ac_try='test -s conftest.$ac_objext'
11481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11482 (eval $ac_try) 2>&5
11483 ac_status=$?
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); }; }; then
11486 :
11487 else
11488 echo "$as_me: failed program was:" >&5
11489 sed 's/^/| /' conftest.$ac_ext >&5
11490
11491 continue
11492 fi
11493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11494 cat >conftest.$ac_ext <<_ACEOF
11495 /* confdefs.h. */
11496 _ACEOF
11497 cat confdefs.h >>conftest.$ac_ext
11498 cat >>conftest.$ac_ext <<_ACEOF
11499 /* end confdefs.h. */
11500 $ac_declaration
11501 int
11502 main ()
11503 {
11504 exit (42);
11505 ;
11506 return 0;
11507 }
11508 _ACEOF
11509 rm -f conftest.$ac_objext
11510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11511 (eval $ac_compile) 2>conftest.er1
11512 ac_status=$?
11513 grep -v '^ *+' conftest.er1 >conftest.err
11514 rm -f conftest.er1
11515 cat conftest.err >&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } &&
11518 { ac_try='test -z "$ac_cxx_werror_flag"
11519 || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11522 ac_status=$?
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try='test -s conftest.$ac_objext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11528 ac_status=$?
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 break
11532 else
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.$ac_ext >&5
11535
11536 fi
11537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11538 done
11539 rm -f conftest*
11540 if test -n "$ac_declaration"; then
11541 echo '#ifdef __cplusplus' >>confdefs.h
11542 echo $ac_declaration >>confdefs.h
11543 echo '#endif' >>confdefs.h
11544 fi
11545
11546 ac_ext=cc
11547 ac_cpp='$CXXCPP $CPPFLAGS'
11548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11551
11552
11553 ac_ext=c
11554 ac_cpp='$CPP $CPPFLAGS'
11555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11558
11559
11560 if test -n "$ac_tool_prefix"; then
11561 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11562 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11563 echo "$as_me:$LINENO: checking for $ac_word" >&5
11564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11565 if test "${ac_cv_prog_RANLIB+set}" = set; then
11566 echo $ECHO_N "(cached) $ECHO_C" >&6
11567 else
11568 if test -n "$RANLIB"; then
11569 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11570 else
11571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11572 for as_dir in $PATH
11573 do
11574 IFS=$as_save_IFS
11575 test -z "$as_dir" && as_dir=.
11576 for ac_exec_ext in '' $ac_executable_extensions; do
11577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11578 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11580 break 2
11581 fi
11582 done
11583 done
11584
11585 fi
11586 fi
11587 RANLIB=$ac_cv_prog_RANLIB
11588 if test -n "$RANLIB"; then
11589 echo "$as_me:$LINENO: result: $RANLIB" >&5
11590 echo "${ECHO_T}$RANLIB" >&6
11591 else
11592 echo "$as_me:$LINENO: result: no" >&5
11593 echo "${ECHO_T}no" >&6
11594 fi
11595
11596 fi
11597 if test -z "$ac_cv_prog_RANLIB"; then
11598 ac_ct_RANLIB=$RANLIB
11599 # Extract the first word of "ranlib", so it can be a program name with args.
11600 set dummy ranlib; ac_word=$2
11601 echo "$as_me:$LINENO: checking for $ac_word" >&5
11602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11603 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11604 echo $ECHO_N "(cached) $ECHO_C" >&6
11605 else
11606 if test -n "$ac_ct_RANLIB"; then
11607 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11608 else
11609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11610 for as_dir in $PATH
11611 do
11612 IFS=$as_save_IFS
11613 test -z "$as_dir" && as_dir=.
11614 for ac_exec_ext in '' $ac_executable_extensions; do
11615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11616 ac_cv_prog_ac_ct_RANLIB="ranlib"
11617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11618 break 2
11619 fi
11620 done
11621 done
11622
11623 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11624 fi
11625 fi
11626 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11627 if test -n "$ac_ct_RANLIB"; then
11628 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11629 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11630 else
11631 echo "$as_me:$LINENO: result: no" >&5
11632 echo "${ECHO_T}no" >&6
11633 fi
11634
11635 RANLIB=$ac_ct_RANLIB
11636 else
11637 RANLIB="$ac_cv_prog_RANLIB"
11638 fi
11639
11640
11641 # Extract the first word of "ar", so it can be a program name with args.
11642 set dummy ar; ac_word=$2
11643 echo "$as_me:$LINENO: checking for $ac_word" >&5
11644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11645 if test "${ac_cv_prog_AR+set}" = set; then
11646 echo $ECHO_N "(cached) $ECHO_C" >&6
11647 else
11648 if test -n "$AR"; then
11649 ac_cv_prog_AR="$AR" # Let the user override the test.
11650 else
11651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11652 for as_dir in $PATH
11653 do
11654 IFS=$as_save_IFS
11655 test -z "$as_dir" && as_dir=.
11656 for ac_exec_ext in '' $ac_executable_extensions; do
11657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11658 ac_cv_prog_AR="ar"
11659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11660 break 2
11661 fi
11662 done
11663 done
11664
11665 fi
11666 fi
11667 AR=$ac_cv_prog_AR
11668 if test -n "$AR"; then
11669 echo "$as_me:$LINENO: result: $AR" >&5
11670 echo "${ECHO_T}$AR" >&6
11671 else
11672 echo "$as_me:$LINENO: result: no" >&5
11673 echo "${ECHO_T}no" >&6
11674 fi
11675
11676 if test "x$AR" = "x" ; then
11677 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11678 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11679 { (exit 1); exit 1; }; }
11680 fi
11681
11682 # Find a good install program. We prefer a C program (faster),
11683 # so one script is as good as another. But avoid the broken or
11684 # incompatible versions:
11685 # SysV /etc/install, /usr/sbin/install
11686 # SunOS /usr/etc/install
11687 # IRIX /sbin/install
11688 # AIX /bin/install
11689 # AmigaOS /C/install, which installs bootblocks on floppy discs
11690 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11691 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11692 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11693 # OS/2's system install, which has a completely different semantic
11694 # ./install, which can be erroneously created by make from ./install.sh.
11695 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11696 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11697 if test -z "$INSTALL"; then
11698 if test "${ac_cv_path_install+set}" = set; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11700 else
11701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11702 for as_dir in $PATH
11703 do
11704 IFS=$as_save_IFS
11705 test -z "$as_dir" && as_dir=.
11706 # Account for people who put trailing slashes in PATH elements.
11707 case $as_dir/ in
11708 ./ | .// | /cC/* | \
11709 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11710 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11711 /usr/ucb/* ) ;;
11712 *)
11713 # OSF1 and SCO ODT 3.0 have their own names for install.
11714 # Don't use installbsd from OSF since it installs stuff as root
11715 # by default.
11716 for ac_prog in ginstall scoinst install; do
11717 for ac_exec_ext in '' $ac_executable_extensions; do
11718 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11719 if test $ac_prog = install &&
11720 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11721 # AIX install. It has an incompatible calling convention.
11722 :
11723 elif test $ac_prog = install &&
11724 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11725 # program-specific install script used by HP pwplus--don't use.
11726 :
11727 else
11728 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11729 break 3
11730 fi
11731 fi
11732 done
11733 done
11734 ;;
11735 esac
11736 done
11737
11738
11739 fi
11740 if test "${ac_cv_path_install+set}" = set; then
11741 INSTALL=$ac_cv_path_install
11742 else
11743 # As a last resort, use the slow shell script. We don't cache a
11744 # path for INSTALL within a source directory, because that will
11745 # break other packages using the cache if that directory is
11746 # removed, or if the path is relative.
11747 INSTALL=$ac_install_sh
11748 fi
11749 fi
11750 echo "$as_me:$LINENO: result: $INSTALL" >&5
11751 echo "${ECHO_T}$INSTALL" >&6
11752
11753 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11754 # It thinks the first close brace ends the variable substitution.
11755 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11756
11757 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11758
11759 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11760
11761
11762 case ${INSTALL} in
11763 /* ) # Absolute
11764 ;;
11765 ?:* ) # Drive letter, considered as absolute.
11766 ;;
11767 *)
11768 INSTALL=`pwd`/${INSTALL} ;;
11769 esac
11770
11771 case ${host} in
11772 *-hp-hpux* )
11773 INSTALL_DIR="mkdir"
11774 ;;
11775
11776 *) INSTALL_DIR="$INSTALL -d"
11777 ;;
11778 esac
11779
11780
11781 case "${host}" in
11782
11783 powerpc-*-darwin* )
11784 INSTALL_PROGRAM="cp -fp"
11785 INSTALL_DATA="cp -fp"
11786 ;;
11787 *)
11788 ;;
11789 esac
11790
11791 # Extract the first word of "strip", so it can be a program name with args.
11792 set dummy strip; ac_word=$2
11793 echo "$as_me:$LINENO: checking for $ac_word" >&5
11794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11795 if test "${ac_cv_prog_STRIP+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11797 else
11798 if test -n "$STRIP"; then
11799 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11800 else
11801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11802 for as_dir in $PATH
11803 do
11804 IFS=$as_save_IFS
11805 test -z "$as_dir" && as_dir=.
11806 for ac_exec_ext in '' $ac_executable_extensions; do
11807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11808 ac_cv_prog_STRIP="strip"
11809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11810 break 2
11811 fi
11812 done
11813 done
11814
11815 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11816 fi
11817 fi
11818 STRIP=$ac_cv_prog_STRIP
11819 if test -n "$STRIP"; then
11820 echo "$as_me:$LINENO: result: $STRIP" >&5
11821 echo "${ECHO_T}$STRIP" >&6
11822 else
11823 echo "$as_me:$LINENO: result: no" >&5
11824 echo "${ECHO_T}no" >&6
11825 fi
11826
11827
11828 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11829 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11830 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11831 echo $ECHO_N "(cached) $ECHO_C" >&6
11832 else
11833
11834 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11835 egrep -s GNU > /dev/null); then
11836 wx_cv_prog_makeisgnu="yes"
11837 else
11838 wx_cv_prog_makeisgnu="no"
11839 fi
11840
11841 fi
11842 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11843 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11844
11845 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11846 IF_GNU_MAKE=""
11847 else
11848 IF_GNU_MAKE="#"
11849 fi
11850
11851
11852
11853 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11854 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11855 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11856 if test "${wx_cv_prog_makevpath+set}" = set; then
11857 echo $ECHO_N "(cached) $ECHO_C" >&6
11858 else
11859
11860 cat - << EOF > confMake
11861 check : file
11862 cp \$? \$@
11863 cp \$? final_file
11864 EOF
11865
11866 if test ! -d sub ; then
11867 mkdir sub
11868 fi
11869 echo dummy > sub/file
11870 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11871 RESULT=$?
11872 rm -f sub/file check final_file confMake
11873 rmdir sub
11874 if test "$RESULT" = 0; then
11875 wx_cv_prog_makevpath="yes"
11876 else
11877 wx_cv_prog_makevpath="no"
11878 fi
11879
11880 fi
11881 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11882 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11883
11884 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11885 { { echo "$as_me:$LINENO: error:
11886 You need a make-utility that is able to use the variable
11887 VPATH correctly.
11888 If your version of make does not support VPATH correctly,
11889 please install GNU-make (possibly as gmake), and start
11890 configure with the following command:
11891 export MAKE=gmake; ./configure for sh-type shells
11892 setenv MAKE gmake; ./configure for csh-type shells
11893 Also please do remember to use gmake in this case every time
11894 you are trying to compile.
11895 " >&5
11896 echo "$as_me: error:
11897 You need a make-utility that is able to use the variable
11898 VPATH correctly.
11899 If your version of make does not support VPATH correctly,
11900 please install GNU-make (possibly as gmake), and start
11901 configure with the following command:
11902 export MAKE=gmake; ./configure for sh-type shells
11903 setenv MAKE gmake; ./configure for csh-type shells
11904 Also please do remember to use gmake in this case every time
11905 you are trying to compile.
11906 " >&2;}
11907 { (exit 1); exit 1; }; }
11908 fi fi
11909 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11910 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11911 LN_S=$as_ln_s
11912 if test "$LN_S" = "ln -s"; then
11913 echo "$as_me:$LINENO: result: yes" >&5
11914 echo "${ECHO_T}yes" >&6
11915 else
11916 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11917 echo "${ECHO_T}no, using $LN_S" >&6
11918 fi
11919
11920
11921 case "${host}" in
11922 *-pc-os2_emx | *-pc-os2-emx )
11923 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11924 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11925 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11926 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11927 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 else
11929 ac_check_lib_save_LIBS=$LIBS
11930 LIBS="-lcExt $LIBS"
11931 cat >conftest.$ac_ext <<_ACEOF
11932 /* confdefs.h. */
11933 _ACEOF
11934 cat confdefs.h >>conftest.$ac_ext
11935 cat >>conftest.$ac_ext <<_ACEOF
11936 /* end confdefs.h. */
11937
11938 /* Override any gcc2 internal prototype to avoid an error. */
11939 #ifdef __cplusplus
11940 extern "C"
11941 #endif
11942 /* We use char because int might match the return type of a gcc2
11943 builtin and then its argument prototype would still apply. */
11944 char drand48 ();
11945 int
11946 main ()
11947 {
11948 drand48 ();
11949 ;
11950 return 0;
11951 }
11952 _ACEOF
11953 rm -f conftest.$ac_objext conftest$ac_exeext
11954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11955 (eval $ac_link) 2>conftest.er1
11956 ac_status=$?
11957 grep -v '^ *+' conftest.er1 >conftest.err
11958 rm -f conftest.er1
11959 cat conftest.err >&5
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); } &&
11962 { ac_try='test -z "$ac_c_werror_flag"
11963 || test ! -s conftest.err'
11964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11965 (eval $ac_try) 2>&5
11966 ac_status=$?
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); }; } &&
11969 { ac_try='test -s conftest$ac_exeext'
11970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11971 (eval $ac_try) 2>&5
11972 ac_status=$?
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); }; }; then
11975 ac_cv_lib_cExt_drand48=yes
11976 else
11977 echo "$as_me: failed program was:" >&5
11978 sed 's/^/| /' conftest.$ac_ext >&5
11979
11980 ac_cv_lib_cExt_drand48=no
11981 fi
11982 rm -f conftest.err conftest.$ac_objext \
11983 conftest$ac_exeext conftest.$ac_ext
11984 LIBS=$ac_check_lib_save_LIBS
11985 fi
11986 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11987 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11988 if test $ac_cv_lib_cExt_drand48 = yes; then
11989 LIBS="$LIBS -lcExt"
11990 fi
11991
11992 else
11993 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11994 fi
11995 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11996 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11997 if test "${wx_cv_gcc3+set}" = set; then
11998 echo $ECHO_N "(cached) $ECHO_C" >&6
11999 else
12000
12001 cat >conftest.$ac_ext <<_ACEOF
12002 /* confdefs.h. */
12003 _ACEOF
12004 cat confdefs.h >>conftest.$ac_ext
12005 cat >>conftest.$ac_ext <<_ACEOF
12006 /* end confdefs.h. */
12007
12008 int
12009 main ()
12010 {
12011
12012 #if (__GNUC__ < 3)
12013 #error old gcc
12014 #endif
12015
12016 ;
12017 return 0;
12018 }
12019 _ACEOF
12020 rm -f conftest.$ac_objext
12021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12022 (eval $ac_compile) 2>conftest.er1
12023 ac_status=$?
12024 grep -v '^ *+' conftest.er1 >conftest.err
12025 rm -f conftest.er1
12026 cat conftest.err >&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); } &&
12029 { ac_try='test -z "$ac_c_werror_flag"
12030 || test ! -s conftest.err'
12031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12032 (eval $ac_try) 2>&5
12033 ac_status=$?
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); }; } &&
12036 { ac_try='test -s conftest.$ac_objext'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12039 ac_status=$?
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; }; then
12042
12043 wx_cv_gcc3=yes
12044
12045 else
12046 echo "$as_me: failed program was:" >&5
12047 sed 's/^/| /' conftest.$ac_ext >&5
12048
12049
12050 wx_cv_gcc3=no
12051
12052
12053 fi
12054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12055
12056 fi
12057 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
12058 echo "${ECHO_T}$wx_cv_gcc3" >&6
12059 if test "$wx_cv_gcc3" = "no"; then
12060 LIBS="$LIBS -lstdcpp"
12061 else
12062 LIBS="$LIBS -lstdcxx"
12063 fi
12064 ;;
12065 esac
12066
12067
12068 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
12069 echo "$as_me:$LINENO: checking for strings.h" >&5
12070 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
12071 if test "${ac_cv_header_strings_h+set}" = set; then
12072 echo $ECHO_N "(cached) $ECHO_C" >&6
12073 else
12074 ac_cv_header_strings_h=no
12075 fi
12076 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
12077 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
12078 if test "$ac_cv_header_strings_h" = "no"; then
12079 echo "$as_me:$LINENO: result: forced no into cache" >&5
12080 echo "${ECHO_T}forced no into cache" >&6
12081 else
12082 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
12083 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
12084 fi
12085 fi
12086 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12087 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12088 if test "${ac_cv_header_stdc+set}" = set; then
12089 echo $ECHO_N "(cached) $ECHO_C" >&6
12090 else
12091 cat >conftest.$ac_ext <<_ACEOF
12092 /* confdefs.h. */
12093 _ACEOF
12094 cat confdefs.h >>conftest.$ac_ext
12095 cat >>conftest.$ac_ext <<_ACEOF
12096 /* end confdefs.h. */
12097 #include <stdlib.h>
12098 #include <stdarg.h>
12099 #include <string.h>
12100 #include <float.h>
12101
12102 int
12103 main ()
12104 {
12105
12106 ;
12107 return 0;
12108 }
12109 _ACEOF
12110 rm -f conftest.$ac_objext
12111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12112 (eval $ac_compile) 2>conftest.er1
12113 ac_status=$?
12114 grep -v '^ *+' conftest.er1 >conftest.err
12115 rm -f conftest.er1
12116 cat conftest.err >&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } &&
12119 { ac_try='test -z "$ac_c_werror_flag"
12120 || test ! -s conftest.err'
12121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12122 (eval $ac_try) 2>&5
12123 ac_status=$?
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); }; } &&
12126 { ac_try='test -s conftest.$ac_objext'
12127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12128 (eval $ac_try) 2>&5
12129 ac_status=$?
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); }; }; then
12132 ac_cv_header_stdc=yes
12133 else
12134 echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.$ac_ext >&5
12136
12137 ac_cv_header_stdc=no
12138 fi
12139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12140
12141 if test $ac_cv_header_stdc = yes; then
12142 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12143 cat >conftest.$ac_ext <<_ACEOF
12144 /* confdefs.h. */
12145 _ACEOF
12146 cat confdefs.h >>conftest.$ac_ext
12147 cat >>conftest.$ac_ext <<_ACEOF
12148 /* end confdefs.h. */
12149 #include <string.h>
12150
12151 _ACEOF
12152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12153 $EGREP "memchr" >/dev/null 2>&1; then
12154 :
12155 else
12156 ac_cv_header_stdc=no
12157 fi
12158 rm -f conftest*
12159
12160 fi
12161
12162 if test $ac_cv_header_stdc = yes; then
12163 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12164 cat >conftest.$ac_ext <<_ACEOF
12165 /* confdefs.h. */
12166 _ACEOF
12167 cat confdefs.h >>conftest.$ac_ext
12168 cat >>conftest.$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12170 #include <stdlib.h>
12171
12172 _ACEOF
12173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12174 $EGREP "free" >/dev/null 2>&1; then
12175 :
12176 else
12177 ac_cv_header_stdc=no
12178 fi
12179 rm -f conftest*
12180
12181 fi
12182
12183 if test $ac_cv_header_stdc = yes; then
12184 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12185 if test "$cross_compiling" = yes; then
12186 :
12187 else
12188 cat >conftest.$ac_ext <<_ACEOF
12189 /* confdefs.h. */
12190 _ACEOF
12191 cat confdefs.h >>conftest.$ac_ext
12192 cat >>conftest.$ac_ext <<_ACEOF
12193 /* end confdefs.h. */
12194 #include <ctype.h>
12195 #if ((' ' & 0x0FF) == 0x020)
12196 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12197 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12198 #else
12199 # define ISLOWER(c) \
12200 (('a' <= (c) && (c) <= 'i') \
12201 || ('j' <= (c) && (c) <= 'r') \
12202 || ('s' <= (c) && (c) <= 'z'))
12203 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12204 #endif
12205
12206 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12207 int
12208 main ()
12209 {
12210 int i;
12211 for (i = 0; i < 256; i++)
12212 if (XOR (islower (i), ISLOWER (i))
12213 || toupper (i) != TOUPPER (i))
12214 exit(2);
12215 exit (0);
12216 }
12217 _ACEOF
12218 rm -f conftest$ac_exeext
12219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12220 (eval $ac_link) 2>&5
12221 ac_status=$?
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12226 ac_status=$?
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; }; then
12229 :
12230 else
12231 echo "$as_me: program exited with status $ac_status" >&5
12232 echo "$as_me: failed program was:" >&5
12233 sed 's/^/| /' conftest.$ac_ext >&5
12234
12235 ( exit $ac_status )
12236 ac_cv_header_stdc=no
12237 fi
12238 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12239 fi
12240 fi
12241 fi
12242 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12243 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12244 if test $ac_cv_header_stdc = yes; then
12245
12246 cat >>confdefs.h <<\_ACEOF
12247 #define STDC_HEADERS 1
12248 _ACEOF
12249
12250 fi
12251
12252 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12263 inttypes.h stdint.h unistd.h
12264 do
12265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12266 echo "$as_me:$LINENO: checking for $ac_header" >&5
12267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12269 echo $ECHO_N "(cached) $ECHO_C" >&6
12270 else
12271 cat >conftest.$ac_ext <<_ACEOF
12272 /* confdefs.h. */
12273 _ACEOF
12274 cat confdefs.h >>conftest.$ac_ext
12275 cat >>conftest.$ac_ext <<_ACEOF
12276 /* end confdefs.h. */
12277 $ac_includes_default
12278
12279 #include <$ac_header>
12280 _ACEOF
12281 rm -f conftest.$ac_objext
12282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12283 (eval $ac_compile) 2>conftest.er1
12284 ac_status=$?
12285 grep -v '^ *+' conftest.er1 >conftest.err
12286 rm -f conftest.er1
12287 cat conftest.err >&5
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); } &&
12290 { ac_try='test -z "$ac_c_werror_flag"
12291 || test ! -s conftest.err'
12292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12293 (eval $ac_try) 2>&5
12294 ac_status=$?
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); }; } &&
12297 { ac_try='test -s conftest.$ac_objext'
12298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12299 (eval $ac_try) 2>&5
12300 ac_status=$?
12301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); }; }; then
12303 eval "$as_ac_Header=yes"
12304 else
12305 echo "$as_me: failed program was:" >&5
12306 sed 's/^/| /' conftest.$ac_ext >&5
12307
12308 eval "$as_ac_Header=no"
12309 fi
12310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12311 fi
12312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12315 cat >>confdefs.h <<_ACEOF
12316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12317 _ACEOF
12318
12319 fi
12320
12321 done
12322
12323
12324
12325 for ac_header in strings.h
12326 do
12327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12329 echo "$as_me:$LINENO: checking for $ac_header" >&5
12330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12332 echo $ECHO_N "(cached) $ECHO_C" >&6
12333 fi
12334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12336 else
12337 # Is the header compilable?
12338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12340 cat >conftest.$ac_ext <<_ACEOF
12341 /* confdefs.h. */
12342 _ACEOF
12343 cat confdefs.h >>conftest.$ac_ext
12344 cat >>conftest.$ac_ext <<_ACEOF
12345 /* end confdefs.h. */
12346 $ac_includes_default
12347 #include <$ac_header>
12348 _ACEOF
12349 rm -f conftest.$ac_objext
12350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12351 (eval $ac_compile) 2>conftest.er1
12352 ac_status=$?
12353 grep -v '^ *+' conftest.er1 >conftest.err
12354 rm -f conftest.er1
12355 cat conftest.err >&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); } &&
12358 { ac_try='test -z "$ac_c_werror_flag"
12359 || test ! -s conftest.err'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12362 ac_status=$?
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; } &&
12365 { ac_try='test -s conftest.$ac_objext'
12366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5
12368 ac_status=$?
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; }; then
12371 ac_header_compiler=yes
12372 else
12373 echo "$as_me: failed program was:" >&5
12374 sed 's/^/| /' conftest.$ac_ext >&5
12375
12376 ac_header_compiler=no
12377 fi
12378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12380 echo "${ECHO_T}$ac_header_compiler" >&6
12381
12382 # Is the header present?
12383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12385 cat >conftest.$ac_ext <<_ACEOF
12386 /* confdefs.h. */
12387 _ACEOF
12388 cat confdefs.h >>conftest.$ac_ext
12389 cat >>conftest.$ac_ext <<_ACEOF
12390 /* end confdefs.h. */
12391 #include <$ac_header>
12392 _ACEOF
12393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12394 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12395 ac_status=$?
12396 grep -v '^ *+' conftest.er1 >conftest.err
12397 rm -f conftest.er1
12398 cat conftest.err >&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); } >/dev/null; then
12401 if test -s conftest.err; then
12402 ac_cpp_err=$ac_c_preproc_warn_flag
12403 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12404 else
12405 ac_cpp_err=
12406 fi
12407 else
12408 ac_cpp_err=yes
12409 fi
12410 if test -z "$ac_cpp_err"; then
12411 ac_header_preproc=yes
12412 else
12413 echo "$as_me: failed program was:" >&5
12414 sed 's/^/| /' conftest.$ac_ext >&5
12415
12416 ac_header_preproc=no
12417 fi
12418 rm -f conftest.err conftest.$ac_ext
12419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12420 echo "${ECHO_T}$ac_header_preproc" >&6
12421
12422 # So? What about this header?
12423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12424 yes:no: )
12425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12429 ac_header_preproc=yes
12430 ;;
12431 no:yes:* )
12432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12436 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12438 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12439 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12442 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12444 (
12445 cat <<\_ASBOX
12446 ## ----------------------------------------- ##
12447 ## Report this to wx-dev@lists.wxwindows.org ##
12448 ## ----------------------------------------- ##
12449 _ASBOX
12450 ) |
12451 sed "s/^/$as_me: WARNING: /" >&2
12452 ;;
12453 esac
12454 echo "$as_me:$LINENO: checking for $ac_header" >&5
12455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12457 echo $ECHO_N "(cached) $ECHO_C" >&6
12458 else
12459 eval "$as_ac_Header=\$ac_header_preproc"
12460 fi
12461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12463
12464 fi
12465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12466 cat >>confdefs.h <<_ACEOF
12467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12468 _ACEOF
12469
12470 fi
12471
12472 done
12473
12474
12475
12476 for ac_header in stdlib.h
12477 do
12478 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12480 echo "$as_me:$LINENO: checking for $ac_header" >&5
12481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12483 echo $ECHO_N "(cached) $ECHO_C" >&6
12484 fi
12485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12487 else
12488 # Is the header compilable?
12489 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12490 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12491 cat >conftest.$ac_ext <<_ACEOF
12492 /* confdefs.h. */
12493 _ACEOF
12494 cat confdefs.h >>conftest.$ac_ext
12495 cat >>conftest.$ac_ext <<_ACEOF
12496 /* end confdefs.h. */
12497 $ac_includes_default
12498 #include <$ac_header>
12499 _ACEOF
12500 rm -f conftest.$ac_objext
12501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12502 (eval $ac_compile) 2>conftest.er1
12503 ac_status=$?
12504 grep -v '^ *+' conftest.er1 >conftest.err
12505 rm -f conftest.er1
12506 cat conftest.err >&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } &&
12509 { ac_try='test -z "$ac_c_werror_flag"
12510 || test ! -s conftest.err'
12511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5
12513 ac_status=$?
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; } &&
12516 { ac_try='test -s conftest.$ac_objext'
12517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12518 (eval $ac_try) 2>&5
12519 ac_status=$?
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; }; then
12522 ac_header_compiler=yes
12523 else
12524 echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.$ac_ext >&5
12526
12527 ac_header_compiler=no
12528 fi
12529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12531 echo "${ECHO_T}$ac_header_compiler" >&6
12532
12533 # Is the header present?
12534 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12535 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12536 cat >conftest.$ac_ext <<_ACEOF
12537 /* confdefs.h. */
12538 _ACEOF
12539 cat confdefs.h >>conftest.$ac_ext
12540 cat >>conftest.$ac_ext <<_ACEOF
12541 /* end confdefs.h. */
12542 #include <$ac_header>
12543 _ACEOF
12544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12545 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12546 ac_status=$?
12547 grep -v '^ *+' conftest.er1 >conftest.err
12548 rm -f conftest.er1
12549 cat conftest.err >&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); } >/dev/null; then
12552 if test -s conftest.err; then
12553 ac_cpp_err=$ac_c_preproc_warn_flag
12554 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12555 else
12556 ac_cpp_err=
12557 fi
12558 else
12559 ac_cpp_err=yes
12560 fi
12561 if test -z "$ac_cpp_err"; then
12562 ac_header_preproc=yes
12563 else
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12566
12567 ac_header_preproc=no
12568 fi
12569 rm -f conftest.err conftest.$ac_ext
12570 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12571 echo "${ECHO_T}$ac_header_preproc" >&6
12572
12573 # So? What about this header?
12574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12575 yes:no: )
12576 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12577 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12579 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12580 ac_header_preproc=yes
12581 ;;
12582 no:yes:* )
12583 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12584 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12585 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12586 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12587 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12588 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12589 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12590 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12593 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12594 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12595 (
12596 cat <<\_ASBOX
12597 ## ----------------------------------------- ##
12598 ## Report this to wx-dev@lists.wxwindows.org ##
12599 ## ----------------------------------------- ##
12600 _ASBOX
12601 ) |
12602 sed "s/^/$as_me: WARNING: /" >&2
12603 ;;
12604 esac
12605 echo "$as_me:$LINENO: checking for $ac_header" >&5
12606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12608 echo $ECHO_N "(cached) $ECHO_C" >&6
12609 else
12610 eval "$as_ac_Header=\$ac_header_preproc"
12611 fi
12612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12614
12615 fi
12616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12617 cat >>confdefs.h <<_ACEOF
12618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12619 _ACEOF
12620
12621 fi
12622
12623 done
12624
12625
12626 for ac_header in malloc.h
12627 do
12628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12630 echo "$as_me:$LINENO: checking for $ac_header" >&5
12631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12633 echo $ECHO_N "(cached) $ECHO_C" >&6
12634 fi
12635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12637 else
12638 # Is the header compilable?
12639 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12640 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12641 cat >conftest.$ac_ext <<_ACEOF
12642 /* confdefs.h. */
12643 _ACEOF
12644 cat confdefs.h >>conftest.$ac_ext
12645 cat >>conftest.$ac_ext <<_ACEOF
12646 /* end confdefs.h. */
12647 $ac_includes_default
12648 #include <$ac_header>
12649 _ACEOF
12650 rm -f conftest.$ac_objext
12651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12652 (eval $ac_compile) 2>conftest.er1
12653 ac_status=$?
12654 grep -v '^ *+' conftest.er1 >conftest.err
12655 rm -f conftest.er1
12656 cat conftest.err >&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); } &&
12659 { ac_try='test -z "$ac_c_werror_flag"
12660 || test ! -s conftest.err'
12661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12662 (eval $ac_try) 2>&5
12663 ac_status=$?
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); }; } &&
12666 { ac_try='test -s conftest.$ac_objext'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12669 ac_status=$?
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; }; then
12672 ac_header_compiler=yes
12673 else
12674 echo "$as_me: failed program was:" >&5
12675 sed 's/^/| /' conftest.$ac_ext >&5
12676
12677 ac_header_compiler=no
12678 fi
12679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12681 echo "${ECHO_T}$ac_header_compiler" >&6
12682
12683 # Is the header present?
12684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12686 cat >conftest.$ac_ext <<_ACEOF
12687 /* confdefs.h. */
12688 _ACEOF
12689 cat confdefs.h >>conftest.$ac_ext
12690 cat >>conftest.$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692 #include <$ac_header>
12693 _ACEOF
12694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12696 ac_status=$?
12697 grep -v '^ *+' conftest.er1 >conftest.err
12698 rm -f conftest.er1
12699 cat conftest.err >&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); } >/dev/null; then
12702 if test -s conftest.err; then
12703 ac_cpp_err=$ac_c_preproc_warn_flag
12704 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12705 else
12706 ac_cpp_err=
12707 fi
12708 else
12709 ac_cpp_err=yes
12710 fi
12711 if test -z "$ac_cpp_err"; then
12712 ac_header_preproc=yes
12713 else
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.$ac_ext >&5
12716
12717 ac_header_preproc=no
12718 fi
12719 rm -f conftest.err conftest.$ac_ext
12720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12721 echo "${ECHO_T}$ac_header_preproc" >&6
12722
12723 # So? What about this header?
12724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12725 yes:no: )
12726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12730 ac_header_preproc=yes
12731 ;;
12732 no:yes:* )
12733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12745 (
12746 cat <<\_ASBOX
12747 ## ----------------------------------------- ##
12748 ## Report this to wx-dev@lists.wxwindows.org ##
12749 ## ----------------------------------------- ##
12750 _ASBOX
12751 ) |
12752 sed "s/^/$as_me: WARNING: /" >&2
12753 ;;
12754 esac
12755 echo "$as_me:$LINENO: checking for $ac_header" >&5
12756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12759 else
12760 eval "$as_ac_Header=\$ac_header_preproc"
12761 fi
12762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12764
12765 fi
12766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12767 cat >>confdefs.h <<_ACEOF
12768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12769 _ACEOF
12770
12771 fi
12772
12773 done
12774
12775
12776 for ac_header in unistd.h
12777 do
12778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12780 echo "$as_me:$LINENO: checking for $ac_header" >&5
12781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12784 fi
12785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12787 else
12788 # Is the header compilable?
12789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12791 cat >conftest.$ac_ext <<_ACEOF
12792 /* confdefs.h. */
12793 _ACEOF
12794 cat confdefs.h >>conftest.$ac_ext
12795 cat >>conftest.$ac_ext <<_ACEOF
12796 /* end confdefs.h. */
12797 $ac_includes_default
12798 #include <$ac_header>
12799 _ACEOF
12800 rm -f conftest.$ac_objext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12802 (eval $ac_compile) 2>conftest.er1
12803 ac_status=$?
12804 grep -v '^ *+' conftest.er1 >conftest.err
12805 rm -f conftest.er1
12806 cat conftest.err >&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try='test -z "$ac_c_werror_flag"
12810 || test ! -s conftest.err'
12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12812 (eval $ac_try) 2>&5
12813 ac_status=$?
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); }; } &&
12816 { ac_try='test -s conftest.$ac_objext'
12817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818 (eval $ac_try) 2>&5
12819 ac_status=$?
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); }; }; then
12822 ac_header_compiler=yes
12823 else
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.$ac_ext >&5
12826
12827 ac_header_compiler=no
12828 fi
12829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12831 echo "${ECHO_T}$ac_header_compiler" >&6
12832
12833 # Is the header present?
12834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12836 cat >conftest.$ac_ext <<_ACEOF
12837 /* confdefs.h. */
12838 _ACEOF
12839 cat confdefs.h >>conftest.$ac_ext
12840 cat >>conftest.$ac_ext <<_ACEOF
12841 /* end confdefs.h. */
12842 #include <$ac_header>
12843 _ACEOF
12844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12845 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12846 ac_status=$?
12847 grep -v '^ *+' conftest.er1 >conftest.err
12848 rm -f conftest.er1
12849 cat conftest.err >&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } >/dev/null; then
12852 if test -s conftest.err; then
12853 ac_cpp_err=$ac_c_preproc_warn_flag
12854 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12855 else
12856 ac_cpp_err=
12857 fi
12858 else
12859 ac_cpp_err=yes
12860 fi
12861 if test -z "$ac_cpp_err"; then
12862 ac_header_preproc=yes
12863 else
12864 echo "$as_me: failed program was:" >&5
12865 sed 's/^/| /' conftest.$ac_ext >&5
12866
12867 ac_header_preproc=no
12868 fi
12869 rm -f conftest.err conftest.$ac_ext
12870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12871 echo "${ECHO_T}$ac_header_preproc" >&6
12872
12873 # So? What about this header?
12874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12875 yes:no: )
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12880 ac_header_preproc=yes
12881 ;;
12882 no:yes:* )
12883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12887 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12889 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12890 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12893 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12895 (
12896 cat <<\_ASBOX
12897 ## ----------------------------------------- ##
12898 ## Report this to wx-dev@lists.wxwindows.org ##
12899 ## ----------------------------------------- ##
12900 _ASBOX
12901 ) |
12902 sed "s/^/$as_me: WARNING: /" >&2
12903 ;;
12904 esac
12905 echo "$as_me:$LINENO: checking for $ac_header" >&5
12906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12908 echo $ECHO_N "(cached) $ECHO_C" >&6
12909 else
12910 eval "$as_ac_Header=\$ac_header_preproc"
12911 fi
12912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12914
12915 fi
12916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12917 cat >>confdefs.h <<_ACEOF
12918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12919 _ACEOF
12920
12921 fi
12922
12923 done
12924
12925
12926 for ac_header in wchar.h
12927 do
12928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12930 echo "$as_me:$LINENO: checking for $ac_header" >&5
12931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12933 echo $ECHO_N "(cached) $ECHO_C" >&6
12934 fi
12935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12937 else
12938 # Is the header compilable?
12939 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12940 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12941 cat >conftest.$ac_ext <<_ACEOF
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>conftest.er1
12953 ac_status=$?
12954 grep -v '^ *+' conftest.er1 >conftest.err
12955 rm -f conftest.er1
12956 cat conftest.err >&5
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); } &&
12959 { ac_try='test -z "$ac_c_werror_flag"
12960 || test ! -s conftest.err'
12961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12962 (eval $ac_try) 2>&5
12963 ac_status=$?
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); }; } &&
12966 { ac_try='test -s conftest.$ac_objext'
12967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12968 (eval $ac_try) 2>&5
12969 ac_status=$?
12970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 (exit $ac_status); }; }; then
12972 ac_header_compiler=yes
12973 else
12974 echo "$as_me: failed program was:" >&5
12975 sed 's/^/| /' conftest.$ac_ext >&5
12976
12977 ac_header_compiler=no
12978 fi
12979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12981 echo "${ECHO_T}$ac_header_compiler" >&6
12982
12983 # Is the header present?
12984 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12985 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12986 cat >conftest.$ac_ext <<_ACEOF
12987 /* confdefs.h. */
12988 _ACEOF
12989 cat confdefs.h >>conftest.$ac_ext
12990 cat >>conftest.$ac_ext <<_ACEOF
12991 /* end confdefs.h. */
12992 #include <$ac_header>
12993 _ACEOF
12994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12996 ac_status=$?
12997 grep -v '^ *+' conftest.er1 >conftest.err
12998 rm -f conftest.er1
12999 cat conftest.err >&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); } >/dev/null; then
13002 if test -s conftest.err; then
13003 ac_cpp_err=$ac_c_preproc_warn_flag
13004 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13005 else
13006 ac_cpp_err=
13007 fi
13008 else
13009 ac_cpp_err=yes
13010 fi
13011 if test -z "$ac_cpp_err"; then
13012 ac_header_preproc=yes
13013 else
13014 echo "$as_me: failed program was:" >&5
13015 sed 's/^/| /' conftest.$ac_ext >&5
13016
13017 ac_header_preproc=no
13018 fi
13019 rm -f conftest.err conftest.$ac_ext
13020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13021 echo "${ECHO_T}$ac_header_preproc" >&6
13022
13023 # So? What about this header?
13024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13025 yes:no: )
13026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13027 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13029 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13030 ac_header_preproc=yes
13031 ;;
13032 no:yes:* )
13033 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13034 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13035 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13036 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13037 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13038 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13039 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13045 (
13046 cat <<\_ASBOX
13047 ## ----------------------------------------- ##
13048 ## Report this to wx-dev@lists.wxwindows.org ##
13049 ## ----------------------------------------- ##
13050 _ASBOX
13051 ) |
13052 sed "s/^/$as_me: WARNING: /" >&2
13053 ;;
13054 esac
13055 echo "$as_me:$LINENO: checking for $ac_header" >&5
13056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13058 echo $ECHO_N "(cached) $ECHO_C" >&6
13059 else
13060 eval "$as_ac_Header=\$ac_header_preproc"
13061 fi
13062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13064
13065 fi
13066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13067 cat >>confdefs.h <<_ACEOF
13068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13069 _ACEOF
13070
13071 fi
13072
13073 done
13074
13075
13076 if test "$ac_cv_header_wchar_h" != "yes"; then
13077
13078 for ac_header in wcstr.h
13079 do
13080 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13082 echo "$as_me:$LINENO: checking for $ac_header" >&5
13083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13086 fi
13087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13089 else
13090 # Is the header compilable?
13091 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13093 cat >conftest.$ac_ext <<_ACEOF
13094 /* confdefs.h. */
13095 _ACEOF
13096 cat confdefs.h >>conftest.$ac_ext
13097 cat >>conftest.$ac_ext <<_ACEOF
13098 /* end confdefs.h. */
13099 $ac_includes_default
13100 #include <$ac_header>
13101 _ACEOF
13102 rm -f conftest.$ac_objext
13103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13104 (eval $ac_compile) 2>conftest.er1
13105 ac_status=$?
13106 grep -v '^ *+' conftest.er1 >conftest.err
13107 rm -f conftest.er1
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } &&
13111 { ac_try='test -z "$ac_c_werror_flag"
13112 || test ! -s conftest.err'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13115 ac_status=$?
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; } &&
13118 { ac_try='test -s conftest.$ac_objext'
13119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120 (eval $ac_try) 2>&5
13121 ac_status=$?
13122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 (exit $ac_status); }; }; then
13124 ac_header_compiler=yes
13125 else
13126 echo "$as_me: failed program was:" >&5
13127 sed 's/^/| /' conftest.$ac_ext >&5
13128
13129 ac_header_compiler=no
13130 fi
13131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13133 echo "${ECHO_T}$ac_header_compiler" >&6
13134
13135 # Is the header present?
13136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13138 cat >conftest.$ac_ext <<_ACEOF
13139 /* confdefs.h. */
13140 _ACEOF
13141 cat confdefs.h >>conftest.$ac_ext
13142 cat >>conftest.$ac_ext <<_ACEOF
13143 /* end confdefs.h. */
13144 #include <$ac_header>
13145 _ACEOF
13146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13148 ac_status=$?
13149 grep -v '^ *+' conftest.er1 >conftest.err
13150 rm -f conftest.er1
13151 cat conftest.err >&5
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); } >/dev/null; then
13154 if test -s conftest.err; then
13155 ac_cpp_err=$ac_c_preproc_warn_flag
13156 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13157 else
13158 ac_cpp_err=
13159 fi
13160 else
13161 ac_cpp_err=yes
13162 fi
13163 if test -z "$ac_cpp_err"; then
13164 ac_header_preproc=yes
13165 else
13166 echo "$as_me: failed program was:" >&5
13167 sed 's/^/| /' conftest.$ac_ext >&5
13168
13169 ac_header_preproc=no
13170 fi
13171 rm -f conftest.err conftest.$ac_ext
13172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13173 echo "${ECHO_T}$ac_header_preproc" >&6
13174
13175 # So? What about this header?
13176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13177 yes:no: )
13178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13182 ac_header_preproc=yes
13183 ;;
13184 no:yes:* )
13185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13189 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13191 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13192 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13195 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13197 (
13198 cat <<\_ASBOX
13199 ## ----------------------------------------- ##
13200 ## Report this to wx-dev@lists.wxwindows.org ##
13201 ## ----------------------------------------- ##
13202 _ASBOX
13203 ) |
13204 sed "s/^/$as_me: WARNING: /" >&2
13205 ;;
13206 esac
13207 echo "$as_me:$LINENO: checking for $ac_header" >&5
13208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13210 echo $ECHO_N "(cached) $ECHO_C" >&6
13211 else
13212 eval "$as_ac_Header=\$ac_header_preproc"
13213 fi
13214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13216
13217 fi
13218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13219 cat >>confdefs.h <<_ACEOF
13220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13221 _ACEOF
13222
13223 fi
13224
13225 done
13226
13227 fi
13228
13229
13230 for ac_header in fnmatch.h
13231 do
13232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13234 echo "$as_me:$LINENO: checking for $ac_header" >&5
13235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13237 echo $ECHO_N "(cached) $ECHO_C" >&6
13238 fi
13239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13241 else
13242 # Is the header compilable?
13243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13245 cat >conftest.$ac_ext <<_ACEOF
13246 /* confdefs.h. */
13247 _ACEOF
13248 cat confdefs.h >>conftest.$ac_ext
13249 cat >>conftest.$ac_ext <<_ACEOF
13250 /* end confdefs.h. */
13251 $ac_includes_default
13252 #include <$ac_header>
13253 _ACEOF
13254 rm -f conftest.$ac_objext
13255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13256 (eval $ac_compile) 2>conftest.er1
13257 ac_status=$?
13258 grep -v '^ *+' conftest.er1 >conftest.err
13259 rm -f conftest.er1
13260 cat conftest.err >&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } &&
13263 { ac_try='test -z "$ac_c_werror_flag"
13264 || test ! -s conftest.err'
13265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13266 (eval $ac_try) 2>&5
13267 ac_status=$?
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); }; } &&
13270 { ac_try='test -s conftest.$ac_objext'
13271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13272 (eval $ac_try) 2>&5
13273 ac_status=$?
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); }; }; then
13276 ac_header_compiler=yes
13277 else
13278 echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.$ac_ext >&5
13280
13281 ac_header_compiler=no
13282 fi
13283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13285 echo "${ECHO_T}$ac_header_compiler" >&6
13286
13287 # Is the header present?
13288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13290 cat >conftest.$ac_ext <<_ACEOF
13291 /* confdefs.h. */
13292 _ACEOF
13293 cat confdefs.h >>conftest.$ac_ext
13294 cat >>conftest.$ac_ext <<_ACEOF
13295 /* end confdefs.h. */
13296 #include <$ac_header>
13297 _ACEOF
13298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13300 ac_status=$?
13301 grep -v '^ *+' conftest.er1 >conftest.err
13302 rm -f conftest.er1
13303 cat conftest.err >&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); } >/dev/null; then
13306 if test -s conftest.err; then
13307 ac_cpp_err=$ac_c_preproc_warn_flag
13308 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13309 else
13310 ac_cpp_err=
13311 fi
13312 else
13313 ac_cpp_err=yes
13314 fi
13315 if test -z "$ac_cpp_err"; then
13316 ac_header_preproc=yes
13317 else
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.$ac_ext >&5
13320
13321 ac_header_preproc=no
13322 fi
13323 rm -f conftest.err conftest.$ac_ext
13324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13325 echo "${ECHO_T}$ac_header_preproc" >&6
13326
13327 # So? What about this header?
13328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13329 yes:no: )
13330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13334 ac_header_preproc=yes
13335 ;;
13336 no:yes:* )
13337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13349 (
13350 cat <<\_ASBOX
13351 ## ----------------------------------------- ##
13352 ## Report this to wx-dev@lists.wxwindows.org ##
13353 ## ----------------------------------------- ##
13354 _ASBOX
13355 ) |
13356 sed "s/^/$as_me: WARNING: /" >&2
13357 ;;
13358 esac
13359 echo "$as_me:$LINENO: checking for $ac_header" >&5
13360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13362 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 else
13364 eval "$as_ac_Header=\$ac_header_preproc"
13365 fi
13366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13368
13369 fi
13370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13371 cat >>confdefs.h <<_ACEOF
13372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13373 _ACEOF
13374
13375 fi
13376
13377 done
13378
13379
13380 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13381
13382 for ac_func in fnmatch
13383 do
13384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13385 echo "$as_me:$LINENO: checking for $ac_func" >&5
13386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13387 if eval "test \"\${$as_ac_var+set}\" = set"; then
13388 echo $ECHO_N "(cached) $ECHO_C" >&6
13389 else
13390 cat >conftest.$ac_ext <<_ACEOF
13391 /* confdefs.h. */
13392 _ACEOF
13393 cat confdefs.h >>conftest.$ac_ext
13394 cat >>conftest.$ac_ext <<_ACEOF
13395 /* end confdefs.h. */
13396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13398 #define $ac_func innocuous_$ac_func
13399
13400 /* System header to define __stub macros and hopefully few prototypes,
13401 which can conflict with char $ac_func (); below.
13402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13403 <limits.h> exists even on freestanding compilers. */
13404
13405 #ifdef __STDC__
13406 # include <limits.h>
13407 #else
13408 # include <assert.h>
13409 #endif
13410
13411 #undef $ac_func
13412
13413 /* Override any gcc2 internal prototype to avoid an error. */
13414 #ifdef __cplusplus
13415 extern "C"
13416 {
13417 #endif
13418 /* We use char because int might match the return type of a gcc2
13419 builtin and then its argument prototype would still apply. */
13420 char $ac_func ();
13421 /* The GNU C library defines this for functions which it implements
13422 to always fail with ENOSYS. Some functions are actually named
13423 something starting with __ and the normal name is an alias. */
13424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13425 choke me
13426 #else
13427 char (*f) () = $ac_func;
13428 #endif
13429 #ifdef __cplusplus
13430 }
13431 #endif
13432
13433 int
13434 main ()
13435 {
13436 return f != $ac_func;
13437 ;
13438 return 0;
13439 }
13440 _ACEOF
13441 rm -f conftest.$ac_objext conftest$ac_exeext
13442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13443 (eval $ac_link) 2>conftest.er1
13444 ac_status=$?
13445 grep -v '^ *+' conftest.er1 >conftest.err
13446 rm -f conftest.er1
13447 cat conftest.err >&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); } &&
13450 { ac_try='test -z "$ac_c_werror_flag"
13451 || test ! -s conftest.err'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13454 ac_status=$?
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; } &&
13457 { ac_try='test -s conftest$ac_exeext'
13458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13459 (eval $ac_try) 2>&5
13460 ac_status=$?
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); }; }; then
13463 eval "$as_ac_var=yes"
13464 else
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.$ac_ext >&5
13467
13468 eval "$as_ac_var=no"
13469 fi
13470 rm -f conftest.err conftest.$ac_objext \
13471 conftest$ac_exeext conftest.$ac_ext
13472 fi
13473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13475 if test `eval echo '${'$as_ac_var'}'` = yes; then
13476 cat >>confdefs.h <<_ACEOF
13477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13478 _ACEOF
13479
13480 fi
13481 done
13482
13483 fi
13484
13485
13486 for ac_header in langinfo.h
13487 do
13488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13490 echo "$as_me:$LINENO: checking for $ac_header" >&5
13491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13493 echo $ECHO_N "(cached) $ECHO_C" >&6
13494 fi
13495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13497 else
13498 # Is the header compilable?
13499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13501 cat >conftest.$ac_ext <<_ACEOF
13502 /* confdefs.h. */
13503 _ACEOF
13504 cat confdefs.h >>conftest.$ac_ext
13505 cat >>conftest.$ac_ext <<_ACEOF
13506 /* end confdefs.h. */
13507 $ac_includes_default
13508 #include <$ac_header>
13509 _ACEOF
13510 rm -f conftest.$ac_objext
13511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13512 (eval $ac_compile) 2>conftest.er1
13513 ac_status=$?
13514 grep -v '^ *+' conftest.er1 >conftest.err
13515 rm -f conftest.er1
13516 cat conftest.err >&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); } &&
13519 { ac_try='test -z "$ac_c_werror_flag"
13520 || test ! -s conftest.err'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13523 ac_status=$?
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; } &&
13526 { ac_try='test -s conftest.$ac_objext'
13527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13528 (eval $ac_try) 2>&5
13529 ac_status=$?
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); }; }; then
13532 ac_header_compiler=yes
13533 else
13534 echo "$as_me: failed program was:" >&5
13535 sed 's/^/| /' conftest.$ac_ext >&5
13536
13537 ac_header_compiler=no
13538 fi
13539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13541 echo "${ECHO_T}$ac_header_compiler" >&6
13542
13543 # Is the header present?
13544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13546 cat >conftest.$ac_ext <<_ACEOF
13547 /* confdefs.h. */
13548 _ACEOF
13549 cat confdefs.h >>conftest.$ac_ext
13550 cat >>conftest.$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13552 #include <$ac_header>
13553 _ACEOF
13554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13556 ac_status=$?
13557 grep -v '^ *+' conftest.er1 >conftest.err
13558 rm -f conftest.er1
13559 cat conftest.err >&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } >/dev/null; then
13562 if test -s conftest.err; then
13563 ac_cpp_err=$ac_c_preproc_warn_flag
13564 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13565 else
13566 ac_cpp_err=
13567 fi
13568 else
13569 ac_cpp_err=yes
13570 fi
13571 if test -z "$ac_cpp_err"; then
13572 ac_header_preproc=yes
13573 else
13574 echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.$ac_ext >&5
13576
13577 ac_header_preproc=no
13578 fi
13579 rm -f conftest.err conftest.$ac_ext
13580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13581 echo "${ECHO_T}$ac_header_preproc" >&6
13582
13583 # So? What about this header?
13584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13585 yes:no: )
13586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13590 ac_header_preproc=yes
13591 ;;
13592 no:yes:* )
13593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13605 (
13606 cat <<\_ASBOX
13607 ## ----------------------------------------- ##
13608 ## Report this to wx-dev@lists.wxwindows.org ##
13609 ## ----------------------------------------- ##
13610 _ASBOX
13611 ) |
13612 sed "s/^/$as_me: WARNING: /" >&2
13613 ;;
13614 esac
13615 echo "$as_me:$LINENO: checking for $ac_header" >&5
13616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13619 else
13620 eval "$as_ac_Header=\$ac_header_preproc"
13621 fi
13622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13624
13625 fi
13626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13627 cat >>confdefs.h <<_ACEOF
13628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13629 _ACEOF
13630
13631 fi
13632
13633 done
13634
13635
13636 case "${host}" in
13637 *-pc-os2_emx | *-pc-os2-emx )
13638 if test $ac_cv_header_langinfo_h = "yes"; then
13639 LIBS="$LIBS -lintl"
13640 fi
13641 ;;
13642 esac
13643
13644 if test "$wxUSE_GUI" = "yes"; then
13645 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13646
13647 for ac_header in X11/Xlib.h
13648 do
13649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13651 echo "$as_me:$LINENO: checking for $ac_header" >&5
13652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13654 echo $ECHO_N "(cached) $ECHO_C" >&6
13655 fi
13656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13658 else
13659 # Is the header compilable?
13660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13662 cat >conftest.$ac_ext <<_ACEOF
13663 /* confdefs.h. */
13664 _ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 $ac_includes_default
13669 #include <$ac_header>
13670 _ACEOF
13671 rm -f conftest.$ac_objext
13672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13673 (eval $ac_compile) 2>conftest.er1
13674 ac_status=$?
13675 grep -v '^ *+' conftest.er1 >conftest.err
13676 rm -f conftest.er1
13677 cat conftest.err >&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); } &&
13680 { ac_try='test -z "$ac_c_werror_flag"
13681 || test ! -s conftest.err'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13684 ac_status=$?
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; } &&
13687 { ac_try='test -s conftest.$ac_objext'
13688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13689 (eval $ac_try) 2>&5
13690 ac_status=$?
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; }; then
13693 ac_header_compiler=yes
13694 else
13695 echo "$as_me: failed program was:" >&5
13696 sed 's/^/| /' conftest.$ac_ext >&5
13697
13698 ac_header_compiler=no
13699 fi
13700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13702 echo "${ECHO_T}$ac_header_compiler" >&6
13703
13704 # Is the header present?
13705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13707 cat >conftest.$ac_ext <<_ACEOF
13708 /* confdefs.h. */
13709 _ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 #include <$ac_header>
13714 _ACEOF
13715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13717 ac_status=$?
13718 grep -v '^ *+' conftest.er1 >conftest.err
13719 rm -f conftest.er1
13720 cat conftest.err >&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } >/dev/null; then
13723 if test -s conftest.err; then
13724 ac_cpp_err=$ac_c_preproc_warn_flag
13725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13726 else
13727 ac_cpp_err=
13728 fi
13729 else
13730 ac_cpp_err=yes
13731 fi
13732 if test -z "$ac_cpp_err"; then
13733 ac_header_preproc=yes
13734 else
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.$ac_ext >&5
13737
13738 ac_header_preproc=no
13739 fi
13740 rm -f conftest.err conftest.$ac_ext
13741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13742 echo "${ECHO_T}$ac_header_preproc" >&6
13743
13744 # So? What about this header?
13745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13746 yes:no: )
13747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13751 ac_header_preproc=yes
13752 ;;
13753 no:yes:* )
13754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13766 (
13767 cat <<\_ASBOX
13768 ## ----------------------------------------- ##
13769 ## Report this to wx-dev@lists.wxwindows.org ##
13770 ## ----------------------------------------- ##
13771 _ASBOX
13772 ) |
13773 sed "s/^/$as_me: WARNING: /" >&2
13774 ;;
13775 esac
13776 echo "$as_me:$LINENO: checking for $ac_header" >&5
13777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13779 echo $ECHO_N "(cached) $ECHO_C" >&6
13780 else
13781 eval "$as_ac_Header=\$ac_header_preproc"
13782 fi
13783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13785
13786 fi
13787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13788 cat >>confdefs.h <<_ACEOF
13789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13790 _ACEOF
13791
13792 fi
13793
13794 done
13795
13796
13797 for ac_header in X11/XKBlib.h
13798 do
13799 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13800 echo "$as_me:$LINENO: checking for $ac_header" >&5
13801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13803 echo $ECHO_N "(cached) $ECHO_C" >&6
13804 else
13805 cat >conftest.$ac_ext <<_ACEOF
13806 /* confdefs.h. */
13807 _ACEOF
13808 cat confdefs.h >>conftest.$ac_ext
13809 cat >>conftest.$ac_ext <<_ACEOF
13810 /* end confdefs.h. */
13811
13812 #if HAVE_X11_XLIB_H
13813 #include <X11/Xlib.h>
13814 #endif
13815
13816
13817 #include <$ac_header>
13818 _ACEOF
13819 rm -f conftest.$ac_objext
13820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13821 (eval $ac_compile) 2>conftest.er1
13822 ac_status=$?
13823 grep -v '^ *+' conftest.er1 >conftest.err
13824 rm -f conftest.er1
13825 cat conftest.err >&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } &&
13828 { ac_try='test -z "$ac_c_werror_flag"
13829 || test ! -s conftest.err'
13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831 (eval $ac_try) 2>&5
13832 ac_status=$?
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; } &&
13835 { ac_try='test -s conftest.$ac_objext'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13838 ac_status=$?
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; }; then
13841 eval "$as_ac_Header=yes"
13842 else
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.$ac_ext >&5
13845
13846 eval "$as_ac_Header=no"
13847 fi
13848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13849 fi
13850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13853 cat >>confdefs.h <<_ACEOF
13854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13855 _ACEOF
13856
13857 fi
13858
13859 done
13860
13861 fi
13862 fi
13863
13864
13865 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13866 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13867 if test "${ac_cv_c_const+set}" = set; then
13868 echo $ECHO_N "(cached) $ECHO_C" >&6
13869 else
13870 cat >conftest.$ac_ext <<_ACEOF
13871 /* confdefs.h. */
13872 _ACEOF
13873 cat confdefs.h >>conftest.$ac_ext
13874 cat >>conftest.$ac_ext <<_ACEOF
13875 /* end confdefs.h. */
13876
13877 int
13878 main ()
13879 {
13880 /* FIXME: Include the comments suggested by Paul. */
13881 #ifndef __cplusplus
13882 /* Ultrix mips cc rejects this. */
13883 typedef int charset[2];
13884 const charset x;
13885 /* SunOS 4.1.1 cc rejects this. */
13886 char const *const *ccp;
13887 char **p;
13888 /* NEC SVR4.0.2 mips cc rejects this. */
13889 struct point {int x, y;};
13890 static struct point const zero = {0,0};
13891 /* AIX XL C 1.02.0.0 rejects this.
13892 It does not let you subtract one const X* pointer from another in
13893 an arm of an if-expression whose if-part is not a constant
13894 expression */
13895 const char *g = "string";
13896 ccp = &g + (g ? g-g : 0);
13897 /* HPUX 7.0 cc rejects these. */
13898 ++ccp;
13899 p = (char**) ccp;
13900 ccp = (char const *const *) p;
13901 { /* SCO 3.2v4 cc rejects this. */
13902 char *t;
13903 char const *s = 0 ? (char *) 0 : (char const *) 0;
13904
13905 *t++ = 0;
13906 }
13907 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13908 int x[] = {25, 17};
13909 const int *foo = &x[0];
13910 ++foo;
13911 }
13912 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13913 typedef const int *iptr;
13914 iptr p = 0;
13915 ++p;
13916 }
13917 { /* AIX XL C 1.02.0.0 rejects this saying
13918 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13919 struct s { int j; const int *ap[3]; };
13920 struct s *b; b->j = 5;
13921 }
13922 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13923 const int foo = 10;
13924 }
13925 #endif
13926
13927 ;
13928 return 0;
13929 }
13930 _ACEOF
13931 rm -f conftest.$ac_objext
13932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13933 (eval $ac_compile) 2>conftest.er1
13934 ac_status=$?
13935 grep -v '^ *+' conftest.er1 >conftest.err
13936 rm -f conftest.er1
13937 cat conftest.err >&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); } &&
13940 { ac_try='test -z "$ac_c_werror_flag"
13941 || test ! -s conftest.err'
13942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13943 (eval $ac_try) 2>&5
13944 ac_status=$?
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); }; } &&
13947 { ac_try='test -s conftest.$ac_objext'
13948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13949 (eval $ac_try) 2>&5
13950 ac_status=$?
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); }; }; then
13953 ac_cv_c_const=yes
13954 else
13955 echo "$as_me: failed program was:" >&5
13956 sed 's/^/| /' conftest.$ac_ext >&5
13957
13958 ac_cv_c_const=no
13959 fi
13960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13961 fi
13962 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13963 echo "${ECHO_T}$ac_cv_c_const" >&6
13964 if test $ac_cv_c_const = no; then
13965
13966 cat >>confdefs.h <<\_ACEOF
13967 #define const
13968 _ACEOF
13969
13970 fi
13971
13972 echo "$as_me:$LINENO: checking for inline" >&5
13973 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13974 if test "${ac_cv_c_inline+set}" = set; then
13975 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 else
13977 ac_cv_c_inline=no
13978 for ac_kw in inline __inline__ __inline; do
13979 cat >conftest.$ac_ext <<_ACEOF
13980 /* confdefs.h. */
13981 _ACEOF
13982 cat confdefs.h >>conftest.$ac_ext
13983 cat >>conftest.$ac_ext <<_ACEOF
13984 /* end confdefs.h. */
13985 #ifndef __cplusplus
13986 typedef int foo_t;
13987 static $ac_kw foo_t static_foo () {return 0; }
13988 $ac_kw foo_t foo () {return 0; }
13989 #endif
13990
13991 _ACEOF
13992 rm -f conftest.$ac_objext
13993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13994 (eval $ac_compile) 2>conftest.er1
13995 ac_status=$?
13996 grep -v '^ *+' conftest.er1 >conftest.err
13997 rm -f conftest.er1
13998 cat conftest.err >&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); } &&
14001 { ac_try='test -z "$ac_c_werror_flag"
14002 || test ! -s conftest.err'
14003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14004 (eval $ac_try) 2>&5
14005 ac_status=$?
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); }; } &&
14008 { ac_try='test -s conftest.$ac_objext'
14009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14010 (eval $ac_try) 2>&5
14011 ac_status=$?
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); }; }; then
14014 ac_cv_c_inline=$ac_kw; break
14015 else
14016 echo "$as_me: failed program was:" >&5
14017 sed 's/^/| /' conftest.$ac_ext >&5
14018
14019 fi
14020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14021 done
14022
14023 fi
14024 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14025 echo "${ECHO_T}$ac_cv_c_inline" >&6
14026
14027
14028 case $ac_cv_c_inline in
14029 inline | yes) ;;
14030 *)
14031 case $ac_cv_c_inline in
14032 no) ac_val=;;
14033 *) ac_val=$ac_cv_c_inline;;
14034 esac
14035 cat >>confdefs.h <<_ACEOF
14036 #ifndef __cplusplus
14037 #define inline $ac_val
14038 #endif
14039 _ACEOF
14040 ;;
14041 esac
14042
14043
14044 echo "$as_me:$LINENO: checking for char" >&5
14045 echo $ECHO_N "checking for char... $ECHO_C" >&6
14046 if test "${ac_cv_type_char+set}" = set; then
14047 echo $ECHO_N "(cached) $ECHO_C" >&6
14048 else
14049 cat >conftest.$ac_ext <<_ACEOF
14050 /* confdefs.h. */
14051 _ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055 $ac_includes_default
14056 int
14057 main ()
14058 {
14059 if ((char *) 0)
14060 return 0;
14061 if (sizeof (char))
14062 return 0;
14063 ;
14064 return 0;
14065 }
14066 _ACEOF
14067 rm -f conftest.$ac_objext
14068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14069 (eval $ac_compile) 2>conftest.er1
14070 ac_status=$?
14071 grep -v '^ *+' conftest.er1 >conftest.err
14072 rm -f conftest.er1
14073 cat conftest.err >&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); } &&
14076 { ac_try='test -z "$ac_c_werror_flag"
14077 || test ! -s conftest.err'
14078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14079 (eval $ac_try) 2>&5
14080 ac_status=$?
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); }; } &&
14083 { ac_try='test -s conftest.$ac_objext'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14086 ac_status=$?
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; }; then
14089 ac_cv_type_char=yes
14090 else
14091 echo "$as_me: failed program was:" >&5
14092 sed 's/^/| /' conftest.$ac_ext >&5
14093
14094 ac_cv_type_char=no
14095 fi
14096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14097 fi
14098 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14099 echo "${ECHO_T}$ac_cv_type_char" >&6
14100
14101 echo "$as_me:$LINENO: checking size of char" >&5
14102 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14103 if test "${ac_cv_sizeof_char+set}" = set; then
14104 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 else
14106 if test "$ac_cv_type_char" = yes; then
14107 # The cast to unsigned long works around a bug in the HP C Compiler
14108 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14109 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14110 # This bug is HP SR number 8606223364.
14111 if test "$cross_compiling" = yes; then
14112 # Depending upon the size, compute the lo and hi bounds.
14113 cat >conftest.$ac_ext <<_ACEOF
14114 /* confdefs.h. */
14115 _ACEOF
14116 cat confdefs.h >>conftest.$ac_ext
14117 cat >>conftest.$ac_ext <<_ACEOF
14118 /* end confdefs.h. */
14119 $ac_includes_default
14120 int
14121 main ()
14122 {
14123 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14124 test_array [0] = 0
14125
14126 ;
14127 return 0;
14128 }
14129 _ACEOF
14130 rm -f conftest.$ac_objext
14131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14132 (eval $ac_compile) 2>conftest.er1
14133 ac_status=$?
14134 grep -v '^ *+' conftest.er1 >conftest.err
14135 rm -f conftest.er1
14136 cat conftest.err >&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); } &&
14139 { ac_try='test -z "$ac_c_werror_flag"
14140 || test ! -s conftest.err'
14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142 (eval $ac_try) 2>&5
14143 ac_status=$?
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }; } &&
14146 { ac_try='test -s conftest.$ac_objext'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14149 ac_status=$?
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14152 ac_lo=0 ac_mid=0
14153 while :; do
14154 cat >conftest.$ac_ext <<_ACEOF
14155 /* confdefs.h. */
14156 _ACEOF
14157 cat confdefs.h >>conftest.$ac_ext
14158 cat >>conftest.$ac_ext <<_ACEOF
14159 /* end confdefs.h. */
14160 $ac_includes_default
14161 int
14162 main ()
14163 {
14164 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14165 test_array [0] = 0
14166
14167 ;
14168 return 0;
14169 }
14170 _ACEOF
14171 rm -f conftest.$ac_objext
14172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14173 (eval $ac_compile) 2>conftest.er1
14174 ac_status=$?
14175 grep -v '^ *+' conftest.er1 >conftest.err
14176 rm -f conftest.er1
14177 cat conftest.err >&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } &&
14180 { ac_try='test -z "$ac_c_werror_flag"
14181 || test ! -s conftest.err'
14182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183 (eval $ac_try) 2>&5
14184 ac_status=$?
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; } &&
14187 { ac_try='test -s conftest.$ac_objext'
14188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14189 (eval $ac_try) 2>&5
14190 ac_status=$?
14191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14192 (exit $ac_status); }; }; then
14193 ac_hi=$ac_mid; break
14194 else
14195 echo "$as_me: failed program was:" >&5
14196 sed 's/^/| /' conftest.$ac_ext >&5
14197
14198 ac_lo=`expr $ac_mid + 1`
14199 if test $ac_lo -le $ac_mid; then
14200 ac_lo= ac_hi=
14201 break
14202 fi
14203 ac_mid=`expr 2 '*' $ac_mid + 1`
14204 fi
14205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14206 done
14207 else
14208 echo "$as_me: failed program was:" >&5
14209 sed 's/^/| /' conftest.$ac_ext >&5
14210
14211 cat >conftest.$ac_ext <<_ACEOF
14212 /* confdefs.h. */
14213 _ACEOF
14214 cat confdefs.h >>conftest.$ac_ext
14215 cat >>conftest.$ac_ext <<_ACEOF
14216 /* end confdefs.h. */
14217 $ac_includes_default
14218 int
14219 main ()
14220 {
14221 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14222 test_array [0] = 0
14223
14224 ;
14225 return 0;
14226 }
14227 _ACEOF
14228 rm -f conftest.$ac_objext
14229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14230 (eval $ac_compile) 2>conftest.er1
14231 ac_status=$?
14232 grep -v '^ *+' conftest.er1 >conftest.err
14233 rm -f conftest.er1
14234 cat conftest.err >&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } &&
14237 { ac_try='test -z "$ac_c_werror_flag"
14238 || test ! -s conftest.err'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14241 ac_status=$?
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; } &&
14244 { ac_try='test -s conftest.$ac_objext'
14245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14246 (eval $ac_try) 2>&5
14247 ac_status=$?
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; }; then
14250 ac_hi=-1 ac_mid=-1
14251 while :; do
14252 cat >conftest.$ac_ext <<_ACEOF
14253 /* confdefs.h. */
14254 _ACEOF
14255 cat confdefs.h >>conftest.$ac_ext
14256 cat >>conftest.$ac_ext <<_ACEOF
14257 /* end confdefs.h. */
14258 $ac_includes_default
14259 int
14260 main ()
14261 {
14262 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14263 test_array [0] = 0
14264
14265 ;
14266 return 0;
14267 }
14268 _ACEOF
14269 rm -f conftest.$ac_objext
14270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14271 (eval $ac_compile) 2>conftest.er1
14272 ac_status=$?
14273 grep -v '^ *+' conftest.er1 >conftest.err
14274 rm -f conftest.er1
14275 cat conftest.err >&5
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); } &&
14278 { ac_try='test -z "$ac_c_werror_flag"
14279 || test ! -s conftest.err'
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); }; } &&
14285 { ac_try='test -s conftest.$ac_objext'
14286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14287 (eval $ac_try) 2>&5
14288 ac_status=$?
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); }; }; then
14291 ac_lo=$ac_mid; break
14292 else
14293 echo "$as_me: failed program was:" >&5
14294 sed 's/^/| /' conftest.$ac_ext >&5
14295
14296 ac_hi=`expr '(' $ac_mid ')' - 1`
14297 if test $ac_mid -le $ac_hi; then
14298 ac_lo= ac_hi=
14299 break
14300 fi
14301 ac_mid=`expr 2 '*' $ac_mid`
14302 fi
14303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14304 done
14305 else
14306 echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.$ac_ext >&5
14308
14309 ac_lo= ac_hi=
14310 fi
14311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14312 fi
14313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14314 # Binary search between lo and hi bounds.
14315 while test "x$ac_lo" != "x$ac_hi"; do
14316 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14317 cat >conftest.$ac_ext <<_ACEOF
14318 /* confdefs.h. */
14319 _ACEOF
14320 cat confdefs.h >>conftest.$ac_ext
14321 cat >>conftest.$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14323 $ac_includes_default
14324 int
14325 main ()
14326 {
14327 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14328 test_array [0] = 0
14329
14330 ;
14331 return 0;
14332 }
14333 _ACEOF
14334 rm -f conftest.$ac_objext
14335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14336 (eval $ac_compile) 2>conftest.er1
14337 ac_status=$?
14338 grep -v '^ *+' conftest.er1 >conftest.err
14339 rm -f conftest.er1
14340 cat conftest.err >&5
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); } &&
14343 { ac_try='test -z "$ac_c_werror_flag"
14344 || test ! -s conftest.err'
14345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346 (eval $ac_try) 2>&5
14347 ac_status=$?
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); }; } &&
14350 { ac_try='test -s conftest.$ac_objext'
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14353 ac_status=$?
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; }; then
14356 ac_hi=$ac_mid
14357 else
14358 echo "$as_me: failed program was:" >&5
14359 sed 's/^/| /' conftest.$ac_ext >&5
14360
14361 ac_lo=`expr '(' $ac_mid ')' + 1`
14362 fi
14363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14364 done
14365 case $ac_lo in
14366 ?*) ac_cv_sizeof_char=$ac_lo;;
14367 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14368 See \`config.log' for more details." >&5
14369 echo "$as_me: error: cannot compute sizeof (char), 77
14370 See \`config.log' for more details." >&2;}
14371 { (exit 1); exit 1; }; } ;;
14372 esac
14373 else
14374 if test "$cross_compiling" = yes; then
14375 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14376 See \`config.log' for more details." >&5
14377 echo "$as_me: error: cannot run test program while cross compiling
14378 See \`config.log' for more details." >&2;}
14379 { (exit 1); exit 1; }; }
14380 else
14381 cat >conftest.$ac_ext <<_ACEOF
14382 /* confdefs.h. */
14383 _ACEOF
14384 cat confdefs.h >>conftest.$ac_ext
14385 cat >>conftest.$ac_ext <<_ACEOF
14386 /* end confdefs.h. */
14387 $ac_includes_default
14388 long longval () { return (long) (sizeof (char)); }
14389 unsigned long ulongval () { return (long) (sizeof (char)); }
14390 #include <stdio.h>
14391 #include <stdlib.h>
14392 int
14393 main ()
14394 {
14395
14396 FILE *f = fopen ("conftest.val", "w");
14397 if (! f)
14398 exit (1);
14399 if (((long) (sizeof (char))) < 0)
14400 {
14401 long i = longval ();
14402 if (i != ((long) (sizeof (char))))
14403 exit (1);
14404 fprintf (f, "%ld\n", i);
14405 }
14406 else
14407 {
14408 unsigned long i = ulongval ();
14409 if (i != ((long) (sizeof (char))))
14410 exit (1);
14411 fprintf (f, "%lu\n", i);
14412 }
14413 exit (ferror (f) || fclose (f) != 0);
14414
14415 ;
14416 return 0;
14417 }
14418 _ACEOF
14419 rm -f conftest$ac_exeext
14420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14421 (eval $ac_link) 2>&5
14422 ac_status=$?
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14427 ac_status=$?
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; }; then
14430 ac_cv_sizeof_char=`cat conftest.val`
14431 else
14432 echo "$as_me: program exited with status $ac_status" >&5
14433 echo "$as_me: failed program was:" >&5
14434 sed 's/^/| /' conftest.$ac_ext >&5
14435
14436 ( exit $ac_status )
14437 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14438 See \`config.log' for more details." >&5
14439 echo "$as_me: error: cannot compute sizeof (char), 77
14440 See \`config.log' for more details." >&2;}
14441 { (exit 1); exit 1; }; }
14442 fi
14443 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14444 fi
14445 fi
14446 rm -f conftest.val
14447 else
14448 ac_cv_sizeof_char=0
14449 fi
14450 fi
14451 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14452 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14453 cat >>confdefs.h <<_ACEOF
14454 #define SIZEOF_CHAR $ac_cv_sizeof_char
14455 _ACEOF
14456
14457
14458 echo "$as_me:$LINENO: checking for short" >&5
14459 echo $ECHO_N "checking for short... $ECHO_C" >&6
14460 if test "${ac_cv_type_short+set}" = set; then
14461 echo $ECHO_N "(cached) $ECHO_C" >&6
14462 else
14463 cat >conftest.$ac_ext <<_ACEOF
14464 /* confdefs.h. */
14465 _ACEOF
14466 cat confdefs.h >>conftest.$ac_ext
14467 cat >>conftest.$ac_ext <<_ACEOF
14468 /* end confdefs.h. */
14469 $ac_includes_default
14470 int
14471 main ()
14472 {
14473 if ((short *) 0)
14474 return 0;
14475 if (sizeof (short))
14476 return 0;
14477 ;
14478 return 0;
14479 }
14480 _ACEOF
14481 rm -f conftest.$ac_objext
14482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14483 (eval $ac_compile) 2>conftest.er1
14484 ac_status=$?
14485 grep -v '^ *+' conftest.er1 >conftest.err
14486 rm -f conftest.er1
14487 cat conftest.err >&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); } &&
14490 { ac_try='test -z "$ac_c_werror_flag"
14491 || test ! -s conftest.err'
14492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14493 (eval $ac_try) 2>&5
14494 ac_status=$?
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; } &&
14497 { ac_try='test -s conftest.$ac_objext'
14498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14499 (eval $ac_try) 2>&5
14500 ac_status=$?
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; }; then
14503 ac_cv_type_short=yes
14504 else
14505 echo "$as_me: failed program was:" >&5
14506 sed 's/^/| /' conftest.$ac_ext >&5
14507
14508 ac_cv_type_short=no
14509 fi
14510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14511 fi
14512 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14513 echo "${ECHO_T}$ac_cv_type_short" >&6
14514
14515 echo "$as_me:$LINENO: checking size of short" >&5
14516 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14517 if test "${ac_cv_sizeof_short+set}" = set; then
14518 echo $ECHO_N "(cached) $ECHO_C" >&6
14519 else
14520 if test "$ac_cv_type_short" = yes; then
14521 # The cast to unsigned long works around a bug in the HP C Compiler
14522 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14523 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14524 # This bug is HP SR number 8606223364.
14525 if test "$cross_compiling" = yes; then
14526 # Depending upon the size, compute the lo and hi bounds.
14527 cat >conftest.$ac_ext <<_ACEOF
14528 /* confdefs.h. */
14529 _ACEOF
14530 cat confdefs.h >>conftest.$ac_ext
14531 cat >>conftest.$ac_ext <<_ACEOF
14532 /* end confdefs.h. */
14533 $ac_includes_default
14534 int
14535 main ()
14536 {
14537 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14538 test_array [0] = 0
14539
14540 ;
14541 return 0;
14542 }
14543 _ACEOF
14544 rm -f conftest.$ac_objext
14545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14546 (eval $ac_compile) 2>conftest.er1
14547 ac_status=$?
14548 grep -v '^ *+' conftest.er1 >conftest.err
14549 rm -f conftest.er1
14550 cat conftest.err >&5
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); } &&
14553 { ac_try='test -z "$ac_c_werror_flag"
14554 || test ! -s conftest.err'
14555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14556 (eval $ac_try) 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 /* confdefs.h. */
14570 _ACEOF
14571 cat confdefs.h >>conftest.$ac_ext
14572 cat >>conftest.$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14574 $ac_includes_default
14575 int
14576 main ()
14577 {
14578 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14579 test_array [0] = 0
14580
14581 ;
14582 return 0;
14583 }
14584 _ACEOF
14585 rm -f conftest.$ac_objext
14586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14587 (eval $ac_compile) 2>conftest.er1
14588 ac_status=$?
14589 grep -v '^ *+' conftest.er1 >conftest.err
14590 rm -f conftest.er1
14591 cat conftest.err >&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } &&
14594 { ac_try='test -z "$ac_c_werror_flag"
14595 || test ! -s conftest.err'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14598 ac_status=$?
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; } &&
14601 { ac_try='test -s conftest.$ac_objext'
14602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14603 (eval $ac_try) 2>&5
14604 ac_status=$?
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); }; }; then
14607 ac_hi=$ac_mid; break
14608 else
14609 echo "$as_me: failed program was:" >&5
14610 sed 's/^/| /' conftest.$ac_ext >&5
14611
14612 ac_lo=`expr $ac_mid + 1`
14613 if test $ac_lo -le $ac_mid; then
14614 ac_lo= ac_hi=
14615 break
14616 fi
14617 ac_mid=`expr 2 '*' $ac_mid + 1`
14618 fi
14619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14620 done
14621 else
14622 echo "$as_me: failed program was:" >&5
14623 sed 's/^/| /' conftest.$ac_ext >&5
14624
14625 cat >conftest.$ac_ext <<_ACEOF
14626 /* confdefs.h. */
14627 _ACEOF
14628 cat confdefs.h >>conftest.$ac_ext
14629 cat >>conftest.$ac_ext <<_ACEOF
14630 /* end confdefs.h. */
14631 $ac_includes_default
14632 int
14633 main ()
14634 {
14635 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14636 test_array [0] = 0
14637
14638 ;
14639 return 0;
14640 }
14641 _ACEOF
14642 rm -f conftest.$ac_objext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14644 (eval $ac_compile) 2>conftest.er1
14645 ac_status=$?
14646 grep -v '^ *+' conftest.er1 >conftest.err
14647 rm -f conftest.er1
14648 cat conftest.err >&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try='test -z "$ac_c_werror_flag"
14652 || test ! -s conftest.err'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14655 ac_status=$?
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; } &&
14658 { ac_try='test -s conftest.$ac_objext'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14661 ac_status=$?
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 ac_hi=-1 ac_mid=-1
14665 while :; do
14666 cat >conftest.$ac_ext <<_ACEOF
14667 /* confdefs.h. */
14668 _ACEOF
14669 cat confdefs.h >>conftest.$ac_ext
14670 cat >>conftest.$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14672 $ac_includes_default
14673 int
14674 main ()
14675 {
14676 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14677 test_array [0] = 0
14678
14679 ;
14680 return 0;
14681 }
14682 _ACEOF
14683 rm -f conftest.$ac_objext
14684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14685 (eval $ac_compile) 2>conftest.er1
14686 ac_status=$?
14687 grep -v '^ *+' conftest.er1 >conftest.err
14688 rm -f conftest.er1
14689 cat conftest.err >&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); } &&
14692 { ac_try='test -z "$ac_c_werror_flag"
14693 || test ! -s conftest.err'
14694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14695 (eval $ac_try) 2>&5
14696 ac_status=$?
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); }; } &&
14699 { ac_try='test -s conftest.$ac_objext'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14702 ac_status=$?
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; }; then
14705 ac_lo=$ac_mid; break
14706 else
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.$ac_ext >&5
14709
14710 ac_hi=`expr '(' $ac_mid ')' - 1`
14711 if test $ac_mid -le $ac_hi; then
14712 ac_lo= ac_hi=
14713 break
14714 fi
14715 ac_mid=`expr 2 '*' $ac_mid`
14716 fi
14717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14718 done
14719 else
14720 echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.$ac_ext >&5
14722
14723 ac_lo= ac_hi=
14724 fi
14725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14726 fi
14727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14728 # Binary search between lo and hi bounds.
14729 while test "x$ac_lo" != "x$ac_hi"; do
14730 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14731 cat >conftest.$ac_ext <<_ACEOF
14732 /* confdefs.h. */
14733 _ACEOF
14734 cat confdefs.h >>conftest.$ac_ext
14735 cat >>conftest.$ac_ext <<_ACEOF
14736 /* end confdefs.h. */
14737 $ac_includes_default
14738 int
14739 main ()
14740 {
14741 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14742 test_array [0] = 0
14743
14744 ;
14745 return 0;
14746 }
14747 _ACEOF
14748 rm -f conftest.$ac_objext
14749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14750 (eval $ac_compile) 2>conftest.er1
14751 ac_status=$?
14752 grep -v '^ *+' conftest.er1 >conftest.err
14753 rm -f conftest.er1
14754 cat conftest.err >&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); } &&
14757 { ac_try='test -z "$ac_c_werror_flag"
14758 || test ! -s conftest.err'
14759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14760 (eval $ac_try) 2>&5
14761 ac_status=$?
14762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 (exit $ac_status); }; } &&
14764 { ac_try='test -s conftest.$ac_objext'
14765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14766 (eval $ac_try) 2>&5
14767 ac_status=$?
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); }; }; then
14770 ac_hi=$ac_mid
14771 else
14772 echo "$as_me: failed program was:" >&5
14773 sed 's/^/| /' conftest.$ac_ext >&5
14774
14775 ac_lo=`expr '(' $ac_mid ')' + 1`
14776 fi
14777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14778 done
14779 case $ac_lo in
14780 ?*) ac_cv_sizeof_short=$ac_lo;;
14781 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14782 See \`config.log' for more details." >&5
14783 echo "$as_me: error: cannot compute sizeof (short), 77
14784 See \`config.log' for more details." >&2;}
14785 { (exit 1); exit 1; }; } ;;
14786 esac
14787 else
14788 if test "$cross_compiling" = yes; then
14789 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14790 See \`config.log' for more details." >&5
14791 echo "$as_me: error: cannot run test program while cross compiling
14792 See \`config.log' for more details." >&2;}
14793 { (exit 1); exit 1; }; }
14794 else
14795 cat >conftest.$ac_ext <<_ACEOF
14796 /* confdefs.h. */
14797 _ACEOF
14798 cat confdefs.h >>conftest.$ac_ext
14799 cat >>conftest.$ac_ext <<_ACEOF
14800 /* end confdefs.h. */
14801 $ac_includes_default
14802 long longval () { return (long) (sizeof (short)); }
14803 unsigned long ulongval () { return (long) (sizeof (short)); }
14804 #include <stdio.h>
14805 #include <stdlib.h>
14806 int
14807 main ()
14808 {
14809
14810 FILE *f = fopen ("conftest.val", "w");
14811 if (! f)
14812 exit (1);
14813 if (((long) (sizeof (short))) < 0)
14814 {
14815 long i = longval ();
14816 if (i != ((long) (sizeof (short))))
14817 exit (1);
14818 fprintf (f, "%ld\n", i);
14819 }
14820 else
14821 {
14822 unsigned long i = ulongval ();
14823 if (i != ((long) (sizeof (short))))
14824 exit (1);
14825 fprintf (f, "%lu\n", i);
14826 }
14827 exit (ferror (f) || fclose (f) != 0);
14828
14829 ;
14830 return 0;
14831 }
14832 _ACEOF
14833 rm -f conftest$ac_exeext
14834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14835 (eval $ac_link) 2>&5
14836 ac_status=$?
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14841 ac_status=$?
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; }; then
14844 ac_cv_sizeof_short=`cat conftest.val`
14845 else
14846 echo "$as_me: program exited with status $ac_status" >&5
14847 echo "$as_me: failed program was:" >&5
14848 sed 's/^/| /' conftest.$ac_ext >&5
14849
14850 ( exit $ac_status )
14851 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14852 See \`config.log' for more details." >&5
14853 echo "$as_me: error: cannot compute sizeof (short), 77
14854 See \`config.log' for more details." >&2;}
14855 { (exit 1); exit 1; }; }
14856 fi
14857 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14858 fi
14859 fi
14860 rm -f conftest.val
14861 else
14862 ac_cv_sizeof_short=0
14863 fi
14864 fi
14865 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14866 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14867 cat >>confdefs.h <<_ACEOF
14868 #define SIZEOF_SHORT $ac_cv_sizeof_short
14869 _ACEOF
14870
14871
14872 echo "$as_me:$LINENO: checking for void *" >&5
14873 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14874 if test "${ac_cv_type_void_p+set}" = set; then
14875 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 else
14877 cat >conftest.$ac_ext <<_ACEOF
14878 /* confdefs.h. */
14879 _ACEOF
14880 cat confdefs.h >>conftest.$ac_ext
14881 cat >>conftest.$ac_ext <<_ACEOF
14882 /* end confdefs.h. */
14883 $ac_includes_default
14884 int
14885 main ()
14886 {
14887 if ((void * *) 0)
14888 return 0;
14889 if (sizeof (void *))
14890 return 0;
14891 ;
14892 return 0;
14893 }
14894 _ACEOF
14895 rm -f conftest.$ac_objext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14897 (eval $ac_compile) 2>conftest.er1
14898 ac_status=$?
14899 grep -v '^ *+' conftest.er1 >conftest.err
14900 rm -f conftest.er1
14901 cat conftest.err >&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); } &&
14904 { ac_try='test -z "$ac_c_werror_flag"
14905 || test ! -s conftest.err'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14908 ac_status=$?
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; } &&
14911 { ac_try='test -s conftest.$ac_objext'
14912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14913 (eval $ac_try) 2>&5
14914 ac_status=$?
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); }; }; then
14917 ac_cv_type_void_p=yes
14918 else
14919 echo "$as_me: failed program was:" >&5
14920 sed 's/^/| /' conftest.$ac_ext >&5
14921
14922 ac_cv_type_void_p=no
14923 fi
14924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14925 fi
14926 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14927 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14928
14929 echo "$as_me:$LINENO: checking size of void *" >&5
14930 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14931 if test "${ac_cv_sizeof_void_p+set}" = set; then
14932 echo $ECHO_N "(cached) $ECHO_C" >&6
14933 else
14934 if test "$ac_cv_type_void_p" = yes; then
14935 # The cast to unsigned long works around a bug in the HP C Compiler
14936 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14937 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14938 # This bug is HP SR number 8606223364.
14939 if test "$cross_compiling" = yes; then
14940 # Depending upon the size, compute the lo and hi bounds.
14941 cat >conftest.$ac_ext <<_ACEOF
14942 /* confdefs.h. */
14943 _ACEOF
14944 cat confdefs.h >>conftest.$ac_ext
14945 cat >>conftest.$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14947 $ac_includes_default
14948 int
14949 main ()
14950 {
14951 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14952 test_array [0] = 0
14953
14954 ;
14955 return 0;
14956 }
14957 _ACEOF
14958 rm -f conftest.$ac_objext
14959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14960 (eval $ac_compile) 2>conftest.er1
14961 ac_status=$?
14962 grep -v '^ *+' conftest.er1 >conftest.err
14963 rm -f conftest.er1
14964 cat conftest.err >&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try='test -z "$ac_c_werror_flag"
14968 || test ! -s conftest.err'
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14971 ac_status=$?
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; } &&
14974 { ac_try='test -s conftest.$ac_objext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14977 ac_status=$?
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14980 ac_lo=0 ac_mid=0
14981 while :; do
14982 cat >conftest.$ac_ext <<_ACEOF
14983 /* confdefs.h. */
14984 _ACEOF
14985 cat confdefs.h >>conftest.$ac_ext
14986 cat >>conftest.$ac_ext <<_ACEOF
14987 /* end confdefs.h. */
14988 $ac_includes_default
14989 int
14990 main ()
14991 {
14992 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14993 test_array [0] = 0
14994
14995 ;
14996 return 0;
14997 }
14998 _ACEOF
14999 rm -f conftest.$ac_objext
15000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15001 (eval $ac_compile) 2>conftest.er1
15002 ac_status=$?
15003 grep -v '^ *+' conftest.er1 >conftest.err
15004 rm -f conftest.er1
15005 cat conftest.err >&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); } &&
15008 { ac_try='test -z "$ac_c_werror_flag"
15009 || test ! -s conftest.err'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15012 ac_status=$?
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; } &&
15015 { ac_try='test -s conftest.$ac_objext'
15016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15017 (eval $ac_try) 2>&5
15018 ac_status=$?
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); }; }; then
15021 ac_hi=$ac_mid; break
15022 else
15023 echo "$as_me: failed program was:" >&5
15024 sed 's/^/| /' conftest.$ac_ext >&5
15025
15026 ac_lo=`expr $ac_mid + 1`
15027 if test $ac_lo -le $ac_mid; then
15028 ac_lo= ac_hi=
15029 break
15030 fi
15031 ac_mid=`expr 2 '*' $ac_mid + 1`
15032 fi
15033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15034 done
15035 else
15036 echo "$as_me: failed program was:" >&5
15037 sed 's/^/| /' conftest.$ac_ext >&5
15038
15039 cat >conftest.$ac_ext <<_ACEOF
15040 /* confdefs.h. */
15041 _ACEOF
15042 cat confdefs.h >>conftest.$ac_ext
15043 cat >>conftest.$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15045 $ac_includes_default
15046 int
15047 main ()
15048 {
15049 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15050 test_array [0] = 0
15051
15052 ;
15053 return 0;
15054 }
15055 _ACEOF
15056 rm -f conftest.$ac_objext
15057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15058 (eval $ac_compile) 2>conftest.er1
15059 ac_status=$?
15060 grep -v '^ *+' conftest.er1 >conftest.err
15061 rm -f conftest.er1
15062 cat conftest.err >&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } &&
15065 { ac_try='test -z "$ac_c_werror_flag"
15066 || test ! -s conftest.err'
15067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15068 (eval $ac_try) 2>&5
15069 ac_status=$?
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); }; } &&
15072 { ac_try='test -s conftest.$ac_objext'
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15075 ac_status=$?
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; }; then
15078 ac_hi=-1 ac_mid=-1
15079 while :; do
15080 cat >conftest.$ac_ext <<_ACEOF
15081 /* confdefs.h. */
15082 _ACEOF
15083 cat confdefs.h >>conftest.$ac_ext
15084 cat >>conftest.$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086 $ac_includes_default
15087 int
15088 main ()
15089 {
15090 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15091 test_array [0] = 0
15092
15093 ;
15094 return 0;
15095 }
15096 _ACEOF
15097 rm -f conftest.$ac_objext
15098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15099 (eval $ac_compile) 2>conftest.er1
15100 ac_status=$?
15101 grep -v '^ *+' conftest.er1 >conftest.err
15102 rm -f conftest.er1
15103 cat conftest.err >&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } &&
15106 { ac_try='test -z "$ac_c_werror_flag"
15107 || test ! -s conftest.err'
15108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15109 (eval $ac_try) 2>&5
15110 ac_status=$?
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); }; } &&
15113 { ac_try='test -s conftest.$ac_objext'
15114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15115 (eval $ac_try) 2>&5
15116 ac_status=$?
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); }; }; then
15119 ac_lo=$ac_mid; break
15120 else
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.$ac_ext >&5
15123
15124 ac_hi=`expr '(' $ac_mid ')' - 1`
15125 if test $ac_mid -le $ac_hi; then
15126 ac_lo= ac_hi=
15127 break
15128 fi
15129 ac_mid=`expr 2 '*' $ac_mid`
15130 fi
15131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15132 done
15133 else
15134 echo "$as_me: failed program was:" >&5
15135 sed 's/^/| /' conftest.$ac_ext >&5
15136
15137 ac_lo= ac_hi=
15138 fi
15139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15140 fi
15141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15142 # Binary search between lo and hi bounds.
15143 while test "x$ac_lo" != "x$ac_hi"; do
15144 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15145 cat >conftest.$ac_ext <<_ACEOF
15146 /* confdefs.h. */
15147 _ACEOF
15148 cat confdefs.h >>conftest.$ac_ext
15149 cat >>conftest.$ac_ext <<_ACEOF
15150 /* end confdefs.h. */
15151 $ac_includes_default
15152 int
15153 main ()
15154 {
15155 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15156 test_array [0] = 0
15157
15158 ;
15159 return 0;
15160 }
15161 _ACEOF
15162 rm -f conftest.$ac_objext
15163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164 (eval $ac_compile) 2>conftest.er1
15165 ac_status=$?
15166 grep -v '^ *+' conftest.er1 >conftest.err
15167 rm -f conftest.er1
15168 cat conftest.err >&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } &&
15171 { ac_try='test -z "$ac_c_werror_flag"
15172 || test ! -s conftest.err'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15175 ac_status=$?
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; } &&
15178 { ac_try='test -s conftest.$ac_objext'
15179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180 (eval $ac_try) 2>&5
15181 ac_status=$?
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }; }; then
15184 ac_hi=$ac_mid
15185 else
15186 echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.$ac_ext >&5
15188
15189 ac_lo=`expr '(' $ac_mid ')' + 1`
15190 fi
15191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15192 done
15193 case $ac_lo in
15194 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15195 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15196 See \`config.log' for more details." >&5
15197 echo "$as_me: error: cannot compute sizeof (void *), 77
15198 See \`config.log' for more details." >&2;}
15199 { (exit 1); exit 1; }; } ;;
15200 esac
15201 else
15202 if test "$cross_compiling" = yes; then
15203 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15204 See \`config.log' for more details." >&5
15205 echo "$as_me: error: cannot run test program while cross compiling
15206 See \`config.log' for more details." >&2;}
15207 { (exit 1); exit 1; }; }
15208 else
15209 cat >conftest.$ac_ext <<_ACEOF
15210 /* confdefs.h. */
15211 _ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215 $ac_includes_default
15216 long longval () { return (long) (sizeof (void *)); }
15217 unsigned long ulongval () { return (long) (sizeof (void *)); }
15218 #include <stdio.h>
15219 #include <stdlib.h>
15220 int
15221 main ()
15222 {
15223
15224 FILE *f = fopen ("conftest.val", "w");
15225 if (! f)
15226 exit (1);
15227 if (((long) (sizeof (void *))) < 0)
15228 {
15229 long i = longval ();
15230 if (i != ((long) (sizeof (void *))))
15231 exit (1);
15232 fprintf (f, "%ld\n", i);
15233 }
15234 else
15235 {
15236 unsigned long i = ulongval ();
15237 if (i != ((long) (sizeof (void *))))
15238 exit (1);
15239 fprintf (f, "%lu\n", i);
15240 }
15241 exit (ferror (f) || fclose (f) != 0);
15242
15243 ;
15244 return 0;
15245 }
15246 _ACEOF
15247 rm -f conftest$ac_exeext
15248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15249 (eval $ac_link) 2>&5
15250 ac_status=$?
15251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15255 ac_status=$?
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 ac_cv_sizeof_void_p=`cat conftest.val`
15259 else
15260 echo "$as_me: program exited with status $ac_status" >&5
15261 echo "$as_me: failed program was:" >&5
15262 sed 's/^/| /' conftest.$ac_ext >&5
15263
15264 ( exit $ac_status )
15265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15266 See \`config.log' for more details." >&5
15267 echo "$as_me: error: cannot compute sizeof (void *), 77
15268 See \`config.log' for more details." >&2;}
15269 { (exit 1); exit 1; }; }
15270 fi
15271 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15272 fi
15273 fi
15274 rm -f conftest.val
15275 else
15276 ac_cv_sizeof_void_p=0
15277 fi
15278 fi
15279 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15280 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15281 cat >>confdefs.h <<_ACEOF
15282 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15283 _ACEOF
15284
15285
15286 echo "$as_me:$LINENO: checking for int" >&5
15287 echo $ECHO_N "checking for int... $ECHO_C" >&6
15288 if test "${ac_cv_type_int+set}" = set; then
15289 echo $ECHO_N "(cached) $ECHO_C" >&6
15290 else
15291 cat >conftest.$ac_ext <<_ACEOF
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 if ((int *) 0)
15302 return 0;
15303 if (sizeof (int))
15304 return 0;
15305 ;
15306 return 0;
15307 }
15308 _ACEOF
15309 rm -f conftest.$ac_objext
15310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15311 (eval $ac_compile) 2>conftest.er1
15312 ac_status=$?
15313 grep -v '^ *+' conftest.er1 >conftest.err
15314 rm -f conftest.er1
15315 cat conftest.err >&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } &&
15318 { ac_try='test -z "$ac_c_werror_flag"
15319 || test ! -s conftest.err'
15320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321 (eval $ac_try) 2>&5
15322 ac_status=$?
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; } &&
15325 { ac_try='test -s conftest.$ac_objext'
15326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15327 (eval $ac_try) 2>&5
15328 ac_status=$?
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; }; then
15331 ac_cv_type_int=yes
15332 else
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15335
15336 ac_cv_type_int=no
15337 fi
15338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15339 fi
15340 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15341 echo "${ECHO_T}$ac_cv_type_int" >&6
15342
15343 echo "$as_me:$LINENO: checking size of int" >&5
15344 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15345 if test "${ac_cv_sizeof_int+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 else
15348 if test "$ac_cv_type_int" = yes; then
15349 # The cast to unsigned long works around a bug in the HP C Compiler
15350 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15351 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15352 # This bug is HP SR number 8606223364.
15353 if test "$cross_compiling" = yes; then
15354 # Depending upon the size, compute the lo and hi bounds.
15355 cat >conftest.$ac_ext <<_ACEOF
15356 /* confdefs.h. */
15357 _ACEOF
15358 cat confdefs.h >>conftest.$ac_ext
15359 cat >>conftest.$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15361 $ac_includes_default
15362 int
15363 main ()
15364 {
15365 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15366 test_array [0] = 0
15367
15368 ;
15369 return 0;
15370 }
15371 _ACEOF
15372 rm -f conftest.$ac_objext
15373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15374 (eval $ac_compile) 2>conftest.er1
15375 ac_status=$?
15376 grep -v '^ *+' conftest.er1 >conftest.err
15377 rm -f conftest.er1
15378 cat conftest.err >&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } &&
15381 { ac_try='test -z "$ac_c_werror_flag"
15382 || test ! -s conftest.err'
15383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384 (eval $ac_try) 2>&5
15385 ac_status=$?
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); }; } &&
15388 { ac_try='test -s conftest.$ac_objext'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15391 ac_status=$?
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; }; then
15394 ac_lo=0 ac_mid=0
15395 while :; do
15396 cat >conftest.$ac_ext <<_ACEOF
15397 /* confdefs.h. */
15398 _ACEOF
15399 cat confdefs.h >>conftest.$ac_ext
15400 cat >>conftest.$ac_ext <<_ACEOF
15401 /* end confdefs.h. */
15402 $ac_includes_default
15403 int
15404 main ()
15405 {
15406 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15407 test_array [0] = 0
15408
15409 ;
15410 return 0;
15411 }
15412 _ACEOF
15413 rm -f conftest.$ac_objext
15414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15415 (eval $ac_compile) 2>conftest.er1
15416 ac_status=$?
15417 grep -v '^ *+' conftest.er1 >conftest.err
15418 rm -f conftest.er1
15419 cat conftest.err >&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); } &&
15422 { ac_try='test -z "$ac_c_werror_flag"
15423 || test ! -s conftest.err'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15426 ac_status=$?
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; } &&
15429 { ac_try='test -s conftest.$ac_objext'
15430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15431 (eval $ac_try) 2>&5
15432 ac_status=$?
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; }; then
15435 ac_hi=$ac_mid; break
15436 else
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.$ac_ext >&5
15439
15440 ac_lo=`expr $ac_mid + 1`
15441 if test $ac_lo -le $ac_mid; then
15442 ac_lo= ac_hi=
15443 break
15444 fi
15445 ac_mid=`expr 2 '*' $ac_mid + 1`
15446 fi
15447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15448 done
15449 else
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.$ac_ext >&5
15452
15453 cat >conftest.$ac_ext <<_ACEOF
15454 /* confdefs.h. */
15455 _ACEOF
15456 cat confdefs.h >>conftest.$ac_ext
15457 cat >>conftest.$ac_ext <<_ACEOF
15458 /* end confdefs.h. */
15459 $ac_includes_default
15460 int
15461 main ()
15462 {
15463 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15464 test_array [0] = 0
15465
15466 ;
15467 return 0;
15468 }
15469 _ACEOF
15470 rm -f conftest.$ac_objext
15471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15472 (eval $ac_compile) 2>conftest.er1
15473 ac_status=$?
15474 grep -v '^ *+' conftest.er1 >conftest.err
15475 rm -f conftest.er1
15476 cat conftest.err >&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } &&
15479 { ac_try='test -z "$ac_c_werror_flag"
15480 || test ! -s conftest.err'
15481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482 (eval $ac_try) 2>&5
15483 ac_status=$?
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); }; } &&
15486 { ac_try='test -s conftest.$ac_objext'
15487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488 (eval $ac_try) 2>&5
15489 ac_status=$?
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; }; then
15492 ac_hi=-1 ac_mid=-1
15493 while :; do
15494 cat >conftest.$ac_ext <<_ACEOF
15495 /* confdefs.h. */
15496 _ACEOF
15497 cat confdefs.h >>conftest.$ac_ext
15498 cat >>conftest.$ac_ext <<_ACEOF
15499 /* end confdefs.h. */
15500 $ac_includes_default
15501 int
15502 main ()
15503 {
15504 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15505 test_array [0] = 0
15506
15507 ;
15508 return 0;
15509 }
15510 _ACEOF
15511 rm -f conftest.$ac_objext
15512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15513 (eval $ac_compile) 2>conftest.er1
15514 ac_status=$?
15515 grep -v '^ *+' conftest.er1 >conftest.err
15516 rm -f conftest.er1
15517 cat conftest.err >&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); } &&
15520 { ac_try='test -z "$ac_c_werror_flag"
15521 || test ! -s conftest.err'
15522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523 (eval $ac_try) 2>&5
15524 ac_status=$?
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); }; } &&
15527 { ac_try='test -s conftest.$ac_objext'
15528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15529 (eval $ac_try) 2>&5
15530 ac_status=$?
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); }; }; then
15533 ac_lo=$ac_mid; break
15534 else
15535 echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.$ac_ext >&5
15537
15538 ac_hi=`expr '(' $ac_mid ')' - 1`
15539 if test $ac_mid -le $ac_hi; then
15540 ac_lo= ac_hi=
15541 break
15542 fi
15543 ac_mid=`expr 2 '*' $ac_mid`
15544 fi
15545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15546 done
15547 else
15548 echo "$as_me: failed program was:" >&5
15549 sed 's/^/| /' conftest.$ac_ext >&5
15550
15551 ac_lo= ac_hi=
15552 fi
15553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15554 fi
15555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15556 # Binary search between lo and hi bounds.
15557 while test "x$ac_lo" != "x$ac_hi"; do
15558 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15559 cat >conftest.$ac_ext <<_ACEOF
15560 /* confdefs.h. */
15561 _ACEOF
15562 cat confdefs.h >>conftest.$ac_ext
15563 cat >>conftest.$ac_ext <<_ACEOF
15564 /* end confdefs.h. */
15565 $ac_includes_default
15566 int
15567 main ()
15568 {
15569 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15570 test_array [0] = 0
15571
15572 ;
15573 return 0;
15574 }
15575 _ACEOF
15576 rm -f conftest.$ac_objext
15577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15578 (eval $ac_compile) 2>conftest.er1
15579 ac_status=$?
15580 grep -v '^ *+' conftest.er1 >conftest.err
15581 rm -f conftest.er1
15582 cat conftest.err >&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } &&
15585 { ac_try='test -z "$ac_c_werror_flag"
15586 || test ! -s conftest.err'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 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_hi=$ac_mid
15599 else
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.$ac_ext >&5
15602
15603 ac_lo=`expr '(' $ac_mid ')' + 1`
15604 fi
15605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15606 done
15607 case $ac_lo in
15608 ?*) ac_cv_sizeof_int=$ac_lo;;
15609 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15610 See \`config.log' for more details." >&5
15611 echo "$as_me: error: cannot compute sizeof (int), 77
15612 See \`config.log' for more details." >&2;}
15613 { (exit 1); exit 1; }; } ;;
15614 esac
15615 else
15616 if test "$cross_compiling" = yes; then
15617 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15618 See \`config.log' for more details." >&5
15619 echo "$as_me: error: cannot run test program while cross compiling
15620 See \`config.log' for more details." >&2;}
15621 { (exit 1); exit 1; }; }
15622 else
15623 cat >conftest.$ac_ext <<_ACEOF
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 long longval () { return (long) (sizeof (int)); }
15631 unsigned long ulongval () { return (long) (sizeof (int)); }
15632 #include <stdio.h>
15633 #include <stdlib.h>
15634 int
15635 main ()
15636 {
15637
15638 FILE *f = fopen ("conftest.val", "w");
15639 if (! f)
15640 exit (1);
15641 if (((long) (sizeof (int))) < 0)
15642 {
15643 long i = longval ();
15644 if (i != ((long) (sizeof (int))))
15645 exit (1);
15646 fprintf (f, "%ld\n", i);
15647 }
15648 else
15649 {
15650 unsigned long i = ulongval ();
15651 if (i != ((long) (sizeof (int))))
15652 exit (1);
15653 fprintf (f, "%lu\n", i);
15654 }
15655 exit (ferror (f) || fclose (f) != 0);
15656
15657 ;
15658 return 0;
15659 }
15660 _ACEOF
15661 rm -f conftest$ac_exeext
15662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15663 (eval $ac_link) 2>&5
15664 ac_status=$?
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15668 (eval $ac_try) 2>&5
15669 ac_status=$?
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; }; then
15672 ac_cv_sizeof_int=`cat conftest.val`
15673 else
15674 echo "$as_me: program exited with status $ac_status" >&5
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.$ac_ext >&5
15677
15678 ( exit $ac_status )
15679 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15680 See \`config.log' for more details." >&5
15681 echo "$as_me: error: cannot compute sizeof (int), 77
15682 See \`config.log' for more details." >&2;}
15683 { (exit 1); exit 1; }; }
15684 fi
15685 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15686 fi
15687 fi
15688 rm -f conftest.val
15689 else
15690 ac_cv_sizeof_int=0
15691 fi
15692 fi
15693 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15694 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15695 cat >>confdefs.h <<_ACEOF
15696 #define SIZEOF_INT $ac_cv_sizeof_int
15697 _ACEOF
15698
15699
15700 echo "$as_me:$LINENO: checking for long" >&5
15701 echo $ECHO_N "checking for long... $ECHO_C" >&6
15702 if test "${ac_cv_type_long+set}" = set; then
15703 echo $ECHO_N "(cached) $ECHO_C" >&6
15704 else
15705 cat >conftest.$ac_ext <<_ACEOF
15706 /* confdefs.h. */
15707 _ACEOF
15708 cat confdefs.h >>conftest.$ac_ext
15709 cat >>conftest.$ac_ext <<_ACEOF
15710 /* end confdefs.h. */
15711 $ac_includes_default
15712 int
15713 main ()
15714 {
15715 if ((long *) 0)
15716 return 0;
15717 if (sizeof (long))
15718 return 0;
15719 ;
15720 return 0;
15721 }
15722 _ACEOF
15723 rm -f conftest.$ac_objext
15724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15725 (eval $ac_compile) 2>conftest.er1
15726 ac_status=$?
15727 grep -v '^ *+' conftest.er1 >conftest.err
15728 rm -f conftest.er1
15729 cat conftest.err >&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } &&
15732 { ac_try='test -z "$ac_c_werror_flag"
15733 || test ! -s conftest.err'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15736 ac_status=$?
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; } &&
15739 { ac_try='test -s conftest.$ac_objext'
15740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15741 (eval $ac_try) 2>&5
15742 ac_status=$?
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); }; }; then
15745 ac_cv_type_long=yes
15746 else
15747 echo "$as_me: failed program was:" >&5
15748 sed 's/^/| /' conftest.$ac_ext >&5
15749
15750 ac_cv_type_long=no
15751 fi
15752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15753 fi
15754 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15755 echo "${ECHO_T}$ac_cv_type_long" >&6
15756
15757 echo "$as_me:$LINENO: checking size of long" >&5
15758 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15759 if test "${ac_cv_sizeof_long+set}" = set; then
15760 echo $ECHO_N "(cached) $ECHO_C" >&6
15761 else
15762 if test "$ac_cv_type_long" = yes; then
15763 # The cast to unsigned long works around a bug in the HP C Compiler
15764 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15765 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15766 # This bug is HP SR number 8606223364.
15767 if test "$cross_compiling" = yes; then
15768 # Depending upon the size, compute the lo and hi bounds.
15769 cat >conftest.$ac_ext <<_ACEOF
15770 /* confdefs.h. */
15771 _ACEOF
15772 cat confdefs.h >>conftest.$ac_ext
15773 cat >>conftest.$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15775 $ac_includes_default
15776 int
15777 main ()
15778 {
15779 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15780 test_array [0] = 0
15781
15782 ;
15783 return 0;
15784 }
15785 _ACEOF
15786 rm -f conftest.$ac_objext
15787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15788 (eval $ac_compile) 2>conftest.er1
15789 ac_status=$?
15790 grep -v '^ *+' conftest.er1 >conftest.err
15791 rm -f conftest.er1
15792 cat conftest.err >&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); } &&
15795 { ac_try='test -z "$ac_c_werror_flag"
15796 || test ! -s conftest.err'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15799 ac_status=$?
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; } &&
15802 { ac_try='test -s conftest.$ac_objext'
15803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15804 (eval $ac_try) 2>&5
15805 ac_status=$?
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; }; then
15808 ac_lo=0 ac_mid=0
15809 while :; do
15810 cat >conftest.$ac_ext <<_ACEOF
15811 /* confdefs.h. */
15812 _ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816 $ac_includes_default
15817 int
15818 main ()
15819 {
15820 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15821 test_array [0] = 0
15822
15823 ;
15824 return 0;
15825 }
15826 _ACEOF
15827 rm -f conftest.$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>conftest.er1
15830 ac_status=$?
15831 grep -v '^ *+' conftest.er1 >conftest.err
15832 rm -f conftest.er1
15833 cat conftest.err >&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } &&
15836 { ac_try='test -z "$ac_c_werror_flag"
15837 || test ! -s conftest.err'
15838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839 (eval $ac_try) 2>&5
15840 ac_status=$?
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; } &&
15843 { ac_try='test -s conftest.$ac_objext'
15844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15845 (eval $ac_try) 2>&5
15846 ac_status=$?
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); }; }; then
15849 ac_hi=$ac_mid; break
15850 else
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.$ac_ext >&5
15853
15854 ac_lo=`expr $ac_mid + 1`
15855 if test $ac_lo -le $ac_mid; then
15856 ac_lo= ac_hi=
15857 break
15858 fi
15859 ac_mid=`expr 2 '*' $ac_mid + 1`
15860 fi
15861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15862 done
15863 else
15864 echo "$as_me: failed program was:" >&5
15865 sed 's/^/| /' conftest.$ac_ext >&5
15866
15867 cat >conftest.$ac_ext <<_ACEOF
15868 /* confdefs.h. */
15869 _ACEOF
15870 cat confdefs.h >>conftest.$ac_ext
15871 cat >>conftest.$ac_ext <<_ACEOF
15872 /* end confdefs.h. */
15873 $ac_includes_default
15874 int
15875 main ()
15876 {
15877 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15878 test_array [0] = 0
15879
15880 ;
15881 return 0;
15882 }
15883 _ACEOF
15884 rm -f conftest.$ac_objext
15885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15886 (eval $ac_compile) 2>conftest.er1
15887 ac_status=$?
15888 grep -v '^ *+' conftest.er1 >conftest.err
15889 rm -f conftest.er1
15890 cat conftest.err >&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); } &&
15893 { ac_try='test -z "$ac_c_werror_flag"
15894 || test ! -s conftest.err'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15897 ac_status=$?
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; } &&
15900 { ac_try='test -s conftest.$ac_objext'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15903 ac_status=$?
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; }; then
15906 ac_hi=-1 ac_mid=-1
15907 while :; do
15908 cat >conftest.$ac_ext <<_ACEOF
15909 /* confdefs.h. */
15910 _ACEOF
15911 cat confdefs.h >>conftest.$ac_ext
15912 cat >>conftest.$ac_ext <<_ACEOF
15913 /* end confdefs.h. */
15914 $ac_includes_default
15915 int
15916 main ()
15917 {
15918 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15919 test_array [0] = 0
15920
15921 ;
15922 return 0;
15923 }
15924 _ACEOF
15925 rm -f conftest.$ac_objext
15926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15927 (eval $ac_compile) 2>conftest.er1
15928 ac_status=$?
15929 grep -v '^ *+' conftest.er1 >conftest.err
15930 rm -f conftest.er1
15931 cat conftest.err >&5
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); } &&
15934 { ac_try='test -z "$ac_c_werror_flag"
15935 || test ! -s conftest.err'
15936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15937 (eval $ac_try) 2>&5
15938 ac_status=$?
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); }; } &&
15941 { ac_try='test -s conftest.$ac_objext'
15942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15943 (eval $ac_try) 2>&5
15944 ac_status=$?
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); }; }; then
15947 ac_lo=$ac_mid; break
15948 else
15949 echo "$as_me: failed program was:" >&5
15950 sed 's/^/| /' conftest.$ac_ext >&5
15951
15952 ac_hi=`expr '(' $ac_mid ')' - 1`
15953 if test $ac_mid -le $ac_hi; then
15954 ac_lo= ac_hi=
15955 break
15956 fi
15957 ac_mid=`expr 2 '*' $ac_mid`
15958 fi
15959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15960 done
15961 else
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.$ac_ext >&5
15964
15965 ac_lo= ac_hi=
15966 fi
15967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15968 fi
15969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15970 # Binary search between lo and hi bounds.
15971 while test "x$ac_lo" != "x$ac_hi"; do
15972 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15973 cat >conftest.$ac_ext <<_ACEOF
15974 /* confdefs.h. */
15975 _ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979 $ac_includes_default
15980 int
15981 main ()
15982 {
15983 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15984 test_array [0] = 0
15985
15986 ;
15987 return 0;
15988 }
15989 _ACEOF
15990 rm -f conftest.$ac_objext
15991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15992 (eval $ac_compile) 2>conftest.er1
15993 ac_status=$?
15994 grep -v '^ *+' conftest.er1 >conftest.err
15995 rm -f conftest.er1
15996 cat conftest.err >&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } &&
15999 { ac_try='test -z "$ac_c_werror_flag"
16000 || test ! -s conftest.err'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16003 ac_status=$?
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; } &&
16006 { ac_try='test -s conftest.$ac_objext'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16009 ac_status=$?
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; }; then
16012 ac_hi=$ac_mid
16013 else
16014 echo "$as_me: failed program was:" >&5
16015 sed 's/^/| /' conftest.$ac_ext >&5
16016
16017 ac_lo=`expr '(' $ac_mid ')' + 1`
16018 fi
16019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16020 done
16021 case $ac_lo in
16022 ?*) ac_cv_sizeof_long=$ac_lo;;
16023 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16024 See \`config.log' for more details." >&5
16025 echo "$as_me: error: cannot compute sizeof (long), 77
16026 See \`config.log' for more details." >&2;}
16027 { (exit 1); exit 1; }; } ;;
16028 esac
16029 else
16030 if test "$cross_compiling" = yes; then
16031 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16032 See \`config.log' for more details." >&5
16033 echo "$as_me: error: cannot run test program while cross compiling
16034 See \`config.log' for more details." >&2;}
16035 { (exit 1); exit 1; }; }
16036 else
16037 cat >conftest.$ac_ext <<_ACEOF
16038 /* confdefs.h. */
16039 _ACEOF
16040 cat confdefs.h >>conftest.$ac_ext
16041 cat >>conftest.$ac_ext <<_ACEOF
16042 /* end confdefs.h. */
16043 $ac_includes_default
16044 long longval () { return (long) (sizeof (long)); }
16045 unsigned long ulongval () { return (long) (sizeof (long)); }
16046 #include <stdio.h>
16047 #include <stdlib.h>
16048 int
16049 main ()
16050 {
16051
16052 FILE *f = fopen ("conftest.val", "w");
16053 if (! f)
16054 exit (1);
16055 if (((long) (sizeof (long))) < 0)
16056 {
16057 long i = longval ();
16058 if (i != ((long) (sizeof (long))))
16059 exit (1);
16060 fprintf (f, "%ld\n", i);
16061 }
16062 else
16063 {
16064 unsigned long i = ulongval ();
16065 if (i != ((long) (sizeof (long))))
16066 exit (1);
16067 fprintf (f, "%lu\n", i);
16068 }
16069 exit (ferror (f) || fclose (f) != 0);
16070
16071 ;
16072 return 0;
16073 }
16074 _ACEOF
16075 rm -f conftest$ac_exeext
16076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16077 (eval $ac_link) 2>&5
16078 ac_status=$?
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 (eval $ac_try) 2>&5
16083 ac_status=$?
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; }; then
16086 ac_cv_sizeof_long=`cat conftest.val`
16087 else
16088 echo "$as_me: program exited with status $ac_status" >&5
16089 echo "$as_me: failed program was:" >&5
16090 sed 's/^/| /' conftest.$ac_ext >&5
16091
16092 ( exit $ac_status )
16093 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16094 See \`config.log' for more details." >&5
16095 echo "$as_me: error: cannot compute sizeof (long), 77
16096 See \`config.log' for more details." >&2;}
16097 { (exit 1); exit 1; }; }
16098 fi
16099 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16100 fi
16101 fi
16102 rm -f conftest.val
16103 else
16104 ac_cv_sizeof_long=0
16105 fi
16106 fi
16107 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16108 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16109 cat >>confdefs.h <<_ACEOF
16110 #define SIZEOF_LONG $ac_cv_sizeof_long
16111 _ACEOF
16112
16113
16114
16115 case "${host}" in
16116 arm-*-linux* )
16117 echo "$as_me:$LINENO: checking for long long" >&5
16118 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16119 if test "${ac_cv_type_long_long+set}" = set; then
16120 echo $ECHO_N "(cached) $ECHO_C" >&6
16121 else
16122 cat >conftest.$ac_ext <<_ACEOF
16123 /* confdefs.h. */
16124 _ACEOF
16125 cat confdefs.h >>conftest.$ac_ext
16126 cat >>conftest.$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16128 $ac_includes_default
16129 int
16130 main ()
16131 {
16132 if ((long long *) 0)
16133 return 0;
16134 if (sizeof (long long))
16135 return 0;
16136 ;
16137 return 0;
16138 }
16139 _ACEOF
16140 rm -f conftest.$ac_objext
16141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16142 (eval $ac_compile) 2>conftest.er1
16143 ac_status=$?
16144 grep -v '^ *+' conftest.er1 >conftest.err
16145 rm -f conftest.er1
16146 cat conftest.err >&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } &&
16149 { ac_try='test -z "$ac_c_werror_flag"
16150 || test ! -s conftest.err'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16153 ac_status=$?
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; } &&
16156 { ac_try='test -s conftest.$ac_objext'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16159 ac_status=$?
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; }; then
16162 ac_cv_type_long_long=yes
16163 else
16164 echo "$as_me: failed program was:" >&5
16165 sed 's/^/| /' conftest.$ac_ext >&5
16166
16167 ac_cv_type_long_long=no
16168 fi
16169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16170 fi
16171 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16172 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16173
16174 echo "$as_me:$LINENO: checking size of long long" >&5
16175 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16176 if test "${ac_cv_sizeof_long_long+set}" = set; then
16177 echo $ECHO_N "(cached) $ECHO_C" >&6
16178 else
16179 if test "$ac_cv_type_long_long" = yes; then
16180 # The cast to unsigned long works around a bug in the HP C Compiler
16181 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16182 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16183 # This bug is HP SR number 8606223364.
16184 if test "$cross_compiling" = yes; then
16185 # Depending upon the size, compute the lo and hi bounds.
16186 cat >conftest.$ac_ext <<_ACEOF
16187 /* confdefs.h. */
16188 _ACEOF
16189 cat confdefs.h >>conftest.$ac_ext
16190 cat >>conftest.$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16192 $ac_includes_default
16193 int
16194 main ()
16195 {
16196 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16197 test_array [0] = 0
16198
16199 ;
16200 return 0;
16201 }
16202 _ACEOF
16203 rm -f conftest.$ac_objext
16204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16205 (eval $ac_compile) 2>conftest.er1
16206 ac_status=$?
16207 grep -v '^ *+' conftest.er1 >conftest.err
16208 rm -f conftest.er1
16209 cat conftest.err >&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); } &&
16212 { ac_try='test -z "$ac_c_werror_flag"
16213 || test ! -s conftest.err'
16214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16215 (eval $ac_try) 2>&5
16216 ac_status=$?
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }; } &&
16219 { ac_try='test -s conftest.$ac_objext'
16220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16221 (eval $ac_try) 2>&5
16222 ac_status=$?
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }; }; then
16225 ac_lo=0 ac_mid=0
16226 while :; do
16227 cat >conftest.$ac_ext <<_ACEOF
16228 /* confdefs.h. */
16229 _ACEOF
16230 cat confdefs.h >>conftest.$ac_ext
16231 cat >>conftest.$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16233 $ac_includes_default
16234 int
16235 main ()
16236 {
16237 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16238 test_array [0] = 0
16239
16240 ;
16241 return 0;
16242 }
16243 _ACEOF
16244 rm -f conftest.$ac_objext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16246 (eval $ac_compile) 2>conftest.er1
16247 ac_status=$?
16248 grep -v '^ *+' conftest.er1 >conftest.err
16249 rm -f conftest.er1
16250 cat conftest.err >&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try='test -z "$ac_c_werror_flag"
16254 || test ! -s conftest.err'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16257 ac_status=$?
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; } &&
16260 { ac_try='test -s conftest.$ac_objext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16263 ac_status=$?
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16266 ac_hi=$ac_mid; break
16267 else
16268 echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.$ac_ext >&5
16270
16271 ac_lo=`expr $ac_mid + 1`
16272 if test $ac_lo -le $ac_mid; then
16273 ac_lo= ac_hi=
16274 break
16275 fi
16276 ac_mid=`expr 2 '*' $ac_mid + 1`
16277 fi
16278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16279 done
16280 else
16281 echo "$as_me: failed program was:" >&5
16282 sed 's/^/| /' conftest.$ac_ext >&5
16283
16284 cat >conftest.$ac_ext <<_ACEOF
16285 /* confdefs.h. */
16286 _ACEOF
16287 cat confdefs.h >>conftest.$ac_ext
16288 cat >>conftest.$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16290 $ac_includes_default
16291 int
16292 main ()
16293 {
16294 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16295 test_array [0] = 0
16296
16297 ;
16298 return 0;
16299 }
16300 _ACEOF
16301 rm -f conftest.$ac_objext
16302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16303 (eval $ac_compile) 2>conftest.er1
16304 ac_status=$?
16305 grep -v '^ *+' conftest.er1 >conftest.err
16306 rm -f conftest.er1
16307 cat conftest.err >&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } &&
16310 { ac_try='test -z "$ac_c_werror_flag"
16311 || test ! -s conftest.err'
16312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16313 (eval $ac_try) 2>&5
16314 ac_status=$?
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); }; } &&
16317 { ac_try='test -s conftest.$ac_objext'
16318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16319 (eval $ac_try) 2>&5
16320 ac_status=$?
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); }; }; then
16323 ac_hi=-1 ac_mid=-1
16324 while :; do
16325 cat >conftest.$ac_ext <<_ACEOF
16326 /* confdefs.h. */
16327 _ACEOF
16328 cat confdefs.h >>conftest.$ac_ext
16329 cat >>conftest.$ac_ext <<_ACEOF
16330 /* end confdefs.h. */
16331 $ac_includes_default
16332 int
16333 main ()
16334 {
16335 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16336 test_array [0] = 0
16337
16338 ;
16339 return 0;
16340 }
16341 _ACEOF
16342 rm -f conftest.$ac_objext
16343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16344 (eval $ac_compile) 2>conftest.er1
16345 ac_status=$?
16346 grep -v '^ *+' conftest.er1 >conftest.err
16347 rm -f conftest.er1
16348 cat conftest.err >&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); } &&
16351 { ac_try='test -z "$ac_c_werror_flag"
16352 || test ! -s conftest.err'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; } &&
16358 { ac_try='test -s conftest.$ac_objext'
16359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360 (eval $ac_try) 2>&5
16361 ac_status=$?
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }; }; then
16364 ac_lo=$ac_mid; break
16365 else
16366 echo "$as_me: failed program was:" >&5
16367 sed 's/^/| /' conftest.$ac_ext >&5
16368
16369 ac_hi=`expr '(' $ac_mid ')' - 1`
16370 if test $ac_mid -le $ac_hi; then
16371 ac_lo= ac_hi=
16372 break
16373 fi
16374 ac_mid=`expr 2 '*' $ac_mid`
16375 fi
16376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16377 done
16378 else
16379 echo "$as_me: failed program was:" >&5
16380 sed 's/^/| /' conftest.$ac_ext >&5
16381
16382 ac_lo= ac_hi=
16383 fi
16384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16385 fi
16386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16387 # Binary search between lo and hi bounds.
16388 while test "x$ac_lo" != "x$ac_hi"; do
16389 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16390 cat >conftest.$ac_ext <<_ACEOF
16391 /* confdefs.h. */
16392 _ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 $ac_includes_default
16397 int
16398 main ()
16399 {
16400 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16401 test_array [0] = 0
16402
16403 ;
16404 return 0;
16405 }
16406 _ACEOF
16407 rm -f conftest.$ac_objext
16408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16409 (eval $ac_compile) 2>conftest.er1
16410 ac_status=$?
16411 grep -v '^ *+' conftest.er1 >conftest.err
16412 rm -f conftest.er1
16413 cat conftest.err >&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); } &&
16416 { ac_try='test -z "$ac_c_werror_flag"
16417 || test ! -s conftest.err'
16418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16419 (eval $ac_try) 2>&5
16420 ac_status=$?
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); }; } &&
16423 { ac_try='test -s conftest.$ac_objext'
16424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16425 (eval $ac_try) 2>&5
16426 ac_status=$?
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); }; }; then
16429 ac_hi=$ac_mid
16430 else
16431 echo "$as_me: failed program was:" >&5
16432 sed 's/^/| /' conftest.$ac_ext >&5
16433
16434 ac_lo=`expr '(' $ac_mid ')' + 1`
16435 fi
16436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16437 done
16438 case $ac_lo in
16439 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16440 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16441 See \`config.log' for more details." >&5
16442 echo "$as_me: error: cannot compute sizeof (long long), 77
16443 See \`config.log' for more details." >&2;}
16444 { (exit 1); exit 1; }; } ;;
16445 esac
16446 else
16447 if test "$cross_compiling" = yes; then
16448 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16449 See \`config.log' for more details." >&5
16450 echo "$as_me: error: cannot run test program while cross compiling
16451 See \`config.log' for more details." >&2;}
16452 { (exit 1); exit 1; }; }
16453 else
16454 cat >conftest.$ac_ext <<_ACEOF
16455 /* confdefs.h. */
16456 _ACEOF
16457 cat confdefs.h >>conftest.$ac_ext
16458 cat >>conftest.$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16460 $ac_includes_default
16461 long longval () { return (long) (sizeof (long long)); }
16462 unsigned long ulongval () { return (long) (sizeof (long long)); }
16463 #include <stdio.h>
16464 #include <stdlib.h>
16465 int
16466 main ()
16467 {
16468
16469 FILE *f = fopen ("conftest.val", "w");
16470 if (! f)
16471 exit (1);
16472 if (((long) (sizeof (long long))) < 0)
16473 {
16474 long i = longval ();
16475 if (i != ((long) (sizeof (long long))))
16476 exit (1);
16477 fprintf (f, "%ld\n", i);
16478 }
16479 else
16480 {
16481 unsigned long i = ulongval ();
16482 if (i != ((long) (sizeof (long long))))
16483 exit (1);
16484 fprintf (f, "%lu\n", i);
16485 }
16486 exit (ferror (f) || fclose (f) != 0);
16487
16488 ;
16489 return 0;
16490 }
16491 _ACEOF
16492 rm -f conftest$ac_exeext
16493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16494 (eval $ac_link) 2>&5
16495 ac_status=$?
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16499 (eval $ac_try) 2>&5
16500 ac_status=$?
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); }; }; then
16503 ac_cv_sizeof_long_long=`cat conftest.val`
16504 else
16505 echo "$as_me: program exited with status $ac_status" >&5
16506 echo "$as_me: failed program was:" >&5
16507 sed 's/^/| /' conftest.$ac_ext >&5
16508
16509 ( exit $ac_status )
16510 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16511 See \`config.log' for more details." >&5
16512 echo "$as_me: error: cannot compute sizeof (long long), 77
16513 See \`config.log' for more details." >&2;}
16514 { (exit 1); exit 1; }; }
16515 fi
16516 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16517 fi
16518 fi
16519 rm -f conftest.val
16520 else
16521 ac_cv_sizeof_long_long=0
16522 fi
16523 fi
16524 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16525 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16526 cat >>confdefs.h <<_ACEOF
16527 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16528 _ACEOF
16529
16530
16531 ;;
16532 *-hp-hpux* )
16533 echo "$as_me:$LINENO: checking for long long" >&5
16534 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16535 if test "${ac_cv_type_long_long+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 else
16538 cat >conftest.$ac_ext <<_ACEOF
16539 /* confdefs.h. */
16540 _ACEOF
16541 cat confdefs.h >>conftest.$ac_ext
16542 cat >>conftest.$ac_ext <<_ACEOF
16543 /* end confdefs.h. */
16544 $ac_includes_default
16545 int
16546 main ()
16547 {
16548 if ((long long *) 0)
16549 return 0;
16550 if (sizeof (long long))
16551 return 0;
16552 ;
16553 return 0;
16554 }
16555 _ACEOF
16556 rm -f conftest.$ac_objext
16557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16558 (eval $ac_compile) 2>conftest.er1
16559 ac_status=$?
16560 grep -v '^ *+' conftest.er1 >conftest.err
16561 rm -f conftest.er1
16562 cat conftest.err >&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); } &&
16565 { ac_try='test -z "$ac_c_werror_flag"
16566 || test ! -s conftest.err'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16569 ac_status=$?
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; } &&
16572 { ac_try='test -s conftest.$ac_objext'
16573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16574 (eval $ac_try) 2>&5
16575 ac_status=$?
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; }; then
16578 ac_cv_type_long_long=yes
16579 else
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.$ac_ext >&5
16582
16583 ac_cv_type_long_long=no
16584 fi
16585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16586 fi
16587 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16588 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16589
16590 echo "$as_me:$LINENO: checking size of long long" >&5
16591 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16592 if test "${ac_cv_sizeof_long_long+set}" = set; then
16593 echo $ECHO_N "(cached) $ECHO_C" >&6
16594 else
16595 if test "$ac_cv_type_long_long" = yes; then
16596 # The cast to unsigned long works around a bug in the HP C Compiler
16597 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16598 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16599 # This bug is HP SR number 8606223364.
16600 if test "$cross_compiling" = yes; then
16601 # Depending upon the size, compute the lo and hi bounds.
16602 cat >conftest.$ac_ext <<_ACEOF
16603 /* confdefs.h. */
16604 _ACEOF
16605 cat confdefs.h >>conftest.$ac_ext
16606 cat >>conftest.$ac_ext <<_ACEOF
16607 /* end confdefs.h. */
16608 $ac_includes_default
16609 int
16610 main ()
16611 {
16612 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16613 test_array [0] = 0
16614
16615 ;
16616 return 0;
16617 }
16618 _ACEOF
16619 rm -f conftest.$ac_objext
16620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16621 (eval $ac_compile) 2>conftest.er1
16622 ac_status=$?
16623 grep -v '^ *+' conftest.er1 >conftest.err
16624 rm -f conftest.er1
16625 cat conftest.err >&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); } &&
16628 { ac_try='test -z "$ac_c_werror_flag"
16629 || test ! -s conftest.err'
16630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16631 (eval $ac_try) 2>&5
16632 ac_status=$?
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); }; } &&
16635 { ac_try='test -s conftest.$ac_objext'
16636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16637 (eval $ac_try) 2>&5
16638 ac_status=$?
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); }; }; then
16641 ac_lo=0 ac_mid=0
16642 while :; do
16643 cat >conftest.$ac_ext <<_ACEOF
16644 /* confdefs.h. */
16645 _ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16649 $ac_includes_default
16650 int
16651 main ()
16652 {
16653 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16654 test_array [0] = 0
16655
16656 ;
16657 return 0;
16658 }
16659 _ACEOF
16660 rm -f conftest.$ac_objext
16661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16662 (eval $ac_compile) 2>conftest.er1
16663 ac_status=$?
16664 grep -v '^ *+' conftest.er1 >conftest.err
16665 rm -f conftest.er1
16666 cat conftest.err >&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); } &&
16669 { ac_try='test -z "$ac_c_werror_flag"
16670 || test ! -s conftest.err'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16673 ac_status=$?
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; } &&
16676 { ac_try='test -s conftest.$ac_objext'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16679 ac_status=$?
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; }; then
16682 ac_hi=$ac_mid; break
16683 else
16684 echo "$as_me: failed program was:" >&5
16685 sed 's/^/| /' conftest.$ac_ext >&5
16686
16687 ac_lo=`expr $ac_mid + 1`
16688 if test $ac_lo -le $ac_mid; then
16689 ac_lo= ac_hi=
16690 break
16691 fi
16692 ac_mid=`expr 2 '*' $ac_mid + 1`
16693 fi
16694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16695 done
16696 else
16697 echo "$as_me: failed program was:" >&5
16698 sed 's/^/| /' conftest.$ac_ext >&5
16699
16700 cat >conftest.$ac_ext <<_ACEOF
16701 /* confdefs.h. */
16702 _ACEOF
16703 cat confdefs.h >>conftest.$ac_ext
16704 cat >>conftest.$ac_ext <<_ACEOF
16705 /* end confdefs.h. */
16706 $ac_includes_default
16707 int
16708 main ()
16709 {
16710 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16711 test_array [0] = 0
16712
16713 ;
16714 return 0;
16715 }
16716 _ACEOF
16717 rm -f conftest.$ac_objext
16718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16719 (eval $ac_compile) 2>conftest.er1
16720 ac_status=$?
16721 grep -v '^ *+' conftest.er1 >conftest.err
16722 rm -f conftest.er1
16723 cat conftest.err >&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); } &&
16726 { ac_try='test -z "$ac_c_werror_flag"
16727 || test ! -s conftest.err'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16730 ac_status=$?
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; } &&
16733 { ac_try='test -s conftest.$ac_objext'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16736 ac_status=$?
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; }; then
16739 ac_hi=-1 ac_mid=-1
16740 while :; do
16741 cat >conftest.$ac_ext <<_ACEOF
16742 /* confdefs.h. */
16743 _ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 $ac_includes_default
16748 int
16749 main ()
16750 {
16751 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16752 test_array [0] = 0
16753
16754 ;
16755 return 0;
16756 }
16757 _ACEOF
16758 rm -f conftest.$ac_objext
16759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16760 (eval $ac_compile) 2>conftest.er1
16761 ac_status=$?
16762 grep -v '^ *+' conftest.er1 >conftest.err
16763 rm -f conftest.er1
16764 cat conftest.err >&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); } &&
16767 { ac_try='test -z "$ac_c_werror_flag"
16768 || test ! -s conftest.err'
16769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16770 (eval $ac_try) 2>&5
16771 ac_status=$?
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); }; } &&
16774 { ac_try='test -s conftest.$ac_objext'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16777 ac_status=$?
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16780 ac_lo=$ac_mid; break
16781 else
16782 echo "$as_me: failed program was:" >&5
16783 sed 's/^/| /' conftest.$ac_ext >&5
16784
16785 ac_hi=`expr '(' $ac_mid ')' - 1`
16786 if test $ac_mid -le $ac_hi; then
16787 ac_lo= ac_hi=
16788 break
16789 fi
16790 ac_mid=`expr 2 '*' $ac_mid`
16791 fi
16792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16793 done
16794 else
16795 echo "$as_me: failed program was:" >&5
16796 sed 's/^/| /' conftest.$ac_ext >&5
16797
16798 ac_lo= ac_hi=
16799 fi
16800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16801 fi
16802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16803 # Binary search between lo and hi bounds.
16804 while test "x$ac_lo" != "x$ac_hi"; do
16805 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16806 cat >conftest.$ac_ext <<_ACEOF
16807 /* confdefs.h. */
16808 _ACEOF
16809 cat confdefs.h >>conftest.$ac_ext
16810 cat >>conftest.$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16812 $ac_includes_default
16813 int
16814 main ()
16815 {
16816 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16817 test_array [0] = 0
16818
16819 ;
16820 return 0;
16821 }
16822 _ACEOF
16823 rm -f conftest.$ac_objext
16824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16825 (eval $ac_compile) 2>conftest.er1
16826 ac_status=$?
16827 grep -v '^ *+' conftest.er1 >conftest.err
16828 rm -f conftest.er1
16829 cat conftest.err >&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } &&
16832 { ac_try='test -z "$ac_c_werror_flag"
16833 || test ! -s conftest.err'
16834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16835 (eval $ac_try) 2>&5
16836 ac_status=$?
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }; } &&
16839 { ac_try='test -s conftest.$ac_objext'
16840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841 (eval $ac_try) 2>&5
16842 ac_status=$?
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; }; then
16845 ac_hi=$ac_mid
16846 else
16847 echo "$as_me: failed program was:" >&5
16848 sed 's/^/| /' conftest.$ac_ext >&5
16849
16850 ac_lo=`expr '(' $ac_mid ')' + 1`
16851 fi
16852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16853 done
16854 case $ac_lo in
16855 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16856 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16857 See \`config.log' for more details." >&5
16858 echo "$as_me: error: cannot compute sizeof (long long), 77
16859 See \`config.log' for more details." >&2;}
16860 { (exit 1); exit 1; }; } ;;
16861 esac
16862 else
16863 if test "$cross_compiling" = yes; then
16864 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16865 See \`config.log' for more details." >&5
16866 echo "$as_me: error: cannot run test program while cross compiling
16867 See \`config.log' for more details." >&2;}
16868 { (exit 1); exit 1; }; }
16869 else
16870 cat >conftest.$ac_ext <<_ACEOF
16871 /* confdefs.h. */
16872 _ACEOF
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16876 $ac_includes_default
16877 long longval () { return (long) (sizeof (long long)); }
16878 unsigned long ulongval () { return (long) (sizeof (long long)); }
16879 #include <stdio.h>
16880 #include <stdlib.h>
16881 int
16882 main ()
16883 {
16884
16885 FILE *f = fopen ("conftest.val", "w");
16886 if (! f)
16887 exit (1);
16888 if (((long) (sizeof (long long))) < 0)
16889 {
16890 long i = longval ();
16891 if (i != ((long) (sizeof (long long))))
16892 exit (1);
16893 fprintf (f, "%ld\n", i);
16894 }
16895 else
16896 {
16897 unsigned long i = ulongval ();
16898 if (i != ((long) (sizeof (long long))))
16899 exit (1);
16900 fprintf (f, "%lu\n", i);
16901 }
16902 exit (ferror (f) || fclose (f) != 0);
16903
16904 ;
16905 return 0;
16906 }
16907 _ACEOF
16908 rm -f conftest$ac_exeext
16909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16910 (eval $ac_link) 2>&5
16911 ac_status=$?
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915 (eval $ac_try) 2>&5
16916 ac_status=$?
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; }; then
16919 ac_cv_sizeof_long_long=`cat conftest.val`
16920 else
16921 echo "$as_me: program exited with status $ac_status" >&5
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.$ac_ext >&5
16924
16925 ( exit $ac_status )
16926 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16927 See \`config.log' for more details." >&5
16928 echo "$as_me: error: cannot compute sizeof (long long), 77
16929 See \`config.log' for more details." >&2;}
16930 { (exit 1); exit 1; }; }
16931 fi
16932 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16933 fi
16934 fi
16935 rm -f conftest.val
16936 else
16937 ac_cv_sizeof_long_long=0
16938 fi
16939 fi
16940 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16941 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16942 cat >>confdefs.h <<_ACEOF
16943 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16944 _ACEOF
16945
16946
16947 if test "$ac_cv_sizeof_long_long" != "0"; then
16948 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16949 fi
16950 ;;
16951 * )
16952 echo "$as_me:$LINENO: checking for long long" >&5
16953 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16954 if test "${ac_cv_type_long_long+set}" = set; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16956 else
16957 cat >conftest.$ac_ext <<_ACEOF
16958 /* confdefs.h. */
16959 _ACEOF
16960 cat confdefs.h >>conftest.$ac_ext
16961 cat >>conftest.$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 $ac_includes_default
16964 int
16965 main ()
16966 {
16967 if ((long long *) 0)
16968 return 0;
16969 if (sizeof (long long))
16970 return 0;
16971 ;
16972 return 0;
16973 }
16974 _ACEOF
16975 rm -f conftest.$ac_objext
16976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16977 (eval $ac_compile) 2>conftest.er1
16978 ac_status=$?
16979 grep -v '^ *+' conftest.er1 >conftest.err
16980 rm -f conftest.er1
16981 cat conftest.err >&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } &&
16984 { ac_try='test -z "$ac_c_werror_flag"
16985 || test ! -s conftest.err'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16988 ac_status=$?
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; } &&
16991 { ac_try='test -s conftest.$ac_objext'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16994 ac_status=$?
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; }; then
16997 ac_cv_type_long_long=yes
16998 else
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.$ac_ext >&5
17001
17002 ac_cv_type_long_long=no
17003 fi
17004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17005 fi
17006 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17007 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17008
17009 echo "$as_me:$LINENO: checking size of long long" >&5
17010 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17011 if test "${ac_cv_sizeof_long_long+set}" = set; then
17012 echo $ECHO_N "(cached) $ECHO_C" >&6
17013 else
17014 if test "$ac_cv_type_long_long" = yes; then
17015 # The cast to unsigned long works around a bug in the HP C Compiler
17016 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17017 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17018 # This bug is HP SR number 8606223364.
17019 if test "$cross_compiling" = yes; then
17020 # Depending upon the size, compute the lo and hi bounds.
17021 cat >conftest.$ac_ext <<_ACEOF
17022 /* confdefs.h. */
17023 _ACEOF
17024 cat confdefs.h >>conftest.$ac_ext
17025 cat >>conftest.$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17027 $ac_includes_default
17028 int
17029 main ()
17030 {
17031 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17032 test_array [0] = 0
17033
17034 ;
17035 return 0;
17036 }
17037 _ACEOF
17038 rm -f conftest.$ac_objext
17039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17040 (eval $ac_compile) 2>conftest.er1
17041 ac_status=$?
17042 grep -v '^ *+' conftest.er1 >conftest.err
17043 rm -f conftest.er1
17044 cat conftest.err >&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try='test -z "$ac_c_werror_flag"
17048 || test ! -s conftest.err'
17049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17050 (eval $ac_try) 2>&5
17051 ac_status=$?
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); }; } &&
17054 { ac_try='test -s conftest.$ac_objext'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17057 ac_status=$?
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; }; then
17060 ac_lo=0 ac_mid=0
17061 while :; do
17062 cat >conftest.$ac_ext <<_ACEOF
17063 /* confdefs.h. */
17064 _ACEOF
17065 cat confdefs.h >>conftest.$ac_ext
17066 cat >>conftest.$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17068 $ac_includes_default
17069 int
17070 main ()
17071 {
17072 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17073 test_array [0] = 0
17074
17075 ;
17076 return 0;
17077 }
17078 _ACEOF
17079 rm -f conftest.$ac_objext
17080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17081 (eval $ac_compile) 2>conftest.er1
17082 ac_status=$?
17083 grep -v '^ *+' conftest.er1 >conftest.err
17084 rm -f conftest.er1
17085 cat conftest.err >&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); } &&
17088 { ac_try='test -z "$ac_c_werror_flag"
17089 || test ! -s conftest.err'
17090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17091 (eval $ac_try) 2>&5
17092 ac_status=$?
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }; } &&
17095 { ac_try='test -s conftest.$ac_objext'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17098 ac_status=$?
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; }; then
17101 ac_hi=$ac_mid; break
17102 else
17103 echo "$as_me: failed program was:" >&5
17104 sed 's/^/| /' conftest.$ac_ext >&5
17105
17106 ac_lo=`expr $ac_mid + 1`
17107 if test $ac_lo -le $ac_mid; then
17108 ac_lo= ac_hi=
17109 break
17110 fi
17111 ac_mid=`expr 2 '*' $ac_mid + 1`
17112 fi
17113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17114 done
17115 else
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.$ac_ext >&5
17118
17119 cat >conftest.$ac_ext <<_ACEOF
17120 /* confdefs.h. */
17121 _ACEOF
17122 cat confdefs.h >>conftest.$ac_ext
17123 cat >>conftest.$ac_ext <<_ACEOF
17124 /* end confdefs.h. */
17125 $ac_includes_default
17126 int
17127 main ()
17128 {
17129 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17130 test_array [0] = 0
17131
17132 ;
17133 return 0;
17134 }
17135 _ACEOF
17136 rm -f conftest.$ac_objext
17137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17138 (eval $ac_compile) 2>conftest.er1
17139 ac_status=$?
17140 grep -v '^ *+' conftest.er1 >conftest.err
17141 rm -f conftest.er1
17142 cat conftest.err >&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } &&
17145 { ac_try='test -z "$ac_c_werror_flag"
17146 || test ! -s conftest.err'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17149 ac_status=$?
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; } &&
17152 { ac_try='test -s conftest.$ac_objext'
17153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17154 (eval $ac_try) 2>&5
17155 ac_status=$?
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); }; }; then
17158 ac_hi=-1 ac_mid=-1
17159 while :; do
17160 cat >conftest.$ac_ext <<_ACEOF
17161 /* confdefs.h. */
17162 _ACEOF
17163 cat confdefs.h >>conftest.$ac_ext
17164 cat >>conftest.$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17166 $ac_includes_default
17167 int
17168 main ()
17169 {
17170 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17171 test_array [0] = 0
17172
17173 ;
17174 return 0;
17175 }
17176 _ACEOF
17177 rm -f conftest.$ac_objext
17178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17179 (eval $ac_compile) 2>conftest.er1
17180 ac_status=$?
17181 grep -v '^ *+' conftest.er1 >conftest.err
17182 rm -f conftest.er1
17183 cat conftest.err >&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } &&
17186 { ac_try='test -z "$ac_c_werror_flag"
17187 || test ! -s conftest.err'
17188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17189 (eval $ac_try) 2>&5
17190 ac_status=$?
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); }; } &&
17193 { ac_try='test -s conftest.$ac_objext'
17194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17195 (eval $ac_try) 2>&5
17196 ac_status=$?
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); }; }; then
17199 ac_lo=$ac_mid; break
17200 else
17201 echo "$as_me: failed program was:" >&5
17202 sed 's/^/| /' conftest.$ac_ext >&5
17203
17204 ac_hi=`expr '(' $ac_mid ')' - 1`
17205 if test $ac_mid -le $ac_hi; then
17206 ac_lo= ac_hi=
17207 break
17208 fi
17209 ac_mid=`expr 2 '*' $ac_mid`
17210 fi
17211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17212 done
17213 else
17214 echo "$as_me: failed program was:" >&5
17215 sed 's/^/| /' conftest.$ac_ext >&5
17216
17217 ac_lo= ac_hi=
17218 fi
17219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17220 fi
17221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17222 # Binary search between lo and hi bounds.
17223 while test "x$ac_lo" != "x$ac_hi"; do
17224 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17225 cat >conftest.$ac_ext <<_ACEOF
17226 /* confdefs.h. */
17227 _ACEOF
17228 cat confdefs.h >>conftest.$ac_ext
17229 cat >>conftest.$ac_ext <<_ACEOF
17230 /* end confdefs.h. */
17231 $ac_includes_default
17232 int
17233 main ()
17234 {
17235 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17236 test_array [0] = 0
17237
17238 ;
17239 return 0;
17240 }
17241 _ACEOF
17242 rm -f conftest.$ac_objext
17243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17244 (eval $ac_compile) 2>conftest.er1
17245 ac_status=$?
17246 grep -v '^ *+' conftest.er1 >conftest.err
17247 rm -f conftest.er1
17248 cat conftest.err >&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } &&
17251 { ac_try='test -z "$ac_c_werror_flag"
17252 || test ! -s conftest.err'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17255 ac_status=$?
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; } &&
17258 { ac_try='test -s conftest.$ac_objext'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17261 ac_status=$?
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; }; then
17264 ac_hi=$ac_mid
17265 else
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17268
17269 ac_lo=`expr '(' $ac_mid ')' + 1`
17270 fi
17271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17272 done
17273 case $ac_lo in
17274 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17275 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17276 See \`config.log' for more details." >&5
17277 echo "$as_me: error: cannot compute sizeof (long long), 77
17278 See \`config.log' for more details." >&2;}
17279 { (exit 1); exit 1; }; } ;;
17280 esac
17281 else
17282 if test "$cross_compiling" = yes; then
17283 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17284 See \`config.log' for more details." >&5
17285 echo "$as_me: error: cannot run test program while cross compiling
17286 See \`config.log' for more details." >&2;}
17287 { (exit 1); exit 1; }; }
17288 else
17289 cat >conftest.$ac_ext <<_ACEOF
17290 /* confdefs.h. */
17291 _ACEOF
17292 cat confdefs.h >>conftest.$ac_ext
17293 cat >>conftest.$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 $ac_includes_default
17296 long longval () { return (long) (sizeof (long long)); }
17297 unsigned long ulongval () { return (long) (sizeof (long long)); }
17298 #include <stdio.h>
17299 #include <stdlib.h>
17300 int
17301 main ()
17302 {
17303
17304 FILE *f = fopen ("conftest.val", "w");
17305 if (! f)
17306 exit (1);
17307 if (((long) (sizeof (long long))) < 0)
17308 {
17309 long i = longval ();
17310 if (i != ((long) (sizeof (long long))))
17311 exit (1);
17312 fprintf (f, "%ld\n", i);
17313 }
17314 else
17315 {
17316 unsigned long i = ulongval ();
17317 if (i != ((long) (sizeof (long long))))
17318 exit (1);
17319 fprintf (f, "%lu\n", i);
17320 }
17321 exit (ferror (f) || fclose (f) != 0);
17322
17323 ;
17324 return 0;
17325 }
17326 _ACEOF
17327 rm -f conftest$ac_exeext
17328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17329 (eval $ac_link) 2>&5
17330 ac_status=$?
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17334 (eval $ac_try) 2>&5
17335 ac_status=$?
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); }; }; then
17338 ac_cv_sizeof_long_long=`cat conftest.val`
17339 else
17340 echo "$as_me: program exited with status $ac_status" >&5
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.$ac_ext >&5
17343
17344 ( exit $ac_status )
17345 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17346 See \`config.log' for more details." >&5
17347 echo "$as_me: error: cannot compute sizeof (long long), 77
17348 See \`config.log' for more details." >&2;}
17349 { (exit 1); exit 1; }; }
17350 fi
17351 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17352 fi
17353 fi
17354 rm -f conftest.val
17355 else
17356 ac_cv_sizeof_long_long=0
17357 fi
17358 fi
17359 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17360 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17361 cat >>confdefs.h <<_ACEOF
17362 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17363 _ACEOF
17364
17365
17366 esac
17367
17368 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17369 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17370 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17372 else
17373
17374 if test "$cross_compiling" = yes; then
17375
17376 case "${host}" in
17377 *-pc-msdosdjgpp )
17378 wx_cv_sizeof_wchar_t=0
17379 ;;
17380 * )
17381 wx_cv_sizeof_wchar_t=4
17382 ;;
17383 esac
17384
17385
17386 else
17387 cat >conftest.$ac_ext <<_ACEOF
17388 /* confdefs.h. */
17389 _ACEOF
17390 cat confdefs.h >>conftest.$ac_ext
17391 cat >>conftest.$ac_ext <<_ACEOF
17392 /* end confdefs.h. */
17393
17394 /* DJGPP only has fake wchar_t: */
17395 #ifdef __DJGPP__
17396 # error "fake wchar_t"
17397 #endif
17398 #ifdef HAVE_WCHAR_H
17399 # ifdef __CYGWIN__
17400 # include <stddef.h>
17401 # endif
17402 # include <wchar.h>
17403 #endif
17404 #ifdef HAVE_STDLIB_H
17405 # include <stdlib.h>
17406 #endif
17407 #include <stdio.h>
17408 int main()
17409 {
17410 FILE *f=fopen("conftestval", "w");
17411 if (!f) exit(1);
17412 fprintf(f, "%i", sizeof(wchar_t));
17413 exit(0);
17414 }
17415
17416 _ACEOF
17417 rm -f conftest$ac_exeext
17418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17419 (eval $ac_link) 2>&5
17420 ac_status=$?
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17425 ac_status=$?
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; }; then
17428 wx_cv_sizeof_wchar_t=`cat conftestval`
17429 else
17430 echo "$as_me: program exited with status $ac_status" >&5
17431 echo "$as_me: failed program was:" >&5
17432 sed 's/^/| /' conftest.$ac_ext >&5
17433
17434 ( exit $ac_status )
17435 wx_cv_sizeof_wchar_t=0
17436 fi
17437 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17438 fi
17439
17440 fi
17441 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17442 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17443
17444 cat >>confdefs.h <<_ACEOF
17445 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17446 _ACEOF
17447
17448
17449 # Check whether --enable-largefile or --disable-largefile was given.
17450 if test "${enable_largefile+set}" = set; then
17451 enableval="$enable_largefile"
17452
17453 fi;
17454 if test "$enable_largefile" != no; then
17455 wx_largefile=no
17456
17457 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17458 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17459 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17460 echo $ECHO_N "(cached) $ECHO_C" >&6
17461 else
17462
17463 cat >conftest.$ac_ext <<_ACEOF
17464 /* confdefs.h. */
17465 _ACEOF
17466 cat confdefs.h >>conftest.$ac_ext
17467 cat >>conftest.$ac_ext <<_ACEOF
17468 /* end confdefs.h. */
17469 #define _FILE_OFFSET_BITS 64
17470 #include <sys/types.h>
17471 int
17472 main ()
17473 {
17474 typedef struct {
17475 unsigned int field: sizeof(off_t) == 8;
17476 } wxlf;
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>conftest.er1
17485 ac_status=$?
17486 grep -v '^ *+' conftest.er1 >conftest.err
17487 rm -f conftest.er1
17488 cat conftest.err >&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); } &&
17491 { ac_try='test -z "$ac_c_werror_flag"
17492 || test ! -s conftest.err'
17493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17494 (eval $ac_try) 2>&5
17495 ac_status=$?
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); }; } &&
17498 { ac_try='test -s conftest.$ac_objext'
17499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17500 (eval $ac_try) 2>&5
17501 ac_status=$?
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); }; }; then
17504 ac_cv_sys_file_offset_bits=64
17505 else
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.$ac_ext >&5
17508
17509 ac_cv_sys_file_offset_bits=no
17510 fi
17511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17512
17513
17514 fi
17515 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
17516 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
17517
17518 if test "$ac_cv_sys_file_offset_bits" != no; then
17519 wx_largefile=yes
17520 cat >>confdefs.h <<_ACEOF
17521 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17522 _ACEOF
17523
17524 fi
17525
17526 if test "x$wx_largefile" != "xyes"; then
17527
17528 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
17529 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
17530 if test "${ac_cv_sys_large_files+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17532 else
17533
17534 cat >conftest.$ac_ext <<_ACEOF
17535 /* confdefs.h. */
17536 _ACEOF
17537 cat confdefs.h >>conftest.$ac_ext
17538 cat >>conftest.$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17540 #define _LARGE_FILES 1
17541 #include <sys/types.h>
17542 int
17543 main ()
17544 {
17545 typedef struct {
17546 unsigned int field: sizeof(off_t) == 8;
17547 } wxlf;
17548
17549 ;
17550 return 0;
17551 }
17552 _ACEOF
17553 rm -f conftest.$ac_objext
17554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17555 (eval $ac_compile) 2>conftest.er1
17556 ac_status=$?
17557 grep -v '^ *+' conftest.er1 >conftest.err
17558 rm -f conftest.er1
17559 cat conftest.err >&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } &&
17562 { ac_try='test -z "$ac_c_werror_flag"
17563 || test ! -s conftest.err'
17564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17565 (eval $ac_try) 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 ac_cv_sys_large_files=1
17576 else
17577 echo "$as_me: failed program was:" >&5
17578 sed 's/^/| /' conftest.$ac_ext >&5
17579
17580 ac_cv_sys_large_files=no
17581 fi
17582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17583
17584
17585 fi
17586 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
17587 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
17588
17589 if test "$ac_cv_sys_large_files" != no; then
17590 wx_largefile=yes
17591 cat >>confdefs.h <<_ACEOF
17592 #define _LARGE_FILES $ac_cv_sys_large_files
17593 _ACEOF
17594
17595 fi
17596
17597 fi
17598
17599 echo "$as_me:$LINENO: checking if large file support is available" >&5
17600 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
17601 if test "x$wx_largefile" = "xyes"; then
17602 cat >>confdefs.h <<\_ACEOF
17603 #define HAVE_LARGEFILE_SUPPORT 1
17604 _ACEOF
17605
17606 fi
17607 echo "$as_me:$LINENO: result: $wx_largefile" >&5
17608 echo "${ECHO_T}$wx_largefile" >&6
17609 fi
17610
17611
17612 if test "x$wx_largefile" = "xyes"; then
17613 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
17614 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
17615 else
17616 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
17617 fi
17618 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
17619 fi
17620
17621 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17622 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17623 if test "${ac_cv_c_bigendian+set}" = set; then
17624 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 else
17626 ac_cv_c_bigendian=unknown
17627 # See if sys/param.h defines the BYTE_ORDER macro.
17628 cat >conftest.$ac_ext <<_ACEOF
17629 /* confdefs.h. */
17630 _ACEOF
17631 cat confdefs.h >>conftest.$ac_ext
17632 cat >>conftest.$ac_ext <<_ACEOF
17633 /* end confdefs.h. */
17634 #include <sys/types.h>
17635 #include <sys/param.h>
17636 int
17637 main ()
17638 {
17639
17640 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17641 bogus endian macros
17642 #endif
17643 ;
17644 return 0;
17645 }
17646 _ACEOF
17647 rm -f conftest.$ac_objext
17648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17649 (eval $ac_compile) 2>conftest.er1
17650 ac_status=$?
17651 grep -v '^ *+' conftest.er1 >conftest.err
17652 rm -f conftest.er1
17653 cat conftest.err >&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); } &&
17656 { ac_try='test -z "$ac_c_werror_flag"
17657 || test ! -s conftest.err'
17658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659 (eval $ac_try) 2>&5
17660 ac_status=$?
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); }; } &&
17663 { ac_try='test -s conftest.$ac_objext'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17666 ac_status=$?
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; }; then
17669 # It does; now see whether it defined to BIG_ENDIAN or not.
17670 cat >conftest.$ac_ext <<_ACEOF
17671 /* confdefs.h. */
17672 _ACEOF
17673 cat confdefs.h >>conftest.$ac_ext
17674 cat >>conftest.$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17676 #include <sys/types.h>
17677 #include <sys/param.h>
17678 int
17679 main ()
17680 {
17681
17682 #if BYTE_ORDER != BIG_ENDIAN
17683 not big endian
17684 #endif
17685 ;
17686 return 0;
17687 }
17688 _ACEOF
17689 rm -f conftest.$ac_objext
17690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17691 (eval $ac_compile) 2>conftest.er1
17692 ac_status=$?
17693 grep -v '^ *+' conftest.er1 >conftest.err
17694 rm -f conftest.er1
17695 cat conftest.err >&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); } &&
17698 { ac_try='test -z "$ac_c_werror_flag"
17699 || test ! -s conftest.err'
17700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701 (eval $ac_try) 2>&5
17702 ac_status=$?
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; } &&
17705 { ac_try='test -s conftest.$ac_objext'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707 (eval $ac_try) 2>&5
17708 ac_status=$?
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; }; then
17711 ac_cv_c_bigendian=yes
17712 else
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.$ac_ext >&5
17715
17716 ac_cv_c_bigendian=no
17717 fi
17718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17719 else
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17722
17723 fi
17724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17725 if test $ac_cv_c_bigendian = unknown; then
17726 if test "$cross_compiling" = yes; then
17727 ac_cv_c_bigendian=unknown
17728 else
17729 cat >conftest.$ac_ext <<_ACEOF
17730 /* confdefs.h. */
17731 _ACEOF
17732 cat confdefs.h >>conftest.$ac_ext
17733 cat >>conftest.$ac_ext <<_ACEOF
17734 /* end confdefs.h. */
17735 main () {
17736 /* Are we little or big endian? From Harbison&Steele. */
17737 union
17738 {
17739 long l;
17740 char c[sizeof (long)];
17741 } u;
17742 u.l = 1;
17743 exit (u.c[sizeof (long) - 1] == 1);
17744 }
17745 _ACEOF
17746 rm -f conftest$ac_exeext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17748 (eval $ac_link) 2>&5
17749 ac_status=$?
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17754 ac_status=$?
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 ac_cv_c_bigendian=no
17758 else
17759 echo "$as_me: program exited with status $ac_status" >&5
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17762
17763 ( exit $ac_status )
17764 ac_cv_c_bigendian=yes
17765 fi
17766 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17767 fi
17768 fi
17769 fi
17770 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17771 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17772 if test $ac_cv_c_bigendian = unknown; then
17773 { 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
17774 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;}
17775 fi
17776 if test $ac_cv_c_bigendian = yes; then
17777 cat >>confdefs.h <<\_ACEOF
17778 #define WORDS_BIGENDIAN 1
17779 _ACEOF
17780
17781 fi
17782
17783
17784
17785 ac_ext=cc
17786 ac_cpp='$CXXCPP $CPPFLAGS'
17787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17790 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17791 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17792 if test -z "$CXXCPP"; then
17793 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17794 echo $ECHO_N "(cached) $ECHO_C" >&6
17795 else
17796 # Double quotes because CXXCPP needs to be expanded
17797 for CXXCPP in "$CXX -E" "/lib/cpp"
17798 do
17799 ac_preproc_ok=false
17800 for ac_cxx_preproc_warn_flag in '' yes
17801 do
17802 # Use a header file that comes with gcc, so configuring glibc
17803 # with a fresh cross-compiler works.
17804 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17805 # <limits.h> exists even on freestanding compilers.
17806 # On the NeXT, cc -E runs the code through the compiler's parser,
17807 # not just through cpp. "Syntax error" is here to catch this case.
17808 cat >conftest.$ac_ext <<_ACEOF
17809 /* confdefs.h. */
17810 _ACEOF
17811 cat confdefs.h >>conftest.$ac_ext
17812 cat >>conftest.$ac_ext <<_ACEOF
17813 /* end confdefs.h. */
17814 #ifdef __STDC__
17815 # include <limits.h>
17816 #else
17817 # include <assert.h>
17818 #endif
17819 Syntax error
17820 _ACEOF
17821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17822 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17823 ac_status=$?
17824 grep -v '^ *+' conftest.er1 >conftest.err
17825 rm -f conftest.er1
17826 cat conftest.err >&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); } >/dev/null; then
17829 if test -s conftest.err; then
17830 ac_cpp_err=$ac_cxx_preproc_warn_flag
17831 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17832 else
17833 ac_cpp_err=
17834 fi
17835 else
17836 ac_cpp_err=yes
17837 fi
17838 if test -z "$ac_cpp_err"; then
17839 :
17840 else
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.$ac_ext >&5
17843
17844 # Broken: fails on valid input.
17845 continue
17846 fi
17847 rm -f conftest.err conftest.$ac_ext
17848
17849 # OK, works on sane cases. Now check whether non-existent headers
17850 # can be detected and how.
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 #include <ac_nonexistent.h>
17858 _ACEOF
17859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17860 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17861 ac_status=$?
17862 grep -v '^ *+' conftest.er1 >conftest.err
17863 rm -f conftest.er1
17864 cat conftest.err >&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } >/dev/null; then
17867 if test -s conftest.err; then
17868 ac_cpp_err=$ac_cxx_preproc_warn_flag
17869 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17870 else
17871 ac_cpp_err=
17872 fi
17873 else
17874 ac_cpp_err=yes
17875 fi
17876 if test -z "$ac_cpp_err"; then
17877 # Broken: success on invalid input.
17878 continue
17879 else
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17882
17883 # Passes both tests.
17884 ac_preproc_ok=:
17885 break
17886 fi
17887 rm -f conftest.err conftest.$ac_ext
17888
17889 done
17890 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17891 rm -f conftest.err conftest.$ac_ext
17892 if $ac_preproc_ok; then
17893 break
17894 fi
17895
17896 done
17897 ac_cv_prog_CXXCPP=$CXXCPP
17898
17899 fi
17900 CXXCPP=$ac_cv_prog_CXXCPP
17901 else
17902 ac_cv_prog_CXXCPP=$CXXCPP
17903 fi
17904 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17905 echo "${ECHO_T}$CXXCPP" >&6
17906 ac_preproc_ok=false
17907 for ac_cxx_preproc_warn_flag in '' yes
17908 do
17909 # Use a header file that comes with gcc, so configuring glibc
17910 # with a fresh cross-compiler works.
17911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17912 # <limits.h> exists even on freestanding compilers.
17913 # On the NeXT, cc -E runs the code through the compiler's parser,
17914 # not just through cpp. "Syntax error" is here to catch this case.
17915 cat >conftest.$ac_ext <<_ACEOF
17916 /* confdefs.h. */
17917 _ACEOF
17918 cat confdefs.h >>conftest.$ac_ext
17919 cat >>conftest.$ac_ext <<_ACEOF
17920 /* end confdefs.h. */
17921 #ifdef __STDC__
17922 # include <limits.h>
17923 #else
17924 # include <assert.h>
17925 #endif
17926 Syntax error
17927 _ACEOF
17928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17930 ac_status=$?
17931 grep -v '^ *+' conftest.er1 >conftest.err
17932 rm -f conftest.er1
17933 cat conftest.err >&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); } >/dev/null; then
17936 if test -s conftest.err; then
17937 ac_cpp_err=$ac_cxx_preproc_warn_flag
17938 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17939 else
17940 ac_cpp_err=
17941 fi
17942 else
17943 ac_cpp_err=yes
17944 fi
17945 if test -z "$ac_cpp_err"; then
17946 :
17947 else
17948 echo "$as_me: failed program was:" >&5
17949 sed 's/^/| /' conftest.$ac_ext >&5
17950
17951 # Broken: fails on valid input.
17952 continue
17953 fi
17954 rm -f conftest.err conftest.$ac_ext
17955
17956 # OK, works on sane cases. Now check whether non-existent headers
17957 # can be detected and how.
17958 cat >conftest.$ac_ext <<_ACEOF
17959 /* confdefs.h. */
17960 _ACEOF
17961 cat confdefs.h >>conftest.$ac_ext
17962 cat >>conftest.$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 #include <ac_nonexistent.h>
17965 _ACEOF
17966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17968 ac_status=$?
17969 grep -v '^ *+' conftest.er1 >conftest.err
17970 rm -f conftest.er1
17971 cat conftest.err >&5
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); } >/dev/null; then
17974 if test -s conftest.err; then
17975 ac_cpp_err=$ac_cxx_preproc_warn_flag
17976 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17977 else
17978 ac_cpp_err=
17979 fi
17980 else
17981 ac_cpp_err=yes
17982 fi
17983 if test -z "$ac_cpp_err"; then
17984 # Broken: success on invalid input.
17985 continue
17986 else
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.$ac_ext >&5
17989
17990 # Passes both tests.
17991 ac_preproc_ok=:
17992 break
17993 fi
17994 rm -f conftest.err conftest.$ac_ext
17995
17996 done
17997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17998 rm -f conftest.err conftest.$ac_ext
17999 if $ac_preproc_ok; then
18000 :
18001 else
18002 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18003 See \`config.log' for more details." >&5
18004 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18005 See \`config.log' for more details." >&2;}
18006 { (exit 1); exit 1; }; }
18007 fi
18008
18009 ac_ext=cc
18010 ac_cpp='$CXXCPP $CPPFLAGS'
18011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18014
18015
18016
18017 if test "$cross_compiling" = "yes"; then
18018 cat >>confdefs.h <<\_ACEOF
18019 #define wxUSE_IOSTREAMH 1
18020 _ACEOF
18021
18022 else
18023
18024
18025 ac_ext=cc
18026 ac_cpp='$CXXCPP $CPPFLAGS'
18027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18030
18031
18032
18033 for ac_header in iostream
18034 do
18035 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18037 echo "$as_me:$LINENO: checking for $ac_header" >&5
18038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18040 echo $ECHO_N "(cached) $ECHO_C" >&6
18041 fi
18042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18044 else
18045 # Is the header compilable?
18046 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18047 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18048 cat >conftest.$ac_ext <<_ACEOF
18049 /* confdefs.h. */
18050 _ACEOF
18051 cat confdefs.h >>conftest.$ac_ext
18052 cat >>conftest.$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18054 $ac_includes_default
18055 #include <$ac_header>
18056 _ACEOF
18057 rm -f conftest.$ac_objext
18058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18059 (eval $ac_compile) 2>conftest.er1
18060 ac_status=$?
18061 grep -v '^ *+' conftest.er1 >conftest.err
18062 rm -f conftest.er1
18063 cat conftest.err >&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); } &&
18066 { ac_try='test -z "$ac_cxx_werror_flag"
18067 || test ! -s conftest.err'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18070 ac_status=$?
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; } &&
18073 { ac_try='test -s conftest.$ac_objext'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18076 ac_status=$?
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; }; then
18079 ac_header_compiler=yes
18080 else
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18083
18084 ac_header_compiler=no
18085 fi
18086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18088 echo "${ECHO_T}$ac_header_compiler" >&6
18089
18090 # Is the header present?
18091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18093 cat >conftest.$ac_ext <<_ACEOF
18094 /* confdefs.h. */
18095 _ACEOF
18096 cat confdefs.h >>conftest.$ac_ext
18097 cat >>conftest.$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099 #include <$ac_header>
18100 _ACEOF
18101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18103 ac_status=$?
18104 grep -v '^ *+' conftest.er1 >conftest.err
18105 rm -f conftest.er1
18106 cat conftest.err >&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } >/dev/null; then
18109 if test -s conftest.err; then
18110 ac_cpp_err=$ac_cxx_preproc_warn_flag
18111 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18112 else
18113 ac_cpp_err=
18114 fi
18115 else
18116 ac_cpp_err=yes
18117 fi
18118 if test -z "$ac_cpp_err"; then
18119 ac_header_preproc=yes
18120 else
18121 echo "$as_me: failed program was:" >&5
18122 sed 's/^/| /' conftest.$ac_ext >&5
18123
18124 ac_header_preproc=no
18125 fi
18126 rm -f conftest.err conftest.$ac_ext
18127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18128 echo "${ECHO_T}$ac_header_preproc" >&6
18129
18130 # So? What about this header?
18131 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18132 yes:no: )
18133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18137 ac_header_preproc=yes
18138 ;;
18139 no:yes:* )
18140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18152 (
18153 cat <<\_ASBOX
18154 ## ----------------------------------------- ##
18155 ## Report this to wx-dev@lists.wxwindows.org ##
18156 ## ----------------------------------------- ##
18157 _ASBOX
18158 ) |
18159 sed "s/^/$as_me: WARNING: /" >&2
18160 ;;
18161 esac
18162 echo "$as_me:$LINENO: checking for $ac_header" >&5
18163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18165 echo $ECHO_N "(cached) $ECHO_C" >&6
18166 else
18167 eval "$as_ac_Header=\$ac_header_preproc"
18168 fi
18169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18171
18172 fi
18173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18174 cat >>confdefs.h <<_ACEOF
18175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18176 _ACEOF
18177
18178 fi
18179
18180 done
18181
18182
18183 if test "$ac_cv_header_iostream" = "yes" ; then
18184 :
18185 else
18186 cat >>confdefs.h <<\_ACEOF
18187 #define wxUSE_IOSTREAMH 1
18188 _ACEOF
18189
18190 fi
18191
18192 ac_ext=c
18193 ac_cpp='$CPP $CPPFLAGS'
18194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18197
18198 fi
18199
18200
18201
18202 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18203 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18204 if test "${wx_cv_cpp_bool+set}" = set; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 else
18207
18208
18209
18210 ac_ext=cc
18211 ac_cpp='$CXXCPP $CPPFLAGS'
18212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18215
18216
18217 cat >conftest.$ac_ext <<_ACEOF
18218 /* confdefs.h. */
18219 _ACEOF
18220 cat confdefs.h >>conftest.$ac_ext
18221 cat >>conftest.$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18223
18224
18225 int
18226 main ()
18227 {
18228
18229 bool b = true;
18230
18231 return 0;
18232
18233 ;
18234 return 0;
18235 }
18236 _ACEOF
18237 rm -f conftest.$ac_objext
18238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18239 (eval $ac_compile) 2>conftest.er1
18240 ac_status=$?
18241 grep -v '^ *+' conftest.er1 >conftest.err
18242 rm -f conftest.er1
18243 cat conftest.err >&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); } &&
18246 { ac_try='test -z "$ac_cxx_werror_flag"
18247 || test ! -s conftest.err'
18248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249 (eval $ac_try) 2>&5
18250 ac_status=$?
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; } &&
18253 { ac_try='test -s conftest.$ac_objext'
18254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18255 (eval $ac_try) 2>&5
18256 ac_status=$?
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); }; }; then
18259
18260 wx_cv_cpp_bool=yes
18261
18262 else
18263 echo "$as_me: failed program was:" >&5
18264 sed 's/^/| /' conftest.$ac_ext >&5
18265
18266
18267 wx_cv_cpp_bool=no
18268
18269
18270 fi
18271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18272
18273 ac_ext=c
18274 ac_cpp='$CPP $CPPFLAGS'
18275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18278
18279
18280 fi
18281 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18282 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18283
18284 if test "$wx_cv_cpp_bool" = "yes"; then
18285 cat >>confdefs.h <<\_ACEOF
18286 #define HAVE_BOOL 1
18287 _ACEOF
18288
18289 fi
18290
18291
18292
18293 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18294 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18295 if test "${wx_cv_explicit+set}" = set; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18297 else
18298
18299
18300
18301 ac_ext=cc
18302 ac_cpp='$CXXCPP $CPPFLAGS'
18303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18306
18307
18308 cat >conftest.$ac_ext <<_ACEOF
18309 /* confdefs.h. */
18310 _ACEOF
18311 cat confdefs.h >>conftest.$ac_ext
18312 cat >>conftest.$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18314
18315 class Foo { public: explicit Foo(int) {} };
18316
18317 int
18318 main ()
18319 {
18320
18321 return 0;
18322
18323 ;
18324 return 0;
18325 }
18326 _ACEOF
18327 rm -f conftest.$ac_objext
18328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18329 (eval $ac_compile) 2>conftest.er1
18330 ac_status=$?
18331 grep -v '^ *+' conftest.er1 >conftest.err
18332 rm -f conftest.er1
18333 cat conftest.err >&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); } &&
18336 { ac_try='test -z "$ac_cxx_werror_flag"
18337 || test ! -s conftest.err'
18338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339 (eval $ac_try) 2>&5
18340 ac_status=$?
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; } &&
18343 { ac_try='test -s conftest.$ac_objext'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18346 ac_status=$?
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; }; then
18349
18350 cat >conftest.$ac_ext <<_ACEOF
18351 /* confdefs.h. */
18352 _ACEOF
18353 cat confdefs.h >>conftest.$ac_ext
18354 cat >>conftest.$ac_ext <<_ACEOF
18355 /* end confdefs.h. */
18356
18357 class Foo { public: explicit Foo(int) {} };
18358 static void TakeFoo(const Foo& foo) { }
18359
18360 int
18361 main ()
18362 {
18363
18364 TakeFoo(17);
18365 return 0;
18366
18367 ;
18368 return 0;
18369 }
18370 _ACEOF
18371 rm -f conftest.$ac_objext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18373 (eval $ac_compile) 2>conftest.er1
18374 ac_status=$?
18375 grep -v '^ *+' conftest.er1 >conftest.err
18376 rm -f conftest.er1
18377 cat conftest.err >&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } &&
18380 { ac_try='test -z "$ac_cxx_werror_flag"
18381 || test ! -s conftest.err'
18382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18384 ac_status=$?
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; } &&
18387 { ac_try='test -s conftest.$ac_objext'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18390 ac_status=$?
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; }; then
18393 wx_cv_explicit=no
18394 else
18395 echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.$ac_ext >&5
18397
18398 wx_cv_explicit=yes
18399
18400 fi
18401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18402
18403 else
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.$ac_ext >&5
18406
18407 wx_cv_explicit=no
18408
18409 fi
18410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18411
18412 ac_ext=c
18413 ac_cpp='$CPP $CPPFLAGS'
18414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18417
18418
18419 fi
18420 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18421 echo "${ECHO_T}$wx_cv_explicit" >&6
18422
18423 if test "$wx_cv_explicit" = "yes"; then
18424 cat >>confdefs.h <<\_ACEOF
18425 #define HAVE_EXPLICIT 1
18426 _ACEOF
18427
18428 fi
18429
18430
18431 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18432 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18433 if test "${ac_cv_cxx_const_cast+set}" = set; then
18434 echo $ECHO_N "(cached) $ECHO_C" >&6
18435 else
18436
18437
18438 ac_ext=cc
18439 ac_cpp='$CXXCPP $CPPFLAGS'
18440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18443
18444 cat >conftest.$ac_ext <<_ACEOF
18445 /* confdefs.h. */
18446 _ACEOF
18447 cat confdefs.h >>conftest.$ac_ext
18448 cat >>conftest.$ac_ext <<_ACEOF
18449 /* end confdefs.h. */
18450
18451 int
18452 main ()
18453 {
18454 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18455 ;
18456 return 0;
18457 }
18458 _ACEOF
18459 rm -f conftest.$ac_objext
18460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18461 (eval $ac_compile) 2>conftest.er1
18462 ac_status=$?
18463 grep -v '^ *+' conftest.er1 >conftest.err
18464 rm -f conftest.er1
18465 cat conftest.err >&5
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } &&
18468 { ac_try='test -z "$ac_cxx_werror_flag"
18469 || test ! -s conftest.err'
18470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18471 (eval $ac_try) 2>&5
18472 ac_status=$?
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); }; } &&
18475 { ac_try='test -s conftest.$ac_objext'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18478 ac_status=$?
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; }; then
18481 ac_cv_cxx_const_cast=yes
18482 else
18483 echo "$as_me: failed program was:" >&5
18484 sed 's/^/| /' conftest.$ac_ext >&5
18485
18486 ac_cv_cxx_const_cast=no
18487 fi
18488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18489 ac_ext=c
18490 ac_cpp='$CPP $CPPFLAGS'
18491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18494
18495
18496 fi
18497 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18498 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18499 if test "$ac_cv_cxx_const_cast" = yes; then
18500
18501 cat >>confdefs.h <<\_ACEOF
18502 #define HAVE_CONST_CAST
18503 _ACEOF
18504
18505 fi
18506
18507
18508 if test "$wxUSE_STL" = "yes"; then
18509 ac_ext=cc
18510 ac_cpp='$CXXCPP $CPPFLAGS'
18511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18514
18515
18516 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
18517 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
18518 cat >conftest.$ac_ext <<_ACEOF
18519 /* confdefs.h. */
18520 _ACEOF
18521 cat confdefs.h >>conftest.$ac_ext
18522 cat >>conftest.$ac_ext <<_ACEOF
18523 /* end confdefs.h. */
18524 #include <string>
18525 #include <functional>
18526 #include <algorithm>
18527 #include <vector>
18528 #include <list>
18529 int
18530 main ()
18531 {
18532 std::vector<int> moo;
18533 std::list<int> foo;
18534 std::vector<int>::iterator it =
18535 std::find_if(moo.begin(), moo.end(),
18536 std::bind2nd(std::less<int>(), 3));
18537 ;
18538 return 0;
18539 }
18540 _ACEOF
18541 rm -f conftest.$ac_objext
18542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18543 (eval $ac_compile) 2>conftest.er1
18544 ac_status=$?
18545 grep -v '^ *+' conftest.er1 >conftest.err
18546 rm -f conftest.er1
18547 cat conftest.err >&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } &&
18550 { ac_try='test -z "$ac_cxx_werror_flag"
18551 || test ! -s conftest.err'
18552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18553 (eval $ac_try) 2>&5
18554 ac_status=$?
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); }; } &&
18557 { ac_try='test -s conftest.$ac_objext'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18560 ac_status=$?
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; }; then
18563 echo "$as_me:$LINENO: result: yes" >&5
18564 echo "${ECHO_T}yes" >&6
18565 else
18566 echo "$as_me: failed program was:" >&5
18567 sed 's/^/| /' conftest.$ac_ext >&5
18568
18569 echo "$as_me:$LINENO: result: no" >&5
18570 echo "${ECHO_T}no" >&6
18571 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
18572 echo "$as_me: error: Basic STL functionality missing" >&2;}
18573 { (exit 1); exit 1; }; }
18574 fi
18575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18576
18577 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
18578 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
18579 cat >conftest.$ac_ext <<_ACEOF
18580 /* confdefs.h. */
18581 _ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18585 #include <string>
18586 int
18587 main ()
18588 {
18589 std::wstring foo;
18590 ;
18591 return 0;
18592 }
18593 _ACEOF
18594 rm -f conftest.$ac_objext
18595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18596 (eval $ac_compile) 2>conftest.er1
18597 ac_status=$?
18598 grep -v '^ *+' conftest.er1 >conftest.err
18599 rm -f conftest.er1
18600 cat conftest.err >&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); } &&
18603 { ac_try='test -z "$ac_cxx_werror_flag"
18604 || test ! -s conftest.err'
18605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606 (eval $ac_try) 2>&5
18607 ac_status=$?
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); }; } &&
18610 { ac_try='test -s conftest.$ac_objext'
18611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18612 (eval $ac_try) 2>&5
18613 ac_status=$?
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); }; }; then
18616 echo "$as_me:$LINENO: result: yes" >&5
18617 echo "${ECHO_T}yes" >&6
18618 cat >>confdefs.h <<\_ACEOF
18619 #define HAVE_STD_WSTRING 1
18620 _ACEOF
18621
18622 else
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
18625
18626 echo "$as_me:$LINENO: result: no" >&5
18627 echo "${ECHO_T}no" >&6
18628 fi
18629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18630
18631 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
18632 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
18633 cat >conftest.$ac_ext <<_ACEOF
18634 /* confdefs.h. */
18635 _ACEOF
18636 cat confdefs.h >>conftest.$ac_ext
18637 cat >>conftest.$ac_ext <<_ACEOF
18638 /* end confdefs.h. */
18639 #include <string>
18640 int
18641 main ()
18642 {
18643 std::string foo, bar;
18644 foo.compare(bar);
18645 foo.compare(1, 1, bar);
18646 foo.compare(1, 1, bar, 1, 1);
18647 foo.compare("");
18648 foo.compare(1, 1, "");
18649 foo.compare(1, 1, "", 2);
18650 ;
18651 return 0;
18652 }
18653 _ACEOF
18654 rm -f conftest.$ac_objext
18655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18656 (eval $ac_compile) 2>conftest.er1
18657 ac_status=$?
18658 grep -v '^ *+' conftest.er1 >conftest.err
18659 rm -f conftest.er1
18660 cat conftest.err >&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); } &&
18663 { ac_try='test -z "$ac_cxx_werror_flag"
18664 || test ! -s conftest.err'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18667 ac_status=$?
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; } &&
18670 { ac_try='test -s conftest.$ac_objext'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18673 ac_status=$?
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; }; then
18676 echo "$as_me:$LINENO: result: yes" >&5
18677 echo "${ECHO_T}yes" >&6
18678 cat >>confdefs.h <<\_ACEOF
18679 #define HAVE_STD_STRING_COMPARE 1
18680 _ACEOF
18681
18682 else
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.$ac_ext >&5
18685
18686 echo "$as_me:$LINENO: result: no" >&5
18687 echo "${ECHO_T}no" >&6
18688 fi
18689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18690
18691 ac_ext=c
18692 ac_cpp='$CPP $CPPFLAGS'
18693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18696
18697 fi
18698
18699
18700 SEARCH_INCLUDE="\
18701 /usr/local/include \
18702 \
18703 /usr/Motif-1.2/include \
18704 /usr/Motif-2.1/include \
18705 \
18706 /usr/include/Motif1.2 \
18707 /opt/xpm/include/X11 \
18708 /opt/GBxpm/include/ \
18709 /opt/GBxpm/X11/include/ \
18710 \
18711 /usr/Motif1.2/include \
18712 /usr/dt/include \
18713 /usr/openwin/include \
18714 \
18715 /usr/include/Xm \
18716 \
18717 /usr/X11R6/include \
18718 /usr/X11R6.4/include \
18719 /usr/X11R5/include \
18720 /usr/X11R4/include \
18721 \
18722 /usr/include/X11R6 \
18723 /usr/include/X11R5 \
18724 /usr/include/X11R4 \
18725 \
18726 /usr/local/X11R6/include \
18727 /usr/local/X11R5/include \
18728 /usr/local/X11R4/include \
18729 \
18730 /usr/local/include/X11R6 \
18731 /usr/local/include/X11R5 \
18732 /usr/local/include/X11R4 \
18733 \
18734 /usr/X11/include \
18735 /usr/include/X11 \
18736 /usr/local/X11/include \
18737 /usr/local/include/X11 \
18738 \
18739 /usr/X386/include \
18740 /usr/x386/include \
18741 /usr/XFree86/include/X11 \
18742 \
18743 X:/XFree86/include \
18744 X:/XFree86/include/X11 \
18745 \
18746 /usr/include/gtk \
18747 /usr/local/include/gtk \
18748 /usr/include/glib \
18749 /usr/local/include/glib \
18750 \
18751 /usr/include/qt \
18752 /usr/local/include/qt \
18753 \
18754 /usr/include/windows \
18755 /usr/include/wine \
18756 /usr/local/include/wine \
18757 \
18758 /usr/unsupported/include \
18759 /usr/athena/include \
18760 /usr/local/x11r5/include \
18761 /usr/lpp/Xamples/include \
18762 \
18763 /usr/openwin/share/include"
18764
18765 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
18766
18767
18768 cat >confcache <<\_ACEOF
18769 # This file is a shell script that caches the results of configure
18770 # tests run on this system so they can be shared between configure
18771 # scripts and configure runs, see configure's option --config-cache.
18772 # It is not useful on other systems. If it contains results you don't
18773 # want to keep, you may remove or edit it.
18774 #
18775 # config.status only pays attention to the cache file if you give it
18776 # the --recheck option to rerun configure.
18777 #
18778 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18779 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18780 # following values.
18781
18782 _ACEOF
18783
18784 # The following way of writing the cache mishandles newlines in values,
18785 # but we know of no workaround that is simple, portable, and efficient.
18786 # So, don't put newlines in cache variables' values.
18787 # Ultrix sh set writes to stderr and can't be redirected directly,
18788 # and sets the high bit in the cache file unless we assign to the vars.
18789 {
18790 (set) 2>&1 |
18791 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18792 *ac_space=\ *)
18793 # `set' does not quote correctly, so add quotes (double-quote
18794 # substitution turns \\\\ into \\, and sed turns \\ into \).
18795 sed -n \
18796 "s/'/'\\\\''/g;
18797 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18798 ;;
18799 *)
18800 # `set' quotes correctly as required by POSIX, so do not add quotes.
18801 sed -n \
18802 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18803 ;;
18804 esac;
18805 } |
18806 sed '
18807 t clear
18808 : clear
18809 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18810 t end
18811 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18812 : end' >>confcache
18813 if diff $cache_file confcache >/dev/null 2>&1; then :; else
18814 if test -w $cache_file; then
18815 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18816 cat confcache >$cache_file
18817 else
18818 echo "not updating unwritable cache $cache_file"
18819 fi
18820 fi
18821 rm -f confcache
18822
18823 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18824 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18825 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18826 if test "${wx_cv_lib_glibc21+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 else
18829
18830 cat >conftest.$ac_ext <<_ACEOF
18831 /* confdefs.h. */
18832 _ACEOF
18833 cat confdefs.h >>conftest.$ac_ext
18834 cat >>conftest.$ac_ext <<_ACEOF
18835 /* end confdefs.h. */
18836 #include <features.h>
18837 int
18838 main ()
18839 {
18840
18841 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18842 #error not glibc2.1
18843 #endif
18844
18845 ;
18846 return 0;
18847 }
18848 _ACEOF
18849 rm -f conftest.$ac_objext
18850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18851 (eval $ac_compile) 2>conftest.er1
18852 ac_status=$?
18853 grep -v '^ *+' conftest.er1 >conftest.err
18854 rm -f conftest.er1
18855 cat conftest.err >&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } &&
18858 { ac_try='test -z "$ac_c_werror_flag"
18859 || test ! -s conftest.err'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18862 ac_status=$?
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; } &&
18865 { ac_try='test -s conftest.$ac_objext'
18866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18867 (eval $ac_try) 2>&5
18868 ac_status=$?
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); }; }; then
18871
18872 wx_cv_lib_glibc21=yes
18873
18874 else
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.$ac_ext >&5
18877
18878
18879 wx_cv_lib_glibc21=no
18880
18881
18882 fi
18883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18884
18885 fi
18886 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18887 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18888 if test "$wx_cv_lib_glibc21" = "yes"; then
18889 cat >>confdefs.h <<\_ACEOF
18890 #define wxHAVE_GLIBC2 1
18891 _ACEOF
18892
18893 fi
18894 fi
18895
18896 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18897 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18898 cat >>confdefs.h <<\_ACEOF
18899 #define _GNU_SOURCE 1
18900 _ACEOF
18901
18902 fi
18903 fi
18904
18905
18906
18907 if test "$wxUSE_REGEX" != "no"; then
18908 cat >>confdefs.h <<\_ACEOF
18909 #define wxUSE_REGEX 1
18910 _ACEOF
18911
18912
18913 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18914 if test "${ac_cv_header_regex_h+set}" = set; then
18915 echo "$as_me:$LINENO: checking for regex.h" >&5
18916 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18917 if test "${ac_cv_header_regex_h+set}" = set; then
18918 echo $ECHO_N "(cached) $ECHO_C" >&6
18919 fi
18920 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18921 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18922 else
18923 # Is the header compilable?
18924 echo "$as_me:$LINENO: checking regex.h usability" >&5
18925 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18926 cat >conftest.$ac_ext <<_ACEOF
18927 /* confdefs.h. */
18928 _ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 $ac_includes_default
18933 #include <regex.h>
18934 _ACEOF
18935 rm -f conftest.$ac_objext
18936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18937 (eval $ac_compile) 2>conftest.er1
18938 ac_status=$?
18939 grep -v '^ *+' conftest.er1 >conftest.err
18940 rm -f conftest.er1
18941 cat conftest.err >&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); } &&
18944 { ac_try='test -z "$ac_c_werror_flag"
18945 || test ! -s conftest.err'
18946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18947 (eval $ac_try) 2>&5
18948 ac_status=$?
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); }; } &&
18951 { ac_try='test -s conftest.$ac_objext'
18952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953 (eval $ac_try) 2>&5
18954 ac_status=$?
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); }; }; then
18957 ac_header_compiler=yes
18958 else
18959 echo "$as_me: failed program was:" >&5
18960 sed 's/^/| /' conftest.$ac_ext >&5
18961
18962 ac_header_compiler=no
18963 fi
18964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18966 echo "${ECHO_T}$ac_header_compiler" >&6
18967
18968 # Is the header present?
18969 echo "$as_me:$LINENO: checking regex.h presence" >&5
18970 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18971 cat >conftest.$ac_ext <<_ACEOF
18972 /* confdefs.h. */
18973 _ACEOF
18974 cat confdefs.h >>conftest.$ac_ext
18975 cat >>conftest.$ac_ext <<_ACEOF
18976 /* end confdefs.h. */
18977 #include <regex.h>
18978 _ACEOF
18979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18981 ac_status=$?
18982 grep -v '^ *+' conftest.er1 >conftest.err
18983 rm -f conftest.er1
18984 cat conftest.err >&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } >/dev/null; then
18987 if test -s conftest.err; then
18988 ac_cpp_err=$ac_c_preproc_warn_flag
18989 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18990 else
18991 ac_cpp_err=
18992 fi
18993 else
18994 ac_cpp_err=yes
18995 fi
18996 if test -z "$ac_cpp_err"; then
18997 ac_header_preproc=yes
18998 else
18999 echo "$as_me: failed program was:" >&5
19000 sed 's/^/| /' conftest.$ac_ext >&5
19001
19002 ac_header_preproc=no
19003 fi
19004 rm -f conftest.err conftest.$ac_ext
19005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19006 echo "${ECHO_T}$ac_header_preproc" >&6
19007
19008 # So? What about this header?
19009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19010 yes:no: )
19011 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19012 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19013 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19014 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19015 ac_header_preproc=yes
19016 ;;
19017 no:yes:* )
19018 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19019 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19020 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19021 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19022 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19023 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19024 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19025 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19026 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19027 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19028 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19029 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19030 (
19031 cat <<\_ASBOX
19032 ## ----------------------------------------- ##
19033 ## Report this to wx-dev@lists.wxwindows.org ##
19034 ## ----------------------------------------- ##
19035 _ASBOX
19036 ) |
19037 sed "s/^/$as_me: WARNING: /" >&2
19038 ;;
19039 esac
19040 echo "$as_me:$LINENO: checking for regex.h" >&5
19041 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19042 if test "${ac_cv_header_regex_h+set}" = set; then
19043 echo $ECHO_N "(cached) $ECHO_C" >&6
19044 else
19045 ac_cv_header_regex_h=$ac_header_preproc
19046 fi
19047 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19048 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19049
19050 fi
19051 if test $ac_cv_header_regex_h = yes; then
19052
19053 for ac_func in regcomp
19054 do
19055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19056 echo "$as_me:$LINENO: checking for $ac_func" >&5
19057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19058 if eval "test \"\${$as_ac_var+set}\" = set"; then
19059 echo $ECHO_N "(cached) $ECHO_C" >&6
19060 else
19061 cat >conftest.$ac_ext <<_ACEOF
19062 /* confdefs.h. */
19063 _ACEOF
19064 cat confdefs.h >>conftest.$ac_ext
19065 cat >>conftest.$ac_ext <<_ACEOF
19066 /* end confdefs.h. */
19067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19069 #define $ac_func innocuous_$ac_func
19070
19071 /* System header to define __stub macros and hopefully few prototypes,
19072 which can conflict with char $ac_func (); below.
19073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19074 <limits.h> exists even on freestanding compilers. */
19075
19076 #ifdef __STDC__
19077 # include <limits.h>
19078 #else
19079 # include <assert.h>
19080 #endif
19081
19082 #undef $ac_func
19083
19084 /* Override any gcc2 internal prototype to avoid an error. */
19085 #ifdef __cplusplus
19086 extern "C"
19087 {
19088 #endif
19089 /* We use char because int might match the return type of a gcc2
19090 builtin and then its argument prototype would still apply. */
19091 char $ac_func ();
19092 /* The GNU C library defines this for functions which it implements
19093 to always fail with ENOSYS. Some functions are actually named
19094 something starting with __ and the normal name is an alias. */
19095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19096 choke me
19097 #else
19098 char (*f) () = $ac_func;
19099 #endif
19100 #ifdef __cplusplus
19101 }
19102 #endif
19103
19104 int
19105 main ()
19106 {
19107 return f != $ac_func;
19108 ;
19109 return 0;
19110 }
19111 _ACEOF
19112 rm -f conftest.$ac_objext conftest$ac_exeext
19113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19114 (eval $ac_link) 2>conftest.er1
19115 ac_status=$?
19116 grep -v '^ *+' conftest.er1 >conftest.err
19117 rm -f conftest.er1
19118 cat conftest.err >&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); } &&
19121 { ac_try='test -z "$ac_c_werror_flag"
19122 || test ! -s conftest.err'
19123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19124 (eval $ac_try) 2>&5
19125 ac_status=$?
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); }; } &&
19128 { ac_try='test -s conftest$ac_exeext'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19131 ac_status=$?
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; }; then
19134 eval "$as_ac_var=yes"
19135 else
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.$ac_ext >&5
19138
19139 eval "$as_ac_var=no"
19140 fi
19141 rm -f conftest.err conftest.$ac_objext \
19142 conftest$ac_exeext conftest.$ac_ext
19143 fi
19144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19146 if test `eval echo '${'$as_ac_var'}'` = yes; then
19147 cat >>confdefs.h <<_ACEOF
19148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19149 _ACEOF
19150
19151 fi
19152 done
19153
19154 fi
19155
19156
19157
19158 if test "x$ac_cv_func_regcomp" != "xyes"; then
19159 if test "$wxUSE_REGEX" = "sys" ; then
19160 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19161 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19162 { (exit 1); exit 1; }; }
19163 else
19164 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19165 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19166 wxUSE_REGEX=builtin
19167 fi
19168 else
19169 wxUSE_REGEX=sys
19170 fi
19171 fi
19172 fi
19173
19174
19175 ZLIB_LINK=
19176 if test "$wxUSE_ZLIB" != "no" ; then
19177 cat >>confdefs.h <<\_ACEOF
19178 #define wxUSE_ZLIB 1
19179 _ACEOF
19180
19181
19182 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19183 if test "$USE_DARWIN" = 1; then
19184 system_zlib_h_ok="yes"
19185 else
19186 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19187 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19188 if test "${ac_cv_header_zlib_h+set}" = set; then
19189 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 else
19191 if test "$cross_compiling" = yes; then
19192 unset ac_cv_header_zlib_h
19193
19194 else
19195 cat >conftest.$ac_ext <<_ACEOF
19196 /* confdefs.h. */
19197 _ACEOF
19198 cat confdefs.h >>conftest.$ac_ext
19199 cat >>conftest.$ac_ext <<_ACEOF
19200 /* end confdefs.h. */
19201
19202 #include <zlib.h>
19203 #include <stdio.h>
19204
19205 int main()
19206 {
19207 FILE *f=fopen("conftestval", "w");
19208 if (!f) exit(1);
19209 fprintf(f, "%s",
19210 ZLIB_VERSION[0] == '1' &&
19211 (ZLIB_VERSION[2] > '1' ||
19212 (ZLIB_VERSION[2] == '1' &&
19213 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19214 exit(0);
19215 }
19216
19217 _ACEOF
19218 rm -f conftest$ac_exeext
19219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19220 (eval $ac_link) 2>&5
19221 ac_status=$?
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19225 (eval $ac_try) 2>&5
19226 ac_status=$?
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); }; }; then
19229 ac_cv_header_zlib_h=`cat conftestval`
19230 else
19231 echo "$as_me: program exited with status $ac_status" >&5
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.$ac_ext >&5
19234
19235 ( exit $ac_status )
19236 ac_cv_header_zlib_h=no
19237 fi
19238 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19239 fi
19240
19241 fi
19242 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19243 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19244 if test "${ac_cv_header_zlib_h+set}" = set; then
19245 echo "$as_me:$LINENO: checking for zlib.h" >&5
19246 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19247 if test "${ac_cv_header_zlib_h+set}" = set; then
19248 echo $ECHO_N "(cached) $ECHO_C" >&6
19249 fi
19250 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19251 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19252 else
19253 # Is the header compilable?
19254 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19255 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19256 cat >conftest.$ac_ext <<_ACEOF
19257 /* confdefs.h. */
19258 _ACEOF
19259 cat confdefs.h >>conftest.$ac_ext
19260 cat >>conftest.$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262 $ac_includes_default
19263 #include <zlib.h>
19264 _ACEOF
19265 rm -f conftest.$ac_objext
19266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19267 (eval $ac_compile) 2>conftest.er1
19268 ac_status=$?
19269 grep -v '^ *+' conftest.er1 >conftest.err
19270 rm -f conftest.er1
19271 cat conftest.err >&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); } &&
19274 { ac_try='test -z "$ac_c_werror_flag"
19275 || test ! -s conftest.err'
19276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19277 (eval $ac_try) 2>&5
19278 ac_status=$?
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); }; } &&
19281 { ac_try='test -s conftest.$ac_objext'
19282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19283 (eval $ac_try) 2>&5
19284 ac_status=$?
19285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286 (exit $ac_status); }; }; then
19287 ac_header_compiler=yes
19288 else
19289 echo "$as_me: failed program was:" >&5
19290 sed 's/^/| /' conftest.$ac_ext >&5
19291
19292 ac_header_compiler=no
19293 fi
19294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19296 echo "${ECHO_T}$ac_header_compiler" >&6
19297
19298 # Is the header present?
19299 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19300 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19301 cat >conftest.$ac_ext <<_ACEOF
19302 /* confdefs.h. */
19303 _ACEOF
19304 cat confdefs.h >>conftest.$ac_ext
19305 cat >>conftest.$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307 #include <zlib.h>
19308 _ACEOF
19309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19311 ac_status=$?
19312 grep -v '^ *+' conftest.er1 >conftest.err
19313 rm -f conftest.er1
19314 cat conftest.err >&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); } >/dev/null; then
19317 if test -s conftest.err; then
19318 ac_cpp_err=$ac_c_preproc_warn_flag
19319 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19320 else
19321 ac_cpp_err=
19322 fi
19323 else
19324 ac_cpp_err=yes
19325 fi
19326 if test -z "$ac_cpp_err"; then
19327 ac_header_preproc=yes
19328 else
19329 echo "$as_me: failed program was:" >&5
19330 sed 's/^/| /' conftest.$ac_ext >&5
19331
19332 ac_header_preproc=no
19333 fi
19334 rm -f conftest.err conftest.$ac_ext
19335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19336 echo "${ECHO_T}$ac_header_preproc" >&6
19337
19338 # So? What about this header?
19339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19340 yes:no: )
19341 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19342 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19343 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19344 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19345 ac_header_preproc=yes
19346 ;;
19347 no:yes:* )
19348 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19349 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19350 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19351 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19352 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19353 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19354 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19355 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19356 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19357 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19358 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19359 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
19360 (
19361 cat <<\_ASBOX
19362 ## ----------------------------------------- ##
19363 ## Report this to wx-dev@lists.wxwindows.org ##
19364 ## ----------------------------------------- ##
19365 _ASBOX
19366 ) |
19367 sed "s/^/$as_me: WARNING: /" >&2
19368 ;;
19369 esac
19370 echo "$as_me:$LINENO: checking for zlib.h" >&5
19371 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19372 if test "${ac_cv_header_zlib_h+set}" = set; then
19373 echo $ECHO_N "(cached) $ECHO_C" >&6
19374 else
19375 ac_cv_header_zlib_h=$ac_header_preproc
19376 fi
19377 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19378 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19379
19380 fi
19381
19382
19383
19384 system_zlib_h_ok=$ac_cv_header_zlib_h
19385 fi
19386
19387 if test "$system_zlib_h_ok" = "yes"; then
19388 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19389 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19390 if test "${ac_cv_lib_z_deflate+set}" = set; then
19391 echo $ECHO_N "(cached) $ECHO_C" >&6
19392 else
19393 ac_check_lib_save_LIBS=$LIBS
19394 LIBS="-lz $LIBS"
19395 cat >conftest.$ac_ext <<_ACEOF
19396 /* confdefs.h. */
19397 _ACEOF
19398 cat confdefs.h >>conftest.$ac_ext
19399 cat >>conftest.$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19401
19402 /* Override any gcc2 internal prototype to avoid an error. */
19403 #ifdef __cplusplus
19404 extern "C"
19405 #endif
19406 /* We use char because int might match the return type of a gcc2
19407 builtin and then its argument prototype would still apply. */
19408 char deflate ();
19409 int
19410 main ()
19411 {
19412 deflate ();
19413 ;
19414 return 0;
19415 }
19416 _ACEOF
19417 rm -f conftest.$ac_objext conftest$ac_exeext
19418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19419 (eval $ac_link) 2>conftest.er1
19420 ac_status=$?
19421 grep -v '^ *+' conftest.er1 >conftest.err
19422 rm -f conftest.er1
19423 cat conftest.err >&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); } &&
19426 { ac_try='test -z "$ac_c_werror_flag"
19427 || test ! -s conftest.err'
19428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19429 (eval $ac_try) 2>&5
19430 ac_status=$?
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; } &&
19433 { ac_try='test -s conftest$ac_exeext'
19434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435 (eval $ac_try) 2>&5
19436 ac_status=$?
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; }; then
19439 ac_cv_lib_z_deflate=yes
19440 else
19441 echo "$as_me: failed program was:" >&5
19442 sed 's/^/| /' conftest.$ac_ext >&5
19443
19444 ac_cv_lib_z_deflate=no
19445 fi
19446 rm -f conftest.err conftest.$ac_objext \
19447 conftest$ac_exeext conftest.$ac_ext
19448 LIBS=$ac_check_lib_save_LIBS
19449 fi
19450 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
19451 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
19452 if test $ac_cv_lib_z_deflate = yes; then
19453 ZLIB_LINK=" -lz"
19454 fi
19455
19456 fi
19457
19458 if test "x$ZLIB_LINK" = "x" ; then
19459 if test "$wxUSE_ZLIB" = "sys" ; then
19460 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
19461 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
19462 { (exit 1); exit 1; }; }
19463 else
19464 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
19465 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
19466 wxUSE_ZLIB=builtin
19467 fi
19468 else
19469 wxUSE_ZLIB=sys
19470 fi
19471 fi
19472 fi
19473
19474
19475 PNG_LINK=
19476 if test "$wxUSE_LIBPNG" != "no" ; then
19477 cat >>confdefs.h <<\_ACEOF
19478 #define wxUSE_LIBPNG 1
19479 _ACEOF
19480
19481
19482 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
19483 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
19484 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
19485 wxUSE_LIBPNG=sys
19486 fi
19487
19488 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
19489 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
19490 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
19491 wxUSE_LIBPNG=builtin
19492 fi
19493
19494 if test "$wxUSE_MGL" != 1 ; then
19495 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
19496 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
19497 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
19498 if test "${ac_cv_header_png_h+set}" = set; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19500 else
19501 if test "$cross_compiling" = yes; then
19502 unset ac_cv_header_png_h
19503
19504 else
19505 cat >conftest.$ac_ext <<_ACEOF
19506 /* confdefs.h. */
19507 _ACEOF
19508 cat confdefs.h >>conftest.$ac_ext
19509 cat >>conftest.$ac_ext <<_ACEOF
19510 /* end confdefs.h. */
19511
19512 #include <png.h>
19513 #include <stdio.h>
19514
19515 int main()
19516 {
19517 FILE *f=fopen("conftestval", "w");
19518 if (!f) exit(1);
19519 fprintf(f, "%s",
19520 PNG_LIBPNG_VER > 90 ? "yes" : "no");
19521 exit(0);
19522 }
19523
19524 _ACEOF
19525 rm -f conftest$ac_exeext
19526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19527 (eval $ac_link) 2>&5
19528 ac_status=$?
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19532 (eval $ac_try) 2>&5
19533 ac_status=$?
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); }; }; then
19536 ac_cv_header_png_h=`cat conftestval`
19537 else
19538 echo "$as_me: program exited with status $ac_status" >&5
19539 echo "$as_me: failed program was:" >&5
19540 sed 's/^/| /' conftest.$ac_ext >&5
19541
19542 ( exit $ac_status )
19543 ac_cv_header_png_h=no
19544 fi
19545 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19546 fi
19547
19548 fi
19549 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19550 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19551 if test "${ac_cv_header_png_h+set}" = set; then
19552 echo "$as_me:$LINENO: checking for png.h" >&5
19553 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19554 if test "${ac_cv_header_png_h+set}" = set; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19556 fi
19557 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19558 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19559 else
19560 # Is the header compilable?
19561 echo "$as_me:$LINENO: checking png.h usability" >&5
19562 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
19563 cat >conftest.$ac_ext <<_ACEOF
19564 /* confdefs.h. */
19565 _ACEOF
19566 cat confdefs.h >>conftest.$ac_ext
19567 cat >>conftest.$ac_ext <<_ACEOF
19568 /* end confdefs.h. */
19569 $ac_includes_default
19570 #include <png.h>
19571 _ACEOF
19572 rm -f conftest.$ac_objext
19573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19574 (eval $ac_compile) 2>conftest.er1
19575 ac_status=$?
19576 grep -v '^ *+' conftest.er1 >conftest.err
19577 rm -f conftest.er1
19578 cat conftest.err >&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } &&
19581 { ac_try='test -z "$ac_c_werror_flag"
19582 || test ! -s conftest.err'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19585 ac_status=$?
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; } &&
19588 { ac_try='test -s conftest.$ac_objext'
19589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590 (eval $ac_try) 2>&5
19591 ac_status=$?
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; }; then
19594 ac_header_compiler=yes
19595 else
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.$ac_ext >&5
19598
19599 ac_header_compiler=no
19600 fi
19601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19602 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19603 echo "${ECHO_T}$ac_header_compiler" >&6
19604
19605 # Is the header present?
19606 echo "$as_me:$LINENO: checking png.h presence" >&5
19607 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
19608 cat >conftest.$ac_ext <<_ACEOF
19609 /* confdefs.h. */
19610 _ACEOF
19611 cat confdefs.h >>conftest.$ac_ext
19612 cat >>conftest.$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 #include <png.h>
19615 _ACEOF
19616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19617 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19618 ac_status=$?
19619 grep -v '^ *+' conftest.er1 >conftest.err
19620 rm -f conftest.er1
19621 cat conftest.err >&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } >/dev/null; then
19624 if test -s conftest.err; then
19625 ac_cpp_err=$ac_c_preproc_warn_flag
19626 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19627 else
19628 ac_cpp_err=
19629 fi
19630 else
19631 ac_cpp_err=yes
19632 fi
19633 if test -z "$ac_cpp_err"; then
19634 ac_header_preproc=yes
19635 else
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.$ac_ext >&5
19638
19639 ac_header_preproc=no
19640 fi
19641 rm -f conftest.err conftest.$ac_ext
19642 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19643 echo "${ECHO_T}$ac_header_preproc" >&6
19644
19645 # So? What about this header?
19646 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19647 yes:no: )
19648 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
19649 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19650 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
19651 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
19652 ac_header_preproc=yes
19653 ;;
19654 no:yes:* )
19655 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
19656 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
19657 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
19658 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
19659 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
19660 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
19661 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
19662 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
19663 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19664 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19665 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
19666 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
19667 (
19668 cat <<\_ASBOX
19669 ## ----------------------------------------- ##
19670 ## Report this to wx-dev@lists.wxwindows.org ##
19671 ## ----------------------------------------- ##
19672 _ASBOX
19673 ) |
19674 sed "s/^/$as_me: WARNING: /" >&2
19675 ;;
19676 esac
19677 echo "$as_me:$LINENO: checking for png.h" >&5
19678 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19679 if test "${ac_cv_header_png_h+set}" = set; then
19680 echo $ECHO_N "(cached) $ECHO_C" >&6
19681 else
19682 ac_cv_header_png_h=$ac_header_preproc
19683 fi
19684 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19685 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19686
19687 fi
19688
19689
19690
19691 if test "$ac_cv_header_png_h" = "yes"; then
19692 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
19693 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
19694 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
19695 echo $ECHO_N "(cached) $ECHO_C" >&6
19696 else
19697 ac_check_lib_save_LIBS=$LIBS
19698 LIBS="-lpng -lz -lm $LIBS"
19699 cat >conftest.$ac_ext <<_ACEOF
19700 /* confdefs.h. */
19701 _ACEOF
19702 cat confdefs.h >>conftest.$ac_ext
19703 cat >>conftest.$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19705
19706 /* Override any gcc2 internal prototype to avoid an error. */
19707 #ifdef __cplusplus
19708 extern "C"
19709 #endif
19710 /* We use char because int might match the return type of a gcc2
19711 builtin and then its argument prototype would still apply. */
19712 char png_check_sig ();
19713 int
19714 main ()
19715 {
19716 png_check_sig ();
19717 ;
19718 return 0;
19719 }
19720 _ACEOF
19721 rm -f conftest.$ac_objext conftest$ac_exeext
19722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19723 (eval $ac_link) 2>conftest.er1
19724 ac_status=$?
19725 grep -v '^ *+' conftest.er1 >conftest.err
19726 rm -f conftest.er1
19727 cat conftest.err >&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } &&
19730 { ac_try='test -z "$ac_c_werror_flag"
19731 || test ! -s conftest.err'
19732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19733 (eval $ac_try) 2>&5
19734 ac_status=$?
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); }; } &&
19737 { ac_try='test -s conftest$ac_exeext'
19738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19739 (eval $ac_try) 2>&5
19740 ac_status=$?
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); }; }; then
19743 ac_cv_lib_png_png_check_sig=yes
19744 else
19745 echo "$as_me: failed program was:" >&5
19746 sed 's/^/| /' conftest.$ac_ext >&5
19747
19748 ac_cv_lib_png_png_check_sig=no
19749 fi
19750 rm -f conftest.err conftest.$ac_objext \
19751 conftest$ac_exeext conftest.$ac_ext
19752 LIBS=$ac_check_lib_save_LIBS
19753 fi
19754 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
19755 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
19756 if test $ac_cv_lib_png_png_check_sig = yes; then
19757 PNG_LINK=" -lpng"
19758 fi
19759
19760 fi
19761
19762 if test "x$PNG_LINK" = "x" ; then
19763 if test "$wxUSE_LIBPNG" = "sys" ; then
19764 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
19765 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
19766 { (exit 1); exit 1; }; }
19767 else
19768 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
19769 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
19770 wxUSE_LIBPNG=builtin
19771 fi
19772 else
19773 wxUSE_LIBPNG=sys
19774 fi
19775 fi
19776 fi
19777
19778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
19779 fi
19780
19781
19782 JPEG_LINK=
19783 if test "$wxUSE_LIBJPEG" != "no" ; then
19784 cat >>confdefs.h <<\_ACEOF
19785 #define wxUSE_LIBJPEG 1
19786 _ACEOF
19787
19788
19789 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19790 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19791 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19792 wxUSE_LIBJPEG=sys
19793 fi
19794
19795 if test "$wxUSE_MGL" != 1 ; then
19796 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19797 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19798 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19799 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19800 echo $ECHO_N "(cached) $ECHO_C" >&6
19801 else
19802 cat >conftest.$ac_ext <<_ACEOF
19803 /* confdefs.h. */
19804 _ACEOF
19805 cat confdefs.h >>conftest.$ac_ext
19806 cat >>conftest.$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808
19809 #undef HAVE_STDLIB_H
19810 #include <stdio.h>
19811 #include <jpeglib.h>
19812
19813 int
19814 main ()
19815 {
19816
19817
19818 ;
19819 return 0;
19820 }
19821 _ACEOF
19822 rm -f conftest.$ac_objext
19823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19824 (eval $ac_compile) 2>conftest.er1
19825 ac_status=$?
19826 grep -v '^ *+' conftest.er1 >conftest.err
19827 rm -f conftest.er1
19828 cat conftest.err >&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); } &&
19831 { ac_try='test -z "$ac_c_werror_flag"
19832 || test ! -s conftest.err'
19833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19834 (eval $ac_try) 2>&5
19835 ac_status=$?
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); }; } &&
19838 { ac_try='test -s conftest.$ac_objext'
19839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19840 (eval $ac_try) 2>&5
19841 ac_status=$?
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); }; }; then
19844 ac_cv_header_jpeglib_h=yes
19845 else
19846 echo "$as_me: failed program was:" >&5
19847 sed 's/^/| /' conftest.$ac_ext >&5
19848
19849 ac_cv_header_jpeglib_h=no
19850
19851 fi
19852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19853
19854 fi
19855
19856 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19857 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19858
19859 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19860 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19861 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19862 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19863 echo $ECHO_N "(cached) $ECHO_C" >&6
19864 else
19865 ac_check_lib_save_LIBS=$LIBS
19866 LIBS="-ljpeg $LIBS"
19867 cat >conftest.$ac_ext <<_ACEOF
19868 /* confdefs.h. */
19869 _ACEOF
19870 cat confdefs.h >>conftest.$ac_ext
19871 cat >>conftest.$ac_ext <<_ACEOF
19872 /* end confdefs.h. */
19873
19874 /* Override any gcc2 internal prototype to avoid an error. */
19875 #ifdef __cplusplus
19876 extern "C"
19877 #endif
19878 /* We use char because int might match the return type of a gcc2
19879 builtin and then its argument prototype would still apply. */
19880 char jpeg_read_header ();
19881 int
19882 main ()
19883 {
19884 jpeg_read_header ();
19885 ;
19886 return 0;
19887 }
19888 _ACEOF
19889 rm -f conftest.$ac_objext conftest$ac_exeext
19890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19891 (eval $ac_link) 2>conftest.er1
19892 ac_status=$?
19893 grep -v '^ *+' conftest.er1 >conftest.err
19894 rm -f conftest.er1
19895 cat conftest.err >&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); } &&
19898 { ac_try='test -z "$ac_c_werror_flag"
19899 || test ! -s conftest.err'
19900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19901 (eval $ac_try) 2>&5
19902 ac_status=$?
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); }; } &&
19905 { ac_try='test -s conftest$ac_exeext'
19906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19907 (eval $ac_try) 2>&5
19908 ac_status=$?
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); }; }; then
19911 ac_cv_lib_jpeg_jpeg_read_header=yes
19912 else
19913 echo "$as_me: failed program was:" >&5
19914 sed 's/^/| /' conftest.$ac_ext >&5
19915
19916 ac_cv_lib_jpeg_jpeg_read_header=no
19917 fi
19918 rm -f conftest.err conftest.$ac_objext \
19919 conftest$ac_exeext conftest.$ac_ext
19920 LIBS=$ac_check_lib_save_LIBS
19921 fi
19922 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19923 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19924 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19925 JPEG_LINK=" -ljpeg"
19926 fi
19927
19928 fi
19929
19930 if test "x$JPEG_LINK" = "x" ; then
19931 if test "$wxUSE_LIBJPEG" = "sys" ; then
19932 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19933 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19934 { (exit 1); exit 1; }; }
19935 else
19936 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19937 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19938 wxUSE_LIBJPEG=builtin
19939 fi
19940 else
19941 wxUSE_LIBJPEG=sys
19942 fi
19943 fi
19944 fi
19945 fi
19946
19947
19948 TIFF_LINK=
19949 TIFF_PREREQ_LINKS=-lm
19950 if test "$wxUSE_LIBTIFF" != "no" ; then
19951 cat >>confdefs.h <<\_ACEOF
19952 #define wxUSE_LIBTIFF 1
19953 _ACEOF
19954
19955
19956 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19957 if test "$wxUSE_LIBJPEG" = "sys"; then
19958 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19959 fi
19960 if test "$wxUSE_ZLIB" = "sys"; then
19961 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19962 fi
19963 if test "${ac_cv_header_tiffio_h+set}" = set; then
19964 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19965 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19966 if test "${ac_cv_header_tiffio_h+set}" = set; then
19967 echo $ECHO_N "(cached) $ECHO_C" >&6
19968 fi
19969 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19970 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19971 else
19972 # Is the header compilable?
19973 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19974 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19975 cat >conftest.$ac_ext <<_ACEOF
19976 /* confdefs.h. */
19977 _ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981 $ac_includes_default
19982 #include <tiffio.h>
19983 _ACEOF
19984 rm -f conftest.$ac_objext
19985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19986 (eval $ac_compile) 2>conftest.er1
19987 ac_status=$?
19988 grep -v '^ *+' conftest.er1 >conftest.err
19989 rm -f conftest.er1
19990 cat conftest.err >&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); } &&
19993 { ac_try='test -z "$ac_c_werror_flag"
19994 || test ! -s conftest.err'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19997 ac_status=$?
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; } &&
20000 { ac_try='test -s conftest.$ac_objext'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20003 ac_status=$?
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; }; then
20006 ac_header_compiler=yes
20007 else
20008 echo "$as_me: failed program was:" >&5
20009 sed 's/^/| /' conftest.$ac_ext >&5
20010
20011 ac_header_compiler=no
20012 fi
20013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20015 echo "${ECHO_T}$ac_header_compiler" >&6
20016
20017 # Is the header present?
20018 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20019 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20020 cat >conftest.$ac_ext <<_ACEOF
20021 /* confdefs.h. */
20022 _ACEOF
20023 cat confdefs.h >>conftest.$ac_ext
20024 cat >>conftest.$ac_ext <<_ACEOF
20025 /* end confdefs.h. */
20026 #include <tiffio.h>
20027 _ACEOF
20028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20029 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20030 ac_status=$?
20031 grep -v '^ *+' conftest.er1 >conftest.err
20032 rm -f conftest.er1
20033 cat conftest.err >&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } >/dev/null; then
20036 if test -s conftest.err; then
20037 ac_cpp_err=$ac_c_preproc_warn_flag
20038 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20039 else
20040 ac_cpp_err=
20041 fi
20042 else
20043 ac_cpp_err=yes
20044 fi
20045 if test -z "$ac_cpp_err"; then
20046 ac_header_preproc=yes
20047 else
20048 echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.$ac_ext >&5
20050
20051 ac_header_preproc=no
20052 fi
20053 rm -f conftest.err conftest.$ac_ext
20054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20055 echo "${ECHO_T}$ac_header_preproc" >&6
20056
20057 # So? What about this header?
20058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20059 yes:no: )
20060 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20061 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20062 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20063 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20064 ac_header_preproc=yes
20065 ;;
20066 no:yes:* )
20067 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20068 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20069 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20070 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20071 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20072 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20073 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20074 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20075 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20076 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20077 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20078 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20079 (
20080 cat <<\_ASBOX
20081 ## ----------------------------------------- ##
20082 ## Report this to wx-dev@lists.wxwindows.org ##
20083 ## ----------------------------------------- ##
20084 _ASBOX
20085 ) |
20086 sed "s/^/$as_me: WARNING: /" >&2
20087 ;;
20088 esac
20089 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20090 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20091 if test "${ac_cv_header_tiffio_h+set}" = set; then
20092 echo $ECHO_N "(cached) $ECHO_C" >&6
20093 else
20094 ac_cv_header_tiffio_h=$ac_header_preproc
20095 fi
20096 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20097 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20098
20099 fi
20100 if test $ac_cv_header_tiffio_h = yes; then
20101
20102 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20103 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20104 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20106 else
20107 ac_check_lib_save_LIBS=$LIBS
20108 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20109 cat >conftest.$ac_ext <<_ACEOF
20110 /* confdefs.h. */
20111 _ACEOF
20112 cat confdefs.h >>conftest.$ac_ext
20113 cat >>conftest.$ac_ext <<_ACEOF
20114 /* end confdefs.h. */
20115
20116 /* Override any gcc2 internal prototype to avoid an error. */
20117 #ifdef __cplusplus
20118 extern "C"
20119 #endif
20120 /* We use char because int might match the return type of a gcc2
20121 builtin and then its argument prototype would still apply. */
20122 char TIFFError ();
20123 int
20124 main ()
20125 {
20126 TIFFError ();
20127 ;
20128 return 0;
20129 }
20130 _ACEOF
20131 rm -f conftest.$ac_objext conftest$ac_exeext
20132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20133 (eval $ac_link) 2>conftest.er1
20134 ac_status=$?
20135 grep -v '^ *+' conftest.er1 >conftest.err
20136 rm -f conftest.er1
20137 cat conftest.err >&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } &&
20140 { ac_try='test -z "$ac_c_werror_flag"
20141 || test ! -s conftest.err'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20144 ac_status=$?
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; } &&
20147 { ac_try='test -s conftest$ac_exeext'
20148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20149 (eval $ac_try) 2>&5
20150 ac_status=$?
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); }; }; then
20153 ac_cv_lib_tiff_TIFFError=yes
20154 else
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20157
20158 ac_cv_lib_tiff_TIFFError=no
20159 fi
20160 rm -f conftest.err conftest.$ac_objext \
20161 conftest$ac_exeext conftest.$ac_ext
20162 LIBS=$ac_check_lib_save_LIBS
20163 fi
20164 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20165 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20166 if test $ac_cv_lib_tiff_TIFFError = yes; then
20167 TIFF_LINK=" -ltiff"
20168 fi
20169
20170
20171
20172 fi
20173
20174
20175
20176 if test "x$TIFF_LINK" = "x" ; then
20177 if test "$wxUSE_LIBTIFF" = "sys" ; then
20178 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20179 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20180 { (exit 1); exit 1; }; }
20181 else
20182 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20183 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20184 wxUSE_LIBTIFF=builtin
20185 fi
20186 else
20187 wxUSE_LIBTIFF=sys
20188 fi
20189 fi
20190 fi
20191
20192
20193 if test "$wxUSE_EXPAT" != "no"; then
20194 wxUSE_XML=yes
20195 cat >>confdefs.h <<\_ACEOF
20196 #define wxUSE_EXPAT 1
20197 _ACEOF
20198
20199 cat >>confdefs.h <<\_ACEOF
20200 #define wxUSE_XML 1
20201 _ACEOF
20202
20203
20204 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20205 if test "${ac_cv_header_expat_h+set}" = set; then
20206 echo "$as_me:$LINENO: checking for expat.h" >&5
20207 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20208 if test "${ac_cv_header_expat_h+set}" = set; then
20209 echo $ECHO_N "(cached) $ECHO_C" >&6
20210 fi
20211 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20212 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20213 else
20214 # Is the header compilable?
20215 echo "$as_me:$LINENO: checking expat.h usability" >&5
20216 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20217 cat >conftest.$ac_ext <<_ACEOF
20218 /* confdefs.h. */
20219 _ACEOF
20220 cat confdefs.h >>conftest.$ac_ext
20221 cat >>conftest.$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20223 $ac_includes_default
20224 #include <expat.h>
20225 _ACEOF
20226 rm -f conftest.$ac_objext
20227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20228 (eval $ac_compile) 2>conftest.er1
20229 ac_status=$?
20230 grep -v '^ *+' conftest.er1 >conftest.err
20231 rm -f conftest.er1
20232 cat conftest.err >&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); } &&
20235 { ac_try='test -z "$ac_c_werror_flag"
20236 || test ! -s conftest.err'
20237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20238 (eval $ac_try) 2>&5
20239 ac_status=$?
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); }; } &&
20242 { ac_try='test -s conftest.$ac_objext'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20245 ac_status=$?
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; }; then
20248 ac_header_compiler=yes
20249 else
20250 echo "$as_me: failed program was:" >&5
20251 sed 's/^/| /' conftest.$ac_ext >&5
20252
20253 ac_header_compiler=no
20254 fi
20255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20257 echo "${ECHO_T}$ac_header_compiler" >&6
20258
20259 # Is the header present?
20260 echo "$as_me:$LINENO: checking expat.h presence" >&5
20261 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20262 cat >conftest.$ac_ext <<_ACEOF
20263 /* confdefs.h. */
20264 _ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 #include <expat.h>
20269 _ACEOF
20270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20272 ac_status=$?
20273 grep -v '^ *+' conftest.er1 >conftest.err
20274 rm -f conftest.er1
20275 cat conftest.err >&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); } >/dev/null; then
20278 if test -s conftest.err; then
20279 ac_cpp_err=$ac_c_preproc_warn_flag
20280 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20281 else
20282 ac_cpp_err=
20283 fi
20284 else
20285 ac_cpp_err=yes
20286 fi
20287 if test -z "$ac_cpp_err"; then
20288 ac_header_preproc=yes
20289 else
20290 echo "$as_me: failed program was:" >&5
20291 sed 's/^/| /' conftest.$ac_ext >&5
20292
20293 ac_header_preproc=no
20294 fi
20295 rm -f conftest.err conftest.$ac_ext
20296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20297 echo "${ECHO_T}$ac_header_preproc" >&6
20298
20299 # So? What about this header?
20300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20301 yes:no: )
20302 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20303 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20304 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20305 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20306 ac_header_preproc=yes
20307 ;;
20308 no:yes:* )
20309 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20310 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20311 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20312 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20313 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20314 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20315 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20316 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20317 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20318 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20319 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20320 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20321 (
20322 cat <<\_ASBOX
20323 ## ----------------------------------------- ##
20324 ## Report this to wx-dev@lists.wxwindows.org ##
20325 ## ----------------------------------------- ##
20326 _ASBOX
20327 ) |
20328 sed "s/^/$as_me: WARNING: /" >&2
20329 ;;
20330 esac
20331 echo "$as_me:$LINENO: checking for expat.h" >&5
20332 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20333 if test "${ac_cv_header_expat_h+set}" = set; then
20334 echo $ECHO_N "(cached) $ECHO_C" >&6
20335 else
20336 ac_cv_header_expat_h=$ac_header_preproc
20337 fi
20338 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20339 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20340
20341 fi
20342 if test $ac_cv_header_expat_h = yes; then
20343 found_expat_h=1
20344 fi
20345
20346
20347 if test "x$found_expat_h" = "x1"; then
20348 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20349 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20350 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20351 echo $ECHO_N "(cached) $ECHO_C" >&6
20352 else
20353
20354
20355
20356 ac_ext=cc
20357 ac_cpp='$CXXCPP $CPPFLAGS'
20358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20361
20362 cat >conftest.$ac_ext <<_ACEOF
20363 /* confdefs.h. */
20364 _ACEOF
20365 cat confdefs.h >>conftest.$ac_ext
20366 cat >>conftest.$ac_ext <<_ACEOF
20367 /* end confdefs.h. */
20368 #include <expat.h>
20369 int
20370 main ()
20371 {
20372
20373 ;
20374 return 0;
20375 }
20376 _ACEOF
20377 rm -f conftest.$ac_objext
20378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20379 (eval $ac_compile) 2>conftest.er1
20380 ac_status=$?
20381 grep -v '^ *+' conftest.er1 >conftest.err
20382 rm -f conftest.er1
20383 cat conftest.err >&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); } &&
20386 { ac_try='test -z "$ac_cxx_werror_flag"
20387 || test ! -s conftest.err'
20388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20389 (eval $ac_try) 2>&5
20390 ac_status=$?
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); }; } &&
20393 { ac_try='test -s conftest.$ac_objext'
20394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20395 (eval $ac_try) 2>&5
20396 ac_status=$?
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); }; }; then
20399 wx_cv_expat_is_not_broken=yes
20400 else
20401 echo "$as_me: failed program was:" >&5
20402 sed 's/^/| /' conftest.$ac_ext >&5
20403
20404 wx_cv_expat_is_not_broken=no
20405
20406 fi
20407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20408 ac_ext=c
20409 ac_cpp='$CPP $CPPFLAGS'
20410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20413
20414
20415
20416 fi
20417 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20418 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20419 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20420 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20421 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20422 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20423 echo $ECHO_N "(cached) $ECHO_C" >&6
20424 else
20425 ac_check_lib_save_LIBS=$LIBS
20426 LIBS="-lexpat $LIBS"
20427 cat >conftest.$ac_ext <<_ACEOF
20428 /* confdefs.h. */
20429 _ACEOF
20430 cat confdefs.h >>conftest.$ac_ext
20431 cat >>conftest.$ac_ext <<_ACEOF
20432 /* end confdefs.h. */
20433
20434 /* Override any gcc2 internal prototype to avoid an error. */
20435 #ifdef __cplusplus
20436 extern "C"
20437 #endif
20438 /* We use char because int might match the return type of a gcc2
20439 builtin and then its argument prototype would still apply. */
20440 char XML_ParserCreate ();
20441 int
20442 main ()
20443 {
20444 XML_ParserCreate ();
20445 ;
20446 return 0;
20447 }
20448 _ACEOF
20449 rm -f conftest.$ac_objext conftest$ac_exeext
20450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20451 (eval $ac_link) 2>conftest.er1
20452 ac_status=$?
20453 grep -v '^ *+' conftest.er1 >conftest.err
20454 rm -f conftest.er1
20455 cat conftest.err >&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); } &&
20458 { ac_try='test -z "$ac_c_werror_flag"
20459 || test ! -s conftest.err'
20460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20461 (eval $ac_try) 2>&5
20462 ac_status=$?
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); }; } &&
20465 { ac_try='test -s conftest$ac_exeext'
20466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20467 (eval $ac_try) 2>&5
20468 ac_status=$?
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); }; }; then
20471 ac_cv_lib_expat_XML_ParserCreate=yes
20472 else
20473 echo "$as_me: failed program was:" >&5
20474 sed 's/^/| /' conftest.$ac_ext >&5
20475
20476 ac_cv_lib_expat_XML_ParserCreate=no
20477 fi
20478 rm -f conftest.err conftest.$ac_objext \
20479 conftest$ac_exeext conftest.$ac_ext
20480 LIBS=$ac_check_lib_save_LIBS
20481 fi
20482 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20483 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
20484 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
20485 EXPAT_LINK=" -lexpat"
20486 fi
20487
20488 fi
20489 fi
20490 if test "x$EXPAT_LINK" = "x" ; then
20491 if test "$wxUSE_EXPAT" = "sys" ; then
20492 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
20493 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
20494 { (exit 1); exit 1; }; }
20495 else
20496 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
20497 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
20498 wxUSE_EXPAT=builtin
20499 fi
20500 else
20501 wxUSE_EXPAT=sys
20502 fi
20503 fi
20504 if test "$wxUSE_EXPAT" = "builtin" ; then
20505
20506
20507 subdirs="$subdirs src/expat"
20508
20509 fi
20510 fi
20511
20512
20513
20514 if test "$wxUSE_LIBMSPACK" != "no"; then
20515
20516 if test "${ac_cv_header_mspack_h+set}" = set; then
20517 echo "$as_me:$LINENO: checking for mspack.h" >&5
20518 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20519 if test "${ac_cv_header_mspack_h+set}" = set; then
20520 echo $ECHO_N "(cached) $ECHO_C" >&6
20521 fi
20522 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20523 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20524 else
20525 # Is the header compilable?
20526 echo "$as_me:$LINENO: checking mspack.h usability" >&5
20527 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
20528 cat >conftest.$ac_ext <<_ACEOF
20529 /* confdefs.h. */
20530 _ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 $ac_includes_default
20535 #include <mspack.h>
20536 _ACEOF
20537 rm -f conftest.$ac_objext
20538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20539 (eval $ac_compile) 2>conftest.er1
20540 ac_status=$?
20541 grep -v '^ *+' conftest.er1 >conftest.err
20542 rm -f conftest.er1
20543 cat conftest.err >&5
20544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545 (exit $ac_status); } &&
20546 { ac_try='test -z "$ac_c_werror_flag"
20547 || test ! -s conftest.err'
20548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20549 (eval $ac_try) 2>&5
20550 ac_status=$?
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); }; } &&
20553 { ac_try='test -s conftest.$ac_objext'
20554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20555 (eval $ac_try) 2>&5
20556 ac_status=$?
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); }; }; then
20559 ac_header_compiler=yes
20560 else
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.$ac_ext >&5
20563
20564 ac_header_compiler=no
20565 fi
20566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20568 echo "${ECHO_T}$ac_header_compiler" >&6
20569
20570 # Is the header present?
20571 echo "$as_me:$LINENO: checking mspack.h presence" >&5
20572 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
20573 cat >conftest.$ac_ext <<_ACEOF
20574 /* confdefs.h. */
20575 _ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20579 #include <mspack.h>
20580 _ACEOF
20581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20583 ac_status=$?
20584 grep -v '^ *+' conftest.er1 >conftest.err
20585 rm -f conftest.er1
20586 cat conftest.err >&5
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); } >/dev/null; then
20589 if test -s conftest.err; then
20590 ac_cpp_err=$ac_c_preproc_warn_flag
20591 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20592 else
20593 ac_cpp_err=
20594 fi
20595 else
20596 ac_cpp_err=yes
20597 fi
20598 if test -z "$ac_cpp_err"; then
20599 ac_header_preproc=yes
20600 else
20601 echo "$as_me: failed program was:" >&5
20602 sed 's/^/| /' conftest.$ac_ext >&5
20603
20604 ac_header_preproc=no
20605 fi
20606 rm -f conftest.err conftest.$ac_ext
20607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20608 echo "${ECHO_T}$ac_header_preproc" >&6
20609
20610 # So? What about this header?
20611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20612 yes:no: )
20613 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
20614 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20615 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
20616 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
20617 ac_header_preproc=yes
20618 ;;
20619 no:yes:* )
20620 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
20621 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
20622 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
20623 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
20624 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
20625 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
20626 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
20627 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
20628 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20629 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20630 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
20631 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
20632 (
20633 cat <<\_ASBOX
20634 ## ----------------------------------------- ##
20635 ## Report this to wx-dev@lists.wxwindows.org ##
20636 ## ----------------------------------------- ##
20637 _ASBOX
20638 ) |
20639 sed "s/^/$as_me: WARNING: /" >&2
20640 ;;
20641 esac
20642 echo "$as_me:$LINENO: checking for mspack.h" >&5
20643 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20644 if test "${ac_cv_header_mspack_h+set}" = set; then
20645 echo $ECHO_N "(cached) $ECHO_C" >&6
20646 else
20647 ac_cv_header_mspack_h=$ac_header_preproc
20648 fi
20649 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20650 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20651
20652 fi
20653 if test $ac_cv_header_mspack_h = yes; then
20654 found_mspack_h=1
20655 fi
20656
20657
20658 if test "x$found_mspack_h" = "x1"; then
20659 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
20660 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
20661 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
20662 echo $ECHO_N "(cached) $ECHO_C" >&6
20663 else
20664 ac_check_lib_save_LIBS=$LIBS
20665 LIBS="-lmspack $LIBS"
20666 cat >conftest.$ac_ext <<_ACEOF
20667 /* confdefs.h. */
20668 _ACEOF
20669 cat confdefs.h >>conftest.$ac_ext
20670 cat >>conftest.$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20672
20673 /* Override any gcc2 internal prototype to avoid an error. */
20674 #ifdef __cplusplus
20675 extern "C"
20676 #endif
20677 /* We use char because int might match the return type of a gcc2
20678 builtin and then its argument prototype would still apply. */
20679 char mspack_create_chm_decompressor ();
20680 int
20681 main ()
20682 {
20683 mspack_create_chm_decompressor ();
20684 ;
20685 return 0;
20686 }
20687 _ACEOF
20688 rm -f conftest.$ac_objext conftest$ac_exeext
20689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20690 (eval $ac_link) 2>conftest.er1
20691 ac_status=$?
20692 grep -v '^ *+' conftest.er1 >conftest.err
20693 rm -f conftest.er1
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } &&
20697 { ac_try='test -z "$ac_c_werror_flag"
20698 || test ! -s conftest.err'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try='test -s conftest$ac_exeext'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20707 ac_status=$?
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; }; then
20710 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
20711 else
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20714
20715 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
20716 fi
20717 rm -f conftest.err conftest.$ac_objext \
20718 conftest$ac_exeext conftest.$ac_ext
20719 LIBS=$ac_check_lib_save_LIBS
20720 fi
20721 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
20722 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
20723 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
20724 MSPACK_LINK=" -lmspack"
20725 fi
20726
20727 fi
20728 if test "x$MSPACK_LINK" = "x" ; then
20729 wxUSE_LIBMSPACK=no
20730 else
20731 cat >>confdefs.h <<\_ACEOF
20732 #define wxUSE_LIBMSPACK 1
20733 _ACEOF
20734
20735 fi
20736 fi
20737
20738
20739
20740 AFMINSTALL=
20741 WIN32INSTALL=
20742
20743 TOOLKIT=
20744 TOOLKIT_INCLUDE=
20745 WIDGET_SET=
20746
20747 if test "$USE_WIN32" = 1 ; then
20748
20749 for ac_header in w32api.h
20750 do
20751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20753 echo "$as_me:$LINENO: checking for $ac_header" >&5
20754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20756 echo $ECHO_N "(cached) $ECHO_C" >&6
20757 fi
20758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20760 else
20761 # Is the header compilable?
20762 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20763 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20764 cat >conftest.$ac_ext <<_ACEOF
20765 /* confdefs.h. */
20766 _ACEOF
20767 cat confdefs.h >>conftest.$ac_ext
20768 cat >>conftest.$ac_ext <<_ACEOF
20769 /* end confdefs.h. */
20770 $ac_includes_default
20771 #include <$ac_header>
20772 _ACEOF
20773 rm -f conftest.$ac_objext
20774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20775 (eval $ac_compile) 2>conftest.er1
20776 ac_status=$?
20777 grep -v '^ *+' conftest.er1 >conftest.err
20778 rm -f conftest.er1
20779 cat conftest.err >&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } &&
20782 { ac_try='test -z "$ac_c_werror_flag"
20783 || test ! -s conftest.err'
20784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20785 (eval $ac_try) 2>&5
20786 ac_status=$?
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); }; } &&
20789 { ac_try='test -s conftest.$ac_objext'
20790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20791 (eval $ac_try) 2>&5
20792 ac_status=$?
20793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20794 (exit $ac_status); }; }; then
20795 ac_header_compiler=yes
20796 else
20797 echo "$as_me: failed program was:" >&5
20798 sed 's/^/| /' conftest.$ac_ext >&5
20799
20800 ac_header_compiler=no
20801 fi
20802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20803 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20804 echo "${ECHO_T}$ac_header_compiler" >&6
20805
20806 # Is the header present?
20807 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20808 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20809 cat >conftest.$ac_ext <<_ACEOF
20810 /* confdefs.h. */
20811 _ACEOF
20812 cat confdefs.h >>conftest.$ac_ext
20813 cat >>conftest.$ac_ext <<_ACEOF
20814 /* end confdefs.h. */
20815 #include <$ac_header>
20816 _ACEOF
20817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20819 ac_status=$?
20820 grep -v '^ *+' conftest.er1 >conftest.err
20821 rm -f conftest.er1
20822 cat conftest.err >&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); } >/dev/null; then
20825 if test -s conftest.err; then
20826 ac_cpp_err=$ac_c_preproc_warn_flag
20827 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20828 else
20829 ac_cpp_err=
20830 fi
20831 else
20832 ac_cpp_err=yes
20833 fi
20834 if test -z "$ac_cpp_err"; then
20835 ac_header_preproc=yes
20836 else
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20839
20840 ac_header_preproc=no
20841 fi
20842 rm -f conftest.err conftest.$ac_ext
20843 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20844 echo "${ECHO_T}$ac_header_preproc" >&6
20845
20846 # So? What about this header?
20847 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20848 yes:no: )
20849 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20850 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20852 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20853 ac_header_preproc=yes
20854 ;;
20855 no:yes:* )
20856 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20857 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20858 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20859 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20860 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20861 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20862 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20863 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20865 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20866 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20867 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20868 (
20869 cat <<\_ASBOX
20870 ## ----------------------------------------- ##
20871 ## Report this to wx-dev@lists.wxwindows.org ##
20872 ## ----------------------------------------- ##
20873 _ASBOX
20874 ) |
20875 sed "s/^/$as_me: WARNING: /" >&2
20876 ;;
20877 esac
20878 echo "$as_me:$LINENO: checking for $ac_header" >&5
20879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20881 echo $ECHO_N "(cached) $ECHO_C" >&6
20882 else
20883 eval "$as_ac_Header=\$ac_header_preproc"
20884 fi
20885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20887
20888 fi
20889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20890 cat >>confdefs.h <<_ACEOF
20891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20892 _ACEOF
20893
20894 fi
20895
20896 done
20897
20898 if test "${ac_cv_header_windows_h+set}" = set; then
20899 echo "$as_me:$LINENO: checking for windows.h" >&5
20900 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20901 if test "${ac_cv_header_windows_h+set}" = set; then
20902 echo $ECHO_N "(cached) $ECHO_C" >&6
20903 fi
20904 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20905 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20906 else
20907 # Is the header compilable?
20908 echo "$as_me:$LINENO: checking windows.h usability" >&5
20909 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20910 cat >conftest.$ac_ext <<_ACEOF
20911 /* confdefs.h. */
20912 _ACEOF
20913 cat confdefs.h >>conftest.$ac_ext
20914 cat >>conftest.$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20916 $ac_includes_default
20917 #include <windows.h>
20918 _ACEOF
20919 rm -f conftest.$ac_objext
20920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20921 (eval $ac_compile) 2>conftest.er1
20922 ac_status=$?
20923 grep -v '^ *+' conftest.er1 >conftest.err
20924 rm -f conftest.er1
20925 cat conftest.err >&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } &&
20928 { ac_try='test -z "$ac_c_werror_flag"
20929 || test ! -s conftest.err'
20930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931 (eval $ac_try) 2>&5
20932 ac_status=$?
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); }; } &&
20935 { ac_try='test -s conftest.$ac_objext'
20936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20937 (eval $ac_try) 2>&5
20938 ac_status=$?
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); }; }; then
20941 ac_header_compiler=yes
20942 else
20943 echo "$as_me: failed program was:" >&5
20944 sed 's/^/| /' conftest.$ac_ext >&5
20945
20946 ac_header_compiler=no
20947 fi
20948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20949 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20950 echo "${ECHO_T}$ac_header_compiler" >&6
20951
20952 # Is the header present?
20953 echo "$as_me:$LINENO: checking windows.h presence" >&5
20954 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20955 cat >conftest.$ac_ext <<_ACEOF
20956 /* confdefs.h. */
20957 _ACEOF
20958 cat confdefs.h >>conftest.$ac_ext
20959 cat >>conftest.$ac_ext <<_ACEOF
20960 /* end confdefs.h. */
20961 #include <windows.h>
20962 _ACEOF
20963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20964 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20965 ac_status=$?
20966 grep -v '^ *+' conftest.er1 >conftest.err
20967 rm -f conftest.er1
20968 cat conftest.err >&5
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); } >/dev/null; then
20971 if test -s conftest.err; then
20972 ac_cpp_err=$ac_c_preproc_warn_flag
20973 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20974 else
20975 ac_cpp_err=
20976 fi
20977 else
20978 ac_cpp_err=yes
20979 fi
20980 if test -z "$ac_cpp_err"; then
20981 ac_header_preproc=yes
20982 else
20983 echo "$as_me: failed program was:" >&5
20984 sed 's/^/| /' conftest.$ac_ext >&5
20985
20986 ac_header_preproc=no
20987 fi
20988 rm -f conftest.err conftest.$ac_ext
20989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20990 echo "${ECHO_T}$ac_header_preproc" >&6
20991
20992 # So? What about this header?
20993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20994 yes:no: )
20995 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20996 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20997 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
20998 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
20999 ac_header_preproc=yes
21000 ;;
21001 no:yes:* )
21002 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21003 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21004 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21005 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21006 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21007 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21008 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21009 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21010 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21011 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21012 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21013 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21014 (
21015 cat <<\_ASBOX
21016 ## ----------------------------------------- ##
21017 ## Report this to wx-dev@lists.wxwindows.org ##
21018 ## ----------------------------------------- ##
21019 _ASBOX
21020 ) |
21021 sed "s/^/$as_me: WARNING: /" >&2
21022 ;;
21023 esac
21024 echo "$as_me:$LINENO: checking for windows.h" >&5
21025 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21026 if test "${ac_cv_header_windows_h+set}" = set; then
21027 echo $ECHO_N "(cached) $ECHO_C" >&6
21028 else
21029 ac_cv_header_windows_h=$ac_header_preproc
21030 fi
21031 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21032 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21033
21034 fi
21035 if test $ac_cv_header_windows_h = yes; then
21036 :
21037 else
21038
21039 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21040 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21041 { (exit 1); exit 1; }; }
21042
21043 fi
21044
21045
21046
21047 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21048
21049 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21050 LIBS="$LIBS -loleacc"
21051 fi
21052
21053 case "${host}" in
21054 *-*-cygwin* )
21055 LIBS="$LIBS -lkernel32 -luser32"
21056 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
21057 esac
21058
21059 if test "$wxUSE_ODBC" = "sys" ; then
21060 wxUSE_ODBC = "yes"
21061 fi
21062 if test "$wxUSE_ODBC" = "yes" ; then
21063 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
21064 cat >>confdefs.h <<\_ACEOF
21065 #define wxUSE_ODBC 1
21066 _ACEOF
21067
21068 fi
21069
21070 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21071 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
21072
21073 WIN32INSTALL=win32install
21074 fi
21075
21076 if test "$wxUSE_GUI" = "yes"; then
21077 USE_GUI=1
21078
21079 GUI_TK_LIBRARY=
21080
21081 WXGTK12=
21082 WXGTK127=
21083 WXGTK20=
21084
21085 if test "$wxUSE_MSW" = 1 ; then
21086 TOOLKIT=MSW
21087 GUIDIST=MSW_DIST
21088
21089 case "${host}" in
21090 *-*-mingw32* )
21091 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21092 esac
21093 fi
21094
21095 if test "$wxUSE_GTK" = 1; then
21096 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21097 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21098
21099 gtk_version_cached=1
21100 if test "${wx_cv_lib_gtk+set}" = set; then
21101 echo $ECHO_N "(cached) $ECHO_C" >&6
21102 else
21103
21104 gtk_version_cached=0
21105 echo "$as_me:$LINENO: result: " >&5
21106 echo "${ECHO_T}" >&6
21107
21108 GTK_MODULES=
21109 if test "$wxUSE_THREADS" = "yes"; then
21110 GTK_MODULES=gthread
21111 fi
21112
21113 wx_cv_lib_gtk=
21114 if test "x$wxUSE_GTK2" = "xyes"; then
21115 # Check whether --enable-gtktest or --disable-gtktest was given.
21116 if test "${enable_gtktest+set}" = set; then
21117 enableval="$enable_gtktest"
21118
21119 else
21120 enable_gtktest=yes
21121 fi;
21122
21123 pkg_config_args=gtk+-2.0
21124 for module in . $GTK_MODULES
21125 do
21126 case "$module" in
21127 gthread)
21128 pkg_config_args="$pkg_config_args gthread-2.0"
21129 ;;
21130 esac
21131 done
21132
21133 no_gtk=""
21134
21135 # Extract the first word of "pkg-config", so it can be a program name with args.
21136 set dummy pkg-config; ac_word=$2
21137 echo "$as_me:$LINENO: checking for $ac_word" >&5
21138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21139 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21140 echo $ECHO_N "(cached) $ECHO_C" >&6
21141 else
21142 case $PKG_CONFIG in
21143 [\\/]* | ?:[\\/]*)
21144 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21145 ;;
21146 *)
21147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21148 for as_dir in $PATH
21149 do
21150 IFS=$as_save_IFS
21151 test -z "$as_dir" && as_dir=.
21152 for ac_exec_ext in '' $ac_executable_extensions; do
21153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21154 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21156 break 2
21157 fi
21158 done
21159 done
21160
21161 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21162 ;;
21163 esac
21164 fi
21165 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21166
21167 if test -n "$PKG_CONFIG"; then
21168 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21169 echo "${ECHO_T}$PKG_CONFIG" >&6
21170 else
21171 echo "$as_me:$LINENO: result: no" >&5
21172 echo "${ECHO_T}no" >&6
21173 fi
21174
21175
21176 if test x$PKG_CONFIG != xno ; then
21177 if pkg-config --atleast-pkgconfig-version 0.7 ; then
21178 :
21179 else
21180 echo *** pkg-config too old; version 0.7 or better required.
21181 no_gtk=yes
21182 PKG_CONFIG=no
21183 fi
21184 else
21185 no_gtk=yes
21186 fi
21187
21188 min_gtk_version=2.0.0
21189 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21190 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21191
21192 if test x$PKG_CONFIG != xno ; then
21193 ## don't try to run the test against uninstalled libtool libs
21194 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21195 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21196 enable_gtktest=no
21197 fi
21198
21199 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21200 :
21201 else
21202 no_gtk=yes
21203 fi
21204 fi
21205
21206 if test x"$no_gtk" = x ; then
21207 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
21208 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
21209 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21211 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21213 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21215 if test "x$enable_gtktest" = "xyes" ; then
21216 ac_save_CFLAGS="$CFLAGS"
21217 ac_save_LIBS="$LIBS"
21218 CFLAGS="$CFLAGS $GTK_CFLAGS"
21219 LIBS="$GTK_LIBS $LIBS"
21220 rm -f conf.gtktest
21221 if test "$cross_compiling" = yes; then
21222 echo $ac_n "cross compiling; assumed OK... $ac_c"
21223 else
21224 cat >conftest.$ac_ext <<_ACEOF
21225 /* confdefs.h. */
21226 _ACEOF
21227 cat confdefs.h >>conftest.$ac_ext
21228 cat >>conftest.$ac_ext <<_ACEOF
21229 /* end confdefs.h. */
21230
21231 #include <gtk/gtk.h>
21232 #include <stdio.h>
21233 #include <stdlib.h>
21234
21235 int
21236 main ()
21237 {
21238 int major, minor, micro;
21239 char *tmp_version;
21240
21241 system ("touch conf.gtktest");
21242
21243 /* HP/UX 9 (%@#!) writes to sscanf strings */
21244 tmp_version = g_strdup("$min_gtk_version");
21245 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21246 printf("%s, bad version string\n", "$min_gtk_version");
21247 exit(1);
21248 }
21249
21250 if ((gtk_major_version != $gtk_config_major_version) ||
21251 (gtk_minor_version != $gtk_config_minor_version) ||
21252 (gtk_micro_version != $gtk_config_micro_version))
21253 {
21254 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21255 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21256 gtk_major_version, gtk_minor_version, gtk_micro_version);
21257 printf ("*** was found! If pkg-config was correct, then it is best\n");
21258 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21259 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21260 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21261 printf("*** required on your system.\n");
21262 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21263 printf("*** to point to the correct configuration files\n");
21264 }
21265 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21266 (gtk_minor_version != GTK_MINOR_VERSION) ||
21267 (gtk_micro_version != GTK_MICRO_VERSION))
21268 {
21269 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21270 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21271 printf("*** library (version %d.%d.%d)\n",
21272 gtk_major_version, gtk_minor_version, gtk_micro_version);
21273 }
21274 else
21275 {
21276 if ((gtk_major_version > major) ||
21277 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21278 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21279 {
21280 return 0;
21281 }
21282 else
21283 {
21284 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21285 gtk_major_version, gtk_minor_version, gtk_micro_version);
21286 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21287 major, minor, micro);
21288 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21289 printf("***\n");
21290 printf("*** If you have already installed a sufficiently new version, this error\n");
21291 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21292 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21293 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21294 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21295 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21296 printf("*** so that the correct libraries are found at run-time))\n");
21297 }
21298 }
21299 return 1;
21300 }
21301
21302 _ACEOF
21303 rm -f conftest$ac_exeext
21304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21305 (eval $ac_link) 2>&5
21306 ac_status=$?
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21310 (eval $ac_try) 2>&5
21311 ac_status=$?
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); }; }; then
21314 :
21315 else
21316 echo "$as_me: program exited with status $ac_status" >&5
21317 echo "$as_me: failed program was:" >&5
21318 sed 's/^/| /' conftest.$ac_ext >&5
21319
21320 ( exit $ac_status )
21321 no_gtk=yes
21322 fi
21323 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21324 fi
21325 CFLAGS="$ac_save_CFLAGS"
21326 LIBS="$ac_save_LIBS"
21327 fi
21328 fi
21329 if test "x$no_gtk" = x ; then
21330 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21331 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21332 wx_cv_lib_gtk=2.0
21333 else
21334 echo "$as_me:$LINENO: result: no" >&5
21335 echo "${ECHO_T}no" >&6
21336 if test "$PKG_CONFIG" = "no" ; then
21337 echo "*** A new enough version of pkg-config was not found."
21338 echo "*** See http://pkgconfig.sourceforge.net"
21339 else
21340 if test -f conf.gtktest ; then
21341 :
21342 else
21343 echo "*** Could not run GTK+ test program, checking why..."
21344 ac_save_CFLAGS="$CFLAGS"
21345 ac_save_LIBS="$LIBS"
21346 CFLAGS="$CFLAGS $GTK_CFLAGS"
21347 LIBS="$LIBS $GTK_LIBS"
21348 cat >conftest.$ac_ext <<_ACEOF
21349 /* confdefs.h. */
21350 _ACEOF
21351 cat confdefs.h >>conftest.$ac_ext
21352 cat >>conftest.$ac_ext <<_ACEOF
21353 /* end confdefs.h. */
21354
21355 #include <gtk/gtk.h>
21356 #include <stdio.h>
21357
21358 int
21359 main ()
21360 {
21361 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21362 ;
21363 return 0;
21364 }
21365 _ACEOF
21366 rm -f conftest.$ac_objext conftest$ac_exeext
21367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21368 (eval $ac_link) 2>conftest.er1
21369 ac_status=$?
21370 grep -v '^ *+' conftest.er1 >conftest.err
21371 rm -f conftest.er1
21372 cat conftest.err >&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } &&
21375 { ac_try='test -z "$ac_c_werror_flag"
21376 || test ! -s conftest.err'
21377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21378 (eval $ac_try) 2>&5
21379 ac_status=$?
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); }; } &&
21382 { ac_try='test -s conftest$ac_exeext'
21383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21384 (eval $ac_try) 2>&5
21385 ac_status=$?
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); }; }; then
21388 echo "*** The test program compiled, but did not run. This usually means"
21389 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
21390 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
21391 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21392 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21393 echo "*** is required on your system"
21394 echo "***"
21395 echo "*** If you have an old version installed, it is best to remove it, although"
21396 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21397 else
21398 echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.$ac_ext >&5
21400
21401 echo "*** The test program failed to compile or link. See the file config.log for the"
21402 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
21403 fi
21404 rm -f conftest.err conftest.$ac_objext \
21405 conftest$ac_exeext conftest.$ac_ext
21406 CFLAGS="$ac_save_CFLAGS"
21407 LIBS="$ac_save_LIBS"
21408 fi
21409 fi
21410 GTK_CFLAGS=""
21411 GTK_LIBS=""
21412 :
21413 fi
21414
21415
21416 rm -f conf.gtktest
21417
21418 else
21419
21420 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21421 if test "${with_gtk_prefix+set}" = set; then
21422 withval="$with_gtk_prefix"
21423 gtk_config_prefix="$withval"
21424 else
21425 gtk_config_prefix=""
21426 fi;
21427
21428 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21429 if test "${with_gtk_exec_prefix+set}" = set; then
21430 withval="$with_gtk_exec_prefix"
21431 gtk_config_exec_prefix="$withval"
21432 else
21433 gtk_config_exec_prefix=""
21434 fi;
21435 # Check whether --enable-gtktest or --disable-gtktest was given.
21436 if test "${enable_gtktest+set}" = set; then
21437 enableval="$enable_gtktest"
21438
21439 else
21440 enable_gtktest=yes
21441 fi;
21442
21443 for module in . $GTK_MODULES
21444 do
21445 case "$module" in
21446 gthread)
21447 gtk_config_args="$gtk_config_args gthread"
21448 ;;
21449 esac
21450 done
21451
21452 if test x$gtk_config_exec_prefix != x ; then
21453 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21454 if test x${GTK_CONFIG+set} != xset ; then
21455 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21456 fi
21457 fi
21458 if test x$gtk_config_prefix != x ; then
21459 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21460 if test x${GTK_CONFIG+set} != xset ; then
21461 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21462 fi
21463 fi
21464
21465 # Extract the first word of "gtk-config", so it can be a program name with args.
21466 set dummy gtk-config; ac_word=$2
21467 echo "$as_me:$LINENO: checking for $ac_word" >&5
21468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21469 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21470 echo $ECHO_N "(cached) $ECHO_C" >&6
21471 else
21472 case $GTK_CONFIG in
21473 [\\/]* | ?:[\\/]*)
21474 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21475 ;;
21476 *)
21477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21478 for as_dir in $PATH
21479 do
21480 IFS=$as_save_IFS
21481 test -z "$as_dir" && as_dir=.
21482 for ac_exec_ext in '' $ac_executable_extensions; do
21483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21484 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21486 break 2
21487 fi
21488 done
21489 done
21490
21491 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21492 ;;
21493 esac
21494 fi
21495 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21496
21497 if test -n "$GTK_CONFIG"; then
21498 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21499 echo "${ECHO_T}$GTK_CONFIG" >&6
21500 else
21501 echo "$as_me:$LINENO: result: no" >&5
21502 echo "${ECHO_T}no" >&6
21503 fi
21504
21505 min_gtk_version=1.2.7
21506 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21507 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21508 no_gtk=""
21509 if test "$GTK_CONFIG" = "no" ; then
21510 no_gtk=yes
21511 else
21512 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21513 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21514 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21515 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21516 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21517 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21518 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21519 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21520 if test "x$enable_gtktest" = "xyes" ; then
21521 ac_save_CFLAGS="$CFLAGS"
21522 ac_save_LIBS="$LIBS"
21523 CFLAGS="$CFLAGS $GTK_CFLAGS"
21524 LIBS="$GTK_LIBS $LIBS"
21525 rm -f conf.gtktest
21526 if test "$cross_compiling" = yes; then
21527 echo $ac_n "cross compiling; assumed OK... $ac_c"
21528 else
21529 cat >conftest.$ac_ext <<_ACEOF
21530 /* confdefs.h. */
21531 _ACEOF
21532 cat confdefs.h >>conftest.$ac_ext
21533 cat >>conftest.$ac_ext <<_ACEOF
21534 /* end confdefs.h. */
21535
21536 #include <gtk/gtk.h>
21537 #include <stdio.h>
21538 #include <stdlib.h>
21539
21540 int
21541 main ()
21542 {
21543 int major, minor, micro;
21544 char *tmp_version;
21545
21546 system ("touch conf.gtktest");
21547
21548 /* HP/UX 9 (%@#!) writes to sscanf strings */
21549 tmp_version = g_strdup("$min_gtk_version");
21550 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21551 printf("%s, bad version string\n", "$min_gtk_version");
21552 exit(1);
21553 }
21554
21555 if ((gtk_major_version != $gtk_config_major_version) ||
21556 (gtk_minor_version != $gtk_config_minor_version) ||
21557 (gtk_micro_version != $gtk_config_micro_version))
21558 {
21559 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21560 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21561 gtk_major_version, gtk_minor_version, gtk_micro_version);
21562 printf ("*** was found! If gtk-config was correct, then it is best\n");
21563 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21564 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21565 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21566 printf("*** required on your system.\n");
21567 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21568 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21569 printf("*** before re-running configure\n");
21570 }
21571 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21572 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21573 (gtk_minor_version != GTK_MINOR_VERSION) ||
21574 (gtk_micro_version != GTK_MICRO_VERSION))
21575 {
21576 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21577 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21578 printf("*** library (version %d.%d.%d)\n",
21579 gtk_major_version, gtk_minor_version, gtk_micro_version);
21580 }
21581 #endif /* defined (GTK_MAJOR_VERSION) ... */
21582 else
21583 {
21584 if ((gtk_major_version > major) ||
21585 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21586 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21587 {
21588 return 0;
21589 }
21590 else
21591 {
21592 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21593 gtk_major_version, gtk_minor_version, gtk_micro_version);
21594 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21595 major, minor, micro);
21596 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21597 printf("***\n");
21598 printf("*** If you have already installed a sufficiently new version, this error\n");
21599 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21600 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21601 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21602 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21603 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21604 printf("*** so that the correct libraries are found at run-time))\n");
21605 }
21606 }
21607 return 1;
21608 }
21609
21610 _ACEOF
21611 rm -f conftest$ac_exeext
21612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21613 (eval $ac_link) 2>&5
21614 ac_status=$?
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21618 (eval $ac_try) 2>&5
21619 ac_status=$?
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); }; }; then
21622 :
21623 else
21624 echo "$as_me: program exited with status $ac_status" >&5
21625 echo "$as_me: failed program was:" >&5
21626 sed 's/^/| /' conftest.$ac_ext >&5
21627
21628 ( exit $ac_status )
21629 no_gtk=yes
21630 fi
21631 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21632 fi
21633 CFLAGS="$ac_save_CFLAGS"
21634 LIBS="$ac_save_LIBS"
21635 fi
21636 fi
21637 if test "x$no_gtk" = x ; then
21638 echo "$as_me:$LINENO: result: yes" >&5
21639 echo "${ECHO_T}yes" >&6
21640 wx_cv_lib_gtk=1.2.7
21641 else
21642 echo "$as_me:$LINENO: result: no" >&5
21643 echo "${ECHO_T}no" >&6
21644 if test "$GTK_CONFIG" = "no" ; then
21645 echo "*** The gtk-config script installed by GTK could not be found"
21646 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21647 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21648 echo "*** full path to gtk-config."
21649 else
21650 if test -f conf.gtktest ; then
21651 :
21652 else
21653 echo "*** Could not run GTK test program, checking why..."
21654 CFLAGS="$CFLAGS $GTK_CFLAGS"
21655 LIBS="$LIBS $GTK_LIBS"
21656 cat >conftest.$ac_ext <<_ACEOF
21657 /* confdefs.h. */
21658 _ACEOF
21659 cat confdefs.h >>conftest.$ac_ext
21660 cat >>conftest.$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662
21663 #include <gtk/gtk.h>
21664 #include <stdio.h>
21665
21666 int
21667 main ()
21668 {
21669 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21670 ;
21671 return 0;
21672 }
21673 _ACEOF
21674 rm -f conftest.$ac_objext conftest$ac_exeext
21675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21676 (eval $ac_link) 2>conftest.er1
21677 ac_status=$?
21678 grep -v '^ *+' conftest.er1 >conftest.err
21679 rm -f conftest.er1
21680 cat conftest.err >&5
21681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21682 (exit $ac_status); } &&
21683 { ac_try='test -z "$ac_c_werror_flag"
21684 || test ! -s conftest.err'
21685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21686 (eval $ac_try) 2>&5
21687 ac_status=$?
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); }; } &&
21690 { ac_try='test -s conftest$ac_exeext'
21691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21692 (eval $ac_try) 2>&5
21693 ac_status=$?
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); }; }; then
21696 echo "*** The test program compiled, but did not run. This usually means"
21697 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21698 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21699 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21700 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21701 echo "*** is required on your system"
21702 echo "***"
21703 echo "*** If you have an old version installed, it is best to remove it, although"
21704 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21705 echo "***"
21706 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21707 echo "*** came with the system with the command"
21708 echo "***"
21709 echo "*** rpm --erase --nodeps gtk gtk-devel"
21710 else
21711 echo "$as_me: failed program was:" >&5
21712 sed 's/^/| /' conftest.$ac_ext >&5
21713
21714 echo "*** The test program failed to compile or link. See the file config.log for the"
21715 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21716 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21717 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21718 fi
21719 rm -f conftest.err conftest.$ac_objext \
21720 conftest$ac_exeext conftest.$ac_ext
21721 CFLAGS="$ac_save_CFLAGS"
21722 LIBS="$ac_save_LIBS"
21723 fi
21724 fi
21725 GTK_CFLAGS=""
21726 GTK_LIBS=""
21727 :
21728 fi
21729
21730
21731 rm -f conf.gtktest
21732
21733
21734 if test -z "$wx_cv_lib_gtk"; then
21735
21736 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21737 if test "${with_gtk_prefix+set}" = set; then
21738 withval="$with_gtk_prefix"
21739 gtk_config_prefix="$withval"
21740 else
21741 gtk_config_prefix=""
21742 fi;
21743
21744 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21745 if test "${with_gtk_exec_prefix+set}" = set; then
21746 withval="$with_gtk_exec_prefix"
21747 gtk_config_exec_prefix="$withval"
21748 else
21749 gtk_config_exec_prefix=""
21750 fi;
21751 # Check whether --enable-gtktest or --disable-gtktest was given.
21752 if test "${enable_gtktest+set}" = set; then
21753 enableval="$enable_gtktest"
21754
21755 else
21756 enable_gtktest=yes
21757 fi;
21758
21759 for module in . $GTK_MODULES
21760 do
21761 case "$module" in
21762 gthread)
21763 gtk_config_args="$gtk_config_args gthread"
21764 ;;
21765 esac
21766 done
21767
21768 if test x$gtk_config_exec_prefix != x ; then
21769 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21770 if test x${GTK_CONFIG+set} != xset ; then
21771 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21772 fi
21773 fi
21774 if test x$gtk_config_prefix != x ; then
21775 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21776 if test x${GTK_CONFIG+set} != xset ; then
21777 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21778 fi
21779 fi
21780
21781 # Extract the first word of "gtk-config", so it can be a program name with args.
21782 set dummy gtk-config; ac_word=$2
21783 echo "$as_me:$LINENO: checking for $ac_word" >&5
21784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21785 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21786 echo $ECHO_N "(cached) $ECHO_C" >&6
21787 else
21788 case $GTK_CONFIG in
21789 [\\/]* | ?:[\\/]*)
21790 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21791 ;;
21792 *)
21793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21794 for as_dir in $PATH
21795 do
21796 IFS=$as_save_IFS
21797 test -z "$as_dir" && as_dir=.
21798 for ac_exec_ext in '' $ac_executable_extensions; do
21799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21800 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21802 break 2
21803 fi
21804 done
21805 done
21806
21807 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21808 ;;
21809 esac
21810 fi
21811 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21812
21813 if test -n "$GTK_CONFIG"; then
21814 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21815 echo "${ECHO_T}$GTK_CONFIG" >&6
21816 else
21817 echo "$as_me:$LINENO: result: no" >&5
21818 echo "${ECHO_T}no" >&6
21819 fi
21820
21821 min_gtk_version=1.2.3
21822 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21823 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21824 no_gtk=""
21825 if test "$GTK_CONFIG" = "no" ; then
21826 no_gtk=yes
21827 else
21828 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21829 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21830 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21832 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21834 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21836 if test "x$enable_gtktest" = "xyes" ; then
21837 ac_save_CFLAGS="$CFLAGS"
21838 ac_save_LIBS="$LIBS"
21839 CFLAGS="$CFLAGS $GTK_CFLAGS"
21840 LIBS="$GTK_LIBS $LIBS"
21841 rm -f conf.gtktest
21842 if test "$cross_compiling" = yes; then
21843 echo $ac_n "cross compiling; assumed OK... $ac_c"
21844 else
21845 cat >conftest.$ac_ext <<_ACEOF
21846 /* confdefs.h. */
21847 _ACEOF
21848 cat confdefs.h >>conftest.$ac_ext
21849 cat >>conftest.$ac_ext <<_ACEOF
21850 /* end confdefs.h. */
21851
21852 #include <gtk/gtk.h>
21853 #include <stdio.h>
21854 #include <stdlib.h>
21855
21856 int
21857 main ()
21858 {
21859 int major, minor, micro;
21860 char *tmp_version;
21861
21862 system ("touch conf.gtktest");
21863
21864 /* HP/UX 9 (%@#!) writes to sscanf strings */
21865 tmp_version = g_strdup("$min_gtk_version");
21866 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21867 printf("%s, bad version string\n", "$min_gtk_version");
21868 exit(1);
21869 }
21870
21871 if ((gtk_major_version != $gtk_config_major_version) ||
21872 (gtk_minor_version != $gtk_config_minor_version) ||
21873 (gtk_micro_version != $gtk_config_micro_version))
21874 {
21875 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21876 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21877 gtk_major_version, gtk_minor_version, gtk_micro_version);
21878 printf ("*** was found! If gtk-config was correct, then it is best\n");
21879 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21880 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21881 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21882 printf("*** required on your system.\n");
21883 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21884 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21885 printf("*** before re-running configure\n");
21886 }
21887 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21888 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21889 (gtk_minor_version != GTK_MINOR_VERSION) ||
21890 (gtk_micro_version != GTK_MICRO_VERSION))
21891 {
21892 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21893 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21894 printf("*** library (version %d.%d.%d)\n",
21895 gtk_major_version, gtk_minor_version, gtk_micro_version);
21896 }
21897 #endif /* defined (GTK_MAJOR_VERSION) ... */
21898 else
21899 {
21900 if ((gtk_major_version > major) ||
21901 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21902 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21903 {
21904 return 0;
21905 }
21906 else
21907 {
21908 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21909 gtk_major_version, gtk_minor_version, gtk_micro_version);
21910 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21911 major, minor, micro);
21912 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21913 printf("***\n");
21914 printf("*** If you have already installed a sufficiently new version, this error\n");
21915 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21916 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21917 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21918 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21919 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21920 printf("*** so that the correct libraries are found at run-time))\n");
21921 }
21922 }
21923 return 1;
21924 }
21925
21926 _ACEOF
21927 rm -f conftest$ac_exeext
21928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21929 (eval $ac_link) 2>&5
21930 ac_status=$?
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21934 (eval $ac_try) 2>&5
21935 ac_status=$?
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); }; }; then
21938 :
21939 else
21940 echo "$as_me: program exited with status $ac_status" >&5
21941 echo "$as_me: failed program was:" >&5
21942 sed 's/^/| /' conftest.$ac_ext >&5
21943
21944 ( exit $ac_status )
21945 no_gtk=yes
21946 fi
21947 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21948 fi
21949 CFLAGS="$ac_save_CFLAGS"
21950 LIBS="$ac_save_LIBS"
21951 fi
21952 fi
21953 if test "x$no_gtk" = x ; then
21954 echo "$as_me:$LINENO: result: yes" >&5
21955 echo "${ECHO_T}yes" >&6
21956 wx_cv_lib_gtk=1.2.3
21957 else
21958 echo "$as_me:$LINENO: result: no" >&5
21959 echo "${ECHO_T}no" >&6
21960 if test "$GTK_CONFIG" = "no" ; then
21961 echo "*** The gtk-config script installed by GTK could not be found"
21962 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21963 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21964 echo "*** full path to gtk-config."
21965 else
21966 if test -f conf.gtktest ; then
21967 :
21968 else
21969 echo "*** Could not run GTK test program, checking why..."
21970 CFLAGS="$CFLAGS $GTK_CFLAGS"
21971 LIBS="$LIBS $GTK_LIBS"
21972 cat >conftest.$ac_ext <<_ACEOF
21973 /* confdefs.h. */
21974 _ACEOF
21975 cat confdefs.h >>conftest.$ac_ext
21976 cat >>conftest.$ac_ext <<_ACEOF
21977 /* end confdefs.h. */
21978
21979 #include <gtk/gtk.h>
21980 #include <stdio.h>
21981
21982 int
21983 main ()
21984 {
21985 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21986 ;
21987 return 0;
21988 }
21989 _ACEOF
21990 rm -f conftest.$ac_objext conftest$ac_exeext
21991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21992 (eval $ac_link) 2>conftest.er1
21993 ac_status=$?
21994 grep -v '^ *+' conftest.er1 >conftest.err
21995 rm -f conftest.er1
21996 cat conftest.err >&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); } &&
21999 { ac_try='test -z "$ac_c_werror_flag"
22000 || test ! -s conftest.err'
22001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22002 (eval $ac_try) 2>&5
22003 ac_status=$?
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); }; } &&
22006 { ac_try='test -s conftest$ac_exeext'
22007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22008 (eval $ac_try) 2>&5
22009 ac_status=$?
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); }; }; then
22012 echo "*** The test program compiled, but did not run. This usually means"
22013 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22014 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22015 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22016 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22017 echo "*** is required on your system"
22018 echo "***"
22019 echo "*** If you have an old version installed, it is best to remove it, although"
22020 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22021 echo "***"
22022 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22023 echo "*** came with the system with the command"
22024 echo "***"
22025 echo "*** rpm --erase --nodeps gtk gtk-devel"
22026 else
22027 echo "$as_me: failed program was:" >&5
22028 sed 's/^/| /' conftest.$ac_ext >&5
22029
22030 echo "*** The test program failed to compile or link. See the file config.log for the"
22031 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22032 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22033 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22034 fi
22035 rm -f conftest.err conftest.$ac_objext \
22036 conftest$ac_exeext conftest.$ac_ext
22037 CFLAGS="$ac_save_CFLAGS"
22038 LIBS="$ac_save_LIBS"
22039 fi
22040 fi
22041 GTK_CFLAGS=""
22042 GTK_LIBS=""
22043 :
22044 fi
22045
22046
22047 rm -f conf.gtktest
22048
22049 fi
22050 fi
22051
22052 if test -z "$wx_cv_lib_gtk"; then
22053 wx_cv_lib_gtk=none
22054 else
22055 wx_cv_cflags_gtk=$GTK_CFLAGS
22056 wx_cv_libs_gtk=$GTK_LIBS
22057 fi
22058
22059
22060 fi
22061
22062
22063 if test "$gtk_version_cached" = 1; then
22064 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22065 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22066 fi
22067
22068 case "$wx_cv_lib_gtk" in
22069 2.0) WXGTK20=1
22070 TOOLKIT_VERSION=2
22071 ;;
22072 1.2.7) WXGTK127=1
22073 WXGTK12=1
22074 ;;
22075 1.2.3) WXGTK12=1
22076 ;;
22077 *) { { echo "$as_me:$LINENO: error:
22078 Please check that gtk-config is in path, the directory
22079 where GTK+ libraries are installed (returned by
22080 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22081 equivalent variable and GTK+ is version 1.2.3 or above.
22082 " >&5
22083 echo "$as_me: error:
22084 Please check that gtk-config is in path, the directory
22085 where GTK+ libraries are installed (returned by
22086 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22087 equivalent variable and GTK+ is version 1.2.3 or above.
22088 " >&2;}
22089 { (exit 1); exit 1; }; }
22090 ;;
22091 esac
22092
22093 if test "$WXGTK20" = 1; then
22094 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22095
22096 succeeded=no
22097
22098 if test -z "$PKG_CONFIG"; then
22099 # Extract the first word of "pkg-config", so it can be a program name with args.
22100 set dummy pkg-config; ac_word=$2
22101 echo "$as_me:$LINENO: checking for $ac_word" >&5
22102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22103 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22104 echo $ECHO_N "(cached) $ECHO_C" >&6
22105 else
22106 case $PKG_CONFIG in
22107 [\\/]* | ?:[\\/]*)
22108 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22109 ;;
22110 *)
22111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22112 for as_dir in $PATH
22113 do
22114 IFS=$as_save_IFS
22115 test -z "$as_dir" && as_dir=.
22116 for ac_exec_ext in '' $ac_executable_extensions; do
22117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22118 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22120 break 2
22121 fi
22122 done
22123 done
22124
22125 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22126 ;;
22127 esac
22128 fi
22129 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22130
22131 if test -n "$PKG_CONFIG"; then
22132 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22133 echo "${ECHO_T}$PKG_CONFIG" >&6
22134 else
22135 echo "$as_me:$LINENO: result: no" >&5
22136 echo "${ECHO_T}no" >&6
22137 fi
22138
22139 fi
22140
22141 if test "$PKG_CONFIG" = "no" ; then
22142 echo "*** The pkg-config script could not be found. Make sure it is"
22143 echo "*** in your path, or set the PKG_CONFIG environment variable"
22144 echo "*** to the full path to pkg-config."
22145 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22146 else
22147 PKG_CONFIG_MIN_VERSION=0.9.0
22148 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22149 echo "$as_me:$LINENO: checking for pangoft2" >&5
22150 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22151
22152 if $PKG_CONFIG --exists "pangoft2" ; then
22153 echo "$as_me:$LINENO: result: yes" >&5
22154 echo "${ECHO_T}yes" >&6
22155 succeeded=yes
22156
22157 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22158 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22159 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22160 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22161 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22162
22163 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22164 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22165 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22166 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22167 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22168 else
22169 PANGOFT2_CFLAGS=""
22170 PANGOFT2_LIBS=""
22171 ## If we have a custom action on failure, don't print errors, but
22172 ## do set a variable so people can do so.
22173 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22174
22175 fi
22176
22177
22178
22179 else
22180 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22181 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22182 fi
22183 fi
22184
22185 if test $succeeded = yes; then
22186
22187 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22188 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22189
22190 else
22191
22192 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22193 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22194 wxUSE_PRINTING_ARCHITECTURE="no"
22195
22196
22197 fi
22198
22199 fi
22200 else
22201 if test "$wxUSE_UNICODE" = "yes"; then
22202 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22203 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22204 wxUSE_UNICODE=no
22205 fi
22206 fi
22207
22208 if test "$USE_DARWIN" != 1; then
22209
22210 for ac_func in poll
22211 do
22212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22213 echo "$as_me:$LINENO: checking for $ac_func" >&5
22214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22215 if eval "test \"\${$as_ac_var+set}\" = set"; then
22216 echo $ECHO_N "(cached) $ECHO_C" >&6
22217 else
22218 cat >conftest.$ac_ext <<_ACEOF
22219 /* confdefs.h. */
22220 _ACEOF
22221 cat confdefs.h >>conftest.$ac_ext
22222 cat >>conftest.$ac_ext <<_ACEOF
22223 /* end confdefs.h. */
22224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22226 #define $ac_func innocuous_$ac_func
22227
22228 /* System header to define __stub macros and hopefully few prototypes,
22229 which can conflict with char $ac_func (); below.
22230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22231 <limits.h> exists even on freestanding compilers. */
22232
22233 #ifdef __STDC__
22234 # include <limits.h>
22235 #else
22236 # include <assert.h>
22237 #endif
22238
22239 #undef $ac_func
22240
22241 /* Override any gcc2 internal prototype to avoid an error. */
22242 #ifdef __cplusplus
22243 extern "C"
22244 {
22245 #endif
22246 /* We use char because int might match the return type of a gcc2
22247 builtin and then its argument prototype would still apply. */
22248 char $ac_func ();
22249 /* The GNU C library defines this for functions which it implements
22250 to always fail with ENOSYS. Some functions are actually named
22251 something starting with __ and the normal name is an alias. */
22252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22253 choke me
22254 #else
22255 char (*f) () = $ac_func;
22256 #endif
22257 #ifdef __cplusplus
22258 }
22259 #endif
22260
22261 int
22262 main ()
22263 {
22264 return f != $ac_func;
22265 ;
22266 return 0;
22267 }
22268 _ACEOF
22269 rm -f conftest.$ac_objext conftest$ac_exeext
22270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22271 (eval $ac_link) 2>conftest.er1
22272 ac_status=$?
22273 grep -v '^ *+' conftest.er1 >conftest.err
22274 rm -f conftest.er1
22275 cat conftest.err >&5
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); } &&
22278 { ac_try='test -z "$ac_c_werror_flag"
22279 || test ! -s conftest.err'
22280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22281 (eval $ac_try) 2>&5
22282 ac_status=$?
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); }; } &&
22285 { ac_try='test -s conftest$ac_exeext'
22286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22287 (eval $ac_try) 2>&5
22288 ac_status=$?
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; }; then
22291 eval "$as_ac_var=yes"
22292 else
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.$ac_ext >&5
22295
22296 eval "$as_ac_var=no"
22297 fi
22298 rm -f conftest.err conftest.$ac_objext \
22299 conftest$ac_exeext conftest.$ac_ext
22300 fi
22301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22303 if test `eval echo '${'$as_ac_var'}'` = yes; then
22304 cat >>confdefs.h <<_ACEOF
22305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22306 _ACEOF
22307
22308 fi
22309 done
22310
22311 fi
22312
22313 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
22314 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22315
22316 AFMINSTALL=afminstall
22317 TOOLKIT=GTK
22318 GUIDIST=GTK_DIST
22319
22320 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22321 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22322 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22323 echo $ECHO_N "(cached) $ECHO_C" >&6
22324 else
22325 ac_check_lib_save_LIBS=$LIBS
22326 LIBS="-lgdk $LIBS"
22327 cat >conftest.$ac_ext <<_ACEOF
22328 /* confdefs.h. */
22329 _ACEOF
22330 cat confdefs.h >>conftest.$ac_ext
22331 cat >>conftest.$ac_ext <<_ACEOF
22332 /* end confdefs.h. */
22333
22334 /* Override any gcc2 internal prototype to avoid an error. */
22335 #ifdef __cplusplus
22336 extern "C"
22337 #endif
22338 /* We use char because int might match the return type of a gcc2
22339 builtin and then its argument prototype would still apply. */
22340 char gdk_im_open ();
22341 int
22342 main ()
22343 {
22344 gdk_im_open ();
22345 ;
22346 return 0;
22347 }
22348 _ACEOF
22349 rm -f conftest.$ac_objext conftest$ac_exeext
22350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22351 (eval $ac_link) 2>conftest.er1
22352 ac_status=$?
22353 grep -v '^ *+' conftest.er1 >conftest.err
22354 rm -f conftest.er1
22355 cat conftest.err >&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try='test -z "$ac_c_werror_flag"
22359 || test ! -s conftest.err'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22362 ac_status=$?
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; } &&
22365 { ac_try='test -s conftest$ac_exeext'
22366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22367 (eval $ac_try) 2>&5
22368 ac_status=$?
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; }; then
22371 ac_cv_lib_gdk_gdk_im_open=yes
22372 else
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.$ac_ext >&5
22375
22376 ac_cv_lib_gdk_gdk_im_open=no
22377 fi
22378 rm -f conftest.err conftest.$ac_objext \
22379 conftest$ac_exeext conftest.$ac_ext
22380 LIBS=$ac_check_lib_save_LIBS
22381 fi
22382 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
22383 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
22384 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
22385 cat >>confdefs.h <<\_ACEOF
22386 #define HAVE_XIM 1
22387 _ACEOF
22388
22389 fi
22390
22391 fi
22392
22393 if test "$wxUSE_MGL" = 1; then
22394 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
22395 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
22396 if test "x$MGL_ROOT" = x ; then
22397 echo "$as_me:$LINENO: result: not found" >&5
22398 echo "${ECHO_T}not found" >&6
22399 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
22400 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
22401 { (exit 1); exit 1; }; }
22402 else
22403 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
22404 echo "${ECHO_T}$MGL_ROOT" >&6
22405 fi
22406
22407 echo "$as_me:$LINENO: checking for libmgl location" >&5
22408 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
22409 case "${host}" in
22410 *-*-linux* )
22411 if test "x$wxUSE_SHARED" = xyes ; then
22412 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
22413 else
22414 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
22415 fi
22416 ;;
22417 *-pc-msdosdjgpp )
22418 mgl_os_candidates="dos32/dj2"
22419 ;;
22420 *)
22421 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
22422 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
22423 { (exit 1); exit 1; }; }
22424 esac
22425
22426 mgl_lib_type=""
22427 mgl_os=""
22428
22429 for mgl_os_i in $mgl_os_candidates ; do
22430 if test "x$mgl_os" = x ; then
22431 if test "$wxUSE_DEBUG_FLAG" = yes ; then
22432 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
22433 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
22434 mgl_lib_type=debug
22435 mgl_os=$mgl_os_i
22436 fi
22437 fi
22438 if test "x$mgl_lib_type" = x ; then
22439 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
22440 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
22441 mgl_lib_type=release
22442 mgl_os=$mgl_os_i
22443 fi
22444 fi
22445 fi
22446 done
22447
22448 if test "x$mgl_os" = x ; then
22449 echo "$as_me:$LINENO: result: not found" >&5
22450 echo "${ECHO_T}not found" >&6
22451 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
22452 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
22453 { (exit 1); exit 1; }; }
22454 fi
22455 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
22456 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
22457
22458 wxUSE_UNIVERSAL="yes"
22459
22460 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
22461 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
22462
22463 AFMINSTALL=afminstall
22464 TOOLKIT=MGL
22465 GUIDIST=MGL_DIST
22466 fi
22467
22468 if test "$wxUSE_MICROWIN" = 1; then
22469 echo "$as_me:$LINENO: checking for MicroWindows" >&5
22470 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
22471 if test "x$MICROWINDOWS" = x ; then
22472 echo "$as_me:$LINENO: result: not found" >&5
22473 echo "${ECHO_T}not found" >&6
22474 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
22475 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
22476 { (exit 1); exit 1; }; }
22477 else
22478 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
22479 echo "${ECHO_T}$MICROWINDOWS" >&6
22480 fi
22481
22482 if test -f $MICROWINDOWS/lib/libmwin.a; then
22483 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
22484 echo "${ECHO_T}MicroWindows' libraries found." >&6
22485 else
22486 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
22487 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
22488 { (exit 1); exit 1; }; }
22489 fi
22490
22491 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
22492 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
22493
22494 wxUSE_UNIVERSAL="yes"
22495
22496 AFMINSTALL=afminstall
22497 TOOLKIT=MICROWIN
22498 GUIDIST=MICROWIN_DIST
22499
22500 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
22501 fi
22502
22503 if test "$wxUSE_X11" = 1; then
22504 echo "$as_me:$LINENO: checking for X" >&5
22505 echo $ECHO_N "checking for X... $ECHO_C" >&6
22506
22507
22508 # Check whether --with-x or --without-x was given.
22509 if test "${with_x+set}" = set; then
22510 withval="$with_x"
22511
22512 fi;
22513 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22514 if test "x$with_x" = xno; then
22515 # The user explicitly disabled X.
22516 have_x=disabled
22517 else
22518 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
22519 # Both variables are already set.
22520 have_x=yes
22521 else
22522 if test "${ac_cv_have_x+set}" = set; then
22523 echo $ECHO_N "(cached) $ECHO_C" >&6
22524 else
22525 # One or both of the vars are not set, and there is no cached value.
22526 ac_x_includes=no ac_x_libraries=no
22527 rm -fr conftest.dir
22528 if mkdir conftest.dir; then
22529 cd conftest.dir
22530 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22531 cat >Imakefile <<'_ACEOF'
22532 acfindx:
22533 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22534 _ACEOF
22535 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
22536 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22537 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22538 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22539 for ac_extension in a so sl; do
22540 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
22541 test -f $ac_im_libdir/libX11.$ac_extension; then
22542 ac_im_usrlibdir=$ac_im_libdir; break
22543 fi
22544 done
22545 # Screen out bogus values from the imake configuration. They are
22546 # bogus both because they are the default anyway, and because
22547 # using them would break gcc on systems where it needs fixed includes.
22548 case $ac_im_incroot in
22549 /usr/include) ;;
22550 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22551 esac
22552 case $ac_im_usrlibdir in
22553 /usr/lib | /lib) ;;
22554 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22555 esac
22556 fi
22557 cd ..
22558 rm -fr conftest.dir
22559 fi
22560
22561 # Standard set of common directories for X headers.
22562 # Check X11 before X11Rn because it is often a symlink to the current release.
22563 ac_x_header_dirs='
22564 /usr/X11/include
22565 /usr/X11R6/include
22566 /usr/X11R5/include
22567 /usr/X11R4/include
22568
22569 /usr/include/X11
22570 /usr/include/X11R6
22571 /usr/include/X11R5
22572 /usr/include/X11R4
22573
22574 /usr/local/X11/include
22575 /usr/local/X11R6/include
22576 /usr/local/X11R5/include
22577 /usr/local/X11R4/include
22578
22579 /usr/local/include/X11
22580 /usr/local/include/X11R6
22581 /usr/local/include/X11R5
22582 /usr/local/include/X11R4
22583
22584 /usr/X386/include
22585 /usr/x386/include
22586 /usr/XFree86/include/X11
22587
22588 /usr/include
22589 /usr/local/include
22590 /usr/unsupported/include
22591 /usr/athena/include
22592 /usr/local/x11r5/include
22593 /usr/lpp/Xamples/include
22594
22595 /usr/openwin/include
22596 /usr/openwin/share/include'
22597
22598 if test "$ac_x_includes" = no; then
22599 # Guess where to find include files, by looking for Intrinsic.h.
22600 # First, try using that file with no special directory specified.
22601 cat >conftest.$ac_ext <<_ACEOF
22602 /* confdefs.h. */
22603 _ACEOF
22604 cat confdefs.h >>conftest.$ac_ext
22605 cat >>conftest.$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22607 #include <X11/Intrinsic.h>
22608 _ACEOF
22609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22611 ac_status=$?
22612 grep -v '^ *+' conftest.er1 >conftest.err
22613 rm -f conftest.er1
22614 cat conftest.err >&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); } >/dev/null; then
22617 if test -s conftest.err; then
22618 ac_cpp_err=$ac_c_preproc_warn_flag
22619 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22620 else
22621 ac_cpp_err=
22622 fi
22623 else
22624 ac_cpp_err=yes
22625 fi
22626 if test -z "$ac_cpp_err"; then
22627 # We can compile using X headers with no special include directory.
22628 ac_x_includes=
22629 else
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.$ac_ext >&5
22632
22633 for ac_dir in $ac_x_header_dirs; do
22634 if test -r "$ac_dir/X11/Intrinsic.h"; then
22635 ac_x_includes=$ac_dir
22636 break
22637 fi
22638 done
22639 fi
22640 rm -f conftest.err conftest.$ac_ext
22641 fi # $ac_x_includes = no
22642
22643 if test "$ac_x_libraries" = no; then
22644 # Check for the libraries.
22645 # See if we find them without any special options.
22646 # Don't add to $LIBS permanently.
22647 ac_save_LIBS=$LIBS
22648 LIBS="-lXt $LIBS"
22649 cat >conftest.$ac_ext <<_ACEOF
22650 /* confdefs.h. */
22651 _ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22655 #include <X11/Intrinsic.h>
22656 int
22657 main ()
22658 {
22659 XtMalloc (0)
22660 ;
22661 return 0;
22662 }
22663 _ACEOF
22664 rm -f conftest.$ac_objext conftest$ac_exeext
22665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22666 (eval $ac_link) 2>conftest.er1
22667 ac_status=$?
22668 grep -v '^ *+' conftest.er1 >conftest.err
22669 rm -f conftest.er1
22670 cat conftest.err >&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); } &&
22673 { ac_try='test -z "$ac_c_werror_flag"
22674 || test ! -s conftest.err'
22675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22676 (eval $ac_try) 2>&5
22677 ac_status=$?
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); }; } &&
22680 { ac_try='test -s conftest$ac_exeext'
22681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682 (eval $ac_try) 2>&5
22683 ac_status=$?
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; }; then
22686 LIBS=$ac_save_LIBS
22687 # We can link X programs with no special library path.
22688 ac_x_libraries=
22689 else
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.$ac_ext >&5
22692
22693 LIBS=$ac_save_LIBS
22694 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22695 do
22696 # Don't even attempt the hair of trying to link an X program!
22697 for ac_extension in a so sl; do
22698 if test -r $ac_dir/libXt.$ac_extension; then
22699 ac_x_libraries=$ac_dir
22700 break 2
22701 fi
22702 done
22703 done
22704 fi
22705 rm -f conftest.err conftest.$ac_objext \
22706 conftest$ac_exeext conftest.$ac_ext
22707 fi # $ac_x_libraries = no
22708
22709 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
22710 # Didn't find X anywhere. Cache the known absence of X.
22711 ac_cv_have_x="have_x=no"
22712 else
22713 # Record where we found X for the cache.
22714 ac_cv_have_x="have_x=yes \
22715 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22716 fi
22717 fi
22718
22719 fi
22720 eval "$ac_cv_have_x"
22721 fi # $with_x != no
22722
22723 if test "$have_x" != yes; then
22724 echo "$as_me:$LINENO: result: $have_x" >&5
22725 echo "${ECHO_T}$have_x" >&6
22726 no_x=yes
22727 else
22728 # If each of the values was on the command line, it overrides each guess.
22729 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22730 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22731 # Update the cache value to reflect the command line values.
22732 ac_cv_have_x="have_x=yes \
22733 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22734 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22735 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22736 fi
22737
22738 if test "$no_x" = yes; then
22739 # Not all programs may use this symbol, but it does not hurt to define it.
22740
22741 cat >>confdefs.h <<\_ACEOF
22742 #define X_DISPLAY_MISSING 1
22743 _ACEOF
22744
22745 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22746 else
22747 if test -n "$x_includes"; then
22748 X_CFLAGS="$X_CFLAGS -I$x_includes"
22749 fi
22750
22751 # It would also be nice to do this for all -L options, not just this one.
22752 if test -n "$x_libraries"; then
22753 X_LIBS="$X_LIBS -L$x_libraries"
22754 # For Solaris; some versions of Sun CC require a space after -R and
22755 # others require no space. Words are not sufficient . . . .
22756 case `(uname -sr) 2>/dev/null` in
22757 "SunOS 5"*)
22758 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22759 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22760 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22761 cat >conftest.$ac_ext <<_ACEOF
22762 /* confdefs.h. */
22763 _ACEOF
22764 cat confdefs.h >>conftest.$ac_ext
22765 cat >>conftest.$ac_ext <<_ACEOF
22766 /* end confdefs.h. */
22767
22768 int
22769 main ()
22770 {
22771
22772 ;
22773 return 0;
22774 }
22775 _ACEOF
22776 rm -f conftest.$ac_objext conftest$ac_exeext
22777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22778 (eval $ac_link) 2>conftest.er1
22779 ac_status=$?
22780 grep -v '^ *+' conftest.er1 >conftest.err
22781 rm -f conftest.er1
22782 cat conftest.err >&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); } &&
22785 { ac_try='test -z "$ac_c_werror_flag"
22786 || test ! -s conftest.err'
22787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22788 (eval $ac_try) 2>&5
22789 ac_status=$?
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); }; } &&
22792 { ac_try='test -s conftest$ac_exeext'
22793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22794 (eval $ac_try) 2>&5
22795 ac_status=$?
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); }; }; then
22798 ac_R_nospace=yes
22799 else
22800 echo "$as_me: failed program was:" >&5
22801 sed 's/^/| /' conftest.$ac_ext >&5
22802
22803 ac_R_nospace=no
22804 fi
22805 rm -f conftest.err conftest.$ac_objext \
22806 conftest$ac_exeext conftest.$ac_ext
22807 if test $ac_R_nospace = yes; then
22808 echo "$as_me:$LINENO: result: no" >&5
22809 echo "${ECHO_T}no" >&6
22810 X_LIBS="$X_LIBS -R$x_libraries"
22811 else
22812 LIBS="$ac_xsave_LIBS -R $x_libraries"
22813 cat >conftest.$ac_ext <<_ACEOF
22814 /* confdefs.h. */
22815 _ACEOF
22816 cat confdefs.h >>conftest.$ac_ext
22817 cat >>conftest.$ac_ext <<_ACEOF
22818 /* end confdefs.h. */
22819
22820 int
22821 main ()
22822 {
22823
22824 ;
22825 return 0;
22826 }
22827 _ACEOF
22828 rm -f conftest.$ac_objext conftest$ac_exeext
22829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22830 (eval $ac_link) 2>conftest.er1
22831 ac_status=$?
22832 grep -v '^ *+' conftest.er1 >conftest.err
22833 rm -f conftest.er1
22834 cat conftest.err >&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); } &&
22837 { ac_try='test -z "$ac_c_werror_flag"
22838 || test ! -s conftest.err'
22839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22840 (eval $ac_try) 2>&5
22841 ac_status=$?
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); }; } &&
22844 { ac_try='test -s conftest$ac_exeext'
22845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22846 (eval $ac_try) 2>&5
22847 ac_status=$?
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); }; }; then
22850 ac_R_space=yes
22851 else
22852 echo "$as_me: failed program was:" >&5
22853 sed 's/^/| /' conftest.$ac_ext >&5
22854
22855 ac_R_space=no
22856 fi
22857 rm -f conftest.err conftest.$ac_objext \
22858 conftest$ac_exeext conftest.$ac_ext
22859 if test $ac_R_space = yes; then
22860 echo "$as_me:$LINENO: result: yes" >&5
22861 echo "${ECHO_T}yes" >&6
22862 X_LIBS="$X_LIBS -R $x_libraries"
22863 else
22864 echo "$as_me:$LINENO: result: neither works" >&5
22865 echo "${ECHO_T}neither works" >&6
22866 fi
22867 fi
22868 LIBS=$ac_xsave_LIBS
22869 esac
22870 fi
22871
22872 # Check for system-dependent libraries X programs must link with.
22873 # Do this before checking for the system-independent R6 libraries
22874 # (-lICE), since we may need -lsocket or whatever for X linking.
22875
22876 if test "$ISC" = yes; then
22877 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22878 else
22879 # Martyn Johnson says this is needed for Ultrix, if the X
22880 # libraries were built with DECnet support. And Karl Berry says
22881 # the Alpha needs dnet_stub (dnet does not exist).
22882 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22883 cat >conftest.$ac_ext <<_ACEOF
22884 /* confdefs.h. */
22885 _ACEOF
22886 cat confdefs.h >>conftest.$ac_ext
22887 cat >>conftest.$ac_ext <<_ACEOF
22888 /* end confdefs.h. */
22889
22890 /* Override any gcc2 internal prototype to avoid an error. */
22891 #ifdef __cplusplus
22892 extern "C"
22893 #endif
22894 /* We use char because int might match the return type of a gcc2
22895 builtin and then its argument prototype would still apply. */
22896 char XOpenDisplay ();
22897 int
22898 main ()
22899 {
22900 XOpenDisplay ();
22901 ;
22902 return 0;
22903 }
22904 _ACEOF
22905 rm -f conftest.$ac_objext conftest$ac_exeext
22906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22907 (eval $ac_link) 2>conftest.er1
22908 ac_status=$?
22909 grep -v '^ *+' conftest.er1 >conftest.err
22910 rm -f conftest.er1
22911 cat conftest.err >&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try='test -z "$ac_c_werror_flag"
22915 || test ! -s conftest.err'
22916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22917 (eval $ac_try) 2>&5
22918 ac_status=$?
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); }; } &&
22921 { ac_try='test -s conftest$ac_exeext'
22922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923 (eval $ac_try) 2>&5
22924 ac_status=$?
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); }; }; then
22927 :
22928 else
22929 echo "$as_me: failed program was:" >&5
22930 sed 's/^/| /' conftest.$ac_ext >&5
22931
22932 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22933 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22934 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22935 echo $ECHO_N "(cached) $ECHO_C" >&6
22936 else
22937 ac_check_lib_save_LIBS=$LIBS
22938 LIBS="-ldnet $LIBS"
22939 cat >conftest.$ac_ext <<_ACEOF
22940 /* confdefs.h. */
22941 _ACEOF
22942 cat confdefs.h >>conftest.$ac_ext
22943 cat >>conftest.$ac_ext <<_ACEOF
22944 /* end confdefs.h. */
22945
22946 /* Override any gcc2 internal prototype to avoid an error. */
22947 #ifdef __cplusplus
22948 extern "C"
22949 #endif
22950 /* We use char because int might match the return type of a gcc2
22951 builtin and then its argument prototype would still apply. */
22952 char dnet_ntoa ();
22953 int
22954 main ()
22955 {
22956 dnet_ntoa ();
22957 ;
22958 return 0;
22959 }
22960 _ACEOF
22961 rm -f conftest.$ac_objext conftest$ac_exeext
22962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22963 (eval $ac_link) 2>conftest.er1
22964 ac_status=$?
22965 grep -v '^ *+' conftest.er1 >conftest.err
22966 rm -f conftest.er1
22967 cat conftest.err >&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); } &&
22970 { ac_try='test -z "$ac_c_werror_flag"
22971 || test ! -s conftest.err'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22974 ac_status=$?
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; } &&
22977 { ac_try='test -s conftest$ac_exeext'
22978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22979 (eval $ac_try) 2>&5
22980 ac_status=$?
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); }; }; then
22983 ac_cv_lib_dnet_dnet_ntoa=yes
22984 else
22985 echo "$as_me: failed program was:" >&5
22986 sed 's/^/| /' conftest.$ac_ext >&5
22987
22988 ac_cv_lib_dnet_dnet_ntoa=no
22989 fi
22990 rm -f conftest.err conftest.$ac_objext \
22991 conftest$ac_exeext conftest.$ac_ext
22992 LIBS=$ac_check_lib_save_LIBS
22993 fi
22994 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22995 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22996 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22997 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22998 fi
22999
23000 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23001 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23002 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23003 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23004 echo $ECHO_N "(cached) $ECHO_C" >&6
23005 else
23006 ac_check_lib_save_LIBS=$LIBS
23007 LIBS="-ldnet_stub $LIBS"
23008 cat >conftest.$ac_ext <<_ACEOF
23009 /* confdefs.h. */
23010 _ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014
23015 /* Override any gcc2 internal prototype to avoid an error. */
23016 #ifdef __cplusplus
23017 extern "C"
23018 #endif
23019 /* We use char because int might match the return type of a gcc2
23020 builtin and then its argument prototype would still apply. */
23021 char dnet_ntoa ();
23022 int
23023 main ()
23024 {
23025 dnet_ntoa ();
23026 ;
23027 return 0;
23028 }
23029 _ACEOF
23030 rm -f conftest.$ac_objext conftest$ac_exeext
23031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23032 (eval $ac_link) 2>conftest.er1
23033 ac_status=$?
23034 grep -v '^ *+' conftest.er1 >conftest.err
23035 rm -f conftest.er1
23036 cat conftest.err >&5
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); } &&
23039 { ac_try='test -z "$ac_c_werror_flag"
23040 || test ! -s conftest.err'
23041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23042 (eval $ac_try) 2>&5
23043 ac_status=$?
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); }; } &&
23046 { ac_try='test -s conftest$ac_exeext'
23047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23048 (eval $ac_try) 2>&5
23049 ac_status=$?
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); }; }; then
23052 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23053 else
23054 echo "$as_me: failed program was:" >&5
23055 sed 's/^/| /' conftest.$ac_ext >&5
23056
23057 ac_cv_lib_dnet_stub_dnet_ntoa=no
23058 fi
23059 rm -f conftest.err conftest.$ac_objext \
23060 conftest$ac_exeext conftest.$ac_ext
23061 LIBS=$ac_check_lib_save_LIBS
23062 fi
23063 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23064 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23065 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23066 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23067 fi
23068
23069 fi
23070 fi
23071 rm -f conftest.err conftest.$ac_objext \
23072 conftest$ac_exeext conftest.$ac_ext
23073 LIBS="$ac_xsave_LIBS"
23074
23075 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23076 # to get the SysV transport functions.
23077 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23078 # needs -lnsl.
23079 # The nsl library prevents programs from opening the X display
23080 # on Irix 5.2, according to T.E. Dickey.
23081 # The functions gethostbyname, getservbyname, and inet_addr are
23082 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23083 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23084 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23085 if test "${ac_cv_func_gethostbyname+set}" = set; then
23086 echo $ECHO_N "(cached) $ECHO_C" >&6
23087 else
23088 cat >conftest.$ac_ext <<_ACEOF
23089 /* confdefs.h. */
23090 _ACEOF
23091 cat confdefs.h >>conftest.$ac_ext
23092 cat >>conftest.$ac_ext <<_ACEOF
23093 /* end confdefs.h. */
23094 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23096 #define gethostbyname innocuous_gethostbyname
23097
23098 /* System header to define __stub macros and hopefully few prototypes,
23099 which can conflict with char gethostbyname (); below.
23100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23101 <limits.h> exists even on freestanding compilers. */
23102
23103 #ifdef __STDC__
23104 # include <limits.h>
23105 #else
23106 # include <assert.h>
23107 #endif
23108
23109 #undef gethostbyname
23110
23111 /* Override any gcc2 internal prototype to avoid an error. */
23112 #ifdef __cplusplus
23113 extern "C"
23114 {
23115 #endif
23116 /* We use char because int might match the return type of a gcc2
23117 builtin and then its argument prototype would still apply. */
23118 char gethostbyname ();
23119 /* The GNU C library defines this for functions which it implements
23120 to always fail with ENOSYS. Some functions are actually named
23121 something starting with __ and the normal name is an alias. */
23122 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23123 choke me
23124 #else
23125 char (*f) () = gethostbyname;
23126 #endif
23127 #ifdef __cplusplus
23128 }
23129 #endif
23130
23131 int
23132 main ()
23133 {
23134 return f != gethostbyname;
23135 ;
23136 return 0;
23137 }
23138 _ACEOF
23139 rm -f conftest.$ac_objext conftest$ac_exeext
23140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23141 (eval $ac_link) 2>conftest.er1
23142 ac_status=$?
23143 grep -v '^ *+' conftest.er1 >conftest.err
23144 rm -f conftest.er1
23145 cat conftest.err >&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } &&
23148 { ac_try='test -z "$ac_c_werror_flag"
23149 || test ! -s conftest.err'
23150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23151 (eval $ac_try) 2>&5
23152 ac_status=$?
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); }; } &&
23155 { ac_try='test -s conftest$ac_exeext'
23156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23157 (eval $ac_try) 2>&5
23158 ac_status=$?
23159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23160 (exit $ac_status); }; }; then
23161 ac_cv_func_gethostbyname=yes
23162 else
23163 echo "$as_me: failed program was:" >&5
23164 sed 's/^/| /' conftest.$ac_ext >&5
23165
23166 ac_cv_func_gethostbyname=no
23167 fi
23168 rm -f conftest.err conftest.$ac_objext \
23169 conftest$ac_exeext conftest.$ac_ext
23170 fi
23171 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23172 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23173
23174 if test $ac_cv_func_gethostbyname = no; then
23175 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23176 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23177 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23178 echo $ECHO_N "(cached) $ECHO_C" >&6
23179 else
23180 ac_check_lib_save_LIBS=$LIBS
23181 LIBS="-lnsl $LIBS"
23182 cat >conftest.$ac_ext <<_ACEOF
23183 /* confdefs.h. */
23184 _ACEOF
23185 cat confdefs.h >>conftest.$ac_ext
23186 cat >>conftest.$ac_ext <<_ACEOF
23187 /* end confdefs.h. */
23188
23189 /* Override any gcc2 internal prototype to avoid an error. */
23190 #ifdef __cplusplus
23191 extern "C"
23192 #endif
23193 /* We use char because int might match the return type of a gcc2
23194 builtin and then its argument prototype would still apply. */
23195 char gethostbyname ();
23196 int
23197 main ()
23198 {
23199 gethostbyname ();
23200 ;
23201 return 0;
23202 }
23203 _ACEOF
23204 rm -f conftest.$ac_objext conftest$ac_exeext
23205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23206 (eval $ac_link) 2>conftest.er1
23207 ac_status=$?
23208 grep -v '^ *+' conftest.er1 >conftest.err
23209 rm -f conftest.er1
23210 cat conftest.err >&5
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); } &&
23213 { ac_try='test -z "$ac_c_werror_flag"
23214 || test ! -s conftest.err'
23215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23216 (eval $ac_try) 2>&5
23217 ac_status=$?
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); }; } &&
23220 { ac_try='test -s conftest$ac_exeext'
23221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23222 (eval $ac_try) 2>&5
23223 ac_status=$?
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; }; then
23226 ac_cv_lib_nsl_gethostbyname=yes
23227 else
23228 echo "$as_me: failed program was:" >&5
23229 sed 's/^/| /' conftest.$ac_ext >&5
23230
23231 ac_cv_lib_nsl_gethostbyname=no
23232 fi
23233 rm -f conftest.err conftest.$ac_objext \
23234 conftest$ac_exeext conftest.$ac_ext
23235 LIBS=$ac_check_lib_save_LIBS
23236 fi
23237 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23238 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23239 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23240 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23241 fi
23242
23243 if test $ac_cv_lib_nsl_gethostbyname = no; then
23244 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23245 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23246 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23247 echo $ECHO_N "(cached) $ECHO_C" >&6
23248 else
23249 ac_check_lib_save_LIBS=$LIBS
23250 LIBS="-lbsd $LIBS"
23251 cat >conftest.$ac_ext <<_ACEOF
23252 /* confdefs.h. */
23253 _ACEOF
23254 cat confdefs.h >>conftest.$ac_ext
23255 cat >>conftest.$ac_ext <<_ACEOF
23256 /* end confdefs.h. */
23257
23258 /* Override any gcc2 internal prototype to avoid an error. */
23259 #ifdef __cplusplus
23260 extern "C"
23261 #endif
23262 /* We use char because int might match the return type of a gcc2
23263 builtin and then its argument prototype would still apply. */
23264 char gethostbyname ();
23265 int
23266 main ()
23267 {
23268 gethostbyname ();
23269 ;
23270 return 0;
23271 }
23272 _ACEOF
23273 rm -f conftest.$ac_objext conftest$ac_exeext
23274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23275 (eval $ac_link) 2>conftest.er1
23276 ac_status=$?
23277 grep -v '^ *+' conftest.er1 >conftest.err
23278 rm -f conftest.er1
23279 cat conftest.err >&5
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); } &&
23282 { ac_try='test -z "$ac_c_werror_flag"
23283 || test ! -s conftest.err'
23284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285 (eval $ac_try) 2>&5
23286 ac_status=$?
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); }; } &&
23289 { ac_try='test -s conftest$ac_exeext'
23290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23291 (eval $ac_try) 2>&5
23292 ac_status=$?
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); }; }; then
23295 ac_cv_lib_bsd_gethostbyname=yes
23296 else
23297 echo "$as_me: failed program was:" >&5
23298 sed 's/^/| /' conftest.$ac_ext >&5
23299
23300 ac_cv_lib_bsd_gethostbyname=no
23301 fi
23302 rm -f conftest.err conftest.$ac_objext \
23303 conftest$ac_exeext conftest.$ac_ext
23304 LIBS=$ac_check_lib_save_LIBS
23305 fi
23306 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23307 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23308 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23309 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23310 fi
23311
23312 fi
23313 fi
23314
23315 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23316 # socket/setsockopt and other routines are undefined under SCO ODT
23317 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23318 # on later versions), says Simon Leinen: it contains gethostby*
23319 # variants that don't use the name server (or something). -lsocket
23320 # must be given before -lnsl if both are needed. We assume that
23321 # if connect needs -lnsl, so does gethostbyname.
23322 echo "$as_me:$LINENO: checking for connect" >&5
23323 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23324 if test "${ac_cv_func_connect+set}" = set; then
23325 echo $ECHO_N "(cached) $ECHO_C" >&6
23326 else
23327 cat >conftest.$ac_ext <<_ACEOF
23328 /* confdefs.h. */
23329 _ACEOF
23330 cat confdefs.h >>conftest.$ac_ext
23331 cat >>conftest.$ac_ext <<_ACEOF
23332 /* end confdefs.h. */
23333 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23335 #define connect innocuous_connect
23336
23337 /* System header to define __stub macros and hopefully few prototypes,
23338 which can conflict with char connect (); below.
23339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23340 <limits.h> exists even on freestanding compilers. */
23341
23342 #ifdef __STDC__
23343 # include <limits.h>
23344 #else
23345 # include <assert.h>
23346 #endif
23347
23348 #undef connect
23349
23350 /* Override any gcc2 internal prototype to avoid an error. */
23351 #ifdef __cplusplus
23352 extern "C"
23353 {
23354 #endif
23355 /* We use char because int might match the return type of a gcc2
23356 builtin and then its argument prototype would still apply. */
23357 char connect ();
23358 /* The GNU C library defines this for functions which it implements
23359 to always fail with ENOSYS. Some functions are actually named
23360 something starting with __ and the normal name is an alias. */
23361 #if defined (__stub_connect) || defined (__stub___connect)
23362 choke me
23363 #else
23364 char (*f) () = connect;
23365 #endif
23366 #ifdef __cplusplus
23367 }
23368 #endif
23369
23370 int
23371 main ()
23372 {
23373 return f != connect;
23374 ;
23375 return 0;
23376 }
23377 _ACEOF
23378 rm -f conftest.$ac_objext conftest$ac_exeext
23379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23380 (eval $ac_link) 2>conftest.er1
23381 ac_status=$?
23382 grep -v '^ *+' conftest.er1 >conftest.err
23383 rm -f conftest.er1
23384 cat conftest.err >&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } &&
23387 { ac_try='test -z "$ac_c_werror_flag"
23388 || test ! -s conftest.err'
23389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23390 (eval $ac_try) 2>&5
23391 ac_status=$?
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); }; } &&
23394 { ac_try='test -s conftest$ac_exeext'
23395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23396 (eval $ac_try) 2>&5
23397 ac_status=$?
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); }; }; then
23400 ac_cv_func_connect=yes
23401 else
23402 echo "$as_me: failed program was:" >&5
23403 sed 's/^/| /' conftest.$ac_ext >&5
23404
23405 ac_cv_func_connect=no
23406 fi
23407 rm -f conftest.err conftest.$ac_objext \
23408 conftest$ac_exeext conftest.$ac_ext
23409 fi
23410 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23411 echo "${ECHO_T}$ac_cv_func_connect" >&6
23412
23413 if test $ac_cv_func_connect = no; then
23414 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23415 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23416 if test "${ac_cv_lib_socket_connect+set}" = set; then
23417 echo $ECHO_N "(cached) $ECHO_C" >&6
23418 else
23419 ac_check_lib_save_LIBS=$LIBS
23420 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23421 cat >conftest.$ac_ext <<_ACEOF
23422 /* confdefs.h. */
23423 _ACEOF
23424 cat confdefs.h >>conftest.$ac_ext
23425 cat >>conftest.$ac_ext <<_ACEOF
23426 /* end confdefs.h. */
23427
23428 /* Override any gcc2 internal prototype to avoid an error. */
23429 #ifdef __cplusplus
23430 extern "C"
23431 #endif
23432 /* We use char because int might match the return type of a gcc2
23433 builtin and then its argument prototype would still apply. */
23434 char connect ();
23435 int
23436 main ()
23437 {
23438 connect ();
23439 ;
23440 return 0;
23441 }
23442 _ACEOF
23443 rm -f conftest.$ac_objext conftest$ac_exeext
23444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23445 (eval $ac_link) 2>conftest.er1
23446 ac_status=$?
23447 grep -v '^ *+' conftest.er1 >conftest.err
23448 rm -f conftest.er1
23449 cat conftest.err >&5
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); } &&
23452 { ac_try='test -z "$ac_c_werror_flag"
23453 || test ! -s conftest.err'
23454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23455 (eval $ac_try) 2>&5
23456 ac_status=$?
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); }; } &&
23459 { ac_try='test -s conftest$ac_exeext'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23462 ac_status=$?
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; }; then
23465 ac_cv_lib_socket_connect=yes
23466 else
23467 echo "$as_me: failed program was:" >&5
23468 sed 's/^/| /' conftest.$ac_ext >&5
23469
23470 ac_cv_lib_socket_connect=no
23471 fi
23472 rm -f conftest.err conftest.$ac_objext \
23473 conftest$ac_exeext conftest.$ac_ext
23474 LIBS=$ac_check_lib_save_LIBS
23475 fi
23476 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23477 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23478 if test $ac_cv_lib_socket_connect = yes; then
23479 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23480 fi
23481
23482 fi
23483
23484 # Guillermo Gomez says -lposix is necessary on A/UX.
23485 echo "$as_me:$LINENO: checking for remove" >&5
23486 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23487 if test "${ac_cv_func_remove+set}" = set; then
23488 echo $ECHO_N "(cached) $ECHO_C" >&6
23489 else
23490 cat >conftest.$ac_ext <<_ACEOF
23491 /* confdefs.h. */
23492 _ACEOF
23493 cat confdefs.h >>conftest.$ac_ext
23494 cat >>conftest.$ac_ext <<_ACEOF
23495 /* end confdefs.h. */
23496 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
23497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23498 #define remove innocuous_remove
23499
23500 /* System header to define __stub macros and hopefully few prototypes,
23501 which can conflict with char remove (); below.
23502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23503 <limits.h> exists even on freestanding compilers. */
23504
23505 #ifdef __STDC__
23506 # include <limits.h>
23507 #else
23508 # include <assert.h>
23509 #endif
23510
23511 #undef remove
23512
23513 /* Override any gcc2 internal prototype to avoid an error. */
23514 #ifdef __cplusplus
23515 extern "C"
23516 {
23517 #endif
23518 /* We use char because int might match the return type of a gcc2
23519 builtin and then its argument prototype would still apply. */
23520 char remove ();
23521 /* The GNU C library defines this for functions which it implements
23522 to always fail with ENOSYS. Some functions are actually named
23523 something starting with __ and the normal name is an alias. */
23524 #if defined (__stub_remove) || defined (__stub___remove)
23525 choke me
23526 #else
23527 char (*f) () = remove;
23528 #endif
23529 #ifdef __cplusplus
23530 }
23531 #endif
23532
23533 int
23534 main ()
23535 {
23536 return f != remove;
23537 ;
23538 return 0;
23539 }
23540 _ACEOF
23541 rm -f conftest.$ac_objext conftest$ac_exeext
23542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23543 (eval $ac_link) 2>conftest.er1
23544 ac_status=$?
23545 grep -v '^ *+' conftest.er1 >conftest.err
23546 rm -f conftest.er1
23547 cat conftest.err >&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); } &&
23550 { ac_try='test -z "$ac_c_werror_flag"
23551 || test ! -s conftest.err'
23552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23553 (eval $ac_try) 2>&5
23554 ac_status=$?
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); }; } &&
23557 { ac_try='test -s conftest$ac_exeext'
23558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23559 (eval $ac_try) 2>&5
23560 ac_status=$?
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); }; }; then
23563 ac_cv_func_remove=yes
23564 else
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23567
23568 ac_cv_func_remove=no
23569 fi
23570 rm -f conftest.err conftest.$ac_objext \
23571 conftest$ac_exeext conftest.$ac_ext
23572 fi
23573 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23574 echo "${ECHO_T}$ac_cv_func_remove" >&6
23575
23576 if test $ac_cv_func_remove = no; then
23577 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23578 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23579 if test "${ac_cv_lib_posix_remove+set}" = set; then
23580 echo $ECHO_N "(cached) $ECHO_C" >&6
23581 else
23582 ac_check_lib_save_LIBS=$LIBS
23583 LIBS="-lposix $LIBS"
23584 cat >conftest.$ac_ext <<_ACEOF
23585 /* confdefs.h. */
23586 _ACEOF
23587 cat confdefs.h >>conftest.$ac_ext
23588 cat >>conftest.$ac_ext <<_ACEOF
23589 /* end confdefs.h. */
23590
23591 /* Override any gcc2 internal prototype to avoid an error. */
23592 #ifdef __cplusplus
23593 extern "C"
23594 #endif
23595 /* We use char because int might match the return type of a gcc2
23596 builtin and then its argument prototype would still apply. */
23597 char remove ();
23598 int
23599 main ()
23600 {
23601 remove ();
23602 ;
23603 return 0;
23604 }
23605 _ACEOF
23606 rm -f conftest.$ac_objext conftest$ac_exeext
23607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23608 (eval $ac_link) 2>conftest.er1
23609 ac_status=$?
23610 grep -v '^ *+' conftest.er1 >conftest.err
23611 rm -f conftest.er1
23612 cat conftest.err >&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } &&
23615 { ac_try='test -z "$ac_c_werror_flag"
23616 || test ! -s conftest.err'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23619 ac_status=$?
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; } &&
23622 { ac_try='test -s conftest$ac_exeext'
23623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23624 (eval $ac_try) 2>&5
23625 ac_status=$?
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); }; }; then
23628 ac_cv_lib_posix_remove=yes
23629 else
23630 echo "$as_me: failed program was:" >&5
23631 sed 's/^/| /' conftest.$ac_ext >&5
23632
23633 ac_cv_lib_posix_remove=no
23634 fi
23635 rm -f conftest.err conftest.$ac_objext \
23636 conftest$ac_exeext conftest.$ac_ext
23637 LIBS=$ac_check_lib_save_LIBS
23638 fi
23639 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23640 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23641 if test $ac_cv_lib_posix_remove = yes; then
23642 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23643 fi
23644
23645 fi
23646
23647 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23648 echo "$as_me:$LINENO: checking for shmat" >&5
23649 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23650 if test "${ac_cv_func_shmat+set}" = set; then
23651 echo $ECHO_N "(cached) $ECHO_C" >&6
23652 else
23653 cat >conftest.$ac_ext <<_ACEOF
23654 /* confdefs.h. */
23655 _ACEOF
23656 cat confdefs.h >>conftest.$ac_ext
23657 cat >>conftest.$ac_ext <<_ACEOF
23658 /* end confdefs.h. */
23659 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
23660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23661 #define shmat innocuous_shmat
23662
23663 /* System header to define __stub macros and hopefully few prototypes,
23664 which can conflict with char shmat (); below.
23665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23666 <limits.h> exists even on freestanding compilers. */
23667
23668 #ifdef __STDC__
23669 # include <limits.h>
23670 #else
23671 # include <assert.h>
23672 #endif
23673
23674 #undef shmat
23675
23676 /* Override any gcc2 internal prototype to avoid an error. */
23677 #ifdef __cplusplus
23678 extern "C"
23679 {
23680 #endif
23681 /* We use char because int might match the return type of a gcc2
23682 builtin and then its argument prototype would still apply. */
23683 char shmat ();
23684 /* The GNU C library defines this for functions which it implements
23685 to always fail with ENOSYS. Some functions are actually named
23686 something starting with __ and the normal name is an alias. */
23687 #if defined (__stub_shmat) || defined (__stub___shmat)
23688 choke me
23689 #else
23690 char (*f) () = shmat;
23691 #endif
23692 #ifdef __cplusplus
23693 }
23694 #endif
23695
23696 int
23697 main ()
23698 {
23699 return f != shmat;
23700 ;
23701 return 0;
23702 }
23703 _ACEOF
23704 rm -f conftest.$ac_objext conftest$ac_exeext
23705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23706 (eval $ac_link) 2>conftest.er1
23707 ac_status=$?
23708 grep -v '^ *+' conftest.er1 >conftest.err
23709 rm -f conftest.er1
23710 cat conftest.err >&5
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); } &&
23713 { ac_try='test -z "$ac_c_werror_flag"
23714 || test ! -s conftest.err'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23717 ac_status=$?
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; } &&
23720 { ac_try='test -s conftest$ac_exeext'
23721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23722 (eval $ac_try) 2>&5
23723 ac_status=$?
23724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23725 (exit $ac_status); }; }; then
23726 ac_cv_func_shmat=yes
23727 else
23728 echo "$as_me: failed program was:" >&5
23729 sed 's/^/| /' conftest.$ac_ext >&5
23730
23731 ac_cv_func_shmat=no
23732 fi
23733 rm -f conftest.err conftest.$ac_objext \
23734 conftest$ac_exeext conftest.$ac_ext
23735 fi
23736 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23737 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23738
23739 if test $ac_cv_func_shmat = no; then
23740 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23741 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23742 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23743 echo $ECHO_N "(cached) $ECHO_C" >&6
23744 else
23745 ac_check_lib_save_LIBS=$LIBS
23746 LIBS="-lipc $LIBS"
23747 cat >conftest.$ac_ext <<_ACEOF
23748 /* confdefs.h. */
23749 _ACEOF
23750 cat confdefs.h >>conftest.$ac_ext
23751 cat >>conftest.$ac_ext <<_ACEOF
23752 /* end confdefs.h. */
23753
23754 /* Override any gcc2 internal prototype to avoid an error. */
23755 #ifdef __cplusplus
23756 extern "C"
23757 #endif
23758 /* We use char because int might match the return type of a gcc2
23759 builtin and then its argument prototype would still apply. */
23760 char shmat ();
23761 int
23762 main ()
23763 {
23764 shmat ();
23765 ;
23766 return 0;
23767 }
23768 _ACEOF
23769 rm -f conftest.$ac_objext conftest$ac_exeext
23770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23771 (eval $ac_link) 2>conftest.er1
23772 ac_status=$?
23773 grep -v '^ *+' conftest.er1 >conftest.err
23774 rm -f conftest.er1
23775 cat conftest.err >&5
23776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777 (exit $ac_status); } &&
23778 { ac_try='test -z "$ac_c_werror_flag"
23779 || test ! -s conftest.err'
23780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23781 (eval $ac_try) 2>&5
23782 ac_status=$?
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); }; } &&
23785 { ac_try='test -s conftest$ac_exeext'
23786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23787 (eval $ac_try) 2>&5
23788 ac_status=$?
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); }; }; then
23791 ac_cv_lib_ipc_shmat=yes
23792 else
23793 echo "$as_me: failed program was:" >&5
23794 sed 's/^/| /' conftest.$ac_ext >&5
23795
23796 ac_cv_lib_ipc_shmat=no
23797 fi
23798 rm -f conftest.err conftest.$ac_objext \
23799 conftest$ac_exeext conftest.$ac_ext
23800 LIBS=$ac_check_lib_save_LIBS
23801 fi
23802 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23803 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23804 if test $ac_cv_lib_ipc_shmat = yes; then
23805 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23806 fi
23807
23808 fi
23809 fi
23810
23811 # Check for libraries that X11R6 Xt/Xaw programs need.
23812 ac_save_LDFLAGS=$LDFLAGS
23813 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23814 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23815 # check for ICE first), but we must link in the order -lSM -lICE or
23816 # we get undefined symbols. So assume we have SM if we have ICE.
23817 # These have to be linked with before -lX11, unlike the other
23818 # libraries we check for below, so use a different variable.
23819 # John Interrante, Karl Berry
23820 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23821 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23822 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23823 echo $ECHO_N "(cached) $ECHO_C" >&6
23824 else
23825 ac_check_lib_save_LIBS=$LIBS
23826 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23827 cat >conftest.$ac_ext <<_ACEOF
23828 /* confdefs.h. */
23829 _ACEOF
23830 cat confdefs.h >>conftest.$ac_ext
23831 cat >>conftest.$ac_ext <<_ACEOF
23832 /* end confdefs.h. */
23833
23834 /* Override any gcc2 internal prototype to avoid an error. */
23835 #ifdef __cplusplus
23836 extern "C"
23837 #endif
23838 /* We use char because int might match the return type of a gcc2
23839 builtin and then its argument prototype would still apply. */
23840 char IceConnectionNumber ();
23841 int
23842 main ()
23843 {
23844 IceConnectionNumber ();
23845 ;
23846 return 0;
23847 }
23848 _ACEOF
23849 rm -f conftest.$ac_objext conftest$ac_exeext
23850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23851 (eval $ac_link) 2>conftest.er1
23852 ac_status=$?
23853 grep -v '^ *+' conftest.er1 >conftest.err
23854 rm -f conftest.er1
23855 cat conftest.err >&5
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); } &&
23858 { ac_try='test -z "$ac_c_werror_flag"
23859 || test ! -s conftest.err'
23860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23861 (eval $ac_try) 2>&5
23862 ac_status=$?
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); }; } &&
23865 { ac_try='test -s conftest$ac_exeext'
23866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23867 (eval $ac_try) 2>&5
23868 ac_status=$?
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); }; }; then
23871 ac_cv_lib_ICE_IceConnectionNumber=yes
23872 else
23873 echo "$as_me: failed program was:" >&5
23874 sed 's/^/| /' conftest.$ac_ext >&5
23875
23876 ac_cv_lib_ICE_IceConnectionNumber=no
23877 fi
23878 rm -f conftest.err conftest.$ac_objext \
23879 conftest$ac_exeext conftest.$ac_ext
23880 LIBS=$ac_check_lib_save_LIBS
23881 fi
23882 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23883 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23884 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23885 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23886 fi
23887
23888 LDFLAGS=$ac_save_LDFLAGS
23889
23890 fi
23891
23892
23893 if test "$no_x" = "yes"; then
23894 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23895 echo "$as_me: error: X11 not found" >&2;}
23896 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23897 fi
23898
23899 GUI_TK_LIBRARY="$X_LIBS"
23900 TOOLKIT_INCLUDE="$X_CFLAGS"
23901 AFMINSTALL=afminstall
23902 COMPILED_X_PROGRAM=0
23903
23904 if test "$wxUSE_NANOX" = "yes"; then
23905 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
23906 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
23907 if test "x$MICROWIN" = x ; then
23908 echo "$as_me:$LINENO: result: not found" >&5
23909 echo "${ECHO_T}not found" >&6
23910 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
23911 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
23912 { (exit 1); exit 1; }; }
23913 else
23914 echo "$as_me:$LINENO: result: $MICROWIN" >&5
23915 echo "${ECHO_T}$MICROWIN" >&6
23916 cat >>confdefs.h <<\_ACEOF
23917 #define wxUSE_NANOX 1
23918 _ACEOF
23919
23920 fi
23921 fi
23922
23923 if test "$wxUSE_UNICODE" = "yes"; then
23924
23925 succeeded=no
23926
23927 if test -z "$PKG_CONFIG"; then
23928 # Extract the first word of "pkg-config", so it can be a program name with args.
23929 set dummy pkg-config; ac_word=$2
23930 echo "$as_me:$LINENO: checking for $ac_word" >&5
23931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23932 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23933 echo $ECHO_N "(cached) $ECHO_C" >&6
23934 else
23935 case $PKG_CONFIG in
23936 [\\/]* | ?:[\\/]*)
23937 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23938 ;;
23939 *)
23940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23941 for as_dir in $PATH
23942 do
23943 IFS=$as_save_IFS
23944 test -z "$as_dir" && as_dir=.
23945 for ac_exec_ext in '' $ac_executable_extensions; do
23946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23947 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23949 break 2
23950 fi
23951 done
23952 done
23953
23954 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23955 ;;
23956 esac
23957 fi
23958 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23959
23960 if test -n "$PKG_CONFIG"; then
23961 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23962 echo "${ECHO_T}$PKG_CONFIG" >&6
23963 else
23964 echo "$as_me:$LINENO: result: no" >&5
23965 echo "${ECHO_T}no" >&6
23966 fi
23967
23968 fi
23969
23970 if test "$PKG_CONFIG" = "no" ; then
23971 echo "*** The pkg-config script could not be found. Make sure it is"
23972 echo "*** in your path, or set the PKG_CONFIG environment variable"
23973 echo "*** to the full path to pkg-config."
23974 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23975 else
23976 PKG_CONFIG_MIN_VERSION=0.9.0
23977 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23978 echo "$as_me:$LINENO: checking for pangox" >&5
23979 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
23980
23981 if $PKG_CONFIG --exists "pangox" ; then
23982 echo "$as_me:$LINENO: result: yes" >&5
23983 echo "${ECHO_T}yes" >&6
23984 succeeded=yes
23985
23986 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
23987 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
23988 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
23989 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
23990 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
23991
23992 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
23993 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
23994 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
23995 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
23996 echo "${ECHO_T}$PANGOX_LIBS" >&6
23997 else
23998 PANGOX_CFLAGS=""
23999 PANGOX_LIBS=""
24000 ## If we have a custom action on failure, don't print errors, but
24001 ## do set a variable so people can do so.
24002 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24003
24004 fi
24005
24006
24007
24008 else
24009 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24010 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24011 fi
24012 fi
24013
24014 if test $succeeded = yes; then
24015
24016 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
24017 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
24018
24019 else
24020
24021 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24022 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24023 { (exit 1); exit 1; }; }
24024
24025
24026 fi
24027
24028
24029 succeeded=no
24030
24031 if test -z "$PKG_CONFIG"; then
24032 # Extract the first word of "pkg-config", so it can be a program name with args.
24033 set dummy pkg-config; ac_word=$2
24034 echo "$as_me:$LINENO: checking for $ac_word" >&5
24035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24036 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24037 echo $ECHO_N "(cached) $ECHO_C" >&6
24038 else
24039 case $PKG_CONFIG in
24040 [\\/]* | ?:[\\/]*)
24041 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24042 ;;
24043 *)
24044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24045 for as_dir in $PATH
24046 do
24047 IFS=$as_save_IFS
24048 test -z "$as_dir" && as_dir=.
24049 for ac_exec_ext in '' $ac_executable_extensions; do
24050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24051 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24053 break 2
24054 fi
24055 done
24056 done
24057
24058 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24059 ;;
24060 esac
24061 fi
24062 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24063
24064 if test -n "$PKG_CONFIG"; then
24065 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24066 echo "${ECHO_T}$PKG_CONFIG" >&6
24067 else
24068 echo "$as_me:$LINENO: result: no" >&5
24069 echo "${ECHO_T}no" >&6
24070 fi
24071
24072 fi
24073
24074 if test "$PKG_CONFIG" = "no" ; then
24075 echo "*** The pkg-config script could not be found. Make sure it is"
24076 echo "*** in your path, or set the PKG_CONFIG environment variable"
24077 echo "*** to the full path to pkg-config."
24078 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24079 else
24080 PKG_CONFIG_MIN_VERSION=0.9.0
24081 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24082 echo "$as_me:$LINENO: checking for pangoft2" >&5
24083 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24084
24085 if $PKG_CONFIG --exists "pangoft2" ; then
24086 echo "$as_me:$LINENO: result: yes" >&5
24087 echo "${ECHO_T}yes" >&6
24088 succeeded=yes
24089
24090 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24091 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24092 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
24093 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24094 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24095
24096 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24097 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24098 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
24099 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24100 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24101 else
24102 PANGOFT2_CFLAGS=""
24103 PANGOFT2_LIBS=""
24104 ## If we have a custom action on failure, don't print errors, but
24105 ## do set a variable so people can do so.
24106 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24107
24108 fi
24109
24110
24111
24112 else
24113 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24114 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24115 fi
24116 fi
24117
24118 if test $succeeded = yes; then
24119
24120 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
24121 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24122
24123 else
24124
24125 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24126 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24127 wxUSE_PRINTING_ARCHITECTURE="no"
24128
24129
24130 fi
24131
24132
24133 succeeded=no
24134
24135 if test -z "$PKG_CONFIG"; then
24136 # Extract the first word of "pkg-config", so it can be a program name with args.
24137 set dummy pkg-config; ac_word=$2
24138 echo "$as_me:$LINENO: checking for $ac_word" >&5
24139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24140 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24141 echo $ECHO_N "(cached) $ECHO_C" >&6
24142 else
24143 case $PKG_CONFIG in
24144 [\\/]* | ?:[\\/]*)
24145 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24146 ;;
24147 *)
24148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24149 for as_dir in $PATH
24150 do
24151 IFS=$as_save_IFS
24152 test -z "$as_dir" && as_dir=.
24153 for ac_exec_ext in '' $ac_executable_extensions; do
24154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24155 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24157 break 2
24158 fi
24159 done
24160 done
24161
24162 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24163 ;;
24164 esac
24165 fi
24166 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24167
24168 if test -n "$PKG_CONFIG"; then
24169 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24170 echo "${ECHO_T}$PKG_CONFIG" >&6
24171 else
24172 echo "$as_me:$LINENO: result: no" >&5
24173 echo "${ECHO_T}no" >&6
24174 fi
24175
24176 fi
24177
24178 if test "$PKG_CONFIG" = "no" ; then
24179 echo "*** The pkg-config script could not be found. Make sure it is"
24180 echo "*** in your path, or set the PKG_CONFIG environment variable"
24181 echo "*** to the full path to pkg-config."
24182 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24183 else
24184 PKG_CONFIG_MIN_VERSION=0.9.0
24185 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24186 echo "$as_me:$LINENO: checking for pangoxft" >&5
24187 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24188
24189 if $PKG_CONFIG --exists "pangoxft" ; then
24190 echo "$as_me:$LINENO: result: yes" >&5
24191 echo "${ECHO_T}yes" >&6
24192 succeeded=yes
24193
24194 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24195 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24196 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
24197 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24198 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24199
24200 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24201 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24202 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
24203 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24204 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24205 else
24206 PANGOXFT_CFLAGS=""
24207 PANGOXFT_LIBS=""
24208 ## If we have a custom action on failure, don't print errors, but
24209 ## do set a variable so people can do so.
24210 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24211
24212 fi
24213
24214
24215
24216 else
24217 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24218 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24219 fi
24220 fi
24221
24222 if test $succeeded = yes; then
24223
24224 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
24225 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24226
24227 else
24228
24229 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24230 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24231
24232
24233 fi
24234
24235 fi
24236
24237 wxUSE_UNIVERSAL="yes"
24238
24239 if test "$wxUSE_NANOX" = "yes"; then
24240 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24241 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"
24242 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24243 else
24244 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
24245 fi
24246
24247 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
24248 TOOLKIT=X11
24249 GUIDIST=X11_DIST
24250 fi
24251
24252 if test "$wxUSE_MOTIF" = 1; then
24253 if test "$no_x" = yes; then
24254 # Not all programs may use this symbol, but it does not hurt to define it.
24255
24256 cat >>confdefs.h <<\_ACEOF
24257 #define X_DISPLAY_MISSING 1
24258 _ACEOF
24259
24260 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24261 else
24262 if test -n "$x_includes"; then
24263 X_CFLAGS="$X_CFLAGS -I$x_includes"
24264 fi
24265
24266 # It would also be nice to do this for all -L options, not just this one.
24267 if test -n "$x_libraries"; then
24268 X_LIBS="$X_LIBS -L$x_libraries"
24269 # For Solaris; some versions of Sun CC require a space after -R and
24270 # others require no space. Words are not sufficient . . . .
24271 case `(uname -sr) 2>/dev/null` in
24272 "SunOS 5"*)
24273 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24274 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24275 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24276 cat >conftest.$ac_ext <<_ACEOF
24277 /* confdefs.h. */
24278 _ACEOF
24279 cat confdefs.h >>conftest.$ac_ext
24280 cat >>conftest.$ac_ext <<_ACEOF
24281 /* end confdefs.h. */
24282
24283 int
24284 main ()
24285 {
24286
24287 ;
24288 return 0;
24289 }
24290 _ACEOF
24291 rm -f conftest.$ac_objext conftest$ac_exeext
24292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24293 (eval $ac_link) 2>conftest.er1
24294 ac_status=$?
24295 grep -v '^ *+' conftest.er1 >conftest.err
24296 rm -f conftest.er1
24297 cat conftest.err >&5
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); } &&
24300 { ac_try='test -z "$ac_c_werror_flag"
24301 || test ! -s conftest.err'
24302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24303 (eval $ac_try) 2>&5
24304 ac_status=$?
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); }; } &&
24307 { ac_try='test -s conftest$ac_exeext'
24308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24309 (eval $ac_try) 2>&5
24310 ac_status=$?
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); }; }; then
24313 ac_R_nospace=yes
24314 else
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.$ac_ext >&5
24317
24318 ac_R_nospace=no
24319 fi
24320 rm -f conftest.err conftest.$ac_objext \
24321 conftest$ac_exeext conftest.$ac_ext
24322 if test $ac_R_nospace = yes; then
24323 echo "$as_me:$LINENO: result: no" >&5
24324 echo "${ECHO_T}no" >&6
24325 X_LIBS="$X_LIBS -R$x_libraries"
24326 else
24327 LIBS="$ac_xsave_LIBS -R $x_libraries"
24328 cat >conftest.$ac_ext <<_ACEOF
24329 /* confdefs.h. */
24330 _ACEOF
24331 cat confdefs.h >>conftest.$ac_ext
24332 cat >>conftest.$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24334
24335 int
24336 main ()
24337 {
24338
24339 ;
24340 return 0;
24341 }
24342 _ACEOF
24343 rm -f conftest.$ac_objext conftest$ac_exeext
24344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24345 (eval $ac_link) 2>conftest.er1
24346 ac_status=$?
24347 grep -v '^ *+' conftest.er1 >conftest.err
24348 rm -f conftest.er1
24349 cat conftest.err >&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } &&
24352 { ac_try='test -z "$ac_c_werror_flag"
24353 || test ! -s conftest.err'
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); }; } &&
24359 { ac_try='test -s conftest$ac_exeext'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24362 ac_status=$?
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; }; then
24365 ac_R_space=yes
24366 else
24367 echo "$as_me: failed program was:" >&5
24368 sed 's/^/| /' conftest.$ac_ext >&5
24369
24370 ac_R_space=no
24371 fi
24372 rm -f conftest.err conftest.$ac_objext \
24373 conftest$ac_exeext conftest.$ac_ext
24374 if test $ac_R_space = yes; then
24375 echo "$as_me:$LINENO: result: yes" >&5
24376 echo "${ECHO_T}yes" >&6
24377 X_LIBS="$X_LIBS -R $x_libraries"
24378 else
24379 echo "$as_me:$LINENO: result: neither works" >&5
24380 echo "${ECHO_T}neither works" >&6
24381 fi
24382 fi
24383 LIBS=$ac_xsave_LIBS
24384 esac
24385 fi
24386
24387 # Check for system-dependent libraries X programs must link with.
24388 # Do this before checking for the system-independent R6 libraries
24389 # (-lICE), since we may need -lsocket or whatever for X linking.
24390
24391 if test "$ISC" = yes; then
24392 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24393 else
24394 # Martyn Johnson says this is needed for Ultrix, if the X
24395 # libraries were built with DECnet support. And Karl Berry says
24396 # the Alpha needs dnet_stub (dnet does not exist).
24397 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24398 cat >conftest.$ac_ext <<_ACEOF
24399 /* confdefs.h. */
24400 _ACEOF
24401 cat confdefs.h >>conftest.$ac_ext
24402 cat >>conftest.$ac_ext <<_ACEOF
24403 /* end confdefs.h. */
24404
24405 /* Override any gcc2 internal prototype to avoid an error. */
24406 #ifdef __cplusplus
24407 extern "C"
24408 #endif
24409 /* We use char because int might match the return type of a gcc2
24410 builtin and then its argument prototype would still apply. */
24411 char XOpenDisplay ();
24412 int
24413 main ()
24414 {
24415 XOpenDisplay ();
24416 ;
24417 return 0;
24418 }
24419 _ACEOF
24420 rm -f conftest.$ac_objext conftest$ac_exeext
24421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24422 (eval $ac_link) 2>conftest.er1
24423 ac_status=$?
24424 grep -v '^ *+' conftest.er1 >conftest.err
24425 rm -f conftest.er1
24426 cat conftest.err >&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); } &&
24429 { ac_try='test -z "$ac_c_werror_flag"
24430 || test ! -s conftest.err'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24433 ac_status=$?
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; } &&
24436 { ac_try='test -s conftest$ac_exeext'
24437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438 (eval $ac_try) 2>&5
24439 ac_status=$?
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); }; }; then
24442 :
24443 else
24444 echo "$as_me: failed program was:" >&5
24445 sed 's/^/| /' conftest.$ac_ext >&5
24446
24447 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24448 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24449 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24450 echo $ECHO_N "(cached) $ECHO_C" >&6
24451 else
24452 ac_check_lib_save_LIBS=$LIBS
24453 LIBS="-ldnet $LIBS"
24454 cat >conftest.$ac_ext <<_ACEOF
24455 /* confdefs.h. */
24456 _ACEOF
24457 cat confdefs.h >>conftest.$ac_ext
24458 cat >>conftest.$ac_ext <<_ACEOF
24459 /* end confdefs.h. */
24460
24461 /* Override any gcc2 internal prototype to avoid an error. */
24462 #ifdef __cplusplus
24463 extern "C"
24464 #endif
24465 /* We use char because int might match the return type of a gcc2
24466 builtin and then its argument prototype would still apply. */
24467 char dnet_ntoa ();
24468 int
24469 main ()
24470 {
24471 dnet_ntoa ();
24472 ;
24473 return 0;
24474 }
24475 _ACEOF
24476 rm -f conftest.$ac_objext conftest$ac_exeext
24477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24478 (eval $ac_link) 2>conftest.er1
24479 ac_status=$?
24480 grep -v '^ *+' conftest.er1 >conftest.err
24481 rm -f conftest.er1
24482 cat conftest.err >&5
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); } &&
24485 { ac_try='test -z "$ac_c_werror_flag"
24486 || test ! -s conftest.err'
24487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24488 (eval $ac_try) 2>&5
24489 ac_status=$?
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); }; } &&
24492 { ac_try='test -s conftest$ac_exeext'
24493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24494 (eval $ac_try) 2>&5
24495 ac_status=$?
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); }; }; then
24498 ac_cv_lib_dnet_dnet_ntoa=yes
24499 else
24500 echo "$as_me: failed program was:" >&5
24501 sed 's/^/| /' conftest.$ac_ext >&5
24502
24503 ac_cv_lib_dnet_dnet_ntoa=no
24504 fi
24505 rm -f conftest.err conftest.$ac_objext \
24506 conftest$ac_exeext conftest.$ac_ext
24507 LIBS=$ac_check_lib_save_LIBS
24508 fi
24509 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24510 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24511 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24512 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24513 fi
24514
24515 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24516 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24517 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24518 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24519 echo $ECHO_N "(cached) $ECHO_C" >&6
24520 else
24521 ac_check_lib_save_LIBS=$LIBS
24522 LIBS="-ldnet_stub $LIBS"
24523 cat >conftest.$ac_ext <<_ACEOF
24524 /* confdefs.h. */
24525 _ACEOF
24526 cat confdefs.h >>conftest.$ac_ext
24527 cat >>conftest.$ac_ext <<_ACEOF
24528 /* end confdefs.h. */
24529
24530 /* Override any gcc2 internal prototype to avoid an error. */
24531 #ifdef __cplusplus
24532 extern "C"
24533 #endif
24534 /* We use char because int might match the return type of a gcc2
24535 builtin and then its argument prototype would still apply. */
24536 char dnet_ntoa ();
24537 int
24538 main ()
24539 {
24540 dnet_ntoa ();
24541 ;
24542 return 0;
24543 }
24544 _ACEOF
24545 rm -f conftest.$ac_objext conftest$ac_exeext
24546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24547 (eval $ac_link) 2>conftest.er1
24548 ac_status=$?
24549 grep -v '^ *+' conftest.er1 >conftest.err
24550 rm -f conftest.er1
24551 cat conftest.err >&5
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); } &&
24554 { ac_try='test -z "$ac_c_werror_flag"
24555 || test ! -s conftest.err'
24556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24557 (eval $ac_try) 2>&5
24558 ac_status=$?
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); }; } &&
24561 { ac_try='test -s conftest$ac_exeext'
24562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24563 (eval $ac_try) 2>&5
24564 ac_status=$?
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); }; }; then
24567 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24568 else
24569 echo "$as_me: failed program was:" >&5
24570 sed 's/^/| /' conftest.$ac_ext >&5
24571
24572 ac_cv_lib_dnet_stub_dnet_ntoa=no
24573 fi
24574 rm -f conftest.err conftest.$ac_objext \
24575 conftest$ac_exeext conftest.$ac_ext
24576 LIBS=$ac_check_lib_save_LIBS
24577 fi
24578 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24579 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24580 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24581 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24582 fi
24583
24584 fi
24585 fi
24586 rm -f conftest.err conftest.$ac_objext \
24587 conftest$ac_exeext conftest.$ac_ext
24588 LIBS="$ac_xsave_LIBS"
24589
24590 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24591 # to get the SysV transport functions.
24592 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24593 # needs -lnsl.
24594 # The nsl library prevents programs from opening the X display
24595 # on Irix 5.2, according to T.E. Dickey.
24596 # The functions gethostbyname, getservbyname, and inet_addr are
24597 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24598 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24599 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24600 if test "${ac_cv_func_gethostbyname+set}" = set; then
24601 echo $ECHO_N "(cached) $ECHO_C" >&6
24602 else
24603 cat >conftest.$ac_ext <<_ACEOF
24604 /* confdefs.h. */
24605 _ACEOF
24606 cat confdefs.h >>conftest.$ac_ext
24607 cat >>conftest.$ac_ext <<_ACEOF
24608 /* end confdefs.h. */
24609 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24611 #define gethostbyname innocuous_gethostbyname
24612
24613 /* System header to define __stub macros and hopefully few prototypes,
24614 which can conflict with char gethostbyname (); below.
24615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24616 <limits.h> exists even on freestanding compilers. */
24617
24618 #ifdef __STDC__
24619 # include <limits.h>
24620 #else
24621 # include <assert.h>
24622 #endif
24623
24624 #undef gethostbyname
24625
24626 /* Override any gcc2 internal prototype to avoid an error. */
24627 #ifdef __cplusplus
24628 extern "C"
24629 {
24630 #endif
24631 /* We use char because int might match the return type of a gcc2
24632 builtin and then its argument prototype would still apply. */
24633 char gethostbyname ();
24634 /* The GNU C library defines this for functions which it implements
24635 to always fail with ENOSYS. Some functions are actually named
24636 something starting with __ and the normal name is an alias. */
24637 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24638 choke me
24639 #else
24640 char (*f) () = gethostbyname;
24641 #endif
24642 #ifdef __cplusplus
24643 }
24644 #endif
24645
24646 int
24647 main ()
24648 {
24649 return f != gethostbyname;
24650 ;
24651 return 0;
24652 }
24653 _ACEOF
24654 rm -f conftest.$ac_objext conftest$ac_exeext
24655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24656 (eval $ac_link) 2>conftest.er1
24657 ac_status=$?
24658 grep -v '^ *+' conftest.er1 >conftest.err
24659 rm -f conftest.er1
24660 cat conftest.err >&5
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); } &&
24663 { ac_try='test -z "$ac_c_werror_flag"
24664 || test ! -s conftest.err'
24665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24666 (eval $ac_try) 2>&5
24667 ac_status=$?
24668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24669 (exit $ac_status); }; } &&
24670 { ac_try='test -s conftest$ac_exeext'
24671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24672 (eval $ac_try) 2>&5
24673 ac_status=$?
24674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24675 (exit $ac_status); }; }; then
24676 ac_cv_func_gethostbyname=yes
24677 else
24678 echo "$as_me: failed program was:" >&5
24679 sed 's/^/| /' conftest.$ac_ext >&5
24680
24681 ac_cv_func_gethostbyname=no
24682 fi
24683 rm -f conftest.err conftest.$ac_objext \
24684 conftest$ac_exeext conftest.$ac_ext
24685 fi
24686 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24687 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24688
24689 if test $ac_cv_func_gethostbyname = no; then
24690 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24691 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24692 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24693 echo $ECHO_N "(cached) $ECHO_C" >&6
24694 else
24695 ac_check_lib_save_LIBS=$LIBS
24696 LIBS="-lnsl $LIBS"
24697 cat >conftest.$ac_ext <<_ACEOF
24698 /* confdefs.h. */
24699 _ACEOF
24700 cat confdefs.h >>conftest.$ac_ext
24701 cat >>conftest.$ac_ext <<_ACEOF
24702 /* end confdefs.h. */
24703
24704 /* Override any gcc2 internal prototype to avoid an error. */
24705 #ifdef __cplusplus
24706 extern "C"
24707 #endif
24708 /* We use char because int might match the return type of a gcc2
24709 builtin and then its argument prototype would still apply. */
24710 char gethostbyname ();
24711 int
24712 main ()
24713 {
24714 gethostbyname ();
24715 ;
24716 return 0;
24717 }
24718 _ACEOF
24719 rm -f conftest.$ac_objext conftest$ac_exeext
24720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24721 (eval $ac_link) 2>conftest.er1
24722 ac_status=$?
24723 grep -v '^ *+' conftest.er1 >conftest.err
24724 rm -f conftest.er1
24725 cat conftest.err >&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } &&
24728 { ac_try='test -z "$ac_c_werror_flag"
24729 || test ! -s conftest.err'
24730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24731 (eval $ac_try) 2>&5
24732 ac_status=$?
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); }; } &&
24735 { ac_try='test -s conftest$ac_exeext'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24738 ac_status=$?
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 ac_cv_lib_nsl_gethostbyname=yes
24742 else
24743 echo "$as_me: failed program was:" >&5
24744 sed 's/^/| /' conftest.$ac_ext >&5
24745
24746 ac_cv_lib_nsl_gethostbyname=no
24747 fi
24748 rm -f conftest.err conftest.$ac_objext \
24749 conftest$ac_exeext conftest.$ac_ext
24750 LIBS=$ac_check_lib_save_LIBS
24751 fi
24752 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24753 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24754 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24755 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24756 fi
24757
24758 if test $ac_cv_lib_nsl_gethostbyname = no; then
24759 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24760 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24761 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24762 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 else
24764 ac_check_lib_save_LIBS=$LIBS
24765 LIBS="-lbsd $LIBS"
24766 cat >conftest.$ac_ext <<_ACEOF
24767 /* confdefs.h. */
24768 _ACEOF
24769 cat confdefs.h >>conftest.$ac_ext
24770 cat >>conftest.$ac_ext <<_ACEOF
24771 /* end confdefs.h. */
24772
24773 /* Override any gcc2 internal prototype to avoid an error. */
24774 #ifdef __cplusplus
24775 extern "C"
24776 #endif
24777 /* We use char because int might match the return type of a gcc2
24778 builtin and then its argument prototype would still apply. */
24779 char gethostbyname ();
24780 int
24781 main ()
24782 {
24783 gethostbyname ();
24784 ;
24785 return 0;
24786 }
24787 _ACEOF
24788 rm -f conftest.$ac_objext conftest$ac_exeext
24789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24790 (eval $ac_link) 2>conftest.er1
24791 ac_status=$?
24792 grep -v '^ *+' conftest.er1 >conftest.err
24793 rm -f conftest.er1
24794 cat conftest.err >&5
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); } &&
24797 { ac_try='test -z "$ac_c_werror_flag"
24798 || test ! -s conftest.err'
24799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24800 (eval $ac_try) 2>&5
24801 ac_status=$?
24802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24803 (exit $ac_status); }; } &&
24804 { ac_try='test -s conftest$ac_exeext'
24805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24806 (eval $ac_try) 2>&5
24807 ac_status=$?
24808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24809 (exit $ac_status); }; }; then
24810 ac_cv_lib_bsd_gethostbyname=yes
24811 else
24812 echo "$as_me: failed program was:" >&5
24813 sed 's/^/| /' conftest.$ac_ext >&5
24814
24815 ac_cv_lib_bsd_gethostbyname=no
24816 fi
24817 rm -f conftest.err conftest.$ac_objext \
24818 conftest$ac_exeext conftest.$ac_ext
24819 LIBS=$ac_check_lib_save_LIBS
24820 fi
24821 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24822 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24823 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24824 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24825 fi
24826
24827 fi
24828 fi
24829
24830 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24831 # socket/setsockopt and other routines are undefined under SCO ODT
24832 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24833 # on later versions), says Simon Leinen: it contains gethostby*
24834 # variants that don't use the name server (or something). -lsocket
24835 # must be given before -lnsl if both are needed. We assume that
24836 # if connect needs -lnsl, so does gethostbyname.
24837 echo "$as_me:$LINENO: checking for connect" >&5
24838 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24839 if test "${ac_cv_func_connect+set}" = set; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24841 else
24842 cat >conftest.$ac_ext <<_ACEOF
24843 /* confdefs.h. */
24844 _ACEOF
24845 cat confdefs.h >>conftest.$ac_ext
24846 cat >>conftest.$ac_ext <<_ACEOF
24847 /* end confdefs.h. */
24848 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24850 #define connect innocuous_connect
24851
24852 /* System header to define __stub macros and hopefully few prototypes,
24853 which can conflict with char connect (); below.
24854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24855 <limits.h> exists even on freestanding compilers. */
24856
24857 #ifdef __STDC__
24858 # include <limits.h>
24859 #else
24860 # include <assert.h>
24861 #endif
24862
24863 #undef connect
24864
24865 /* Override any gcc2 internal prototype to avoid an error. */
24866 #ifdef __cplusplus
24867 extern "C"
24868 {
24869 #endif
24870 /* We use char because int might match the return type of a gcc2
24871 builtin and then its argument prototype would still apply. */
24872 char connect ();
24873 /* The GNU C library defines this for functions which it implements
24874 to always fail with ENOSYS. Some functions are actually named
24875 something starting with __ and the normal name is an alias. */
24876 #if defined (__stub_connect) || defined (__stub___connect)
24877 choke me
24878 #else
24879 char (*f) () = connect;
24880 #endif
24881 #ifdef __cplusplus
24882 }
24883 #endif
24884
24885 int
24886 main ()
24887 {
24888 return f != connect;
24889 ;
24890 return 0;
24891 }
24892 _ACEOF
24893 rm -f conftest.$ac_objext conftest$ac_exeext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24895 (eval $ac_link) 2>conftest.er1
24896 ac_status=$?
24897 grep -v '^ *+' conftest.er1 >conftest.err
24898 rm -f conftest.er1
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try='test -z "$ac_c_werror_flag"
24903 || test ! -s conftest.err'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try='test -s conftest$ac_exeext'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24912 ac_status=$?
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915 ac_cv_func_connect=yes
24916 else
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.$ac_ext >&5
24919
24920 ac_cv_func_connect=no
24921 fi
24922 rm -f conftest.err conftest.$ac_objext \
24923 conftest$ac_exeext conftest.$ac_ext
24924 fi
24925 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24926 echo "${ECHO_T}$ac_cv_func_connect" >&6
24927
24928 if test $ac_cv_func_connect = no; then
24929 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24930 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24931 if test "${ac_cv_lib_socket_connect+set}" = set; then
24932 echo $ECHO_N "(cached) $ECHO_C" >&6
24933 else
24934 ac_check_lib_save_LIBS=$LIBS
24935 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24936 cat >conftest.$ac_ext <<_ACEOF
24937 /* confdefs.h. */
24938 _ACEOF
24939 cat confdefs.h >>conftest.$ac_ext
24940 cat >>conftest.$ac_ext <<_ACEOF
24941 /* end confdefs.h. */
24942
24943 /* Override any gcc2 internal prototype to avoid an error. */
24944 #ifdef __cplusplus
24945 extern "C"
24946 #endif
24947 /* We use char because int might match the return type of a gcc2
24948 builtin and then its argument prototype would still apply. */
24949 char connect ();
24950 int
24951 main ()
24952 {
24953 connect ();
24954 ;
24955 return 0;
24956 }
24957 _ACEOF
24958 rm -f conftest.$ac_objext conftest$ac_exeext
24959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24960 (eval $ac_link) 2>conftest.er1
24961 ac_status=$?
24962 grep -v '^ *+' conftest.er1 >conftest.err
24963 rm -f conftest.er1
24964 cat conftest.err >&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); } &&
24967 { ac_try='test -z "$ac_c_werror_flag"
24968 || test ! -s conftest.err'
24969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24970 (eval $ac_try) 2>&5
24971 ac_status=$?
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); }; } &&
24974 { ac_try='test -s conftest$ac_exeext'
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_cv_lib_socket_connect=yes
24981 else
24982 echo "$as_me: failed program was:" >&5
24983 sed 's/^/| /' conftest.$ac_ext >&5
24984
24985 ac_cv_lib_socket_connect=no
24986 fi
24987 rm -f conftest.err conftest.$ac_objext \
24988 conftest$ac_exeext conftest.$ac_ext
24989 LIBS=$ac_check_lib_save_LIBS
24990 fi
24991 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24992 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24993 if test $ac_cv_lib_socket_connect = yes; then
24994 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24995 fi
24996
24997 fi
24998
24999 # Guillermo Gomez says -lposix is necessary on A/UX.
25000 echo "$as_me:$LINENO: checking for remove" >&5
25001 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25002 if test "${ac_cv_func_remove+set}" = set; then
25003 echo $ECHO_N "(cached) $ECHO_C" >&6
25004 else
25005 cat >conftest.$ac_ext <<_ACEOF
25006 /* confdefs.h. */
25007 _ACEOF
25008 cat confdefs.h >>conftest.$ac_ext
25009 cat >>conftest.$ac_ext <<_ACEOF
25010 /* end confdefs.h. */
25011 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25013 #define remove innocuous_remove
25014
25015 /* System header to define __stub macros and hopefully few prototypes,
25016 which can conflict with char remove (); below.
25017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25018 <limits.h> exists even on freestanding compilers. */
25019
25020 #ifdef __STDC__
25021 # include <limits.h>
25022 #else
25023 # include <assert.h>
25024 #endif
25025
25026 #undef remove
25027
25028 /* Override any gcc2 internal prototype to avoid an error. */
25029 #ifdef __cplusplus
25030 extern "C"
25031 {
25032 #endif
25033 /* We use char because int might match the return type of a gcc2
25034 builtin and then its argument prototype would still apply. */
25035 char remove ();
25036 /* The GNU C library defines this for functions which it implements
25037 to always fail with ENOSYS. Some functions are actually named
25038 something starting with __ and the normal name is an alias. */
25039 #if defined (__stub_remove) || defined (__stub___remove)
25040 choke me
25041 #else
25042 char (*f) () = remove;
25043 #endif
25044 #ifdef __cplusplus
25045 }
25046 #endif
25047
25048 int
25049 main ()
25050 {
25051 return f != remove;
25052 ;
25053 return 0;
25054 }
25055 _ACEOF
25056 rm -f conftest.$ac_objext conftest$ac_exeext
25057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25058 (eval $ac_link) 2>conftest.er1
25059 ac_status=$?
25060 grep -v '^ *+' conftest.er1 >conftest.err
25061 rm -f conftest.er1
25062 cat conftest.err >&5
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); } &&
25065 { ac_try='test -z "$ac_c_werror_flag"
25066 || test ! -s conftest.err'
25067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068 (eval $ac_try) 2>&5
25069 ac_status=$?
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); }; } &&
25072 { ac_try='test -s conftest$ac_exeext'
25073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25074 (eval $ac_try) 2>&5
25075 ac_status=$?
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); }; }; then
25078 ac_cv_func_remove=yes
25079 else
25080 echo "$as_me: failed program was:" >&5
25081 sed 's/^/| /' conftest.$ac_ext >&5
25082
25083 ac_cv_func_remove=no
25084 fi
25085 rm -f conftest.err conftest.$ac_objext \
25086 conftest$ac_exeext conftest.$ac_ext
25087 fi
25088 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25089 echo "${ECHO_T}$ac_cv_func_remove" >&6
25090
25091 if test $ac_cv_func_remove = no; then
25092 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25093 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25094 if test "${ac_cv_lib_posix_remove+set}" = set; then
25095 echo $ECHO_N "(cached) $ECHO_C" >&6
25096 else
25097 ac_check_lib_save_LIBS=$LIBS
25098 LIBS="-lposix $LIBS"
25099 cat >conftest.$ac_ext <<_ACEOF
25100 /* confdefs.h. */
25101 _ACEOF
25102 cat confdefs.h >>conftest.$ac_ext
25103 cat >>conftest.$ac_ext <<_ACEOF
25104 /* end confdefs.h. */
25105
25106 /* Override any gcc2 internal prototype to avoid an error. */
25107 #ifdef __cplusplus
25108 extern "C"
25109 #endif
25110 /* We use char because int might match the return type of a gcc2
25111 builtin and then its argument prototype would still apply. */
25112 char remove ();
25113 int
25114 main ()
25115 {
25116 remove ();
25117 ;
25118 return 0;
25119 }
25120 _ACEOF
25121 rm -f conftest.$ac_objext conftest$ac_exeext
25122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25123 (eval $ac_link) 2>conftest.er1
25124 ac_status=$?
25125 grep -v '^ *+' conftest.er1 >conftest.err
25126 rm -f conftest.er1
25127 cat conftest.err >&5
25128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129 (exit $ac_status); } &&
25130 { ac_try='test -z "$ac_c_werror_flag"
25131 || test ! -s conftest.err'
25132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25133 (eval $ac_try) 2>&5
25134 ac_status=$?
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); }; } &&
25137 { ac_try='test -s conftest$ac_exeext'
25138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25139 (eval $ac_try) 2>&5
25140 ac_status=$?
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); }; }; then
25143 ac_cv_lib_posix_remove=yes
25144 else
25145 echo "$as_me: failed program was:" >&5
25146 sed 's/^/| /' conftest.$ac_ext >&5
25147
25148 ac_cv_lib_posix_remove=no
25149 fi
25150 rm -f conftest.err conftest.$ac_objext \
25151 conftest$ac_exeext conftest.$ac_ext
25152 LIBS=$ac_check_lib_save_LIBS
25153 fi
25154 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25155 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25156 if test $ac_cv_lib_posix_remove = yes; then
25157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25158 fi
25159
25160 fi
25161
25162 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25163 echo "$as_me:$LINENO: checking for shmat" >&5
25164 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25165 if test "${ac_cv_func_shmat+set}" = set; then
25166 echo $ECHO_N "(cached) $ECHO_C" >&6
25167 else
25168 cat >conftest.$ac_ext <<_ACEOF
25169 /* confdefs.h. */
25170 _ACEOF
25171 cat confdefs.h >>conftest.$ac_ext
25172 cat >>conftest.$ac_ext <<_ACEOF
25173 /* end confdefs.h. */
25174 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25176 #define shmat innocuous_shmat
25177
25178 /* System header to define __stub macros and hopefully few prototypes,
25179 which can conflict with char shmat (); below.
25180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25181 <limits.h> exists even on freestanding compilers. */
25182
25183 #ifdef __STDC__
25184 # include <limits.h>
25185 #else
25186 # include <assert.h>
25187 #endif
25188
25189 #undef shmat
25190
25191 /* Override any gcc2 internal prototype to avoid an error. */
25192 #ifdef __cplusplus
25193 extern "C"
25194 {
25195 #endif
25196 /* We use char because int might match the return type of a gcc2
25197 builtin and then its argument prototype would still apply. */
25198 char shmat ();
25199 /* The GNU C library defines this for functions which it implements
25200 to always fail with ENOSYS. Some functions are actually named
25201 something starting with __ and the normal name is an alias. */
25202 #if defined (__stub_shmat) || defined (__stub___shmat)
25203 choke me
25204 #else
25205 char (*f) () = shmat;
25206 #endif
25207 #ifdef __cplusplus
25208 }
25209 #endif
25210
25211 int
25212 main ()
25213 {
25214 return f != shmat;
25215 ;
25216 return 0;
25217 }
25218 _ACEOF
25219 rm -f conftest.$ac_objext conftest$ac_exeext
25220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25221 (eval $ac_link) 2>conftest.er1
25222 ac_status=$?
25223 grep -v '^ *+' conftest.er1 >conftest.err
25224 rm -f conftest.er1
25225 cat conftest.err >&5
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); } &&
25228 { ac_try='test -z "$ac_c_werror_flag"
25229 || test ! -s conftest.err'
25230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25231 (eval $ac_try) 2>&5
25232 ac_status=$?
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); }; } &&
25235 { ac_try='test -s conftest$ac_exeext'
25236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25237 (eval $ac_try) 2>&5
25238 ac_status=$?
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); }; }; then
25241 ac_cv_func_shmat=yes
25242 else
25243 echo "$as_me: failed program was:" >&5
25244 sed 's/^/| /' conftest.$ac_ext >&5
25245
25246 ac_cv_func_shmat=no
25247 fi
25248 rm -f conftest.err conftest.$ac_objext \
25249 conftest$ac_exeext conftest.$ac_ext
25250 fi
25251 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25252 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25253
25254 if test $ac_cv_func_shmat = no; then
25255 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25256 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25257 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25258 echo $ECHO_N "(cached) $ECHO_C" >&6
25259 else
25260 ac_check_lib_save_LIBS=$LIBS
25261 LIBS="-lipc $LIBS"
25262 cat >conftest.$ac_ext <<_ACEOF
25263 /* confdefs.h. */
25264 _ACEOF
25265 cat confdefs.h >>conftest.$ac_ext
25266 cat >>conftest.$ac_ext <<_ACEOF
25267 /* end confdefs.h. */
25268
25269 /* Override any gcc2 internal prototype to avoid an error. */
25270 #ifdef __cplusplus
25271 extern "C"
25272 #endif
25273 /* We use char because int might match the return type of a gcc2
25274 builtin and then its argument prototype would still apply. */
25275 char shmat ();
25276 int
25277 main ()
25278 {
25279 shmat ();
25280 ;
25281 return 0;
25282 }
25283 _ACEOF
25284 rm -f conftest.$ac_objext conftest$ac_exeext
25285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25286 (eval $ac_link) 2>conftest.er1
25287 ac_status=$?
25288 grep -v '^ *+' conftest.er1 >conftest.err
25289 rm -f conftest.er1
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } &&
25293 { ac_try='test -z "$ac_c_werror_flag"
25294 || test ! -s conftest.err'
25295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25296 (eval $ac_try) 2>&5
25297 ac_status=$?
25298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299 (exit $ac_status); }; } &&
25300 { ac_try='test -s conftest$ac_exeext'
25301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25302 (eval $ac_try) 2>&5
25303 ac_status=$?
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); }; }; then
25306 ac_cv_lib_ipc_shmat=yes
25307 else
25308 echo "$as_me: failed program was:" >&5
25309 sed 's/^/| /' conftest.$ac_ext >&5
25310
25311 ac_cv_lib_ipc_shmat=no
25312 fi
25313 rm -f conftest.err conftest.$ac_objext \
25314 conftest$ac_exeext conftest.$ac_ext
25315 LIBS=$ac_check_lib_save_LIBS
25316 fi
25317 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25318 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25319 if test $ac_cv_lib_ipc_shmat = yes; then
25320 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25321 fi
25322
25323 fi
25324 fi
25325
25326 # Check for libraries that X11R6 Xt/Xaw programs need.
25327 ac_save_LDFLAGS=$LDFLAGS
25328 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25329 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25330 # check for ICE first), but we must link in the order -lSM -lICE or
25331 # we get undefined symbols. So assume we have SM if we have ICE.
25332 # These have to be linked with before -lX11, unlike the other
25333 # libraries we check for below, so use a different variable.
25334 # John Interrante, Karl Berry
25335 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25336 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25337 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25338 echo $ECHO_N "(cached) $ECHO_C" >&6
25339 else
25340 ac_check_lib_save_LIBS=$LIBS
25341 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25342 cat >conftest.$ac_ext <<_ACEOF
25343 /* confdefs.h. */
25344 _ACEOF
25345 cat confdefs.h >>conftest.$ac_ext
25346 cat >>conftest.$ac_ext <<_ACEOF
25347 /* end confdefs.h. */
25348
25349 /* Override any gcc2 internal prototype to avoid an error. */
25350 #ifdef __cplusplus
25351 extern "C"
25352 #endif
25353 /* We use char because int might match the return type of a gcc2
25354 builtin and then its argument prototype would still apply. */
25355 char IceConnectionNumber ();
25356 int
25357 main ()
25358 {
25359 IceConnectionNumber ();
25360 ;
25361 return 0;
25362 }
25363 _ACEOF
25364 rm -f conftest.$ac_objext conftest$ac_exeext
25365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25366 (eval $ac_link) 2>conftest.er1
25367 ac_status=$?
25368 grep -v '^ *+' conftest.er1 >conftest.err
25369 rm -f conftest.er1
25370 cat conftest.err >&5
25371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25372 (exit $ac_status); } &&
25373 { ac_try='test -z "$ac_c_werror_flag"
25374 || test ! -s conftest.err'
25375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25376 (eval $ac_try) 2>&5
25377 ac_status=$?
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); }; } &&
25380 { ac_try='test -s conftest$ac_exeext'
25381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25382 (eval $ac_try) 2>&5
25383 ac_status=$?
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); }; }; then
25386 ac_cv_lib_ICE_IceConnectionNumber=yes
25387 else
25388 echo "$as_me: failed program was:" >&5
25389 sed 's/^/| /' conftest.$ac_ext >&5
25390
25391 ac_cv_lib_ICE_IceConnectionNumber=no
25392 fi
25393 rm -f conftest.err conftest.$ac_objext \
25394 conftest$ac_exeext conftest.$ac_ext
25395 LIBS=$ac_check_lib_save_LIBS
25396 fi
25397 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25398 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25399 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25400 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25401 fi
25402
25403 LDFLAGS=$ac_save_LDFLAGS
25404
25405 fi
25406
25407
25408 if test "$no_x" = "yes"; then
25409 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25410 echo "$as_me: error: X11 not found" >&2;}
25411 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25412 fi
25413
25414 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
25415 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25416 AFMINSTALL=afminstall
25417 COMPILED_X_PROGRAM=0
25418
25419 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25420 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25421
25422 ac_find_includes=
25423 for ac_dir in $SEARCH_INCLUDE /usr/include;
25424 do
25425 if test -f "$ac_dir/Xm/Xm.h"; then
25426 ac_find_includes=$ac_dir
25427 break
25428 fi
25429 done
25430
25431 if test "$ac_find_includes" != "" ; then
25432 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25433 echo "${ECHO_T}found in $ac_find_includes" >&6
25434
25435 if test "x$ac_find_includes" = "x/usr/include"; then
25436 ac_path_to_include=""
25437 else
25438 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25439 result=$?
25440 if test $result = 0; then
25441 ac_path_to_include=""
25442 else
25443 ac_path_to_include=" -I$ac_find_includes"
25444 fi
25445 fi
25446
25447 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25448 else
25449 cat >conftest.$ac_ext <<_ACEOF
25450 /* confdefs.h. */
25451 _ACEOF
25452 cat confdefs.h >>conftest.$ac_ext
25453 cat >>conftest.$ac_ext <<_ACEOF
25454 /* end confdefs.h. */
25455
25456 #include <Xm/Xm.h>
25457
25458 int
25459 main ()
25460 {
25461
25462 int version;
25463 version = xmUseVersion;
25464
25465 ;
25466 return 0;
25467 }
25468 _ACEOF
25469 rm -f conftest.$ac_objext
25470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25471 (eval $ac_compile) 2>conftest.er1
25472 ac_status=$?
25473 grep -v '^ *+' conftest.er1 >conftest.err
25474 rm -f conftest.er1
25475 cat conftest.err >&5
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); } &&
25478 { ac_try='test -z "$ac_c_werror_flag"
25479 || test ! -s conftest.err'
25480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25481 (eval $ac_try) 2>&5
25482 ac_status=$?
25483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484 (exit $ac_status); }; } &&
25485 { ac_try='test -s conftest.$ac_objext'
25486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25487 (eval $ac_try) 2>&5
25488 ac_status=$?
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); }; }; then
25491
25492 echo "$as_me:$LINENO: result: found in default search path" >&5
25493 echo "${ECHO_T}found in default search path" >&6
25494 COMPILED_X_PROGRAM=1
25495
25496 else
25497 echo "$as_me: failed program was:" >&5
25498 sed 's/^/| /' conftest.$ac_ext >&5
25499
25500
25501 echo "$as_me:$LINENO: result: no" >&5
25502 echo "${ECHO_T}no" >&6
25503 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25504 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25505 { (exit 1); exit 1; }; }
25506
25507
25508 fi
25509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25510 fi
25511
25512 if test "$COMPILED_X_PROGRAM" = 0; then
25513 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25514 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25515
25516 ac_find_libraries=
25517 for ac_dir in $SEARCH_LIB /usr/lib;
25518 do
25519 for ac_extension in a so sl dylib; do
25520 if test -f "$ac_dir/libXm.$ac_extension"; then
25521 ac_find_libraries=$ac_dir
25522 break 2
25523 fi
25524 done
25525 done
25526
25527 if test "$ac_find_libraries" != "" ; then
25528 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25529 echo "${ECHO_T}found at $ac_find_libraries" >&6
25530
25531
25532 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25533 result=$?
25534 if test $result = 0; then
25535 ac_path_to_link=""
25536 else
25537 ac_path_to_link=" -L$ac_find_libraries"
25538 fi
25539
25540 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25541 else
25542 save_CFLAGS=$CFLAGS
25543 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25544
25545 cat >conftest.$ac_ext <<_ACEOF
25546 /* confdefs.h. */
25547 _ACEOF
25548 cat confdefs.h >>conftest.$ac_ext
25549 cat >>conftest.$ac_ext <<_ACEOF
25550 /* end confdefs.h. */
25551
25552 #include <Xm/Xm.h>
25553
25554 int
25555 main ()
25556 {
25557
25558 int version;
25559 version = xmUseVersion;
25560
25561 ;
25562 return 0;
25563 }
25564 _ACEOF
25565 rm -f conftest.$ac_objext
25566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25567 (eval $ac_compile) 2>conftest.er1
25568 ac_status=$?
25569 grep -v '^ *+' conftest.er1 >conftest.err
25570 rm -f conftest.er1
25571 cat conftest.err >&5
25572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25573 (exit $ac_status); } &&
25574 { ac_try='test -z "$ac_c_werror_flag"
25575 || test ! -s conftest.err'
25576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25577 (eval $ac_try) 2>&5
25578 ac_status=$?
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); }; } &&
25581 { ac_try='test -s conftest.$ac_objext'
25582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25583 (eval $ac_try) 2>&5
25584 ac_status=$?
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); }; }; then
25587
25588 echo "$as_me:$LINENO: result: found in default search path" >&5
25589 echo "${ECHO_T}found in default search path" >&6
25590 COMPILED_X_PROGRAM=1
25591
25592 else
25593 echo "$as_me: failed program was:" >&5
25594 sed 's/^/| /' conftest.$ac_ext >&5
25595
25596
25597 echo "$as_me:$LINENO: result: no" >&5
25598 echo "${ECHO_T}no" >&6
25599 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25600 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25601 { (exit 1); exit 1; }; }
25602
25603
25604 fi
25605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25606
25607 CFLAGS=$save_CFLAGS
25608 fi
25609 fi
25610
25611 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25612 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25613 libp_link=""
25614 libsm_ice_link=""
25615 libs_found=0
25616 for libp in "" " -lXp"; do
25617 if test "$libs_found" = "0"; then
25618 for libsm_ice in "" " -lSM -lICE"; do
25619 if test "$libs_found" = "0"; then
25620 save_LIBS="$LIBS"
25621 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25622 save_CFLAGS=$CFLAGS
25623 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25624
25625 cat >conftest.$ac_ext <<_ACEOF
25626 /* confdefs.h. */
25627 _ACEOF
25628 cat confdefs.h >>conftest.$ac_ext
25629 cat >>conftest.$ac_ext <<_ACEOF
25630 /* end confdefs.h. */
25631
25632 #include <Xm/Xm.h>
25633 #include <Xm/List.h>
25634
25635 int
25636 main ()
25637 {
25638
25639 XmString string = NULL;
25640 Widget w = NULL;
25641 int position = 0;
25642 XmListAddItem(w, string, position);
25643
25644 ;
25645 return 0;
25646 }
25647 _ACEOF
25648 rm -f conftest.$ac_objext conftest$ac_exeext
25649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25650 (eval $ac_link) 2>conftest.er1
25651 ac_status=$?
25652 grep -v '^ *+' conftest.er1 >conftest.err
25653 rm -f conftest.er1
25654 cat conftest.err >&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } &&
25657 { ac_try='test -z "$ac_c_werror_flag"
25658 || test ! -s conftest.err'
25659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25660 (eval $ac_try) 2>&5
25661 ac_status=$?
25662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663 (exit $ac_status); }; } &&
25664 { ac_try='test -s conftest$ac_exeext'
25665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666 (eval $ac_try) 2>&5
25667 ac_status=$?
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); }; }; then
25670
25671 libp_link="$libp"
25672 libsm_ice_link="$libsm_ice"
25673 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25674 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25675 libs_found=1
25676
25677 else
25678 echo "$as_me: failed program was:" >&5
25679 sed 's/^/| /' conftest.$ac_ext >&5
25680
25681
25682
25683 fi
25684 rm -f conftest.err conftest.$ac_objext \
25685 conftest$ac_exeext conftest.$ac_ext
25686
25687 LIBS="$save_LIBS"
25688 CFLAGS=$save_CFLAGS
25689 fi
25690 done
25691 fi
25692 done
25693
25694 if test "$libs_found" = "0"; then
25695 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25696 echo "${ECHO_T}can't find the right libraries" >&6
25697 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25698 echo "$as_me: error: can't link a simple motif program" >&2;}
25699 { (exit 1); exit 1; }; }
25700 fi
25701
25702 save_CFLAGS=$CFLAGS
25703 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25704 echo "$as_me:$LINENO: checking for Motif 2" >&5
25705 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25706 cat >conftest.$ac_ext <<_ACEOF
25707 /* confdefs.h. */
25708 _ACEOF
25709 cat confdefs.h >>conftest.$ac_ext
25710 cat >>conftest.$ac_ext <<_ACEOF
25711 /* end confdefs.h. */
25712
25713 #include <Xm/Xm.h>
25714
25715 int
25716 main ()
25717 {
25718
25719 #if XmVersion < 2000
25720 #error "Not Motif 2"
25721 #endif
25722
25723 ;
25724 return 0;
25725 }
25726 _ACEOF
25727 rm -f conftest.$ac_objext
25728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25729 (eval $ac_compile) 2>conftest.er1
25730 ac_status=$?
25731 grep -v '^ *+' conftest.er1 >conftest.err
25732 rm -f conftest.er1
25733 cat conftest.err >&5
25734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25735 (exit $ac_status); } &&
25736 { ac_try='test -z "$ac_c_werror_flag"
25737 || test ! -s conftest.err'
25738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25739 (eval $ac_try) 2>&5
25740 ac_status=$?
25741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25742 (exit $ac_status); }; } &&
25743 { ac_try='test -s conftest.$ac_objext'
25744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25745 (eval $ac_try) 2>&5
25746 ac_status=$?
25747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748 (exit $ac_status); }; }; then
25749
25750 cat >>confdefs.h <<\_ACEOF
25751 #define __WXMOTIF20__ 1
25752 _ACEOF
25753
25754 echo "$as_me:$LINENO: result: found" >&5
25755 echo "${ECHO_T}found" >&6
25756
25757 else
25758 echo "$as_me: failed program was:" >&5
25759 sed 's/^/| /' conftest.$ac_ext >&5
25760
25761
25762 cat >>confdefs.h <<\_ACEOF
25763 #define __WXMOTIF20__ 0
25764 _ACEOF
25765
25766 echo "$as_me:$LINENO: result: not found" >&5
25767 echo "${ECHO_T}not found" >&6
25768
25769 fi
25770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25771 CFLAGS=$save_CFLAGS
25772
25773 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25774 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
25775 TOOLKIT=MOTIF
25776 GUIDIST=MOTIF_DIST
25777 fi
25778
25779 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25780 if test "$wxUSE_LIBXPM" = "sys"; then
25781 echo "$as_me:$LINENO: checking for Xpm library" >&5
25782 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
25783
25784 ac_find_libraries=
25785 for ac_dir in $SEARCH_LIB /usr/lib;
25786 do
25787 for ac_extension in a so sl dylib; do
25788 if test -f "$ac_dir/libXpm.$ac_extension"; then
25789 ac_find_libraries=$ac_dir
25790 break 2
25791 fi
25792 done
25793 done
25794
25795 if test "$ac_find_libraries" != "" ; then
25796
25797 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25798 result=$?
25799 if test $result = 0; then
25800 ac_path_to_link=""
25801 else
25802 ac_path_to_link=" -L$ac_find_libraries"
25803 fi
25804
25805 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25806 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25807 echo "${ECHO_T}found at $ac_find_libraries" >&6
25808
25809 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
25810 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
25811 if test "${wx_cv_x11_xpm_h+set}" = set; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25813 else
25814
25815 save_CFLAGS=$CFLAGS
25816 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25817
25818 cat >conftest.$ac_ext <<_ACEOF
25819 /* confdefs.h. */
25820 _ACEOF
25821 cat confdefs.h >>conftest.$ac_ext
25822 cat >>conftest.$ac_ext <<_ACEOF
25823 /* end confdefs.h. */
25824
25825 #include <X11/xpm.h>
25826
25827 int
25828 main ()
25829 {
25830
25831 int version;
25832 version = XpmLibraryVersion();
25833
25834 ;
25835 return 0;
25836 }
25837 _ACEOF
25838 rm -f conftest.$ac_objext
25839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25840 (eval $ac_compile) 2>conftest.er1
25841 ac_status=$?
25842 grep -v '^ *+' conftest.er1 >conftest.err
25843 rm -f conftest.er1
25844 cat conftest.err >&5
25845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25846 (exit $ac_status); } &&
25847 { ac_try='test -z "$ac_c_werror_flag"
25848 || test ! -s conftest.err'
25849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25850 (eval $ac_try) 2>&5
25851 ac_status=$?
25852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25853 (exit $ac_status); }; } &&
25854 { ac_try='test -s conftest.$ac_objext'
25855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25856 (eval $ac_try) 2>&5
25857 ac_status=$?
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); }; }; then
25860 wx_cv_x11_xpm_h=yes
25861 else
25862 echo "$as_me: failed program was:" >&5
25863 sed 's/^/| /' conftest.$ac_ext >&5
25864
25865 wx_cv_x11_xpm_h=no
25866
25867 fi
25868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25869
25870 CFLAGS=$save_CFLAGS
25871
25872
25873 fi
25874 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
25875 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
25876
25877 if test $wx_cv_x11_xpm_h = "yes"; then
25878 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
25879 cat >>confdefs.h <<\_ACEOF
25880 #define wxHAVE_LIB_XPM 1
25881 _ACEOF
25882
25883 else
25884 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
25885 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
25886 fi
25887 fi
25888
25889 fi
25890
25891 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
25892 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
25893 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
25894 echo $ECHO_N "(cached) $ECHO_C" >&6
25895 else
25896 ac_check_lib_save_LIBS=$LIBS
25897 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
25898 cat >conftest.$ac_ext <<_ACEOF
25899 /* confdefs.h. */
25900 _ACEOF
25901 cat confdefs.h >>conftest.$ac_ext
25902 cat >>conftest.$ac_ext <<_ACEOF
25903 /* end confdefs.h. */
25904
25905 /* Override any gcc2 internal prototype to avoid an error. */
25906 #ifdef __cplusplus
25907 extern "C"
25908 #endif
25909 /* We use char because int might match the return type of a gcc2
25910 builtin and then its argument prototype would still apply. */
25911 char XShapeQueryExtension ();
25912 int
25913 main ()
25914 {
25915 XShapeQueryExtension ();
25916 ;
25917 return 0;
25918 }
25919 _ACEOF
25920 rm -f conftest.$ac_objext conftest$ac_exeext
25921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25922 (eval $ac_link) 2>conftest.er1
25923 ac_status=$?
25924 grep -v '^ *+' conftest.er1 >conftest.err
25925 rm -f conftest.er1
25926 cat conftest.err >&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try='test -z "$ac_c_werror_flag"
25930 || test ! -s conftest.err'
25931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25932 (eval $ac_try) 2>&5
25933 ac_status=$?
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); }; } &&
25936 { ac_try='test -s conftest$ac_exeext'
25937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938 (eval $ac_try) 2>&5
25939 ac_status=$?
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); }; }; then
25942 ac_cv_lib_Xext_XShapeQueryExtension=yes
25943 else
25944 echo "$as_me: failed program was:" >&5
25945 sed 's/^/| /' conftest.$ac_ext >&5
25946
25947 ac_cv_lib_Xext_XShapeQueryExtension=no
25948 fi
25949 rm -f conftest.err conftest.$ac_objext \
25950 conftest$ac_exeext conftest.$ac_ext
25951 LIBS=$ac_check_lib_save_LIBS
25952 fi
25953 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
25954 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
25955 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
25956
25957 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
25958 wxHAVE_XEXT_LIB=1
25959
25960 fi
25961
25962
25963 if test "$wxHAVE_XEXT_LIB" = 1; then
25964 save_CFLAGS="$CFLAGS"
25965 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25966
25967 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
25968 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
25969 cat >conftest.$ac_ext <<_ACEOF
25970 /* confdefs.h. */
25971 _ACEOF
25972 cat confdefs.h >>conftest.$ac_ext
25973 cat >>conftest.$ac_ext <<_ACEOF
25974 /* end confdefs.h. */
25975
25976 #include <X11/Xlib.h>
25977 #include <X11/extensions/shape.h>
25978
25979 int
25980 main ()
25981 {
25982
25983 int dummy1, dummy2;
25984 XShapeQueryExtension((Display*)NULL,
25985 (int*)NULL, (int*)NULL);
25986
25987 ;
25988 return 0;
25989 }
25990 _ACEOF
25991 rm -f conftest.$ac_objext
25992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25993 (eval $ac_compile) 2>conftest.er1
25994 ac_status=$?
25995 grep -v '^ *+' conftest.er1 >conftest.err
25996 rm -f conftest.er1
25997 cat conftest.err >&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } &&
26000 { ac_try='test -z "$ac_c_werror_flag"
26001 || test ! -s conftest.err'
26002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26003 (eval $ac_try) 2>&5
26004 ac_status=$?
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); }; } &&
26007 { ac_try='test -s conftest.$ac_objext'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26010 ac_status=$?
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; }; then
26013
26014 cat >>confdefs.h <<\_ACEOF
26015 #define HAVE_XSHAPE 1
26016 _ACEOF
26017
26018 echo "$as_me:$LINENO: result: found" >&5
26019 echo "${ECHO_T}found" >&6
26020
26021 else
26022 echo "$as_me: failed program was:" >&5
26023 sed 's/^/| /' conftest.$ac_ext >&5
26024
26025
26026 echo "$as_me:$LINENO: result: not found" >&5
26027 echo "${ECHO_T}not found" >&6
26028
26029 fi
26030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26031 CFLAGS="$save_CFLAGS"
26032
26033 fi
26034 fi
26035
26036 if test "$wxUSE_MAC" = 1; then
26037 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26038 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26039 if test "$GCC" = yes; then
26040 echo "$as_me:$LINENO: result: gcc" >&5
26041 echo "${ECHO_T}gcc" >&6
26042 CPPFLAGS_PASCAL="-fpascal-strings"
26043 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26044 echo "$as_me:$LINENO: result: xlc" >&5
26045 echo "${ECHO_T}xlc" >&6
26046 CPPFLAGS_PASCAL="-qmacpstr"
26047 else
26048 echo "$as_me:$LINENO: result: none" >&5
26049 echo "${ECHO_T}none" >&6
26050 fi
26051
26052 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26053
26054 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26055 TOOLKIT=MAC
26056 GUIDIST=MACX_DIST
26057 WXBASEPORT="_carbon"
26058 fi
26059
26060 if test "$wxUSE_COCOA" = 1; then
26061 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
26062 TOOLKIT=COCOA
26063 GUIDIST=COCOA_DIST
26064 fi
26065
26066 if test "$wxUSE_PM" = 1; then
26067 TOOLKIT=PM
26068 GUIDIST=GTK_DIST
26069 fi
26070
26071 if test "$TOOLKIT" = "PM" ; then
26072 TOOLKIT_DIR="os2"
26073 else
26074 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26075 fi
26076
26077 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26078
26079 if test "$wxUSE_UNIVERSAL" = "yes"; then
26080 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26081
26082 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26083 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26084
26085 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26086 if test "$wxUSE_X11" = 1; then
26087 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26088 else
26089 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26090 fi
26091 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26092 WIDGET_SET=univ
26093 else
26094 ALL_OBJECTS="\$(GUIOBJS)"
26095 ALL_SOURCES="\$(ALL_SOURCES)"
26096 ALL_HEADERS="\$(ALL_HEADERS)"
26097 fi
26098
26099 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26100
26101 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26102 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
26103 fi
26104
26105 if test "$wxUSE_HTML" = "yes"; then
26106 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
26107 fi
26108
26109 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26110 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
26111 fi
26112 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26113 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
26114 fi
26115 if test "$wxUSE_LIBPNG" = "builtin" ; then
26116 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
26117 fi
26118
26119 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26120 DISTDIR="wx\$(TOOLKIT)"
26121 else
26122 USE_GUI=0
26123
26124 TOOLKIT_DIR="base"
26125
26126 if test "$USE_WIN32" = 1 ; then
26127 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26128 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
26129
26130 TOOLKIT="MSW"
26131 else
26132 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26133 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
26134 fi
26135
26136 ALL_SOURCES="\$(ALL_SOURCES)"
26137 ALL_HEADERS="\$(ALL_HEADERS)"
26138
26139 PORT_FILES="\${top_srcdir}/src/files.lst"
26140
26141 GUIDIST="BASE_DIST"
26142 DISTDIR="wxBase"
26143 fi
26144
26145
26146
26147
26148 IODBC_C_SRC=""
26149
26150
26151 if test "$TOOLKIT" != "MSW" ; then
26152
26153 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26154
26155 if test "${ac_cv_header_sql_h+set}" = set; then
26156 echo "$as_me:$LINENO: checking for sql.h" >&5
26157 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26158 if test "${ac_cv_header_sql_h+set}" = set; then
26159 echo $ECHO_N "(cached) $ECHO_C" >&6
26160 fi
26161 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26162 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26163 else
26164 # Is the header compilable?
26165 echo "$as_me:$LINENO: checking sql.h usability" >&5
26166 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26167 cat >conftest.$ac_ext <<_ACEOF
26168 /* confdefs.h. */
26169 _ACEOF
26170 cat confdefs.h >>conftest.$ac_ext
26171 cat >>conftest.$ac_ext <<_ACEOF
26172 /* end confdefs.h. */
26173 $ac_includes_default
26174 #include <sql.h>
26175 _ACEOF
26176 rm -f conftest.$ac_objext
26177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26178 (eval $ac_compile) 2>conftest.er1
26179 ac_status=$?
26180 grep -v '^ *+' conftest.er1 >conftest.err
26181 rm -f conftest.er1
26182 cat conftest.err >&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); } &&
26185 { ac_try='test -z "$ac_c_werror_flag"
26186 || test ! -s conftest.err'
26187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26188 (eval $ac_try) 2>&5
26189 ac_status=$?
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); }; } &&
26192 { ac_try='test -s conftest.$ac_objext'
26193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26194 (eval $ac_try) 2>&5
26195 ac_status=$?
26196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197 (exit $ac_status); }; }; then
26198 ac_header_compiler=yes
26199 else
26200 echo "$as_me: failed program was:" >&5
26201 sed 's/^/| /' conftest.$ac_ext >&5
26202
26203 ac_header_compiler=no
26204 fi
26205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26206 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26207 echo "${ECHO_T}$ac_header_compiler" >&6
26208
26209 # Is the header present?
26210 echo "$as_me:$LINENO: checking sql.h presence" >&5
26211 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26212 cat >conftest.$ac_ext <<_ACEOF
26213 /* confdefs.h. */
26214 _ACEOF
26215 cat confdefs.h >>conftest.$ac_ext
26216 cat >>conftest.$ac_ext <<_ACEOF
26217 /* end confdefs.h. */
26218 #include <sql.h>
26219 _ACEOF
26220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26221 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26222 ac_status=$?
26223 grep -v '^ *+' conftest.er1 >conftest.err
26224 rm -f conftest.er1
26225 cat conftest.err >&5
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); } >/dev/null; then
26228 if test -s conftest.err; then
26229 ac_cpp_err=$ac_c_preproc_warn_flag
26230 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26231 else
26232 ac_cpp_err=
26233 fi
26234 else
26235 ac_cpp_err=yes
26236 fi
26237 if test -z "$ac_cpp_err"; then
26238 ac_header_preproc=yes
26239 else
26240 echo "$as_me: failed program was:" >&5
26241 sed 's/^/| /' conftest.$ac_ext >&5
26242
26243 ac_header_preproc=no
26244 fi
26245 rm -f conftest.err conftest.$ac_ext
26246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26247 echo "${ECHO_T}$ac_header_preproc" >&6
26248
26249 # So? What about this header?
26250 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26251 yes:no: )
26252 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26253 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26254 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26255 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26256 ac_header_preproc=yes
26257 ;;
26258 no:yes:* )
26259 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26260 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26261 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26262 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26263 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26264 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26265 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26266 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26267 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26268 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26269 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26270 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26271 (
26272 cat <<\_ASBOX
26273 ## ----------------------------------------- ##
26274 ## Report this to wx-dev@lists.wxwindows.org ##
26275 ## ----------------------------------------- ##
26276 _ASBOX
26277 ) |
26278 sed "s/^/$as_me: WARNING: /" >&2
26279 ;;
26280 esac
26281 echo "$as_me:$LINENO: checking for sql.h" >&5
26282 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26283 if test "${ac_cv_header_sql_h+set}" = set; then
26284 echo $ECHO_N "(cached) $ECHO_C" >&6
26285 else
26286 ac_cv_header_sql_h=$ac_header_preproc
26287 fi
26288 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26289 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26290
26291 fi
26292 if test $ac_cv_header_sql_h = yes; then
26293 found_sql_h=1
26294 fi
26295
26296
26297 if test "x$found_sql_h" = "x1" ; then
26298 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26299 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26300 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26301 echo $ECHO_N "(cached) $ECHO_C" >&6
26302 else
26303 ac_check_lib_save_LIBS=$LIBS
26304 LIBS="-liodbc $LIBS"
26305 cat >conftest.$ac_ext <<_ACEOF
26306 /* confdefs.h. */
26307 _ACEOF
26308 cat confdefs.h >>conftest.$ac_ext
26309 cat >>conftest.$ac_ext <<_ACEOF
26310 /* end confdefs.h. */
26311
26312 /* Override any gcc2 internal prototype to avoid an error. */
26313 #ifdef __cplusplus
26314 extern "C"
26315 #endif
26316 /* We use char because int might match the return type of a gcc2
26317 builtin and then its argument prototype would still apply. */
26318 char SQLAllocEnv ();
26319 int
26320 main ()
26321 {
26322 SQLAllocEnv ();
26323 ;
26324 return 0;
26325 }
26326 _ACEOF
26327 rm -f conftest.$ac_objext conftest$ac_exeext
26328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26329 (eval $ac_link) 2>conftest.er1
26330 ac_status=$?
26331 grep -v '^ *+' conftest.er1 >conftest.err
26332 rm -f conftest.er1
26333 cat conftest.err >&5
26334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26335 (exit $ac_status); } &&
26336 { ac_try='test -z "$ac_c_werror_flag"
26337 || test ! -s conftest.err'
26338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26339 (eval $ac_try) 2>&5
26340 ac_status=$?
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); }; } &&
26343 { ac_try='test -s conftest$ac_exeext'
26344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26345 (eval $ac_try) 2>&5
26346 ac_status=$?
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); }; }; then
26349 ac_cv_lib_iodbc_SQLAllocEnv=yes
26350 else
26351 echo "$as_me: failed program was:" >&5
26352 sed 's/^/| /' conftest.$ac_ext >&5
26353
26354 ac_cv_lib_iodbc_SQLAllocEnv=no
26355 fi
26356 rm -f conftest.err conftest.$ac_objext \
26357 conftest$ac_exeext conftest.$ac_ext
26358 LIBS=$ac_check_lib_save_LIBS
26359 fi
26360 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26361 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26362 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26363 ODBC_LINK=" -liodbc"
26364 else
26365
26366 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26367 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26368 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26369 echo $ECHO_N "(cached) $ECHO_C" >&6
26370 else
26371 ac_check_lib_save_LIBS=$LIBS
26372 LIBS="-lunixodbc $LIBS"
26373 cat >conftest.$ac_ext <<_ACEOF
26374 /* confdefs.h. */
26375 _ACEOF
26376 cat confdefs.h >>conftest.$ac_ext
26377 cat >>conftest.$ac_ext <<_ACEOF
26378 /* end confdefs.h. */
26379
26380 /* Override any gcc2 internal prototype to avoid an error. */
26381 #ifdef __cplusplus
26382 extern "C"
26383 #endif
26384 /* We use char because int might match the return type of a gcc2
26385 builtin and then its argument prototype would still apply. */
26386 char SQLAllocEnv ();
26387 int
26388 main ()
26389 {
26390 SQLAllocEnv ();
26391 ;
26392 return 0;
26393 }
26394 _ACEOF
26395 rm -f conftest.$ac_objext conftest$ac_exeext
26396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26397 (eval $ac_link) 2>conftest.er1
26398 ac_status=$?
26399 grep -v '^ *+' conftest.er1 >conftest.err
26400 rm -f conftest.er1
26401 cat conftest.err >&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } &&
26404 { ac_try='test -z "$ac_c_werror_flag"
26405 || test ! -s conftest.err'
26406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26407 (eval $ac_try) 2>&5
26408 ac_status=$?
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); }; } &&
26411 { ac_try='test -s conftest$ac_exeext'
26412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26413 (eval $ac_try) 2>&5
26414 ac_status=$?
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); }; }; then
26417 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26418 else
26419 echo "$as_me: failed program was:" >&5
26420 sed 's/^/| /' conftest.$ac_ext >&5
26421
26422 ac_cv_lib_unixodbc_SQLAllocEnv=no
26423 fi
26424 rm -f conftest.err conftest.$ac_objext \
26425 conftest$ac_exeext conftest.$ac_ext
26426 LIBS=$ac_check_lib_save_LIBS
26427 fi
26428 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26429 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26430 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26431 ODBC_LINK=" -lunixodbc"
26432 else
26433
26434 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26435 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26436 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26437 echo $ECHO_N "(cached) $ECHO_C" >&6
26438 else
26439 ac_check_lib_save_LIBS=$LIBS
26440 LIBS="-lodbc $LIBS"
26441 cat >conftest.$ac_ext <<_ACEOF
26442 /* confdefs.h. */
26443 _ACEOF
26444 cat confdefs.h >>conftest.$ac_ext
26445 cat >>conftest.$ac_ext <<_ACEOF
26446 /* end confdefs.h. */
26447
26448 /* Override any gcc2 internal prototype to avoid an error. */
26449 #ifdef __cplusplus
26450 extern "C"
26451 #endif
26452 /* We use char because int might match the return type of a gcc2
26453 builtin and then its argument prototype would still apply. */
26454 char SQLAllocEnv ();
26455 int
26456 main ()
26457 {
26458 SQLAllocEnv ();
26459 ;
26460 return 0;
26461 }
26462 _ACEOF
26463 rm -f conftest.$ac_objext conftest$ac_exeext
26464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26465 (eval $ac_link) 2>conftest.er1
26466 ac_status=$?
26467 grep -v '^ *+' conftest.er1 >conftest.err
26468 rm -f conftest.er1
26469 cat conftest.err >&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); } &&
26472 { ac_try='test -z "$ac_c_werror_flag"
26473 || test ! -s conftest.err'
26474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26475 (eval $ac_try) 2>&5
26476 ac_status=$?
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); }; } &&
26479 { ac_try='test -s conftest$ac_exeext'
26480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26481 (eval $ac_try) 2>&5
26482 ac_status=$?
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); }; }; then
26485 ac_cv_lib_odbc_SQLAllocEnv=yes
26486 else
26487 echo "$as_me: failed program was:" >&5
26488 sed 's/^/| /' conftest.$ac_ext >&5
26489
26490 ac_cv_lib_odbc_SQLAllocEnv=no
26491 fi
26492 rm -f conftest.err conftest.$ac_objext \
26493 conftest$ac_exeext conftest.$ac_ext
26494 LIBS=$ac_check_lib_save_LIBS
26495 fi
26496 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26497 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26498 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26499 ODBC_LINK=" -lodbc"
26500 fi
26501
26502
26503 fi
26504
26505
26506 fi
26507
26508 fi
26509 if test "x$ODBC_LINK" = "x" ; then
26510 if test "$wxUSE_ODBC" = "sys" ; then
26511 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26512 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26513 { (exit 1); exit 1; }; }
26514 else
26515 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26516 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26517 wxUSE_ODBC=builtin
26518 fi
26519 else
26520 wxUSE_ODBC=sys
26521 fi
26522 fi
26523 if test "$wxUSE_ODBC" != "no" ; then
26524 cat >>confdefs.h <<\_ACEOF
26525 #define wxUSE_ODBC 1
26526 _ACEOF
26527
26528 if test "$wxUSE_ODBC" = "builtin" ; then
26529 cat >>confdefs.h <<\_ACEOF
26530 #define wxUSE_BUILTIN_IODBC 1
26531 _ACEOF
26532
26533 fi
26534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
26535
26536 WXODBCFLAG="-D_IODBC_"
26537 fi
26538 fi
26539
26540 if test "$wxUSE_REGEX" = "builtin" ; then
26541 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
26542 fi
26543 if test "$wxUSE_ZLIB" = "builtin" ; then
26544 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
26545 fi
26546
26547 if test "$wxUSE_DISPLAY" = "yes"; then
26548 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
26549 echo "$as_me:$LINENO: checking for Xinerama" >&5
26550 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26551
26552 ac_find_libraries=
26553 for ac_dir in $SEARCH_LIB /usr/lib;
26554 do
26555 for ac_extension in a so sl dylib; do
26556 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26557 ac_find_libraries=$ac_dir
26558 break 2
26559 fi
26560 done
26561 done
26562
26563 if test "$ac_find_libraries" != "" ; then
26564
26565 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26566 result=$?
26567 if test $result = 0; then
26568 ac_path_to_link=""
26569 else
26570 ac_path_to_link=" -L$ac_find_libraries"
26571 fi
26572
26573 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26574 LDFLAGS="$LDFLAGS $ac_path_to_link"
26575 fi
26576 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26577 echo "$as_me:$LINENO: result: yes" >&5
26578 echo "${ECHO_T}yes" >&6
26579 else
26580 echo "$as_me:$LINENO: result: no" >&5
26581 echo "${ECHO_T}no" >&6
26582 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
26583 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
26584 wxUSE_DISPLAY="no"
26585 fi
26586 fi
26587 fi
26588
26589
26590 USE_OPENGL=0
26591 if test "$wxUSE_OPENGL" = "yes"; then
26592 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26593 OPENGL_LIBS="-framework OpenGL -framework AGL"
26594 elif test "$wxUSE_MSW" = 1; then
26595 OPENGL_LIBS="-lopengl32 -lglu32"
26596 else
26597
26598
26599 ac_find_includes=
26600 for ac_dir in $SEARCH_INCLUDE /usr/include;
26601 do
26602 if test -f "$ac_dir/GL/gl.h"; then
26603 ac_find_includes=$ac_dir
26604 break
26605 fi
26606 done
26607
26608 if test "$ac_find_includes" != "" ; then
26609 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26610 echo "${ECHO_T}found in $ac_find_includes" >&6
26611
26612 if test "x$ac_find_includes" = "x/usr/include"; then
26613 ac_path_to_include=""
26614 else
26615 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
26616 result=$?
26617 if test $result = 0; then
26618 ac_path_to_include=""
26619 else
26620 ac_path_to_include=" -I$ac_find_includes"
26621 fi
26622 fi
26623
26624 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
26625 fi
26626
26627 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26628 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26629 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26630 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26631 echo $ECHO_N "(cached) $ECHO_C" >&6
26632 fi
26633 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26634 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26635 else
26636 # Is the header compilable?
26637 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
26638 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
26639 cat >conftest.$ac_ext <<_ACEOF
26640 /* confdefs.h. */
26641 _ACEOF
26642 cat confdefs.h >>conftest.$ac_ext
26643 cat >>conftest.$ac_ext <<_ACEOF
26644 /* end confdefs.h. */
26645 $ac_includes_default
26646 #include <GL/gl.h>
26647 _ACEOF
26648 rm -f conftest.$ac_objext
26649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26650 (eval $ac_compile) 2>conftest.er1
26651 ac_status=$?
26652 grep -v '^ *+' conftest.er1 >conftest.err
26653 rm -f conftest.er1
26654 cat conftest.err >&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); } &&
26657 { ac_try='test -z "$ac_c_werror_flag"
26658 || test ! -s conftest.err'
26659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660 (eval $ac_try) 2>&5
26661 ac_status=$?
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); }; } &&
26664 { ac_try='test -s conftest.$ac_objext'
26665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26666 (eval $ac_try) 2>&5
26667 ac_status=$?
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); }; }; then
26670 ac_header_compiler=yes
26671 else
26672 echo "$as_me: failed program was:" >&5
26673 sed 's/^/| /' conftest.$ac_ext >&5
26674
26675 ac_header_compiler=no
26676 fi
26677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26679 echo "${ECHO_T}$ac_header_compiler" >&6
26680
26681 # Is the header present?
26682 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
26683 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
26684 cat >conftest.$ac_ext <<_ACEOF
26685 /* confdefs.h. */
26686 _ACEOF
26687 cat confdefs.h >>conftest.$ac_ext
26688 cat >>conftest.$ac_ext <<_ACEOF
26689 /* end confdefs.h. */
26690 #include <GL/gl.h>
26691 _ACEOF
26692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26694 ac_status=$?
26695 grep -v '^ *+' conftest.er1 >conftest.err
26696 rm -f conftest.er1
26697 cat conftest.err >&5
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); } >/dev/null; then
26700 if test -s conftest.err; then
26701 ac_cpp_err=$ac_c_preproc_warn_flag
26702 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26703 else
26704 ac_cpp_err=
26705 fi
26706 else
26707 ac_cpp_err=yes
26708 fi
26709 if test -z "$ac_cpp_err"; then
26710 ac_header_preproc=yes
26711 else
26712 echo "$as_me: failed program was:" >&5
26713 sed 's/^/| /' conftest.$ac_ext >&5
26714
26715 ac_header_preproc=no
26716 fi
26717 rm -f conftest.err conftest.$ac_ext
26718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26719 echo "${ECHO_T}$ac_header_preproc" >&6
26720
26721 # So? What about this header?
26722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26723 yes:no: )
26724 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26725 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26726 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
26727 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
26728 ac_header_preproc=yes
26729 ;;
26730 no:yes:* )
26731 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
26732 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
26733 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
26734 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
26735 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
26736 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
26737 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
26738 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
26739 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
26740 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
26741 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
26742 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
26743 (
26744 cat <<\_ASBOX
26745 ## ----------------------------------------- ##
26746 ## Report this to wx-dev@lists.wxwindows.org ##
26747 ## ----------------------------------------- ##
26748 _ASBOX
26749 ) |
26750 sed "s/^/$as_me: WARNING: /" >&2
26751 ;;
26752 esac
26753 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26754 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26755 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26756 echo $ECHO_N "(cached) $ECHO_C" >&6
26757 else
26758 ac_cv_header_GL_gl_h=$ac_header_preproc
26759 fi
26760 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26761 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26762
26763 fi
26764 if test $ac_cv_header_GL_gl_h = yes; then
26765
26766 found_gl=0
26767
26768 echo "$as_me:$LINENO: checking for -lGL" >&5
26769 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
26770
26771 ac_find_libraries=
26772 for ac_dir in $SEARCH_LIB /usr/lib;
26773 do
26774 for ac_extension in a so sl dylib; do
26775 if test -f "$ac_dir/libGL.$ac_extension"; then
26776 ac_find_libraries=$ac_dir
26777 break 2
26778 fi
26779 done
26780 done
26781
26782 if test "$ac_find_libraries" != "" ; then
26783
26784 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26785 result=$?
26786 if test $result = 0; then
26787 ac_path_to_link=""
26788 else
26789 ac_path_to_link=" -L$ac_find_libraries"
26790 fi
26791
26792 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26793 LDFLAGS_GL="$ac_path_to_link"
26794 fi
26795
26796
26797 ac_find_libraries=
26798 for ac_dir in $SEARCH_LIB /usr/lib;
26799 do
26800 for ac_extension in a so sl dylib; do
26801 if test -f "$ac_dir/libGLU.$ac_extension"; then
26802 ac_find_libraries=$ac_dir
26803 break 2
26804 fi
26805 done
26806 done
26807
26808 if test "$ac_find_libraries" != "" ; then
26809
26810 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26811 result=$?
26812 if test $result = 0; then
26813 ac_path_to_link=""
26814 else
26815 ac_path_to_link=" -L$ac_find_libraries"
26816 fi
26817
26818 if test "$ac_path_to_link" != " -L/usr/lib" -a \
26819 "$ac_path_to_link" != "$LDFLAGS_GL"; then
26820 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
26821 fi
26822
26823 found_gl=1
26824 OPENGL_LIBS="-lGL -lGLU"
26825 echo "$as_me:$LINENO: result: yes" >&5
26826 echo "${ECHO_T}yes" >&6
26827 fi
26828 fi
26829
26830 if test "$found_gl" != 1; then
26831 echo "$as_me:$LINENO: result: no" >&5
26832 echo "${ECHO_T}no" >&6
26833 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
26834 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
26835
26836 ac_find_libraries=
26837 for ac_dir in $SEARCH_LIB /usr/lib;
26838 do
26839 for ac_extension in a so sl dylib; do
26840 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
26841 ac_find_libraries=$ac_dir
26842 break 2
26843 fi
26844 done
26845 done
26846
26847 if test "$ac_find_libraries" != "" ; then
26848
26849 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26850 result=$?
26851 if test $result = 0; then
26852 ac_path_to_link=""
26853 else
26854 ac_path_to_link=" -L$ac_find_libraries"
26855 fi
26856
26857 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
26858 OPENGL_LIBS="-lMesaGL -lMesaGLU"
26859 echo "$as_me:$LINENO: result: yes" >&5
26860 echo "${ECHO_T}yes" >&6
26861 else
26862 echo "$as_me:$LINENO: result: no" >&5
26863 echo "${ECHO_T}no" >&6
26864 fi
26865 fi
26866
26867 fi
26868
26869
26870
26871 if test "x$OPENGL_LIBS" = "x"; then
26872 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
26873 echo "$as_me: error: OpenGL libraries not available" >&2;}
26874 { (exit 1); exit 1; }; }
26875 fi
26876 fi
26877
26878 if test "$wxUSE_OPENGL" = "yes"; then
26879 USE_OPENGL=1
26880 cat >>confdefs.h <<\_ACEOF
26881 #define wxUSE_OPENGL 1
26882 _ACEOF
26883
26884 cat >>confdefs.h <<\_ACEOF
26885 #define wxUSE_GLCANVAS 1
26886 _ACEOF
26887
26888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
26889 fi
26890 fi
26891
26892 if test -z "$TOOLKIT_VPATH" ; then
26893 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
26894 fi
26895
26896 if test -n "$TOOLKIT" ; then
26897 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
26898 fi
26899
26900 UNICODE=0
26901 lib_unicode_suffix=
26902 if test "$wxUSE_UNICODE" = "yes"; then
26903 lib_unicode_suffix=u
26904 UNICODE=1
26905 fi
26906
26907 lib_debug_suffix=
26908 DEBUG_FLAG=0
26909 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
26910 lib_debug_suffix=d
26911 DEBUG_FLAG=1
26912 fi
26913
26914 DEBUG_INFO=0
26915 if test "$wxUSE_DEBUG_INFO" = "yes"; then
26916 DEBUG_INFO=1
26917 fi
26918
26919 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
26920
26921 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
26922 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
26923
26924 if test "$cross_compiling" = "yes"; then
26925 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
26926 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
26927 HOST_SUFFIX="-${host_alias}"
26928 fi
26929
26930 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
26931 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
26932 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
26933 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
26934
26935 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26936 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26937
26938 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
26939 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
26940 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
26941 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26942
26943 case "${host}" in
26944 *-*-cygwin* | *-*-mingw32* )
26945 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
26946 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26947 ;;
26948
26949 *-*-darwin* )
26950
26951 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26952 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26953
26954 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
26955 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
26956 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
26957 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26958
26959 if test "$wxUSE_MAC" = 1; then
26960 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
26961 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
26962 fi
26963 ;;
26964 esac
26965
26966 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
26967 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
26968
26969 WXCONFIG_LIBS="-l${WX_LIBRARY}"
26970 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
26971
26972 if test "$wxUSE_OPENGL" = "yes"; then
26973 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
26974 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
26975 fi
26976
26977
26978
26979 if test "$wxUSE_SHARED" = "yes"; then
26980 case "${host}" in
26981 *-pc-os2_emx | *-pc-os2-emx | \
26982 *-pc-msdosdjgpp )
26983 wxUSE_SHARED=no
26984 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
26985 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
26986 ;;
26987 esac
26988 fi
26989
26990 SHARED=0
26991 if test "$wxUSE_SHARED" = "yes"; then
26992 SHARED=1
26993
26994
26995 found_versioning=no
26996
26997
26998 if test $found_versioning = no ; then
26999 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27000 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27001 if test "${wx_cv_version_script+set}" = set; then
27002 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 else
27004
27005 echo "VER_1 { *; };" >conftest.sym
27006 echo "int main() { return 0; }" >conftest.cpp
27007
27008 if { ac_try='
27009 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27010 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27012 (eval $ac_try) 2>&5
27013 ac_status=$?
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); }; } ; then
27016 if test -s conftest.stderr ; then
27017 wx_cv_version_script=no
27018 else
27019 wx_cv_version_script=yes
27020 fi
27021 else
27022 wx_cv_version_script=no
27023 fi
27024 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27025
27026 fi
27027 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27028 echo "${ECHO_T}$wx_cv_version_script" >&6
27029 if test $wx_cv_version_script = yes ; then
27030 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27031 fi
27032 fi
27033
27034
27035 case "${host}" in
27036 *-*-linux* | *-*-gnu* )
27037 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27038 ;;
27039
27040 *-*-solaris2* )
27041 if test "$GCC" = yes ; then
27042 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27043
27044 saveLdflags="$LDFLAGS"
27045 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27046 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27047 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27048 cat >conftest.$ac_ext <<_ACEOF
27049 /* confdefs.h. */
27050 _ACEOF
27051 cat confdefs.h >>conftest.$ac_ext
27052 cat >>conftest.$ac_ext <<_ACEOF
27053 /* end confdefs.h. */
27054
27055 int
27056 main ()
27057 {
27058
27059 ;
27060 return 0;
27061 }
27062 _ACEOF
27063 rm -f conftest.$ac_objext conftest$ac_exeext
27064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27065 (eval $ac_link) 2>conftest.er1
27066 ac_status=$?
27067 grep -v '^ *+' conftest.er1 >conftest.err
27068 rm -f conftest.er1
27069 cat conftest.err >&5
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); } &&
27072 { ac_try='test -z "$ac_c_werror_flag"
27073 || test ! -s conftest.err'
27074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27075 (eval $ac_try) 2>&5
27076 ac_status=$?
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); }; } &&
27079 { ac_try='test -s conftest$ac_exeext'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27082 ac_status=$?
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; }; then
27085
27086 echo "$as_me:$LINENO: result: yes" >&5
27087 echo "${ECHO_T}yes" >&6
27088 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27089
27090 else
27091 echo "$as_me: failed program was:" >&5
27092 sed 's/^/| /' conftest.$ac_ext >&5
27093
27094
27095 echo "$as_me:$LINENO: result: no" >&5
27096 echo "${ECHO_T}no" >&6
27097 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27098 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27099 LDFLAGS="$saveLdflags -Wl,-R,/"
27100 cat >conftest.$ac_ext <<_ACEOF
27101 /* confdefs.h. */
27102 _ACEOF
27103 cat confdefs.h >>conftest.$ac_ext
27104 cat >>conftest.$ac_ext <<_ACEOF
27105 /* end confdefs.h. */
27106
27107 int
27108 main ()
27109 {
27110
27111 ;
27112 return 0;
27113 }
27114 _ACEOF
27115 rm -f conftest.$ac_objext conftest$ac_exeext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27117 (eval $ac_link) 2>conftest.er1
27118 ac_status=$?
27119 grep -v '^ *+' conftest.er1 >conftest.err
27120 rm -f conftest.er1
27121 cat conftest.err >&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try='test -z "$ac_c_werror_flag"
27125 || test ! -s conftest.err'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27128 ac_status=$?
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; } &&
27131 { ac_try='test -s conftest$ac_exeext'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27134 ac_status=$?
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27137
27138 echo "$as_me:$LINENO: result: yes" >&5
27139 echo "${ECHO_T}yes" >&6
27140 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27141 else
27142 echo "$as_me: failed program was:" >&5
27143 sed 's/^/| /' conftest.$ac_ext >&5
27144
27145
27146 echo "$as_me:$LINENO: result: no" >&5
27147 echo "${ECHO_T}no" >&6
27148
27149 fi
27150 rm -f conftest.err conftest.$ac_objext \
27151 conftest$ac_exeext conftest.$ac_ext
27152
27153 fi
27154 rm -f conftest.err conftest.$ac_objext \
27155 conftest$ac_exeext conftest.$ac_ext
27156 LDFLAGS="$saveLdflags"
27157 else
27158 SHARED_LD="${CXX} -G -o"
27159 PIC_FLAG="-KPIC"
27160 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27161 fi
27162 ;;
27163
27164 powerpc-*-darwin* )
27165 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27166 cat <<EOF >change-install-names
27167 #!/bin/sh
27168 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27169 inst_cmd="install_name_tool "
27170 for i in \${libnames} ; do
27171 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27172 done
27173 \${inst_cmd} \${3}
27174 EOF
27175 chmod +x change-install-names
27176 ;;
27177
27178 esac
27179
27180 if test "x$WX_TARGET_LIBRARY" = "x"; then
27181 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
27182 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
27183 fi
27184
27185 WX_TARGET_LIBRARY_TYPE="so"
27186 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
27187 fi
27188
27189 if test "$wxUSE_SHARED" = "no"; then
27190
27191 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27192 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27193 fi
27194
27195 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27196 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27197 fi
27198
27199 if test "$wxUSE_OPENGL" = "yes"; then
27200 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
27201 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27202 else
27203 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27204 fi
27205
27206 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
27207 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
27208
27209 WX_TARGET_LIBRARY_TYPE="a"
27210 INSTALL_LIBRARY='$(INSTALL_DATA)'
27211
27212 STATIC_FLAG="yes"
27213 else
27214 STATIC_FLAG="no"
27215 fi
27216
27217 MACRESCOMP="@#"
27218 MACSETFILE="@#"
27219 MACRESWXCONFIG="#"
27220 if test "$wxUSE_MAC" = 1; then
27221 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27222 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
27223 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
27224 # Extract the first word of "Rez", so it can be a program name with args.
27225 set dummy Rez; ac_word=$2
27226 echo "$as_me:$LINENO: checking for $ac_word" >&5
27227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27228 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27229 echo $ECHO_N "(cached) $ECHO_C" >&6
27230 else
27231 if test -n "$RESCOMP"; then
27232 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27233 else
27234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27235 for as_dir in $PATH
27236 do
27237 IFS=$as_save_IFS
27238 test -z "$as_dir" && as_dir=.
27239 for ac_exec_ext in '' $ac_executable_extensions; do
27240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27241 ac_cv_prog_RESCOMP="Rez"
27242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27243 break 2
27244 fi
27245 done
27246 done
27247
27248 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27249 fi
27250 fi
27251 RESCOMP=$ac_cv_prog_RESCOMP
27252 if test -n "$RESCOMP"; then
27253 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27254 echo "${ECHO_T}$RESCOMP" >&6
27255 else
27256 echo "$as_me:$LINENO: result: no" >&5
27257 echo "${ECHO_T}no" >&6
27258 fi
27259
27260 # Extract the first word of "DeRez", so it can be a program name with args.
27261 set dummy DeRez; ac_word=$2
27262 echo "$as_me:$LINENO: checking for $ac_word" >&5
27263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27264 if test "${ac_cv_prog_DEREZ+set}" = set; then
27265 echo $ECHO_N "(cached) $ECHO_C" >&6
27266 else
27267 if test -n "$DEREZ"; then
27268 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27269 else
27270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27271 for as_dir in $PATH
27272 do
27273 IFS=$as_save_IFS
27274 test -z "$as_dir" && as_dir=.
27275 for ac_exec_ext in '' $ac_executable_extensions; do
27276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27277 ac_cv_prog_DEREZ="DeRez"
27278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27279 break 2
27280 fi
27281 done
27282 done
27283
27284 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27285 fi
27286 fi
27287 DEREZ=$ac_cv_prog_DEREZ
27288 if test -n "$DEREZ"; then
27289 echo "$as_me:$LINENO: result: $DEREZ" >&5
27290 echo "${ECHO_T}$DEREZ" >&6
27291 else
27292 echo "$as_me:$LINENO: result: no" >&5
27293 echo "${ECHO_T}no" >&6
27294 fi
27295
27296 # Extract the first word of "SetFile", so it can be a program name with args.
27297 set dummy SetFile; ac_word=$2
27298 echo "$as_me:$LINENO: checking for $ac_word" >&5
27299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27300 if test "${ac_cv_prog_SETFILE+set}" = set; then
27301 echo $ECHO_N "(cached) $ECHO_C" >&6
27302 else
27303 if test -n "$SETFILE"; then
27304 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
27305 else
27306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27307 for as_dir in $PATH
27308 do
27309 IFS=$as_save_IFS
27310 test -z "$as_dir" && as_dir=.
27311 for ac_exec_ext in '' $ac_executable_extensions; do
27312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27313 ac_cv_prog_SETFILE="SetFile"
27314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27315 break 2
27316 fi
27317 done
27318 done
27319
27320 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
27321 fi
27322 fi
27323 SETFILE=$ac_cv_prog_SETFILE
27324 if test -n "$SETFILE"; then
27325 echo "$as_me:$LINENO: result: $SETFILE" >&5
27326 echo "${ECHO_T}$SETFILE" >&6
27327 else
27328 echo "$as_me:$LINENO: result: no" >&5
27329 echo "${ECHO_T}no" >&6
27330 fi
27331
27332 MACOSX_BUNDLE="bundle"
27333 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27334 MACSETFILE="\$(SETFILE)"
27335 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27336 elif test "$wxUSE_COCOA" = 1; then
27337 # Extract the first word of "Rez", so it can be a program name with args.
27338 set dummy Rez; ac_word=$2
27339 echo "$as_me:$LINENO: checking for $ac_word" >&5
27340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27341 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27342 echo $ECHO_N "(cached) $ECHO_C" >&6
27343 else
27344 if test -n "$RESCOMP"; then
27345 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27346 else
27347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27348 for as_dir in $PATH
27349 do
27350 IFS=$as_save_IFS
27351 test -z "$as_dir" && as_dir=.
27352 for ac_exec_ext in '' $ac_executable_extensions; do
27353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27354 ac_cv_prog_RESCOMP="Rez"
27355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27356 break 2
27357 fi
27358 done
27359 done
27360
27361 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27362 fi
27363 fi
27364 RESCOMP=$ac_cv_prog_RESCOMP
27365 if test -n "$RESCOMP"; then
27366 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27367 echo "${ECHO_T}$RESCOMP" >&6
27368 else
27369 echo "$as_me:$LINENO: result: no" >&5
27370 echo "${ECHO_T}no" >&6
27371 fi
27372
27373 # Extract the first word of "DeRez", so it can be a program name with args.
27374 set dummy DeRez; ac_word=$2
27375 echo "$as_me:$LINENO: checking for $ac_word" >&5
27376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27377 if test "${ac_cv_prog_DEREZ+set}" = set; then
27378 echo $ECHO_N "(cached) $ECHO_C" >&6
27379 else
27380 if test -n "$DEREZ"; then
27381 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27382 else
27383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27384 for as_dir in $PATH
27385 do
27386 IFS=$as_save_IFS
27387 test -z "$as_dir" && as_dir=.
27388 for ac_exec_ext in '' $ac_executable_extensions; do
27389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27390 ac_cv_prog_DEREZ="DeRez"
27391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27392 break 2
27393 fi
27394 done
27395 done
27396
27397 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27398 fi
27399 fi
27400 DEREZ=$ac_cv_prog_DEREZ
27401 if test -n "$DEREZ"; then
27402 echo "$as_me:$LINENO: result: $DEREZ" >&5
27403 echo "${ECHO_T}$DEREZ" >&6
27404 else
27405 echo "$as_me:$LINENO: result: no" >&5
27406 echo "${ECHO_T}no" >&6
27407 fi
27408
27409 # Extract the first word of "SetFile", so it can be a program name with args.
27410 set dummy SetFile; ac_word=$2
27411 echo "$as_me:$LINENO: checking for $ac_word" >&5
27412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27413 if test "${ac_cv_prog_SETFILE+set}" = set; then
27414 echo $ECHO_N "(cached) $ECHO_C" >&6
27415 else
27416 if test -n "$SETFILE"; then
27417 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
27418 else
27419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27420 for as_dir in $PATH
27421 do
27422 IFS=$as_save_IFS
27423 test -z "$as_dir" && as_dir=.
27424 for ac_exec_ext in '' $ac_executable_extensions; do
27425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27426 ac_cv_prog_SETFILE="SetFile"
27427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27428 break 2
27429 fi
27430 done
27431 done
27432
27433 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
27434 fi
27435 fi
27436 SETFILE=$ac_cv_prog_SETFILE
27437 if test -n "$SETFILE"; then
27438 echo "$as_me:$LINENO: result: $SETFILE" >&5
27439 echo "${ECHO_T}$SETFILE" >&6
27440 else
27441 echo "$as_me:$LINENO: result: no" >&5
27442 echo "${ECHO_T}no" >&6
27443 fi
27444
27445 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27446 MACSETFILE="\$(SETFILE)"
27447 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27448 else
27449 if test "$wxUSE_PM" = 1; then
27450 MACRESCOMP="emxbind -ep"
27451 fi
27452 fi
27453
27454
27455 echo "$as_me:$LINENO: checking for mode_t" >&5
27456 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27457 if test "${ac_cv_type_mode_t+set}" = set; then
27458 echo $ECHO_N "(cached) $ECHO_C" >&6
27459 else
27460 cat >conftest.$ac_ext <<_ACEOF
27461 /* confdefs.h. */
27462 _ACEOF
27463 cat confdefs.h >>conftest.$ac_ext
27464 cat >>conftest.$ac_ext <<_ACEOF
27465 /* end confdefs.h. */
27466 $ac_includes_default
27467 int
27468 main ()
27469 {
27470 if ((mode_t *) 0)
27471 return 0;
27472 if (sizeof (mode_t))
27473 return 0;
27474 ;
27475 return 0;
27476 }
27477 _ACEOF
27478 rm -f conftest.$ac_objext
27479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27480 (eval $ac_compile) 2>conftest.er1
27481 ac_status=$?
27482 grep -v '^ *+' conftest.er1 >conftest.err
27483 rm -f conftest.er1
27484 cat conftest.err >&5
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); } &&
27487 { ac_try='test -z "$ac_c_werror_flag"
27488 || test ! -s conftest.err'
27489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27490 (eval $ac_try) 2>&5
27491 ac_status=$?
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); }; } &&
27494 { ac_try='test -s conftest.$ac_objext'
27495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27496 (eval $ac_try) 2>&5
27497 ac_status=$?
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); }; }; then
27500 ac_cv_type_mode_t=yes
27501 else
27502 echo "$as_me: failed program was:" >&5
27503 sed 's/^/| /' conftest.$ac_ext >&5
27504
27505 ac_cv_type_mode_t=no
27506 fi
27507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27508 fi
27509 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27510 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27511 if test $ac_cv_type_mode_t = yes; then
27512 :
27513 else
27514
27515 cat >>confdefs.h <<_ACEOF
27516 #define mode_t int
27517 _ACEOF
27518
27519 fi
27520
27521 echo "$as_me:$LINENO: checking for off_t" >&5
27522 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
27523 if test "${ac_cv_type_off_t+set}" = set; then
27524 echo $ECHO_N "(cached) $ECHO_C" >&6
27525 else
27526 cat >conftest.$ac_ext <<_ACEOF
27527 /* confdefs.h. */
27528 _ACEOF
27529 cat confdefs.h >>conftest.$ac_ext
27530 cat >>conftest.$ac_ext <<_ACEOF
27531 /* end confdefs.h. */
27532 $ac_includes_default
27533 int
27534 main ()
27535 {
27536 if ((off_t *) 0)
27537 return 0;
27538 if (sizeof (off_t))
27539 return 0;
27540 ;
27541 return 0;
27542 }
27543 _ACEOF
27544 rm -f conftest.$ac_objext
27545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27546 (eval $ac_compile) 2>conftest.er1
27547 ac_status=$?
27548 grep -v '^ *+' conftest.er1 >conftest.err
27549 rm -f conftest.er1
27550 cat conftest.err >&5
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); } &&
27553 { ac_try='test -z "$ac_c_werror_flag"
27554 || test ! -s conftest.err'
27555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27556 (eval $ac_try) 2>&5
27557 ac_status=$?
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); }; } &&
27560 { ac_try='test -s conftest.$ac_objext'
27561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27562 (eval $ac_try) 2>&5
27563 ac_status=$?
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); }; }; then
27566 ac_cv_type_off_t=yes
27567 else
27568 echo "$as_me: failed program was:" >&5
27569 sed 's/^/| /' conftest.$ac_ext >&5
27570
27571 ac_cv_type_off_t=no
27572 fi
27573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27574 fi
27575 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
27576 echo "${ECHO_T}$ac_cv_type_off_t" >&6
27577 if test $ac_cv_type_off_t = yes; then
27578 :
27579 else
27580
27581 cat >>confdefs.h <<_ACEOF
27582 #define off_t long
27583 _ACEOF
27584
27585 fi
27586
27587 echo "$as_me:$LINENO: checking for pid_t" >&5
27588 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
27589 if test "${ac_cv_type_pid_t+set}" = set; then
27590 echo $ECHO_N "(cached) $ECHO_C" >&6
27591 else
27592 cat >conftest.$ac_ext <<_ACEOF
27593 /* confdefs.h. */
27594 _ACEOF
27595 cat confdefs.h >>conftest.$ac_ext
27596 cat >>conftest.$ac_ext <<_ACEOF
27597 /* end confdefs.h. */
27598 $ac_includes_default
27599 int
27600 main ()
27601 {
27602 if ((pid_t *) 0)
27603 return 0;
27604 if (sizeof (pid_t))
27605 return 0;
27606 ;
27607 return 0;
27608 }
27609 _ACEOF
27610 rm -f conftest.$ac_objext
27611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27612 (eval $ac_compile) 2>conftest.er1
27613 ac_status=$?
27614 grep -v '^ *+' conftest.er1 >conftest.err
27615 rm -f conftest.er1
27616 cat conftest.err >&5
27617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27618 (exit $ac_status); } &&
27619 { ac_try='test -z "$ac_c_werror_flag"
27620 || test ! -s conftest.err'
27621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27622 (eval $ac_try) 2>&5
27623 ac_status=$?
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); }; } &&
27626 { ac_try='test -s conftest.$ac_objext'
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 ac_cv_type_pid_t=yes
27633 else
27634 echo "$as_me: failed program was:" >&5
27635 sed 's/^/| /' conftest.$ac_ext >&5
27636
27637 ac_cv_type_pid_t=no
27638 fi
27639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27640 fi
27641 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
27642 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
27643 if test $ac_cv_type_pid_t = yes; then
27644 :
27645 else
27646
27647 cat >>confdefs.h <<_ACEOF
27648 #define pid_t int
27649 _ACEOF
27650
27651 fi
27652
27653 echo "$as_me:$LINENO: checking for size_t" >&5
27654 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
27655 if test "${ac_cv_type_size_t+set}" = set; then
27656 echo $ECHO_N "(cached) $ECHO_C" >&6
27657 else
27658 cat >conftest.$ac_ext <<_ACEOF
27659 /* confdefs.h. */
27660 _ACEOF
27661 cat confdefs.h >>conftest.$ac_ext
27662 cat >>conftest.$ac_ext <<_ACEOF
27663 /* end confdefs.h. */
27664 $ac_includes_default
27665 int
27666 main ()
27667 {
27668 if ((size_t *) 0)
27669 return 0;
27670 if (sizeof (size_t))
27671 return 0;
27672 ;
27673 return 0;
27674 }
27675 _ACEOF
27676 rm -f conftest.$ac_objext
27677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27678 (eval $ac_compile) 2>conftest.er1
27679 ac_status=$?
27680 grep -v '^ *+' conftest.er1 >conftest.err
27681 rm -f conftest.er1
27682 cat conftest.err >&5
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); } &&
27685 { ac_try='test -z "$ac_c_werror_flag"
27686 || test ! -s conftest.err'
27687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27688 (eval $ac_try) 2>&5
27689 ac_status=$?
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); }; } &&
27692 { ac_try='test -s conftest.$ac_objext'
27693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27694 (eval $ac_try) 2>&5
27695 ac_status=$?
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); }; }; then
27698 ac_cv_type_size_t=yes
27699 else
27700 echo "$as_me: failed program was:" >&5
27701 sed 's/^/| /' conftest.$ac_ext >&5
27702
27703 ac_cv_type_size_t=no
27704 fi
27705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27706 fi
27707 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27708 echo "${ECHO_T}$ac_cv_type_size_t" >&6
27709 if test $ac_cv_type_size_t = yes; then
27710 :
27711 else
27712
27713 cat >>confdefs.h <<_ACEOF
27714 #define size_t unsigned
27715 _ACEOF
27716
27717 fi
27718
27719 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
27720 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
27721 if test "${ac_cv_type_uid_t+set}" = set; then
27722 echo $ECHO_N "(cached) $ECHO_C" >&6
27723 else
27724 cat >conftest.$ac_ext <<_ACEOF
27725 /* confdefs.h. */
27726 _ACEOF
27727 cat confdefs.h >>conftest.$ac_ext
27728 cat >>conftest.$ac_ext <<_ACEOF
27729 /* end confdefs.h. */
27730 #include <sys/types.h>
27731
27732 _ACEOF
27733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27734 $EGREP "uid_t" >/dev/null 2>&1; then
27735 ac_cv_type_uid_t=yes
27736 else
27737 ac_cv_type_uid_t=no
27738 fi
27739 rm -f conftest*
27740
27741 fi
27742 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
27743 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
27744 if test $ac_cv_type_uid_t = no; then
27745
27746 cat >>confdefs.h <<\_ACEOF
27747 #define uid_t int
27748 _ACEOF
27749
27750
27751 cat >>confdefs.h <<\_ACEOF
27752 #define gid_t int
27753 _ACEOF
27754
27755 fi
27756
27757
27758
27759
27760 ac_ext=cc
27761 ac_cpp='$CXXCPP $CPPFLAGS'
27762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27765
27766 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
27767 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
27768 if test "${wx_cv_size_t_is_uint+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27770 else
27771
27772 cat >conftest.$ac_ext <<_ACEOF
27773 /* confdefs.h. */
27774 _ACEOF
27775 cat confdefs.h >>conftest.$ac_ext
27776 cat >>conftest.$ac_ext <<_ACEOF
27777 /* end confdefs.h. */
27778 #include <stddef.h>
27779 int
27780 main ()
27781 {
27782
27783 return 0; }
27784
27785 struct Foo { void foo(size_t); void foo(unsigned int); };
27786
27787 int bar() {
27788
27789 ;
27790 return 0;
27791 }
27792 _ACEOF
27793 rm -f conftest.$ac_objext
27794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27795 (eval $ac_compile) 2>conftest.er1
27796 ac_status=$?
27797 grep -v '^ *+' conftest.er1 >conftest.err
27798 rm -f conftest.er1
27799 cat conftest.err >&5
27800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27801 (exit $ac_status); } &&
27802 { ac_try='test -z "$ac_cxx_werror_flag"
27803 || test ! -s conftest.err'
27804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27805 (eval $ac_try) 2>&5
27806 ac_status=$?
27807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27808 (exit $ac_status); }; } &&
27809 { ac_try='test -s conftest.$ac_objext'
27810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27811 (eval $ac_try) 2>&5
27812 ac_status=$?
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); }; }; then
27815 wx_cv_size_t_is_uint=no
27816 else
27817 echo "$as_me: failed program was:" >&5
27818 sed 's/^/| /' conftest.$ac_ext >&5
27819
27820 wx_cv_size_t_is_uint=yes
27821
27822 fi
27823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27824
27825
27826 fi
27827 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
27828 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
27829
27830 if test "$wx_cv_size_t_is_uint" = "yes"; then
27831 cat >>confdefs.h <<\_ACEOF
27832 #define wxSIZE_T_IS_UINT 1
27833 _ACEOF
27834
27835 else
27836 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
27837 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
27838 if test "${wx_cv_size_t_is_ulong+set}" = set; then
27839 echo $ECHO_N "(cached) $ECHO_C" >&6
27840 else
27841 cat >conftest.$ac_ext <<_ACEOF
27842 /* confdefs.h. */
27843 _ACEOF
27844 cat confdefs.h >>conftest.$ac_ext
27845 cat >>conftest.$ac_ext <<_ACEOF
27846 /* end confdefs.h. */
27847 #include <stddef.h>
27848 int
27849 main ()
27850 {
27851
27852 return 0; }
27853
27854 struct Foo { void foo(size_t); void foo(unsigned long); };
27855
27856 int bar() {
27857
27858 ;
27859 return 0;
27860 }
27861 _ACEOF
27862 rm -f conftest.$ac_objext
27863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27864 (eval $ac_compile) 2>conftest.er1
27865 ac_status=$?
27866 grep -v '^ *+' conftest.er1 >conftest.err
27867 rm -f conftest.er1
27868 cat conftest.err >&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); } &&
27871 { ac_try='test -z "$ac_cxx_werror_flag"
27872 || test ! -s conftest.err'
27873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27874 (eval $ac_try) 2>&5
27875 ac_status=$?
27876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27877 (exit $ac_status); }; } &&
27878 { ac_try='test -s conftest.$ac_objext'
27879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27880 (eval $ac_try) 2>&5
27881 ac_status=$?
27882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27883 (exit $ac_status); }; }; then
27884 wx_cv_size_t_is_ulong=no
27885 else
27886 echo "$as_me: failed program was:" >&5
27887 sed 's/^/| /' conftest.$ac_ext >&5
27888
27889 wx_cv_size_t_is_ulong=yes
27890
27891 fi
27892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27893
27894 fi
27895 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
27896 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
27897
27898 if test "$wx_cv_size_t_is_ulong" = "yes"; then
27899 cat >>confdefs.h <<\_ACEOF
27900 #define wxSIZE_T_IS_ULONG 1
27901 _ACEOF
27902
27903 fi
27904 fi
27905
27906 ac_ext=c
27907 ac_cpp='$CPP $CPPFLAGS'
27908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27911
27912
27913
27914 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
27915 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
27916 if test "${wx_cv_struct_pw_gecos+set}" = set; then
27917 echo $ECHO_N "(cached) $ECHO_C" >&6
27918 else
27919
27920 cat >conftest.$ac_ext <<_ACEOF
27921 /* confdefs.h. */
27922 _ACEOF
27923 cat confdefs.h >>conftest.$ac_ext
27924 cat >>conftest.$ac_ext <<_ACEOF
27925 /* end confdefs.h. */
27926 #include <pwd.h>
27927 int
27928 main ()
27929 {
27930
27931 char *p;
27932 struct passwd *pw;
27933 p = pw->pw_gecos;
27934
27935 ;
27936 return 0;
27937 }
27938 _ACEOF
27939 rm -f conftest.$ac_objext
27940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27941 (eval $ac_compile) 2>conftest.er1
27942 ac_status=$?
27943 grep -v '^ *+' conftest.er1 >conftest.err
27944 rm -f conftest.er1
27945 cat conftest.err >&5
27946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27947 (exit $ac_status); } &&
27948 { ac_try='test -z "$ac_c_werror_flag"
27949 || test ! -s conftest.err'
27950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27951 (eval $ac_try) 2>&5
27952 ac_status=$?
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); }; } &&
27955 { ac_try='test -s conftest.$ac_objext'
27956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27957 (eval $ac_try) 2>&5
27958 ac_status=$?
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); }; }; then
27961
27962 wx_cv_struct_pw_gecos=yes
27963
27964 else
27965 echo "$as_me: failed program was:" >&5
27966 sed 's/^/| /' conftest.$ac_ext >&5
27967
27968
27969 wx_cv_struct_pw_gecos=no
27970
27971
27972 fi
27973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27974
27975
27976 fi
27977 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
27978 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
27979
27980 if test "$wx_cv_struct_pw_gecos" = "yes"; then
27981 cat >>confdefs.h <<\_ACEOF
27982 #define HAVE_PW_GECOS 1
27983 _ACEOF
27984
27985 fi
27986
27987
27988 if test "$wx_cv_sizeof_wchar_t" != "0"; then
27989 cat >>confdefs.h <<\_ACEOF
27990 #define wxUSE_WCHAR_T 1
27991 _ACEOF
27992
27993
27994 WCSLEN_FOUND=0
27995 WCHAR_LINK=
27996
27997 for ac_func in wcslen
27998 do
27999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28000 echo "$as_me:$LINENO: checking for $ac_func" >&5
28001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28002 if eval "test \"\${$as_ac_var+set}\" = set"; then
28003 echo $ECHO_N "(cached) $ECHO_C" >&6
28004 else
28005 cat >conftest.$ac_ext <<_ACEOF
28006 /* confdefs.h. */
28007 _ACEOF
28008 cat confdefs.h >>conftest.$ac_ext
28009 cat >>conftest.$ac_ext <<_ACEOF
28010 /* end confdefs.h. */
28011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28013 #define $ac_func innocuous_$ac_func
28014
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
28020 #ifdef __STDC__
28021 # include <limits.h>
28022 #else
28023 # include <assert.h>
28024 #endif
28025
28026 #undef $ac_func
28027
28028 /* Override any gcc2 internal prototype to avoid an error. */
28029 #ifdef __cplusplus
28030 extern "C"
28031 {
28032 #endif
28033 /* We use char because int might match the return type of a gcc2
28034 builtin and then its argument prototype would still apply. */
28035 char $ac_func ();
28036 /* The GNU C library defines this for functions which it implements
28037 to always fail with ENOSYS. Some functions are actually named
28038 something starting with __ and the normal name is an alias. */
28039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28040 choke me
28041 #else
28042 char (*f) () = $ac_func;
28043 #endif
28044 #ifdef __cplusplus
28045 }
28046 #endif
28047
28048 int
28049 main ()
28050 {
28051 return f != $ac_func;
28052 ;
28053 return 0;
28054 }
28055 _ACEOF
28056 rm -f conftest.$ac_objext conftest$ac_exeext
28057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28058 (eval $ac_link) 2>conftest.er1
28059 ac_status=$?
28060 grep -v '^ *+' conftest.er1 >conftest.err
28061 rm -f conftest.er1
28062 cat conftest.err >&5
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); } &&
28065 { ac_try='test -z "$ac_c_werror_flag"
28066 || test ! -s conftest.err'
28067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28068 (eval $ac_try) 2>&5
28069 ac_status=$?
28070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28071 (exit $ac_status); }; } &&
28072 { ac_try='test -s conftest$ac_exeext'
28073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28074 (eval $ac_try) 2>&5
28075 ac_status=$?
28076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28077 (exit $ac_status); }; }; then
28078 eval "$as_ac_var=yes"
28079 else
28080 echo "$as_me: failed program was:" >&5
28081 sed 's/^/| /' conftest.$ac_ext >&5
28082
28083 eval "$as_ac_var=no"
28084 fi
28085 rm -f conftest.err conftest.$ac_objext \
28086 conftest$ac_exeext conftest.$ac_ext
28087 fi
28088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28090 if test `eval echo '${'$as_ac_var'}'` = yes; then
28091 cat >>confdefs.h <<_ACEOF
28092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28093 _ACEOF
28094 WCSLEN_FOUND=1
28095 fi
28096 done
28097
28098
28099 if test "$WCSLEN_FOUND" = 0; then
28100 if test "$TOOLKIT" = "MSW"; then
28101 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28102 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28103 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28104 echo $ECHO_N "(cached) $ECHO_C" >&6
28105 else
28106 ac_check_lib_save_LIBS=$LIBS
28107 LIBS="-lmsvcrt $LIBS"
28108 cat >conftest.$ac_ext <<_ACEOF
28109 /* confdefs.h. */
28110 _ACEOF
28111 cat confdefs.h >>conftest.$ac_ext
28112 cat >>conftest.$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28114
28115 /* Override any gcc2 internal prototype to avoid an error. */
28116 #ifdef __cplusplus
28117 extern "C"
28118 #endif
28119 /* We use char because int might match the return type of a gcc2
28120 builtin and then its argument prototype would still apply. */
28121 char wcslen ();
28122 int
28123 main ()
28124 {
28125 wcslen ();
28126 ;
28127 return 0;
28128 }
28129 _ACEOF
28130 rm -f conftest.$ac_objext conftest$ac_exeext
28131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28132 (eval $ac_link) 2>conftest.er1
28133 ac_status=$?
28134 grep -v '^ *+' conftest.er1 >conftest.err
28135 rm -f conftest.er1
28136 cat conftest.err >&5
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); } &&
28139 { ac_try='test -z "$ac_c_werror_flag"
28140 || test ! -s conftest.err'
28141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28142 (eval $ac_try) 2>&5
28143 ac_status=$?
28144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145 (exit $ac_status); }; } &&
28146 { ac_try='test -s conftest$ac_exeext'
28147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28148 (eval $ac_try) 2>&5
28149 ac_status=$?
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); }; }; then
28152 ac_cv_lib_msvcrt_wcslen=yes
28153 else
28154 echo "$as_me: failed program was:" >&5
28155 sed 's/^/| /' conftest.$ac_ext >&5
28156
28157 ac_cv_lib_msvcrt_wcslen=no
28158 fi
28159 rm -f conftest.err conftest.$ac_objext \
28160 conftest$ac_exeext conftest.$ac_ext
28161 LIBS=$ac_check_lib_save_LIBS
28162 fi
28163 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28164 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28165 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28166 WCHAR_OK=1
28167 fi
28168
28169 else
28170 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28171 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28172 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28173 echo $ECHO_N "(cached) $ECHO_C" >&6
28174 else
28175 ac_check_lib_save_LIBS=$LIBS
28176 LIBS="-lw $LIBS"
28177 cat >conftest.$ac_ext <<_ACEOF
28178 /* confdefs.h. */
28179 _ACEOF
28180 cat confdefs.h >>conftest.$ac_ext
28181 cat >>conftest.$ac_ext <<_ACEOF
28182 /* end confdefs.h. */
28183
28184 /* Override any gcc2 internal prototype to avoid an error. */
28185 #ifdef __cplusplus
28186 extern "C"
28187 #endif
28188 /* We use char because int might match the return type of a gcc2
28189 builtin and then its argument prototype would still apply. */
28190 char wcslen ();
28191 int
28192 main ()
28193 {
28194 wcslen ();
28195 ;
28196 return 0;
28197 }
28198 _ACEOF
28199 rm -f conftest.$ac_objext conftest$ac_exeext
28200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28201 (eval $ac_link) 2>conftest.er1
28202 ac_status=$?
28203 grep -v '^ *+' conftest.er1 >conftest.err
28204 rm -f conftest.er1
28205 cat conftest.err >&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } &&
28208 { ac_try='test -z "$ac_c_werror_flag"
28209 || test ! -s conftest.err'
28210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 (eval $ac_try) 2>&5
28212 ac_status=$?
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; } &&
28215 { ac_try='test -s conftest$ac_exeext'
28216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28217 (eval $ac_try) 2>&5
28218 ac_status=$?
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); }; }; then
28221 ac_cv_lib_w_wcslen=yes
28222 else
28223 echo "$as_me: failed program was:" >&5
28224 sed 's/^/| /' conftest.$ac_ext >&5
28225
28226 ac_cv_lib_w_wcslen=no
28227 fi
28228 rm -f conftest.err conftest.$ac_objext \
28229 conftest$ac_exeext conftest.$ac_ext
28230 LIBS=$ac_check_lib_save_LIBS
28231 fi
28232 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28233 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28234 if test $ac_cv_lib_w_wcslen = yes; then
28235
28236 WCHAR_LINK=" -lw"
28237 WCSLEN_FOUND=1
28238
28239 fi
28240
28241 fi
28242 fi
28243
28244 if test "$WCSLEN_FOUND" = 1; then
28245 cat >>confdefs.h <<\_ACEOF
28246 #define HAVE_WCSLEN 1
28247 _ACEOF
28248
28249 fi
28250
28251
28252 for ac_func in wcsrtombs
28253 do
28254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28255 echo "$as_me:$LINENO: checking for $ac_func" >&5
28256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28257 if eval "test \"\${$as_ac_var+set}\" = set"; then
28258 echo $ECHO_N "(cached) $ECHO_C" >&6
28259 else
28260 cat >conftest.$ac_ext <<_ACEOF
28261 /* confdefs.h. */
28262 _ACEOF
28263 cat confdefs.h >>conftest.$ac_ext
28264 cat >>conftest.$ac_ext <<_ACEOF
28265 /* end confdefs.h. */
28266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28268 #define $ac_func innocuous_$ac_func
28269
28270 /* System header to define __stub macros and hopefully few prototypes,
28271 which can conflict with char $ac_func (); below.
28272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28273 <limits.h> exists even on freestanding compilers. */
28274
28275 #ifdef __STDC__
28276 # include <limits.h>
28277 #else
28278 # include <assert.h>
28279 #endif
28280
28281 #undef $ac_func
28282
28283 /* Override any gcc2 internal prototype to avoid an error. */
28284 #ifdef __cplusplus
28285 extern "C"
28286 {
28287 #endif
28288 /* We use char because int might match the return type of a gcc2
28289 builtin and then its argument prototype would still apply. */
28290 char $ac_func ();
28291 /* The GNU C library defines this for functions which it implements
28292 to always fail with ENOSYS. Some functions are actually named
28293 something starting with __ and the normal name is an alias. */
28294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28295 choke me
28296 #else
28297 char (*f) () = $ac_func;
28298 #endif
28299 #ifdef __cplusplus
28300 }
28301 #endif
28302
28303 int
28304 main ()
28305 {
28306 return f != $ac_func;
28307 ;
28308 return 0;
28309 }
28310 _ACEOF
28311 rm -f conftest.$ac_objext conftest$ac_exeext
28312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28313 (eval $ac_link) 2>conftest.er1
28314 ac_status=$?
28315 grep -v '^ *+' conftest.er1 >conftest.err
28316 rm -f conftest.er1
28317 cat conftest.err >&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); } &&
28320 { ac_try='test -z "$ac_c_werror_flag"
28321 || test ! -s conftest.err'
28322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28323 (eval $ac_try) 2>&5
28324 ac_status=$?
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); }; } &&
28327 { ac_try='test -s conftest$ac_exeext'
28328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28329 (eval $ac_try) 2>&5
28330 ac_status=$?
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); }; }; then
28333 eval "$as_ac_var=yes"
28334 else
28335 echo "$as_me: failed program was:" >&5
28336 sed 's/^/| /' conftest.$ac_ext >&5
28337
28338 eval "$as_ac_var=no"
28339 fi
28340 rm -f conftest.err conftest.$ac_objext \
28341 conftest$ac_exeext conftest.$ac_ext
28342 fi
28343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28345 if test `eval echo '${'$as_ac_var'}'` = yes; then
28346 cat >>confdefs.h <<_ACEOF
28347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28348 _ACEOF
28349
28350 fi
28351 done
28352
28353 else
28354 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28355 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28356 fi
28357
28358
28359
28360 ac_ext=cc
28361 ac_cpp='$CXXCPP $CPPFLAGS'
28362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28365
28366
28367
28368 for ac_func in vsnprintf
28369 do
28370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28371 echo "$as_me:$LINENO: checking for $ac_func" >&5
28372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28373 if eval "test \"\${$as_ac_var+set}\" = set"; then
28374 echo $ECHO_N "(cached) $ECHO_C" >&6
28375 else
28376 cat >conftest.$ac_ext <<_ACEOF
28377 /* confdefs.h. */
28378 _ACEOF
28379 cat confdefs.h >>conftest.$ac_ext
28380 cat >>conftest.$ac_ext <<_ACEOF
28381 /* end confdefs.h. */
28382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28384 #define $ac_func innocuous_$ac_func
28385
28386 /* System header to define __stub macros and hopefully few prototypes,
28387 which can conflict with char $ac_func (); below.
28388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28389 <limits.h> exists even on freestanding compilers. */
28390
28391 #ifdef __STDC__
28392 # include <limits.h>
28393 #else
28394 # include <assert.h>
28395 #endif
28396
28397 #undef $ac_func
28398
28399 /* Override any gcc2 internal prototype to avoid an error. */
28400 #ifdef __cplusplus
28401 extern "C"
28402 {
28403 #endif
28404 /* We use char because int might match the return type of a gcc2
28405 builtin and then its argument prototype would still apply. */
28406 char $ac_func ();
28407 /* The GNU C library defines this for functions which it implements
28408 to always fail with ENOSYS. Some functions are actually named
28409 something starting with __ and the normal name is an alias. */
28410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28411 choke me
28412 #else
28413 char (*f) () = $ac_func;
28414 #endif
28415 #ifdef __cplusplus
28416 }
28417 #endif
28418
28419 int
28420 main ()
28421 {
28422 return f != $ac_func;
28423 ;
28424 return 0;
28425 }
28426 _ACEOF
28427 rm -f conftest.$ac_objext conftest$ac_exeext
28428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28429 (eval $ac_link) 2>conftest.er1
28430 ac_status=$?
28431 grep -v '^ *+' conftest.er1 >conftest.err
28432 rm -f conftest.er1
28433 cat conftest.err >&5
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); } &&
28436 { ac_try='test -z "$ac_cxx_werror_flag"
28437 || test ! -s conftest.err'
28438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28439 (eval $ac_try) 2>&5
28440 ac_status=$?
28441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28442 (exit $ac_status); }; } &&
28443 { ac_try='test -s conftest$ac_exeext'
28444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28445 (eval $ac_try) 2>&5
28446 ac_status=$?
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); }; }; then
28449 eval "$as_ac_var=yes"
28450 else
28451 echo "$as_me: failed program was:" >&5
28452 sed 's/^/| /' conftest.$ac_ext >&5
28453
28454 eval "$as_ac_var=no"
28455 fi
28456 rm -f conftest.err conftest.$ac_objext \
28457 conftest$ac_exeext conftest.$ac_ext
28458 fi
28459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28461 if test `eval echo '${'$as_ac_var'}'` = yes; then
28462 cat >>confdefs.h <<_ACEOF
28463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28464 _ACEOF
28465
28466 fi
28467 done
28468
28469
28470 if test "$ac_cv_func_vsnprintf" = "yes"; then
28471 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28472 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28473 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28474 echo $ECHO_N "(cached) $ECHO_C" >&6
28475 else
28476
28477 cat >conftest.$ac_ext <<_ACEOF
28478 /* confdefs.h. */
28479 _ACEOF
28480 cat confdefs.h >>conftest.$ac_ext
28481 cat >>conftest.$ac_ext <<_ACEOF
28482 /* end confdefs.h. */
28483
28484 #include <stdio.h>
28485 #include <stdarg.h>
28486
28487 int
28488 main ()
28489 {
28490
28491 char *buf;
28492 va_list ap;
28493 vsnprintf(buf, 10u, "%s", ap);
28494
28495 ;
28496 return 0;
28497 }
28498 _ACEOF
28499 rm -f conftest.$ac_objext
28500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28501 (eval $ac_compile) 2>conftest.er1
28502 ac_status=$?
28503 grep -v '^ *+' conftest.er1 >conftest.err
28504 rm -f conftest.er1
28505 cat conftest.err >&5
28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 (exit $ac_status); } &&
28508 { ac_try='test -z "$ac_cxx_werror_flag"
28509 || test ! -s conftest.err'
28510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28511 (eval $ac_try) 2>&5
28512 ac_status=$?
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); }; } &&
28515 { ac_try='test -s conftest.$ac_objext'
28516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28517 (eval $ac_try) 2>&5
28518 ac_status=$?
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); }; }; then
28521 wx_cv_func_vsnprintf_decl=yes
28522 else
28523 echo "$as_me: failed program was:" >&5
28524 sed 's/^/| /' conftest.$ac_ext >&5
28525
28526 wx_cv_func_vsnprintf_decl=no
28527
28528 fi
28529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28530
28531
28532 fi
28533 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
28534 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
28535
28536 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
28537 cat >>confdefs.h <<\_ACEOF
28538 #define HAVE_VSNPRINTF_DECL 1
28539 _ACEOF
28540
28541 fi
28542 fi
28543
28544 if test "$wxUSE_UNICODE" = yes; then
28545
28546
28547
28548 for ac_func in fputwc wprintf vswprintf
28549 do
28550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28551 echo "$as_me:$LINENO: checking for $ac_func" >&5
28552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28553 if eval "test \"\${$as_ac_var+set}\" = set"; then
28554 echo $ECHO_N "(cached) $ECHO_C" >&6
28555 else
28556 cat >conftest.$ac_ext <<_ACEOF
28557 /* confdefs.h. */
28558 _ACEOF
28559 cat confdefs.h >>conftest.$ac_ext
28560 cat >>conftest.$ac_ext <<_ACEOF
28561 /* end confdefs.h. */
28562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28564 #define $ac_func innocuous_$ac_func
28565
28566 /* System header to define __stub macros and hopefully few prototypes,
28567 which can conflict with char $ac_func (); below.
28568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28569 <limits.h> exists even on freestanding compilers. */
28570
28571 #ifdef __STDC__
28572 # include <limits.h>
28573 #else
28574 # include <assert.h>
28575 #endif
28576
28577 #undef $ac_func
28578
28579 /* Override any gcc2 internal prototype to avoid an error. */
28580 #ifdef __cplusplus
28581 extern "C"
28582 {
28583 #endif
28584 /* We use char because int might match the return type of a gcc2
28585 builtin and then its argument prototype would still apply. */
28586 char $ac_func ();
28587 /* The GNU C library defines this for functions which it implements
28588 to always fail with ENOSYS. Some functions are actually named
28589 something starting with __ and the normal name is an alias. */
28590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28591 choke me
28592 #else
28593 char (*f) () = $ac_func;
28594 #endif
28595 #ifdef __cplusplus
28596 }
28597 #endif
28598
28599 int
28600 main ()
28601 {
28602 return f != $ac_func;
28603 ;
28604 return 0;
28605 }
28606 _ACEOF
28607 rm -f conftest.$ac_objext conftest$ac_exeext
28608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28609 (eval $ac_link) 2>conftest.er1
28610 ac_status=$?
28611 grep -v '^ *+' conftest.er1 >conftest.err
28612 rm -f conftest.er1
28613 cat conftest.err >&5
28614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28615 (exit $ac_status); } &&
28616 { ac_try='test -z "$ac_cxx_werror_flag"
28617 || test ! -s conftest.err'
28618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28619 (eval $ac_try) 2>&5
28620 ac_status=$?
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); }; } &&
28623 { ac_try='test -s conftest$ac_exeext'
28624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28625 (eval $ac_try) 2>&5
28626 ac_status=$?
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); }; }; then
28629 eval "$as_ac_var=yes"
28630 else
28631 echo "$as_me: failed program was:" >&5
28632 sed 's/^/| /' conftest.$ac_ext >&5
28633
28634 eval "$as_ac_var=no"
28635 fi
28636 rm -f conftest.err conftest.$ac_objext \
28637 conftest$ac_exeext conftest.$ac_ext
28638 fi
28639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28641 if test `eval echo '${'$as_ac_var'}'` = yes; then
28642 cat >>confdefs.h <<_ACEOF
28643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28644 _ACEOF
28645
28646 fi
28647 done
28648
28649
28650 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
28651 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
28652 cat >conftest.$ac_ext <<_ACEOF
28653 /* confdefs.h. */
28654 _ACEOF
28655 cat confdefs.h >>conftest.$ac_ext
28656 cat >>conftest.$ac_ext <<_ACEOF
28657 /* end confdefs.h. */
28658 #include <wchar.h>
28659 int
28660 main ()
28661 {
28662 &_vsnwprintf;
28663 ;
28664 return 0;
28665 }
28666 _ACEOF
28667 rm -f conftest.$ac_objext
28668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28669 (eval $ac_compile) 2>conftest.er1
28670 ac_status=$?
28671 grep -v '^ *+' conftest.er1 >conftest.err
28672 rm -f conftest.er1
28673 cat conftest.err >&5
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); } &&
28676 { ac_try='test -z "$ac_cxx_werror_flag"
28677 || test ! -s conftest.err'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28680 ac_status=$?
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; } &&
28683 { ac_try='test -s conftest.$ac_objext'
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 echo "$as_me:$LINENO: result: yes" >&5
28690 echo "${ECHO_T}yes" >&6
28691 cat >>confdefs.h <<\_ACEOF
28692 #define HAVE__VSNWPRINTF 1
28693 _ACEOF
28694
28695 else
28696 echo "$as_me: failed program was:" >&5
28697 sed 's/^/| /' conftest.$ac_ext >&5
28698
28699 echo "$as_me:$LINENO: result: no" >&5
28700 echo "${ECHO_T}no" >&6
28701 fi
28702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
28703 fi
28704
28705 ac_ext=c
28706 ac_cpp='$CPP $CPPFLAGS'
28707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28710
28711
28712
28713
28714 if test "$TOOLKIT" != "MSW"; then
28715
28716
28717
28718
28719 ac_ext=cc
28720 ac_cpp='$CXXCPP $CPPFLAGS'
28721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28724
28725
28726
28727
28728 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
28729 if test "${with_libiconv_prefix+set}" = set; then
28730 withval="$with_libiconv_prefix"
28731
28732 for dir in `echo "$withval" | tr : ' '`; do
28733 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
28734 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
28735 done
28736
28737 fi;
28738
28739 echo "$as_me:$LINENO: checking for iconv" >&5
28740 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
28741 if test "${am_cv_func_iconv+set}" = set; then
28742 echo $ECHO_N "(cached) $ECHO_C" >&6
28743 else
28744
28745 am_cv_func_iconv="no, consider installing GNU libiconv"
28746 am_cv_lib_iconv=no
28747 cat >conftest.$ac_ext <<_ACEOF
28748 /* confdefs.h. */
28749 _ACEOF
28750 cat confdefs.h >>conftest.$ac_ext
28751 cat >>conftest.$ac_ext <<_ACEOF
28752 /* end confdefs.h. */
28753 #include <stdlib.h>
28754 #include <iconv.h>
28755 int
28756 main ()
28757 {
28758 iconv_t cd = iconv_open("","");
28759 iconv(cd,NULL,NULL,NULL,NULL);
28760 iconv_close(cd);
28761 ;
28762 return 0;
28763 }
28764 _ACEOF
28765 rm -f conftest.$ac_objext conftest$ac_exeext
28766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28767 (eval $ac_link) 2>conftest.er1
28768 ac_status=$?
28769 grep -v '^ *+' conftest.er1 >conftest.err
28770 rm -f conftest.er1
28771 cat conftest.err >&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try='test -z "$ac_cxx_werror_flag"
28775 || test ! -s conftest.err'
28776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777 (eval $ac_try) 2>&5
28778 ac_status=$?
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); }; } &&
28781 { ac_try='test -s conftest$ac_exeext'
28782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28783 (eval $ac_try) 2>&5
28784 ac_status=$?
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); }; }; then
28787 am_cv_func_iconv=yes
28788 else
28789 echo "$as_me: failed program was:" >&5
28790 sed 's/^/| /' conftest.$ac_ext >&5
28791
28792 fi
28793 rm -f conftest.err conftest.$ac_objext \
28794 conftest$ac_exeext conftest.$ac_ext
28795 if test "$am_cv_func_iconv" != yes; then
28796 am_save_LIBS="$LIBS"
28797 LIBS="$LIBS -liconv"
28798 cat >conftest.$ac_ext <<_ACEOF
28799 /* confdefs.h. */
28800 _ACEOF
28801 cat confdefs.h >>conftest.$ac_ext
28802 cat >>conftest.$ac_ext <<_ACEOF
28803 /* end confdefs.h. */
28804 #include <stdlib.h>
28805 #include <iconv.h>
28806 int
28807 main ()
28808 {
28809 iconv_t cd = iconv_open("","");
28810 iconv(cd,NULL,NULL,NULL,NULL);
28811 iconv_close(cd);
28812 ;
28813 return 0;
28814 }
28815 _ACEOF
28816 rm -f conftest.$ac_objext conftest$ac_exeext
28817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28818 (eval $ac_link) 2>conftest.er1
28819 ac_status=$?
28820 grep -v '^ *+' conftest.er1 >conftest.err
28821 rm -f conftest.er1
28822 cat conftest.err >&5
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); } &&
28825 { ac_try='test -z "$ac_cxx_werror_flag"
28826 || test ! -s conftest.err'
28827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28828 (eval $ac_try) 2>&5
28829 ac_status=$?
28830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28831 (exit $ac_status); }; } &&
28832 { ac_try='test -s conftest$ac_exeext'
28833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28834 (eval $ac_try) 2>&5
28835 ac_status=$?
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); }; }; then
28838 am_cv_lib_iconv=yes
28839 am_cv_func_iconv=yes
28840 else
28841 echo "$as_me: failed program was:" >&5
28842 sed 's/^/| /' conftest.$ac_ext >&5
28843
28844 fi
28845 rm -f conftest.err conftest.$ac_objext \
28846 conftest$ac_exeext conftest.$ac_ext
28847 LIBS="$am_save_LIBS"
28848 fi
28849
28850 fi
28851 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
28852 echo "${ECHO_T}$am_cv_func_iconv" >&6
28853 if test "$am_cv_func_iconv" = yes; then
28854
28855 cat >>confdefs.h <<\_ACEOF
28856 #define HAVE_ICONV 1
28857 _ACEOF
28858
28859 echo "$as_me:$LINENO: checking if iconv needs const" >&5
28860 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
28861 if test "${wx_cv_func_iconv_const+set}" = set; then
28862 echo $ECHO_N "(cached) $ECHO_C" >&6
28863 else
28864 cat >conftest.$ac_ext <<_ACEOF
28865 /* confdefs.h. */
28866 _ACEOF
28867 cat confdefs.h >>conftest.$ac_ext
28868 cat >>conftest.$ac_ext <<_ACEOF
28869 /* end confdefs.h. */
28870
28871 #include <stdlib.h>
28872 #include <iconv.h>
28873 extern
28874 #ifdef __cplusplus
28875 "C"
28876 #endif
28877 #if defined(__STDC__) || defined(__cplusplus)
28878 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28879 #else
28880 size_t iconv();
28881 #endif
28882
28883 int
28884 main ()
28885 {
28886
28887 ;
28888 return 0;
28889 }
28890 _ACEOF
28891 rm -f conftest.$ac_objext
28892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28893 (eval $ac_compile) 2>conftest.er1
28894 ac_status=$?
28895 grep -v '^ *+' conftest.er1 >conftest.err
28896 rm -f conftest.er1
28897 cat conftest.err >&5
28898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899 (exit $ac_status); } &&
28900 { ac_try='test -z "$ac_cxx_werror_flag"
28901 || test ! -s conftest.err'
28902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28903 (eval $ac_try) 2>&5
28904 ac_status=$?
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); }; } &&
28907 { ac_try='test -s conftest.$ac_objext'
28908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28909 (eval $ac_try) 2>&5
28910 ac_status=$?
28911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28912 (exit $ac_status); }; }; then
28913 wx_cv_func_iconv_const="no"
28914 else
28915 echo "$as_me: failed program was:" >&5
28916 sed 's/^/| /' conftest.$ac_ext >&5
28917
28918 wx_cv_func_iconv_const="yes"
28919
28920 fi
28921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28922
28923 fi
28924 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
28925 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
28926
28927 iconv_const=
28928 if test "x$wx_cv_func_iconv_const" = "xyes"; then
28929 iconv_const="const"
28930 fi
28931
28932
28933 cat >>confdefs.h <<_ACEOF
28934 #define ICONV_CONST $iconv_const
28935 _ACEOF
28936
28937 fi
28938 LIBICONV=
28939 if test "$am_cv_lib_iconv" = yes; then
28940 LIBICONV="-liconv"
28941 fi
28942
28943
28944 LIBS="$LIBICONV $LIBS"
28945 ac_ext=c
28946 ac_cpp='$CPP $CPPFLAGS'
28947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28950
28951
28952 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
28953
28954 for ac_func in sigaction
28955 do
28956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28957 echo "$as_me:$LINENO: checking for $ac_func" >&5
28958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28959 if eval "test \"\${$as_ac_var+set}\" = set"; then
28960 echo $ECHO_N "(cached) $ECHO_C" >&6
28961 else
28962 cat >conftest.$ac_ext <<_ACEOF
28963 /* confdefs.h. */
28964 _ACEOF
28965 cat confdefs.h >>conftest.$ac_ext
28966 cat >>conftest.$ac_ext <<_ACEOF
28967 /* end confdefs.h. */
28968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28970 #define $ac_func innocuous_$ac_func
28971
28972 /* System header to define __stub macros and hopefully few prototypes,
28973 which can conflict with char $ac_func (); below.
28974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28975 <limits.h> exists even on freestanding compilers. */
28976
28977 #ifdef __STDC__
28978 # include <limits.h>
28979 #else
28980 # include <assert.h>
28981 #endif
28982
28983 #undef $ac_func
28984
28985 /* Override any gcc2 internal prototype to avoid an error. */
28986 #ifdef __cplusplus
28987 extern "C"
28988 {
28989 #endif
28990 /* We use char because int might match the return type of a gcc2
28991 builtin and then its argument prototype would still apply. */
28992 char $ac_func ();
28993 /* The GNU C library defines this for functions which it implements
28994 to always fail with ENOSYS. Some functions are actually named
28995 something starting with __ and the normal name is an alias. */
28996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28997 choke me
28998 #else
28999 char (*f) () = $ac_func;
29000 #endif
29001 #ifdef __cplusplus
29002 }
29003 #endif
29004
29005 int
29006 main ()
29007 {
29008 return f != $ac_func;
29009 ;
29010 return 0;
29011 }
29012 _ACEOF
29013 rm -f conftest.$ac_objext conftest$ac_exeext
29014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29015 (eval $ac_link) 2>conftest.er1
29016 ac_status=$?
29017 grep -v '^ *+' conftest.er1 >conftest.err
29018 rm -f conftest.er1
29019 cat conftest.err >&5
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); } &&
29022 { ac_try='test -z "$ac_c_werror_flag"
29023 || test ! -s conftest.err'
29024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29025 (eval $ac_try) 2>&5
29026 ac_status=$?
29027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29028 (exit $ac_status); }; } &&
29029 { ac_try='test -s conftest$ac_exeext'
29030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29031 (eval $ac_try) 2>&5
29032 ac_status=$?
29033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29034 (exit $ac_status); }; }; then
29035 eval "$as_ac_var=yes"
29036 else
29037 echo "$as_me: failed program was:" >&5
29038 sed 's/^/| /' conftest.$ac_ext >&5
29039
29040 eval "$as_ac_var=no"
29041 fi
29042 rm -f conftest.err conftest.$ac_objext \
29043 conftest$ac_exeext conftest.$ac_ext
29044 fi
29045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29047 if test `eval echo '${'$as_ac_var'}'` = yes; then
29048 cat >>confdefs.h <<_ACEOF
29049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29050 _ACEOF
29051
29052 fi
29053 done
29054
29055
29056 if test "$ac_cv_func_sigaction" = "no"; then
29057 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29058 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29059 wxUSE_ON_FATAL_EXCEPTION=no
29060 fi
29061
29062 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29063
29064
29065 ac_ext=cc
29066 ac_cpp='$CXXCPP $CPPFLAGS'
29067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29070
29071
29072 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29073 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29074 if test "${wx_cv_type_sa_handler+set}" = set; then
29075 echo $ECHO_N "(cached) $ECHO_C" >&6
29076 else
29077
29078 cat >conftest.$ac_ext <<_ACEOF
29079 /* confdefs.h. */
29080 _ACEOF
29081 cat confdefs.h >>conftest.$ac_ext
29082 cat >>conftest.$ac_ext <<_ACEOF
29083 /* end confdefs.h. */
29084 #include <signal.h>
29085 int
29086 main ()
29087 {
29088
29089 extern void testSigHandler(int);
29090
29091 struct sigaction sa;
29092 sa.sa_handler = testSigHandler;
29093
29094 ;
29095 return 0;
29096 }
29097 _ACEOF
29098 rm -f conftest.$ac_objext
29099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29100 (eval $ac_compile) 2>conftest.er1
29101 ac_status=$?
29102 grep -v '^ *+' conftest.er1 >conftest.err
29103 rm -f conftest.er1
29104 cat conftest.err >&5
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); } &&
29107 { ac_try='test -z "$ac_cxx_werror_flag"
29108 || test ! -s conftest.err'
29109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29110 (eval $ac_try) 2>&5
29111 ac_status=$?
29112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29113 (exit $ac_status); }; } &&
29114 { ac_try='test -s conftest.$ac_objext'
29115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29116 (eval $ac_try) 2>&5
29117 ac_status=$?
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); }; }; then
29120
29121 wx_cv_type_sa_handler=int
29122
29123 else
29124 echo "$as_me: failed program was:" >&5
29125 sed 's/^/| /' conftest.$ac_ext >&5
29126
29127
29128 wx_cv_type_sa_handler=void
29129
29130 fi
29131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29132
29133 fi
29134 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29135 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29136
29137 ac_ext=c
29138 ac_cpp='$CPP $CPPFLAGS'
29139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29142
29143
29144 cat >>confdefs.h <<_ACEOF
29145 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29146 _ACEOF
29147
29148 fi
29149 fi
29150
29151
29152
29153 for ac_func in mkstemp mktemp
29154 do
29155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29156 echo "$as_me:$LINENO: checking for $ac_func" >&5
29157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29158 if eval "test \"\${$as_ac_var+set}\" = set"; then
29159 echo $ECHO_N "(cached) $ECHO_C" >&6
29160 else
29161 cat >conftest.$ac_ext <<_ACEOF
29162 /* confdefs.h. */
29163 _ACEOF
29164 cat confdefs.h >>conftest.$ac_ext
29165 cat >>conftest.$ac_ext <<_ACEOF
29166 /* end confdefs.h. */
29167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29169 #define $ac_func innocuous_$ac_func
29170
29171 /* System header to define __stub macros and hopefully few prototypes,
29172 which can conflict with char $ac_func (); below.
29173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29174 <limits.h> exists even on freestanding compilers. */
29175
29176 #ifdef __STDC__
29177 # include <limits.h>
29178 #else
29179 # include <assert.h>
29180 #endif
29181
29182 #undef $ac_func
29183
29184 /* Override any gcc2 internal prototype to avoid an error. */
29185 #ifdef __cplusplus
29186 extern "C"
29187 {
29188 #endif
29189 /* We use char because int might match the return type of a gcc2
29190 builtin and then its argument prototype would still apply. */
29191 char $ac_func ();
29192 /* The GNU C library defines this for functions which it implements
29193 to always fail with ENOSYS. Some functions are actually named
29194 something starting with __ and the normal name is an alias. */
29195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29196 choke me
29197 #else
29198 char (*f) () = $ac_func;
29199 #endif
29200 #ifdef __cplusplus
29201 }
29202 #endif
29203
29204 int
29205 main ()
29206 {
29207 return f != $ac_func;
29208 ;
29209 return 0;
29210 }
29211 _ACEOF
29212 rm -f conftest.$ac_objext conftest$ac_exeext
29213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29214 (eval $ac_link) 2>conftest.er1
29215 ac_status=$?
29216 grep -v '^ *+' conftest.er1 >conftest.err
29217 rm -f conftest.er1
29218 cat conftest.err >&5
29219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29220 (exit $ac_status); } &&
29221 { ac_try='test -z "$ac_c_werror_flag"
29222 || test ! -s conftest.err'
29223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29224 (eval $ac_try) 2>&5
29225 ac_status=$?
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; } &&
29228 { ac_try='test -s conftest$ac_exeext'
29229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29230 (eval $ac_try) 2>&5
29231 ac_status=$?
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); }; }; then
29234 eval "$as_ac_var=yes"
29235 else
29236 echo "$as_me: failed program was:" >&5
29237 sed 's/^/| /' conftest.$ac_ext >&5
29238
29239 eval "$as_ac_var=no"
29240 fi
29241 rm -f conftest.err conftest.$ac_objext \
29242 conftest$ac_exeext conftest.$ac_ext
29243 fi
29244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29246 if test `eval echo '${'$as_ac_var'}'` = yes; then
29247 cat >>confdefs.h <<_ACEOF
29248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29249 _ACEOF
29250 break
29251 fi
29252 done
29253
29254
29255 echo "$as_me:$LINENO: checking for statfs" >&5
29256 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29257 if test "${wx_cv_func_statfs+set}" = set; then
29258 echo $ECHO_N "(cached) $ECHO_C" >&6
29259 else
29260 cat >conftest.$ac_ext <<_ACEOF
29261 /* confdefs.h. */
29262 _ACEOF
29263 cat confdefs.h >>conftest.$ac_ext
29264 cat >>conftest.$ac_ext <<_ACEOF
29265 /* end confdefs.h. */
29266
29267 #if defined(__BSD__)
29268 #include <sys/param.h>
29269 #include <sys/mount.h>
29270 #else
29271 #include <sys/vfs.h>
29272 #endif
29273
29274 int
29275 main ()
29276 {
29277
29278 long l;
29279 struct statfs fs;
29280 statfs("/", &fs);
29281 l = fs.f_bsize;
29282 l += fs.f_blocks;
29283 l += fs.f_bavail;
29284
29285 ;
29286 return 0;
29287 }
29288 _ACEOF
29289 rm -f conftest.$ac_objext
29290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29291 (eval $ac_compile) 2>conftest.er1
29292 ac_status=$?
29293 grep -v '^ *+' conftest.er1 >conftest.err
29294 rm -f conftest.er1
29295 cat conftest.err >&5
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); } &&
29298 { ac_try='test -z "$ac_c_werror_flag"
29299 || test ! -s conftest.err'
29300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29301 (eval $ac_try) 2>&5
29302 ac_status=$?
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); }; } &&
29305 { ac_try='test -s conftest.$ac_objext'
29306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29307 (eval $ac_try) 2>&5
29308 ac_status=$?
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); }; }; then
29311
29312 wx_cv_func_statfs=yes
29313
29314 else
29315 echo "$as_me: failed program was:" >&5
29316 sed 's/^/| /' conftest.$ac_ext >&5
29317
29318
29319 wx_cv_func_statfs=no
29320
29321
29322 fi
29323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29324
29325 fi
29326 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29327 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29328
29329 if test "$wx_cv_func_statfs" = "yes"; then
29330 wx_cv_type_statvfs_t="struct statfs"
29331 cat >>confdefs.h <<\_ACEOF
29332 #define HAVE_STATFS 1
29333 _ACEOF
29334
29335 else
29336 echo "$as_me:$LINENO: checking for statvfs" >&5
29337 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29338 if test "${wx_cv_func_statvfs+set}" = set; then
29339 echo $ECHO_N "(cached) $ECHO_C" >&6
29340 else
29341 cat >conftest.$ac_ext <<_ACEOF
29342 /* confdefs.h. */
29343 _ACEOF
29344 cat confdefs.h >>conftest.$ac_ext
29345 cat >>conftest.$ac_ext <<_ACEOF
29346 /* end confdefs.h. */
29347
29348 #include <stddef.h>
29349 #include <sys/statvfs.h>
29350
29351 int
29352 main ()
29353 {
29354
29355 statvfs("/", NULL);
29356
29357 ;
29358 return 0;
29359 }
29360 _ACEOF
29361 rm -f conftest.$ac_objext
29362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29363 (eval $ac_compile) 2>conftest.er1
29364 ac_status=$?
29365 grep -v '^ *+' conftest.er1 >conftest.err
29366 rm -f conftest.er1
29367 cat conftest.err >&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); } &&
29370 { ac_try='test -z "$ac_c_werror_flag"
29371 || test ! -s conftest.err'
29372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373 (eval $ac_try) 2>&5
29374 ac_status=$?
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); }; } &&
29377 { ac_try='test -s conftest.$ac_objext'
29378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29379 (eval $ac_try) 2>&5
29380 ac_status=$?
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); }; }; then
29383 wx_cv_func_statvfs=yes
29384 else
29385 echo "$as_me: failed program was:" >&5
29386 sed 's/^/| /' conftest.$ac_ext >&5
29387
29388 wx_cv_func_statvfs=no
29389
29390 fi
29391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29392
29393 fi
29394 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29395 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29396
29397 if test "$wx_cv_func_statvfs" = "yes"; then
29398
29399
29400 ac_ext=cc
29401 ac_cpp='$CXXCPP $CPPFLAGS'
29402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29405
29406
29407 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29408 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29409 if test "${wx_cv_type_statvfs_t+set}" = set; then
29410 echo $ECHO_N "(cached) $ECHO_C" >&6
29411 else
29412 cat >conftest.$ac_ext <<_ACEOF
29413 /* confdefs.h. */
29414 _ACEOF
29415 cat confdefs.h >>conftest.$ac_ext
29416 cat >>conftest.$ac_ext <<_ACEOF
29417 /* end confdefs.h. */
29418
29419 #include <sys/statvfs.h>
29420
29421 int
29422 main ()
29423 {
29424
29425 long l;
29426 statvfs_t fs;
29427 statvfs("/", &fs);
29428 l = fs.f_bsize;
29429 l += fs.f_blocks;
29430 l += fs.f_bavail;
29431
29432 ;
29433 return 0;
29434 }
29435 _ACEOF
29436 rm -f conftest.$ac_objext
29437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29438 (eval $ac_compile) 2>conftest.er1
29439 ac_status=$?
29440 grep -v '^ *+' conftest.er1 >conftest.err
29441 rm -f conftest.er1
29442 cat conftest.err >&5
29443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 (exit $ac_status); } &&
29445 { ac_try='test -z "$ac_cxx_werror_flag"
29446 || test ! -s conftest.err'
29447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29448 (eval $ac_try) 2>&5
29449 ac_status=$?
29450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451 (exit $ac_status); }; } &&
29452 { ac_try='test -s conftest.$ac_objext'
29453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29454 (eval $ac_try) 2>&5
29455 ac_status=$?
29456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29457 (exit $ac_status); }; }; then
29458 wx_cv_type_statvfs_t=statvfs_t
29459 else
29460 echo "$as_me: failed program was:" >&5
29461 sed 's/^/| /' conftest.$ac_ext >&5
29462
29463
29464 cat >conftest.$ac_ext <<_ACEOF
29465 /* confdefs.h. */
29466 _ACEOF
29467 cat confdefs.h >>conftest.$ac_ext
29468 cat >>conftest.$ac_ext <<_ACEOF
29469 /* end confdefs.h. */
29470
29471 #include <sys/statvfs.h>
29472
29473 int
29474 main ()
29475 {
29476
29477 long l;
29478 struct statvfs fs;
29479 statvfs("/", &fs);
29480 l = fs.f_bsize;
29481 l += fs.f_blocks;
29482 l += fs.f_bavail;
29483
29484 ;
29485 return 0;
29486 }
29487 _ACEOF
29488 rm -f conftest.$ac_objext
29489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29490 (eval $ac_compile) 2>conftest.er1
29491 ac_status=$?
29492 grep -v '^ *+' conftest.er1 >conftest.err
29493 rm -f conftest.er1
29494 cat conftest.err >&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); } &&
29497 { ac_try='test -z "$ac_cxx_werror_flag"
29498 || test ! -s conftest.err'
29499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29500 (eval $ac_try) 2>&5
29501 ac_status=$?
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); }; } &&
29504 { ac_try='test -s conftest.$ac_objext'
29505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29506 (eval $ac_try) 2>&5
29507 ac_status=$?
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); }; }; then
29510 wx_cv_type_statvfs_t="struct statvfs"
29511 else
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.$ac_ext >&5
29514
29515 wx_cv_type_statvfs_t="unknown"
29516
29517 fi
29518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29519
29520
29521 fi
29522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29523
29524 fi
29525 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29526 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
29527
29528 ac_ext=c
29529 ac_cpp='$CPP $CPPFLAGS'
29530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29533
29534
29535 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29536 cat >>confdefs.h <<\_ACEOF
29537 #define HAVE_STATVFS 1
29538 _ACEOF
29539
29540 fi
29541 else
29542 wx_cv_type_statvfs_t="unknown"
29543 fi
29544 fi
29545
29546 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29547 cat >>confdefs.h <<_ACEOF
29548 #define WX_STATFS_T $wx_cv_type_statvfs_t
29549 _ACEOF
29550
29551 else
29552 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
29553 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
29554 fi
29555
29556 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29557
29558
29559 for ac_func in fcntl flock
29560 do
29561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29562 echo "$as_me:$LINENO: checking for $ac_func" >&5
29563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29564 if eval "test \"\${$as_ac_var+set}\" = set"; then
29565 echo $ECHO_N "(cached) $ECHO_C" >&6
29566 else
29567 cat >conftest.$ac_ext <<_ACEOF
29568 /* confdefs.h. */
29569 _ACEOF
29570 cat confdefs.h >>conftest.$ac_ext
29571 cat >>conftest.$ac_ext <<_ACEOF
29572 /* end confdefs.h. */
29573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29575 #define $ac_func innocuous_$ac_func
29576
29577 /* System header to define __stub macros and hopefully few prototypes,
29578 which can conflict with char $ac_func (); below.
29579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29580 <limits.h> exists even on freestanding compilers. */
29581
29582 #ifdef __STDC__
29583 # include <limits.h>
29584 #else
29585 # include <assert.h>
29586 #endif
29587
29588 #undef $ac_func
29589
29590 /* Override any gcc2 internal prototype to avoid an error. */
29591 #ifdef __cplusplus
29592 extern "C"
29593 {
29594 #endif
29595 /* We use char because int might match the return type of a gcc2
29596 builtin and then its argument prototype would still apply. */
29597 char $ac_func ();
29598 /* The GNU C library defines this for functions which it implements
29599 to always fail with ENOSYS. Some functions are actually named
29600 something starting with __ and the normal name is an alias. */
29601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29602 choke me
29603 #else
29604 char (*f) () = $ac_func;
29605 #endif
29606 #ifdef __cplusplus
29607 }
29608 #endif
29609
29610 int
29611 main ()
29612 {
29613 return f != $ac_func;
29614 ;
29615 return 0;
29616 }
29617 _ACEOF
29618 rm -f conftest.$ac_objext conftest$ac_exeext
29619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29620 (eval $ac_link) 2>conftest.er1
29621 ac_status=$?
29622 grep -v '^ *+' conftest.er1 >conftest.err
29623 rm -f conftest.er1
29624 cat conftest.err >&5
29625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29626 (exit $ac_status); } &&
29627 { ac_try='test -z "$ac_c_werror_flag"
29628 || test ! -s conftest.err'
29629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29630 (eval $ac_try) 2>&5
29631 ac_status=$?
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); }; } &&
29634 { ac_try='test -s conftest$ac_exeext'
29635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29636 (eval $ac_try) 2>&5
29637 ac_status=$?
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); }; }; then
29640 eval "$as_ac_var=yes"
29641 else
29642 echo "$as_me: failed program was:" >&5
29643 sed 's/^/| /' conftest.$ac_ext >&5
29644
29645 eval "$as_ac_var=no"
29646 fi
29647 rm -f conftest.err conftest.$ac_objext \
29648 conftest$ac_exeext conftest.$ac_ext
29649 fi
29650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29652 if test `eval echo '${'$as_ac_var'}'` = yes; then
29653 cat >>confdefs.h <<_ACEOF
29654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29655 _ACEOF
29656 break
29657 fi
29658 done
29659
29660
29661 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
29662 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
29663 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
29664 wxUSE_SNGLINST_CHECKER=no
29665 fi
29666 fi
29667
29668
29669 for ac_func in timegm
29670 do
29671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29672 echo "$as_me:$LINENO: checking for $ac_func" >&5
29673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29674 if eval "test \"\${$as_ac_var+set}\" = set"; then
29675 echo $ECHO_N "(cached) $ECHO_C" >&6
29676 else
29677 cat >conftest.$ac_ext <<_ACEOF
29678 /* confdefs.h. */
29679 _ACEOF
29680 cat confdefs.h >>conftest.$ac_ext
29681 cat >>conftest.$ac_ext <<_ACEOF
29682 /* end confdefs.h. */
29683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29685 #define $ac_func innocuous_$ac_func
29686
29687 /* System header to define __stub macros and hopefully few prototypes,
29688 which can conflict with char $ac_func (); below.
29689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29690 <limits.h> exists even on freestanding compilers. */
29691
29692 #ifdef __STDC__
29693 # include <limits.h>
29694 #else
29695 # include <assert.h>
29696 #endif
29697
29698 #undef $ac_func
29699
29700 /* Override any gcc2 internal prototype to avoid an error. */
29701 #ifdef __cplusplus
29702 extern "C"
29703 {
29704 #endif
29705 /* We use char because int might match the return type of a gcc2
29706 builtin and then its argument prototype would still apply. */
29707 char $ac_func ();
29708 /* The GNU C library defines this for functions which it implements
29709 to always fail with ENOSYS. Some functions are actually named
29710 something starting with __ and the normal name is an alias. */
29711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29712 choke me
29713 #else
29714 char (*f) () = $ac_func;
29715 #endif
29716 #ifdef __cplusplus
29717 }
29718 #endif
29719
29720 int
29721 main ()
29722 {
29723 return f != $ac_func;
29724 ;
29725 return 0;
29726 }
29727 _ACEOF
29728 rm -f conftest.$ac_objext conftest$ac_exeext
29729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29730 (eval $ac_link) 2>conftest.er1
29731 ac_status=$?
29732 grep -v '^ *+' conftest.er1 >conftest.err
29733 rm -f conftest.er1
29734 cat conftest.err >&5
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); } &&
29737 { ac_try='test -z "$ac_c_werror_flag"
29738 || test ! -s conftest.err'
29739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740 (eval $ac_try) 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 eval "$as_ac_var=yes"
29751 else
29752 echo "$as_me: failed program was:" >&5
29753 sed 's/^/| /' conftest.$ac_ext >&5
29754
29755 eval "$as_ac_var=no"
29756 fi
29757 rm -f conftest.err conftest.$ac_objext \
29758 conftest$ac_exeext conftest.$ac_ext
29759 fi
29760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29762 if test `eval echo '${'$as_ac_var'}'` = yes; then
29763 cat >>confdefs.h <<_ACEOF
29764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29765 _ACEOF
29766
29767 fi
29768 done
29769
29770
29771
29772
29773 for ac_func in putenv setenv
29774 do
29775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29776 echo "$as_me:$LINENO: checking for $ac_func" >&5
29777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29778 if eval "test \"\${$as_ac_var+set}\" = set"; then
29779 echo $ECHO_N "(cached) $ECHO_C" >&6
29780 else
29781 cat >conftest.$ac_ext <<_ACEOF
29782 /* confdefs.h. */
29783 _ACEOF
29784 cat confdefs.h >>conftest.$ac_ext
29785 cat >>conftest.$ac_ext <<_ACEOF
29786 /* end confdefs.h. */
29787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29789 #define $ac_func innocuous_$ac_func
29790
29791 /* System header to define __stub macros and hopefully few prototypes,
29792 which can conflict with char $ac_func (); below.
29793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29794 <limits.h> exists even on freestanding compilers. */
29795
29796 #ifdef __STDC__
29797 # include <limits.h>
29798 #else
29799 # include <assert.h>
29800 #endif
29801
29802 #undef $ac_func
29803
29804 /* Override any gcc2 internal prototype to avoid an error. */
29805 #ifdef __cplusplus
29806 extern "C"
29807 {
29808 #endif
29809 /* We use char because int might match the return type of a gcc2
29810 builtin and then its argument prototype would still apply. */
29811 char $ac_func ();
29812 /* The GNU C library defines this for functions which it implements
29813 to always fail with ENOSYS. Some functions are actually named
29814 something starting with __ and the normal name is an alias. */
29815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29816 choke me
29817 #else
29818 char (*f) () = $ac_func;
29819 #endif
29820 #ifdef __cplusplus
29821 }
29822 #endif
29823
29824 int
29825 main ()
29826 {
29827 return f != $ac_func;
29828 ;
29829 return 0;
29830 }
29831 _ACEOF
29832 rm -f conftest.$ac_objext conftest$ac_exeext
29833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29834 (eval $ac_link) 2>conftest.er1
29835 ac_status=$?
29836 grep -v '^ *+' conftest.er1 >conftest.err
29837 rm -f conftest.er1
29838 cat conftest.err >&5
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); } &&
29841 { ac_try='test -z "$ac_c_werror_flag"
29842 || test ! -s conftest.err'
29843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29844 (eval $ac_try) 2>&5
29845 ac_status=$?
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); }; } &&
29848 { ac_try='test -s conftest$ac_exeext'
29849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29850 (eval $ac_try) 2>&5
29851 ac_status=$?
29852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853 (exit $ac_status); }; }; then
29854 eval "$as_ac_var=yes"
29855 else
29856 echo "$as_me: failed program was:" >&5
29857 sed 's/^/| /' conftest.$ac_ext >&5
29858
29859 eval "$as_ac_var=no"
29860 fi
29861 rm -f conftest.err conftest.$ac_objext \
29862 conftest$ac_exeext conftest.$ac_ext
29863 fi
29864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29866 if test `eval echo '${'$as_ac_var'}'` = yes; then
29867 cat >>confdefs.h <<_ACEOF
29868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29869 _ACEOF
29870 break
29871 fi
29872 done
29873
29874
29875 HAVE_SOME_SLEEP_FUNC=0
29876 if test "$USE_BEOS" = 1; then
29877 cat >>confdefs.h <<\_ACEOF
29878 #define HAVE_SLEEP 1
29879 _ACEOF
29880
29881 HAVE_SOME_SLEEP_FUNC=1
29882 fi
29883
29884 if test "$USE_DARWIN" = 1; then
29885 cat >>confdefs.h <<\_ACEOF
29886 #define HAVE_USLEEP 1
29887 _ACEOF
29888
29889 HAVE_SOME_SLEEP_FUNC=1
29890 fi
29891
29892 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
29893 POSIX4_LINK=
29894
29895 for ac_func in nanosleep
29896 do
29897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29898 echo "$as_me:$LINENO: checking for $ac_func" >&5
29899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29900 if eval "test \"\${$as_ac_var+set}\" = set"; then
29901 echo $ECHO_N "(cached) $ECHO_C" >&6
29902 else
29903 cat >conftest.$ac_ext <<_ACEOF
29904 /* confdefs.h. */
29905 _ACEOF
29906 cat confdefs.h >>conftest.$ac_ext
29907 cat >>conftest.$ac_ext <<_ACEOF
29908 /* end confdefs.h. */
29909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29911 #define $ac_func innocuous_$ac_func
29912
29913 /* System header to define __stub macros and hopefully few prototypes,
29914 which can conflict with char $ac_func (); below.
29915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29916 <limits.h> exists even on freestanding compilers. */
29917
29918 #ifdef __STDC__
29919 # include <limits.h>
29920 #else
29921 # include <assert.h>
29922 #endif
29923
29924 #undef $ac_func
29925
29926 /* Override any gcc2 internal prototype to avoid an error. */
29927 #ifdef __cplusplus
29928 extern "C"
29929 {
29930 #endif
29931 /* We use char because int might match the return type of a gcc2
29932 builtin and then its argument prototype would still apply. */
29933 char $ac_func ();
29934 /* The GNU C library defines this for functions which it implements
29935 to always fail with ENOSYS. Some functions are actually named
29936 something starting with __ and the normal name is an alias. */
29937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29938 choke me
29939 #else
29940 char (*f) () = $ac_func;
29941 #endif
29942 #ifdef __cplusplus
29943 }
29944 #endif
29945
29946 int
29947 main ()
29948 {
29949 return f != $ac_func;
29950 ;
29951 return 0;
29952 }
29953 _ACEOF
29954 rm -f conftest.$ac_objext conftest$ac_exeext
29955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29956 (eval $ac_link) 2>conftest.er1
29957 ac_status=$?
29958 grep -v '^ *+' conftest.er1 >conftest.err
29959 rm -f conftest.er1
29960 cat conftest.err >&5
29961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29962 (exit $ac_status); } &&
29963 { ac_try='test -z "$ac_c_werror_flag"
29964 || test ! -s conftest.err'
29965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29966 (eval $ac_try) 2>&5
29967 ac_status=$?
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); }; } &&
29970 { ac_try='test -s conftest$ac_exeext'
29971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972 (eval $ac_try) 2>&5
29973 ac_status=$?
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); }; }; then
29976 eval "$as_ac_var=yes"
29977 else
29978 echo "$as_me: failed program was:" >&5
29979 sed 's/^/| /' conftest.$ac_ext >&5
29980
29981 eval "$as_ac_var=no"
29982 fi
29983 rm -f conftest.err conftest.$ac_objext \
29984 conftest$ac_exeext conftest.$ac_ext
29985 fi
29986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29988 if test `eval echo '${'$as_ac_var'}'` = yes; then
29989 cat >>confdefs.h <<_ACEOF
29990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29991 _ACEOF
29992 cat >>confdefs.h <<\_ACEOF
29993 #define HAVE_NANOSLEEP 1
29994 _ACEOF
29995
29996 else
29997
29998 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
29999 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30000 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30001 echo $ECHO_N "(cached) $ECHO_C" >&6
30002 else
30003 ac_check_lib_save_LIBS=$LIBS
30004 LIBS="-lposix4 $LIBS"
30005 cat >conftest.$ac_ext <<_ACEOF
30006 /* confdefs.h. */
30007 _ACEOF
30008 cat confdefs.h >>conftest.$ac_ext
30009 cat >>conftest.$ac_ext <<_ACEOF
30010 /* end confdefs.h. */
30011
30012 /* Override any gcc2 internal prototype to avoid an error. */
30013 #ifdef __cplusplus
30014 extern "C"
30015 #endif
30016 /* We use char because int might match the return type of a gcc2
30017 builtin and then its argument prototype would still apply. */
30018 char nanosleep ();
30019 int
30020 main ()
30021 {
30022 nanosleep ();
30023 ;
30024 return 0;
30025 }
30026 _ACEOF
30027 rm -f conftest.$ac_objext conftest$ac_exeext
30028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30029 (eval $ac_link) 2>conftest.er1
30030 ac_status=$?
30031 grep -v '^ *+' conftest.er1 >conftest.err
30032 rm -f conftest.er1
30033 cat conftest.err >&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); } &&
30036 { ac_try='test -z "$ac_c_werror_flag"
30037 || test ! -s conftest.err'
30038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30039 (eval $ac_try) 2>&5
30040 ac_status=$?
30041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30042 (exit $ac_status); }; } &&
30043 { ac_try='test -s conftest$ac_exeext'
30044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30045 (eval $ac_try) 2>&5
30046 ac_status=$?
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); }; }; then
30049 ac_cv_lib_posix4_nanosleep=yes
30050 else
30051 echo "$as_me: failed program was:" >&5
30052 sed 's/^/| /' conftest.$ac_ext >&5
30053
30054 ac_cv_lib_posix4_nanosleep=no
30055 fi
30056 rm -f conftest.err conftest.$ac_objext \
30057 conftest$ac_exeext conftest.$ac_ext
30058 LIBS=$ac_check_lib_save_LIBS
30059 fi
30060 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30061 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30062 if test $ac_cv_lib_posix4_nanosleep = yes; then
30063
30064 cat >>confdefs.h <<\_ACEOF
30065 #define HAVE_NANOSLEEP 1
30066 _ACEOF
30067
30068 POSIX4_LINK=" -lposix4"
30069
30070 else
30071
30072
30073 for ac_func in usleep
30074 do
30075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30076 echo "$as_me:$LINENO: checking for $ac_func" >&5
30077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30078 if eval "test \"\${$as_ac_var+set}\" = set"; then
30079 echo $ECHO_N "(cached) $ECHO_C" >&6
30080 else
30081 cat >conftest.$ac_ext <<_ACEOF
30082 /* confdefs.h. */
30083 _ACEOF
30084 cat confdefs.h >>conftest.$ac_ext
30085 cat >>conftest.$ac_ext <<_ACEOF
30086 /* end confdefs.h. */
30087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30089 #define $ac_func innocuous_$ac_func
30090
30091 /* System header to define __stub macros and hopefully few prototypes,
30092 which can conflict with char $ac_func (); below.
30093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30094 <limits.h> exists even on freestanding compilers. */
30095
30096 #ifdef __STDC__
30097 # include <limits.h>
30098 #else
30099 # include <assert.h>
30100 #endif
30101
30102 #undef $ac_func
30103
30104 /* Override any gcc2 internal prototype to avoid an error. */
30105 #ifdef __cplusplus
30106 extern "C"
30107 {
30108 #endif
30109 /* We use char because int might match the return type of a gcc2
30110 builtin and then its argument prototype would still apply. */
30111 char $ac_func ();
30112 /* The GNU C library defines this for functions which it implements
30113 to always fail with ENOSYS. Some functions are actually named
30114 something starting with __ and the normal name is an alias. */
30115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30116 choke me
30117 #else
30118 char (*f) () = $ac_func;
30119 #endif
30120 #ifdef __cplusplus
30121 }
30122 #endif
30123
30124 int
30125 main ()
30126 {
30127 return f != $ac_func;
30128 ;
30129 return 0;
30130 }
30131 _ACEOF
30132 rm -f conftest.$ac_objext conftest$ac_exeext
30133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30134 (eval $ac_link) 2>conftest.er1
30135 ac_status=$?
30136 grep -v '^ *+' conftest.er1 >conftest.err
30137 rm -f conftest.er1
30138 cat conftest.err >&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); } &&
30141 { ac_try='test -z "$ac_c_werror_flag"
30142 || test ! -s conftest.err'
30143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30144 (eval $ac_try) 2>&5
30145 ac_status=$?
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); }; } &&
30148 { ac_try='test -s conftest$ac_exeext'
30149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30150 (eval $ac_try) 2>&5
30151 ac_status=$?
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); }; }; then
30154 eval "$as_ac_var=yes"
30155 else
30156 echo "$as_me: failed program was:" >&5
30157 sed 's/^/| /' conftest.$ac_ext >&5
30158
30159 eval "$as_ac_var=no"
30160 fi
30161 rm -f conftest.err conftest.$ac_objext \
30162 conftest$ac_exeext conftest.$ac_ext
30163 fi
30164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30166 if test `eval echo '${'$as_ac_var'}'` = yes; then
30167 cat >>confdefs.h <<_ACEOF
30168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30169 _ACEOF
30170 cat >>confdefs.h <<\_ACEOF
30171 #define HAVE_USLEEP 1
30172 _ACEOF
30173
30174 else
30175 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30176 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30177
30178 fi
30179 done
30180
30181
30182
30183 fi
30184
30185
30186
30187 fi
30188 done
30189
30190 fi
30191
30192
30193
30194 for ac_func in uname gethostname
30195 do
30196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30197 echo "$as_me:$LINENO: checking for $ac_func" >&5
30198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30199 if eval "test \"\${$as_ac_var+set}\" = set"; then
30200 echo $ECHO_N "(cached) $ECHO_C" >&6
30201 else
30202 cat >conftest.$ac_ext <<_ACEOF
30203 /* confdefs.h. */
30204 _ACEOF
30205 cat confdefs.h >>conftest.$ac_ext
30206 cat >>conftest.$ac_ext <<_ACEOF
30207 /* end confdefs.h. */
30208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30210 #define $ac_func innocuous_$ac_func
30211
30212 /* System header to define __stub macros and hopefully few prototypes,
30213 which can conflict with char $ac_func (); below.
30214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30215 <limits.h> exists even on freestanding compilers. */
30216
30217 #ifdef __STDC__
30218 # include <limits.h>
30219 #else
30220 # include <assert.h>
30221 #endif
30222
30223 #undef $ac_func
30224
30225 /* Override any gcc2 internal prototype to avoid an error. */
30226 #ifdef __cplusplus
30227 extern "C"
30228 {
30229 #endif
30230 /* We use char because int might match the return type of a gcc2
30231 builtin and then its argument prototype would still apply. */
30232 char $ac_func ();
30233 /* The GNU C library defines this for functions which it implements
30234 to always fail with ENOSYS. Some functions are actually named
30235 something starting with __ and the normal name is an alias. */
30236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30237 choke me
30238 #else
30239 char (*f) () = $ac_func;
30240 #endif
30241 #ifdef __cplusplus
30242 }
30243 #endif
30244
30245 int
30246 main ()
30247 {
30248 return f != $ac_func;
30249 ;
30250 return 0;
30251 }
30252 _ACEOF
30253 rm -f conftest.$ac_objext conftest$ac_exeext
30254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30255 (eval $ac_link) 2>conftest.er1
30256 ac_status=$?
30257 grep -v '^ *+' conftest.er1 >conftest.err
30258 rm -f conftest.er1
30259 cat conftest.err >&5
30260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30261 (exit $ac_status); } &&
30262 { ac_try='test -z "$ac_c_werror_flag"
30263 || test ! -s conftest.err'
30264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30265 (eval $ac_try) 2>&5
30266 ac_status=$?
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); }; } &&
30269 { ac_try='test -s conftest$ac_exeext'
30270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30271 (eval $ac_try) 2>&5
30272 ac_status=$?
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); }; }; then
30275 eval "$as_ac_var=yes"
30276 else
30277 echo "$as_me: failed program was:" >&5
30278 sed 's/^/| /' conftest.$ac_ext >&5
30279
30280 eval "$as_ac_var=no"
30281 fi
30282 rm -f conftest.err conftest.$ac_objext \
30283 conftest$ac_exeext conftest.$ac_ext
30284 fi
30285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30287 if test `eval echo '${'$as_ac_var'}'` = yes; then
30288 cat >>confdefs.h <<_ACEOF
30289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30290 _ACEOF
30291 break
30292 fi
30293 done
30294
30295
30296
30297
30298 ac_ext=cc
30299 ac_cpp='$CXXCPP $CPPFLAGS'
30300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30303
30304
30305
30306 for ac_func in strtok_r
30307 do
30308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30309 echo "$as_me:$LINENO: checking for $ac_func" >&5
30310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30311 if eval "test \"\${$as_ac_var+set}\" = set"; then
30312 echo $ECHO_N "(cached) $ECHO_C" >&6
30313 else
30314 cat >conftest.$ac_ext <<_ACEOF
30315 /* confdefs.h. */
30316 _ACEOF
30317 cat confdefs.h >>conftest.$ac_ext
30318 cat >>conftest.$ac_ext <<_ACEOF
30319 /* end confdefs.h. */
30320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30322 #define $ac_func innocuous_$ac_func
30323
30324 /* System header to define __stub macros and hopefully few prototypes,
30325 which can conflict with char $ac_func (); below.
30326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30327 <limits.h> exists even on freestanding compilers. */
30328
30329 #ifdef __STDC__
30330 # include <limits.h>
30331 #else
30332 # include <assert.h>
30333 #endif
30334
30335 #undef $ac_func
30336
30337 /* Override any gcc2 internal prototype to avoid an error. */
30338 #ifdef __cplusplus
30339 extern "C"
30340 {
30341 #endif
30342 /* We use char because int might match the return type of a gcc2
30343 builtin and then its argument prototype would still apply. */
30344 char $ac_func ();
30345 /* The GNU C library defines this for functions which it implements
30346 to always fail with ENOSYS. Some functions are actually named
30347 something starting with __ and the normal name is an alias. */
30348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30349 choke me
30350 #else
30351 char (*f) () = $ac_func;
30352 #endif
30353 #ifdef __cplusplus
30354 }
30355 #endif
30356
30357 int
30358 main ()
30359 {
30360 return f != $ac_func;
30361 ;
30362 return 0;
30363 }
30364 _ACEOF
30365 rm -f conftest.$ac_objext conftest$ac_exeext
30366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30367 (eval $ac_link) 2>conftest.er1
30368 ac_status=$?
30369 grep -v '^ *+' conftest.er1 >conftest.err
30370 rm -f conftest.er1
30371 cat conftest.err >&5
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); } &&
30374 { ac_try='test -z "$ac_cxx_werror_flag"
30375 || test ! -s conftest.err'
30376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30377 (eval $ac_try) 2>&5
30378 ac_status=$?
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); }; } &&
30381 { ac_try='test -s conftest$ac_exeext'
30382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30383 (eval $ac_try) 2>&5
30384 ac_status=$?
30385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386 (exit $ac_status); }; }; then
30387 eval "$as_ac_var=yes"
30388 else
30389 echo "$as_me: failed program was:" >&5
30390 sed 's/^/| /' conftest.$ac_ext >&5
30391
30392 eval "$as_ac_var=no"
30393 fi
30394 rm -f conftest.err conftest.$ac_objext \
30395 conftest$ac_exeext conftest.$ac_ext
30396 fi
30397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30399 if test `eval echo '${'$as_ac_var'}'` = yes; then
30400 cat >>confdefs.h <<_ACEOF
30401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30402 _ACEOF
30403
30404 fi
30405 done
30406
30407
30408 ac_ext=c
30409 ac_cpp='$CPP $CPPFLAGS'
30410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30413
30414
30415 INET_LINK=
30416
30417 for ac_func in inet_addr
30418 do
30419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30420 echo "$as_me:$LINENO: checking for $ac_func" >&5
30421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30422 if eval "test \"\${$as_ac_var+set}\" = set"; then
30423 echo $ECHO_N "(cached) $ECHO_C" >&6
30424 else
30425 cat >conftest.$ac_ext <<_ACEOF
30426 /* confdefs.h. */
30427 _ACEOF
30428 cat confdefs.h >>conftest.$ac_ext
30429 cat >>conftest.$ac_ext <<_ACEOF
30430 /* end confdefs.h. */
30431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30433 #define $ac_func innocuous_$ac_func
30434
30435 /* System header to define __stub macros and hopefully few prototypes,
30436 which can conflict with char $ac_func (); below.
30437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30438 <limits.h> exists even on freestanding compilers. */
30439
30440 #ifdef __STDC__
30441 # include <limits.h>
30442 #else
30443 # include <assert.h>
30444 #endif
30445
30446 #undef $ac_func
30447
30448 /* Override any gcc2 internal prototype to avoid an error. */
30449 #ifdef __cplusplus
30450 extern "C"
30451 {
30452 #endif
30453 /* We use char because int might match the return type of a gcc2
30454 builtin and then its argument prototype would still apply. */
30455 char $ac_func ();
30456 /* The GNU C library defines this for functions which it implements
30457 to always fail with ENOSYS. Some functions are actually named
30458 something starting with __ and the normal name is an alias. */
30459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30460 choke me
30461 #else
30462 char (*f) () = $ac_func;
30463 #endif
30464 #ifdef __cplusplus
30465 }
30466 #endif
30467
30468 int
30469 main ()
30470 {
30471 return f != $ac_func;
30472 ;
30473 return 0;
30474 }
30475 _ACEOF
30476 rm -f conftest.$ac_objext conftest$ac_exeext
30477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30478 (eval $ac_link) 2>conftest.er1
30479 ac_status=$?
30480 grep -v '^ *+' conftest.er1 >conftest.err
30481 rm -f conftest.er1
30482 cat conftest.err >&5
30483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30484 (exit $ac_status); } &&
30485 { ac_try='test -z "$ac_c_werror_flag"
30486 || test ! -s conftest.err'
30487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30488 (eval $ac_try) 2>&5
30489 ac_status=$?
30490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491 (exit $ac_status); }; } &&
30492 { ac_try='test -s conftest$ac_exeext'
30493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30494 (eval $ac_try) 2>&5
30495 ac_status=$?
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); }; }; then
30498 eval "$as_ac_var=yes"
30499 else
30500 echo "$as_me: failed program was:" >&5
30501 sed 's/^/| /' conftest.$ac_ext >&5
30502
30503 eval "$as_ac_var=no"
30504 fi
30505 rm -f conftest.err conftest.$ac_objext \
30506 conftest$ac_exeext conftest.$ac_ext
30507 fi
30508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30510 if test `eval echo '${'$as_ac_var'}'` = yes; then
30511 cat >>confdefs.h <<_ACEOF
30512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30513 _ACEOF
30514 cat >>confdefs.h <<\_ACEOF
30515 #define HAVE_INET_ADDR 1
30516 _ACEOF
30517
30518 else
30519
30520 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30521 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30522 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30523 echo $ECHO_N "(cached) $ECHO_C" >&6
30524 else
30525 ac_check_lib_save_LIBS=$LIBS
30526 LIBS="-lnsl $LIBS"
30527 cat >conftest.$ac_ext <<_ACEOF
30528 /* confdefs.h. */
30529 _ACEOF
30530 cat confdefs.h >>conftest.$ac_ext
30531 cat >>conftest.$ac_ext <<_ACEOF
30532 /* end confdefs.h. */
30533
30534 /* Override any gcc2 internal prototype to avoid an error. */
30535 #ifdef __cplusplus
30536 extern "C"
30537 #endif
30538 /* We use char because int might match the return type of a gcc2
30539 builtin and then its argument prototype would still apply. */
30540 char inet_addr ();
30541 int
30542 main ()
30543 {
30544 inet_addr ();
30545 ;
30546 return 0;
30547 }
30548 _ACEOF
30549 rm -f conftest.$ac_objext conftest$ac_exeext
30550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30551 (eval $ac_link) 2>conftest.er1
30552 ac_status=$?
30553 grep -v '^ *+' conftest.er1 >conftest.err
30554 rm -f conftest.er1
30555 cat conftest.err >&5
30556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30557 (exit $ac_status); } &&
30558 { ac_try='test -z "$ac_c_werror_flag"
30559 || test ! -s conftest.err'
30560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30561 (eval $ac_try) 2>&5
30562 ac_status=$?
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); }; } &&
30565 { ac_try='test -s conftest$ac_exeext'
30566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567 (eval $ac_try) 2>&5
30568 ac_status=$?
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; }; then
30571 ac_cv_lib_nsl_inet_addr=yes
30572 else
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30575
30576 ac_cv_lib_nsl_inet_addr=no
30577 fi
30578 rm -f conftest.err conftest.$ac_objext \
30579 conftest$ac_exeext conftest.$ac_ext
30580 LIBS=$ac_check_lib_save_LIBS
30581 fi
30582 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
30583 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
30584 if test $ac_cv_lib_nsl_inet_addr = yes; then
30585 INET_LINK="nsl"
30586 else
30587
30588 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
30589 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
30590 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
30591 echo $ECHO_N "(cached) $ECHO_C" >&6
30592 else
30593 ac_check_lib_save_LIBS=$LIBS
30594 LIBS="-lresolv $LIBS"
30595 cat >conftest.$ac_ext <<_ACEOF
30596 /* confdefs.h. */
30597 _ACEOF
30598 cat confdefs.h >>conftest.$ac_ext
30599 cat >>conftest.$ac_ext <<_ACEOF
30600 /* end confdefs.h. */
30601
30602 /* Override any gcc2 internal prototype to avoid an error. */
30603 #ifdef __cplusplus
30604 extern "C"
30605 #endif
30606 /* We use char because int might match the return type of a gcc2
30607 builtin and then its argument prototype would still apply. */
30608 char inet_addr ();
30609 int
30610 main ()
30611 {
30612 inet_addr ();
30613 ;
30614 return 0;
30615 }
30616 _ACEOF
30617 rm -f conftest.$ac_objext conftest$ac_exeext
30618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30619 (eval $ac_link) 2>conftest.er1
30620 ac_status=$?
30621 grep -v '^ *+' conftest.er1 >conftest.err
30622 rm -f conftest.er1
30623 cat conftest.err >&5
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); } &&
30626 { ac_try='test -z "$ac_c_werror_flag"
30627 || test ! -s conftest.err'
30628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30629 (eval $ac_try) 2>&5
30630 ac_status=$?
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); }; } &&
30633 { ac_try='test -s conftest$ac_exeext'
30634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30635 (eval $ac_try) 2>&5
30636 ac_status=$?
30637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30638 (exit $ac_status); }; }; then
30639 ac_cv_lib_resolv_inet_addr=yes
30640 else
30641 echo "$as_me: failed program was:" >&5
30642 sed 's/^/| /' conftest.$ac_ext >&5
30643
30644 ac_cv_lib_resolv_inet_addr=no
30645 fi
30646 rm -f conftest.err conftest.$ac_objext \
30647 conftest$ac_exeext conftest.$ac_ext
30648 LIBS=$ac_check_lib_save_LIBS
30649 fi
30650 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
30651 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
30652 if test $ac_cv_lib_resolv_inet_addr = yes; then
30653 INET_LINK="resolv"
30654 else
30655
30656 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
30657 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
30658 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
30659 echo $ECHO_N "(cached) $ECHO_C" >&6
30660 else
30661 ac_check_lib_save_LIBS=$LIBS
30662 LIBS="-lsocket $LIBS"
30663 cat >conftest.$ac_ext <<_ACEOF
30664 /* confdefs.h. */
30665 _ACEOF
30666 cat confdefs.h >>conftest.$ac_ext
30667 cat >>conftest.$ac_ext <<_ACEOF
30668 /* end confdefs.h. */
30669
30670 /* Override any gcc2 internal prototype to avoid an error. */
30671 #ifdef __cplusplus
30672 extern "C"
30673 #endif
30674 /* We use char because int might match the return type of a gcc2
30675 builtin and then its argument prototype would still apply. */
30676 char inet_addr ();
30677 int
30678 main ()
30679 {
30680 inet_addr ();
30681 ;
30682 return 0;
30683 }
30684 _ACEOF
30685 rm -f conftest.$ac_objext conftest$ac_exeext
30686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30687 (eval $ac_link) 2>conftest.er1
30688 ac_status=$?
30689 grep -v '^ *+' conftest.er1 >conftest.err
30690 rm -f conftest.er1
30691 cat conftest.err >&5
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); } &&
30694 { ac_try='test -z "$ac_c_werror_flag"
30695 || test ! -s conftest.err'
30696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30697 (eval $ac_try) 2>&5
30698 ac_status=$?
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); }; } &&
30701 { ac_try='test -s conftest$ac_exeext'
30702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30703 (eval $ac_try) 2>&5
30704 ac_status=$?
30705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30706 (exit $ac_status); }; }; then
30707 ac_cv_lib_socket_inet_addr=yes
30708 else
30709 echo "$as_me: failed program was:" >&5
30710 sed 's/^/| /' conftest.$ac_ext >&5
30711
30712 ac_cv_lib_socket_inet_addr=no
30713 fi
30714 rm -f conftest.err conftest.$ac_objext \
30715 conftest$ac_exeext conftest.$ac_ext
30716 LIBS=$ac_check_lib_save_LIBS
30717 fi
30718 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
30719 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
30720 if test $ac_cv_lib_socket_inet_addr = yes; then
30721 INET_LINK="socket"
30722
30723 fi
30724
30725
30726
30727 fi
30728
30729
30730
30731 fi
30732
30733
30734
30735 fi
30736 done
30737
30738
30739
30740 for ac_func in inet_aton
30741 do
30742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30743 echo "$as_me:$LINENO: checking for $ac_func" >&5
30744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30745 if eval "test \"\${$as_ac_var+set}\" = set"; then
30746 echo $ECHO_N "(cached) $ECHO_C" >&6
30747 else
30748 cat >conftest.$ac_ext <<_ACEOF
30749 /* confdefs.h. */
30750 _ACEOF
30751 cat confdefs.h >>conftest.$ac_ext
30752 cat >>conftest.$ac_ext <<_ACEOF
30753 /* end confdefs.h. */
30754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30756 #define $ac_func innocuous_$ac_func
30757
30758 /* System header to define __stub macros and hopefully few prototypes,
30759 which can conflict with char $ac_func (); below.
30760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30761 <limits.h> exists even on freestanding compilers. */
30762
30763 #ifdef __STDC__
30764 # include <limits.h>
30765 #else
30766 # include <assert.h>
30767 #endif
30768
30769 #undef $ac_func
30770
30771 /* Override any gcc2 internal prototype to avoid an error. */
30772 #ifdef __cplusplus
30773 extern "C"
30774 {
30775 #endif
30776 /* We use char because int might match the return type of a gcc2
30777 builtin and then its argument prototype would still apply. */
30778 char $ac_func ();
30779 /* The GNU C library defines this for functions which it implements
30780 to always fail with ENOSYS. Some functions are actually named
30781 something starting with __ and the normal name is an alias. */
30782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30783 choke me
30784 #else
30785 char (*f) () = $ac_func;
30786 #endif
30787 #ifdef __cplusplus
30788 }
30789 #endif
30790
30791 int
30792 main ()
30793 {
30794 return f != $ac_func;
30795 ;
30796 return 0;
30797 }
30798 _ACEOF
30799 rm -f conftest.$ac_objext conftest$ac_exeext
30800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30801 (eval $ac_link) 2>conftest.er1
30802 ac_status=$?
30803 grep -v '^ *+' conftest.er1 >conftest.err
30804 rm -f conftest.er1
30805 cat conftest.err >&5
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); } &&
30808 { ac_try='test -z "$ac_c_werror_flag"
30809 || test ! -s conftest.err'
30810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30811 (eval $ac_try) 2>&5
30812 ac_status=$?
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); }; } &&
30815 { ac_try='test -s conftest$ac_exeext'
30816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30817 (eval $ac_try) 2>&5
30818 ac_status=$?
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); }; }; then
30821 eval "$as_ac_var=yes"
30822 else
30823 echo "$as_me: failed program was:" >&5
30824 sed 's/^/| /' conftest.$ac_ext >&5
30825
30826 eval "$as_ac_var=no"
30827 fi
30828 rm -f conftest.err conftest.$ac_objext \
30829 conftest$ac_exeext conftest.$ac_ext
30830 fi
30831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30833 if test `eval echo '${'$as_ac_var'}'` = yes; then
30834 cat >>confdefs.h <<_ACEOF
30835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30836 _ACEOF
30837 cat >>confdefs.h <<\_ACEOF
30838 #define HAVE_INET_ATON 1
30839 _ACEOF
30840
30841 else
30842
30843 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
30844 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
30845 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
30846 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
30847 echo $ECHO_N "(cached) $ECHO_C" >&6
30848 else
30849 ac_check_lib_save_LIBS=$LIBS
30850 LIBS="-l$INET_LINK $LIBS"
30851 cat >conftest.$ac_ext <<_ACEOF
30852 /* confdefs.h. */
30853 _ACEOF
30854 cat confdefs.h >>conftest.$ac_ext
30855 cat >>conftest.$ac_ext <<_ACEOF
30856 /* end confdefs.h. */
30857
30858 /* Override any gcc2 internal prototype to avoid an error. */
30859 #ifdef __cplusplus
30860 extern "C"
30861 #endif
30862 /* We use char because int might match the return type of a gcc2
30863 builtin and then its argument prototype would still apply. */
30864 char inet_aton ();
30865 int
30866 main ()
30867 {
30868 inet_aton ();
30869 ;
30870 return 0;
30871 }
30872 _ACEOF
30873 rm -f conftest.$ac_objext conftest$ac_exeext
30874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30875 (eval $ac_link) 2>conftest.er1
30876 ac_status=$?
30877 grep -v '^ *+' conftest.er1 >conftest.err
30878 rm -f conftest.er1
30879 cat conftest.err >&5
30880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30881 (exit $ac_status); } &&
30882 { ac_try='test -z "$ac_c_werror_flag"
30883 || test ! -s conftest.err'
30884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30885 (eval $ac_try) 2>&5
30886 ac_status=$?
30887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30888 (exit $ac_status); }; } &&
30889 { ac_try='test -s conftest$ac_exeext'
30890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30891 (eval $ac_try) 2>&5
30892 ac_status=$?
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); }; }; then
30895 eval "$as_ac_Lib=yes"
30896 else
30897 echo "$as_me: failed program was:" >&5
30898 sed 's/^/| /' conftest.$ac_ext >&5
30899
30900 eval "$as_ac_Lib=no"
30901 fi
30902 rm -f conftest.err conftest.$ac_objext \
30903 conftest$ac_exeext conftest.$ac_ext
30904 LIBS=$ac_check_lib_save_LIBS
30905 fi
30906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
30907 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
30908 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
30909 cat >>confdefs.h <<\_ACEOF
30910 #define HAVE_INET_ATON 1
30911 _ACEOF
30912
30913 fi
30914
30915
30916 fi
30917 done
30918
30919
30920 if test "x$INET_LINK" != "x"; then
30921 cat >>confdefs.h <<\_ACEOF
30922 #define HAVE_INET_ADDR 1
30923 _ACEOF
30924
30925 INET_LINK=" -l$INET_LINK"
30926 fi
30927
30928 fi
30929
30930
30931
30932 EXTRALIBS_ESD=
30933 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
30934 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
30935 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
30936 echo $ECHO_N "(cached) $ECHO_C" >&6
30937 else
30938 ac_check_lib_save_LIBS=$LIBS
30939 LIBS="-lesd $LIBS"
30940 cat >conftest.$ac_ext <<_ACEOF
30941 /* confdefs.h. */
30942 _ACEOF
30943 cat confdefs.h >>conftest.$ac_ext
30944 cat >>conftest.$ac_ext <<_ACEOF
30945 /* end confdefs.h. */
30946
30947 /* Override any gcc2 internal prototype to avoid an error. */
30948 #ifdef __cplusplus
30949 extern "C"
30950 #endif
30951 /* We use char because int might match the return type of a gcc2
30952 builtin and then its argument prototype would still apply. */
30953 char esd_close ();
30954 int
30955 main ()
30956 {
30957 esd_close ();
30958 ;
30959 return 0;
30960 }
30961 _ACEOF
30962 rm -f conftest.$ac_objext conftest$ac_exeext
30963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30964 (eval $ac_link) 2>conftest.er1
30965 ac_status=$?
30966 grep -v '^ *+' conftest.er1 >conftest.err
30967 rm -f conftest.er1
30968 cat conftest.err >&5
30969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30970 (exit $ac_status); } &&
30971 { ac_try='test -z "$ac_c_werror_flag"
30972 || test ! -s conftest.err'
30973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30974 (eval $ac_try) 2>&5
30975 ac_status=$?
30976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30977 (exit $ac_status); }; } &&
30978 { ac_try='test -s conftest$ac_exeext'
30979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30980 (eval $ac_try) 2>&5
30981 ac_status=$?
30982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983 (exit $ac_status); }; }; then
30984 ac_cv_lib_esd_esd_close=yes
30985 else
30986 echo "$as_me: failed program was:" >&5
30987 sed 's/^/| /' conftest.$ac_ext >&5
30988
30989 ac_cv_lib_esd_esd_close=no
30990 fi
30991 rm -f conftest.err conftest.$ac_objext \
30992 conftest$ac_exeext conftest.$ac_ext
30993 LIBS=$ac_check_lib_save_LIBS
30994 fi
30995 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
30996 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
30997 if test $ac_cv_lib_esd_esd_close = yes; then
30998
30999
31000 for ac_header in esd.h
31001 do
31002 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31004 echo "$as_me:$LINENO: checking for $ac_header" >&5
31005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31007 echo $ECHO_N "(cached) $ECHO_C" >&6
31008 fi
31009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31011 else
31012 # Is the header compilable?
31013 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31014 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31015 cat >conftest.$ac_ext <<_ACEOF
31016 /* confdefs.h. */
31017 _ACEOF
31018 cat confdefs.h >>conftest.$ac_ext
31019 cat >>conftest.$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31021 $ac_includes_default
31022 #include <$ac_header>
31023 _ACEOF
31024 rm -f conftest.$ac_objext
31025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31026 (eval $ac_compile) 2>conftest.er1
31027 ac_status=$?
31028 grep -v '^ *+' conftest.er1 >conftest.err
31029 rm -f conftest.er1
31030 cat conftest.err >&5
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); } &&
31033 { ac_try='test -z "$ac_c_werror_flag"
31034 || test ! -s conftest.err'
31035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31036 (eval $ac_try) 2>&5
31037 ac_status=$?
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); }; } &&
31040 { ac_try='test -s conftest.$ac_objext'
31041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31042 (eval $ac_try) 2>&5
31043 ac_status=$?
31044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045 (exit $ac_status); }; }; then
31046 ac_header_compiler=yes
31047 else
31048 echo "$as_me: failed program was:" >&5
31049 sed 's/^/| /' conftest.$ac_ext >&5
31050
31051 ac_header_compiler=no
31052 fi
31053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31054 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31055 echo "${ECHO_T}$ac_header_compiler" >&6
31056
31057 # Is the header present?
31058 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31059 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31060 cat >conftest.$ac_ext <<_ACEOF
31061 /* confdefs.h. */
31062 _ACEOF
31063 cat confdefs.h >>conftest.$ac_ext
31064 cat >>conftest.$ac_ext <<_ACEOF
31065 /* end confdefs.h. */
31066 #include <$ac_header>
31067 _ACEOF
31068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31069 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31070 ac_status=$?
31071 grep -v '^ *+' conftest.er1 >conftest.err
31072 rm -f conftest.er1
31073 cat conftest.err >&5
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); } >/dev/null; then
31076 if test -s conftest.err; then
31077 ac_cpp_err=$ac_c_preproc_warn_flag
31078 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31079 else
31080 ac_cpp_err=
31081 fi
31082 else
31083 ac_cpp_err=yes
31084 fi
31085 if test -z "$ac_cpp_err"; then
31086 ac_header_preproc=yes
31087 else
31088 echo "$as_me: failed program was:" >&5
31089 sed 's/^/| /' conftest.$ac_ext >&5
31090
31091 ac_header_preproc=no
31092 fi
31093 rm -f conftest.err conftest.$ac_ext
31094 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31095 echo "${ECHO_T}$ac_header_preproc" >&6
31096
31097 # So? What about this header?
31098 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31099 yes:no: )
31100 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31101 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31103 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31104 ac_header_preproc=yes
31105 ;;
31106 no:yes:* )
31107 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31108 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31109 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31110 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31111 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31112 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31113 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31114 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31116 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31117 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31118 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31119 (
31120 cat <<\_ASBOX
31121 ## ----------------------------------------- ##
31122 ## Report this to wx-dev@lists.wxwindows.org ##
31123 ## ----------------------------------------- ##
31124 _ASBOX
31125 ) |
31126 sed "s/^/$as_me: WARNING: /" >&2
31127 ;;
31128 esac
31129 echo "$as_me:$LINENO: checking for $ac_header" >&5
31130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31133 else
31134 eval "$as_ac_Header=\$ac_header_preproc"
31135 fi
31136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31138
31139 fi
31140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31141 cat >>confdefs.h <<_ACEOF
31142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31143 _ACEOF
31144
31145 EXTRALIBS_ESD="-lesd"
31146
31147 fi
31148
31149 done
31150
31151
31152 fi
31153
31154
31155
31156 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31157 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31158 cat >conftest.$ac_ext <<_ACEOF
31159 /* confdefs.h. */
31160 _ACEOF
31161 cat confdefs.h >>conftest.$ac_ext
31162 cat >>conftest.$ac_ext <<_ACEOF
31163 /* end confdefs.h. */
31164 #ifdef __linux__
31165 #include <linux/cdrom.h>
31166 #else
31167 /* For Solaris */
31168 #include <sys/cdio.h>
31169 #endif
31170
31171 int
31172 main ()
31173 {
31174 struct cdrom_tocentry entry, old_entry;
31175 ;
31176 return 0;
31177 }
31178 _ACEOF
31179 rm -f conftest.$ac_objext
31180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31181 (eval $ac_compile) 2>conftest.er1
31182 ac_status=$?
31183 grep -v '^ *+' conftest.er1 >conftest.err
31184 rm -f conftest.er1
31185 cat conftest.err >&5
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); } &&
31188 { ac_try='test -z "$ac_c_werror_flag"
31189 || test ! -s conftest.err'
31190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31191 (eval $ac_try) 2>&5
31192 ac_status=$?
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); }; } &&
31195 { ac_try='test -s conftest.$ac_objext'
31196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31197 (eval $ac_try) 2>&5
31198 ac_status=$?
31199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31200 (exit $ac_status); }; }; then
31201 echo "$as_me:$LINENO: result: yes" >&5
31202 echo "${ECHO_T}yes" >&6
31203 cat >>confdefs.h <<\_ACEOF
31204 #define HAVE_KNOWN_CDROM_INTERFACE 1
31205 _ACEOF
31206
31207 else
31208 echo "$as_me: failed program was:" >&5
31209 sed 's/^/| /' conftest.$ac_ext >&5
31210
31211 echo "$as_me:$LINENO: result: no" >&5
31212 echo "${ECHO_T}no" >&6
31213 fi
31214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31215
31216
31217 cat >confcache <<\_ACEOF
31218 # This file is a shell script that caches the results of configure
31219 # tests run on this system so they can be shared between configure
31220 # scripts and configure runs, see configure's option --config-cache.
31221 # It is not useful on other systems. If it contains results you don't
31222 # want to keep, you may remove or edit it.
31223 #
31224 # config.status only pays attention to the cache file if you give it
31225 # the --recheck option to rerun configure.
31226 #
31227 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31228 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31229 # following values.
31230
31231 _ACEOF
31232
31233 # The following way of writing the cache mishandles newlines in values,
31234 # but we know of no workaround that is simple, portable, and efficient.
31235 # So, don't put newlines in cache variables' values.
31236 # Ultrix sh set writes to stderr and can't be redirected directly,
31237 # and sets the high bit in the cache file unless we assign to the vars.
31238 {
31239 (set) 2>&1 |
31240 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31241 *ac_space=\ *)
31242 # `set' does not quote correctly, so add quotes (double-quote
31243 # substitution turns \\\\ into \\, and sed turns \\ into \).
31244 sed -n \
31245 "s/'/'\\\\''/g;
31246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31247 ;;
31248 *)
31249 # `set' quotes correctly as required by POSIX, so do not add quotes.
31250 sed -n \
31251 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31252 ;;
31253 esac;
31254 } |
31255 sed '
31256 t clear
31257 : clear
31258 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31259 t end
31260 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31261 : end' >>confcache
31262 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31263 if test -w $cache_file; then
31264 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31265 cat confcache >$cache_file
31266 else
31267 echo "not updating unwritable cache $cache_file"
31268 fi
31269 fi
31270 rm -f confcache
31271
31272
31273 CPP_MT_FLAG=
31274 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31275
31276
31277 THREADS_LINK=
31278 THREADS_CFLAGS=
31279
31280 if test "$wxUSE_THREADS" = "yes" ; then
31281 if test "$USE_BEOS" = 1; then
31282 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31283 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31284 wxUSE_THREADS="no"
31285 fi
31286 fi
31287
31288 if test "$wxUSE_THREADS" = "yes" ; then
31289
31290
31291 THREAD_OPTS="-pthread"
31292 case "${host}" in
31293 *-*-solaris2* | *-*-sunos4* )
31294 if test "x$GCC" = "xyes"; then
31295 THREAD_OPTS="-pthreads $THREAD_OPTS"
31296 else
31297 THREAD_OPTS="-mt $THREAD_OPTS"
31298 fi
31299 ;;
31300 *-*-freebsd*)
31301 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31302 ;;
31303 *-*-darwin* | *-*-cygwin* )
31304 THREAD_OPTS=""
31305 ;;
31306 *-*-aix*)
31307 THREAD_OPTS="pthreads"
31308 ;;
31309 *-hp-hpux* )
31310 if test "x$GCC" != "xyes"; then
31311 THREAD_OPTS=""
31312 fi
31313 ;;
31314
31315 *-*-irix* )
31316 if test "x$GCC" = "xyes"; then
31317 THREAD_OPTS=""
31318 fi
31319 ;;
31320
31321 *-*-*UnixWare*)
31322 if test "x$GCC" != "xyes"; then
31323 THREAD_OPTS="-Ethread"
31324 fi
31325 ;;
31326 esac
31327
31328 THREAD_OPTS="$THREAD_OPTS pthread none"
31329
31330 THREADS_OK=no
31331 for flag in $THREAD_OPTS; do
31332 case $flag in
31333 none)
31334 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31335 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31336 ;;
31337
31338 -*)
31339 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31340 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31341 THREADS_CFLAGS="$flag"
31342 ;;
31343
31344 *)
31345 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31346 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31347 THREADS_LINK="-l$flag"
31348 ;;
31349 esac
31350
31351 save_LIBS="$LIBS"
31352 save_CFLAGS="$CFLAGS"
31353 LIBS="$THREADS_LINK $LIBS"
31354 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31355
31356 cat >conftest.$ac_ext <<_ACEOF
31357 /* confdefs.h. */
31358 _ACEOF
31359 cat confdefs.h >>conftest.$ac_ext
31360 cat >>conftest.$ac_ext <<_ACEOF
31361 /* end confdefs.h. */
31362 #include <pthread.h>
31363 int
31364 main ()
31365 {
31366 pthread_create(0,0,0,0);
31367 ;
31368 return 0;
31369 }
31370 _ACEOF
31371 rm -f conftest.$ac_objext conftest$ac_exeext
31372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31373 (eval $ac_link) 2>conftest.er1
31374 ac_status=$?
31375 grep -v '^ *+' conftest.er1 >conftest.err
31376 rm -f conftest.er1
31377 cat conftest.err >&5
31378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31379 (exit $ac_status); } &&
31380 { ac_try='test -z "$ac_c_werror_flag"
31381 || test ! -s conftest.err'
31382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31383 (eval $ac_try) 2>&5
31384 ac_status=$?
31385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31386 (exit $ac_status); }; } &&
31387 { ac_try='test -s conftest$ac_exeext'
31388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31389 (eval $ac_try) 2>&5
31390 ac_status=$?
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); }; }; then
31393 THREADS_OK=yes
31394 else
31395 echo "$as_me: failed program was:" >&5
31396 sed 's/^/| /' conftest.$ac_ext >&5
31397
31398 fi
31399 rm -f conftest.err conftest.$ac_objext \
31400 conftest$ac_exeext conftest.$ac_ext
31401
31402 LIBS="$save_LIBS"
31403 CFLAGS="$save_CFLAGS"
31404
31405 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31406 echo "${ECHO_T}$THREADS_OK" >&6
31407 if test "x$THREADS_OK" = "xyes"; then
31408 break;
31409 fi
31410
31411 THREADS_LINK=""
31412 THREADS_CFLAGS=""
31413 done
31414
31415 if test "x$THREADS_OK" != "xyes"; then
31416 wxUSE_THREADS=no
31417 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31418 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31419 else
31420 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31421 LIBS="$THREADS_LINK $LIBS"
31422
31423 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31424 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31425 flag=no
31426 case "${host}" in
31427 *-aix*)
31428 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31429 flag="-D_THREAD_SAFE"
31430 ;;
31431 *-freebsd*)
31432 flag="-D_THREAD_SAFE"
31433 ;;
31434 *-hp-hpux* )
31435 flag="-D_REENTRANT"
31436 if test "x$GCC" != "xyes"; then
31437 flag="$flag -D_RWSTD_MULTI_THREAD"
31438 fi
31439 ;;
31440 *solaris* | alpha*-osf*)
31441 flag="-D_REENTRANT"
31442 ;;
31443 esac
31444 echo "$as_me:$LINENO: result: ${flag}" >&5
31445 echo "${ECHO_T}${flag}" >&6
31446 if test "x$flag" != xno; then
31447 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31448 fi
31449
31450 if test "x$THREADS_CFLAGS" != "x"; then
31451 CFLAGS="$CFLAGS $THREADS_CFLAGS"
31452 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
31453 fi
31454 fi
31455 fi
31456
31457 if test "$wxUSE_THREADS" = "yes" ; then
31458
31459 for ac_func in thr_setconcurrency
31460 do
31461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31462 echo "$as_me:$LINENO: checking for $ac_func" >&5
31463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31464 if eval "test \"\${$as_ac_var+set}\" = set"; then
31465 echo $ECHO_N "(cached) $ECHO_C" >&6
31466 else
31467 cat >conftest.$ac_ext <<_ACEOF
31468 /* confdefs.h. */
31469 _ACEOF
31470 cat confdefs.h >>conftest.$ac_ext
31471 cat >>conftest.$ac_ext <<_ACEOF
31472 /* end confdefs.h. */
31473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31475 #define $ac_func innocuous_$ac_func
31476
31477 /* System header to define __stub macros and hopefully few prototypes,
31478 which can conflict with char $ac_func (); below.
31479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31480 <limits.h> exists even on freestanding compilers. */
31481
31482 #ifdef __STDC__
31483 # include <limits.h>
31484 #else
31485 # include <assert.h>
31486 #endif
31487
31488 #undef $ac_func
31489
31490 /* Override any gcc2 internal prototype to avoid an error. */
31491 #ifdef __cplusplus
31492 extern "C"
31493 {
31494 #endif
31495 /* We use char because int might match the return type of a gcc2
31496 builtin and then its argument prototype would still apply. */
31497 char $ac_func ();
31498 /* The GNU C library defines this for functions which it implements
31499 to always fail with ENOSYS. Some functions are actually named
31500 something starting with __ and the normal name is an alias. */
31501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31502 choke me
31503 #else
31504 char (*f) () = $ac_func;
31505 #endif
31506 #ifdef __cplusplus
31507 }
31508 #endif
31509
31510 int
31511 main ()
31512 {
31513 return f != $ac_func;
31514 ;
31515 return 0;
31516 }
31517 _ACEOF
31518 rm -f conftest.$ac_objext conftest$ac_exeext
31519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31520 (eval $ac_link) 2>conftest.er1
31521 ac_status=$?
31522 grep -v '^ *+' conftest.er1 >conftest.err
31523 rm -f conftest.er1
31524 cat conftest.err >&5
31525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31526 (exit $ac_status); } &&
31527 { ac_try='test -z "$ac_c_werror_flag"
31528 || test ! -s conftest.err'
31529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31530 (eval $ac_try) 2>&5
31531 ac_status=$?
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); }; } &&
31534 { ac_try='test -s conftest$ac_exeext'
31535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31536 (eval $ac_try) 2>&5
31537 ac_status=$?
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); }; }; then
31540 eval "$as_ac_var=yes"
31541 else
31542 echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.$ac_ext >&5
31544
31545 eval "$as_ac_var=no"
31546 fi
31547 rm -f conftest.err conftest.$ac_objext \
31548 conftest$ac_exeext conftest.$ac_ext
31549 fi
31550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31552 if test `eval echo '${'$as_ac_var'}'` = yes; then
31553 cat >>confdefs.h <<_ACEOF
31554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31555 _ACEOF
31556
31557 fi
31558 done
31559
31560
31561
31562 for ac_header in sched.h
31563 do
31564 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31566 echo "$as_me:$LINENO: checking for $ac_header" >&5
31567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31569 echo $ECHO_N "(cached) $ECHO_C" >&6
31570 fi
31571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31573 else
31574 # Is the header compilable?
31575 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31576 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31577 cat >conftest.$ac_ext <<_ACEOF
31578 /* confdefs.h. */
31579 _ACEOF
31580 cat confdefs.h >>conftest.$ac_ext
31581 cat >>conftest.$ac_ext <<_ACEOF
31582 /* end confdefs.h. */
31583 $ac_includes_default
31584 #include <$ac_header>
31585 _ACEOF
31586 rm -f conftest.$ac_objext
31587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31588 (eval $ac_compile) 2>conftest.er1
31589 ac_status=$?
31590 grep -v '^ *+' conftest.er1 >conftest.err
31591 rm -f conftest.er1
31592 cat conftest.err >&5
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); } &&
31595 { ac_try='test -z "$ac_c_werror_flag"
31596 || test ! -s conftest.err'
31597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31598 (eval $ac_try) 2>&5
31599 ac_status=$?
31600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31601 (exit $ac_status); }; } &&
31602 { ac_try='test -s conftest.$ac_objext'
31603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31604 (eval $ac_try) 2>&5
31605 ac_status=$?
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); }; }; then
31608 ac_header_compiler=yes
31609 else
31610 echo "$as_me: failed program was:" >&5
31611 sed 's/^/| /' conftest.$ac_ext >&5
31612
31613 ac_header_compiler=no
31614 fi
31615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31616 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31617 echo "${ECHO_T}$ac_header_compiler" >&6
31618
31619 # Is the header present?
31620 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31621 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31622 cat >conftest.$ac_ext <<_ACEOF
31623 /* confdefs.h. */
31624 _ACEOF
31625 cat confdefs.h >>conftest.$ac_ext
31626 cat >>conftest.$ac_ext <<_ACEOF
31627 /* end confdefs.h. */
31628 #include <$ac_header>
31629 _ACEOF
31630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31631 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31632 ac_status=$?
31633 grep -v '^ *+' conftest.er1 >conftest.err
31634 rm -f conftest.er1
31635 cat conftest.err >&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); } >/dev/null; then
31638 if test -s conftest.err; then
31639 ac_cpp_err=$ac_c_preproc_warn_flag
31640 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31641 else
31642 ac_cpp_err=
31643 fi
31644 else
31645 ac_cpp_err=yes
31646 fi
31647 if test -z "$ac_cpp_err"; then
31648 ac_header_preproc=yes
31649 else
31650 echo "$as_me: failed program was:" >&5
31651 sed 's/^/| /' conftest.$ac_ext >&5
31652
31653 ac_header_preproc=no
31654 fi
31655 rm -f conftest.err conftest.$ac_ext
31656 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31657 echo "${ECHO_T}$ac_header_preproc" >&6
31658
31659 # So? What about this header?
31660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31661 yes:no: )
31662 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31663 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31665 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31666 ac_header_preproc=yes
31667 ;;
31668 no:yes:* )
31669 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31670 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31671 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31672 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31673 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31674 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31675 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31676 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31678 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31679 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31680 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31681 (
31682 cat <<\_ASBOX
31683 ## ----------------------------------------- ##
31684 ## Report this to wx-dev@lists.wxwindows.org ##
31685 ## ----------------------------------------- ##
31686 _ASBOX
31687 ) |
31688 sed "s/^/$as_me: WARNING: /" >&2
31689 ;;
31690 esac
31691 echo "$as_me:$LINENO: checking for $ac_header" >&5
31692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31694 echo $ECHO_N "(cached) $ECHO_C" >&6
31695 else
31696 eval "$as_ac_Header=\$ac_header_preproc"
31697 fi
31698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31700
31701 fi
31702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31703 cat >>confdefs.h <<_ACEOF
31704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31705 _ACEOF
31706
31707 fi
31708
31709 done
31710
31711 if test "$ac_cv_header_sched_h" = "yes"; then
31712 echo "$as_me:$LINENO: checking for sched_yield" >&5
31713 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
31714 if test "${ac_cv_func_sched_yield+set}" = set; then
31715 echo $ECHO_N "(cached) $ECHO_C" >&6
31716 else
31717 cat >conftest.$ac_ext <<_ACEOF
31718 /* confdefs.h. */
31719 _ACEOF
31720 cat confdefs.h >>conftest.$ac_ext
31721 cat >>conftest.$ac_ext <<_ACEOF
31722 /* end confdefs.h. */
31723 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
31724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31725 #define sched_yield innocuous_sched_yield
31726
31727 /* System header to define __stub macros and hopefully few prototypes,
31728 which can conflict with char sched_yield (); below.
31729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31730 <limits.h> exists even on freestanding compilers. */
31731
31732 #ifdef __STDC__
31733 # include <limits.h>
31734 #else
31735 # include <assert.h>
31736 #endif
31737
31738 #undef sched_yield
31739
31740 /* Override any gcc2 internal prototype to avoid an error. */
31741 #ifdef __cplusplus
31742 extern "C"
31743 {
31744 #endif
31745 /* We use char because int might match the return type of a gcc2
31746 builtin and then its argument prototype would still apply. */
31747 char sched_yield ();
31748 /* The GNU C library defines this for functions which it implements
31749 to always fail with ENOSYS. Some functions are actually named
31750 something starting with __ and the normal name is an alias. */
31751 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
31752 choke me
31753 #else
31754 char (*f) () = sched_yield;
31755 #endif
31756 #ifdef __cplusplus
31757 }
31758 #endif
31759
31760 int
31761 main ()
31762 {
31763 return f != sched_yield;
31764 ;
31765 return 0;
31766 }
31767 _ACEOF
31768 rm -f conftest.$ac_objext conftest$ac_exeext
31769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31770 (eval $ac_link) 2>conftest.er1
31771 ac_status=$?
31772 grep -v '^ *+' conftest.er1 >conftest.err
31773 rm -f conftest.er1
31774 cat conftest.err >&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } &&
31777 { ac_try='test -z "$ac_c_werror_flag"
31778 || test ! -s conftest.err'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31781 ac_status=$?
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; } &&
31784 { ac_try='test -s conftest$ac_exeext'
31785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31786 (eval $ac_try) 2>&5
31787 ac_status=$?
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); }; }; then
31790 ac_cv_func_sched_yield=yes
31791 else
31792 echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.$ac_ext >&5
31794
31795 ac_cv_func_sched_yield=no
31796 fi
31797 rm -f conftest.err conftest.$ac_objext \
31798 conftest$ac_exeext conftest.$ac_ext
31799 fi
31800 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
31801 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
31802 if test $ac_cv_func_sched_yield = yes; then
31803 cat >>confdefs.h <<\_ACEOF
31804 #define HAVE_SCHED_YIELD 1
31805 _ACEOF
31806
31807 else
31808
31809 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
31810 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
31811 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
31812 echo $ECHO_N "(cached) $ECHO_C" >&6
31813 else
31814 ac_check_lib_save_LIBS=$LIBS
31815 LIBS="-lposix4 $LIBS"
31816 cat >conftest.$ac_ext <<_ACEOF
31817 /* confdefs.h. */
31818 _ACEOF
31819 cat confdefs.h >>conftest.$ac_ext
31820 cat >>conftest.$ac_ext <<_ACEOF
31821 /* end confdefs.h. */
31822
31823 /* Override any gcc2 internal prototype to avoid an error. */
31824 #ifdef __cplusplus
31825 extern "C"
31826 #endif
31827 /* We use char because int might match the return type of a gcc2
31828 builtin and then its argument prototype would still apply. */
31829 char sched_yield ();
31830 int
31831 main ()
31832 {
31833 sched_yield ();
31834 ;
31835 return 0;
31836 }
31837 _ACEOF
31838 rm -f conftest.$ac_objext conftest$ac_exeext
31839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31840 (eval $ac_link) 2>conftest.er1
31841 ac_status=$?
31842 grep -v '^ *+' conftest.er1 >conftest.err
31843 rm -f conftest.er1
31844 cat conftest.err >&5
31845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31846 (exit $ac_status); } &&
31847 { ac_try='test -z "$ac_c_werror_flag"
31848 || test ! -s conftest.err'
31849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31850 (eval $ac_try) 2>&5
31851 ac_status=$?
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); }; } &&
31854 { ac_try='test -s conftest$ac_exeext'
31855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31856 (eval $ac_try) 2>&5
31857 ac_status=$?
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); }; }; then
31860 ac_cv_lib_posix4_sched_yield=yes
31861 else
31862 echo "$as_me: failed program was:" >&5
31863 sed 's/^/| /' conftest.$ac_ext >&5
31864
31865 ac_cv_lib_posix4_sched_yield=no
31866 fi
31867 rm -f conftest.err conftest.$ac_objext \
31868 conftest$ac_exeext conftest.$ac_ext
31869 LIBS=$ac_check_lib_save_LIBS
31870 fi
31871 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
31872 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
31873 if test $ac_cv_lib_posix4_sched_yield = yes; then
31874 cat >>confdefs.h <<\_ACEOF
31875 #define HAVE_SCHED_YIELD 1
31876 _ACEOF
31877 POSIX4_LINK=" -lposix4"
31878 else
31879 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
31880 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31881
31882 fi
31883
31884
31885
31886 fi
31887
31888 fi
31889
31890 HAVE_PRIOR_FUNCS=0
31891 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
31892 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
31893 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
31894 echo $ECHO_N "(cached) $ECHO_C" >&6
31895 else
31896 cat >conftest.$ac_ext <<_ACEOF
31897 /* confdefs.h. */
31898 _ACEOF
31899 cat confdefs.h >>conftest.$ac_ext
31900 cat >>conftest.$ac_ext <<_ACEOF
31901 /* end confdefs.h. */
31902 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
31903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31904 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
31905
31906 /* System header to define __stub macros and hopefully few prototypes,
31907 which can conflict with char pthread_attr_getschedpolicy (); below.
31908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31909 <limits.h> exists even on freestanding compilers. */
31910
31911 #ifdef __STDC__
31912 # include <limits.h>
31913 #else
31914 # include <assert.h>
31915 #endif
31916
31917 #undef pthread_attr_getschedpolicy
31918
31919 /* Override any gcc2 internal prototype to avoid an error. */
31920 #ifdef __cplusplus
31921 extern "C"
31922 {
31923 #endif
31924 /* We use char because int might match the return type of a gcc2
31925 builtin and then its argument prototype would still apply. */
31926 char pthread_attr_getschedpolicy ();
31927 /* The GNU C library defines this for functions which it implements
31928 to always fail with ENOSYS. Some functions are actually named
31929 something starting with __ and the normal name is an alias. */
31930 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
31931 choke me
31932 #else
31933 char (*f) () = pthread_attr_getschedpolicy;
31934 #endif
31935 #ifdef __cplusplus
31936 }
31937 #endif
31938
31939 int
31940 main ()
31941 {
31942 return f != pthread_attr_getschedpolicy;
31943 ;
31944 return 0;
31945 }
31946 _ACEOF
31947 rm -f conftest.$ac_objext conftest$ac_exeext
31948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31949 (eval $ac_link) 2>conftest.er1
31950 ac_status=$?
31951 grep -v '^ *+' conftest.er1 >conftest.err
31952 rm -f conftest.er1
31953 cat conftest.err >&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); } &&
31956 { ac_try='test -z "$ac_c_werror_flag"
31957 || test ! -s conftest.err'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31960 ac_status=$?
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; } &&
31963 { ac_try='test -s conftest$ac_exeext'
31964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31965 (eval $ac_try) 2>&5
31966 ac_status=$?
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); }; }; then
31969 ac_cv_func_pthread_attr_getschedpolicy=yes
31970 else
31971 echo "$as_me: failed program was:" >&5
31972 sed 's/^/| /' conftest.$ac_ext >&5
31973
31974 ac_cv_func_pthread_attr_getschedpolicy=no
31975 fi
31976 rm -f conftest.err conftest.$ac_objext \
31977 conftest$ac_exeext conftest.$ac_ext
31978 fi
31979 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
31980 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
31981 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
31982 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
31983 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
31984 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
31985 echo $ECHO_N "(cached) $ECHO_C" >&6
31986 else
31987 cat >conftest.$ac_ext <<_ACEOF
31988 /* confdefs.h. */
31989 _ACEOF
31990 cat confdefs.h >>conftest.$ac_ext
31991 cat >>conftest.$ac_ext <<_ACEOF
31992 /* end confdefs.h. */
31993 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
31994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31995 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
31996
31997 /* System header to define __stub macros and hopefully few prototypes,
31998 which can conflict with char pthread_attr_setschedparam (); below.
31999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32000 <limits.h> exists even on freestanding compilers. */
32001
32002 #ifdef __STDC__
32003 # include <limits.h>
32004 #else
32005 # include <assert.h>
32006 #endif
32007
32008 #undef pthread_attr_setschedparam
32009
32010 /* Override any gcc2 internal prototype to avoid an error. */
32011 #ifdef __cplusplus
32012 extern "C"
32013 {
32014 #endif
32015 /* We use char because int might match the return type of a gcc2
32016 builtin and then its argument prototype would still apply. */
32017 char pthread_attr_setschedparam ();
32018 /* The GNU C library defines this for functions which it implements
32019 to always fail with ENOSYS. Some functions are actually named
32020 something starting with __ and the normal name is an alias. */
32021 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32022 choke me
32023 #else
32024 char (*f) () = pthread_attr_setschedparam;
32025 #endif
32026 #ifdef __cplusplus
32027 }
32028 #endif
32029
32030 int
32031 main ()
32032 {
32033 return f != pthread_attr_setschedparam;
32034 ;
32035 return 0;
32036 }
32037 _ACEOF
32038 rm -f conftest.$ac_objext conftest$ac_exeext
32039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32040 (eval $ac_link) 2>conftest.er1
32041 ac_status=$?
32042 grep -v '^ *+' conftest.er1 >conftest.err
32043 rm -f conftest.er1
32044 cat conftest.err >&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); } &&
32047 { ac_try='test -z "$ac_c_werror_flag"
32048 || test ! -s conftest.err'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32051 ac_status=$?
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; } &&
32054 { ac_try='test -s conftest$ac_exeext'
32055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32056 (eval $ac_try) 2>&5
32057 ac_status=$?
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); }; }; then
32060 ac_cv_func_pthread_attr_setschedparam=yes
32061 else
32062 echo "$as_me: failed program was:" >&5
32063 sed 's/^/| /' conftest.$ac_ext >&5
32064
32065 ac_cv_func_pthread_attr_setschedparam=no
32066 fi
32067 rm -f conftest.err conftest.$ac_objext \
32068 conftest$ac_exeext conftest.$ac_ext
32069 fi
32070 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32071 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32072 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32073 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32074 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32075 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32076 echo $ECHO_N "(cached) $ECHO_C" >&6
32077 else
32078 cat >conftest.$ac_ext <<_ACEOF
32079 /* confdefs.h. */
32080 _ACEOF
32081 cat confdefs.h >>conftest.$ac_ext
32082 cat >>conftest.$ac_ext <<_ACEOF
32083 /* end confdefs.h. */
32084 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32086 #define sched_get_priority_max innocuous_sched_get_priority_max
32087
32088 /* System header to define __stub macros and hopefully few prototypes,
32089 which can conflict with char sched_get_priority_max (); below.
32090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32091 <limits.h> exists even on freestanding compilers. */
32092
32093 #ifdef __STDC__
32094 # include <limits.h>
32095 #else
32096 # include <assert.h>
32097 #endif
32098
32099 #undef sched_get_priority_max
32100
32101 /* Override any gcc2 internal prototype to avoid an error. */
32102 #ifdef __cplusplus
32103 extern "C"
32104 {
32105 #endif
32106 /* We use char because int might match the return type of a gcc2
32107 builtin and then its argument prototype would still apply. */
32108 char sched_get_priority_max ();
32109 /* The GNU C library defines this for functions which it implements
32110 to always fail with ENOSYS. Some functions are actually named
32111 something starting with __ and the normal name is an alias. */
32112 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32113 choke me
32114 #else
32115 char (*f) () = sched_get_priority_max;
32116 #endif
32117 #ifdef __cplusplus
32118 }
32119 #endif
32120
32121 int
32122 main ()
32123 {
32124 return f != sched_get_priority_max;
32125 ;
32126 return 0;
32127 }
32128 _ACEOF
32129 rm -f conftest.$ac_objext conftest$ac_exeext
32130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32131 (eval $ac_link) 2>conftest.er1
32132 ac_status=$?
32133 grep -v '^ *+' conftest.er1 >conftest.err
32134 rm -f conftest.er1
32135 cat conftest.err >&5
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); } &&
32138 { ac_try='test -z "$ac_c_werror_flag"
32139 || test ! -s conftest.err'
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); }; } &&
32145 { ac_try='test -s conftest$ac_exeext'
32146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32147 (eval $ac_try) 2>&5
32148 ac_status=$?
32149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32150 (exit $ac_status); }; }; then
32151 ac_cv_func_sched_get_priority_max=yes
32152 else
32153 echo "$as_me: failed program was:" >&5
32154 sed 's/^/| /' conftest.$ac_ext >&5
32155
32156 ac_cv_func_sched_get_priority_max=no
32157 fi
32158 rm -f conftest.err conftest.$ac_objext \
32159 conftest$ac_exeext conftest.$ac_ext
32160 fi
32161 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32162 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32163 if test $ac_cv_func_sched_get_priority_max = yes; then
32164 HAVE_PRIOR_FUNCS=1
32165 else
32166 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32167 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32168 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32170 else
32171 ac_check_lib_save_LIBS=$LIBS
32172 LIBS="-lposix4 $LIBS"
32173 cat >conftest.$ac_ext <<_ACEOF
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 sched_get_priority_max ();
32187 int
32188 main ()
32189 {
32190 sched_get_priority_max ();
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>conftest.er1
32198 ac_status=$?
32199 grep -v '^ *+' conftest.er1 >conftest.err
32200 rm -f conftest.er1
32201 cat conftest.err >&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); } &&
32204 { ac_try='test -z "$ac_c_werror_flag"
32205 || test ! -s conftest.err'
32206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32207 (eval $ac_try) 2>&5
32208 ac_status=$?
32209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32210 (exit $ac_status); }; } &&
32211 { ac_try='test -s conftest$ac_exeext'
32212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32213 (eval $ac_try) 2>&5
32214 ac_status=$?
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); }; }; then
32217 ac_cv_lib_posix4_sched_get_priority_max=yes
32218 else
32219 echo "$as_me: failed program was:" >&5
32220 sed 's/^/| /' conftest.$ac_ext >&5
32221
32222 ac_cv_lib_posix4_sched_get_priority_max=no
32223 fi
32224 rm -f conftest.err conftest.$ac_objext \
32225 conftest$ac_exeext conftest.$ac_ext
32226 LIBS=$ac_check_lib_save_LIBS
32227 fi
32228 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32229 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32230 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32231
32232 HAVE_PRIOR_FUNCS=1
32233 POSIX4_LINK=" -lposix4"
32234
32235 fi
32236
32237
32238 fi
32239
32240
32241 fi
32242
32243
32244 fi
32245
32246
32247 if test "$HAVE_PRIOR_FUNCS" = 1; then
32248 cat >>confdefs.h <<\_ACEOF
32249 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32250 _ACEOF
32251
32252 else
32253 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32254 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32255 fi
32256
32257 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32258 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32259 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32260 echo $ECHO_N "(cached) $ECHO_C" >&6
32261 else
32262 cat >conftest.$ac_ext <<_ACEOF
32263 /* confdefs.h. */
32264 _ACEOF
32265 cat confdefs.h >>conftest.$ac_ext
32266 cat >>conftest.$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32268 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32270 #define pthread_cancel innocuous_pthread_cancel
32271
32272 /* System header to define __stub macros and hopefully few prototypes,
32273 which can conflict with char pthread_cancel (); below.
32274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32275 <limits.h> exists even on freestanding compilers. */
32276
32277 #ifdef __STDC__
32278 # include <limits.h>
32279 #else
32280 # include <assert.h>
32281 #endif
32282
32283 #undef pthread_cancel
32284
32285 /* Override any gcc2 internal prototype to avoid an error. */
32286 #ifdef __cplusplus
32287 extern "C"
32288 {
32289 #endif
32290 /* We use char because int might match the return type of a gcc2
32291 builtin and then its argument prototype would still apply. */
32292 char pthread_cancel ();
32293 /* The GNU C library defines this for functions which it implements
32294 to always fail with ENOSYS. Some functions are actually named
32295 something starting with __ and the normal name is an alias. */
32296 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32297 choke me
32298 #else
32299 char (*f) () = pthread_cancel;
32300 #endif
32301 #ifdef __cplusplus
32302 }
32303 #endif
32304
32305 int
32306 main ()
32307 {
32308 return f != pthread_cancel;
32309 ;
32310 return 0;
32311 }
32312 _ACEOF
32313 rm -f conftest.$ac_objext conftest$ac_exeext
32314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32315 (eval $ac_link) 2>conftest.er1
32316 ac_status=$?
32317 grep -v '^ *+' conftest.er1 >conftest.err
32318 rm -f conftest.er1
32319 cat conftest.err >&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); } &&
32322 { ac_try='test -z "$ac_c_werror_flag"
32323 || test ! -s conftest.err'
32324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32325 (eval $ac_try) 2>&5
32326 ac_status=$?
32327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328 (exit $ac_status); }; } &&
32329 { ac_try='test -s conftest$ac_exeext'
32330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32331 (eval $ac_try) 2>&5
32332 ac_status=$?
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); }; }; then
32335 ac_cv_func_pthread_cancel=yes
32336 else
32337 echo "$as_me: failed program was:" >&5
32338 sed 's/^/| /' conftest.$ac_ext >&5
32339
32340 ac_cv_func_pthread_cancel=no
32341 fi
32342 rm -f conftest.err conftest.$ac_objext \
32343 conftest$ac_exeext conftest.$ac_ext
32344 fi
32345 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32346 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32347 if test $ac_cv_func_pthread_cancel = yes; then
32348 cat >>confdefs.h <<\_ACEOF
32349 #define HAVE_PTHREAD_CANCEL 1
32350 _ACEOF
32351
32352 else
32353 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32354 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32355 fi
32356
32357
32358
32359
32360 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32361 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32362 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 else
32365
32366 cat >conftest.$ac_ext <<_ACEOF
32367 /* confdefs.h. */
32368 _ACEOF
32369 cat confdefs.h >>conftest.$ac_ext
32370 cat >>conftest.$ac_ext <<_ACEOF
32371 /* end confdefs.h. */
32372 #include <pthread.h>
32373 int
32374 main ()
32375 {
32376
32377 pthread_mutexattr_t attr;
32378 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32379
32380 ;
32381 return 0;
32382 }
32383 _ACEOF
32384 rm -f conftest.$ac_objext
32385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32386 (eval $ac_compile) 2>conftest.er1
32387 ac_status=$?
32388 grep -v '^ *+' conftest.er1 >conftest.err
32389 rm -f conftest.er1
32390 cat conftest.err >&5
32391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32392 (exit $ac_status); } &&
32393 { ac_try='test -z "$ac_c_werror_flag"
32394 || test ! -s conftest.err'
32395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32396 (eval $ac_try) 2>&5
32397 ac_status=$?
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); }; } &&
32400 { ac_try='test -s conftest.$ac_objext'
32401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32402 (eval $ac_try) 2>&5
32403 ac_status=$?
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); }; }; then
32406
32407 wx_cv_type_pthread_mutexattr_t=yes
32408
32409 else
32410 echo "$as_me: failed program was:" >&5
32411 sed 's/^/| /' conftest.$ac_ext >&5
32412
32413
32414 wx_cv_type_pthread_mutexattr_t=no
32415
32416
32417 fi
32418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32419
32420 fi
32421 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32422 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32423
32424 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32425 cat >>confdefs.h <<\_ACEOF
32426 #define HAVE_PTHREAD_MUTEXATTR_T 1
32427 _ACEOF
32428
32429 else
32430 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32431 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32432 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32433 echo $ECHO_N "(cached) $ECHO_C" >&6
32434 else
32435
32436 cat >conftest.$ac_ext <<_ACEOF
32437 /* confdefs.h. */
32438 _ACEOF
32439 cat confdefs.h >>conftest.$ac_ext
32440 cat >>conftest.$ac_ext <<_ACEOF
32441 /* end confdefs.h. */
32442 #include <pthread.h>
32443 int
32444 main ()
32445 {
32446
32447 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32448
32449 ;
32450 return 0;
32451 }
32452 _ACEOF
32453 rm -f conftest.$ac_objext
32454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32455 (eval $ac_compile) 2>conftest.er1
32456 ac_status=$?
32457 grep -v '^ *+' conftest.er1 >conftest.err
32458 rm -f conftest.er1
32459 cat conftest.err >&5
32460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32461 (exit $ac_status); } &&
32462 { ac_try='test -z "$ac_c_werror_flag"
32463 || test ! -s conftest.err'
32464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32465 (eval $ac_try) 2>&5
32466 ac_status=$?
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); }; } &&
32469 { ac_try='test -s conftest.$ac_objext'
32470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32471 (eval $ac_try) 2>&5
32472 ac_status=$?
32473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32474 (exit $ac_status); }; }; then
32475
32476 wx_cv_type_pthread_rec_mutex_init=yes
32477
32478 else
32479 echo "$as_me: failed program was:" >&5
32480 sed 's/^/| /' conftest.$ac_ext >&5
32481
32482
32483 wx_cv_type_pthread_rec_mutex_init=no
32484
32485
32486 fi
32487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32488
32489 fi
32490 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32491 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32492 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32493 cat >>confdefs.h <<\_ACEOF
32494 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32495 _ACEOF
32496
32497 else
32498 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32499 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32500 fi
32501 fi
32502 fi
32503
32504 else
32505 if test "$wxUSE_THREADS" = "yes" ; then
32506 case "${host}" in
32507 *-*-mingw32* )
32508 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32509 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32510 if test "${wx_cv_cflags_mthread+set}" = set; then
32511 echo $ECHO_N "(cached) $ECHO_C" >&6
32512 else
32513
32514 CFLAGS_OLD="$CFLAGS"
32515 CFLAGS="$CFLAGS -mthreads"
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h. */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522
32523 int
32524 main ()
32525 {
32526
32527 ;
32528 return 0;
32529 }
32530 _ACEOF
32531 rm -f conftest.$ac_objext
32532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32533 (eval $ac_compile) 2>conftest.er1
32534 ac_status=$?
32535 grep -v '^ *+' conftest.er1 >conftest.err
32536 rm -f conftest.er1
32537 cat conftest.err >&5
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); } &&
32540 { ac_try='test -z "$ac_c_werror_flag"
32541 || test ! -s conftest.err'
32542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32543 (eval $ac_try) 2>&5
32544 ac_status=$?
32545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546 (exit $ac_status); }; } &&
32547 { ac_try='test -s conftest.$ac_objext'
32548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32549 (eval $ac_try) 2>&5
32550 ac_status=$?
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); }; }; then
32553 wx_cv_cflags_mthread=yes
32554 else
32555 echo "$as_me: failed program was:" >&5
32556 sed 's/^/| /' conftest.$ac_ext >&5
32557
32558 wx_cv_cflags_mthread=no
32559
32560 fi
32561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32562
32563
32564 fi
32565 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
32566 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
32567
32568 if test "$wx_cv_cflags_mthread" = "yes"; then
32569 CXXFLAGS="$CXXFLAGS -mthreads"
32570 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
32571 LDFLAGS="$LDFLAGS -mthreads"
32572 else
32573 CFLAGS="$CFLAGS_OLD"
32574 fi
32575 ;;
32576 *-pc-os2*emx )
32577 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
32578 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
32579 LDFLAGS="$LDFLAGS -Zmt"
32580 ;;
32581 esac
32582 fi
32583 fi
32584
32585 if test "$wxUSE_THREADS" = "yes"; then
32586 cat >>confdefs.h <<\_ACEOF
32587 #define wxUSE_THREADS 1
32588 _ACEOF
32589
32590
32591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32592 else
32593 if test "$ac_cv_func_strtok_r" = "yes"; then
32594 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
32595 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
32596 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32597 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
32598 echo "$as_me:$LINENO: result: yes" >&5
32599 echo "${ECHO_T}yes" >&6
32600 else
32601 echo "$as_me:$LINENO: result: no" >&5
32602 echo "${ECHO_T}no" >&6
32603 fi
32604 fi
32605 fi
32606
32607 if test "$WXGTK20" = 1 ; then
32608 cat >>confdefs.h <<_ACEOF
32609 #define __WXGTK20__ $WXGTK20
32610 _ACEOF
32611
32612 WXGTK12=1
32613 fi
32614
32615 if test "$WXGTK12" = 1 ; then
32616 cat >>confdefs.h <<_ACEOF
32617 #define __WXGTK12__ $WXGTK12
32618 _ACEOF
32619
32620 fi
32621
32622 if test "$WXGTK127" = 1 ; then
32623 cat >>confdefs.h <<_ACEOF
32624 #define __WXGTK127__ $WXGTK127
32625 _ACEOF
32626
32627 fi
32628
32629 WXDEBUG=
32630
32631 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
32632 WXDEBUG="-g"
32633 wxUSE_OPTIMISE=no
32634 fi
32635
32636 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32637 wxUSE_DEBUG_INFO=yes
32638 WXDEBUG="-ggdb"
32639 fi
32640
32641 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
32642 cat >>confdefs.h <<\_ACEOF
32643 #define WXDEBUG 1
32644 _ACEOF
32645
32646 WXDEBUG_DEFINE="-D__WXDEBUG__"
32647 else
32648 if test "$wxUSE_GTK" = 1 ; then
32649 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
32650 fi
32651 fi
32652
32653 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32654 cat >>confdefs.h <<\_ACEOF
32655 #define wxUSE_MEMORY_TRACING 1
32656 _ACEOF
32657
32658 cat >>confdefs.h <<\_ACEOF
32659 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
32660 _ACEOF
32661
32662 cat >>confdefs.h <<\_ACEOF
32663 #define wxUSE_DEBUG_NEW_ALWAYS 1
32664 _ACEOF
32665
32666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32667 fi
32668
32669 if test "$wxUSE_DMALLOC" = "yes" ; then
32670 DMALLOC_LIBS="-ldmalloc"
32671 fi
32672
32673 PROFILE=
32674 if test "$wxUSE_PROFILE" = "yes" ; then
32675 PROFILE=" -pg"
32676 fi
32677
32678 CODE_GEN_FLAGS=
32679 CODE_GEN_FLAGS_CXX=
32680 if test "$GCC" = "yes" ; then
32681 if test "$wxUSE_NO_RTTI" = "yes" ; then
32682 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
32683 fi
32684 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32685 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
32686 fi
32687 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32688 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
32689 fi
32690
32691 case "${host}" in
32692 powerpc*-*-aix* )
32693 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
32694 ;;
32695 *-hppa* )
32696 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
32697 ;;
32698 esac
32699 fi
32700
32701 OPTIMISE=
32702 if test "$wxUSE_OPTIMISE" = "no" ; then
32703 if test "$GCC" = yes ; then
32704 OPTIMISE="-O0"
32705 fi
32706 else
32707 if test "$GCC" = yes ; then
32708 OPTIMISE="-O2"
32709
32710 case "${host}" in
32711 i586-*-*|i686-*-* )
32712 OPTIMISE="${OPTIMISE} "
32713 ;;
32714 esac
32715 else
32716 OPTIMISE="-O"
32717 fi
32718 fi
32719
32720
32721 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
32722 cat >>confdefs.h <<\_ACEOF
32723 #define WXWIN_COMPATIBILITY_2_2 1
32724 _ACEOF
32725
32726
32727 WXWIN_COMPATIBILITY_2_4="yes"
32728 fi
32729
32730 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
32731 cat >>confdefs.h <<\_ACEOF
32732 #define WXWIN_COMPATIBILITY_2_4 1
32733 _ACEOF
32734
32735 fi
32736
32737
32738 if test "$wxUSE_GUI" = "yes"; then
32739 cat >>confdefs.h <<\_ACEOF
32740 #define wxUSE_GUI 1
32741 _ACEOF
32742
32743
32744 else
32745 cat >>confdefs.h <<\_ACEOF
32746 #define wxUSE_NOGUI 1
32747 _ACEOF
32748
32749 fi
32750
32751
32752 if test "$wxUSE_UNIX" = "yes"; then
32753 cat >>confdefs.h <<\_ACEOF
32754 #define wxUSE_UNIX 1
32755 _ACEOF
32756
32757 fi
32758
32759
32760 if test "$wxUSE_STL" = "yes"; then
32761 cat >>confdefs.h <<\_ACEOF
32762 #define wxUSE_STL 1
32763 _ACEOF
32764
32765 fi
32766
32767 if test "$wxUSE_APPLE_IEEE" = "yes"; then
32768 cat >>confdefs.h <<\_ACEOF
32769 #define wxUSE_APPLE_IEEE 1
32770 _ACEOF
32771
32772 fi
32773
32774 if test "$wxUSE_TIMER" = "yes"; then
32775 cat >>confdefs.h <<\_ACEOF
32776 #define wxUSE_TIMER 1
32777 _ACEOF
32778
32779 fi
32780
32781 if test "$wxUSE_WAVE" = "yes"; then
32782 cat >>confdefs.h <<\_ACEOF
32783 #define wxUSE_WAVE 1
32784 _ACEOF
32785
32786 fi
32787
32788 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
32789 cat >>confdefs.h <<\_ACEOF
32790 #define wxUSE_CMDLINE_PARSER 1
32791 _ACEOF
32792
32793 fi
32794
32795 if test "$wxUSE_STOPWATCH" = "yes"; then
32796 cat >>confdefs.h <<\_ACEOF
32797 #define wxUSE_STOPWATCH 1
32798 _ACEOF
32799
32800 fi
32801
32802 if test "$wxUSE_DATETIME" = "yes"; then
32803 cat >>confdefs.h <<\_ACEOF
32804 #define wxUSE_DATETIME 1
32805 _ACEOF
32806
32807 fi
32808
32809 if test "$wxUSE_FILE" = "yes"; then
32810 cat >>confdefs.h <<\_ACEOF
32811 #define wxUSE_FILE 1
32812 _ACEOF
32813
32814 fi
32815
32816 if test "$wxUSE_FFILE" = "yes"; then
32817 cat >>confdefs.h <<\_ACEOF
32818 #define wxUSE_FFILE 1
32819 _ACEOF
32820
32821 fi
32822
32823 if test "$wxUSE_FILESYSTEM" = "yes"; then
32824 cat >>confdefs.h <<\_ACEOF
32825 #define wxUSE_FILESYSTEM 1
32826 _ACEOF
32827
32828 fi
32829
32830 if test "$wxUSE_FS_ZIP" = "yes"; then
32831 cat >>confdefs.h <<\_ACEOF
32832 #define wxUSE_FS_ZIP 1
32833 _ACEOF
32834
32835 fi
32836
32837 if test "$wxUSE_ZIPSTREAM" = "yes"; then
32838 cat >>confdefs.h <<\_ACEOF
32839 #define wxUSE_ZIPSTREAM 1
32840 _ACEOF
32841
32842 fi
32843
32844 if test "$wxUSE_GZSTREAM" = "yes"; then
32845 cat >>confdefs.h <<\_ACEOF
32846 #define wxUSE_GZSTREAM 1
32847 _ACEOF
32848
32849 fi
32850
32851 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32852 cat >>confdefs.h <<\_ACEOF
32853 #define wxUSE_ON_FATAL_EXCEPTION 1
32854 _ACEOF
32855
32856 fi
32857
32858 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32859 cat >>confdefs.h <<\_ACEOF
32860 #define wxUSE_SNGLINST_CHECKER 1
32861 _ACEOF
32862
32863 fi
32864
32865 if test "$wxUSE_BUSYINFO" = "yes"; then
32866 cat >>confdefs.h <<\_ACEOF
32867 #define wxUSE_BUSYINFO 1
32868 _ACEOF
32869
32870 fi
32871
32872 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
32873 cat >>confdefs.h <<\_ACEOF
32874 #define wxUSE_STD_IOSTREAM 1
32875 _ACEOF
32876
32877 fi
32878
32879 if test "$wxUSE_TEXTBUFFER" = "yes"; then
32880 cat >>confdefs.h <<\_ACEOF
32881 #define wxUSE_TEXTBUFFER 1
32882 _ACEOF
32883
32884 fi
32885
32886 if test "$wxUSE_TEXTFILE" = "yes"; then
32887 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
32888 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
32889 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
32890 else
32891 cat >>confdefs.h <<\_ACEOF
32892 #define wxUSE_TEXTFILE 1
32893 _ACEOF
32894
32895 fi
32896 fi
32897
32898 if test "$wxUSE_CONFIG" = "yes" ; then
32899 if test "$wxUSE_TEXTFILE" != "yes"; then
32900 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
32901 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
32902 else
32903 cat >>confdefs.h <<\_ACEOF
32904 #define wxUSE_CONFIG 1
32905 _ACEOF
32906
32907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
32908 fi
32909 fi
32910
32911 if test "$wxUSE_INTL" = "yes" ; then
32912 if test "$wxUSE_FILE" != "yes"; then
32913 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
32914 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
32915 else
32916 cat >>confdefs.h <<\_ACEOF
32917 #define wxUSE_INTL 1
32918 _ACEOF
32919
32920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
32921 GUIDIST="$GUIDIST INTL_DIST"
32922 fi
32923 fi
32924
32925 if test "$wxUSE_LOG" = "yes"; then
32926 cat >>confdefs.h <<\_ACEOF
32927 #define wxUSE_LOG 1
32928 _ACEOF
32929
32930
32931 if test "$wxUSE_LOGGUI" = "yes"; then
32932 cat >>confdefs.h <<\_ACEOF
32933 #define wxUSE_LOGGUI 1
32934 _ACEOF
32935
32936 fi
32937
32938 if test "$wxUSE_LOGWINDOW" = "yes"; then
32939 cat >>confdefs.h <<\_ACEOF
32940 #define wxUSE_LOGWINDOW 1
32941 _ACEOF
32942
32943 fi
32944
32945 if test "$wxUSE_LOGDIALOG" = "yes"; then
32946 cat >>confdefs.h <<\_ACEOF
32947 #define wxUSE_LOG_DIALOG 1
32948 _ACEOF
32949
32950 fi
32951 fi
32952
32953 if test "$wxUSE_LONGLONG" = "yes"; then
32954 cat >>confdefs.h <<\_ACEOF
32955 #define wxUSE_LONGLONG 1
32956 _ACEOF
32957
32958 fi
32959
32960 if test "$wxUSE_GEOMETRY" = "yes"; then
32961 cat >>confdefs.h <<\_ACEOF
32962 #define wxUSE_GEOMETRY 1
32963 _ACEOF
32964
32965 fi
32966
32967 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
32968 cat >>confdefs.h <<\_ACEOF
32969 #define wxUSE_DIALUP_MANAGER 1
32970 _ACEOF
32971
32972 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
32973 fi
32974
32975 if test "$wxUSE_STREAMS" = "yes" ; then
32976 cat >>confdefs.h <<\_ACEOF
32977 #define wxUSE_STREAMS 1
32978 _ACEOF
32979
32980 fi
32981
32982
32983 if test "$wxUSE_DATETIME" = "yes"; then
32984
32985 for ac_func in strptime
32986 do
32987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32988 echo "$as_me:$LINENO: checking for $ac_func" >&5
32989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32990 if eval "test \"\${$as_ac_var+set}\" = set"; then
32991 echo $ECHO_N "(cached) $ECHO_C" >&6
32992 else
32993 cat >conftest.$ac_ext <<_ACEOF
32994 /* confdefs.h. */
32995 _ACEOF
32996 cat confdefs.h >>conftest.$ac_ext
32997 cat >>conftest.$ac_ext <<_ACEOF
32998 /* end confdefs.h. */
32999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33001 #define $ac_func innocuous_$ac_func
33002
33003 /* System header to define __stub macros and hopefully few prototypes,
33004 which can conflict with char $ac_func (); below.
33005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33006 <limits.h> exists even on freestanding compilers. */
33007
33008 #ifdef __STDC__
33009 # include <limits.h>
33010 #else
33011 # include <assert.h>
33012 #endif
33013
33014 #undef $ac_func
33015
33016 /* Override any gcc2 internal prototype to avoid an error. */
33017 #ifdef __cplusplus
33018 extern "C"
33019 {
33020 #endif
33021 /* We use char because int might match the return type of a gcc2
33022 builtin and then its argument prototype would still apply. */
33023 char $ac_func ();
33024 /* The GNU C library defines this for functions which it implements
33025 to always fail with ENOSYS. Some functions are actually named
33026 something starting with __ and the normal name is an alias. */
33027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33028 choke me
33029 #else
33030 char (*f) () = $ac_func;
33031 #endif
33032 #ifdef __cplusplus
33033 }
33034 #endif
33035
33036 int
33037 main ()
33038 {
33039 return f != $ac_func;
33040 ;
33041 return 0;
33042 }
33043 _ACEOF
33044 rm -f conftest.$ac_objext conftest$ac_exeext
33045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33046 (eval $ac_link) 2>conftest.er1
33047 ac_status=$?
33048 grep -v '^ *+' conftest.er1 >conftest.err
33049 rm -f conftest.er1
33050 cat conftest.err >&5
33051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33052 (exit $ac_status); } &&
33053 { ac_try='test -z "$ac_c_werror_flag"
33054 || test ! -s conftest.err'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33057 ac_status=$?
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; } &&
33060 { ac_try='test -s conftest$ac_exeext'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33063 ac_status=$?
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; }; then
33066 eval "$as_ac_var=yes"
33067 else
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.$ac_ext >&5
33070
33071 eval "$as_ac_var=no"
33072 fi
33073 rm -f conftest.err conftest.$ac_objext \
33074 conftest$ac_exeext conftest.$ac_ext
33075 fi
33076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33078 if test `eval echo '${'$as_ac_var'}'` = yes; then
33079 cat >>confdefs.h <<_ACEOF
33080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33081 _ACEOF
33082
33083 fi
33084 done
33085
33086
33087 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
33088 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
33089 if test "${wx_cv_var_timezone+set}" = set; then
33090 echo $ECHO_N "(cached) $ECHO_C" >&6
33091 else
33092
33093 cat >conftest.$ac_ext <<_ACEOF
33094 /* confdefs.h. */
33095 _ACEOF
33096 cat confdefs.h >>conftest.$ac_ext
33097 cat >>conftest.$ac_ext <<_ACEOF
33098 /* end confdefs.h. */
33099
33100 #include <time.h>
33101
33102 int
33103 main ()
33104 {
33105
33106 int tz;
33107 tz = timezone;
33108
33109 ;
33110 return 0;
33111 }
33112 _ACEOF
33113 rm -f conftest.$ac_objext
33114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33115 (eval $ac_compile) 2>conftest.er1
33116 ac_status=$?
33117 grep -v '^ *+' conftest.er1 >conftest.err
33118 rm -f conftest.er1
33119 cat conftest.err >&5
33120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33121 (exit $ac_status); } &&
33122 { ac_try='test -z "$ac_c_werror_flag"
33123 || test ! -s conftest.err'
33124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33125 (eval $ac_try) 2>&5
33126 ac_status=$?
33127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33128 (exit $ac_status); }; } &&
33129 { ac_try='test -s conftest.$ac_objext'
33130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33131 (eval $ac_try) 2>&5
33132 ac_status=$?
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); }; }; then
33135
33136 wx_cv_var_timezone=timezone
33137
33138 else
33139 echo "$as_me: failed program was:" >&5
33140 sed 's/^/| /' conftest.$ac_ext >&5
33141
33142
33143 cat >conftest.$ac_ext <<_ACEOF
33144 /* confdefs.h. */
33145 _ACEOF
33146 cat confdefs.h >>conftest.$ac_ext
33147 cat >>conftest.$ac_ext <<_ACEOF
33148 /* end confdefs.h. */
33149
33150 #include <time.h>
33151
33152 int
33153 main ()
33154 {
33155
33156 int tz;
33157 tz = _timezone;
33158
33159 ;
33160 return 0;
33161 }
33162 _ACEOF
33163 rm -f conftest.$ac_objext
33164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33165 (eval $ac_compile) 2>conftest.er1
33166 ac_status=$?
33167 grep -v '^ *+' conftest.er1 >conftest.err
33168 rm -f conftest.er1
33169 cat conftest.err >&5
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); } &&
33172 { ac_try='test -z "$ac_c_werror_flag"
33173 || test ! -s conftest.err'
33174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33175 (eval $ac_try) 2>&5
33176 ac_status=$?
33177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178 (exit $ac_status); }; } &&
33179 { ac_try='test -s conftest.$ac_objext'
33180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33181 (eval $ac_try) 2>&5
33182 ac_status=$?
33183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33184 (exit $ac_status); }; }; then
33185
33186 wx_cv_var_timezone=_timezone
33187
33188 else
33189 echo "$as_me: failed program was:" >&5
33190 sed 's/^/| /' conftest.$ac_ext >&5
33191
33192
33193 cat >conftest.$ac_ext <<_ACEOF
33194 /* confdefs.h. */
33195 _ACEOF
33196 cat confdefs.h >>conftest.$ac_ext
33197 cat >>conftest.$ac_ext <<_ACEOF
33198 /* end confdefs.h. */
33199
33200 #include <time.h>
33201
33202 int
33203 main ()
33204 {
33205
33206 int tz;
33207 tz = __timezone;
33208
33209 ;
33210 return 0;
33211 }
33212 _ACEOF
33213 rm -f conftest.$ac_objext
33214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33215 (eval $ac_compile) 2>conftest.er1
33216 ac_status=$?
33217 grep -v '^ *+' conftest.er1 >conftest.err
33218 rm -f conftest.er1
33219 cat conftest.err >&5
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); } &&
33222 { ac_try='test -z "$ac_c_werror_flag"
33223 || test ! -s conftest.err'
33224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33225 (eval $ac_try) 2>&5
33226 ac_status=$?
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); }; } &&
33229 { ac_try='test -s conftest.$ac_objext'
33230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33231 (eval $ac_try) 2>&5
33232 ac_status=$?
33233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 (exit $ac_status); }; }; then
33235
33236 wx_cv_var_timezone=__timezone
33237
33238 else
33239 echo "$as_me: failed program was:" >&5
33240 sed 's/^/| /' conftest.$ac_ext >&5
33241
33242
33243 if test "$USE_DOS" = 0 ; then
33244 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
33245 echo "$as_me: WARNING: no timezone variable" >&2;}
33246 fi
33247
33248
33249 fi
33250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33251
33252
33253 fi
33254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33255
33256
33257 fi
33258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33259
33260
33261 fi
33262 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
33263 echo "${ECHO_T}$wx_cv_var_timezone" >&6
33264
33265 if test "x$wx_cv_var_timezone" != x ; then
33266 cat >>confdefs.h <<_ACEOF
33267 #define WX_TIMEZONE $wx_cv_var_timezone
33268 _ACEOF
33269
33270 fi
33271
33272
33273 for ac_func in localtime
33274 do
33275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33276 echo "$as_me:$LINENO: checking for $ac_func" >&5
33277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33278 if eval "test \"\${$as_ac_var+set}\" = set"; then
33279 echo $ECHO_N "(cached) $ECHO_C" >&6
33280 else
33281 cat >conftest.$ac_ext <<_ACEOF
33282 /* confdefs.h. */
33283 _ACEOF
33284 cat confdefs.h >>conftest.$ac_ext
33285 cat >>conftest.$ac_ext <<_ACEOF
33286 /* end confdefs.h. */
33287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33289 #define $ac_func innocuous_$ac_func
33290
33291 /* System header to define __stub macros and hopefully few prototypes,
33292 which can conflict with char $ac_func (); below.
33293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33294 <limits.h> exists even on freestanding compilers. */
33295
33296 #ifdef __STDC__
33297 # include <limits.h>
33298 #else
33299 # include <assert.h>
33300 #endif
33301
33302 #undef $ac_func
33303
33304 /* Override any gcc2 internal prototype to avoid an error. */
33305 #ifdef __cplusplus
33306 extern "C"
33307 {
33308 #endif
33309 /* We use char because int might match the return type of a gcc2
33310 builtin and then its argument prototype would still apply. */
33311 char $ac_func ();
33312 /* The GNU C library defines this for functions which it implements
33313 to always fail with ENOSYS. Some functions are actually named
33314 something starting with __ and the normal name is an alias. */
33315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33316 choke me
33317 #else
33318 char (*f) () = $ac_func;
33319 #endif
33320 #ifdef __cplusplus
33321 }
33322 #endif
33323
33324 int
33325 main ()
33326 {
33327 return f != $ac_func;
33328 ;
33329 return 0;
33330 }
33331 _ACEOF
33332 rm -f conftest.$ac_objext conftest$ac_exeext
33333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33334 (eval $ac_link) 2>conftest.er1
33335 ac_status=$?
33336 grep -v '^ *+' conftest.er1 >conftest.err
33337 rm -f conftest.er1
33338 cat conftest.err >&5
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); } &&
33341 { ac_try='test -z "$ac_c_werror_flag"
33342 || test ! -s conftest.err'
33343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33344 (eval $ac_try) 2>&5
33345 ac_status=$?
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); }; } &&
33348 { ac_try='test -s conftest$ac_exeext'
33349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33350 (eval $ac_try) 2>&5
33351 ac_status=$?
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; }; then
33354 eval "$as_ac_var=yes"
33355 else
33356 echo "$as_me: failed program was:" >&5
33357 sed 's/^/| /' conftest.$ac_ext >&5
33358
33359 eval "$as_ac_var=no"
33360 fi
33361 rm -f conftest.err conftest.$ac_objext \
33362 conftest$ac_exeext conftest.$ac_ext
33363 fi
33364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33366 if test `eval echo '${'$as_ac_var'}'` = yes; then
33367 cat >>confdefs.h <<_ACEOF
33368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33369 _ACEOF
33370
33371 fi
33372 done
33373
33374
33375 if test "$ac_cv_func_localtime" = "yes"; then
33376 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
33377 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
33378 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
33379 echo $ECHO_N "(cached) $ECHO_C" >&6
33380 else
33381
33382 cat >conftest.$ac_ext <<_ACEOF
33383 /* confdefs.h. */
33384 _ACEOF
33385 cat confdefs.h >>conftest.$ac_ext
33386 cat >>conftest.$ac_ext <<_ACEOF
33387 /* end confdefs.h. */
33388
33389 #include <time.h>
33390
33391 int
33392 main ()
33393 {
33394
33395 struct tm tm;
33396 tm.tm_gmtoff++;
33397
33398 ;
33399 return 0;
33400 }
33401 _ACEOF
33402 rm -f conftest.$ac_objext
33403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33404 (eval $ac_compile) 2>conftest.er1
33405 ac_status=$?
33406 grep -v '^ *+' conftest.er1 >conftest.err
33407 rm -f conftest.er1
33408 cat conftest.err >&5
33409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33410 (exit $ac_status); } &&
33411 { ac_try='test -z "$ac_c_werror_flag"
33412 || test ! -s conftest.err'
33413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33414 (eval $ac_try) 2>&5
33415 ac_status=$?
33416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33417 (exit $ac_status); }; } &&
33418 { ac_try='test -s conftest.$ac_objext'
33419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33420 (eval $ac_try) 2>&5
33421 ac_status=$?
33422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33423 (exit $ac_status); }; }; then
33424
33425 wx_cv_struct_tm_has_gmtoff=yes
33426
33427 else
33428 echo "$as_me: failed program was:" >&5
33429 sed 's/^/| /' conftest.$ac_ext >&5
33430
33431 wx_cv_struct_tm_has_gmtoff=no
33432
33433 fi
33434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33435
33436 fi
33437 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
33438 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
33439 fi
33440
33441 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
33442 cat >>confdefs.h <<\_ACEOF
33443 #define WX_GMTOFF_IN_TM 1
33444 _ACEOF
33445
33446 fi
33447
33448
33449
33450 for ac_func in gettimeofday ftime
33451 do
33452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33453 echo "$as_me:$LINENO: checking for $ac_func" >&5
33454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33455 if eval "test \"\${$as_ac_var+set}\" = set"; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33457 else
33458 cat >conftest.$ac_ext <<_ACEOF
33459 /* confdefs.h. */
33460 _ACEOF
33461 cat confdefs.h >>conftest.$ac_ext
33462 cat >>conftest.$ac_ext <<_ACEOF
33463 /* end confdefs.h. */
33464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33466 #define $ac_func innocuous_$ac_func
33467
33468 /* System header to define __stub macros and hopefully few prototypes,
33469 which can conflict with char $ac_func (); below.
33470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33471 <limits.h> exists even on freestanding compilers. */
33472
33473 #ifdef __STDC__
33474 # include <limits.h>
33475 #else
33476 # include <assert.h>
33477 #endif
33478
33479 #undef $ac_func
33480
33481 /* Override any gcc2 internal prototype to avoid an error. */
33482 #ifdef __cplusplus
33483 extern "C"
33484 {
33485 #endif
33486 /* We use char because int might match the return type of a gcc2
33487 builtin and then its argument prototype would still apply. */
33488 char $ac_func ();
33489 /* The GNU C library defines this for functions which it implements
33490 to always fail with ENOSYS. Some functions are actually named
33491 something starting with __ and the normal name is an alias. */
33492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33493 choke me
33494 #else
33495 char (*f) () = $ac_func;
33496 #endif
33497 #ifdef __cplusplus
33498 }
33499 #endif
33500
33501 int
33502 main ()
33503 {
33504 return f != $ac_func;
33505 ;
33506 return 0;
33507 }
33508 _ACEOF
33509 rm -f conftest.$ac_objext conftest$ac_exeext
33510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33511 (eval $ac_link) 2>conftest.er1
33512 ac_status=$?
33513 grep -v '^ *+' conftest.er1 >conftest.err
33514 rm -f conftest.er1
33515 cat conftest.err >&5
33516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33517 (exit $ac_status); } &&
33518 { ac_try='test -z "$ac_c_werror_flag"
33519 || test ! -s conftest.err'
33520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33521 (eval $ac_try) 2>&5
33522 ac_status=$?
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); }; } &&
33525 { ac_try='test -s conftest$ac_exeext'
33526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33527 (eval $ac_try) 2>&5
33528 ac_status=$?
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); }; }; then
33531 eval "$as_ac_var=yes"
33532 else
33533 echo "$as_me: failed program was:" >&5
33534 sed 's/^/| /' conftest.$ac_ext >&5
33535
33536 eval "$as_ac_var=no"
33537 fi
33538 rm -f conftest.err conftest.$ac_objext \
33539 conftest$ac_exeext conftest.$ac_ext
33540 fi
33541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33543 if test `eval echo '${'$as_ac_var'}'` = yes; then
33544 cat >>confdefs.h <<_ACEOF
33545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33546 _ACEOF
33547 break
33548 fi
33549 done
33550
33551
33552 if test "$ac_cv_func_gettimeofday" = "yes"; then
33553 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
33554 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
33555 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
33556 echo $ECHO_N "(cached) $ECHO_C" >&6
33557 else
33558
33559
33560
33561 ac_ext=cc
33562 ac_cpp='$CXXCPP $CPPFLAGS'
33563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33566
33567
33568 cat >conftest.$ac_ext <<_ACEOF
33569 /* confdefs.h. */
33570 _ACEOF
33571 cat confdefs.h >>conftest.$ac_ext
33572 cat >>conftest.$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33574
33575 #include <sys/time.h>
33576 #include <unistd.h>
33577
33578 int
33579 main ()
33580 {
33581
33582 struct timeval tv;
33583 gettimeofday(&tv, NULL);
33584
33585 ;
33586 return 0;
33587 }
33588 _ACEOF
33589 rm -f conftest.$ac_objext
33590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33591 (eval $ac_compile) 2>conftest.er1
33592 ac_status=$?
33593 grep -v '^ *+' conftest.er1 >conftest.err
33594 rm -f conftest.er1
33595 cat conftest.err >&5
33596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 (exit $ac_status); } &&
33598 { ac_try='test -z "$ac_cxx_werror_flag"
33599 || test ! -s conftest.err'
33600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33601 (eval $ac_try) 2>&5
33602 ac_status=$?
33603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33604 (exit $ac_status); }; } &&
33605 { ac_try='test -s conftest.$ac_objext'
33606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33607 (eval $ac_try) 2>&5
33608 ac_status=$?
33609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33610 (exit $ac_status); }; }; then
33611 wx_cv_func_gettimeofday_has_2_args=yes
33612 else
33613 echo "$as_me: failed program was:" >&5
33614 sed 's/^/| /' conftest.$ac_ext >&5
33615
33616 cat >conftest.$ac_ext <<_ACEOF
33617 /* confdefs.h. */
33618 _ACEOF
33619 cat confdefs.h >>conftest.$ac_ext
33620 cat >>conftest.$ac_ext <<_ACEOF
33621 /* end confdefs.h. */
33622
33623 #include <sys/time.h>
33624 #include <unistd.h>
33625
33626 int
33627 main ()
33628 {
33629
33630 struct timeval tv;
33631 gettimeofday(&tv);
33632
33633 ;
33634 return 0;
33635 }
33636 _ACEOF
33637 rm -f conftest.$ac_objext
33638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33639 (eval $ac_compile) 2>conftest.er1
33640 ac_status=$?
33641 grep -v '^ *+' conftest.er1 >conftest.err
33642 rm -f conftest.er1
33643 cat conftest.err >&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); } &&
33646 { ac_try='test -z "$ac_cxx_werror_flag"
33647 || test ! -s conftest.err'
33648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33649 (eval $ac_try) 2>&5
33650 ac_status=$?
33651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33652 (exit $ac_status); }; } &&
33653 { ac_try='test -s conftest.$ac_objext'
33654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33655 (eval $ac_try) 2>&5
33656 ac_status=$?
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); }; }; then
33659 wx_cv_func_gettimeofday_has_2_args=no
33660 else
33661 echo "$as_me: failed program was:" >&5
33662 sed 's/^/| /' conftest.$ac_ext >&5
33663
33664
33665 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
33666 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
33667 wx_cv_func_gettimeofday_has_2_args=unknown
33668
33669
33670 fi
33671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33672
33673 fi
33674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33675 ac_ext=c
33676 ac_cpp='$CPP $CPPFLAGS'
33677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33680
33681
33682 fi
33683 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
33684 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
33685
33686 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
33687 cat >>confdefs.h <<\_ACEOF
33688 #define WX_GETTIMEOFDAY_NO_TZ 1
33689 _ACEOF
33690
33691 fi
33692 fi
33693
33694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
33695 fi
33696
33697
33698 if test "$wxUSE_SOCKETS" = "yes"; then
33699 if test "$wxUSE_MGL" = "1"; then
33700 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
33701 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
33702 wxUSE_SOCKETS="no"
33703 fi
33704 if test "$wxUSE_COCOA" = "1"; then
33705 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
33706 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
33707 wxUSE_SOCKETS="no"
33708 fi
33709 fi
33710
33711 if test "$wxUSE_SOCKETS" = "yes"; then
33712 if test "$TOOLKIT" != "MSW"; then
33713 echo "$as_me:$LINENO: checking for socket" >&5
33714 echo $ECHO_N "checking for socket... $ECHO_C" >&6
33715 if test "${ac_cv_func_socket+set}" = set; then
33716 echo $ECHO_N "(cached) $ECHO_C" >&6
33717 else
33718 cat >conftest.$ac_ext <<_ACEOF
33719 /* confdefs.h. */
33720 _ACEOF
33721 cat confdefs.h >>conftest.$ac_ext
33722 cat >>conftest.$ac_ext <<_ACEOF
33723 /* end confdefs.h. */
33724 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
33725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33726 #define socket innocuous_socket
33727
33728 /* System header to define __stub macros and hopefully few prototypes,
33729 which can conflict with char socket (); below.
33730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33731 <limits.h> exists even on freestanding compilers. */
33732
33733 #ifdef __STDC__
33734 # include <limits.h>
33735 #else
33736 # include <assert.h>
33737 #endif
33738
33739 #undef socket
33740
33741 /* Override any gcc2 internal prototype to avoid an error. */
33742 #ifdef __cplusplus
33743 extern "C"
33744 {
33745 #endif
33746 /* We use char because int might match the return type of a gcc2
33747 builtin and then its argument prototype would still apply. */
33748 char socket ();
33749 /* The GNU C library defines this for functions which it implements
33750 to always fail with ENOSYS. Some functions are actually named
33751 something starting with __ and the normal name is an alias. */
33752 #if defined (__stub_socket) || defined (__stub___socket)
33753 choke me
33754 #else
33755 char (*f) () = socket;
33756 #endif
33757 #ifdef __cplusplus
33758 }
33759 #endif
33760
33761 int
33762 main ()
33763 {
33764 return f != socket;
33765 ;
33766 return 0;
33767 }
33768 _ACEOF
33769 rm -f conftest.$ac_objext conftest$ac_exeext
33770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33771 (eval $ac_link) 2>conftest.er1
33772 ac_status=$?
33773 grep -v '^ *+' conftest.er1 >conftest.err
33774 rm -f conftest.er1
33775 cat conftest.err >&5
33776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33777 (exit $ac_status); } &&
33778 { ac_try='test -z "$ac_c_werror_flag"
33779 || test ! -s conftest.err'
33780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33781 (eval $ac_try) 2>&5
33782 ac_status=$?
33783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33784 (exit $ac_status); }; } &&
33785 { ac_try='test -s conftest$ac_exeext'
33786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33787 (eval $ac_try) 2>&5
33788 ac_status=$?
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); }; }; then
33791 ac_cv_func_socket=yes
33792 else
33793 echo "$as_me: failed program was:" >&5
33794 sed 's/^/| /' conftest.$ac_ext >&5
33795
33796 ac_cv_func_socket=no
33797 fi
33798 rm -f conftest.err conftest.$ac_objext \
33799 conftest$ac_exeext conftest.$ac_ext
33800 fi
33801 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
33802 echo "${ECHO_T}$ac_cv_func_socket" >&6
33803 if test $ac_cv_func_socket = yes; then
33804 :
33805 else
33806
33807 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
33808 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
33809 if test "${ac_cv_lib_socket_socket+set}" = set; then
33810 echo $ECHO_N "(cached) $ECHO_C" >&6
33811 else
33812 ac_check_lib_save_LIBS=$LIBS
33813 LIBS="-lsocket $LIBS"
33814 cat >conftest.$ac_ext <<_ACEOF
33815 /* confdefs.h. */
33816 _ACEOF
33817 cat confdefs.h >>conftest.$ac_ext
33818 cat >>conftest.$ac_ext <<_ACEOF
33819 /* end confdefs.h. */
33820
33821 /* Override any gcc2 internal prototype to avoid an error. */
33822 #ifdef __cplusplus
33823 extern "C"
33824 #endif
33825 /* We use char because int might match the return type of a gcc2
33826 builtin and then its argument prototype would still apply. */
33827 char socket ();
33828 int
33829 main ()
33830 {
33831 socket ();
33832 ;
33833 return 0;
33834 }
33835 _ACEOF
33836 rm -f conftest.$ac_objext conftest$ac_exeext
33837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33838 (eval $ac_link) 2>conftest.er1
33839 ac_status=$?
33840 grep -v '^ *+' conftest.er1 >conftest.err
33841 rm -f conftest.er1
33842 cat conftest.err >&5
33843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33844 (exit $ac_status); } &&
33845 { ac_try='test -z "$ac_c_werror_flag"
33846 || test ! -s conftest.err'
33847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33848 (eval $ac_try) 2>&5
33849 ac_status=$?
33850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33851 (exit $ac_status); }; } &&
33852 { ac_try='test -s conftest$ac_exeext'
33853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33854 (eval $ac_try) 2>&5
33855 ac_status=$?
33856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857 (exit $ac_status); }; }; then
33858 ac_cv_lib_socket_socket=yes
33859 else
33860 echo "$as_me: failed program was:" >&5
33861 sed 's/^/| /' conftest.$ac_ext >&5
33862
33863 ac_cv_lib_socket_socket=no
33864 fi
33865 rm -f conftest.err conftest.$ac_objext \
33866 conftest$ac_exeext conftest.$ac_ext
33867 LIBS=$ac_check_lib_save_LIBS
33868 fi
33869 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
33870 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
33871 if test $ac_cv_lib_socket_socket = yes; then
33872 if test "$INET_LINK" != " -lsocket"; then
33873 INET_LINK="$INET_LINK -lsocket"
33874 fi
33875 else
33876
33877 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
33878 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
33879 wxUSE_SOCKETS=no
33880
33881
33882 fi
33883
33884
33885
33886 fi
33887
33888 fi
33889 fi
33890
33891 if test "$wxUSE_SOCKETS" = "yes" ; then
33892 if test "$TOOLKIT" != "MSW"; then
33893 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
33894 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
33895 if test "${wx_cv_type_getsockname3+set}" = set; then
33896 echo $ECHO_N "(cached) $ECHO_C" >&6
33897 else
33898
33899 cat >conftest.$ac_ext <<_ACEOF
33900 /* confdefs.h. */
33901 _ACEOF
33902 cat confdefs.h >>conftest.$ac_ext
33903 cat >>conftest.$ac_ext <<_ACEOF
33904 /* end confdefs.h. */
33905
33906 #include <sys/types.h>
33907 #include <sys/socket.h>
33908
33909 int
33910 main ()
33911 {
33912
33913 socklen_t len;
33914 getsockname(0, 0, &len);
33915
33916 ;
33917 return 0;
33918 }
33919 _ACEOF
33920 rm -f conftest.$ac_objext
33921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33922 (eval $ac_compile) 2>conftest.er1
33923 ac_status=$?
33924 grep -v '^ *+' conftest.er1 >conftest.err
33925 rm -f conftest.er1
33926 cat conftest.err >&5
33927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); } &&
33929 { ac_try='test -z "$ac_c_werror_flag"
33930 || test ! -s conftest.err'
33931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33932 (eval $ac_try) 2>&5
33933 ac_status=$?
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); }; } &&
33936 { ac_try='test -s conftest.$ac_objext'
33937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33938 (eval $ac_try) 2>&5
33939 ac_status=$?
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); }; }; then
33942 wx_cv_type_getsockname3=socklen_t
33943 else
33944 echo "$as_me: failed program was:" >&5
33945 sed 's/^/| /' conftest.$ac_ext >&5
33946
33947
33948 CFLAGS_OLD="$CFLAGS"
33949 if test "$GCC" = yes ; then
33950 CFLAGS="$CFLAGS -Werror"
33951 fi
33952
33953 cat >conftest.$ac_ext <<_ACEOF
33954 /* confdefs.h. */
33955 _ACEOF
33956 cat confdefs.h >>conftest.$ac_ext
33957 cat >>conftest.$ac_ext <<_ACEOF
33958 /* end confdefs.h. */
33959
33960 #include <sys/types.h>
33961 #include <sys/socket.h>
33962
33963 int
33964 main ()
33965 {
33966
33967 size_t len;
33968 getsockname(0, 0, &len);
33969
33970 ;
33971 return 0;
33972 }
33973 _ACEOF
33974 rm -f conftest.$ac_objext
33975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33976 (eval $ac_compile) 2>conftest.er1
33977 ac_status=$?
33978 grep -v '^ *+' conftest.er1 >conftest.err
33979 rm -f conftest.er1
33980 cat conftest.err >&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); } &&
33983 { ac_try='test -z "$ac_c_werror_flag"
33984 || test ! -s conftest.err'
33985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33986 (eval $ac_try) 2>&5
33987 ac_status=$?
33988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33989 (exit $ac_status); }; } &&
33990 { ac_try='test -s conftest.$ac_objext'
33991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33992 (eval $ac_try) 2>&5
33993 ac_status=$?
33994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995 (exit $ac_status); }; }; then
33996 wx_cv_type_getsockname3=size_t
33997 else
33998 echo "$as_me: failed program was:" >&5
33999 sed 's/^/| /' conftest.$ac_ext >&5
34000
34001 cat >conftest.$ac_ext <<_ACEOF
34002 /* confdefs.h. */
34003 _ACEOF
34004 cat confdefs.h >>conftest.$ac_ext
34005 cat >>conftest.$ac_ext <<_ACEOF
34006 /* end confdefs.h. */
34007
34008 #include <sys/types.h>
34009 #include <sys/socket.h>
34010
34011 int
34012 main ()
34013 {
34014
34015 int len;
34016 getsockname(0, 0, &len);
34017
34018 ;
34019 return 0;
34020 }
34021 _ACEOF
34022 rm -f conftest.$ac_objext
34023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34024 (eval $ac_compile) 2>conftest.er1
34025 ac_status=$?
34026 grep -v '^ *+' conftest.er1 >conftest.err
34027 rm -f conftest.er1
34028 cat conftest.err >&5
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); } &&
34031 { ac_try='test -z "$ac_c_werror_flag"
34032 || test ! -s conftest.err'
34033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34034 (eval $ac_try) 2>&5
34035 ac_status=$?
34036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34037 (exit $ac_status); }; } &&
34038 { ac_try='test -s conftest.$ac_objext'
34039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34040 (eval $ac_try) 2>&5
34041 ac_status=$?
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); }; }; then
34044 wx_cv_type_getsockname3=int
34045 else
34046 echo "$as_me: failed program was:" >&5
34047 sed 's/^/| /' conftest.$ac_ext >&5
34048
34049 wx_cv_type_getsockname3=unknown
34050
34051 fi
34052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34053
34054 fi
34055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34056
34057 CFLAGS="$CFLAGS_OLD"
34058
34059
34060 fi
34061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34062
34063 fi
34064 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
34065 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
34066
34067 if test "$wx_cv_type_getsockname3" = "unknown"; then
34068 wxUSE_SOCKETS=no
34069 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
34070 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34071 else
34072 cat >>confdefs.h <<_ACEOF
34073 #define SOCKLEN_T $wx_cv_type_getsockname3
34074 _ACEOF
34075
34076 fi
34077 fi
34078 fi
34079
34080 if test "$wxUSE_SOCKETS" = "yes" ; then
34081 cat >>confdefs.h <<\_ACEOF
34082 #define wxUSE_SOCKETS 1
34083 _ACEOF
34084
34085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
34086 fi
34087
34088 if test "$wxUSE_PROTOCOL" = "yes"; then
34089 if test "$wxUSE_SOCKETS" != "yes"; then
34090 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
34091 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
34092 wxUSE_PROTOCOL=no
34093 fi
34094 fi
34095
34096 if test "$wxUSE_PROTOCOL" = "yes"; then
34097 cat >>confdefs.h <<\_ACEOF
34098 #define wxUSE_PROTOCOL 1
34099 _ACEOF
34100
34101
34102 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
34103 cat >>confdefs.h <<\_ACEOF
34104 #define wxUSE_PROTOCOL_HTTP 1
34105 _ACEOF
34106
34107 fi
34108 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
34109 cat >>confdefs.h <<\_ACEOF
34110 #define wxUSE_PROTOCOL_FTP 1
34111 _ACEOF
34112
34113 fi
34114 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
34115 cat >>confdefs.h <<\_ACEOF
34116 #define wxUSE_PROTOCOL_FILE 1
34117 _ACEOF
34118
34119 fi
34120 else
34121 if test "$wxUSE_FS_INET" = "yes"; then
34122 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
34123 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
34124 wxUSE_FS_INET="no"
34125 fi
34126 fi
34127
34128 if test "$wxUSE_URL" = "yes"; then
34129 if test "$wxUSE_PROTOCOL" != "yes"; then
34130 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
34131 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
34132 wxUSE_URL=no
34133 fi
34134 if test "$wxUSE_URL" = "yes"; then
34135 cat >>confdefs.h <<\_ACEOF
34136 #define wxUSE_URL 1
34137 _ACEOF
34138
34139 fi
34140 fi
34141
34142 if test "$wxUSE_FS_INET" = "yes"; then
34143 cat >>confdefs.h <<\_ACEOF
34144 #define wxUSE_FS_INET 1
34145 _ACEOF
34146
34147 fi
34148
34149
34150 if test "$wxUSE_GUI" = "yes"; then
34151
34152 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
34153 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
34154 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
34155 wxUSE_JOYSTICK=no
34156 fi
34157
34158 if test "$TOOLKIT" != "MSW"; then
34159 if test "$wxUSE_JOYSTICK" = "yes"; then
34160
34161 for ac_header in linux/joystick.h
34162 do
34163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34165 echo "$as_me:$LINENO: checking for $ac_header" >&5
34166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34168 echo $ECHO_N "(cached) $ECHO_C" >&6
34169 fi
34170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34172 else
34173 # Is the header compilable?
34174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34176 cat >conftest.$ac_ext <<_ACEOF
34177 /* confdefs.h. */
34178 _ACEOF
34179 cat confdefs.h >>conftest.$ac_ext
34180 cat >>conftest.$ac_ext <<_ACEOF
34181 /* end confdefs.h. */
34182 $ac_includes_default
34183 #include <$ac_header>
34184 _ACEOF
34185 rm -f conftest.$ac_objext
34186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34187 (eval $ac_compile) 2>conftest.er1
34188 ac_status=$?
34189 grep -v '^ *+' conftest.er1 >conftest.err
34190 rm -f conftest.er1
34191 cat conftest.err >&5
34192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34193 (exit $ac_status); } &&
34194 { ac_try='test -z "$ac_c_werror_flag"
34195 || test ! -s conftest.err'
34196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34197 (eval $ac_try) 2>&5
34198 ac_status=$?
34199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200 (exit $ac_status); }; } &&
34201 { ac_try='test -s conftest.$ac_objext'
34202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34203 (eval $ac_try) 2>&5
34204 ac_status=$?
34205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34206 (exit $ac_status); }; }; then
34207 ac_header_compiler=yes
34208 else
34209 echo "$as_me: failed program was:" >&5
34210 sed 's/^/| /' conftest.$ac_ext >&5
34211
34212 ac_header_compiler=no
34213 fi
34214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34216 echo "${ECHO_T}$ac_header_compiler" >&6
34217
34218 # Is the header present?
34219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34221 cat >conftest.$ac_ext <<_ACEOF
34222 /* confdefs.h. */
34223 _ACEOF
34224 cat confdefs.h >>conftest.$ac_ext
34225 cat >>conftest.$ac_ext <<_ACEOF
34226 /* end confdefs.h. */
34227 #include <$ac_header>
34228 _ACEOF
34229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34231 ac_status=$?
34232 grep -v '^ *+' conftest.er1 >conftest.err
34233 rm -f conftest.er1
34234 cat conftest.err >&5
34235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34236 (exit $ac_status); } >/dev/null; then
34237 if test -s conftest.err; then
34238 ac_cpp_err=$ac_c_preproc_warn_flag
34239 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34240 else
34241 ac_cpp_err=
34242 fi
34243 else
34244 ac_cpp_err=yes
34245 fi
34246 if test -z "$ac_cpp_err"; then
34247 ac_header_preproc=yes
34248 else
34249 echo "$as_me: failed program was:" >&5
34250 sed 's/^/| /' conftest.$ac_ext >&5
34251
34252 ac_header_preproc=no
34253 fi
34254 rm -f conftest.err conftest.$ac_ext
34255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34256 echo "${ECHO_T}$ac_header_preproc" >&6
34257
34258 # So? What about this header?
34259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34260 yes:no: )
34261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34265 ac_header_preproc=yes
34266 ;;
34267 no:yes:* )
34268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34272 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34274 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34275 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34278 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34280 (
34281 cat <<\_ASBOX
34282 ## ----------------------------------------- ##
34283 ## Report this to wx-dev@lists.wxwindows.org ##
34284 ## ----------------------------------------- ##
34285 _ASBOX
34286 ) |
34287 sed "s/^/$as_me: WARNING: /" >&2
34288 ;;
34289 esac
34290 echo "$as_me:$LINENO: checking for $ac_header" >&5
34291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34293 echo $ECHO_N "(cached) $ECHO_C" >&6
34294 else
34295 eval "$as_ac_Header=\$ac_header_preproc"
34296 fi
34297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34299
34300 fi
34301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34302 cat >>confdefs.h <<_ACEOF
34303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34304 _ACEOF
34305
34306 fi
34307
34308 done
34309
34310 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
34311 wxUSE_JOYSTICK=no
34312 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
34313 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
34314 fi
34315 fi
34316 fi
34317
34318 if test "$wxUSE_JOYSTICK" = "yes"; then
34319 cat >>confdefs.h <<\_ACEOF
34320 #define wxUSE_JOYSTICK 1
34321 _ACEOF
34322
34323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
34324 fi
34325 fi
34326
34327
34328 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34329
34330 HAVE_DL_FUNCS=0
34331 HAVE_SHL_FUNCS=0
34332 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34333 if test "$USE_DARWIN" = 1; then
34334 HAVE_DL_FUNCS=1
34335 else
34336
34337 for ac_func in dlopen
34338 do
34339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34340 echo "$as_me:$LINENO: checking for $ac_func" >&5
34341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34342 if eval "test \"\${$as_ac_var+set}\" = set"; then
34343 echo $ECHO_N "(cached) $ECHO_C" >&6
34344 else
34345 cat >conftest.$ac_ext <<_ACEOF
34346 /* confdefs.h. */
34347 _ACEOF
34348 cat confdefs.h >>conftest.$ac_ext
34349 cat >>conftest.$ac_ext <<_ACEOF
34350 /* end confdefs.h. */
34351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34353 #define $ac_func innocuous_$ac_func
34354
34355 /* System header to define __stub macros and hopefully few prototypes,
34356 which can conflict with char $ac_func (); below.
34357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34358 <limits.h> exists even on freestanding compilers. */
34359
34360 #ifdef __STDC__
34361 # include <limits.h>
34362 #else
34363 # include <assert.h>
34364 #endif
34365
34366 #undef $ac_func
34367
34368 /* Override any gcc2 internal prototype to avoid an error. */
34369 #ifdef __cplusplus
34370 extern "C"
34371 {
34372 #endif
34373 /* We use char because int might match the return type of a gcc2
34374 builtin and then its argument prototype would still apply. */
34375 char $ac_func ();
34376 /* The GNU C library defines this for functions which it implements
34377 to always fail with ENOSYS. Some functions are actually named
34378 something starting with __ and the normal name is an alias. */
34379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34380 choke me
34381 #else
34382 char (*f) () = $ac_func;
34383 #endif
34384 #ifdef __cplusplus
34385 }
34386 #endif
34387
34388 int
34389 main ()
34390 {
34391 return f != $ac_func;
34392 ;
34393 return 0;
34394 }
34395 _ACEOF
34396 rm -f conftest.$ac_objext conftest$ac_exeext
34397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34398 (eval $ac_link) 2>conftest.er1
34399 ac_status=$?
34400 grep -v '^ *+' conftest.er1 >conftest.err
34401 rm -f conftest.er1
34402 cat conftest.err >&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); } &&
34405 { ac_try='test -z "$ac_c_werror_flag"
34406 || test ! -s conftest.err'
34407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34408 (eval $ac_try) 2>&5
34409 ac_status=$?
34410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34411 (exit $ac_status); }; } &&
34412 { ac_try='test -s conftest$ac_exeext'
34413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34414 (eval $ac_try) 2>&5
34415 ac_status=$?
34416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417 (exit $ac_status); }; }; then
34418 eval "$as_ac_var=yes"
34419 else
34420 echo "$as_me: failed program was:" >&5
34421 sed 's/^/| /' conftest.$ac_ext >&5
34422
34423 eval "$as_ac_var=no"
34424 fi
34425 rm -f conftest.err conftest.$ac_objext \
34426 conftest$ac_exeext conftest.$ac_ext
34427 fi
34428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34430 if test `eval echo '${'$as_ac_var'}'` = yes; then
34431 cat >>confdefs.h <<_ACEOF
34432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34433 _ACEOF
34434
34435 cat >>confdefs.h <<\_ACEOF
34436 #define HAVE_DLOPEN 1
34437 _ACEOF
34438
34439 HAVE_DL_FUNCS=1
34440
34441 else
34442
34443 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34444 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34445 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34446 echo $ECHO_N "(cached) $ECHO_C" >&6
34447 else
34448 ac_check_lib_save_LIBS=$LIBS
34449 LIBS="-ldl $LIBS"
34450 cat >conftest.$ac_ext <<_ACEOF
34451 /* confdefs.h. */
34452 _ACEOF
34453 cat confdefs.h >>conftest.$ac_ext
34454 cat >>conftest.$ac_ext <<_ACEOF
34455 /* end confdefs.h. */
34456
34457 /* Override any gcc2 internal prototype to avoid an error. */
34458 #ifdef __cplusplus
34459 extern "C"
34460 #endif
34461 /* We use char because int might match the return type of a gcc2
34462 builtin and then its argument prototype would still apply. */
34463 char dlopen ();
34464 int
34465 main ()
34466 {
34467 dlopen ();
34468 ;
34469 return 0;
34470 }
34471 _ACEOF
34472 rm -f conftest.$ac_objext conftest$ac_exeext
34473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34474 (eval $ac_link) 2>conftest.er1
34475 ac_status=$?
34476 grep -v '^ *+' conftest.er1 >conftest.err
34477 rm -f conftest.er1
34478 cat conftest.err >&5
34479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480 (exit $ac_status); } &&
34481 { ac_try='test -z "$ac_c_werror_flag"
34482 || test ! -s conftest.err'
34483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34484 (eval $ac_try) 2>&5
34485 ac_status=$?
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); }; } &&
34488 { ac_try='test -s conftest$ac_exeext'
34489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34490 (eval $ac_try) 2>&5
34491 ac_status=$?
34492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34493 (exit $ac_status); }; }; then
34494 ac_cv_lib_dl_dlopen=yes
34495 else
34496 echo "$as_me: failed program was:" >&5
34497 sed 's/^/| /' conftest.$ac_ext >&5
34498
34499 ac_cv_lib_dl_dlopen=no
34500 fi
34501 rm -f conftest.err conftest.$ac_objext \
34502 conftest$ac_exeext conftest.$ac_ext
34503 LIBS=$ac_check_lib_save_LIBS
34504 fi
34505 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34506 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34507 if test $ac_cv_lib_dl_dlopen = yes; then
34508
34509 cat >>confdefs.h <<\_ACEOF
34510 #define HAVE_DLOPEN 1
34511 _ACEOF
34512
34513 HAVE_DL_FUNCS=1
34514 DL_LINK=" -ldl$DL_LINK"
34515
34516 else
34517
34518
34519 for ac_func in shl_load
34520 do
34521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34522 echo "$as_me:$LINENO: checking for $ac_func" >&5
34523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34524 if eval "test \"\${$as_ac_var+set}\" = set"; then
34525 echo $ECHO_N "(cached) $ECHO_C" >&6
34526 else
34527 cat >conftest.$ac_ext <<_ACEOF
34528 /* confdefs.h. */
34529 _ACEOF
34530 cat confdefs.h >>conftest.$ac_ext
34531 cat >>conftest.$ac_ext <<_ACEOF
34532 /* end confdefs.h. */
34533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34535 #define $ac_func innocuous_$ac_func
34536
34537 /* System header to define __stub macros and hopefully few prototypes,
34538 which can conflict with char $ac_func (); below.
34539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34540 <limits.h> exists even on freestanding compilers. */
34541
34542 #ifdef __STDC__
34543 # include <limits.h>
34544 #else
34545 # include <assert.h>
34546 #endif
34547
34548 #undef $ac_func
34549
34550 /* Override any gcc2 internal prototype to avoid an error. */
34551 #ifdef __cplusplus
34552 extern "C"
34553 {
34554 #endif
34555 /* We use char because int might match the return type of a gcc2
34556 builtin and then its argument prototype would still apply. */
34557 char $ac_func ();
34558 /* The GNU C library defines this for functions which it implements
34559 to always fail with ENOSYS. Some functions are actually named
34560 something starting with __ and the normal name is an alias. */
34561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34562 choke me
34563 #else
34564 char (*f) () = $ac_func;
34565 #endif
34566 #ifdef __cplusplus
34567 }
34568 #endif
34569
34570 int
34571 main ()
34572 {
34573 return f != $ac_func;
34574 ;
34575 return 0;
34576 }
34577 _ACEOF
34578 rm -f conftest.$ac_objext conftest$ac_exeext
34579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34580 (eval $ac_link) 2>conftest.er1
34581 ac_status=$?
34582 grep -v '^ *+' conftest.er1 >conftest.err
34583 rm -f conftest.er1
34584 cat conftest.err >&5
34585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34586 (exit $ac_status); } &&
34587 { ac_try='test -z "$ac_c_werror_flag"
34588 || test ! -s conftest.err'
34589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34590 (eval $ac_try) 2>&5
34591 ac_status=$?
34592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593 (exit $ac_status); }; } &&
34594 { ac_try='test -s conftest$ac_exeext'
34595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34596 (eval $ac_try) 2>&5
34597 ac_status=$?
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); }; }; then
34600 eval "$as_ac_var=yes"
34601 else
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.$ac_ext >&5
34604
34605 eval "$as_ac_var=no"
34606 fi
34607 rm -f conftest.err conftest.$ac_objext \
34608 conftest$ac_exeext conftest.$ac_ext
34609 fi
34610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34612 if test `eval echo '${'$as_ac_var'}'` = yes; then
34613 cat >>confdefs.h <<_ACEOF
34614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34615 _ACEOF
34616
34617 cat >>confdefs.h <<\_ACEOF
34618 #define HAVE_SHL_LOAD 1
34619 _ACEOF
34620
34621 HAVE_SHL_FUNCS=1
34622
34623 else
34624
34625 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34626 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34627 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34628 echo $ECHO_N "(cached) $ECHO_C" >&6
34629 else
34630 ac_check_lib_save_LIBS=$LIBS
34631 LIBS="-lshl_load $LIBS"
34632 cat >conftest.$ac_ext <<_ACEOF
34633 /* confdefs.h. */
34634 _ACEOF
34635 cat confdefs.h >>conftest.$ac_ext
34636 cat >>conftest.$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638
34639 /* Override any gcc2 internal prototype to avoid an error. */
34640 #ifdef __cplusplus
34641 extern "C"
34642 #endif
34643 /* We use char because int might match the return type of a gcc2
34644 builtin and then its argument prototype would still apply. */
34645 char dld ();
34646 int
34647 main ()
34648 {
34649 dld ();
34650 ;
34651 return 0;
34652 }
34653 _ACEOF
34654 rm -f conftest.$ac_objext conftest$ac_exeext
34655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34656 (eval $ac_link) 2>conftest.er1
34657 ac_status=$?
34658 grep -v '^ *+' conftest.er1 >conftest.err
34659 rm -f conftest.er1
34660 cat conftest.err >&5
34661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34662 (exit $ac_status); } &&
34663 { ac_try='test -z "$ac_c_werror_flag"
34664 || test ! -s conftest.err'
34665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34666 (eval $ac_try) 2>&5
34667 ac_status=$?
34668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669 (exit $ac_status); }; } &&
34670 { ac_try='test -s conftest$ac_exeext'
34671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34672 (eval $ac_try) 2>&5
34673 ac_status=$?
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); }; }; then
34676 ac_cv_lib_shl_load_dld=yes
34677 else
34678 echo "$as_me: failed program was:" >&5
34679 sed 's/^/| /' conftest.$ac_ext >&5
34680
34681 ac_cv_lib_shl_load_dld=no
34682 fi
34683 rm -f conftest.err conftest.$ac_objext \
34684 conftest$ac_exeext conftest.$ac_ext
34685 LIBS=$ac_check_lib_save_LIBS
34686 fi
34687 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34688 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34689 if test $ac_cv_lib_shl_load_dld = yes; then
34690
34691 HAVE_SHL_FUNCS=1
34692 DL_LINK=" -ldld$DL_LINK"
34693
34694 fi
34695
34696
34697 fi
34698 done
34699
34700
34701 fi
34702
34703
34704 fi
34705 done
34706
34707
34708 if test "$HAVE_DL_FUNCS" = 1; then
34709
34710 for ac_func in dlerror
34711 do
34712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34713 echo "$as_me:$LINENO: checking for $ac_func" >&5
34714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34715 if eval "test \"\${$as_ac_var+set}\" = set"; then
34716 echo $ECHO_N "(cached) $ECHO_C" >&6
34717 else
34718 cat >conftest.$ac_ext <<_ACEOF
34719 /* confdefs.h. */
34720 _ACEOF
34721 cat confdefs.h >>conftest.$ac_ext
34722 cat >>conftest.$ac_ext <<_ACEOF
34723 /* end confdefs.h. */
34724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34726 #define $ac_func innocuous_$ac_func
34727
34728 /* System header to define __stub macros and hopefully few prototypes,
34729 which can conflict with char $ac_func (); below.
34730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34731 <limits.h> exists even on freestanding compilers. */
34732
34733 #ifdef __STDC__
34734 # include <limits.h>
34735 #else
34736 # include <assert.h>
34737 #endif
34738
34739 #undef $ac_func
34740
34741 /* Override any gcc2 internal prototype to avoid an error. */
34742 #ifdef __cplusplus
34743 extern "C"
34744 {
34745 #endif
34746 /* We use char because int might match the return type of a gcc2
34747 builtin and then its argument prototype would still apply. */
34748 char $ac_func ();
34749 /* The GNU C library defines this for functions which it implements
34750 to always fail with ENOSYS. Some functions are actually named
34751 something starting with __ and the normal name is an alias. */
34752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34753 choke me
34754 #else
34755 char (*f) () = $ac_func;
34756 #endif
34757 #ifdef __cplusplus
34758 }
34759 #endif
34760
34761 int
34762 main ()
34763 {
34764 return f != $ac_func;
34765 ;
34766 return 0;
34767 }
34768 _ACEOF
34769 rm -f conftest.$ac_objext conftest$ac_exeext
34770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34771 (eval $ac_link) 2>conftest.er1
34772 ac_status=$?
34773 grep -v '^ *+' conftest.er1 >conftest.err
34774 rm -f conftest.er1
34775 cat conftest.err >&5
34776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34777 (exit $ac_status); } &&
34778 { ac_try='test -z "$ac_c_werror_flag"
34779 || test ! -s conftest.err'
34780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34781 (eval $ac_try) 2>&5
34782 ac_status=$?
34783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784 (exit $ac_status); }; } &&
34785 { ac_try='test -s conftest$ac_exeext'
34786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34787 (eval $ac_try) 2>&5
34788 ac_status=$?
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); }; }; then
34791 eval "$as_ac_var=yes"
34792 else
34793 echo "$as_me: failed program was:" >&5
34794 sed 's/^/| /' conftest.$ac_ext >&5
34795
34796 eval "$as_ac_var=no"
34797 fi
34798 rm -f conftest.err conftest.$ac_objext \
34799 conftest$ac_exeext conftest.$ac_ext
34800 fi
34801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34803 if test `eval echo '${'$as_ac_var'}'` = yes; then
34804 cat >>confdefs.h <<_ACEOF
34805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34806 _ACEOF
34807 cat >>confdefs.h <<\_ACEOF
34808 #define HAVE_DLERROR 1
34809 _ACEOF
34810
34811 else
34812
34813 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34814 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34815 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34816 echo $ECHO_N "(cached) $ECHO_C" >&6
34817 else
34818 ac_check_lib_save_LIBS=$LIBS
34819 LIBS="-ldl $LIBS"
34820 cat >conftest.$ac_ext <<_ACEOF
34821 /* confdefs.h. */
34822 _ACEOF
34823 cat confdefs.h >>conftest.$ac_ext
34824 cat >>conftest.$ac_ext <<_ACEOF
34825 /* end confdefs.h. */
34826
34827 /* Override any gcc2 internal prototype to avoid an error. */
34828 #ifdef __cplusplus
34829 extern "C"
34830 #endif
34831 /* We use char because int might match the return type of a gcc2
34832 builtin and then its argument prototype would still apply. */
34833 char dlerror ();
34834 int
34835 main ()
34836 {
34837 dlerror ();
34838 ;
34839 return 0;
34840 }
34841 _ACEOF
34842 rm -f conftest.$ac_objext conftest$ac_exeext
34843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34844 (eval $ac_link) 2>conftest.er1
34845 ac_status=$?
34846 grep -v '^ *+' conftest.er1 >conftest.err
34847 rm -f conftest.er1
34848 cat conftest.err >&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); } &&
34851 { ac_try='test -z "$ac_c_werror_flag"
34852 || test ! -s conftest.err'
34853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34854 (eval $ac_try) 2>&5
34855 ac_status=$?
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); }; } &&
34858 { ac_try='test -s conftest$ac_exeext'
34859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34860 (eval $ac_try) 2>&5
34861 ac_status=$?
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); }; }; then
34864 ac_cv_lib_dl_dlerror=yes
34865 else
34866 echo "$as_me: failed program was:" >&5
34867 sed 's/^/| /' conftest.$ac_ext >&5
34868
34869 ac_cv_lib_dl_dlerror=no
34870 fi
34871 rm -f conftest.err conftest.$ac_objext \
34872 conftest$ac_exeext conftest.$ac_ext
34873 LIBS=$ac_check_lib_save_LIBS
34874 fi
34875 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34876 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34877 if test $ac_cv_lib_dl_dlerror = yes; then
34878 cat >>confdefs.h <<\_ACEOF
34879 #define HAVE_DLERROR 1
34880 _ACEOF
34881
34882 fi
34883
34884
34885
34886 fi
34887 done
34888
34889 fi
34890 fi
34891
34892 if test "$HAVE_DL_FUNCS" = 0; then
34893 if test "$HAVE_SHL_FUNCS" = 0; then
34894 if test "$USE_UNIX" = 1; then
34895 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34896 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34897 wxUSE_DYNAMIC_LOADER=no
34898 wxUSE_DYNLIB_CLASS=no
34899 else
34900 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34901 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34902 fi
34903 fi
34904 fi
34905 fi
34906 fi
34907
34908 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34909 cat >>confdefs.h <<\_ACEOF
34910 #define wxUSE_DYNAMIC_LOADER 1
34911 _ACEOF
34912
34913 fi
34914 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34915 cat >>confdefs.h <<\_ACEOF
34916 #define wxUSE_DYNLIB_CLASS 1
34917 _ACEOF
34918
34919 fi
34920
34921
34922 if test "$wxUSE_FONTMAP" = "yes" ; then
34923 cat >>confdefs.h <<\_ACEOF
34924 #define wxUSE_FONTMAP 1
34925 _ACEOF
34926
34927 fi
34928
34929 if test "$wxUSE_UNICODE" = "yes" ; then
34930 cat >>confdefs.h <<\_ACEOF
34931 #define wxUSE_UNICODE 1
34932 _ACEOF
34933
34934
34935 if test "$USE_WIN32" != 1; then
34936 wxUSE_UNICODE_MSLU=no
34937 fi
34938
34939 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
34940 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
34941 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
34942 if test "${ac_cv_lib_unicows_main+set}" = set; then
34943 echo $ECHO_N "(cached) $ECHO_C" >&6
34944 else
34945 ac_check_lib_save_LIBS=$LIBS
34946 LIBS="-lunicows $LIBS"
34947 cat >conftest.$ac_ext <<_ACEOF
34948 /* confdefs.h. */
34949 _ACEOF
34950 cat confdefs.h >>conftest.$ac_ext
34951 cat >>conftest.$ac_ext <<_ACEOF
34952 /* end confdefs.h. */
34953
34954
34955 int
34956 main ()
34957 {
34958 main ();
34959 ;
34960 return 0;
34961 }
34962 _ACEOF
34963 rm -f conftest.$ac_objext conftest$ac_exeext
34964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34965 (eval $ac_link) 2>conftest.er1
34966 ac_status=$?
34967 grep -v '^ *+' conftest.er1 >conftest.err
34968 rm -f conftest.er1
34969 cat conftest.err >&5
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); } &&
34972 { ac_try='test -z "$ac_c_werror_flag"
34973 || test ! -s conftest.err'
34974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34975 (eval $ac_try) 2>&5
34976 ac_status=$?
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); }; } &&
34979 { ac_try='test -s conftest$ac_exeext'
34980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34981 (eval $ac_try) 2>&5
34982 ac_status=$?
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); }; }; then
34985 ac_cv_lib_unicows_main=yes
34986 else
34987 echo "$as_me: failed program was:" >&5
34988 sed 's/^/| /' conftest.$ac_ext >&5
34989
34990 ac_cv_lib_unicows_main=no
34991 fi
34992 rm -f conftest.err conftest.$ac_objext \
34993 conftest$ac_exeext conftest.$ac_ext
34994 LIBS=$ac_check_lib_save_LIBS
34995 fi
34996 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
34997 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
34998 if test $ac_cv_lib_unicows_main = yes; then
34999
35000 cat >>confdefs.h <<\_ACEOF
35001 #define wxUSE_UNICODE_MSLU 1
35002 _ACEOF
35003
35004
35005 else
35006
35007 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35008 Applications will only run on Windows NT/2000/XP!" >&5
35009 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35010 Applications will only run on Windows NT/2000/XP!" >&2;}
35011 wxUSE_UNICODE_MSLU=no
35012
35013 fi
35014
35015 fi
35016 fi
35017
35018 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35019 cat >>confdefs.h <<\_ACEOF
35020 #define wxUSE_EXPERIMENTAL_PRINTF 1
35021 _ACEOF
35022
35023 fi
35024
35025
35026 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35027 cat >>confdefs.h <<\_ACEOF
35028 #define wxUSE_POSTSCRIPT 1
35029 _ACEOF
35030
35031 fi
35032
35033 cat >>confdefs.h <<\_ACEOF
35034 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35035 _ACEOF
35036
35037
35038 cat >>confdefs.h <<\_ACEOF
35039 #define wxUSE_NORMALIZED_PS_FONTS 1
35040 _ACEOF
35041
35042
35043
35044 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35045 cat >>confdefs.h <<\_ACEOF
35046 #define wxUSE_CONSTRAINTS 1
35047 _ACEOF
35048
35049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35050 fi
35051
35052 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35053 cat >>confdefs.h <<\_ACEOF
35054 #define wxUSE_MDI_ARCHITECTURE 1
35055 _ACEOF
35056
35057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35058 fi
35059
35060 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35061 cat >>confdefs.h <<\_ACEOF
35062 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
35063 _ACEOF
35064
35065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35066 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
35068 fi
35069 fi
35070
35071 if test "$wxUSE_HELP" = "yes"; then
35072 cat >>confdefs.h <<\_ACEOF
35073 #define wxUSE_HELP 1
35074 _ACEOF
35075
35076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35077
35078 if test "$wxUSE_MSW" = 1; then
35079 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35080 cat >>confdefs.h <<\_ACEOF
35081 #define wxUSE_MS_HTML_HELP 1
35082 _ACEOF
35083
35084 fi
35085 fi
35086
35087 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35088 if test "$wxUSE_HTML" = "yes"; then
35089 cat >>confdefs.h <<\_ACEOF
35090 #define wxUSE_WXHTML_HELP 1
35091 _ACEOF
35092
35093 else
35094 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35095 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35096 wxUSE_WXHTML_HELP=no
35097 fi
35098 fi
35099 fi
35100
35101 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35102 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35103 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
35104 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
35105 else
35106 cat >>confdefs.h <<\_ACEOF
35107 #define wxUSE_PRINTING_ARCHITECTURE 1
35108 _ACEOF
35109
35110 fi
35111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35112 fi
35113
35114 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
35115 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
35116 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
35117 { (exit 1); exit 1; }; }
35118 fi
35119
35120
35121 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35122 -o "$wxUSE_CLIPBOARD" = "yes" \
35123 -o "$wxUSE_OLE" = "yes" \
35124 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35125
35126 for ac_header in ole2.h
35127 do
35128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35130 echo "$as_me:$LINENO: checking for $ac_header" >&5
35131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35133 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 fi
35135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35137 else
35138 # Is the header compilable?
35139 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35140 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35141 cat >conftest.$ac_ext <<_ACEOF
35142 /* confdefs.h. */
35143 _ACEOF
35144 cat confdefs.h >>conftest.$ac_ext
35145 cat >>conftest.$ac_ext <<_ACEOF
35146 /* end confdefs.h. */
35147 $ac_includes_default
35148 #include <$ac_header>
35149 _ACEOF
35150 rm -f conftest.$ac_objext
35151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35152 (eval $ac_compile) 2>conftest.er1
35153 ac_status=$?
35154 grep -v '^ *+' conftest.er1 >conftest.err
35155 rm -f conftest.er1
35156 cat conftest.err >&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); } &&
35159 { ac_try='test -z "$ac_c_werror_flag"
35160 || test ! -s conftest.err'
35161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35162 (eval $ac_try) 2>&5
35163 ac_status=$?
35164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35165 (exit $ac_status); }; } &&
35166 { ac_try='test -s conftest.$ac_objext'
35167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35168 (eval $ac_try) 2>&5
35169 ac_status=$?
35170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35171 (exit $ac_status); }; }; then
35172 ac_header_compiler=yes
35173 else
35174 echo "$as_me: failed program was:" >&5
35175 sed 's/^/| /' conftest.$ac_ext >&5
35176
35177 ac_header_compiler=no
35178 fi
35179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35180 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35181 echo "${ECHO_T}$ac_header_compiler" >&6
35182
35183 # Is the header present?
35184 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35185 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35186 cat >conftest.$ac_ext <<_ACEOF
35187 /* confdefs.h. */
35188 _ACEOF
35189 cat confdefs.h >>conftest.$ac_ext
35190 cat >>conftest.$ac_ext <<_ACEOF
35191 /* end confdefs.h. */
35192 #include <$ac_header>
35193 _ACEOF
35194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35195 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35196 ac_status=$?
35197 grep -v '^ *+' conftest.er1 >conftest.err
35198 rm -f conftest.er1
35199 cat conftest.err >&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); } >/dev/null; then
35202 if test -s conftest.err; then
35203 ac_cpp_err=$ac_c_preproc_warn_flag
35204 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35205 else
35206 ac_cpp_err=
35207 fi
35208 else
35209 ac_cpp_err=yes
35210 fi
35211 if test -z "$ac_cpp_err"; then
35212 ac_header_preproc=yes
35213 else
35214 echo "$as_me: failed program was:" >&5
35215 sed 's/^/| /' conftest.$ac_ext >&5
35216
35217 ac_header_preproc=no
35218 fi
35219 rm -f conftest.err conftest.$ac_ext
35220 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35221 echo "${ECHO_T}$ac_header_preproc" >&6
35222
35223 # So? What about this header?
35224 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35225 yes:no: )
35226 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35227 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35229 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35230 ac_header_preproc=yes
35231 ;;
35232 no:yes:* )
35233 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35234 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35235 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35236 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35237 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35238 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35239 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35240 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35242 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35243 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35244 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35245 (
35246 cat <<\_ASBOX
35247 ## ----------------------------------------- ##
35248 ## Report this to wx-dev@lists.wxwindows.org ##
35249 ## ----------------------------------------- ##
35250 _ASBOX
35251 ) |
35252 sed "s/^/$as_me: WARNING: /" >&2
35253 ;;
35254 esac
35255 echo "$as_me:$LINENO: checking for $ac_header" >&5
35256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35258 echo $ECHO_N "(cached) $ECHO_C" >&6
35259 else
35260 eval "$as_ac_Header=\$ac_header_preproc"
35261 fi
35262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35264
35265 fi
35266 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35267 cat >>confdefs.h <<_ACEOF
35268 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35269 _ACEOF
35270
35271 fi
35272
35273 done
35274
35275
35276 if test "$ac_cv_header_ole2_h" = "yes" ; then
35277 if test "$GCC" = yes ; then
35278
35279
35280 ac_ext=cc
35281 ac_cpp='$CXXCPP $CPPFLAGS'
35282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35285
35286
35287 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
35288 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
35289 cat >conftest.$ac_ext <<_ACEOF
35290 /* confdefs.h. */
35291 _ACEOF
35292 cat confdefs.h >>conftest.$ac_ext
35293 cat >>conftest.$ac_ext <<_ACEOF
35294 /* end confdefs.h. */
35295 #include <windows.h>
35296 #include <ole2.h>
35297 int
35298 main ()
35299 {
35300
35301 ;
35302 return 0;
35303 }
35304 _ACEOF
35305 rm -f conftest.$ac_objext
35306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35307 (eval $ac_compile) 2>conftest.er1
35308 ac_status=$?
35309 grep -v '^ *+' conftest.er1 >conftest.err
35310 rm -f conftest.er1
35311 cat conftest.err >&5
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); } &&
35314 { ac_try='test -z "$ac_cxx_werror_flag"
35315 || test ! -s conftest.err'
35316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35317 (eval $ac_try) 2>&5
35318 ac_status=$?
35319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35320 (exit $ac_status); }; } &&
35321 { ac_try='test -s conftest.$ac_objext'
35322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35323 (eval $ac_try) 2>&5
35324 ac_status=$?
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); }; }; then
35327 echo "$as_me:$LINENO: result: no" >&5
35328 echo "${ECHO_T}no" >&6
35329 else
35330 echo "$as_me: failed program was:" >&5
35331 sed 's/^/| /' conftest.$ac_ext >&5
35332
35333 echo "$as_me:$LINENO: result: yes" >&5
35334 echo "${ECHO_T}yes" >&6
35335 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
35336 fi
35337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35338 ac_ext=c
35339 ac_cpp='$CPP $CPPFLAGS'
35340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35343
35344 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
35345 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35346 cat >>confdefs.h <<\_ACEOF
35347 #define wxUSE_OLE 1
35348 _ACEOF
35349
35350
35351 fi
35352
35353 cat >>confdefs.h <<\_ACEOF
35354 #define wxUSE_DATAOBJ 1
35355 _ACEOF
35356
35357 else
35358 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
35359 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35360
35361 wxUSE_CLIPBOARD=no
35362 wxUSE_DRAG_AND_DROP=no
35363 wxUSE_DATAOBJ=no
35364 wxUSE_OLE=no
35365 fi
35366
35367 if test "$wxUSE_METAFILE" = "yes"; then
35368 cat >>confdefs.h <<\_ACEOF
35369 #define wxUSE_METAFILE 1
35370 _ACEOF
35371
35372
35373 cat >>confdefs.h <<\_ACEOF
35374 #define wxUSE_ENH_METAFILE 1
35375 _ACEOF
35376
35377 fi
35378 fi
35379
35380 if test "$wxUSE_IPC" = "yes"; then
35381 if test "$wxUSE_SOCKETS" != "yes"; then
35382 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
35383 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
35384 fi
35385
35386 cat >>confdefs.h <<\_ACEOF
35387 #define wxUSE_IPC 1
35388 _ACEOF
35389
35390 fi
35391
35392 if test "$wxUSE_CLIPBOARD" = "yes"; then
35393 if test "$wxUSE_MGL" = 1; then
35394 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
35395 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
35396 wxUSE_CLIPBOARD=no
35397 fi
35398
35399 if test "$wxUSE_CLIPBOARD" = "yes"; then
35400 cat >>confdefs.h <<\_ACEOF
35401 #define wxUSE_CLIPBOARD 1
35402 _ACEOF
35403
35404
35405 cat >>confdefs.h <<\_ACEOF
35406 #define wxUSE_DATAOBJ 1
35407 _ACEOF
35408
35409 fi
35410 fi
35411
35412 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35413 if test "$wxUSE_GTK" = 1; then
35414 if test "$WXGTK12" != 1; then
35415 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
35416 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
35417 wxUSE_DRAG_AND_DROP=no
35418 fi
35419 fi
35420
35421 if test "$wxUSE_MOTIF" = 1; then
35422 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
35423 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
35424 wxUSE_DRAG_AND_DROP=no
35425 fi
35426
35427 if test "$wxUSE_X11" = 1; then
35428 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
35429 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
35430 wxUSE_DRAG_AND_DROP=no
35431 fi
35432
35433 if test "$wxUSE_MGL" = 1; then
35434 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
35435 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
35436 wxUSE_DRAG_AND_DROP=no
35437 fi
35438
35439 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35440 cat >>confdefs.h <<\_ACEOF
35441 #define wxUSE_DRAG_AND_DROP 1
35442 _ACEOF
35443
35444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35445 fi
35446
35447 fi
35448
35449 if test "$wxUSE_SPLINES" = "yes" ; then
35450 cat >>confdefs.h <<\_ACEOF
35451 #define wxUSE_SPLINES 1
35452 _ACEOF
35453
35454 fi
35455
35456
35457 USES_CONTROLS=0
35458 if test "$wxUSE_CONTROLS" = "yes"; then
35459 USES_CONTROLS=1
35460 fi
35461
35462 if test "$wxUSE_ACCEL" = "yes"; then
35463 cat >>confdefs.h <<\_ACEOF
35464 #define wxUSE_ACCEL 1
35465 _ACEOF
35466
35467 USES_CONTROLS=1
35468 fi
35469
35470 if test "$wxUSE_BUTTON" = "yes"; then
35471 cat >>confdefs.h <<\_ACEOF
35472 #define wxUSE_BUTTON 1
35473 _ACEOF
35474
35475 USES_CONTROLS=1
35476 fi
35477
35478 if test "$wxUSE_BMPBUTTON" = "yes"; then
35479 cat >>confdefs.h <<\_ACEOF
35480 #define wxUSE_BMPBUTTON 1
35481 _ACEOF
35482
35483 USES_CONTROLS=1
35484 fi
35485
35486 if test "$wxUSE_CALCTRL" = "yes"; then
35487 cat >>confdefs.h <<\_ACEOF
35488 #define wxUSE_CALENDARCTRL 1
35489 _ACEOF
35490
35491 USES_CONTROLS=1
35492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35493 fi
35494
35495 if test "$wxUSE_CARET" = "yes"; then
35496 cat >>confdefs.h <<\_ACEOF
35497 #define wxUSE_CARET 1
35498 _ACEOF
35499
35500 USES_CONTROLS=1
35501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35502 fi
35503
35504 if test "$wxUSE_COMBOBOX" = "yes"; then
35505 cat >>confdefs.h <<\_ACEOF
35506 #define wxUSE_COMBOBOX 1
35507 _ACEOF
35508
35509 USES_CONTROLS=1
35510 fi
35511
35512 if test "$wxUSE_CHOICE" = "yes"; then
35513 cat >>confdefs.h <<\_ACEOF
35514 #define wxUSE_CHOICE 1
35515 _ACEOF
35516
35517 USES_CONTROLS=1
35518 fi
35519
35520 if test "$wxUSE_CHECKBOX" = "yes"; then
35521 cat >>confdefs.h <<\_ACEOF
35522 #define wxUSE_CHECKBOX 1
35523 _ACEOF
35524
35525 USES_CONTROLS=1
35526 fi
35527
35528 if test "$wxUSE_CHECKLST" = "yes"; then
35529 cat >>confdefs.h <<\_ACEOF
35530 #define wxUSE_CHECKLISTBOX 1
35531 _ACEOF
35532
35533 USES_CONTROLS=1
35534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
35535 fi
35536
35537 if test "$wxUSE_DISPLAY" = "yes"; then
35538 cat >>confdefs.h <<\_ACEOF
35539 #define wxUSE_DISPLAY 1
35540 _ACEOF
35541
35542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
35543 fi
35544
35545 if test "$wxUSE_GAUGE" = "yes"; then
35546 cat >>confdefs.h <<\_ACEOF
35547 #define wxUSE_GAUGE 1
35548 _ACEOF
35549
35550 USES_CONTROLS=1
35551 fi
35552
35553 if test "$wxUSE_GRID" = "yes"; then
35554 cat >>confdefs.h <<\_ACEOF
35555 #define wxUSE_GRID 1
35556 _ACEOF
35557
35558 USES_CONTROLS=1
35559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
35560 fi
35561
35562 if test "$wxUSE_IMAGLIST" = "yes"; then
35563 cat >>confdefs.h <<\_ACEOF
35564 #define wxUSE_IMAGLIST 1
35565 _ACEOF
35566
35567 fi
35568
35569 if test "$wxUSE_LISTBOOK" = "yes"; then
35570 cat >>confdefs.h <<\_ACEOF
35571 #define wxUSE_LISTBOOK 1
35572 _ACEOF
35573
35574 USES_CONTROLS=1
35575 fi
35576
35577 if test "$wxUSE_LISTBOX" = "yes"; then
35578 cat >>confdefs.h <<\_ACEOF
35579 #define wxUSE_LISTBOX 1
35580 _ACEOF
35581
35582 USES_CONTROLS=1
35583 fi
35584
35585 if test "$wxUSE_LISTCTRL" = "yes"; then
35586 if test "$wxUSE_IMAGLIST" = "yes"; then
35587 cat >>confdefs.h <<\_ACEOF
35588 #define wxUSE_LISTCTRL 1
35589 _ACEOF
35590
35591 USES_CONTROLS=1
35592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
35593 else
35594 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35595 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35596 fi
35597 fi
35598
35599 if test "$wxUSE_NOTEBOOK" = "yes"; then
35600 cat >>confdefs.h <<\_ACEOF
35601 #define wxUSE_NOTEBOOK 1
35602 _ACEOF
35603
35604 USES_CONTROLS=1
35605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
35606 fi
35607
35608
35609 if test "$wxUSE_RADIOBOX" = "yes"; then
35610 cat >>confdefs.h <<\_ACEOF
35611 #define wxUSE_RADIOBOX 1
35612 _ACEOF
35613
35614 USES_CONTROLS=1
35615 fi
35616
35617 if test "$wxUSE_RADIOBTN" = "yes"; then
35618 cat >>confdefs.h <<\_ACEOF
35619 #define wxUSE_RADIOBTN 1
35620 _ACEOF
35621
35622 USES_CONTROLS=1
35623 fi
35624
35625 if test "$wxUSE_SASH" = "yes"; then
35626 cat >>confdefs.h <<\_ACEOF
35627 #define wxUSE_SASH 1
35628 _ACEOF
35629
35630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
35631 fi
35632
35633 if test "$wxUSE_SCROLLBAR" = "yes"; then
35634 cat >>confdefs.h <<\_ACEOF
35635 #define wxUSE_SCROLLBAR 1
35636 _ACEOF
35637
35638 USES_CONTROLS=1
35639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
35640 fi
35641
35642 if test "$wxUSE_SLIDER" = "yes"; then
35643 cat >>confdefs.h <<\_ACEOF
35644 #define wxUSE_SLIDER 1
35645 _ACEOF
35646
35647 USES_CONTROLS=1
35648 fi
35649
35650 if test "$wxUSE_SPINBTN" = "yes"; then
35651 cat >>confdefs.h <<\_ACEOF
35652 #define wxUSE_SPINBTN 1
35653 _ACEOF
35654
35655 USES_CONTROLS=1
35656 fi
35657
35658 if test "$wxUSE_SPINCTRL" = "yes"; then
35659 cat >>confdefs.h <<\_ACEOF
35660 #define wxUSE_SPINCTRL 1
35661 _ACEOF
35662
35663 USES_CONTROLS=1
35664 fi
35665
35666 if test "$wxUSE_SPLITTER" = "yes"; then
35667 cat >>confdefs.h <<\_ACEOF
35668 #define wxUSE_SPLITTER 1
35669 _ACEOF
35670
35671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
35672 fi
35673
35674 if test "$wxUSE_STATBMP" = "yes"; then
35675 cat >>confdefs.h <<\_ACEOF
35676 #define wxUSE_STATBMP 1
35677 _ACEOF
35678
35679 USES_CONTROLS=1
35680 fi
35681
35682 if test "$wxUSE_STATBOX" = "yes"; then
35683 cat >>confdefs.h <<\_ACEOF
35684 #define wxUSE_STATBOX 1
35685 _ACEOF
35686
35687 USES_CONTROLS=1
35688 fi
35689
35690 if test "$wxUSE_STATTEXT" = "yes"; then
35691 cat >>confdefs.h <<\_ACEOF
35692 #define wxUSE_STATTEXT 1
35693 _ACEOF
35694
35695 USES_CONTROLS=1
35696 fi
35697
35698 if test "$wxUSE_STATLINE" = "yes"; then
35699 cat >>confdefs.h <<\_ACEOF
35700 #define wxUSE_STATLINE 1
35701 _ACEOF
35702
35703 USES_CONTROLS=1
35704 fi
35705
35706 if test "$wxUSE_STATUSBAR" = "yes"; then
35707 cat >>confdefs.h <<\_ACEOF
35708 #define wxUSE_STATUSBAR 1
35709 _ACEOF
35710
35711 USES_CONTROLS=1
35712
35713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
35714 fi
35715
35716 if test "$wxUSE_TABDIALOG" = "yes"; then
35717 cat >>confdefs.h <<\_ACEOF
35718 #define wxUSE_TAB_DIALOG 1
35719 _ACEOF
35720
35721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
35722 fi
35723
35724 if test "$wxUSE_TEXTCTRL" = "yes"; then
35725 cat >>confdefs.h <<\_ACEOF
35726 #define wxUSE_TEXTCTRL 1
35727 _ACEOF
35728
35729 USES_CONTROLS=1
35730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
35731 fi
35732
35733 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35734 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
35735 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35736 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35737 wxUSE_TOGGLEBTN=no
35738 fi
35739 if test "$wxUSE_UNIVERSAL" = "yes"; then
35740 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
35741 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
35742 wxUSE_TOGGLEBTN=no
35743 fi
35744
35745 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35746 cat >>confdefs.h <<\_ACEOF
35747 #define wxUSE_TOGGLEBTN 1
35748 _ACEOF
35749
35750 USES_CONTROLS=1
35751 fi
35752 fi
35753
35754 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
35755 cat >>confdefs.h <<\_ACEOF
35756 #define wxUSE_TOOLBAR_SIMPLE 1
35757 _ACEOF
35758
35759 wxUSE_TOOLBAR="yes"
35760 USES_CONTROLS=1
35761 fi
35762
35763 if test "$wxUSE_TOOLBAR" = "yes"; then
35764 cat >>confdefs.h <<\_ACEOF
35765 #define wxUSE_TOOLBAR 1
35766 _ACEOF
35767
35768 USES_CONTROLS=1
35769
35770 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
35771 wxUSE_TOOLBAR_NATIVE="yes"
35772 fi
35773
35774 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
35775 cat >>confdefs.h <<\_ACEOF
35776 #define wxUSE_TOOLBAR_NATIVE 1
35777 _ACEOF
35778
35779 USES_CONTROLS=1
35780 fi
35781
35782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
35783 fi
35784
35785 if test "$wxUSE_TOOLTIPS" = "yes"; then
35786 if test "$wxUSE_MOTIF" = 1; then
35787 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35788 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35789 else
35790 if test "$wxUSE_UNIVERSAL" = "yes"; then
35791 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35792 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35793 else
35794 cat >>confdefs.h <<\_ACEOF
35795 #define wxUSE_TOOLTIPS 1
35796 _ACEOF
35797
35798 fi
35799 fi
35800 fi
35801
35802 if test "$wxUSE_TREECTRL" = "yes"; then
35803 if test "$wxUSE_IMAGLIST" = "yes"; then
35804 cat >>confdefs.h <<\_ACEOF
35805 #define wxUSE_TREECTRL 1
35806 _ACEOF
35807
35808 USES_CONTROLS=1
35809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
35810 else
35811 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35812 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35813 fi
35814 fi
35815
35816 if test "$wxUSE_POPUPWIN" = "yes"; then
35817 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
35818 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35819 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35820 else
35821 if test "$wxUSE_PM" = 1; then
35822 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35823 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35824 else
35825 cat >>confdefs.h <<\_ACEOF
35826 #define wxUSE_POPUPWIN 1
35827 _ACEOF
35828
35829
35830 USES_CONTROLS=1
35831 fi
35832 fi
35833 fi
35834
35835 if test "$wxUSE_TIPWINDOW" = "yes"; then
35836 if test "$wxUSE_PM" = 1; then
35837 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35838 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35839 else
35840 cat >>confdefs.h <<\_ACEOF
35841 #define wxUSE_TIPWINDOW 1
35842 _ACEOF
35843
35844 fi
35845 fi
35846
35847 if test "$USES_CONTROLS" = 1; then
35848 cat >>confdefs.h <<\_ACEOF
35849 #define wxUSE_CONTROLS 1
35850 _ACEOF
35851
35852 fi
35853
35854
35855 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
35856 cat >>confdefs.h <<\_ACEOF
35857 #define wxUSE_ACCESSIBILITY 1
35858 _ACEOF
35859
35860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
35861 fi
35862
35863 if test "$wxUSE_DRAGIMAGE" = "yes"; then
35864 cat >>confdefs.h <<\_ACEOF
35865 #define wxUSE_DRAGIMAGE 1
35866 _ACEOF
35867
35868 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
35869 fi
35870
35871 if test "$wxUSE_EXCEPTIONS" = "yes"; then
35872 cat >>confdefs.h <<\_ACEOF
35873 #define wxUSE_EXCEPTIONS 1
35874 _ACEOF
35875
35876 fi
35877
35878 USE_HTML=0
35879 if test "$wxUSE_HTML" = "yes"; then
35880 cat >>confdefs.h <<\_ACEOF
35881 #define wxUSE_HTML 1
35882 _ACEOF
35883
35884 USE_HTML=1
35885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
35886 fi
35887
35888 if test "$wxUSE_MENUS" = "yes"; then
35889 cat >>confdefs.h <<\_ACEOF
35890 #define wxUSE_MENUS 1
35891 _ACEOF
35892
35893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
35894 fi
35895
35896 if test "$wxUSE_METAFILE" = "yes"; then
35897 cat >>confdefs.h <<\_ACEOF
35898 #define wxUSE_METAFILE 1
35899 _ACEOF
35900
35901 fi
35902
35903 if test "$wxUSE_MIMETYPE" = "yes"; then
35904 cat >>confdefs.h <<\_ACEOF
35905 #define wxUSE_MIMETYPE 1
35906 _ACEOF
35907
35908 fi
35909
35910 if test "$wxUSE_MINIFRAME" = "yes"; then
35911 cat >>confdefs.h <<\_ACEOF
35912 #define wxUSE_MINIFRAME 1
35913 _ACEOF
35914
35915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
35916 fi
35917
35918 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
35919 cat >>confdefs.h <<\_ACEOF
35920 #define wxUSE_SYSTEM_OPTIONS 1
35921 _ACEOF
35922
35923 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
35924 "$TOOLKIT" = "MOTIF"; then
35925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
35926 fi
35927 fi
35928
35929
35930 if test "$wxUSE_VALIDATORS" = "yes"; then
35931 cat >>confdefs.h <<\_ACEOF
35932 #define wxUSE_VALIDATORS 1
35933 _ACEOF
35934
35935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
35936 fi
35937
35938 if test "$wxUSE_PALETTE" = "yes" ; then
35939 cat >>confdefs.h <<\_ACEOF
35940 #define wxUSE_PALETTE 1
35941 _ACEOF
35942
35943 fi
35944
35945 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
35946 LIBS=" -lunicows $LIBS"
35947 fi
35948
35949
35950 if test "$wxUSE_IMAGE" = "yes" ; then
35951 cat >>confdefs.h <<\_ACEOF
35952 #define wxUSE_IMAGE 1
35953 _ACEOF
35954
35955
35956 if test "$wxUSE_GIF" = "yes" ; then
35957 cat >>confdefs.h <<\_ACEOF
35958 #define wxUSE_GIF 1
35959 _ACEOF
35960
35961 fi
35962
35963 if test "$wxUSE_PCX" = "yes" ; then
35964 cat >>confdefs.h <<\_ACEOF
35965 #define wxUSE_PCX 1
35966 _ACEOF
35967
35968 fi
35969
35970 if test "$wxUSE_IFF" = "yes" ; then
35971 cat >>confdefs.h <<\_ACEOF
35972 #define wxUSE_IFF 1
35973 _ACEOF
35974
35975 fi
35976
35977 if test "$wxUSE_PNM" = "yes" ; then
35978 cat >>confdefs.h <<\_ACEOF
35979 #define wxUSE_PNM 1
35980 _ACEOF
35981
35982 fi
35983
35984 if test "$wxUSE_XPM" = "yes" ; then
35985 cat >>confdefs.h <<\_ACEOF
35986 #define wxUSE_XPM 1
35987 _ACEOF
35988
35989 fi
35990
35991 if test "$wxUSE_ICO_CUR" = "yes" ; then
35992 cat >>confdefs.h <<\_ACEOF
35993 #define wxUSE_ICO_CUR 1
35994 _ACEOF
35995
35996 fi
35997 fi
35998
35999
36000 if test "$wxUSE_CHOICEDLG" = "yes"; then
36001 cat >>confdefs.h <<\_ACEOF
36002 #define wxUSE_CHOICEDLG 1
36003 _ACEOF
36004
36005 fi
36006
36007 if test "$wxUSE_COLOURDLG" = "yes"; then
36008 cat >>confdefs.h <<\_ACEOF
36009 #define wxUSE_COLOURDLG 1
36010 _ACEOF
36011
36012 fi
36013
36014 if test "$wxUSE_FILEDLG" = "yes"; then
36015 cat >>confdefs.h <<\_ACEOF
36016 #define wxUSE_FILEDLG 1
36017 _ACEOF
36018
36019 fi
36020
36021 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36022 cat >>confdefs.h <<\_ACEOF
36023 #define wxUSE_FINDREPLDLG 1
36024 _ACEOF
36025
36026 fi
36027
36028 if test "$wxUSE_FONTDLG" = "yes"; then
36029 cat >>confdefs.h <<\_ACEOF
36030 #define wxUSE_FONTDLG 1
36031 _ACEOF
36032
36033 fi
36034
36035 if test "$wxUSE_DIRDLG" = "yes"; then
36036 if test "$wxUSE_TREECTRL" != "yes"; then
36037 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36038 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36039 else
36040 cat >>confdefs.h <<\_ACEOF
36041 #define wxUSE_DIRDLG 1
36042 _ACEOF
36043
36044 fi
36045 fi
36046
36047 if test "$wxUSE_MSGDLG" = "yes"; then
36048 cat >>confdefs.h <<\_ACEOF
36049 #define wxUSE_MSGDLG 1
36050 _ACEOF
36051
36052 fi
36053
36054 if test "$wxUSE_NUMBERDLG" = "yes"; then
36055 cat >>confdefs.h <<\_ACEOF
36056 #define wxUSE_NUMBERDLG 1
36057 _ACEOF
36058
36059 fi
36060
36061 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36062 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36063 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
36064 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
36065 else
36066 cat >>confdefs.h <<\_ACEOF
36067 #define wxUSE_PROGRESSDLG 1
36068 _ACEOF
36069
36070 fi
36071 fi
36072
36073 if test "$wxUSE_SPLASH" = "yes"; then
36074 cat >>confdefs.h <<\_ACEOF
36075 #define wxUSE_SPLASH 1
36076 _ACEOF
36077
36078 fi
36079
36080 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36081 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36082 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
36083 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
36084 else
36085 cat >>confdefs.h <<\_ACEOF
36086 #define wxUSE_STARTUP_TIPS 1
36087 _ACEOF
36088
36089 fi
36090 fi
36091
36092 if test "$wxUSE_TEXTDLG" = "yes"; then
36093 cat >>confdefs.h <<\_ACEOF
36094 #define wxUSE_TEXTDLG 1
36095 _ACEOF
36096
36097 fi
36098
36099 if test "$wxUSE_WIZARDDLG" = "yes"; then
36100 cat >>confdefs.h <<\_ACEOF
36101 #define wxUSE_WIZARDDLG 1
36102 _ACEOF
36103
36104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36105 fi
36106
36107
36108 if test "$cross_compiling" = "yes"; then
36109 OSINFO="\"$host\""
36110 else
36111 OSINFO=`uname -s -r -m`
36112 OSINFO="\"$OSINFO\""
36113 fi
36114
36115 cat >>confdefs.h <<_ACEOF
36116 #define WXWIN_OS_DESCRIPTION $OSINFO
36117 _ACEOF
36118
36119
36120
36121 if test "x$prefix" != "xNONE"; then
36122 wxPREFIX=$prefix
36123 else
36124 wxPREFIX=$ac_default_prefix
36125 fi
36126
36127 cat >>confdefs.h <<_ACEOF
36128 #define wxINSTALL_PREFIX "$wxPREFIX"
36129 _ACEOF
36130
36131
36132 top_builddir_wxconfig=`pwd`
36133
36134
36135
36136 CORE_BASE_LIBS="net base"
36137 CORE_GUI_LIBS="adv core"
36138
36139 if test "$wxUSE_XML" = "yes" ; then
36140 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
36141 fi
36142 if test "$wxUSE_ODBC" != "no" ; then
36143 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
36144 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
36145 fi
36146 if test "$wxUSE_HTML" = "yes" ; then
36147 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
36148 fi
36149
36150 if test "$wxUSE_GUI" != "yes"; then
36151 CORE_GUI_LIBS=""
36152 fi
36153
36154
36155
36156
36157
36158
36159
36160
36161 if test "$wxUSE_MAC" = 1 ; then
36162 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
36163 fi
36164 if test "$wxUSE_COCOA" = 1 ; then
36165 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
36166 fi
36167
36168
36169 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
36170
36171 have_cos=0
36172 have_floor=0
36173
36174 for ac_func in cos
36175 do
36176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36177 echo "$as_me:$LINENO: checking for $ac_func" >&5
36178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36179 if eval "test \"\${$as_ac_var+set}\" = set"; then
36180 echo $ECHO_N "(cached) $ECHO_C" >&6
36181 else
36182 cat >conftest.$ac_ext <<_ACEOF
36183 /* confdefs.h. */
36184 _ACEOF
36185 cat confdefs.h >>conftest.$ac_ext
36186 cat >>conftest.$ac_ext <<_ACEOF
36187 /* end confdefs.h. */
36188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36190 #define $ac_func innocuous_$ac_func
36191
36192 /* System header to define __stub macros and hopefully few prototypes,
36193 which can conflict with char $ac_func (); below.
36194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36195 <limits.h> exists even on freestanding compilers. */
36196
36197 #ifdef __STDC__
36198 # include <limits.h>
36199 #else
36200 # include <assert.h>
36201 #endif
36202
36203 #undef $ac_func
36204
36205 /* Override any gcc2 internal prototype to avoid an error. */
36206 #ifdef __cplusplus
36207 extern "C"
36208 {
36209 #endif
36210 /* We use char because int might match the return type of a gcc2
36211 builtin and then its argument prototype would still apply. */
36212 char $ac_func ();
36213 /* The GNU C library defines this for functions which it implements
36214 to always fail with ENOSYS. Some functions are actually named
36215 something starting with __ and the normal name is an alias. */
36216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36217 choke me
36218 #else
36219 char (*f) () = $ac_func;
36220 #endif
36221 #ifdef __cplusplus
36222 }
36223 #endif
36224
36225 int
36226 main ()
36227 {
36228 return f != $ac_func;
36229 ;
36230 return 0;
36231 }
36232 _ACEOF
36233 rm -f conftest.$ac_objext conftest$ac_exeext
36234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36235 (eval $ac_link) 2>conftest.er1
36236 ac_status=$?
36237 grep -v '^ *+' conftest.er1 >conftest.err
36238 rm -f conftest.er1
36239 cat conftest.err >&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); } &&
36242 { ac_try='test -z "$ac_c_werror_flag"
36243 || test ! -s conftest.err'
36244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36245 (eval $ac_try) 2>&5
36246 ac_status=$?
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); }; } &&
36249 { ac_try='test -s conftest$ac_exeext'
36250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36251 (eval $ac_try) 2>&5
36252 ac_status=$?
36253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254 (exit $ac_status); }; }; then
36255 eval "$as_ac_var=yes"
36256 else
36257 echo "$as_me: failed program was:" >&5
36258 sed 's/^/| /' conftest.$ac_ext >&5
36259
36260 eval "$as_ac_var=no"
36261 fi
36262 rm -f conftest.err conftest.$ac_objext \
36263 conftest$ac_exeext conftest.$ac_ext
36264 fi
36265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36267 if test `eval echo '${'$as_ac_var'}'` = yes; then
36268 cat >>confdefs.h <<_ACEOF
36269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36270 _ACEOF
36271 have_cos=1
36272 fi
36273 done
36274
36275
36276 for ac_func in floor
36277 do
36278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36279 echo "$as_me:$LINENO: checking for $ac_func" >&5
36280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36281 if eval "test \"\${$as_ac_var+set}\" = set"; then
36282 echo $ECHO_N "(cached) $ECHO_C" >&6
36283 else
36284 cat >conftest.$ac_ext <<_ACEOF
36285 /* confdefs.h. */
36286 _ACEOF
36287 cat confdefs.h >>conftest.$ac_ext
36288 cat >>conftest.$ac_ext <<_ACEOF
36289 /* end confdefs.h. */
36290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36292 #define $ac_func innocuous_$ac_func
36293
36294 /* System header to define __stub macros and hopefully few prototypes,
36295 which can conflict with char $ac_func (); below.
36296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36297 <limits.h> exists even on freestanding compilers. */
36298
36299 #ifdef __STDC__
36300 # include <limits.h>
36301 #else
36302 # include <assert.h>
36303 #endif
36304
36305 #undef $ac_func
36306
36307 /* Override any gcc2 internal prototype to avoid an error. */
36308 #ifdef __cplusplus
36309 extern "C"
36310 {
36311 #endif
36312 /* We use char because int might match the return type of a gcc2
36313 builtin and then its argument prototype would still apply. */
36314 char $ac_func ();
36315 /* The GNU C library defines this for functions which it implements
36316 to always fail with ENOSYS. Some functions are actually named
36317 something starting with __ and the normal name is an alias. */
36318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36319 choke me
36320 #else
36321 char (*f) () = $ac_func;
36322 #endif
36323 #ifdef __cplusplus
36324 }
36325 #endif
36326
36327 int
36328 main ()
36329 {
36330 return f != $ac_func;
36331 ;
36332 return 0;
36333 }
36334 _ACEOF
36335 rm -f conftest.$ac_objext conftest$ac_exeext
36336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36337 (eval $ac_link) 2>conftest.er1
36338 ac_status=$?
36339 grep -v '^ *+' conftest.er1 >conftest.err
36340 rm -f conftest.er1
36341 cat conftest.err >&5
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); } &&
36344 { ac_try='test -z "$ac_c_werror_flag"
36345 || test ! -s conftest.err'
36346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36347 (eval $ac_try) 2>&5
36348 ac_status=$?
36349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36350 (exit $ac_status); }; } &&
36351 { ac_try='test -s conftest$ac_exeext'
36352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36353 (eval $ac_try) 2>&5
36354 ac_status=$?
36355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36356 (exit $ac_status); }; }; then
36357 eval "$as_ac_var=yes"
36358 else
36359 echo "$as_me: failed program was:" >&5
36360 sed 's/^/| /' conftest.$ac_ext >&5
36361
36362 eval "$as_ac_var=no"
36363 fi
36364 rm -f conftest.err conftest.$ac_objext \
36365 conftest$ac_exeext conftest.$ac_ext
36366 fi
36367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36369 if test `eval echo '${'$as_ac_var'}'` = yes; then
36370 cat >>confdefs.h <<_ACEOF
36371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36372 _ACEOF
36373 have_floor=1
36374 fi
36375 done
36376
36377 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
36378 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
36379 if test "$have_cos" = 1 -a "$have_floor" = 1; then
36380 echo "$as_me:$LINENO: result: yes" >&5
36381 echo "${ECHO_T}yes" >&6
36382 else
36383 echo "$as_me:$LINENO: result: no" >&5
36384 echo "${ECHO_T}no" >&6
36385 LIBS="$LIBS -lm"
36386 # use different functions to avoid configure caching
36387 have_sin=0
36388 have_ceil=0
36389
36390 for ac_func in sin
36391 do
36392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36393 echo "$as_me:$LINENO: checking for $ac_func" >&5
36394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36395 if eval "test \"\${$as_ac_var+set}\" = set"; then
36396 echo $ECHO_N "(cached) $ECHO_C" >&6
36397 else
36398 cat >conftest.$ac_ext <<_ACEOF
36399 /* confdefs.h. */
36400 _ACEOF
36401 cat confdefs.h >>conftest.$ac_ext
36402 cat >>conftest.$ac_ext <<_ACEOF
36403 /* end confdefs.h. */
36404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36406 #define $ac_func innocuous_$ac_func
36407
36408 /* System header to define __stub macros and hopefully few prototypes,
36409 which can conflict with char $ac_func (); below.
36410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36411 <limits.h> exists even on freestanding compilers. */
36412
36413 #ifdef __STDC__
36414 # include <limits.h>
36415 #else
36416 # include <assert.h>
36417 #endif
36418
36419 #undef $ac_func
36420
36421 /* Override any gcc2 internal prototype to avoid an error. */
36422 #ifdef __cplusplus
36423 extern "C"
36424 {
36425 #endif
36426 /* We use char because int might match the return type of a gcc2
36427 builtin and then its argument prototype would still apply. */
36428 char $ac_func ();
36429 /* The GNU C library defines this for functions which it implements
36430 to always fail with ENOSYS. Some functions are actually named
36431 something starting with __ and the normal name is an alias. */
36432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36433 choke me
36434 #else
36435 char (*f) () = $ac_func;
36436 #endif
36437 #ifdef __cplusplus
36438 }
36439 #endif
36440
36441 int
36442 main ()
36443 {
36444 return f != $ac_func;
36445 ;
36446 return 0;
36447 }
36448 _ACEOF
36449 rm -f conftest.$ac_objext conftest$ac_exeext
36450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36451 (eval $ac_link) 2>conftest.er1
36452 ac_status=$?
36453 grep -v '^ *+' conftest.er1 >conftest.err
36454 rm -f conftest.er1
36455 cat conftest.err >&5
36456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457 (exit $ac_status); } &&
36458 { ac_try='test -z "$ac_c_werror_flag"
36459 || test ! -s conftest.err'
36460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36461 (eval $ac_try) 2>&5
36462 ac_status=$?
36463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36464 (exit $ac_status); }; } &&
36465 { ac_try='test -s conftest$ac_exeext'
36466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36467 (eval $ac_try) 2>&5
36468 ac_status=$?
36469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36470 (exit $ac_status); }; }; then
36471 eval "$as_ac_var=yes"
36472 else
36473 echo "$as_me: failed program was:" >&5
36474 sed 's/^/| /' conftest.$ac_ext >&5
36475
36476 eval "$as_ac_var=no"
36477 fi
36478 rm -f conftest.err conftest.$ac_objext \
36479 conftest$ac_exeext conftest.$ac_ext
36480 fi
36481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36483 if test `eval echo '${'$as_ac_var'}'` = yes; then
36484 cat >>confdefs.h <<_ACEOF
36485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36486 _ACEOF
36487 have_sin=1
36488 fi
36489 done
36490
36491
36492 for ac_func in ceil
36493 do
36494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36495 echo "$as_me:$LINENO: checking for $ac_func" >&5
36496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36497 if eval "test \"\${$as_ac_var+set}\" = set"; then
36498 echo $ECHO_N "(cached) $ECHO_C" >&6
36499 else
36500 cat >conftest.$ac_ext <<_ACEOF
36501 /* confdefs.h. */
36502 _ACEOF
36503 cat confdefs.h >>conftest.$ac_ext
36504 cat >>conftest.$ac_ext <<_ACEOF
36505 /* end confdefs.h. */
36506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36508 #define $ac_func innocuous_$ac_func
36509
36510 /* System header to define __stub macros and hopefully few prototypes,
36511 which can conflict with char $ac_func (); below.
36512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36513 <limits.h> exists even on freestanding compilers. */
36514
36515 #ifdef __STDC__
36516 # include <limits.h>
36517 #else
36518 # include <assert.h>
36519 #endif
36520
36521 #undef $ac_func
36522
36523 /* Override any gcc2 internal prototype to avoid an error. */
36524 #ifdef __cplusplus
36525 extern "C"
36526 {
36527 #endif
36528 /* We use char because int might match the return type of a gcc2
36529 builtin and then its argument prototype would still apply. */
36530 char $ac_func ();
36531 /* The GNU C library defines this for functions which it implements
36532 to always fail with ENOSYS. Some functions are actually named
36533 something starting with __ and the normal name is an alias. */
36534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36535 choke me
36536 #else
36537 char (*f) () = $ac_func;
36538 #endif
36539 #ifdef __cplusplus
36540 }
36541 #endif
36542
36543 int
36544 main ()
36545 {
36546 return f != $ac_func;
36547 ;
36548 return 0;
36549 }
36550 _ACEOF
36551 rm -f conftest.$ac_objext conftest$ac_exeext
36552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36553 (eval $ac_link) 2>conftest.er1
36554 ac_status=$?
36555 grep -v '^ *+' conftest.er1 >conftest.err
36556 rm -f conftest.er1
36557 cat conftest.err >&5
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); } &&
36560 { ac_try='test -z "$ac_c_werror_flag"
36561 || test ! -s conftest.err'
36562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36563 (eval $ac_try) 2>&5
36564 ac_status=$?
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); }; } &&
36567 { ac_try='test -s conftest$ac_exeext'
36568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36569 (eval $ac_try) 2>&5
36570 ac_status=$?
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); }; }; then
36573 eval "$as_ac_var=yes"
36574 else
36575 echo "$as_me: failed program was:" >&5
36576 sed 's/^/| /' conftest.$ac_ext >&5
36577
36578 eval "$as_ac_var=no"
36579 fi
36580 rm -f conftest.err conftest.$ac_objext \
36581 conftest$ac_exeext conftest.$ac_ext
36582 fi
36583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36585 if test `eval echo '${'$as_ac_var'}'` = yes; then
36586 cat >>confdefs.h <<_ACEOF
36587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36588 _ACEOF
36589 have_ceil=1
36590 fi
36591 done
36592
36593 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
36594 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
36595 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
36596 echo "$as_me:$LINENO: result: yes" >&5
36597 echo "${ECHO_T}yes" >&6
36598 else
36599 echo "$as_me:$LINENO: result: no" >&5
36600 echo "${ECHO_T}no" >&6
36601 # not sure we should warn the user, crash, etc.
36602 fi
36603 fi
36604
36605 if test "$wxUSE_GUI" = "yes"; then
36606
36607
36608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
36609 drawing dynamic erase event exec font image \
36610 minimal propsize rotate shaped widgets render"
36611
36612 if test "$wxUSE_MONOLITHIC" != "yes"; then
36613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
36614 fi
36615 else
36616 SAMPLES_SUBDIRS="console"
36617 fi
36618
36619
36620 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
36621 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
36622
36623 if test "$GXX" = yes ; then
36624 CXXWARNINGS="-Wall"
36625 fi
36626
36627 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
36628
36629 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
36630 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
36631 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
36632
36633
36634 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
36635 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
36636 EXTRALIBS_XML="$EXPAT_LINK"
36637 EXTRALIBS_HTML="$MSPACK_LINK"
36638 EXTRALIBS_ODBC="$ODBC_LINK"
36639 if test "$wxUSE_GUI" = "yes"; then
36640 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
36641 fi
36642 if test "$wxUSE_OPENGL" = "yes"; then
36643 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
36644 fi
36645
36646 LDFLAGS="$LDFLAGS $PROFILE"
36647
36648 if test "$wxUSE_GTK" = 1; then
36649 WXCONFIG_INCLUDE=
36650 else
36651 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
36652 fi
36653
36654 WXCONFIG_EXTRALIBS="$LIBS"
36655
36656 if test "$wxUSE_REGEX" = "builtin" ; then
36657 wxconfig_3rdparty="$wxconfig_3rdparty regex"
36658 fi
36659 if test "$wxUSE_EXPAT" = "builtin" ; then
36660 wxconfig_3rdparty="$wxconfig_3rdparty expat"
36661 fi
36662 if test "$wxUSE_ODBC" = "builtin" ; then
36663 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
36664 fi
36665 if test "$wxUSE_LIBTIFF" = "builtin" ; then
36666 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
36667 fi
36668 if test "$wxUSE_LIBJPEG" = "builtin" ; then
36669 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
36670 fi
36671 if test "$wxUSE_LIBPNG" = "builtin" ; then
36672 wxconfig_3rdparty="$wxconfig_3rdparty png"
36673 fi
36674 if test "$wxUSE_ZLIB" = "builtin" ; then
36675 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
36676 fi
36677 if test "$wxUSE_ODBC" = "builtin" ; then
36678 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
36679 fi
36680
36681 for i in $wxconfig_3rdparty ; do
36682 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
36683 done
36684
36685
36686 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
36687 WXUNIV=1
36688 else
36689 WXUNIV=0
36690 fi
36691
36692
36693
36694
36695
36696
36697
36698
36699
36700 if test $wxUSE_MONOLITHIC = "yes" ; then
36701 MONOLITHIC=1
36702 else
36703 MONOLITHIC=0
36704 fi
36705
36706 if test $wxUSE_ODBC != "no" ; then
36707 USE_ODBC=1
36708 else
36709 USE_ODBC=0
36710 fi
36711
36712 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
36713 OFFICIAL_BUILD=1
36714 else
36715 OFFICIAL_BUILD=0
36716 fi
36717
36718
36719
36720
36721
36722
36723
36724
36725
36726
36727
36728
36729
36730
36731
36732
36733
36734
36735 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
36736
36737
36738
36739
36740
36741
36742
36743 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
36744
36745 if test -n "$ac_tool_prefix"; then
36746 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
36747 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
36748 echo "$as_me:$LINENO: checking for $ac_word" >&5
36749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36750 if test "${ac_cv_prog_RANLIB+set}" = set; then
36751 echo $ECHO_N "(cached) $ECHO_C" >&6
36752 else
36753 if test -n "$RANLIB"; then
36754 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
36755 else
36756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36757 for as_dir in $PATH
36758 do
36759 IFS=$as_save_IFS
36760 test -z "$as_dir" && as_dir=.
36761 for ac_exec_ext in '' $ac_executable_extensions; do
36762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36763 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
36764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36765 break 2
36766 fi
36767 done
36768 done
36769
36770 fi
36771 fi
36772 RANLIB=$ac_cv_prog_RANLIB
36773 if test -n "$RANLIB"; then
36774 echo "$as_me:$LINENO: result: $RANLIB" >&5
36775 echo "${ECHO_T}$RANLIB" >&6
36776 else
36777 echo "$as_me:$LINENO: result: no" >&5
36778 echo "${ECHO_T}no" >&6
36779 fi
36780
36781 fi
36782 if test -z "$ac_cv_prog_RANLIB"; then
36783 ac_ct_RANLIB=$RANLIB
36784 # Extract the first word of "ranlib", so it can be a program name with args.
36785 set dummy ranlib; ac_word=$2
36786 echo "$as_me:$LINENO: checking for $ac_word" >&5
36787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36788 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
36789 echo $ECHO_N "(cached) $ECHO_C" >&6
36790 else
36791 if test -n "$ac_ct_RANLIB"; then
36792 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
36793 else
36794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36795 for as_dir in $PATH
36796 do
36797 IFS=$as_save_IFS
36798 test -z "$as_dir" && as_dir=.
36799 for ac_exec_ext in '' $ac_executable_extensions; do
36800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36801 ac_cv_prog_ac_ct_RANLIB="ranlib"
36802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36803 break 2
36804 fi
36805 done
36806 done
36807
36808 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
36809 fi
36810 fi
36811 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
36812 if test -n "$ac_ct_RANLIB"; then
36813 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
36814 echo "${ECHO_T}$ac_ct_RANLIB" >&6
36815 else
36816 echo "$as_me:$LINENO: result: no" >&5
36817 echo "${ECHO_T}no" >&6
36818 fi
36819
36820 RANLIB=$ac_ct_RANLIB
36821 else
36822 RANLIB="$ac_cv_prog_RANLIB"
36823 fi
36824
36825 # Find a good install program. We prefer a C program (faster),
36826 # so one script is as good as another. But avoid the broken or
36827 # incompatible versions:
36828 # SysV /etc/install, /usr/sbin/install
36829 # SunOS /usr/etc/install
36830 # IRIX /sbin/install
36831 # AIX /bin/install
36832 # AmigaOS /C/install, which installs bootblocks on floppy discs
36833 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
36834 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
36835 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
36836 # OS/2's system install, which has a completely different semantic
36837 # ./install, which can be erroneously created by make from ./install.sh.
36838 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
36839 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
36840 if test -z "$INSTALL"; then
36841 if test "${ac_cv_path_install+set}" = set; then
36842 echo $ECHO_N "(cached) $ECHO_C" >&6
36843 else
36844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36845 for as_dir in $PATH
36846 do
36847 IFS=$as_save_IFS
36848 test -z "$as_dir" && as_dir=.
36849 # Account for people who put trailing slashes in PATH elements.
36850 case $as_dir/ in
36851 ./ | .// | /cC/* | \
36852 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
36853 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
36854 /usr/ucb/* ) ;;
36855 *)
36856 # OSF1 and SCO ODT 3.0 have their own names for install.
36857 # Don't use installbsd from OSF since it installs stuff as root
36858 # by default.
36859 for ac_prog in ginstall scoinst install; do
36860 for ac_exec_ext in '' $ac_executable_extensions; do
36861 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
36862 if test $ac_prog = install &&
36863 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
36864 # AIX install. It has an incompatible calling convention.
36865 :
36866 elif test $ac_prog = install &&
36867 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
36868 # program-specific install script used by HP pwplus--don't use.
36869 :
36870 else
36871 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
36872 break 3
36873 fi
36874 fi
36875 done
36876 done
36877 ;;
36878 esac
36879 done
36880
36881
36882 fi
36883 if test "${ac_cv_path_install+set}" = set; then
36884 INSTALL=$ac_cv_path_install
36885 else
36886 # As a last resort, use the slow shell script. We don't cache a
36887 # path for INSTALL within a source directory, because that will
36888 # break other packages using the cache if that directory is
36889 # removed, or if the path is relative.
36890 INSTALL=$ac_install_sh
36891 fi
36892 fi
36893 echo "$as_me:$LINENO: result: $INSTALL" >&5
36894 echo "${ECHO_T}$INSTALL" >&6
36895
36896 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
36897 # It thinks the first close brace ends the variable substitution.
36898 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
36899
36900 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
36901
36902 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
36903
36904 echo "$as_me:$LINENO: checking whether ln -s works" >&5
36905 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
36906 LN_S=$as_ln_s
36907 if test "$LN_S" = "ln -s"; then
36908 echo "$as_me:$LINENO: result: yes" >&5
36909 echo "${ECHO_T}yes" >&6
36910 else
36911 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
36912 echo "${ECHO_T}no, using $LN_S" >&6
36913 fi
36914
36915
36916 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36917 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36918 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
36919 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36920 echo $ECHO_N "(cached) $ECHO_C" >&6
36921 else
36922 cat >conftest.make <<\_ACEOF
36923 all:
36924 @echo 'ac_maketemp="$(MAKE)"'
36925 _ACEOF
36926 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36927 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36928 if test -n "$ac_maketemp"; then
36929 eval ac_cv_prog_make_${ac_make}_set=yes
36930 else
36931 eval ac_cv_prog_make_${ac_make}_set=no
36932 fi
36933 rm -f conftest.make
36934 fi
36935 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36936 echo "$as_me:$LINENO: result: yes" >&5
36937 echo "${ECHO_T}yes" >&6
36938 SET_MAKE=
36939 else
36940 echo "$as_me:$LINENO: result: no" >&5
36941 echo "${ECHO_T}no" >&6
36942 SET_MAKE="MAKE=${MAKE-make}"
36943 fi
36944
36945
36946
36947 if test -n "$ac_tool_prefix"; then
36948 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
36949 set dummy ${ac_tool_prefix}ar; ac_word=$2
36950 echo "$as_me:$LINENO: checking for $ac_word" >&5
36951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36952 if test "${ac_cv_prog_AR+set}" = set; then
36953 echo $ECHO_N "(cached) $ECHO_C" >&6
36954 else
36955 if test -n "$AR"; then
36956 ac_cv_prog_AR="$AR" # Let the user override the test.
36957 else
36958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36959 for as_dir in $PATH
36960 do
36961 IFS=$as_save_IFS
36962 test -z "$as_dir" && as_dir=.
36963 for ac_exec_ext in '' $ac_executable_extensions; do
36964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36965 ac_cv_prog_AR="${ac_tool_prefix}ar"
36966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36967 break 2
36968 fi
36969 done
36970 done
36971
36972 fi
36973 fi
36974 AR=$ac_cv_prog_AR
36975 if test -n "$AR"; then
36976 echo "$as_me:$LINENO: result: $AR" >&5
36977 echo "${ECHO_T}$AR" >&6
36978 else
36979 echo "$as_me:$LINENO: result: no" >&5
36980 echo "${ECHO_T}no" >&6
36981 fi
36982
36983 fi
36984 if test -z "$ac_cv_prog_AR"; then
36985 ac_ct_AR=$AR
36986 # Extract the first word of "ar", so it can be a program name with args.
36987 set dummy ar; ac_word=$2
36988 echo "$as_me:$LINENO: checking for $ac_word" >&5
36989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36990 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
36991 echo $ECHO_N "(cached) $ECHO_C" >&6
36992 else
36993 if test -n "$ac_ct_AR"; then
36994 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
36995 else
36996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36997 for as_dir in $PATH
36998 do
36999 IFS=$as_save_IFS
37000 test -z "$as_dir" && as_dir=.
37001 for ac_exec_ext in '' $ac_executable_extensions; do
37002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37003 ac_cv_prog_ac_ct_AR="ar"
37004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37005 break 2
37006 fi
37007 done
37008 done
37009
37010 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
37011 fi
37012 fi
37013 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37014 if test -n "$ac_ct_AR"; then
37015 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
37016 echo "${ECHO_T}$ac_ct_AR" >&6
37017 else
37018 echo "$as_me:$LINENO: result: no" >&5
37019 echo "${ECHO_T}no" >&6
37020 fi
37021
37022 AR=$ac_ct_AR
37023 else
37024 AR="$ac_cv_prog_AR"
37025 fi
37026
37027 if test -n "$ac_tool_prefix"; then
37028 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37029 set dummy ${ac_tool_prefix}strip; ac_word=$2
37030 echo "$as_me:$LINENO: checking for $ac_word" >&5
37031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37032 if test "${ac_cv_prog_STRIP+set}" = set; then
37033 echo $ECHO_N "(cached) $ECHO_C" >&6
37034 else
37035 if test -n "$STRIP"; then
37036 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37037 else
37038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37039 for as_dir in $PATH
37040 do
37041 IFS=$as_save_IFS
37042 test -z "$as_dir" && as_dir=.
37043 for ac_exec_ext in '' $ac_executable_extensions; do
37044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37045 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37047 break 2
37048 fi
37049 done
37050 done
37051
37052 fi
37053 fi
37054 STRIP=$ac_cv_prog_STRIP
37055 if test -n "$STRIP"; then
37056 echo "$as_me:$LINENO: result: $STRIP" >&5
37057 echo "${ECHO_T}$STRIP" >&6
37058 else
37059 echo "$as_me:$LINENO: result: no" >&5
37060 echo "${ECHO_T}no" >&6
37061 fi
37062
37063 fi
37064 if test -z "$ac_cv_prog_STRIP"; then
37065 ac_ct_STRIP=$STRIP
37066 # Extract the first word of "strip", so it can be a program name with args.
37067 set dummy strip; ac_word=$2
37068 echo "$as_me:$LINENO: checking for $ac_word" >&5
37069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37070 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
37071 echo $ECHO_N "(cached) $ECHO_C" >&6
37072 else
37073 if test -n "$ac_ct_STRIP"; then
37074 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37075 else
37076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37077 for as_dir in $PATH
37078 do
37079 IFS=$as_save_IFS
37080 test -z "$as_dir" && as_dir=.
37081 for ac_exec_ext in '' $ac_executable_extensions; do
37082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37083 ac_cv_prog_ac_ct_STRIP="strip"
37084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37085 break 2
37086 fi
37087 done
37088 done
37089
37090 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
37091 fi
37092 fi
37093 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37094 if test -n "$ac_ct_STRIP"; then
37095 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
37096 echo "${ECHO_T}$ac_ct_STRIP" >&6
37097 else
37098 echo "$as_me:$LINENO: result: no" >&5
37099 echo "${ECHO_T}no" >&6
37100 fi
37101
37102 STRIP=$ac_ct_STRIP
37103 else
37104 STRIP="$ac_cv_prog_STRIP"
37105 fi
37106
37107 if test -n "$ac_tool_prefix"; then
37108 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37109 set dummy ${ac_tool_prefix}nm; ac_word=$2
37110 echo "$as_me:$LINENO: checking for $ac_word" >&5
37111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37112 if test "${ac_cv_prog_NM+set}" = set; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37114 else
37115 if test -n "$NM"; then
37116 ac_cv_prog_NM="$NM" # Let the user override the test.
37117 else
37118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37119 for as_dir in $PATH
37120 do
37121 IFS=$as_save_IFS
37122 test -z "$as_dir" && as_dir=.
37123 for ac_exec_ext in '' $ac_executable_extensions; do
37124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37125 ac_cv_prog_NM="${ac_tool_prefix}nm"
37126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37127 break 2
37128 fi
37129 done
37130 done
37131
37132 fi
37133 fi
37134 NM=$ac_cv_prog_NM
37135 if test -n "$NM"; then
37136 echo "$as_me:$LINENO: result: $NM" >&5
37137 echo "${ECHO_T}$NM" >&6
37138 else
37139 echo "$as_me:$LINENO: result: no" >&5
37140 echo "${ECHO_T}no" >&6
37141 fi
37142
37143 fi
37144 if test -z "$ac_cv_prog_NM"; then
37145 ac_ct_NM=$NM
37146 # Extract the first word of "nm", so it can be a program name with args.
37147 set dummy nm; ac_word=$2
37148 echo "$as_me:$LINENO: checking for $ac_word" >&5
37149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37150 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
37151 echo $ECHO_N "(cached) $ECHO_C" >&6
37152 else
37153 if test -n "$ac_ct_NM"; then
37154 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
37155 else
37156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37157 for as_dir in $PATH
37158 do
37159 IFS=$as_save_IFS
37160 test -z "$as_dir" && as_dir=.
37161 for ac_exec_ext in '' $ac_executable_extensions; do
37162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37163 ac_cv_prog_ac_ct_NM="nm"
37164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37165 break 2
37166 fi
37167 done
37168 done
37169
37170 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
37171 fi
37172 fi
37173 ac_ct_NM=$ac_cv_prog_ac_ct_NM
37174 if test -n "$ac_ct_NM"; then
37175 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
37176 echo "${ECHO_T}$ac_ct_NM" >&6
37177 else
37178 echo "$as_me:$LINENO: result: no" >&5
37179 echo "${ECHO_T}no" >&6
37180 fi
37181
37182 NM=$ac_ct_NM
37183 else
37184 NM="$ac_cv_prog_NM"
37185 fi
37186
37187
37188 case ${host} in
37189 *-hp-hpux* )
37190 INSTALL_DIR="mkdir"
37191 ;;
37192 *) INSTALL_DIR="$INSTALL -d"
37193 ;;
37194 esac
37195
37196
37197 LDFLAGS_GUI=
37198 case ${host} in
37199 *-*-cygwin* | *-*-mingw32* )
37200 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
37201 esac
37202
37203
37204 fi
37205
37206 echo "$as_me:$LINENO: checking if make is GNU make" >&5
37207 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
37208 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
37209 echo $ECHO_N "(cached) $ECHO_C" >&6
37210 else
37211
37212 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
37213 egrep -s GNU > /dev/null); then
37214 bakefile_cv_prog_makeisgnu="yes"
37215 else
37216 bakefile_cv_prog_makeisgnu="no"
37217 fi
37218
37219 fi
37220 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
37221 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
37222
37223 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37224 IF_GNU_MAKE=""
37225 else
37226 IF_GNU_MAKE="#"
37227 fi
37228
37229
37230
37231 PLATFORM_UNIX=0
37232 PLATFORM_WIN32=0
37233 PLATFORM_MSDOS=0
37234 PLATFORM_MAC=0
37235 PLATFORM_MACOSX=0
37236 PLATFORM_OS2=0
37237
37238 case "${host}" in
37239 *-*-cygwin* | *-*-mingw32* )
37240 PLATFORM_WIN32=1
37241 ;;
37242 *-pc-msdosdjgpp )
37243 PLATFORM_MSDOS=1
37244 ;;
37245 *-pc-os2_emx | *-pc-os2-emx )
37246 PLATFORM_OS2=1
37247 ;;
37248 powerpc-*-darwin* )
37249 PLATFORM_MAC=1
37250 PLATFORM_MACOSX=1
37251 ;;
37252 * )
37253 PLATFORM_UNIX=1
37254 ;;
37255 esac
37256
37257
37258
37259
37260
37261
37262
37263
37264
37265 SO_SUFFIX="so"
37266 SO_SUFFIX_MODULE="so"
37267 EXEEXT=""
37268 LIBPREFIX=lib
37269 DLLPREFIX=lib
37270 DLLPREFIX_MODULE=
37271
37272 case "${host}" in
37273 *-hp-hpux* )
37274 SO_SUFFIX="sl"
37275 SO_SUFFIX_MODULE="sl"
37276 ;;
37277 *-*-aix* )
37278 SO_SUFFIX="a"
37279 SO_SUFFIX_MODULE="a"
37280 ;;
37281 *-*-cygwin* | *-*-mingw32* )
37282 SO_SUFFIX="dll"
37283 SO_SUFFIX_MODULE="dll"
37284 EXEEXT=".exe"
37285 DLLPREFIX=""
37286 ;;
37287 *-pc-msdosdjgpp )
37288 EXEEXT=".exe"
37289 DLLPREFIX=""
37290 ;;
37291 *-pc-os2_emx | *-pc-os2-emx )
37292 EXEEXT=".exe"
37293 DLLPREFIX=""
37294 LIBPREFIX=""
37295 ;;
37296 powerpc-*-darwin* )
37297 SO_SUFFIX="dylib"
37298 SO_SUFFIX_MODULE="bundle"
37299 ;;
37300 esac
37301
37302
37303
37304
37305
37306
37307
37308
37309
37310 SHARED_LD_CC="\$(CC) -shared -o"
37311 SHARED_LD_CXX="\$(CXX) -shared -o"
37312
37313 if test "x$GCC" = "xyes"; then
37314 PIC_FLAG="-fPIC"
37315 fi
37316
37317 case "${host}" in
37318 *-hp-hpux* )
37319 if test "x$GCC" = "xyes"; then
37320 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
37321 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
37322 else
37323 LDFLAGS="$LDFLAGS -L/usr/lib"
37324
37325 SHARED_LD_CC="${CC} -b -o"
37326 SHARED_LD_CXX="${CXX} -b -o"
37327 PIC_FLAG="+Z"
37328 fi
37329 ;;
37330
37331 *-*-linux* )
37332 if test "x$GCC" != "xyes"; then
37333 echo "$as_me:$LINENO: checking for Intel compiler" >&5
37334 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
37335 if test "${bakefile_cv_prog_icc+set}" = set; then
37336 echo $ECHO_N "(cached) $ECHO_C" >&6
37337 else
37338
37339 cat >conftest.$ac_ext <<_ACEOF
37340 /* confdefs.h. */
37341 _ACEOF
37342 cat confdefs.h >>conftest.$ac_ext
37343 cat >>conftest.$ac_ext <<_ACEOF
37344 /* end confdefs.h. */
37345
37346 int
37347 main ()
37348 {
37349
37350 #ifndef __INTEL_COMPILER
37351 #error Not icc
37352 #endif
37353
37354 ;
37355 return 0;
37356 }
37357 _ACEOF
37358 rm -f conftest.$ac_objext
37359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37360 (eval $ac_compile) 2>conftest.er1
37361 ac_status=$?
37362 grep -v '^ *+' conftest.er1 >conftest.err
37363 rm -f conftest.er1
37364 cat conftest.err >&5
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); } &&
37367 { ac_try='test -z "$ac_c_werror_flag"
37368 || test ! -s conftest.err'
37369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37370 (eval $ac_try) 2>&5
37371 ac_status=$?
37372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373 (exit $ac_status); }; } &&
37374 { ac_try='test -s conftest.$ac_objext'
37375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37376 (eval $ac_try) 2>&5
37377 ac_status=$?
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); }; }; then
37380 bakefile_cv_prog_icc=yes
37381 else
37382 echo "$as_me: failed program was:" >&5
37383 sed 's/^/| /' conftest.$ac_ext >&5
37384
37385 bakefile_cv_prog_icc=no
37386
37387 fi
37388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37389
37390 fi
37391 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
37392 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
37393 if test "$bakefile_cv_prog_icc" = "yes"; then
37394 PIC_FLAG="-KPIC"
37395 fi
37396 fi
37397 ;;
37398
37399 *-*-solaris2* )
37400 if test "x$GCC" != xyes ; then
37401 SHARED_LD_CC="${CC} -G -o"
37402 SHARED_LD_CXX="${CXX} -G -o"
37403 PIC_FLAG="-KPIC"
37404 fi
37405 ;;
37406
37407 *-*-darwin* )
37408 CFLAGS="$CFLAGS -fno-common"
37409 CXXFLAGS="$CXXFLAGS -fno-common"
37410
37411
37412 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
37413 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
37414 if test "${wx_cv_gcc31+set}" = set; then
37415 echo $ECHO_N "(cached) $ECHO_C" >&6
37416 else
37417
37418 cat >conftest.$ac_ext <<_ACEOF
37419 /* confdefs.h. */
37420 _ACEOF
37421 cat confdefs.h >>conftest.$ac_ext
37422 cat >>conftest.$ac_ext <<_ACEOF
37423 /* end confdefs.h. */
37424
37425 int
37426 main ()
37427 {
37428
37429 #if (__GNUC__ < 3) || \
37430 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
37431 #error old gcc
37432 #endif
37433
37434 ;
37435 return 0;
37436 }
37437 _ACEOF
37438 rm -f conftest.$ac_objext
37439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37440 (eval $ac_compile) 2>conftest.er1
37441 ac_status=$?
37442 grep -v '^ *+' conftest.er1 >conftest.err
37443 rm -f conftest.er1
37444 cat conftest.err >&5
37445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37446 (exit $ac_status); } &&
37447 { ac_try='test -z "$ac_c_werror_flag"
37448 || test ! -s conftest.err'
37449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37450 (eval $ac_try) 2>&5
37451 ac_status=$?
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); }; } &&
37454 { ac_try='test -s conftest.$ac_objext'
37455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37456 (eval $ac_try) 2>&5
37457 ac_status=$?
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); }; }; then
37460
37461 wx_cv_gcc31=yes
37462
37463 else
37464 echo "$as_me: failed program was:" >&5
37465 sed 's/^/| /' conftest.$ac_ext >&5
37466
37467
37468 wx_cv_gcc31=no
37469
37470
37471 fi
37472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37473
37474 fi
37475 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
37476 echo "${ECHO_T}$wx_cv_gcc31" >&6
37477 if test "$wx_cv_gcc31" = "no"; then
37478 cat <<EOF >shared-ld-sh
37479 #!/bin/sh
37480 #-----------------------------------------------------------------------------
37481 #-- Name: distrib/mac/shared-ld-sh
37482 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
37483 #-- Author: Gilles Depeyrot
37484 #-- Copyright: (c) 2002 Gilles Depeyrot
37485 #-- Licence: any use permitted
37486 #-----------------------------------------------------------------------------
37487
37488 verbose=0
37489 args=""
37490 objects=""
37491 linking_flag="-dynamiclib"
37492
37493 while test \${#} -gt 0; do
37494 case \${1} in
37495
37496 -v)
37497 verbose=1
37498 ;;
37499
37500 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
37501 # collect these options and values
37502 args="\${args} \${1} \${2}"
37503 shift
37504 ;;
37505
37506 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
37507 # collect these options
37508 args="\${args} \${1}"
37509 ;;
37510
37511 -dynamiclib|-bundle)
37512 linking_flag="\${1}"
37513 ;;
37514
37515 -*)
37516 echo "shared-ld: unhandled option '\${1}'"
37517 exit 1
37518 ;;
37519
37520 *.o | *.a | *.dylib)
37521 # collect object files
37522 objects="\${objects} \${1}"
37523 ;;
37524
37525 *)
37526 echo "shared-ld: unhandled argument '\${1}'"
37527 exit 1
37528 ;;
37529
37530 esac
37531 shift
37532 done
37533
37534 #
37535 # Link one module containing all the others
37536 #
37537 if test \${verbose} = 1; then
37538 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
37539 fi
37540 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
37541 status=\$?
37542 if test \${status} != 0; then
37543 exit \${status}
37544 fi
37545
37546 #
37547 # Link the shared library from the single module created
37548 #
37549 if test \${verbose} = 1; then
37550 echo "cc \${linking_flag} master.\$\$.o \${args}"
37551 fi
37552 c++ \${linking_flag} master.\$\$.o \${args}
37553 status=\$?
37554 if test \${status} != 0; then
37555 exit \${status}
37556 fi
37557
37558 #
37559 # Remove intermediate module
37560 #
37561 rm -f master.\$\$.o
37562
37563 exit 0
37564 EOF
37565 chmod +x shared-ld-sh
37566
37567 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
37568 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
37569 SHARED_LD_CXX="$SHARED_LD_CC"
37570 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
37571 else
37572 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
37573 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
37574 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
37575 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
37576 fi
37577
37578 PIC_FLAG="-dynamic -fPIC"
37579 ;;
37580
37581 *-*-aix* )
37582 if test "x$GCC" != "xyes"; then
37583 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
37584 set dummy makeC++SharedLib; ac_word=$2
37585 echo "$as_me:$LINENO: checking for $ac_word" >&5
37586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37587 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
37588 echo $ECHO_N "(cached) $ECHO_C" >&6
37589 else
37590 if test -n "$AIX_CXX_LD"; then
37591 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
37592 else
37593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37594 for as_dir in $PATH
37595 do
37596 IFS=$as_save_IFS
37597 test -z "$as_dir" && as_dir=.
37598 for ac_exec_ext in '' $ac_executable_extensions; do
37599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37600 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
37601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37602 break 2
37603 fi
37604 done
37605 done
37606
37607 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
37608 fi
37609 fi
37610 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
37611 if test -n "$AIX_CXX_LD"; then
37612 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
37613 echo "${ECHO_T}$AIX_CXX_LD" >&6
37614 else
37615 echo "$as_me:$LINENO: result: no" >&5
37616 echo "${ECHO_T}no" >&6
37617 fi
37618
37619 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
37620 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
37621 fi
37622 ;;
37623
37624 *-*-beos* )
37625 SHARED_LD_CC="${LD} -shared -o"
37626 SHARED_LD_CXX="${LD} -shared -o"
37627 ;;
37628
37629 *-*-irix* )
37630 if test "x$GCC" != "xyes"; then
37631 PIC_FLAG="-KPIC"
37632 fi
37633 ;;
37634
37635 *-*-cygwin* | *-*-mingw32* )
37636 PIC_FLAG=""
37637 ;;
37638
37639 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
37640 *-*-sunos4* | \
37641 *-*-osf* | \
37642 *-*-dgux5* | \
37643 *-pc-os2_emx | *-pc-os2-emx | \
37644 *-*-sysv5* )
37645 ;;
37646
37647 *)
37648 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
37649 echo "$as_me: error: unknown system type $host." >&2;}
37650 { (exit 1); exit 1; }; }
37651 esac
37652
37653 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
37654 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
37655 fi
37656 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
37657 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
37658 fi
37659
37660
37661
37662
37663
37664
37665
37666
37667 USE_SOVERSION=0
37668 USE_SOVERLINUX=0
37669 USE_SOVERSOLARIS=0
37670 USE_SOSYMLINKS=0
37671 USE_MACVERSION=0
37672 SONAME_FLAG=
37673
37674 case "${host}" in
37675 *-*-linux* )
37676 SONAME_FLAG="-Wl,-soname,"
37677 USE_SOVERSION=1
37678 USE_SOVERLINUX=1
37679 USE_SOSYMLINKS=1
37680 ;;
37681
37682 *-*-solaris2* )
37683 SONAME_FLAG="-h "
37684 USE_SOVERSION=1
37685 USE_SOVERSOLARIS=1
37686 USE_SOSYMLINKS=1
37687 ;;
37688
37689 *-*-darwin* )
37690 USE_MACVERSION=1
37691 USE_SOVERSION=1
37692 USE_SOSYMLINKS=1
37693 ;;
37694 esac
37695
37696
37697
37698
37699
37700
37701
37702
37703
37704 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
37705 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
37706 DEPS_TRACKING=0
37707
37708 if test "x$GCC" = "xyes"; then
37709 DEPSMODE=gcc
37710 DEPS_TRACKING=1
37711 case "${host}" in
37712 powerpc-*-darwin* )
37713 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
37714 ;;
37715 * )
37716 DEPSFLAG_GCC="-MMD"
37717 ;;
37718 esac
37719 echo "$as_me:$LINENO: result: gcc" >&5
37720 echo "${ECHO_T}gcc" >&6
37721 else
37722 echo "$as_me:$LINENO: result: none" >&5
37723 echo "${ECHO_T}none" >&6
37724 fi
37725
37726 if test $DEPS_TRACKING = 1 ; then
37727 cat <<EOF >bk-deps
37728 #!/bin/sh
37729
37730 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
37731 # script. It is used to track C/C++ files dependencies in portable way.
37732 #
37733 # Permission is given to use this file in any way.
37734
37735 DEPSMODE=$DEPSMODE
37736 DEPSDIR=.deps
37737 DEPSFLAG_GCC="$DEPSFLAG_GCC"
37738
37739 mkdir -p \$DEPSDIR
37740
37741 if test \$DEPSMODE = gcc ; then
37742 \${*} \${DEPSFLAG_GCC}
37743 status=\${?}
37744 if test \${status} != 0 ; then
37745 exit \${status}
37746 fi
37747 # move created file to the location we want it in:
37748 while test \${#} -gt 0; do
37749 case "\${1}" in
37750 -o )
37751 shift
37752 objfile=\${1}
37753 ;;
37754 -* )
37755 ;;
37756 * )
37757 srcfile=\${1}
37758 ;;
37759 esac
37760 shift
37761 done
37762 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
37763 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
37764 if test -f \$depfile ; then
37765 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
37766 rm -f \$depfile
37767 else
37768 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
37769 if test -f \$depfile ; then
37770 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
37771 rm -f \$depfile
37772 fi
37773 fi
37774 exit 0
37775 else
37776 \${*}
37777 exit \${?}
37778 fi
37779 EOF
37780 chmod +x bk-deps
37781 fi
37782
37783
37784
37785
37786 RESCOMP=
37787 SETFILE=
37788
37789 case ${host} in
37790 *-*-cygwin* | *-*-mingw32* )
37791 if test "$build" != "$host" ; then
37792 RESCOMP=$host_alias-windres
37793 else
37794 # Extract the first word of "windres", so it can be a program name with args.
37795 set dummy windres; ac_word=$2
37796 echo "$as_me:$LINENO: checking for $ac_word" >&5
37797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37798 if test "${ac_cv_prog_RESCOMP+set}" = set; then
37799 echo $ECHO_N "(cached) $ECHO_C" >&6
37800 else
37801 if test -n "$RESCOMP"; then
37802 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
37803 else
37804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37805 for as_dir in $PATH
37806 do
37807 IFS=$as_save_IFS
37808 test -z "$as_dir" && as_dir=.
37809 for ac_exec_ext in '' $ac_executable_extensions; do
37810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37811 ac_cv_prog_RESCOMP="windres"
37812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37813 break 2
37814 fi
37815 done
37816 done
37817
37818 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
37819 fi
37820 fi
37821 RESCOMP=$ac_cv_prog_RESCOMP
37822 if test -n "$RESCOMP"; then
37823 echo "$as_me:$LINENO: result: $RESCOMP" >&5
37824 echo "${ECHO_T}$RESCOMP" >&6
37825 else
37826 echo "$as_me:$LINENO: result: no" >&5
37827 echo "${ECHO_T}no" >&6
37828 fi
37829
37830 fi
37831 ;;
37832
37833 *-*-darwin* )
37834 # Extract the first word of "Rez", so it can be a program name with args.
37835 set dummy Rez; ac_word=$2
37836 echo "$as_me:$LINENO: checking for $ac_word" >&5
37837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37838 if test "${ac_cv_prog_RESCOMP+set}" = set; then
37839 echo $ECHO_N "(cached) $ECHO_C" >&6
37840 else
37841 if test -n "$RESCOMP"; then
37842 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
37843 else
37844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37845 for as_dir in $PATH
37846 do
37847 IFS=$as_save_IFS
37848 test -z "$as_dir" && as_dir=.
37849 for ac_exec_ext in '' $ac_executable_extensions; do
37850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37851 ac_cv_prog_RESCOMP="Rez"
37852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37853 break 2
37854 fi
37855 done
37856 done
37857
37858 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
37859 fi
37860 fi
37861 RESCOMP=$ac_cv_prog_RESCOMP
37862 if test -n "$RESCOMP"; then
37863 echo "$as_me:$LINENO: result: $RESCOMP" >&5
37864 echo "${ECHO_T}$RESCOMP" >&6
37865 else
37866 echo "$as_me:$LINENO: result: no" >&5
37867 echo "${ECHO_T}no" >&6
37868 fi
37869
37870 # Extract the first word of "SetFile", so it can be a program name with args.
37871 set dummy SetFile; ac_word=$2
37872 echo "$as_me:$LINENO: checking for $ac_word" >&5
37873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37874 if test "${ac_cv_prog_SETFILE+set}" = set; then
37875 echo $ECHO_N "(cached) $ECHO_C" >&6
37876 else
37877 if test -n "$SETFILE"; then
37878 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
37879 else
37880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37881 for as_dir in $PATH
37882 do
37883 IFS=$as_save_IFS
37884 test -z "$as_dir" && as_dir=.
37885 for ac_exec_ext in '' $ac_executable_extensions; do
37886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37887 ac_cv_prog_SETFILE="SetFile"
37888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37889 break 2
37890 fi
37891 done
37892 done
37893
37894 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
37895 fi
37896 fi
37897 SETFILE=$ac_cv_prog_SETFILE
37898 if test -n "$SETFILE"; then
37899 echo "$as_me:$LINENO: result: $SETFILE" >&5
37900 echo "${ECHO_T}$SETFILE" >&6
37901 else
37902 echo "$as_me:$LINENO: result: no" >&5
37903 echo "${ECHO_T}no" >&6
37904 fi
37905
37906 ;;
37907 esac
37908
37909
37910
37911
37912
37913
37914
37915
37916
37917
37918 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
37919 if test "${enable_precomp_headers+set}" = set; then
37920 enableval="$enable_precomp_headers"
37921 bk_use_pch="$enableval"
37922 fi;
37923
37924 GCC_PCH=0
37925
37926 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
37927 if test "x$GCC" = "xyes"; then
37928 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
37929 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
37930 cat >conftest.$ac_ext <<_ACEOF
37931 /* confdefs.h. */
37932 _ACEOF
37933 cat confdefs.h >>conftest.$ac_ext
37934 cat >>conftest.$ac_ext <<_ACEOF
37935 /* end confdefs.h. */
37936
37937 int
37938 main ()
37939 {
37940
37941 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
37942 #error "no pch support"
37943 #endif
37944 #if (__GNUC__ < 3)
37945 #error "no pch support"
37946 #endif
37947 #if (__GNUC__ == 3) && \
37948 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
37949 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
37950 #error "no pch support"
37951 #endif
37952
37953 ;
37954 return 0;
37955 }
37956 _ACEOF
37957 rm -f conftest.$ac_objext
37958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37959 (eval $ac_compile) 2>conftest.er1
37960 ac_status=$?
37961 grep -v '^ *+' conftest.er1 >conftest.err
37962 rm -f conftest.er1
37963 cat conftest.err >&5
37964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37965 (exit $ac_status); } &&
37966 { ac_try='test -z "$ac_c_werror_flag"
37967 || test ! -s conftest.err'
37968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37969 (eval $ac_try) 2>&5
37970 ac_status=$?
37971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37972 (exit $ac_status); }; } &&
37973 { ac_try='test -s conftest.$ac_objext'
37974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37975 (eval $ac_try) 2>&5
37976 ac_status=$?
37977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37978 (exit $ac_status); }; }; then
37979
37980 echo "$as_me:$LINENO: result: yes" >&5
37981 echo "${ECHO_T}yes" >&6
37982 CPPFLAGS="-fpch-deps $CPPFLAGS"
37983 GCC_PCH=1
37984
37985 else
37986 echo "$as_me: failed program was:" >&5
37987 sed 's/^/| /' conftest.$ac_ext >&5
37988
37989
37990 echo "$as_me:$LINENO: result: no" >&5
37991 echo "${ECHO_T}no" >&6
37992
37993 fi
37994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37995 if test $GCC_PCH = 1 ; then
37996 cat <<EOF >bk-make-pch
37997 #!/bin/sh
37998
37999 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38000 # script. It is used to generated precompiled headers.
38001 #
38002 # Permission is given to use this file in any way.
38003
38004 outfile="\${1}"
38005 header="\${2}"
38006 shift
38007 shift
38008
38009 compiler=
38010 headerfile=
38011 while test \${#} -gt 0; do
38012 case "\${1}" in
38013 -I* )
38014 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
38015 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
38016 headerfile="\${incdir}/\${header}"
38017 fi
38018 ;;
38019 esac
38020 compiler="\${compiler} \${1}"
38021 shift
38022 done
38023
38024 if test "x\${headerfile}" = "x" ; then
38025 echo "error: can't find header \${header} in include paths" >2
38026 else
38027 if test -f \${outfile} ; then
38028 rm -f \${outfile}
38029 else
38030 mkdir -p \`dirname \${outfile}\`
38031 fi
38032 depsfile=".deps/\`basename \${outfile}\`.d"
38033 mkdir -p .deps
38034 # can do this because gcc is >= 3.4:
38035 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
38036 exit \${?}
38037 fi
38038 EOF
38039 chmod +x bk-make-pch
38040 fi
38041 fi
38042 fi
38043
38044
38045
38046
38047
38048 COND_BUILD_DEBUG="#"
38049 if test "x$BUILD" = "xdebug" ; then
38050 COND_BUILD_DEBUG=""
38051 fi
38052
38053 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
38054 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
38055 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
38056 fi
38057
38058 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
38059 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
38060 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
38061 fi
38062
38063 COND_BUILD_RELEASE="#"
38064 if test "x$BUILD" = "xrelease" ; then
38065 COND_BUILD_RELEASE=""
38066 fi
38067
38068 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
38069 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
38070 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
38071 fi
38072
38073 COND_DEBUG_FLAG_1="#"
38074 if test "x$DEBUG_FLAG" = "x1" ; then
38075 COND_DEBUG_FLAG_1=""
38076 fi
38077
38078 COND_DEBUG_INFO_0="#"
38079 if test "x$DEBUG_INFO" = "x0" ; then
38080 COND_DEBUG_INFO_0=""
38081 fi
38082
38083 COND_DEBUG_INFO_1="#"
38084 if test "x$DEBUG_INFO" = "x1" ; then
38085 COND_DEBUG_INFO_1=""
38086 fi
38087
38088 COND_DEPS_TRACKING_0="#"
38089 if test "x$DEPS_TRACKING" = "x0" ; then
38090 COND_DEPS_TRACKING_0=""
38091 fi
38092
38093 COND_DEPS_TRACKING_1="#"
38094 if test "x$DEPS_TRACKING" = "x1" ; then
38095 COND_DEPS_TRACKING_1=""
38096 fi
38097
38098 COND_GCC_PCH_1="#"
38099 if test "x$GCC_PCH" = "x1" ; then
38100 COND_GCC_PCH_1=""
38101 fi
38102
38103 COND_MONOLITHIC_0="#"
38104 if test "x$MONOLITHIC" = "x0" ; then
38105 COND_MONOLITHIC_0=""
38106 fi
38107
38108 COND_MONOLITHIC_0_SHARED_0="#"
38109 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
38110 COND_MONOLITHIC_0_SHARED_0=""
38111 fi
38112
38113 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
38114 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
38115 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
38116 fi
38117
38118 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
38119 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38120 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
38121 fi
38122
38123 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
38124 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
38125 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
38126 fi
38127
38128 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
38129 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
38130 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
38131 fi
38132
38133 COND_MONOLITHIC_0_SHARED_1="#"
38134 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
38135 COND_MONOLITHIC_0_SHARED_1=""
38136 fi
38137
38138 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
38139 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
38140 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
38141 fi
38142
38143 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
38144 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38145 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
38146 fi
38147
38148 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
38149 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
38150 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
38151 fi
38152
38153 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
38154 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
38155 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
38156 fi
38157
38158 COND_MONOLITHIC_1="#"
38159 if test "x$MONOLITHIC" = "x1" ; then
38160 COND_MONOLITHIC_1=""
38161 fi
38162
38163 COND_MONOLITHIC_1_SHARED_0="#"
38164 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
38165 COND_MONOLITHIC_1_SHARED_0=""
38166 fi
38167
38168 COND_MONOLITHIC_1_SHARED_1="#"
38169 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
38170 COND_MONOLITHIC_1_SHARED_1=""
38171 fi
38172
38173 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
38174 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
38175 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
38176 fi
38177
38178 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
38179 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
38180 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
38181 fi
38182
38183 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
38184 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
38185 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
38186 fi
38187
38188 COND_PLATFORM_MACOSX_1="#"
38189 if test "x$PLATFORM_MACOSX" = "x1" ; then
38190 COND_PLATFORM_MACOSX_1=""
38191 fi
38192
38193 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
38194 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
38195 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
38196 fi
38197
38198 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
38199 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
38200 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
38201 fi
38202
38203 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
38204 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
38205 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
38206 fi
38207
38208 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
38209 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
38210 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
38211 fi
38212
38213 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
38214 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
38215 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
38216 fi
38217
38218 COND_PLATFORM_MAC_1="#"
38219 if test "x$PLATFORM_MAC" = "x1" ; then
38220 COND_PLATFORM_MAC_1=""
38221 fi
38222
38223 COND_PLATFORM_OS2_1="#"
38224 if test "x$PLATFORM_OS2" = "x1" ; then
38225 COND_PLATFORM_OS2_1=""
38226 fi
38227
38228 COND_PLATFORM_UNIX_0="#"
38229 if test "x$PLATFORM_UNIX" = "x0" ; then
38230 COND_PLATFORM_UNIX_0=""
38231 fi
38232
38233 COND_PLATFORM_UNIX_1="#"
38234 if test "x$PLATFORM_UNIX" = "x1" ; then
38235 COND_PLATFORM_UNIX_1=""
38236 fi
38237
38238 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
38239 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
38240 COND_PLATFORM_UNIX_1_USE_GUI_1=""
38241 fi
38242
38243 COND_PLATFORM_WIN32_0="#"
38244 if test "x$PLATFORM_WIN32" = "x0" ; then
38245 COND_PLATFORM_WIN32_0=""
38246 fi
38247
38248 COND_PLATFORM_WIN32_1="#"
38249 if test "x$PLATFORM_WIN32" = "x1" ; then
38250 COND_PLATFORM_WIN32_1=""
38251 fi
38252
38253 COND_SHARED_0="#"
38254 if test "x$SHARED" = "x0" ; then
38255 COND_SHARED_0=""
38256 fi
38257
38258 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
38259 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38260 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
38261 fi
38262
38263 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
38264 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38265 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
38266 fi
38267
38268 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
38269 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38270 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
38271 fi
38272
38273 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
38274 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38275 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
38276 fi
38277
38278 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
38279 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
38280 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
38281 fi
38282
38283 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
38284 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
38285 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
38286 fi
38287
38288 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
38289 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
38290 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
38291 fi
38292
38293 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
38294 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
38295 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
38296 fi
38297
38298 COND_SHARED_1="#"
38299 if test "x$SHARED" = "x1" ; then
38300 COND_SHARED_1=""
38301 fi
38302
38303 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
38304 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38305 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
38306 fi
38307
38308 COND_TOOLKIT_COCOA="#"
38309 if test "x$TOOLKIT" = "xCOCOA" ; then
38310 COND_TOOLKIT_COCOA=""
38311 fi
38312
38313 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
38314 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38315 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
38316 fi
38317
38318 COND_TOOLKIT_GTK="#"
38319 if test "x$TOOLKIT" = "xGTK" ; then
38320 COND_TOOLKIT_GTK=""
38321 fi
38322
38323 COND_TOOLKIT_GTK_USE_GUI_1="#"
38324 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
38325 COND_TOOLKIT_GTK_USE_GUI_1=""
38326 fi
38327
38328 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
38329 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38330 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
38331 fi
38332
38333 COND_TOOLKIT_MAC="#"
38334 if test "x$TOOLKIT" = "xMAC" ; then
38335 COND_TOOLKIT_MAC=""
38336 fi
38337
38338 COND_TOOLKIT_MAC_USE_GUI_1="#"
38339 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
38340 COND_TOOLKIT_MAC_USE_GUI_1=""
38341 fi
38342
38343 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
38344 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38345 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
38346 fi
38347
38348 COND_TOOLKIT_MGL="#"
38349 if test "x$TOOLKIT" = "xMGL" ; then
38350 COND_TOOLKIT_MGL=""
38351 fi
38352
38353 COND_TOOLKIT_MGL_USE_GUI_1="#"
38354 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
38355 COND_TOOLKIT_MGL_USE_GUI_1=""
38356 fi
38357
38358 COND_TOOLKIT_MOTIF="#"
38359 if test "x$TOOLKIT" = "xMOTIF" ; then
38360 COND_TOOLKIT_MOTIF=""
38361 fi
38362
38363 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
38364 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
38365 COND_TOOLKIT_MOTIF_USE_GUI_1=""
38366 fi
38367
38368 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
38369 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38370 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
38371 fi
38372
38373 COND_TOOLKIT_MSW="#"
38374 if test "x$TOOLKIT" = "xMSW" ; then
38375 COND_TOOLKIT_MSW=""
38376 fi
38377
38378 COND_TOOLKIT_MSW_USE_GUI_1="#"
38379 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
38380 COND_TOOLKIT_MSW_USE_GUI_1=""
38381 fi
38382
38383 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
38384 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38385 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
38386 fi
38387
38388 COND_TOOLKIT_PM="#"
38389 if test "x$TOOLKIT" = "xPM" ; then
38390 COND_TOOLKIT_PM=""
38391 fi
38392
38393 COND_TOOLKIT_PM_USE_GUI_1="#"
38394 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
38395 COND_TOOLKIT_PM_USE_GUI_1=""
38396 fi
38397
38398 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
38399 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38400 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
38401 fi
38402
38403 COND_TOOLKIT_X11="#"
38404 if test "x$TOOLKIT" = "xX11" ; then
38405 COND_TOOLKIT_X11=""
38406 fi
38407
38408 COND_TOOLKIT_X11_USE_GUI_1="#"
38409 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
38410 COND_TOOLKIT_X11_USE_GUI_1=""
38411 fi
38412
38413 COND_UNICODE_1="#"
38414 if test "x$UNICODE" = "x1" ; then
38415 COND_UNICODE_1=""
38416 fi
38417
38418 COND_USE_EXCEPTIONS_0="#"
38419 if test "x$USE_EXCEPTIONS" = "x0" ; then
38420 COND_USE_EXCEPTIONS_0=""
38421 fi
38422
38423 COND_USE_EXCEPTIONS_1="#"
38424 if test "x$USE_EXCEPTIONS" = "x1" ; then
38425 COND_USE_EXCEPTIONS_1=""
38426 fi
38427
38428 COND_USE_GUI_0="#"
38429 if test "x$USE_GUI" = "x0" ; then
38430 COND_USE_GUI_0=""
38431 fi
38432
38433 COND_USE_GUI_1="#"
38434 if test "x$USE_GUI" = "x1" ; then
38435 COND_USE_GUI_1=""
38436 fi
38437
38438 COND_USE_GUI_1_WXUNIV_0="#"
38439 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38440 COND_USE_GUI_1_WXUNIV_0=""
38441 fi
38442
38443 COND_USE_GUI_1_WXUNIV_1="#"
38444 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
38445 COND_USE_GUI_1_WXUNIV_1=""
38446 fi
38447
38448 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
38449 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38450 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
38451 fi
38452
38453 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
38454 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38455 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
38456 fi
38457
38458 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
38459 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38460 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
38461 fi
38462
38463 COND_USE_ODBC_1="#"
38464 if test "x$USE_ODBC" = "x1" ; then
38465 COND_USE_ODBC_1=""
38466 fi
38467
38468 COND_USE_SOSYMLINKS_1="#"
38469 if test "x$USE_SOSYMLINKS" = "x1" ; then
38470 COND_USE_SOSYMLINKS_1=""
38471 fi
38472
38473 COND_USE_SOVERLINUX_1="#"
38474 if test "x$USE_SOVERLINUX" = "x1" ; then
38475 COND_USE_SOVERLINUX_1=""
38476 fi
38477
38478 COND_USE_SOVERSION_0="#"
38479 if test "x$USE_SOVERSION" = "x0" ; then
38480 COND_USE_SOVERSION_0=""
38481 fi
38482
38483 COND_USE_SOVERSOLARIS_1="#"
38484 if test "x$USE_SOVERSOLARIS" = "x1" ; then
38485 COND_USE_SOVERSOLARIS_1=""
38486 fi
38487
38488 COND_WXUNIV_1="#"
38489 if test "x$WXUNIV" = "x1" ; then
38490 COND_WXUNIV_1=""
38491 fi
38492
38493 COND_WXUSE_EXPAT_BUILTIN="#"
38494 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
38495 COND_WXUSE_EXPAT_BUILTIN=""
38496 fi
38497
38498 COND_WXUSE_LIBJPEG_BUILTIN="#"
38499 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38500 COND_WXUSE_LIBJPEG_BUILTIN=""
38501 fi
38502
38503 COND_WXUSE_LIBPNG_BUILTIN="#"
38504 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38505 COND_WXUSE_LIBPNG_BUILTIN=""
38506 fi
38507
38508 COND_WXUSE_LIBTIFF_BUILTIN="#"
38509 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38510 COND_WXUSE_LIBTIFF_BUILTIN=""
38511 fi
38512
38513 COND_WXUSE_ODBC_BUILTIN="#"
38514 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
38515 COND_WXUSE_ODBC_BUILTIN=""
38516 fi
38517
38518 COND_WXUSE_REGEX_BUILTIN="#"
38519 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
38520 COND_WXUSE_REGEX_BUILTIN=""
38521 fi
38522
38523 COND_WXUSE_ZLIB_BUILTIN="#"
38524 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
38525 COND_WXUSE_ZLIB_BUILTIN=""
38526 fi
38527
38528
38529
38530
38531
38532 if test $GCC_PCH = 1 ; then
38533 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38534 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
38535 else
38536 case "${host}" in
38537 powerpc-*-darwin* )
38538 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38539 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
38540 ;;
38541 esac
38542 fi
38543
38544
38545 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
38546
38547
38548
38549
38550
38551
38552
38553
38554
38555
38556
38557
38558
38559
38560
38561
38562
38563
38564
38565
38566
38567
38568
38569
38570
38571
38572
38573
38574
38575
38576
38577
38578
38579
38580
38581
38582
38583
38584
38585
38586
38587
38588
38589
38590
38591
38592
38593
38594
38595
38596
38597
38598
38599
38600
38601
38602
38603
38604
38605
38606
38607
38608
38609
38610
38611
38612
38613
38614
38615
38616
38617
38618
38619
38620
38621
38622
38623
38624
38625
38626
38627
38628
38629
38630
38631
38632
38633
38634
38635
38636
38637
38638
38639
38640
38641
38642
38643
38644
38645
38646 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38647 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38648 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
38649 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38650 echo $ECHO_N "(cached) $ECHO_C" >&6
38651 else
38652 cat >conftest.make <<\_ACEOF
38653 all:
38654 @echo 'ac_maketemp="$(MAKE)"'
38655 _ACEOF
38656 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38657 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38658 if test -n "$ac_maketemp"; then
38659 eval ac_cv_prog_make_${ac_make}_set=yes
38660 else
38661 eval ac_cv_prog_make_${ac_make}_set=no
38662 fi
38663 rm -f conftest.make
38664 fi
38665 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38666 echo "$as_me:$LINENO: result: yes" >&5
38667 echo "${ECHO_T}yes" >&6
38668 SET_MAKE=
38669 else
38670 echo "$as_me:$LINENO: result: no" >&5
38671 echo "${ECHO_T}no" >&6
38672 SET_MAKE="MAKE=${MAKE-make}"
38673 fi
38674
38675
38676 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
38677 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
38678 fi
38679
38680 ac_config_headers="$ac_config_headers setup.h"
38681
38682
38683 ac_config_files="$ac_config_files wx-config version-script Makefile"
38684
38685
38686 ac_config_commands="$ac_config_commands default"
38687
38688
38689
38690 if test "$wxUSE_GUI" = "yes"; then
38691 SUBDIRS="samples demos utils contrib"
38692 else SUBDIRS="samples utils"
38693 fi
38694
38695 for subdir in `echo $SUBDIRS`; do
38696 if test -d ${srcdir}/${subdir} ; then
38697 if test "$wxUSE_GUI" = "yes"; then
38698 if test ${subdir} = "samples"; then
38699 makefiles="samples/Makefile.in $makefiles"
38700 for sample in `echo $SAMPLES_SUBDIRS`; do
38701 if test -d $srcdir/samples/$sample; then
38702 makefiles="samples/$sample/Makefile.in $makefiles"
38703 fi
38704 done
38705 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
38706 fi
38707 else if test ${subdir} = "samples"; then
38708 makefiles="samples/Makefile.in samples/console/Makefile.in"
38709 else makefiles="utils/HelpGen/Makefile.in \
38710 utils/HelpGen/src/Makefile.in \
38711 utils/tex2rtf/Makefile.in \
38712 utils/tex2rtf/src/Makefile.in"
38713 fi
38714 fi
38715
38716 for mkin in $makefiles ; do
38717 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
38718 ac_config_files="$ac_config_files $mk"
38719
38720 done
38721 fi
38722 done
38723
38724
38725 cat >confcache <<\_ACEOF
38726 # This file is a shell script that caches the results of configure
38727 # tests run on this system so they can be shared between configure
38728 # scripts and configure runs, see configure's option --config-cache.
38729 # It is not useful on other systems. If it contains results you don't
38730 # want to keep, you may remove or edit it.
38731 #
38732 # config.status only pays attention to the cache file if you give it
38733 # the --recheck option to rerun configure.
38734 #
38735 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38736 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38737 # following values.
38738
38739 _ACEOF
38740
38741 # The following way of writing the cache mishandles newlines in values,
38742 # but we know of no workaround that is simple, portable, and efficient.
38743 # So, don't put newlines in cache variables' values.
38744 # Ultrix sh set writes to stderr and can't be redirected directly,
38745 # and sets the high bit in the cache file unless we assign to the vars.
38746 {
38747 (set) 2>&1 |
38748 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38749 *ac_space=\ *)
38750 # `set' does not quote correctly, so add quotes (double-quote
38751 # substitution turns \\\\ into \\, and sed turns \\ into \).
38752 sed -n \
38753 "s/'/'\\\\''/g;
38754 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38755 ;;
38756 *)
38757 # `set' quotes correctly as required by POSIX, so do not add quotes.
38758 sed -n \
38759 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38760 ;;
38761 esac;
38762 } |
38763 sed '
38764 t clear
38765 : clear
38766 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38767 t end
38768 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38769 : end' >>confcache
38770 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38771 if test -w $cache_file; then
38772 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38773 cat confcache >$cache_file
38774 else
38775 echo "not updating unwritable cache $cache_file"
38776 fi
38777 fi
38778 rm -f confcache
38779
38780 test "x$prefix" = xNONE && prefix=$ac_default_prefix
38781 # Let make expand exec_prefix.
38782 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
38783
38784 # VPATH may cause trouble with some makes, so we remove $(srcdir),
38785 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
38786 # trailing colons and then remove the whole line if VPATH becomes empty
38787 # (actually we leave an empty line to preserve line numbers).
38788 if test "x$srcdir" = x.; then
38789 ac_vpsub='/^[ ]*VPATH[ ]*=/{
38790 s/:*\$(srcdir):*/:/;
38791 s/:*\${srcdir}:*/:/;
38792 s/:*@srcdir@:*/:/;
38793 s/^\([^=]*=[ ]*\):*/\1/;
38794 s/:*$//;
38795 s/^[^=]*=[ ]*$//;
38796 }'
38797 fi
38798
38799 DEFS=-DHAVE_CONFIG_H
38800
38801 ac_libobjs=
38802 ac_ltlibobjs=
38803 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
38804 # 1. Remove the extension, and $U if already installed.
38805 ac_i=`echo "$ac_i" |
38806 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
38807 # 2. Add them.
38808 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
38809 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
38810 done
38811 LIBOBJS=$ac_libobjs
38812
38813 LTLIBOBJS=$ac_ltlibobjs
38814
38815
38816
38817 : ${CONFIG_STATUS=./config.status}
38818 ac_clean_files_save=$ac_clean_files
38819 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
38820 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
38821 echo "$as_me: creating $CONFIG_STATUS" >&6;}
38822 cat >$CONFIG_STATUS <<_ACEOF
38823 #! $SHELL
38824 # Generated by $as_me.
38825 # Run this file to recreate the current configuration.
38826 # Compiler output produced by configure, useful for debugging
38827 # configure, is in config.log if it exists.
38828
38829 debug=false
38830 ac_cs_recheck=false
38831 ac_cs_silent=false
38832 SHELL=\${CONFIG_SHELL-$SHELL}
38833 _ACEOF
38834
38835 cat >>$CONFIG_STATUS <<\_ACEOF
38836 ## --------------------- ##
38837 ## M4sh Initialization. ##
38838 ## --------------------- ##
38839
38840 # Be Bourne compatible
38841 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
38842 emulate sh
38843 NULLCMD=:
38844 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
38845 # is contrary to our usage. Disable this feature.
38846 alias -g '${1+"$@"}'='"$@"'
38847 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
38848 set -o posix
38849 fi
38850 DUALCASE=1; export DUALCASE # for MKS sh
38851
38852 # Support unset when possible.
38853 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
38854 as_unset=unset
38855 else
38856 as_unset=false
38857 fi
38858
38859
38860 # Work around bugs in pre-3.0 UWIN ksh.
38861 $as_unset ENV MAIL MAILPATH
38862 PS1='$ '
38863 PS2='> '
38864 PS4='+ '
38865
38866 # NLS nuisances.
38867 for as_var in \
38868 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
38869 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
38870 LC_TELEPHONE LC_TIME
38871 do
38872 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
38873 eval $as_var=C; export $as_var
38874 else
38875 $as_unset $as_var
38876 fi
38877 done
38878
38879 # Required to use basename.
38880 if expr a : '\(a\)' >/dev/null 2>&1; then
38881 as_expr=expr
38882 else
38883 as_expr=false
38884 fi
38885
38886 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
38887 as_basename=basename
38888 else
38889 as_basename=false
38890 fi
38891
38892
38893 # Name of the executable.
38894 as_me=`$as_basename "$0" ||
38895 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
38896 X"$0" : 'X\(//\)$' \| \
38897 X"$0" : 'X\(/\)$' \| \
38898 . : '\(.\)' 2>/dev/null ||
38899 echo X/"$0" |
38900 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
38901 /^X\/\(\/\/\)$/{ s//\1/; q; }
38902 /^X\/\(\/\).*/{ s//\1/; q; }
38903 s/.*/./; q'`
38904
38905
38906 # PATH needs CR, and LINENO needs CR and PATH.
38907 # Avoid depending upon Character Ranges.
38908 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38909 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38910 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38911 as_cr_digits='0123456789'
38912 as_cr_alnum=$as_cr_Letters$as_cr_digits
38913
38914 # The user is always right.
38915 if test "${PATH_SEPARATOR+set}" != set; then
38916 echo "#! /bin/sh" >conf$$.sh
38917 echo "exit 0" >>conf$$.sh
38918 chmod +x conf$$.sh
38919 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
38920 PATH_SEPARATOR=';'
38921 else
38922 PATH_SEPARATOR=:
38923 fi
38924 rm -f conf$$.sh
38925 fi
38926
38927
38928 as_lineno_1=$LINENO
38929 as_lineno_2=$LINENO
38930 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
38931 test "x$as_lineno_1" != "x$as_lineno_2" &&
38932 test "x$as_lineno_3" = "x$as_lineno_2" || {
38933 # Find who we are. Look in the path if we contain no path at all
38934 # relative or not.
38935 case $0 in
38936 *[\\/]* ) as_myself=$0 ;;
38937 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38938 for as_dir in $PATH
38939 do
38940 IFS=$as_save_IFS
38941 test -z "$as_dir" && as_dir=.
38942 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
38943 done
38944
38945 ;;
38946 esac
38947 # We did not find ourselves, most probably we were run as `sh COMMAND'
38948 # in which case we are not to be found in the path.
38949 if test "x$as_myself" = x; then
38950 as_myself=$0
38951 fi
38952 if test ! -f "$as_myself"; then
38953 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
38954 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
38955 { (exit 1); exit 1; }; }
38956 fi
38957 case $CONFIG_SHELL in
38958 '')
38959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38960 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
38961 do
38962 IFS=$as_save_IFS
38963 test -z "$as_dir" && as_dir=.
38964 for as_base in sh bash ksh sh5; do
38965 case $as_dir in
38966 /*)
38967 if ("$as_dir/$as_base" -c '
38968 as_lineno_1=$LINENO
38969 as_lineno_2=$LINENO
38970 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
38971 test "x$as_lineno_1" != "x$as_lineno_2" &&
38972 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
38973 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
38974 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
38975 CONFIG_SHELL=$as_dir/$as_base
38976 export CONFIG_SHELL
38977 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
38978 fi;;
38979 esac
38980 done
38981 done
38982 ;;
38983 esac
38984
38985 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
38986 # uniformly replaced by the line number. The first 'sed' inserts a
38987 # line-number line before each line; the second 'sed' does the real
38988 # work. The second script uses 'N' to pair each line-number line
38989 # with the numbered line, and appends trailing '-' during
38990 # substitution so that $LINENO is not a special case at line end.
38991 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
38992 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
38993 sed '=' <$as_myself |
38994 sed '
38995 N
38996 s,$,-,
38997 : loop
38998 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
38999 t loop
39000 s,-$,,
39001 s,^['$as_cr_digits']*\n,,
39002 ' >$as_me.lineno &&
39003 chmod +x $as_me.lineno ||
39004 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
39005 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
39006 { (exit 1); exit 1; }; }
39007
39008 # Don't try to exec as it changes $[0], causing all sort of problems
39009 # (the dirname of $[0] is not the place where we might find the
39010 # original and so on. Autoconf is especially sensible to this).
39011 . ./$as_me.lineno
39012 # Exit status is that of the last command.
39013 exit
39014 }
39015
39016
39017 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
39018 *c*,-n*) ECHO_N= ECHO_C='
39019 ' ECHO_T=' ' ;;
39020 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
39021 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
39022 esac
39023
39024 if expr a : '\(a\)' >/dev/null 2>&1; then
39025 as_expr=expr
39026 else
39027 as_expr=false
39028 fi
39029
39030 rm -f conf$$ conf$$.exe conf$$.file
39031 echo >conf$$.file
39032 if ln -s conf$$.file conf$$ 2>/dev/null; then
39033 # We could just check for DJGPP; but this test a) works b) is more generic
39034 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
39035 if test -f conf$$.exe; then
39036 # Don't use ln at all; we don't have any links
39037 as_ln_s='cp -p'
39038 else
39039 as_ln_s='ln -s'
39040 fi
39041 elif ln conf$$.file conf$$ 2>/dev/null; then
39042 as_ln_s=ln
39043 else
39044 as_ln_s='cp -p'
39045 fi
39046 rm -f conf$$ conf$$.exe conf$$.file
39047
39048 if mkdir -p . 2>/dev/null; then
39049 as_mkdir_p=:
39050 else
39051 test -d ./-p && rmdir ./-p
39052 as_mkdir_p=false
39053 fi
39054
39055 as_executable_p="test -f"
39056
39057 # Sed expression to map a string onto a valid CPP name.
39058 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
39059
39060 # Sed expression to map a string onto a valid variable name.
39061 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
39062
39063
39064 # IFS
39065 # We need space, tab and new line, in precisely that order.
39066 as_nl='
39067 '
39068 IFS=" $as_nl"
39069
39070 # CDPATH.
39071 $as_unset CDPATH
39072
39073 exec 6>&1
39074
39075 # Open the log real soon, to keep \$[0] and so on meaningful, and to
39076 # report actual input values of CONFIG_FILES etc. instead of their
39077 # values after options handling. Logging --version etc. is OK.
39078 exec 5>>config.log
39079 {
39080 echo
39081 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39082 ## Running $as_me. ##
39083 _ASBOX
39084 } >&5
39085 cat >&5 <<_CSEOF
39086
39087 This file was extended by wxWindows $as_me 2.5.1, which was
39088 generated by GNU Autoconf 2.58. Invocation command line was
39089
39090 CONFIG_FILES = $CONFIG_FILES
39091 CONFIG_HEADERS = $CONFIG_HEADERS
39092 CONFIG_LINKS = $CONFIG_LINKS
39093 CONFIG_COMMANDS = $CONFIG_COMMANDS
39094 $ $0 $@
39095
39096 _CSEOF
39097 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
39098 echo >&5
39099 _ACEOF
39100
39101 # Files that config.status was made for.
39102 if test -n "$ac_config_files"; then
39103 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
39104 fi
39105
39106 if test -n "$ac_config_headers"; then
39107 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
39108 fi
39109
39110 if test -n "$ac_config_links"; then
39111 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
39112 fi
39113
39114 if test -n "$ac_config_commands"; then
39115 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
39116 fi
39117
39118 cat >>$CONFIG_STATUS <<\_ACEOF
39119
39120 ac_cs_usage="\
39121 \`$as_me' instantiates files from templates according to the
39122 current configuration.
39123
39124 Usage: $0 [OPTIONS] [FILE]...
39125
39126 -h, --help print this help, then exit
39127 -V, --version print version number, then exit
39128 -q, --quiet do not print progress messages
39129 -d, --debug don't remove temporary files
39130 --recheck update $as_me by reconfiguring in the same conditions
39131 --file=FILE[:TEMPLATE]
39132 instantiate the configuration file FILE
39133 --header=FILE[:TEMPLATE]
39134 instantiate the configuration header FILE
39135
39136 Configuration files:
39137 $config_files
39138
39139 Configuration headers:
39140 $config_headers
39141
39142 Configuration commands:
39143 $config_commands
39144
39145 Report bugs to <bug-autoconf@gnu.org>."
39146 _ACEOF
39147
39148 cat >>$CONFIG_STATUS <<_ACEOF
39149 ac_cs_version="\\
39150 wxWindows config.status 2.5.1
39151 configured by $0, generated by GNU Autoconf 2.58,
39152 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
39153
39154 Copyright (C) 2003 Free Software Foundation, Inc.
39155 This config.status script is free software; the Free Software Foundation
39156 gives unlimited permission to copy, distribute and modify it."
39157 srcdir=$srcdir
39158 INSTALL="$INSTALL"
39159 _ACEOF
39160
39161 cat >>$CONFIG_STATUS <<\_ACEOF
39162 # If no file are specified by the user, then we need to provide default
39163 # value. By we need to know if files were specified by the user.
39164 ac_need_defaults=:
39165 while test $# != 0
39166 do
39167 case $1 in
39168 --*=*)
39169 ac_option=`expr "x$1" : 'x\([^=]*\)='`
39170 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
39171 ac_shift=:
39172 ;;
39173 -*)
39174 ac_option=$1
39175 ac_optarg=$2
39176 ac_shift=shift
39177 ;;
39178 *) # This is not an option, so the user has probably given explicit
39179 # arguments.
39180 ac_option=$1
39181 ac_need_defaults=false;;
39182 esac
39183
39184 case $ac_option in
39185 # Handling of the options.
39186 _ACEOF
39187 cat >>$CONFIG_STATUS <<\_ACEOF
39188 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39189 ac_cs_recheck=: ;;
39190 --version | --vers* | -V )
39191 echo "$ac_cs_version"; exit 0 ;;
39192 --he | --h)
39193 # Conflict between --help and --header
39194 { { echo "$as_me:$LINENO: error: ambiguous option: $1
39195 Try \`$0 --help' for more information." >&5
39196 echo "$as_me: error: ambiguous option: $1
39197 Try \`$0 --help' for more information." >&2;}
39198 { (exit 1); exit 1; }; };;
39199 --help | --hel | -h )
39200 echo "$ac_cs_usage"; exit 0 ;;
39201 --debug | --d* | -d )
39202 debug=: ;;
39203 --file | --fil | --fi | --f )
39204 $ac_shift
39205 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
39206 ac_need_defaults=false;;
39207 --header | --heade | --head | --hea )
39208 $ac_shift
39209 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
39210 ac_need_defaults=false;;
39211 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
39212 | -silent | --silent | --silen | --sile | --sil | --si | --s)
39213 ac_cs_silent=: ;;
39214
39215 # This is an error.
39216 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
39217 Try \`$0 --help' for more information." >&5
39218 echo "$as_me: error: unrecognized option: $1
39219 Try \`$0 --help' for more information." >&2;}
39220 { (exit 1); exit 1; }; } ;;
39221
39222 *) ac_config_targets="$ac_config_targets $1" ;;
39223
39224 esac
39225 shift
39226 done
39227
39228 ac_configure_extra_args=
39229
39230 if $ac_cs_silent; then
39231 exec 6>/dev/null
39232 ac_configure_extra_args="$ac_configure_extra_args --silent"
39233 fi
39234
39235 _ACEOF
39236 cat >>$CONFIG_STATUS <<_ACEOF
39237 if \$ac_cs_recheck; then
39238 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39239 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39240 fi
39241
39242 _ACEOF
39243
39244 cat >>$CONFIG_STATUS <<_ACEOF
39245 #
39246 # INIT-COMMANDS section.
39247 #
39248
39249
39250 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
39251 LN_S="${LN_S}"
39252
39253
39254
39255 _ACEOF
39256
39257
39258
39259 cat >>$CONFIG_STATUS <<\_ACEOF
39260 for ac_config_target in $ac_config_targets
39261 do
39262 case "$ac_config_target" in
39263 # Handling of arguments.
39264 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
39265 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
39266 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
39267 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
39268 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
39269 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
39270 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39271 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39272 { (exit 1); exit 1; }; };;
39273 esac
39274 done
39275
39276 # If the user did not use the arguments to specify the items to instantiate,
39277 # then the envvar interface is used. Set only those that are not.
39278 # We use the long form for the default assignment because of an extremely
39279 # bizarre bug on SunOS 4.1.3.
39280 if $ac_need_defaults; then
39281 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
39282 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
39283 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
39284 fi
39285
39286 # Have a temporary directory for convenience. Make it in the build tree
39287 # simply because there is no reason to put it here, and in addition,
39288 # creating and moving files from /tmp can sometimes cause problems.
39289 # Create a temporary directory, and hook for its removal unless debugging.
39290 $debug ||
39291 {
39292 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
39293 trap '{ (exit 1); exit 1; }' 1 2 13 15
39294 }
39295
39296 # Create a (secure) tmp directory for tmp files.
39297
39298 {
39299 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
39300 test -n "$tmp" && test -d "$tmp"
39301 } ||
39302 {
39303 tmp=./confstat$$-$RANDOM
39304 (umask 077 && mkdir $tmp)
39305 } ||
39306 {
39307 echo "$me: cannot create a temporary directory in ." >&2
39308 { (exit 1); exit 1; }
39309 }
39310
39311 _ACEOF
39312
39313 cat >>$CONFIG_STATUS <<_ACEOF
39314
39315 #
39316 # CONFIG_FILES section.
39317 #
39318
39319 # No need to generate the scripts if there are no CONFIG_FILES.
39320 # This happens for instance when ./config.status config.h
39321 if test -n "\$CONFIG_FILES"; then
39322 # Protect against being on the right side of a sed subst in config.status.
39323 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
39324 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
39325 s,@SHELL@,$SHELL,;t t
39326 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
39327 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
39328 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
39329 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
39330 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
39331 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
39332 s,@exec_prefix@,$exec_prefix,;t t
39333 s,@prefix@,$prefix,;t t
39334 s,@program_transform_name@,$program_transform_name,;t t
39335 s,@bindir@,$bindir,;t t
39336 s,@sbindir@,$sbindir,;t t
39337 s,@libexecdir@,$libexecdir,;t t
39338 s,@datadir@,$datadir,;t t
39339 s,@sysconfdir@,$sysconfdir,;t t
39340 s,@sharedstatedir@,$sharedstatedir,;t t
39341 s,@localstatedir@,$localstatedir,;t t
39342 s,@libdir@,$libdir,;t t
39343 s,@includedir@,$includedir,;t t
39344 s,@oldincludedir@,$oldincludedir,;t t
39345 s,@infodir@,$infodir,;t t
39346 s,@mandir@,$mandir,;t t
39347 s,@build_alias@,$build_alias,;t t
39348 s,@host_alias@,$host_alias,;t t
39349 s,@target_alias@,$target_alias,;t t
39350 s,@DEFS@,$DEFS,;t t
39351 s,@ECHO_C@,$ECHO_C,;t t
39352 s,@ECHO_N@,$ECHO_N,;t t
39353 s,@ECHO_T@,$ECHO_T,;t t
39354 s,@LIBS@,$LIBS,;t t
39355 s,@build@,$build,;t t
39356 s,@build_cpu@,$build_cpu,;t t
39357 s,@build_vendor@,$build_vendor,;t t
39358 s,@build_os@,$build_os,;t t
39359 s,@host@,$host,;t t
39360 s,@host_cpu@,$host_cpu,;t t
39361 s,@host_vendor@,$host_vendor,;t t
39362 s,@host_os@,$host_os,;t t
39363 s,@target@,$target,;t t
39364 s,@target_cpu@,$target_cpu,;t t
39365 s,@target_vendor@,$target_vendor,;t t
39366 s,@target_os@,$target_os,;t t
39367 s,@CC@,$CC,;t t
39368 s,@CFLAGS@,$CFLAGS,;t t
39369 s,@LDFLAGS@,$LDFLAGS,;t t
39370 s,@CPPFLAGS@,$CPPFLAGS,;t t
39371 s,@ac_ct_CC@,$ac_ct_CC,;t t
39372 s,@EXEEXT@,$EXEEXT,;t t
39373 s,@OBJEXT@,$OBJEXT,;t t
39374 s,@CPP@,$CPP,;t t
39375 s,@EGREP@,$EGREP,;t t
39376 s,@CXX@,$CXX,;t t
39377 s,@CXXFLAGS@,$CXXFLAGS,;t t
39378 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
39379 s,@RANLIB@,$RANLIB,;t t
39380 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
39381 s,@AR@,$AR,;t t
39382 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
39383 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
39384 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
39385 s,@STRIP@,$STRIP,;t t
39386 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
39387 s,@LN_S@,$LN_S,;t t
39388 s,@CXXCPP@,$CXXCPP,;t t
39389 s,@subdirs@,$subdirs,;t t
39390 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
39391 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
39392 s,@GTK_LIBS@,$GTK_LIBS,;t t
39393 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
39394 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
39395 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
39396 s,@X_CFLAGS@,$X_CFLAGS,;t t
39397 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
39398 s,@X_LIBS@,$X_LIBS,;t t
39399 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
39400 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
39401 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
39402 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
39403 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
39404 s,@RESCOMP@,$RESCOMP,;t t
39405 s,@DEREZ@,$DEREZ,;t t
39406 s,@SETFILE@,$SETFILE,;t t
39407 s,@LIBICONV@,$LIBICONV,;t t
39408 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
39409 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
39410 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
39411 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
39412 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
39413 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
39414 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
39415 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
39416 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
39417 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
39418 s,@VENDOR@,$VENDOR,;t t
39419 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
39420 s,@WXUNIV@,$WXUNIV,;t t
39421 s,@MONOLITHIC@,$MONOLITHIC,;t t
39422 s,@EXTRALIBS@,$EXTRALIBS,;t t
39423 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
39424 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
39425 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
39426 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
39427 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
39428 s,@UNICODE@,$UNICODE,;t t
39429 s,@BUILD@,$BUILD,;t t
39430 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
39431 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
39432 s,@SHARED@,$SHARED,;t t
39433 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
39434 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
39435 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
39436 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
39437 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
39438 s,@SET_MAKE@,$SET_MAKE,;t t
39439 s,@MAKE_SET@,$MAKE_SET,;t t
39440 s,@ac_ct_AR@,$ac_ct_AR,;t t
39441 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
39442 s,@NM@,$NM,;t t
39443 s,@ac_ct_NM@,$ac_ct_NM,;t t
39444 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
39445 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
39446 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
39447 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
39448 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
39449 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
39450 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
39451 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
39452 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
39453 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
39454 s,@LIBPREFIX@,$LIBPREFIX,;t t
39455 s,@DLLPREFIX@,$DLLPREFIX,;t t
39456 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
39457 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
39458 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
39459 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
39460 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
39461 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
39462 s,@PIC_FLAG@,$PIC_FLAG,;t t
39463 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
39464 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
39465 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
39466 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
39467 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
39468 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
39469 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
39470 s,@GCC_PCH@,$GCC_PCH,;t t
39471 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
39472 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
39473 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
39474 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
39475 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
39476 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
39477 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
39478 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
39479 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
39480 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
39481 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
39482 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
39483 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
39484 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
39485 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
39486 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
39487 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
39488 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
39489 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
39490 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
39491 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
39492 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
39493 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
39494 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
39495 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
39496 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
39497 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
39498 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
39499 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
39500 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
39501 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
39502 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
39503 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
39504 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
39505 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
39506 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
39507 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
39508 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
39509 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
39510 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
39511 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
39512 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
39513 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
39514 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
39515 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
39516 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
39517 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
39518 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
39519 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
39520 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
39521 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
39522 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
39523 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
39524 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
39525 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
39526 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
39527 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
39528 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
39529 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
39530 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
39531 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
39532 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
39533 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
39534 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
39535 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
39536 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
39537 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
39538 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
39539 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
39540 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
39541 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
39542 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
39543 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
39544 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
39545 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
39546 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
39547 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
39548 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
39549 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
39550 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
39551 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
39552 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
39553 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
39554 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
39555 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
39556 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
39557 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
39558 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
39559 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
39560 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
39561 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
39562 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
39563 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
39564 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
39565 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
39566 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
39567 s,@PATH_IFS@,$PATH_IFS,;t t
39568 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
39569 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
39570 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
39571 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
39572 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
39573 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
39574 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
39575 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
39576 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
39577 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
39578 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
39579 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
39580 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
39581 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
39582 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
39583 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
39584 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
39585 s,@WX_ALL@,$WX_ALL,;t t
39586 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
39587 s,@SHARED_LD@,$SHARED_LD,;t t
39588 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
39589 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
39590 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
39591 s,@USE_GUI@,$USE_GUI,;t t
39592 s,@AFMINSTALL@,$AFMINSTALL,;t t
39593 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
39594 s,@TOOLKIT@,$TOOLKIT,;t t
39595 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
39596 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
39597 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
39598 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
39599 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
39600 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
39601 s,@cross_compiling@,$cross_compiling,;t t
39602 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
39603 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
39604 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
39605 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
39606 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
39607 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
39608 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
39609 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
39610 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
39611 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
39612 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
39613 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
39614 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
39615 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
39616 s,@GUIDIST@,$GUIDIST,;t t
39617 s,@PORT_FILES@,$PORT_FILES,;t t
39618 s,@DISTDIR@,$DISTDIR,;t t
39619 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
39620 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
39621 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
39622 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
39623 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
39624 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
39625 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
39626 s,@RESFLAGS@,$RESFLAGS,;t t
39627 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
39628 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
39629 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
39630 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
39631 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
39632 s,@MACRESCOMP@,$MACRESCOMP,;t t
39633 s,@MACSETFILE@,$MACSETFILE,;t t
39634 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
39635 s,@GCC@,$GCC,;t t
39636 s,@DLLTOOL@,$DLLTOOL,;t t
39637 s,@AS@,$AS,;t t
39638 s,@LD@,$LD,;t t
39639 s,@MAKEINFO@,$MAKEINFO,;t t
39640 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
39641 s,@LIBOBJS@,$LIBOBJS,;t t
39642 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
39643 CEOF
39644
39645 _ACEOF
39646
39647 cat >>$CONFIG_STATUS <<\_ACEOF
39648 # Split the substitutions into bite-sized pieces for seds with
39649 # small command number limits, like on Digital OSF/1 and HP-UX.
39650 ac_max_sed_lines=48
39651 ac_sed_frag=1 # Number of current file.
39652 ac_beg=1 # First line for current file.
39653 ac_end=$ac_max_sed_lines # Line after last line for current file.
39654 ac_more_lines=:
39655 ac_sed_cmds=
39656 while $ac_more_lines; do
39657 if test $ac_beg -gt 1; then
39658 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
39659 else
39660 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
39661 fi
39662 if test ! -s $tmp/subs.frag; then
39663 ac_more_lines=false
39664 else
39665 # The purpose of the label and of the branching condition is to
39666 # speed up the sed processing (if there are no `@' at all, there
39667 # is no need to browse any of the substitutions).
39668 # These are the two extra sed commands mentioned above.
39669 (echo ':t
39670 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
39671 if test -z "$ac_sed_cmds"; then
39672 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
39673 else
39674 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
39675 fi
39676 ac_sed_frag=`expr $ac_sed_frag + 1`
39677 ac_beg=$ac_end
39678 ac_end=`expr $ac_end + $ac_max_sed_lines`
39679 fi
39680 done
39681 if test -z "$ac_sed_cmds"; then
39682 ac_sed_cmds=cat
39683 fi
39684 fi # test -n "$CONFIG_FILES"
39685
39686 _ACEOF
39687 cat >>$CONFIG_STATUS <<\_ACEOF
39688 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
39689 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
39690 case $ac_file in
39691 - | *:- | *:-:* ) # input from stdin
39692 cat >$tmp/stdin
39693 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
39694 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
39695 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
39696 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
39697 * ) ac_file_in=$ac_file.in ;;
39698 esac
39699
39700 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
39701 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
39702 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39703 X"$ac_file" : 'X\(//\)[^/]' \| \
39704 X"$ac_file" : 'X\(//\)$' \| \
39705 X"$ac_file" : 'X\(/\)' \| \
39706 . : '\(.\)' 2>/dev/null ||
39707 echo X"$ac_file" |
39708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39709 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39710 /^X\(\/\/\)$/{ s//\1/; q; }
39711 /^X\(\/\).*/{ s//\1/; q; }
39712 s/.*/./; q'`
39713 { if $as_mkdir_p; then
39714 mkdir -p "$ac_dir"
39715 else
39716 as_dir="$ac_dir"
39717 as_dirs=
39718 while test ! -d "$as_dir"; do
39719 as_dirs="$as_dir $as_dirs"
39720 as_dir=`(dirname "$as_dir") 2>/dev/null ||
39721 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39722 X"$as_dir" : 'X\(//\)[^/]' \| \
39723 X"$as_dir" : 'X\(//\)$' \| \
39724 X"$as_dir" : 'X\(/\)' \| \
39725 . : '\(.\)' 2>/dev/null ||
39726 echo X"$as_dir" |
39727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39728 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39729 /^X\(\/\/\)$/{ s//\1/; q; }
39730 /^X\(\/\).*/{ s//\1/; q; }
39731 s/.*/./; q'`
39732 done
39733 test ! -n "$as_dirs" || mkdir $as_dirs
39734 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
39735 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
39736 { (exit 1); exit 1; }; }; }
39737
39738 ac_builddir=.
39739
39740 if test "$ac_dir" != .; then
39741 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
39742 # A "../" for each directory in $ac_dir_suffix.
39743 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
39744 else
39745 ac_dir_suffix= ac_top_builddir=
39746 fi
39747
39748 case $srcdir in
39749 .) # No --srcdir option. We are building in place.
39750 ac_srcdir=.
39751 if test -z "$ac_top_builddir"; then
39752 ac_top_srcdir=.
39753 else
39754 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
39755 fi ;;
39756 [\\/]* | ?:[\\/]* ) # Absolute path.
39757 ac_srcdir=$srcdir$ac_dir_suffix;
39758 ac_top_srcdir=$srcdir ;;
39759 *) # Relative path.
39760 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
39761 ac_top_srcdir=$ac_top_builddir$srcdir ;;
39762 esac
39763 case "$ac_dir" in
39764 .) ac_abs_builddir=$ac_builddir;;
39765 *)
39766 case $ac_builddir in
39767 .) ac_abs_builddir="$ac_dir";;
39768 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
39769 *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
39770 esac;;
39771 esac
39772 case "$ac_dir" in
39773 .) ac_abs_top_builddir=${ac_top_builddir}.;;
39774 *)
39775 case ${ac_top_builddir}. in
39776 .) ac_abs_top_builddir="$ac_dir";;
39777 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
39778 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
39779 esac;;
39780 esac
39781 case "$ac_dir" in
39782 .) ac_abs_srcdir=$ac_srcdir;;
39783 *)
39784 case $ac_srcdir in
39785 .) ac_abs_srcdir="$ac_dir";;
39786 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
39787 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
39788 esac;;
39789 esac
39790 case "$ac_dir" in
39791 .) ac_abs_top_srcdir=$ac_top_srcdir;;
39792 *)
39793 case $ac_top_srcdir in
39794 .) ac_abs_top_srcdir="$ac_dir";;
39795 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
39796 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
39797 esac;;
39798 esac
39799
39800
39801 case $INSTALL in
39802 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
39803 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
39804 esac
39805
39806 if test x"$ac_file" != x-; then
39807 { echo "$as_me:$LINENO: creating $ac_file" >&5
39808 echo "$as_me: creating $ac_file" >&6;}
39809 rm -f "$ac_file"
39810 fi
39811 # Let's still pretend it is `configure' which instantiates (i.e., don't
39812 # use $as_me), people would be surprised to read:
39813 # /* config.h. Generated by config.status. */
39814 if test x"$ac_file" = x-; then
39815 configure_input=
39816 else
39817 configure_input="$ac_file. "
39818 fi
39819 configure_input=$configure_input"Generated from `echo $ac_file_in |
39820 sed 's,.*/,,'` by configure."
39821
39822 # First look for the input files in the build tree, otherwise in the
39823 # src tree.
39824 ac_file_inputs=`IFS=:
39825 for f in $ac_file_in; do
39826 case $f in
39827 -) echo $tmp/stdin ;;
39828 [\\/$]*)
39829 # Absolute (can't be DOS-style, as IFS=:)
39830 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39831 echo "$as_me: error: cannot find input file: $f" >&2;}
39832 { (exit 1); exit 1; }; }
39833 echo "$f";;
39834 *) # Relative
39835 if test -f "$f"; then
39836 # Build tree
39837 echo "$f"
39838 elif test -f "$srcdir/$f"; then
39839 # Source tree
39840 echo "$srcdir/$f"
39841 else
39842 # /dev/null tree
39843 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39844 echo "$as_me: error: cannot find input file: $f" >&2;}
39845 { (exit 1); exit 1; }; }
39846 fi;;
39847 esac
39848 done` || { (exit 1); exit 1; }
39849 _ACEOF
39850 cat >>$CONFIG_STATUS <<_ACEOF
39851 sed "$ac_vpsub
39852 $extrasub
39853 _ACEOF
39854 cat >>$CONFIG_STATUS <<\_ACEOF
39855 :t
39856 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
39857 s,@configure_input@,$configure_input,;t t
39858 s,@srcdir@,$ac_srcdir,;t t
39859 s,@abs_srcdir@,$ac_abs_srcdir,;t t
39860 s,@top_srcdir@,$ac_top_srcdir,;t t
39861 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
39862 s,@builddir@,$ac_builddir,;t t
39863 s,@abs_builddir@,$ac_abs_builddir,;t t
39864 s,@top_builddir@,$ac_top_builddir,;t t
39865 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
39866 s,@INSTALL@,$ac_INSTALL,;t t
39867 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
39868 rm -f $tmp/stdin
39869 if test x"$ac_file" != x-; then
39870 mv $tmp/out $ac_file
39871 else
39872 cat $tmp/out
39873 rm -f $tmp/out
39874 fi
39875
39876 done
39877 _ACEOF
39878 cat >>$CONFIG_STATUS <<\_ACEOF
39879
39880 #
39881 # CONFIG_HEADER section.
39882 #
39883
39884 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
39885 # NAME is the cpp macro being defined and VALUE is the value it is being given.
39886 #
39887 # ac_d sets the value in "#define NAME VALUE" lines.
39888 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
39889 ac_dB='[ ].*$,\1#\2'
39890 ac_dC=' '
39891 ac_dD=',;t'
39892 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
39893 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
39894 ac_uB='$,\1#\2define\3'
39895 ac_uC=' '
39896 ac_uD=',;t'
39897
39898 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
39899 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
39900 case $ac_file in
39901 - | *:- | *:-:* ) # input from stdin
39902 cat >$tmp/stdin
39903 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
39904 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
39905 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
39906 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
39907 * ) ac_file_in=$ac_file.in ;;
39908 esac
39909
39910 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
39911 echo "$as_me: creating $ac_file" >&6;}
39912
39913 # First look for the input files in the build tree, otherwise in the
39914 # src tree.
39915 ac_file_inputs=`IFS=:
39916 for f in $ac_file_in; do
39917 case $f in
39918 -) echo $tmp/stdin ;;
39919 [\\/$]*)
39920 # Absolute (can't be DOS-style, as IFS=:)
39921 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39922 echo "$as_me: error: cannot find input file: $f" >&2;}
39923 { (exit 1); exit 1; }; }
39924 # Do quote $f, to prevent DOS paths from being IFS'd.
39925 echo "$f";;
39926 *) # Relative
39927 if test -f "$f"; then
39928 # Build tree
39929 echo "$f"
39930 elif test -f "$srcdir/$f"; then
39931 # Source tree
39932 echo "$srcdir/$f"
39933 else
39934 # /dev/null tree
39935 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39936 echo "$as_me: error: cannot find input file: $f" >&2;}
39937 { (exit 1); exit 1; }; }
39938 fi;;
39939 esac
39940 done` || { (exit 1); exit 1; }
39941 # Remove the trailing spaces.
39942 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
39943
39944 _ACEOF
39945
39946 # Transform confdefs.h into two sed scripts, `conftest.defines' and
39947 # `conftest.undefs', that substitutes the proper values into
39948 # config.h.in to produce config.h. The first handles `#define'
39949 # templates, and the second `#undef' templates.
39950 # And first: Protect against being on the right side of a sed subst in
39951 # config.status. Protect against being in an unquoted here document
39952 # in config.status.
39953 rm -f conftest.defines conftest.undefs
39954 # Using a here document instead of a string reduces the quoting nightmare.
39955 # Putting comments in sed scripts is not portable.
39956 #
39957 # `end' is used to avoid that the second main sed command (meant for
39958 # 0-ary CPP macros) applies to n-ary macro definitions.
39959 # See the Autoconf documentation for `clear'.
39960 cat >confdef2sed.sed <<\_ACEOF
39961 s/[\\&,]/\\&/g
39962 s,[\\$`],\\&,g
39963 t clear
39964 : clear
39965 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
39966 t end
39967 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
39968 : end
39969 _ACEOF
39970 # If some macros were called several times there might be several times
39971 # the same #defines, which is useless. Nevertheless, we may not want to
39972 # sort them, since we want the *last* AC-DEFINE to be honored.
39973 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
39974 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
39975 rm -f confdef2sed.sed
39976
39977 # This sed command replaces #undef with comments. This is necessary, for
39978 # example, in the case of _POSIX_SOURCE, which is predefined and required
39979 # on some systems where configure will not decide to define it.
39980 cat >>conftest.undefs <<\_ACEOF
39981 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
39982 _ACEOF
39983
39984 # Break up conftest.defines because some shells have a limit on the size
39985 # of here documents, and old seds have small limits too (100 cmds).
39986 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
39987 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
39988 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
39989 echo ' :' >>$CONFIG_STATUS
39990 rm -f conftest.tail
39991 while grep . conftest.defines >/dev/null
39992 do
39993 # Write a limited-size here document to $tmp/defines.sed.
39994 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
39995 # Speed up: don't consider the non `#define' lines.
39996 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
39997 # Work around the forget-to-reset-the-flag bug.
39998 echo 't clr' >>$CONFIG_STATUS
39999 echo ': clr' >>$CONFIG_STATUS
40000 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
40001 echo 'CEOF
40002 sed -f $tmp/defines.sed $tmp/in >$tmp/out
40003 rm -f $tmp/in
40004 mv $tmp/out $tmp/in
40005 ' >>$CONFIG_STATUS
40006 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
40007 rm -f conftest.defines
40008 mv conftest.tail conftest.defines
40009 done
40010 rm -f conftest.defines
40011 echo ' fi # grep' >>$CONFIG_STATUS
40012 echo >>$CONFIG_STATUS
40013
40014 # Break up conftest.undefs because some shells have a limit on the size
40015 # of here documents, and old seds have small limits too (100 cmds).
40016 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
40017 rm -f conftest.tail
40018 while grep . conftest.undefs >/dev/null
40019 do
40020 # Write a limited-size here document to $tmp/undefs.sed.
40021 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
40022 # Speed up: don't consider the non `#undef'
40023 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
40024 # Work around the forget-to-reset-the-flag bug.
40025 echo 't clr' >>$CONFIG_STATUS
40026 echo ': clr' >>$CONFIG_STATUS
40027 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
40028 echo 'CEOF
40029 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
40030 rm -f $tmp/in
40031 mv $tmp/out $tmp/in
40032 ' >>$CONFIG_STATUS
40033 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
40034 rm -f conftest.undefs
40035 mv conftest.tail conftest.undefs
40036 done
40037 rm -f conftest.undefs
40038
40039 cat >>$CONFIG_STATUS <<\_ACEOF
40040 # Let's still pretend it is `configure' which instantiates (i.e., don't
40041 # use $as_me), people would be surprised to read:
40042 # /* config.h. Generated by config.status. */
40043 if test x"$ac_file" = x-; then
40044 echo "/* Generated by configure. */" >$tmp/config.h
40045 else
40046 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
40047 fi
40048 cat $tmp/in >>$tmp/config.h
40049 rm -f $tmp/in
40050 if test x"$ac_file" != x-; then
40051 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
40052 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40053 echo "$as_me: $ac_file is unchanged" >&6;}
40054 else
40055 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40056 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40057 X"$ac_file" : 'X\(//\)[^/]' \| \
40058 X"$ac_file" : 'X\(//\)$' \| \
40059 X"$ac_file" : 'X\(/\)' \| \
40060 . : '\(.\)' 2>/dev/null ||
40061 echo X"$ac_file" |
40062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40063 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40064 /^X\(\/\/\)$/{ s//\1/; q; }
40065 /^X\(\/\).*/{ s//\1/; q; }
40066 s/.*/./; q'`
40067 { if $as_mkdir_p; then
40068 mkdir -p "$ac_dir"
40069 else
40070 as_dir="$ac_dir"
40071 as_dirs=
40072 while test ! -d "$as_dir"; do
40073 as_dirs="$as_dir $as_dirs"
40074 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40076 X"$as_dir" : 'X\(//\)[^/]' \| \
40077 X"$as_dir" : 'X\(//\)$' \| \
40078 X"$as_dir" : 'X\(/\)' \| \
40079 . : '\(.\)' 2>/dev/null ||
40080 echo X"$as_dir" |
40081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40082 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40083 /^X\(\/\/\)$/{ s//\1/; q; }
40084 /^X\(\/\).*/{ s//\1/; q; }
40085 s/.*/./; q'`
40086 done
40087 test ! -n "$as_dirs" || mkdir $as_dirs
40088 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40089 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40090 { (exit 1); exit 1; }; }; }
40091
40092 rm -f $ac_file
40093 mv $tmp/config.h $ac_file
40094 fi
40095 else
40096 cat $tmp/config.h
40097 rm -f $tmp/config.h
40098 fi
40099 done
40100 _ACEOF
40101 cat >>$CONFIG_STATUS <<\_ACEOF
40102
40103 #
40104 # CONFIG_COMMANDS section.
40105 #
40106 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
40107 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
40108 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
40109 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
40110 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40111 X"$ac_dest" : 'X\(//\)[^/]' \| \
40112 X"$ac_dest" : 'X\(//\)$' \| \
40113 X"$ac_dest" : 'X\(/\)' \| \
40114 . : '\(.\)' 2>/dev/null ||
40115 echo X"$ac_dest" |
40116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40117 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40118 /^X\(\/\/\)$/{ s//\1/; q; }
40119 /^X\(\/\).*/{ s//\1/; q; }
40120 s/.*/./; q'`
40121 { if $as_mkdir_p; then
40122 mkdir -p "$ac_dir"
40123 else
40124 as_dir="$ac_dir"
40125 as_dirs=
40126 while test ! -d "$as_dir"; do
40127 as_dirs="$as_dir $as_dirs"
40128 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40129 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40130 X"$as_dir" : 'X\(//\)[^/]' \| \
40131 X"$as_dir" : 'X\(//\)$' \| \
40132 X"$as_dir" : 'X\(/\)' \| \
40133 . : '\(.\)' 2>/dev/null ||
40134 echo X"$as_dir" |
40135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40136 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40137 /^X\(\/\/\)$/{ s//\1/; q; }
40138 /^X\(\/\).*/{ s//\1/; q; }
40139 s/.*/./; q'`
40140 done
40141 test ! -n "$as_dirs" || mkdir $as_dirs
40142 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40143 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40144 { (exit 1); exit 1; }; }; }
40145
40146 ac_builddir=.
40147
40148 if test "$ac_dir" != .; then
40149 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40150 # A "../" for each directory in $ac_dir_suffix.
40151 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40152 else
40153 ac_dir_suffix= ac_top_builddir=
40154 fi
40155
40156 case $srcdir in
40157 .) # No --srcdir option. We are building in place.
40158 ac_srcdir=.
40159 if test -z "$ac_top_builddir"; then
40160 ac_top_srcdir=.
40161 else
40162 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40163 fi ;;
40164 [\\/]* | ?:[\\/]* ) # Absolute path.
40165 ac_srcdir=$srcdir$ac_dir_suffix;
40166 ac_top_srcdir=$srcdir ;;
40167 *) # Relative path.
40168 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40169 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40170 esac
40171 case "$ac_dir" in
40172 .) ac_abs_builddir=$ac_builddir;;
40173 *)
40174 case $ac_builddir in
40175 .) ac_abs_builddir="$ac_dir";;
40176 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
40177 *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
40178 esac;;
40179 esac
40180 case "$ac_dir" in
40181 .) ac_abs_top_builddir=${ac_top_builddir}.;;
40182 *)
40183 case ${ac_top_builddir}. in
40184 .) ac_abs_top_builddir="$ac_dir";;
40185 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
40186 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
40187 esac;;
40188 esac
40189 case "$ac_dir" in
40190 .) ac_abs_srcdir=$ac_srcdir;;
40191 *)
40192 case $ac_srcdir in
40193 .) ac_abs_srcdir="$ac_dir";;
40194 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
40195 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
40196 esac;;
40197 esac
40198 case "$ac_dir" in
40199 .) ac_abs_top_srcdir=$ac_top_srcdir;;
40200 *)
40201 case $ac_top_srcdir in
40202 .) ac_abs_top_srcdir="$ac_dir";;
40203 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
40204 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
40205 esac;;
40206 esac
40207
40208
40209 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
40210 echo "$as_me: executing $ac_dest commands" >&6;}
40211 case $ac_dest in
40212 default )
40213 if test ! -h wx-config; then
40214 chmod +x wx-config
40215 mv wx-config wx${TOOLCHAIN_NAME}-config
40216 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
40217 fi
40218
40219 if test ! -d lib; then
40220 mkdir lib
40221 fi
40222 if test ! -d lib/wx; then
40223 mkdir lib/wx
40224 fi
40225 if test ! -d lib/wx/include; then
40226 mkdir lib/wx/include
40227 fi
40228 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
40229 mkdir lib/wx/include/${TOOLCHAIN_NAME}
40230 fi
40231 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
40232 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
40233 fi
40234 if test -f setup.h; then
40235 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
40236 fi
40237 ;;
40238 esac
40239 done
40240 _ACEOF
40241
40242 cat >>$CONFIG_STATUS <<\_ACEOF
40243
40244 { (exit 0); exit 0; }
40245 _ACEOF
40246 chmod +x $CONFIG_STATUS
40247 ac_clean_files=$ac_clean_files_save
40248
40249
40250 # configure is writing to config.log, and then calls config.status.
40251 # config.status does its own redirection, appending to config.log.
40252 # Unfortunately, on DOS this fails, as config.log is still kept open
40253 # by configure, so config.status won't be able to write to it; its
40254 # output is simply discarded. So we exec the FD to /dev/null,
40255 # effectively closing config.log, so it can be properly (re)opened and
40256 # appended to by config.status. When coming back to configure, we
40257 # need to make the FD available again.
40258 if test "$no_create" != yes; then
40259 ac_cs_success=:
40260 ac_config_status_args=
40261 test "$silent" = yes &&
40262 ac_config_status_args="$ac_config_status_args --quiet"
40263 exec 5>/dev/null
40264 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
40265 exec 5>>config.log
40266 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40267 # would make configure fail if this is the last instruction.
40268 $ac_cs_success || { (exit 1); exit 1; }
40269 fi
40270
40271 #
40272 # CONFIG_SUBDIRS section.
40273 #
40274 if test "$no_recursion" != yes; then
40275
40276 # Remove --cache-file and --srcdir arguments so they do not pile up.
40277 ac_sub_configure_args=
40278 ac_prev=
40279 for ac_arg in $ac_configure_args; do
40280 if test -n "$ac_prev"; then
40281 ac_prev=
40282 continue
40283 fi
40284 case $ac_arg in
40285 -cache-file | --cache-file | --cache-fil | --cache-fi \
40286 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
40287 ac_prev=cache_file ;;
40288 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
40289 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
40290 | --c=*)
40291 ;;
40292 --config-cache | -C)
40293 ;;
40294 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
40295 ac_prev=srcdir ;;
40296 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
40297 ;;
40298 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
40299 ac_prev=prefix ;;
40300 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
40301 ;;
40302 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
40303 esac
40304 done
40305
40306 # Always prepend --prefix to ensure using the same prefix
40307 # in subdir configurations.
40308 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
40309
40310 ac_popdir=`pwd`
40311 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
40312
40313 # Do not complain, so a configure script can configure whichever
40314 # parts of a large source tree are present.
40315 test -d $srcdir/$ac_dir || continue
40316
40317 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
40318 echo "$as_me: configuring in $ac_dir" >&6;}
40319 { if $as_mkdir_p; then
40320 mkdir -p "$ac_dir"
40321 else
40322 as_dir="$ac_dir"
40323 as_dirs=
40324 while test ! -d "$as_dir"; do
40325 as_dirs="$as_dir $as_dirs"
40326 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40327 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40328 X"$as_dir" : 'X\(//\)[^/]' \| \
40329 X"$as_dir" : 'X\(//\)$' \| \
40330 X"$as_dir" : 'X\(/\)' \| \
40331 . : '\(.\)' 2>/dev/null ||
40332 echo X"$as_dir" |
40333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40334 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40335 /^X\(\/\/\)$/{ s//\1/; q; }
40336 /^X\(\/\).*/{ s//\1/; q; }
40337 s/.*/./; q'`
40338 done
40339 test ! -n "$as_dirs" || mkdir $as_dirs
40340 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40341 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40342 { (exit 1); exit 1; }; }; }
40343
40344 ac_builddir=.
40345
40346 if test "$ac_dir" != .; then
40347 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40348 # A "../" for each directory in $ac_dir_suffix.
40349 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40350 else
40351 ac_dir_suffix= ac_top_builddir=
40352 fi
40353
40354 case $srcdir in
40355 .) # No --srcdir option. We are building in place.
40356 ac_srcdir=.
40357 if test -z "$ac_top_builddir"; then
40358 ac_top_srcdir=.
40359 else
40360 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40361 fi ;;
40362 [\\/]* | ?:[\\/]* ) # Absolute path.
40363 ac_srcdir=$srcdir$ac_dir_suffix;
40364 ac_top_srcdir=$srcdir ;;
40365 *) # Relative path.
40366 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40367 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40368 esac
40369 case "$ac_dir" in
40370 .) ac_abs_builddir=$ac_builddir;;
40371 *)
40372 case $ac_builddir in
40373 .) ac_abs_builddir="$ac_dir";;
40374 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
40375 *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
40376 esac;;
40377 esac
40378 case "$ac_dir" in
40379 .) ac_abs_top_builddir=${ac_top_builddir}.;;
40380 *)
40381 case ${ac_top_builddir}. in
40382 .) ac_abs_top_builddir="$ac_dir";;
40383 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
40384 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
40385 esac;;
40386 esac
40387 case "$ac_dir" in
40388 .) ac_abs_srcdir=$ac_srcdir;;
40389 *)
40390 case $ac_srcdir in
40391 .) ac_abs_srcdir="$ac_dir";;
40392 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
40393 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
40394 esac;;
40395 esac
40396 case "$ac_dir" in
40397 .) ac_abs_top_srcdir=$ac_top_srcdir;;
40398 *)
40399 case $ac_top_srcdir in
40400 .) ac_abs_top_srcdir="$ac_dir";;
40401 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
40402 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
40403 esac;;
40404 esac
40405
40406
40407 cd $ac_dir
40408
40409 # Check for guested configure; otherwise get Cygnus style configure.
40410 if test -f $ac_srcdir/configure.gnu; then
40411 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
40412 elif test -f $ac_srcdir/configure; then
40413 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
40414 elif test -f $ac_srcdir/configure.in; then
40415 ac_sub_configure=$ac_configure
40416 else
40417 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
40418 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
40419 ac_sub_configure=
40420 fi
40421
40422 # The recursion is here.
40423 if test -n "$ac_sub_configure"; then
40424 # Make the cache file name correct relative to the subdirectory.
40425 case $cache_file in
40426 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
40427 *) # Relative path.
40428 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
40429 esac
40430
40431 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
40432 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
40433 # The eval makes quoting arguments work.
40434 eval $ac_sub_configure $ac_sub_configure_args \
40435 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
40436 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
40437 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
40438 { (exit 1); exit 1; }; }
40439 fi
40440
40441 cd $ac_popdir
40442 done
40443 fi
40444
40445
40446 echo
40447 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
40448 echo ""
40449 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
40450 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
40451
40452 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
40453 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
40454 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
40455
40456 echo " What level of wxWindows compatibility should be enabled?"
40457 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
40458 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
40459
40460 echo " Which libraries should wxWindows use?"
40461 echo " jpeg ${wxUSE_LIBJPEG-none}"
40462 echo " png ${wxUSE_LIBPNG-none}"
40463 echo " regex ${wxUSE_REGEX}"
40464 echo " tiff ${wxUSE_LIBTIFF-none}"
40465 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
40466 echo " xpm ${wxUSE_LIBXPM-none}"
40467 fi
40468 echo " zlib ${wxUSE_ZLIB}"
40469 echo " odbc ${wxUSE_ODBC}"
40470 echo " expat ${wxUSE_EXPAT}"
40471 echo " libmspack ${wxUSE_LIBMSPACK}"
40472
40473 echo ""
40474