]> git.saurik.com Git - wxWidgets.git/blob - configure
removed --enable-compat20
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
7 #
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25 fi
26
27 # Support unset when possible.
28 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='wxWindows'
271 PACKAGE_TARNAME='wxwindows'
272 PACKAGE_VERSION='2.5.0'
273 PACKAGE_STRING='wxWindows 2.5.0'
274 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276 ac_unique_file="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 # include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 # include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 # include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
313
314 ac_subdirs_all="$ac_subdirs_all src/expat"
315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX SO_SUFFIX_MODULE DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_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_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN 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 NM LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
316 ac_subst_files=''
317
318 # Initialize some variables set by options.
319 ac_init_help=
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
323 cache_file=/dev/null
324 exec_prefix=NONE
325 no_create=
326 no_recursion=
327 prefix=NONE
328 program_prefix=NONE
329 program_suffix=NONE
330 program_transform_name=s,x,x,
331 silent=
332 site=
333 srcdir=
334 verbose=
335 x_includes=NONE
336 x_libraries=NONE
337
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
355
356 ac_prev=
357 for ac_option
358 do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653 done
654
655 if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659 fi
660
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
663 do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670 done
671
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675 do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682 done
683
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
687 build=$build_alias
688 host=$host_alias
689 target=$target_alias
690
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700 fi
701
702 ac_tool_prefix=
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705 test "$silent" = yes && exec 6>/dev/null
706
707
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718 echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728 else
729 ac_srcdir_defaulted=no
730 fi
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739 fi
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
757 ac_env_CC_value=$CC
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
788
789 #
790 # Report the --help message.
791 #
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
797
798 Usage: $0 [OPTION]... [VAR=VALUE]...
799
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
802
803 Defaults for the options are specified in brackets.
804
805 Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815
816 _ACEOF
817
818 cat <<_ACEOF
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
824
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
829
830 For better control, use the options below.
831
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845 _ACEOF
846
847 cat <<\_ACEOF
848
849 X features:
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
852
853 System types:
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
857 _ACEOF
858 fi
859
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWindows 2.5.0:";;
863 esac
864 cat <<\_ACEOF
865
866 Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-cmdline use wxCmdLineParser class
902 --enable-datetime use wxDateTime class
903 --enable-stopwatch use wxStopWatch class
904 --enable-dialupman use dialup network classes
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-timer use wxTimer class
907 --enable-wave use wxWave class
908 --enable-fraction use wxFraction class
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-longlong use wxLongLong class
912 --enable-geometry use geometry class
913 --enable-log use logging system
914 --enable-streams use wxStream etc classes
915 --enable-file use wxFile classes
916 --enable-ffile use wxFFile classes
917 --enable-textbuf use wxTextBuffer class
918 --enable-textfile use wxTextFile class
919 --enable-fontmap use font encodings conversion classes
920 --enable-unicode compile wxString with Unicode support
921 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
922 --enable-wxprintfv use wxWindows implementation of vprintf()
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-filesystem use virtual file systems classes
925 --enable-fs_inet use virtual HTTP/FTP filesystems
926 --enable-fs_zip use virtual ZIP filesystems
927 --enable-zipstream use wxZipInputStream
928 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
929 --enable-snglinst use wxSingleInstanceChecker class
930 --enable-mimetype use wxMimeTypesManager
931 --enable-sysoptions use wxSystemOptions
932 --enable-url use wxURL class
933 --enable-protocol use wxProtocol class
934 --enable-protocol-http HTTP support in wxProtocol
935 --enable-protocol-ftp FTP support in wxProtocol
936 --enable-protocol-file FILE support in wxProtocol
937 --enable-threads use threads
938 --enable-docview use document view architecture
939 --enable-help use help subsystem
940 --enable-mshtmlhelp use MS HTML Help (win32)
941 --enable-html use wxHTML sub-library
942 --enable-htmlhelp use wxHTML-based help
943 --enable-constraints use layout-constraints system
944 --enable-printarch use printing architecture
945 --enable-mdi use multiple document interface architecture
946 --enable-loggui use standard GUI logger
947 --enable-logwin use wxLogWindow
948 --enable-logdialog use wxLogDialog
949 --enable-postscript use wxPostscriptDC device context (default for gtk+)
950 --enable-prologio not available; see contrib
951 --enable-resources not available; see contrib
952 --enable-clipboard use wxClipboard class
953 --enable-dnd use Drag'n'Drop classes
954 --enable-metafile use win32 metafiles
955 --enable-controls use all usual controls
956 --enable-accel use accelerators
957 --enable-button use wxButton class
958 --enable-bmpbutton use wxBitmapButton class
959 --enable-calendar use wxCalendarCtrl class
960 --enable-caret use wxCaret class
961 --enable-checkbox use wxCheckBox class
962 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
963 --enable-choice use wxChoice class
964 --enable-combobox use wxComboBox class
965 --enable-display use wxDisplay class
966 --enable-gauge use wxGauge class
967 --enable-grid use wxGrid class
968 --enable-imaglist use wxImageList class
969 --enable-listbox use wxListBox class
970 --enable-listctrl use wxListCtrl class
971 --enable-notebook use wxNotebook class
972 --enable-radiobox use wxRadioBox class
973 --enable-radiobtn use wxRadioButton class
974 --enable-sash use wxSashWindow class
975 --enable-scrollbar use wxScrollBar class and scrollable windows
976 --enable-slider use wxSlider class
977 --enable-spinbtn use wxSpinButton class
978 --enable-spinctrl use wxSpinCtrl class
979 --enable-splitter use wxSplitterWindow class
980 --enable-statbmp use wxStaticBitmap class
981 --enable-statbox use wxStaticBox class
982 --enable-statline use wxStaticLine class
983 --enable-stattext use wxStaticText class
984 --enable-statusbar use wxStatusBar class
985 --enable-tabdialog use wxTabControl class
986 --enable-textctrl use wxTextCtrl class
987 --enable-togglebtn use wxToggleButton class
988 --enable-toolbar use wxToolBar class
989 --enable-tbarnative use native wxToolBar class
990 --enable-tbarsmpl use wxToolBarSimple class
991 --enable-treectrl use wxTreeCtrl class
992 --enable-tipwindow use wxTipWindow class
993 --enable-popupwin use wxPopUpWindow class
994 --enable-commondlg use all common dialogs
995 --enable-choicedlg use wxChoiceDialog
996 --enable-coldlg use wxColourDialog
997 --enable-filedlg use wxFileDialog
998 --enable-finddlg use wxFindReplaceDialog
999 --enable-fontdlg use wxFontDialog
1000 --enable-dirdlg use wxDirDialog
1001 --enable-msgdlg use wxMessageDialog
1002 --enable-numberdlg use wxNumberEntryDialog
1003 --enable-splash use wxSplashScreen
1004 --enable-textdlg use wxTextDialog
1005 --enable-tipdlg use startup tips
1006 --enable-progressdlg use wxProgressDialog
1007 --enable-wizarddlg use wxWizard
1008 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1009 --enable-miniframe use wxMiniFrame class
1010 --enable-tooltips use wxToolTip class
1011 --enable-splines use spline drawing code
1012 --enable-validators use wxValidator and derived classes
1013 --enable-busyinfo use wxBusyInfo
1014 --enable-joystick use wxJoystick (Linux only)
1015 --enable-metafiles use wxMetaFile (Windows only)
1016 --enable-dragimage use wxDragImage
1017 --enable-accessibility enable accessibility support
1018 --enable-palette use wxPalette class
1019 --enable-image use wxImage class
1020 --enable-gif use gif images (GIF file format)
1021 --enable-pcx use pcx images (PCX file format)
1022 --enable-iff use iff images (IFF file format)
1023 --enable-pnm use pnm images (PNM file format)
1024 --enable-xpm use xpm images (XPM file format)
1025 --enable-icocur use Windows ICO and CUR formats
1026 --enable-official_build official build of wxWindows (win32 DLL only)
1027 --enable-vendor=VENDOR vendor name (win32 DLL only)
1028 --disable-largefile omit support for large files
1029 --disable-gtktest do not try to compile and run a test GTK+ program
1030 --disable-gtktest Do not try to compile and run a test GTK program
1031 --disable-precomp-headers don't use precompiled headers even if compiler can
1032
1033 Optional Packages:
1034 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1035 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1036 --with-gtk use GTK+
1037 --with-motif use Motif/Lesstif
1038 --with-mac use Mac OS X
1039 --with-cocoa use Cocoa
1040 --with-wine use Wine
1041 --with-msw use MS-Windows
1042 --with-pm use OS/2 Presentation Manager
1043 --with-mgl use SciTech MGL
1044 --with-microwin use MicroWindows
1045 --with-x11 use X11
1046 --with-libpng use libpng (PNG image format)
1047 --with-libjpeg use libjpeg (JPEG file format)
1048 --with-libtiff use libtiff (TIFF file format)
1049 --with-opengl use OpenGL (or Mesa)
1050 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1051 --with-regex enable support for wxRegEx class
1052 --with-zlib use zlib for LZW compression
1053 --with-odbc use the IODBC and wxODBC classes
1054 --with-expat enable XML support using expat parser
1055 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1056 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1057 --with-x use the X Window System
1058 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1059
1060 Some influential environment variables:
1061 CC C compiler command
1062 CFLAGS C compiler flags
1063 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1064 nonstandard directory <lib dir>
1065 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1066 headers in a nonstandard directory <include dir>
1067 CPP C preprocessor
1068 CXX C++ compiler command
1069 CXXFLAGS C++ compiler flags
1070 CXXCPP C++ preprocessor
1071
1072 Use these variables to override the choices made by `configure' or to help
1073 it to find libraries and programs with nonstandard names/locations.
1074
1075 Report bugs to <wx-dev@lists.wxwindows.org>.
1076 _ACEOF
1077 fi
1078
1079 if test "$ac_init_help" = "recursive"; then
1080 # If there are subdirs, report their specific --help.
1081 ac_popdir=`pwd`
1082 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1083 test -d $ac_dir || continue
1084 ac_builddir=.
1085
1086 if test "$ac_dir" != .; then
1087 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1088 # A "../" for each directory in $ac_dir_suffix.
1089 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1090 else
1091 ac_dir_suffix= ac_top_builddir=
1092 fi
1093
1094 case $srcdir in
1095 .) # No --srcdir option. We are building in place.
1096 ac_srcdir=.
1097 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir=.
1099 else
1100 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1101 fi ;;
1102 [\\/]* | ?:[\\/]* ) # Absolute path.
1103 ac_srcdir=$srcdir$ac_dir_suffix;
1104 ac_top_srcdir=$srcdir ;;
1105 *) # Relative path.
1106 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1107 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1108 esac
1109 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1110 # absolute.
1111 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1112 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1113 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1114 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1115
1116 cd $ac_dir
1117 # Check for guested configure; otherwise get Cygnus style configure.
1118 if test -f $ac_srcdir/configure.gnu; then
1119 echo
1120 $SHELL $ac_srcdir/configure.gnu --help=recursive
1121 elif test -f $ac_srcdir/configure; then
1122 echo
1123 $SHELL $ac_srcdir/configure --help=recursive
1124 elif test -f $ac_srcdir/configure.ac ||
1125 test -f $ac_srcdir/configure.in; then
1126 echo
1127 $ac_configure --help
1128 else
1129 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1130 fi
1131 cd $ac_popdir
1132 done
1133 fi
1134
1135 test -n "$ac_init_help" && exit 0
1136 if $ac_init_version; then
1137 cat <<\_ACEOF
1138 wxWindows configure 2.5.0
1139 generated by GNU Autoconf 2.57
1140
1141 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1142 Free Software Foundation, Inc.
1143 This configure script is free software; the Free Software Foundation
1144 gives unlimited permission to copy, distribute and modify it.
1145 _ACEOF
1146 exit 0
1147 fi
1148 exec 5>config.log
1149 cat >&5 <<_ACEOF
1150 This file contains any messages produced by compilers while
1151 running configure, to aid debugging if configure makes a mistake.
1152
1153 It was created by wxWindows $as_me 2.5.0, which was
1154 generated by GNU Autoconf 2.57. Invocation command line was
1155
1156 $ $0 $@
1157
1158 _ACEOF
1159 {
1160 cat <<_ASUNAME
1161 ## --------- ##
1162 ## Platform. ##
1163 ## --------- ##
1164
1165 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1166 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1167 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1168 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1169 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1170
1171 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1172 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1173
1174 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1175 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1176 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1177 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1178 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1179 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1180 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1181
1182 _ASUNAME
1183
1184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1185 for as_dir in $PATH
1186 do
1187 IFS=$as_save_IFS
1188 test -z "$as_dir" && as_dir=.
1189 echo "PATH: $as_dir"
1190 done
1191
1192 } >&5
1193
1194 cat >&5 <<_ACEOF
1195
1196
1197 ## ----------- ##
1198 ## Core tests. ##
1199 ## ----------- ##
1200
1201 _ACEOF
1202
1203
1204 # Keep a trace of the command line.
1205 # Strip out --no-create and --no-recursion so they do not pile up.
1206 # Strip out --silent because we don't want to record it for future runs.
1207 # Also quote any args containing shell meta-characters.
1208 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_configure_args=
1210 ac_configure_args0=
1211 ac_configure_args1=
1212 ac_sep=
1213 ac_must_keep_next=false
1214 for ac_pass in 1 2
1215 do
1216 for ac_arg
1217 do
1218 case $ac_arg in
1219 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1220 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1221 | -silent | --silent | --silen | --sile | --sil)
1222 continue ;;
1223 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1224 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 esac
1226 case $ac_pass in
1227 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1228 2)
1229 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1230 if test $ac_must_keep_next = true; then
1231 ac_must_keep_next=false # Got value, back to normal.
1232 else
1233 case $ac_arg in
1234 *=* | --config-cache | -C | -disable-* | --disable-* \
1235 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1236 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1237 | -with-* | --with-* | -without-* | --without-* | --x)
1238 case "$ac_configure_args0 " in
1239 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 esac
1241 ;;
1242 -* ) ac_must_keep_next=true ;;
1243 esac
1244 fi
1245 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1246 # Get rid of the leading space.
1247 ac_sep=" "
1248 ;;
1249 esac
1250 done
1251 done
1252 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1253 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1254
1255 # When interrupted or exit'd, cleanup temporary files, and complete
1256 # config.log. We remove comments because anyway the quotes in there
1257 # would cause problems or look ugly.
1258 # WARNING: Be sure not to use single quotes in there, as some shells,
1259 # such as our DU 5.0 friend, will then `close' the trap.
1260 trap 'exit_status=$?
1261 # Save into config.log some information that might help in debugging.
1262 {
1263 echo
1264
1265 cat <<\_ASBOX
1266 ## ---------------- ##
1267 ## Cache variables. ##
1268 ## ---------------- ##
1269 _ASBOX
1270 echo
1271 # The following way of writing the cache mishandles newlines in values,
1272 {
1273 (set) 2>&1 |
1274 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 *ac_space=\ *)
1276 sed -n \
1277 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1279 ;;
1280 *)
1281 sed -n \
1282 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1283 ;;
1284 esac;
1285 }
1286 echo
1287
1288 cat <<\_ASBOX
1289 ## ----------------- ##
1290 ## Output variables. ##
1291 ## ----------------- ##
1292 _ASBOX
1293 echo
1294 for ac_var in $ac_subst_vars
1295 do
1296 eval ac_val=$`echo $ac_var`
1297 echo "$ac_var='"'"'$ac_val'"'"'"
1298 done | sort
1299 echo
1300
1301 if test -n "$ac_subst_files"; then
1302 cat <<\_ASBOX
1303 ## ------------- ##
1304 ## Output files. ##
1305 ## ------------- ##
1306 _ASBOX
1307 echo
1308 for ac_var in $ac_subst_files
1309 do
1310 eval ac_val=$`echo $ac_var`
1311 echo "$ac_var='"'"'$ac_val'"'"'"
1312 done | sort
1313 echo
1314 fi
1315
1316 if test -s confdefs.h; then
1317 cat <<\_ASBOX
1318 ## ----------- ##
1319 ## confdefs.h. ##
1320 ## ----------- ##
1321 _ASBOX
1322 echo
1323 sed "/^$/d" confdefs.h | sort
1324 echo
1325 fi
1326 test "$ac_signal" != 0 &&
1327 echo "$as_me: caught signal $ac_signal"
1328 echo "$as_me: exit $exit_status"
1329 } >&5
1330 rm -f core core.* *.core &&
1331 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 exit $exit_status
1333 ' 0
1334 for ac_signal in 1 2 13 15; do
1335 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1336 done
1337 ac_signal=0
1338
1339 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1340 rm -rf conftest* confdefs.h
1341 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342 echo >confdefs.h
1343
1344 # Predefined preprocessor variables.
1345
1346 cat >>confdefs.h <<_ACEOF
1347 #define PACKAGE_NAME "$PACKAGE_NAME"
1348 _ACEOF
1349
1350
1351 cat >>confdefs.h <<_ACEOF
1352 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1353 _ACEOF
1354
1355
1356 cat >>confdefs.h <<_ACEOF
1357 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1358 _ACEOF
1359
1360
1361 cat >>confdefs.h <<_ACEOF
1362 #define PACKAGE_STRING "$PACKAGE_STRING"
1363 _ACEOF
1364
1365
1366 cat >>confdefs.h <<_ACEOF
1367 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1368 _ACEOF
1369
1370
1371 # Let the site file select an alternate cache file if it wants to.
1372 # Prefer explicitly selected file to automatically selected ones.
1373 if test -z "$CONFIG_SITE"; then
1374 if test "x$prefix" != xNONE; then
1375 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1376 else
1377 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 fi
1379 fi
1380 for ac_site_file in $CONFIG_SITE; do
1381 if test -r "$ac_site_file"; then
1382 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1383 echo "$as_me: loading site script $ac_site_file" >&6;}
1384 sed 's/^/| /' "$ac_site_file" >&5
1385 . "$ac_site_file"
1386 fi
1387 done
1388
1389 if test -r "$cache_file"; then
1390 # Some versions of bash will fail to source /dev/null (special
1391 # files actually), so we avoid doing that.
1392 if test -f "$cache_file"; then
1393 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1394 echo "$as_me: loading cache $cache_file" >&6;}
1395 case $cache_file in
1396 [\\/]* | ?:[\\/]* ) . $cache_file;;
1397 *) . ./$cache_file;;
1398 esac
1399 fi
1400 else
1401 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1402 echo "$as_me: creating cache $cache_file" >&6;}
1403 >$cache_file
1404 fi
1405
1406 # Check that the precious variables saved in the cache have kept the same
1407 # value.
1408 ac_cache_corrupted=false
1409 for ac_var in `(set) 2>&1 |
1410 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1411 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1412 eval ac_new_set=\$ac_env_${ac_var}_set
1413 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1414 eval ac_new_val="\$ac_env_${ac_var}_value"
1415 case $ac_old_set,$ac_new_set in
1416 set,)
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1420 ,set)
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1422 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1423 ac_cache_corrupted=: ;;
1424 ,);;
1425 *)
1426 if test "x$ac_old_val" != "x$ac_new_val"; then
1427 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1428 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1429 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1430 echo "$as_me: former value: $ac_old_val" >&2;}
1431 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1432 echo "$as_me: current value: $ac_new_val" >&2;}
1433 ac_cache_corrupted=:
1434 fi;;
1435 esac
1436 # Pass precious variables to config.status.
1437 if test "$ac_new_set" = set; then
1438 case $ac_new_val in
1439 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1440 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1441 *) ac_arg=$ac_var=$ac_new_val ;;
1442 esac
1443 case " $ac_configure_args " in
1444 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1445 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1446 esac
1447 fi
1448 done
1449 if $ac_cache_corrupted; then
1450 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1451 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1452 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1453 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1454 { (exit 1); exit 1; }; }
1455 fi
1456
1457 ac_ext=c
1458 ac_cpp='$CPP $CPPFLAGS'
1459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492 ac_aux_dir=
1493 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1494 if test -f $ac_dir/install-sh; then
1495 ac_aux_dir=$ac_dir
1496 ac_install_sh="$ac_aux_dir/install-sh -c"
1497 break
1498 elif test -f $ac_dir/install.sh; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/install.sh -c"
1501 break
1502 elif test -f $ac_dir/shtool; then
1503 ac_aux_dir=$ac_dir
1504 ac_install_sh="$ac_aux_dir/shtool install -c"
1505 break
1506 fi
1507 done
1508 if test -z "$ac_aux_dir"; then
1509 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1510 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1511 { (exit 1); exit 1; }; }
1512 fi
1513 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1514 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1515 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1516
1517 # Make sure we can run config.sub.
1518 $ac_config_sub sun4 >/dev/null 2>&1 ||
1519 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1520 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1521 { (exit 1); exit 1; }; }
1522
1523 echo "$as_me:$LINENO: checking build system type" >&5
1524 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1525 if test "${ac_cv_build+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 else
1528 ac_cv_build_alias=$build_alias
1529 test -z "$ac_cv_build_alias" &&
1530 ac_cv_build_alias=`$ac_config_guess`
1531 test -z "$ac_cv_build_alias" &&
1532 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1533 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1534 { (exit 1); exit 1; }; }
1535 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1536 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1537 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1538 { (exit 1); exit 1; }; }
1539
1540 fi
1541 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1542 echo "${ECHO_T}$ac_cv_build" >&6
1543 build=$ac_cv_build
1544 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1545 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1546 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1547
1548
1549 echo "$as_me:$LINENO: checking host system type" >&5
1550 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1551 if test "${ac_cv_host+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1553 else
1554 ac_cv_host_alias=$host_alias
1555 test -z "$ac_cv_host_alias" &&
1556 ac_cv_host_alias=$ac_cv_build_alias
1557 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1558 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1559 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1560 { (exit 1); exit 1; }; }
1561
1562 fi
1563 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1564 echo "${ECHO_T}$ac_cv_host" >&6
1565 host=$ac_cv_host
1566 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1567 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1568 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1569
1570
1571 echo "$as_me:$LINENO: checking target system type" >&5
1572 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1573 if test "${ac_cv_target+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 else
1576 ac_cv_target_alias=$target_alias
1577 test "x$ac_cv_target_alias" = "x" &&
1578 ac_cv_target_alias=$ac_cv_host_alias
1579 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1580 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1581 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1582 { (exit 1); exit 1; }; }
1583
1584 fi
1585 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1586 echo "${ECHO_T}$ac_cv_target" >&6
1587 target=$ac_cv_target
1588 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1589 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1590 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1591
1592
1593 # The aliases save the names the user supplied, while $host etc.
1594 # will get canonicalized.
1595 test -n "$target_alias" &&
1596 test "$program_prefix$program_suffix$program_transform_name" = \
1597 NONENONEs,x,x, &&
1598 program_prefix=${target_alias}-
1599
1600
1601
1602 WX_MAJOR_VERSION_NUMBER=2
1603 WX_MINOR_VERSION_NUMBER=5
1604 WX_RELEASE_NUMBER=0
1605
1606 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1607 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1608
1609 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1610
1611 WX_CURRENT=0
1612 WX_REVISION=0
1613 WX_AGE=0
1614
1615
1616
1617 USE_UNIX=1
1618 USE_WIN32=0
1619 USE_DOS=0
1620 USE_BEOS=0
1621 USE_MAC=0
1622
1623 USE_AIX=
1624 USE_BSD= USE_DARWIN= USE_FREEBSD=
1625 USE_GNU= USE_HPUX=
1626 USE_LINUX=
1627 USE_NETBSD=
1628 USE_OPENBSD=
1629 USE_OSF= USE_SGI=
1630 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1631 USE_ULTRIX=
1632 USE_UNIXWARE=
1633
1634 USE_ALPHA=
1635
1636 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1637
1638 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1639
1640 DEFAULT_wxUSE_COCOA=0
1641 DEFAULT_wxUSE_GTK=0
1642 DEFAULT_wxUSE_MAC=0
1643 DEFAULT_wxUSE_MGL=0
1644 DEFAULT_wxUSE_MICROWIN=0
1645 DEFAULT_wxUSE_MOTIF=0
1646 DEFAULT_wxUSE_MSW=0
1647 DEFAULT_wxUSE_PM=0
1648 DEFAULT_wxUSE_X11=0
1649
1650 DEFAULT_DEFAULT_wxUSE_COCOA=0
1651 DEFAULT_DEFAULT_wxUSE_GTK=0
1652 DEFAULT_DEFAULT_wxUSE_MAC=0
1653 DEFAULT_DEFAULT_wxUSE_MGL=0
1654 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1655 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1656 DEFAULT_DEFAULT_wxUSE_MSW=0
1657 DEFAULT_DEFAULT_wxUSE_PM=0
1658 DEFAULT_DEFAULT_wxUSE_X11=0
1659
1660 PROGRAM_EXT=
1661 SO_SUFFIX=so
1662 SAMPLES_RPATH_FLAG=
1663 SAMPLES_RPATH_POSTLINK=
1664
1665 case "${host}" in
1666 *-hp-hpux* )
1667 USE_HPUX=1
1668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1669 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1670 SO_SUFFIX=sl
1671 cat >>confdefs.h <<\_ACEOF
1672 #define __HPUX__ 1
1673 _ACEOF
1674
1675 ;;
1676 *-*-linux* )
1677 USE_LINUX=1
1678 cat >>confdefs.h <<\_ACEOF
1679 #define __LINUX__ 1
1680 _ACEOF
1681
1682 TMP=`uname -m`
1683 if test "x$TMP" = "xalpha"; then
1684 USE_ALPHA=1
1685 cat >>confdefs.h <<\_ACEOF
1686 #define __ALPHA__ 1
1687 _ACEOF
1688
1689 fi
1690 DEFAULT_DEFAULT_wxUSE_GTK=1
1691 ;;
1692 *-*-gnu* )
1693 USE_GNU=1
1694 cat >>confdefs.h <<\_ACEOF
1695 #define __GNU__ 1
1696 _ACEOF
1697
1698 TMP=`uname -m`
1699 if test "x$TMP" = "xalpha"; then
1700 USE_ALPHA=1
1701 cat >>confdefs.h <<\_ACEOF
1702 #define __ALPHA__ 1
1703 _ACEOF
1704
1705 fi
1706 DEFAULT_DEFAULT_wxUSE_GTK=1
1707 ;;
1708 *-*-irix5* | *-*-irix6* )
1709 USE_SGI=1
1710 USE_SVR4=1
1711 cat >>confdefs.h <<\_ACEOF
1712 #define __SGI__ 1
1713 _ACEOF
1714
1715 cat >>confdefs.h <<\_ACEOF
1716 #define __SVR4__ 1
1717 _ACEOF
1718
1719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1720 ;;
1721 *-*-solaris2* )
1722 USE_SUN=1
1723 USE_SOLARIS=1
1724 USE_SVR4=1
1725 cat >>confdefs.h <<\_ACEOF
1726 #define __SUN__ 1
1727 _ACEOF
1728
1729 cat >>confdefs.h <<\_ACEOF
1730 #define __SOLARIS__ 1
1731 _ACEOF
1732
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __SVR4__ 1
1735 _ACEOF
1736
1737 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1738 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1739 ;;
1740 *-*-sunos4* )
1741 USE_SUN=1
1742 USE_SUNOS=1
1743 USE_BSD=1
1744 cat >>confdefs.h <<\_ACEOF
1745 #define __SUN__ 1
1746 _ACEOF
1747
1748 cat >>confdefs.h <<\_ACEOF
1749 #define __SUNOS__ 1
1750 _ACEOF
1751
1752 cat >>confdefs.h <<\_ACEOF
1753 #define __BSD__ 1
1754 _ACEOF
1755
1756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1757 ;;
1758 *-*-freebsd*)
1759 USE_BSD=1
1760 USE_FREEBSD=1
1761 cat >>confdefs.h <<\_ACEOF
1762 #define __FREEBSD__ 1
1763 _ACEOF
1764
1765 cat >>confdefs.h <<\_ACEOF
1766 #define __BSD__ 1
1767 _ACEOF
1768
1769 DEFAULT_DEFAULT_wxUSE_GTK=1
1770 ;;
1771 *-*-openbsd*)
1772 USE_BSD=1
1773 USE_OPENBSD=1
1774 cat >>confdefs.h <<\_ACEOF
1775 #define __OPENBSD__ 1
1776 _ACEOF
1777
1778 cat >>confdefs.h <<\_ACEOF
1779 #define __BSD__ 1
1780 _ACEOF
1781
1782 DEFAULT_DEFAULT_wxUSE_GTK=1
1783 ;;
1784 *-*-netbsd*)
1785 USE_BSD=1
1786 USE_NETBSD=1
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __NETBSD__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __BSD__ 1
1793 _ACEOF
1794
1795 DEFAULT_DEFAULT_wxUSE_GTK=1
1796 ;;
1797 *-*-osf* )
1798 USE_ALPHA=1
1799 USE_OSF=1
1800 cat >>confdefs.h <<\_ACEOF
1801 #define __ALPHA__ 1
1802 _ACEOF
1803
1804 cat >>confdefs.h <<\_ACEOF
1805 #define __OSF__ 1
1806 _ACEOF
1807
1808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1809 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1810 ;;
1811 *-*-dgux5* )
1812 USE_ALPHA=1
1813 USE_SVR4=1
1814 cat >>confdefs.h <<\_ACEOF
1815 #define __ALPHA__ 1
1816 _ACEOF
1817
1818 cat >>confdefs.h <<\_ACEOF
1819 #define __SVR4__ 1
1820 _ACEOF
1821
1822 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1823 ;;
1824 *-*-sysv5* )
1825 USE_SYSV=1
1826 USE_SVR4=1
1827 cat >>confdefs.h <<\_ACEOF
1828 #define __SYSV__ 1
1829 _ACEOF
1830
1831 cat >>confdefs.h <<\_ACEOF
1832 #define __SVR4__ 1
1833 _ACEOF
1834
1835 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1836 ;;
1837 *-*-aix* )
1838 USE_AIX=1
1839 USE_SYSV=1
1840 USE_SVR4=1
1841 SO_SUFFIX=a
1842 cat >>confdefs.h <<\_ACEOF
1843 #define __AIX__ 1
1844 _ACEOF
1845
1846 cat >>confdefs.h <<\_ACEOF
1847 #define __SYSV__ 1
1848 _ACEOF
1849
1850 cat >>confdefs.h <<\_ACEOF
1851 #define __SVR4__ 1
1852 _ACEOF
1853
1854 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1855 ;;
1856
1857 *-*-*UnixWare*)
1858 USE_SYSV=1
1859 USE_SVR4=1
1860 USE_UNIXWARE=1
1861 cat >>confdefs.h <<\_ACEOF
1862 #define __UNIXWARE__ 1
1863 _ACEOF
1864
1865 ;;
1866
1867 *-*-cygwin* | *-*-mingw32* )
1868 SO_SUFFIX=dll
1869 PROGRAM_EXT=".exe"
1870 RESCOMP=windres
1871 DEFAULT_DEFAULT_wxUSE_MSW=1
1872 ;;
1873
1874 *-pc-msdosdjgpp )
1875 USE_UNIX=0
1876 USE_DOS=1
1877 cat >>confdefs.h <<\_ACEOF
1878 #define __DOS__ 1
1879 _ACEOF
1880
1881 PROGRAM_EXT=".exe"
1882 DEFAULT_DEFAULT_wxUSE_MGL=1
1883 LIBS="$LIBS -lstdc++"
1884 ;;
1885
1886 *-pc-os2_emx | *-pc-os2-emx )
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __EMX__ 1
1889 _ACEOF
1890
1891 PROGRAM_EXT=".exe"
1892 DEFAULT_DEFAULT_wxUSE_PM=1
1893 CXX=gcc
1894 LIBS="$LIBS -lstdcpp"
1895 ;;
1896
1897 powerpc-*-darwin* )
1898 USE_BSD=1
1899 USE_DARWIN=1
1900 SO_SUFFIX=dylib
1901 cat >>confdefs.h <<\_ACEOF
1902 #define __BSD__ 1
1903 _ACEOF
1904
1905 cat >>confdefs.h <<\_ACEOF
1906 #define __DARWIN__ 1
1907 _ACEOF
1908
1909 cat >>confdefs.h <<\_ACEOF
1910 #define __POWERPC__ 1
1911 _ACEOF
1912
1913 cat >>confdefs.h <<\_ACEOF
1914 #define TARGET_CARBON 1
1915 _ACEOF
1916
1917 DEFAULT_DEFAULT_wxUSE_MAC=1
1918 ;;
1919
1920 *-*-beos* )
1921 USE_BEOS=1
1922 cat >>confdefs.h <<\_ACEOF
1923 #define __BEOS__ 1
1924 _ACEOF
1925
1926 ;;
1927
1928 *)
1929 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1930 echo "$as_me: error: unknown system type ${host}." >&2;}
1931 { (exit 1); exit 1; }; }
1932 esac
1933
1934
1935
1936
1937 wx_arg_cache_file="configarg.cache"
1938 echo "loading argument cache $wx_arg_cache_file"
1939 rm -f ${wx_arg_cache_file}.tmp
1940 touch ${wx_arg_cache_file}.tmp
1941 touch ${wx_arg_cache_file}
1942
1943
1944 DEBUG_CONFIGURE=0
1945 if test $DEBUG_CONFIGURE = 1; then
1946 DEFAULT_wxUSE_UNIVERSAL=no
1947 DEFAULT_wxUSE_STL=no
1948
1949 DEFAULT_wxUSE_NANOX=no
1950
1951 DEFAULT_wxUSE_THREADS=yes
1952
1953 DEFAULT_wxUSE_SHARED=yes
1954 DEFAULT_wxUSE_OPTIMISE=no
1955 DEFAULT_wxUSE_PROFILE=no
1956 DEFAULT_wxUSE_NO_DEPS=no
1957 DEFAULT_wxUSE_NO_RTTI=no
1958 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1959 DEFAULT_wxUSE_PERMISSIVE=no
1960 DEFAULT_wxUSE_DEBUG_FLAG=yes
1961 DEFAULT_wxUSE_DEBUG_INFO=yes
1962 DEFAULT_wxUSE_DEBUG_GDB=yes
1963 DEFAULT_wxUSE_MEM_TRACING=no
1964 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1965 DEFAULT_wxUSE_DMALLOC=no
1966 DEFAULT_wxUSE_APPLE_IEEE=no
1967
1968 DEFAULT_wxUSE_LOG=yes
1969 DEFAULT_wxUSE_LOGWINDOW=no
1970 DEFAULT_wxUSE_LOGGUI=no
1971 DEFAULT_wxUSE_LOGDIALOG=no
1972
1973 DEFAULT_wxUSE_GUI=yes
1974 DEFAULT_wxUSE_CONTROLS=no
1975
1976 DEFAULT_wxUSE_REGEX=no
1977 DEFAULT_wxUSE_XML=no
1978 DEFAULT_wxUSE_EXPAT=no
1979 DEFAULT_wxUSE_ZLIB=no
1980 DEFAULT_wxUSE_LIBPNG=no
1981 DEFAULT_wxUSE_LIBJPEG=no
1982 DEFAULT_wxUSE_LIBTIFF=no
1983 DEFAULT_wxUSE_ODBC=no
1984 DEFAULT_wxUSE_OPENGL=no
1985
1986 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1987 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1988 DEFAULT_wxUSE_STD_IOSTREAM=no
1989 DEFAULT_wxUSE_CMDLINE_PARSER=no
1990 DEFAULT_wxUSE_DATETIME=no
1991 DEFAULT_wxUSE_TIMER=no
1992 DEFAULT_wxUSE_STOPWATCH=no
1993 DEFAULT_wxUSE_FILE=no
1994 DEFAULT_wxUSE_FFILE=no
1995 DEFAULT_wxUSE_TEXTBUFFER=no
1996 DEFAULT_wxUSE_TEXTFILE=no
1997 DEFAULT_wxUSE_WAVE=no
1998 DEFAULT_wxUSE_INTL=no
1999 DEFAULT_wxUSE_CONFIG=no
2000 DEFAULT_wxUSE_FONTMAP=no
2001 DEFAULT_wxUSE_STREAMS=no
2002 DEFAULT_wxUSE_SOCKETS=no
2003 DEFAULT_wxUSE_OLE=no
2004 DEFAULT_wxUSE_DATAOBJ=no
2005 DEFAULT_wxUSE_DIALUP_MANAGER=no
2006 DEFAULT_wxUSE_JOYSTICK=no
2007 DEFAULT_wxUSE_DYNLIB_CLASS=no
2008 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2009 DEFAULT_wxUSE_LONGLONG=no
2010 DEFAULT_wxUSE_GEOMETRY=no
2011
2012 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2013 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2014 DEFAULT_wxUSE_POSTSCRIPT=no
2015
2016 DEFAULT_wxUSE_CLIPBOARD=no
2017 DEFAULT_wxUSE_TOOLTIPS=no
2018 DEFAULT_wxUSE_DRAG_AND_DROP=no
2019 DEFAULT_wxUSE_DRAGIMAGE=no
2020 DEFAULT_wxUSE_SPLINES=no
2021
2022 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2023 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2024 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2025
2026 DEFAULT_wxUSE_RESOURCES=no
2027 DEFAULT_wxUSE_CONSTRAINTS=no
2028 DEFAULT_wxUSE_IPC=no
2029 DEFAULT_wxUSE_HELP=no
2030 DEFAULT_wxUSE_MS_HTML_HELP=no
2031 DEFAULT_wxUSE_WXHTML_HELP=no
2032 DEFAULT_wxUSE_TREELAYOUT=no
2033 DEFAULT_wxUSE_METAFILE=no
2034 DEFAULT_wxUSE_MIMETYPE=no
2035 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2036 DEFAULT_wxUSE_PROTOCOL=no
2037 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2038 DEFAULT_wxUSE_PROTOCOL_FTP=no
2039 DEFAULT_wxUSE_PROTOCOL_FILE=no
2040 DEFAULT_wxUSE_URL=no
2041
2042 DEFAULT_wxUSE_COMMONDLGS=no
2043 DEFAULT_wxUSE_CHOICEDLG=no
2044 DEFAULT_wxUSE_COLOURDLG=no
2045 DEFAULT_wxUSE_DIRDLG=no
2046 DEFAULT_wxUSE_FILEDLG=no
2047 DEFAULT_wxUSE_FINDREPLDLG=no
2048 DEFAULT_wxUSE_FONTDLG=no
2049 DEFAULT_wxUSE_MSGDLG=no
2050 DEFAULT_wxUSE_NUMBERDLG=no
2051 DEFAULT_wxUSE_TEXTDLG=no
2052 DEFAULT_wxUSE_SPLASH=no
2053 DEFAULT_wxUSE_STARTUP_TIPS=no
2054 DEFAULT_wxUSE_PROGRESSDLG=no
2055 DEFAULT_wxUSE_WIZARDDLG=no
2056
2057 DEFAULT_wxUSE_MENUS=no
2058 DEFAULT_wxUSE_MINIFRAME=no
2059 DEFAULT_wxUSE_HTML=no
2060 DEFAULT_wxUSE_FILESYSTEM=no
2061 DEFAULT_wxUSE_FS_INET=no
2062 DEFAULT_wxUSE_FS_ZIP=no
2063 DEFAULT_wxUSE_BUSYINFO=no
2064 DEFAULT_wxUSE_ZIPSTREAM=no
2065 DEFAULT_wxUSE_VALIDATORS=no
2066
2067 DEFAULT_wxUSE_ACCEL=no
2068 DEFAULT_wxUSE_BUTTON=no
2069 DEFAULT_wxUSE_BMPBUTTON=no
2070 DEFAULT_wxUSE_CALCTRL=no
2071 DEFAULT_wxUSE_CARET=no
2072 DEFAULT_wxUSE_CHECKBOX=no
2073 DEFAULT_wxUSE_CHECKLST=no
2074 DEFAULT_wxUSE_CHOICE=no
2075 DEFAULT_wxUSE_COMBOBOX=no
2076 DEFAULT_wxUSE_DISPLAY=no
2077 DEFAULT_wxUSE_GAUGE=no
2078 DEFAULT_wxUSE_GRID=no
2079 DEFAULT_wxUSE_IMAGLIST=no
2080 DEFAULT_wxUSE_LISTBOX=no
2081 DEFAULT_wxUSE_LISTCTRL=no
2082 DEFAULT_wxUSE_NOTEBOOK=no
2083 DEFAULT_wxUSE_RADIOBOX=no
2084 DEFAULT_wxUSE_RADIOBTN=no
2085 DEFAULT_wxUSE_SASH=no
2086 DEFAULT_wxUSE_SCROLLBAR=no
2087 DEFAULT_wxUSE_SLIDER=no
2088 DEFAULT_wxUSE_SPINBTN=no
2089 DEFAULT_wxUSE_SPINCTRL=no
2090 DEFAULT_wxUSE_SPLITTER=no
2091 DEFAULT_wxUSE_STATBMP=no
2092 DEFAULT_wxUSE_STATBOX=no
2093 DEFAULT_wxUSE_STATLINE=no
2094 DEFAULT_wxUSE_STATTEXT=no
2095 DEFAULT_wxUSE_STATUSBAR=yes
2096 DEFAULT_wxUSE_TABDIALOG=no
2097 DEFAULT_wxUSE_TEXTCTRL=no
2098 DEFAULT_wxUSE_TOGGLEBTN=no
2099 DEFAULT_wxUSE_TOOLBAR=no
2100 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2101 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2102 DEFAULT_wxUSE_TREECTRL=no
2103 DEFAULT_wxUSE_POPUPWIN=no
2104 DEFAULT_wxUSE_TIPWINDOW=no
2105
2106 DEFAULT_wxUSE_UNICODE=no
2107 DEFAULT_wxUSE_UNICODE_MSLU=no
2108 DEFAULT_wxUSE_WCSRTOMBS=no
2109
2110 DEFAULT_wxUSE_PALETTE=no
2111 DEFAULT_wxUSE_IMAGE=no
2112 DEFAULT_wxUSE_GIF=no
2113 DEFAULT_wxUSE_PCX=no
2114 DEFAULT_wxUSE_PNM=no
2115 DEFAULT_wxUSE_IFF=no
2116 DEFAULT_wxUSE_XPM=no
2117 DEFAULT_wxUSE_ICO_CUR=no
2118 DEFAULT_wxUSE_ACCESSIBILITY=no
2119
2120 DEFAULT_wxUSE_MONOLITHIC=no
2121 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2122 else
2123 DEFAULT_wxUSE_UNIVERSAL=no
2124 DEFAULT_wxUSE_STL=no
2125
2126 DEFAULT_wxUSE_NANOX=no
2127
2128 DEFAULT_wxUSE_THREADS=yes
2129
2130 DEFAULT_wxUSE_SHARED=yes
2131 DEFAULT_wxUSE_OPTIMISE=yes
2132 DEFAULT_wxUSE_PROFILE=no
2133 DEFAULT_wxUSE_NO_DEPS=no
2134 DEFAULT_wxUSE_NO_RTTI=no
2135 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2136 DEFAULT_wxUSE_PERMISSIVE=no
2137 DEFAULT_wxUSE_DEBUG_FLAG=no
2138 DEFAULT_wxUSE_DEBUG_INFO=no
2139 DEFAULT_wxUSE_DEBUG_GDB=no
2140 DEFAULT_wxUSE_MEM_TRACING=no
2141 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2142 DEFAULT_wxUSE_DMALLOC=no
2143 DEFAULT_wxUSE_APPLE_IEEE=yes
2144
2145 DEFAULT_wxUSE_LOG=yes
2146 DEFAULT_wxUSE_LOGWINDOW=yes
2147 DEFAULT_wxUSE_LOGGUI=yes
2148 DEFAULT_wxUSE_LOGDIALOG=yes
2149
2150 DEFAULT_wxUSE_GUI=yes
2151
2152 DEFAULT_wxUSE_REGEX=yes
2153 DEFAULT_wxUSE_XML=yes
2154 DEFAULT_wxUSE_EXPAT=yes
2155 DEFAULT_wxUSE_ZLIB=yes
2156 DEFAULT_wxUSE_LIBPNG=yes
2157 DEFAULT_wxUSE_LIBJPEG=yes
2158 DEFAULT_wxUSE_LIBTIFF=yes
2159 DEFAULT_wxUSE_ODBC=no
2160 DEFAULT_wxUSE_OPENGL=no
2161
2162 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2163 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2164 DEFAULT_wxUSE_STD_IOSTREAM=no
2165 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2166 DEFAULT_wxUSE_DATETIME=yes
2167 DEFAULT_wxUSE_TIMER=yes
2168 DEFAULT_wxUSE_STOPWATCH=yes
2169 DEFAULT_wxUSE_FILE=yes
2170 DEFAULT_wxUSE_FFILE=yes
2171 DEFAULT_wxUSE_TEXTBUFFER=yes
2172 DEFAULT_wxUSE_TEXTFILE=yes
2173 DEFAULT_wxUSE_WAVE=no
2174 DEFAULT_wxUSE_INTL=yes
2175 DEFAULT_wxUSE_CONFIG=yes
2176 DEFAULT_wxUSE_FONTMAP=yes
2177 DEFAULT_wxUSE_STREAMS=yes
2178 DEFAULT_wxUSE_SOCKETS=yes
2179 DEFAULT_wxUSE_OLE=yes
2180 DEFAULT_wxUSE_DATAOBJ=yes
2181 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2182 DEFAULT_wxUSE_JOYSTICK=yes
2183 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2184 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2185 DEFAULT_wxUSE_LONGLONG=yes
2186 DEFAULT_wxUSE_GEOMETRY=yes
2187
2188 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2189 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2190 DEFAULT_wxUSE_POSTSCRIPT=yes
2191
2192 DEFAULT_wxUSE_CLIPBOARD=yes
2193 DEFAULT_wxUSE_TOOLTIPS=yes
2194 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2195 DEFAULT_wxUSE_DRAGIMAGE=yes
2196 DEFAULT_wxUSE_SPLINES=yes
2197
2198 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2199 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2200 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2201
2202 DEFAULT_wxUSE_RESOURCES=no
2203 DEFAULT_wxUSE_CONSTRAINTS=yes
2204 DEFAULT_wxUSE_IPC=yes
2205 DEFAULT_wxUSE_HELP=yes
2206 DEFAULT_wxUSE_MS_HTML_HELP=yes
2207 DEFAULT_wxUSE_WXHTML_HELP=yes
2208 DEFAULT_wxUSE_TREELAYOUT=yes
2209 DEFAULT_wxUSE_METAFILE=yes
2210 DEFAULT_wxUSE_MIMETYPE=yes
2211 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2212 DEFAULT_wxUSE_PROTOCOL=yes
2213 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2214 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2215 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2216 DEFAULT_wxUSE_URL=yes
2217
2218 DEFAULT_wxUSE_COMMONDLGS=yes
2219 DEFAULT_wxUSE_CHOICEDLG=yes
2220 DEFAULT_wxUSE_COLOURDLG=yes
2221 DEFAULT_wxUSE_DIRDLG=yes
2222 DEFAULT_wxUSE_FILEDLG=yes
2223 DEFAULT_wxUSE_FINDREPLDLG=yes
2224 DEFAULT_wxUSE_FONTDLG=yes
2225 DEFAULT_wxUSE_MSGDLG=yes
2226 DEFAULT_wxUSE_NUMBERDLG=yes
2227 DEFAULT_wxUSE_TEXTDLG=yes
2228 DEFAULT_wxUSE_SPLASH=yes
2229 DEFAULT_wxUSE_STARTUP_TIPS=yes
2230 DEFAULT_wxUSE_PROGRESSDLG=yes
2231 DEFAULT_wxUSE_WIZARDDLG=yes
2232
2233 DEFAULT_wxUSE_MENUS=yes
2234 DEFAULT_wxUSE_MINIFRAME=yes
2235 DEFAULT_wxUSE_HTML=yes
2236 DEFAULT_wxUSE_FILESYSTEM=yes
2237 DEFAULT_wxUSE_FS_INET=yes
2238 DEFAULT_wxUSE_FS_ZIP=yes
2239 DEFAULT_wxUSE_BUSYINFO=yes
2240 DEFAULT_wxUSE_ZIPSTREAM=yes
2241 DEFAULT_wxUSE_VALIDATORS=yes
2242
2243 DEFAULT_wxUSE_ACCEL=yes
2244 DEFAULT_wxUSE_BUTTON=yes
2245 DEFAULT_wxUSE_BMPBUTTON=yes
2246 DEFAULT_wxUSE_CALCTRL=yes
2247 DEFAULT_wxUSE_CARET=yes
2248 DEFAULT_wxUSE_CHECKBOX=yes
2249 DEFAULT_wxUSE_CHECKLST=yes
2250 DEFAULT_wxUSE_CHOICE=yes
2251 DEFAULT_wxUSE_COMBOBOX=yes
2252 DEFAULT_wxUSE_DISPLAY=no
2253 DEFAULT_wxUSE_GAUGE=yes
2254 DEFAULT_wxUSE_GRID=yes
2255 DEFAULT_wxUSE_IMAGLIST=yes
2256 DEFAULT_wxUSE_LISTBOX=yes
2257 DEFAULT_wxUSE_LISTCTRL=yes
2258 DEFAULT_wxUSE_NOTEBOOK=yes
2259 DEFAULT_wxUSE_RADIOBOX=yes
2260 DEFAULT_wxUSE_RADIOBTN=yes
2261 DEFAULT_wxUSE_SASH=yes
2262 DEFAULT_wxUSE_SCROLLBAR=yes
2263 DEFAULT_wxUSE_SLIDER=yes
2264 DEFAULT_wxUSE_SPINBTN=yes
2265 DEFAULT_wxUSE_SPINCTRL=yes
2266 DEFAULT_wxUSE_SPLITTER=yes
2267 DEFAULT_wxUSE_STATBMP=yes
2268 DEFAULT_wxUSE_STATBOX=yes
2269 DEFAULT_wxUSE_STATLINE=yes
2270 DEFAULT_wxUSE_STATTEXT=yes
2271 DEFAULT_wxUSE_STATUSBAR=yes
2272 DEFAULT_wxUSE_TABDIALOG=no
2273 DEFAULT_wxUSE_TEXTCTRL=yes
2274 DEFAULT_wxUSE_TOGGLEBTN=yes
2275 DEFAULT_wxUSE_TOOLBAR=yes
2276 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2277 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2278 DEFAULT_wxUSE_TREECTRL=yes
2279 DEFAULT_wxUSE_POPUPWIN=yes
2280 DEFAULT_wxUSE_TIPWINDOW=yes
2281
2282 DEFAULT_wxUSE_UNICODE=no
2283 DEFAULT_wxUSE_UNICODE_MSLU=yes
2284 DEFAULT_wxUSE_WCSRTOMBS=no
2285
2286 DEFAULT_wxUSE_PALETTE=yes
2287 DEFAULT_wxUSE_IMAGE=yes
2288 DEFAULT_wxUSE_GIF=yes
2289 DEFAULT_wxUSE_PCX=yes
2290 DEFAULT_wxUSE_IFF=no
2291 DEFAULT_wxUSE_PNM=yes
2292 DEFAULT_wxUSE_XPM=yes
2293 DEFAULT_wxUSE_ICO_CUR=yes
2294 DEFAULT_wxUSE_ACCESSIBILITY=no
2295
2296 DEFAULT_wxUSE_MONOLITHIC=no
2297 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2298 fi
2299
2300
2301
2302 for toolkit in `echo $ALL_TOOLKITS`; do
2303 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2304 if test "x$LINE" != "x" ; then
2305 has_toolkit_in_cache=1
2306 eval "DEFAULT_$LINE"
2307 eval "CACHE_$toolkit=1"
2308 fi
2309 done
2310
2311
2312
2313 enablestring=
2314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2315 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2316 no_cache=0
2317 # Check whether --enable-gui or --disable-gui was given.
2318 if test "${enable_gui+set}" = set; then
2319 enableval="$enable_gui"
2320
2321 if test "$enableval" = yes; then
2322 ac_cv_use_gui='wxUSE_GUI=yes'
2323 else
2324 ac_cv_use_gui='wxUSE_GUI=no'
2325 fi
2326
2327 else
2328
2329 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2330 if test "x$LINE" != x ; then
2331 eval "DEFAULT_$LINE"
2332 else
2333 no_cache=1
2334 fi
2335
2336 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2337
2338 fi;
2339
2340 eval "$ac_cv_use_gui"
2341 if test "$no_cache" != 1; then
2342 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2343 fi
2344
2345 if test "$wxUSE_GUI" = yes; then
2346 echo "$as_me:$LINENO: result: yes" >&5
2347 echo "${ECHO_T}yes" >&6
2348 else
2349 echo "$as_me:$LINENO: result: no" >&5
2350 echo "${ECHO_T}no" >&6
2351 fi
2352
2353
2354 enablestring=
2355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2356 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2357 no_cache=0
2358 # Check whether --enable-monolithic or --disable-monolithic was given.
2359 if test "${enable_monolithic+set}" = set; then
2360 enableval="$enable_monolithic"
2361
2362 if test "$enableval" = yes; then
2363 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2364 else
2365 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2366 fi
2367
2368 else
2369
2370 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2371 if test "x$LINE" != x ; then
2372 eval "DEFAULT_$LINE"
2373 else
2374 no_cache=1
2375 fi
2376
2377 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2378
2379 fi;
2380
2381 eval "$ac_cv_use_monolithic"
2382 if test "$no_cache" != 1; then
2383 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2384 fi
2385
2386 if test "$wxUSE_MONOLITHIC" = yes; then
2387 echo "$as_me:$LINENO: result: yes" >&5
2388 echo "${ECHO_T}yes" >&6
2389 else
2390 echo "$as_me:$LINENO: result: no" >&5
2391 echo "${ECHO_T}no" >&6
2392 fi
2393
2394
2395 if test "$wxUSE_GUI" = "yes"; then
2396
2397
2398 enablestring=
2399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2400 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2401 no_cache=0
2402 # Check whether --enable-universal or --disable-universal was given.
2403 if test "${enable_universal+set}" = set; then
2404 enableval="$enable_universal"
2405
2406 if test "$enableval" = yes; then
2407 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2408 else
2409 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2410 fi
2411
2412 else
2413
2414 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2415 if test "x$LINE" != x ; then
2416 eval "DEFAULT_$LINE"
2417 else
2418 no_cache=1
2419 fi
2420
2421 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2422
2423 fi;
2424
2425 eval "$ac_cv_use_universal"
2426 if test "$no_cache" != 1; then
2427 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2428 fi
2429
2430 if test "$wxUSE_UNIVERSAL" = yes; then
2431 echo "$as_me:$LINENO: result: yes" >&5
2432 echo "${ECHO_T}yes" >&6
2433 else
2434 echo "$as_me:$LINENO: result: no" >&5
2435 echo "${ECHO_T}no" >&6
2436 fi
2437
2438
2439 # Check whether --with-gtk or --without-gtk was given.
2440 if test "${with_gtk+set}" = set; then
2441 withval="$with_gtk"
2442 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2443 fi;
2444
2445 # Check whether --with-motif or --without-motif was given.
2446 if test "${with_motif+set}" = set; then
2447 withval="$with_motif"
2448 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2449 fi;
2450
2451 # Check whether --with-mac or --without-mac was given.
2452 if test "${with_mac+set}" = set; then
2453 withval="$with_mac"
2454 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2455 fi;
2456
2457 # Check whether --with-cocoa or --without-cocoa was given.
2458 if test "${with_cocoa+set}" = set; then
2459 withval="$with_cocoa"
2460 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2461 fi;
2462
2463 # Check whether --with-wine or --without-wine was given.
2464 if test "${with_wine+set}" = set; then
2465 withval="$with_wine"
2466 wxUSE_WINE="$withval" CACHE_WINE=1
2467 fi;
2468
2469 # Check whether --with-msw or --without-msw was given.
2470 if test "${with_msw+set}" = set; then
2471 withval="$with_msw"
2472 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2473 fi;
2474
2475 # Check whether --with-pm or --without-pm was given.
2476 if test "${with_pm+set}" = set; then
2477 withval="$with_pm"
2478 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2479 fi;
2480
2481 # Check whether --with-mgl or --without-mgl was given.
2482 if test "${with_mgl+set}" = set; then
2483 withval="$with_mgl"
2484 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2485 fi;
2486
2487 # Check whether --with-microwin or --without-microwin was given.
2488 if test "${with_microwin+set}" = set; then
2489 withval="$with_microwin"
2490 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2491 fi;
2492
2493 # Check whether --with-x11 or --without-x11 was given.
2494 if test "${with_x11+set}" = set; then
2495 withval="$with_x11"
2496 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2497 fi;
2498
2499 enablestring=
2500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2501 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2502 no_cache=0
2503 # Check whether --enable-nanox or --disable-nanox was given.
2504 if test "${enable_nanox+set}" = set; then
2505 enableval="$enable_nanox"
2506
2507 if test "$enableval" = yes; then
2508 ac_cv_use_nanox='wxUSE_NANOX=yes'
2509 else
2510 ac_cv_use_nanox='wxUSE_NANOX=no'
2511 fi
2512
2513 else
2514
2515 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2516 if test "x$LINE" != x ; then
2517 eval "DEFAULT_$LINE"
2518 else
2519 no_cache=1
2520 fi
2521
2522 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2523
2524 fi;
2525
2526 eval "$ac_cv_use_nanox"
2527 if test "$no_cache" != 1; then
2528 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2529 fi
2530
2531 if test "$wxUSE_NANOX" = yes; then
2532 echo "$as_me:$LINENO: result: yes" >&5
2533 echo "${ECHO_T}yes" >&6
2534 else
2535 echo "$as_me:$LINENO: result: no" >&5
2536 echo "${ECHO_T}no" >&6
2537 fi
2538
2539
2540
2541 enablestring=
2542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2543 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2544 no_cache=0
2545 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2546 if test "${enable_gtk2+set}" = set; then
2547 enableval="$enable_gtk2"
2548
2549 if test "$enableval" = yes; then
2550 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2551 else
2552 ac_cv_use_gtk2='wxUSE_GTK2=no'
2553 fi
2554
2555 else
2556
2557 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2558 if test "x$LINE" != x ; then
2559 eval "DEFAULT_$LINE"
2560 else
2561 no_cache=1
2562 fi
2563
2564 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2565
2566 fi;
2567
2568 eval "$ac_cv_use_gtk2"
2569 if test "$no_cache" != 1; then
2570 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2571 fi
2572
2573 if test "$wxUSE_GTK2" = yes; then
2574 echo "$as_me:$LINENO: result: yes" >&5
2575 echo "${ECHO_T}yes" >&6
2576 else
2577 echo "$as_me:$LINENO: result: no" >&5
2578 echo "${ECHO_T}no" >&6
2579 fi
2580
2581
2582
2583 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2584 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2585 no_cache=0
2586
2587 # Check whether --with-libpng or --without-libpng was given.
2588 if test "${with_libpng+set}" = set; then
2589 withval="$with_libpng"
2590
2591 if test "$withval" = yes; then
2592 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2593 elif test "$withval" = no; then
2594 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2595 elif test "$withval" = sys; then
2596 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2597 elif test "$withval" = builtin; then
2598 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2599 else
2600 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2601 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2602 { (exit 1); exit 1; }; }
2603 fi
2604
2605 else
2606
2607 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2608 if test "x$LINE" != x ; then
2609 eval "DEFAULT_$LINE"
2610 else
2611 no_cache=1
2612 fi
2613
2614 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2615
2616 fi;
2617
2618 eval "$ac_cv_use_libpng"
2619 if test "$no_cache" != 1; then
2620 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2621 fi
2622
2623 if test "$wxUSE_LIBPNG" = yes; then
2624 echo "$as_me:$LINENO: result: yes" >&5
2625 echo "${ECHO_T}yes" >&6
2626 elif test "$wxUSE_LIBPNG" = no; then
2627 echo "$as_me:$LINENO: result: no" >&5
2628 echo "${ECHO_T}no" >&6
2629 elif test "$wxUSE_LIBPNG" = sys; then
2630 echo "$as_me:$LINENO: result: system version" >&5
2631 echo "${ECHO_T}system version" >&6
2632 elif test "$wxUSE_LIBPNG" = builtin; then
2633 echo "$as_me:$LINENO: result: builtin version" >&5
2634 echo "${ECHO_T}builtin version" >&6
2635 else
2636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2637 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2638 { (exit 1); exit 1; }; }
2639 fi
2640
2641
2642 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2643 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2644 no_cache=0
2645
2646 # Check whether --with-libjpeg or --without-libjpeg was given.
2647 if test "${with_libjpeg+set}" = set; then
2648 withval="$with_libjpeg"
2649
2650 if test "$withval" = yes; then
2651 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2652 elif test "$withval" = no; then
2653 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2654 elif test "$withval" = sys; then
2655 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2656 elif test "$withval" = builtin; then
2657 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2658 else
2659 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2660 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2661 { (exit 1); exit 1; }; }
2662 fi
2663
2664 else
2665
2666 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2667 if test "x$LINE" != x ; then
2668 eval "DEFAULT_$LINE"
2669 else
2670 no_cache=1
2671 fi
2672
2673 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2674
2675 fi;
2676
2677 eval "$ac_cv_use_libjpeg"
2678 if test "$no_cache" != 1; then
2679 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2680 fi
2681
2682 if test "$wxUSE_LIBJPEG" = yes; then
2683 echo "$as_me:$LINENO: result: yes" >&5
2684 echo "${ECHO_T}yes" >&6
2685 elif test "$wxUSE_LIBJPEG" = no; then
2686 echo "$as_me:$LINENO: result: no" >&5
2687 echo "${ECHO_T}no" >&6
2688 elif test "$wxUSE_LIBJPEG" = sys; then
2689 echo "$as_me:$LINENO: result: system version" >&5
2690 echo "${ECHO_T}system version" >&6
2691 elif test "$wxUSE_LIBJPEG" = builtin; then
2692 echo "$as_me:$LINENO: result: builtin version" >&5
2693 echo "${ECHO_T}builtin version" >&6
2694 else
2695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2696 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2697 { (exit 1); exit 1; }; }
2698 fi
2699
2700
2701 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2702 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2703 no_cache=0
2704
2705 # Check whether --with-libtiff or --without-libtiff was given.
2706 if test "${with_libtiff+set}" = set; then
2707 withval="$with_libtiff"
2708
2709 if test "$withval" = yes; then
2710 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2711 elif test "$withval" = no; then
2712 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2713 elif test "$withval" = sys; then
2714 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2715 elif test "$withval" = builtin; then
2716 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2717 else
2718 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2719 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2720 { (exit 1); exit 1; }; }
2721 fi
2722
2723 else
2724
2725 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2726 if test "x$LINE" != x ; then
2727 eval "DEFAULT_$LINE"
2728 else
2729 no_cache=1
2730 fi
2731
2732 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2733
2734 fi;
2735
2736 eval "$ac_cv_use_libtiff"
2737 if test "$no_cache" != 1; then
2738 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2739 fi
2740
2741 if test "$wxUSE_LIBTIFF" = yes; then
2742 echo "$as_me:$LINENO: result: yes" >&5
2743 echo "${ECHO_T}yes" >&6
2744 elif test "$wxUSE_LIBTIFF" = no; then
2745 echo "$as_me:$LINENO: result: no" >&5
2746 echo "${ECHO_T}no" >&6
2747 elif test "$wxUSE_LIBTIFF" = sys; then
2748 echo "$as_me:$LINENO: result: system version" >&5
2749 echo "${ECHO_T}system version" >&6
2750 elif test "$wxUSE_LIBTIFF" = builtin; then
2751 echo "$as_me:$LINENO: result: builtin version" >&5
2752 echo "${ECHO_T}builtin version" >&6
2753 else
2754 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2755 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2756 { (exit 1); exit 1; }; }
2757 fi
2758
2759
2760 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2761 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2762 no_cache=0
2763
2764 # Check whether --with-opengl or --without-opengl was given.
2765 if test "${with_opengl+set}" = set; then
2766 withval="$with_opengl"
2767
2768 if test "$withval" = yes; then
2769 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2770 else
2771 ac_cv_use_opengl='wxUSE_OPENGL=no'
2772 fi
2773
2774 else
2775
2776 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2777 if test "x$LINE" != x ; then
2778 eval "DEFAULT_$LINE"
2779 else
2780 no_cache=1
2781 fi
2782
2783 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2784
2785 fi;
2786
2787 eval "$ac_cv_use_opengl"
2788 if test "$no_cache" != 1; then
2789 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2790 fi
2791
2792 if test "$wxUSE_OPENGL" = yes; then
2793 echo "$as_me:$LINENO: result: yes" >&5
2794 echo "${ECHO_T}yes" >&6
2795 else
2796 echo "$as_me:$LINENO: result: no" >&5
2797 echo "${ECHO_T}no" >&6
2798 fi
2799
2800
2801 fi
2802
2803
2804 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2805 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2806 no_cache=0
2807
2808 # Check whether --with-dmalloc or --without-dmalloc was given.
2809 if test "${with_dmalloc+set}" = set; then
2810 withval="$with_dmalloc"
2811
2812 if test "$withval" = yes; then
2813 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2814 else
2815 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2816 fi
2817
2818 else
2819
2820 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2821 if test "x$LINE" != x ; then
2822 eval "DEFAULT_$LINE"
2823 else
2824 no_cache=1
2825 fi
2826
2827 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2828
2829 fi;
2830
2831 eval "$ac_cv_use_dmalloc"
2832 if test "$no_cache" != 1; then
2833 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2834 fi
2835
2836 if test "$wxUSE_DMALLOC" = yes; then
2837 echo "$as_me:$LINENO: result: yes" >&5
2838 echo "${ECHO_T}yes" >&6
2839 else
2840 echo "$as_me:$LINENO: result: no" >&5
2841 echo "${ECHO_T}no" >&6
2842 fi
2843
2844
2845 echo "$as_me:$LINENO: checking for --with-regex" >&5
2846 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2847 no_cache=0
2848
2849 # Check whether --with-regex or --without-regex was given.
2850 if test "${with_regex+set}" = set; then
2851 withval="$with_regex"
2852
2853 if test "$withval" = yes; then
2854 ac_cv_use_regex='wxUSE_REGEX=yes'
2855 elif test "$withval" = no; then
2856 ac_cv_use_regex='wxUSE_REGEX=no'
2857 elif test "$withval" = sys; then
2858 ac_cv_use_regex='wxUSE_REGEX=sys'
2859 elif test "$withval" = builtin; then
2860 ac_cv_use_regex='wxUSE_REGEX=builtin'
2861 else
2862 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2863 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2864 { (exit 1); exit 1; }; }
2865 fi
2866
2867 else
2868
2869 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x ; then
2871 eval "DEFAULT_$LINE"
2872 else
2873 no_cache=1
2874 fi
2875
2876 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2877
2878 fi;
2879
2880 eval "$ac_cv_use_regex"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2883 fi
2884
2885 if test "$wxUSE_REGEX" = yes; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887 echo "${ECHO_T}yes" >&6
2888 elif test "$wxUSE_REGEX" = no; then
2889 echo "$as_me:$LINENO: result: no" >&5
2890 echo "${ECHO_T}no" >&6
2891 elif test "$wxUSE_REGEX" = sys; then
2892 echo "$as_me:$LINENO: result: system version" >&5
2893 echo "${ECHO_T}system version" >&6
2894 elif test "$wxUSE_REGEX" = builtin; then
2895 echo "$as_me:$LINENO: result: builtin version" >&5
2896 echo "${ECHO_T}builtin version" >&6
2897 else
2898 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2899 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2900 { (exit 1); exit 1; }; }
2901 fi
2902
2903
2904 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2905 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2906 no_cache=0
2907
2908 # Check whether --with-zlib or --without-zlib was given.
2909 if test "${with_zlib+set}" = set; then
2910 withval="$with_zlib"
2911
2912 if test "$withval" = yes; then
2913 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2914 elif test "$withval" = no; then
2915 ac_cv_use_zlib='wxUSE_ZLIB=no'
2916 elif test "$withval" = sys; then
2917 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2918 elif test "$withval" = builtin; then
2919 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2920 else
2921 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2922 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2923 { (exit 1); exit 1; }; }
2924 fi
2925
2926 else
2927
2928 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2929 if test "x$LINE" != x ; then
2930 eval "DEFAULT_$LINE"
2931 else
2932 no_cache=1
2933 fi
2934
2935 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2936
2937 fi;
2938
2939 eval "$ac_cv_use_zlib"
2940 if test "$no_cache" != 1; then
2941 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2942 fi
2943
2944 if test "$wxUSE_ZLIB" = yes; then
2945 echo "$as_me:$LINENO: result: yes" >&5
2946 echo "${ECHO_T}yes" >&6
2947 elif test "$wxUSE_ZLIB" = no; then
2948 echo "$as_me:$LINENO: result: no" >&5
2949 echo "${ECHO_T}no" >&6
2950 elif test "$wxUSE_ZLIB" = sys; then
2951 echo "$as_me:$LINENO: result: system version" >&5
2952 echo "${ECHO_T}system version" >&6
2953 elif test "$wxUSE_ZLIB" = builtin; then
2954 echo "$as_me:$LINENO: result: builtin version" >&5
2955 echo "${ECHO_T}builtin version" >&6
2956 else
2957 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2958 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2959 { (exit 1); exit 1; }; }
2960 fi
2961
2962
2963 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2964 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2965 no_cache=0
2966
2967 # Check whether --with-odbc or --without-odbc was given.
2968 if test "${with_odbc+set}" = set; then
2969 withval="$with_odbc"
2970
2971 if test "$withval" = yes; then
2972 ac_cv_use_odbc='wxUSE_ODBC=yes'
2973 elif test "$withval" = no; then
2974 ac_cv_use_odbc='wxUSE_ODBC=no'
2975 elif test "$withval" = sys; then
2976 ac_cv_use_odbc='wxUSE_ODBC=sys'
2977 elif test "$withval" = builtin; then
2978 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2979 else
2980 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2981 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2982 { (exit 1); exit 1; }; }
2983 fi
2984
2985 else
2986
2987 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2988 if test "x$LINE" != x ; then
2989 eval "DEFAULT_$LINE"
2990 else
2991 no_cache=1
2992 fi
2993
2994 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2995
2996 fi;
2997
2998 eval "$ac_cv_use_odbc"
2999 if test "$no_cache" != 1; then
3000 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3001 fi
3002
3003 if test "$wxUSE_ODBC" = yes; then
3004 echo "$as_me:$LINENO: result: yes" >&5
3005 echo "${ECHO_T}yes" >&6
3006 elif test "$wxUSE_ODBC" = no; then
3007 echo "$as_me:$LINENO: result: no" >&5
3008 echo "${ECHO_T}no" >&6
3009 elif test "$wxUSE_ODBC" = sys; then
3010 echo "$as_me:$LINENO: result: system version" >&5
3011 echo "${ECHO_T}system version" >&6
3012 elif test "$wxUSE_ODBC" = builtin; then
3013 echo "$as_me:$LINENO: result: builtin version" >&5
3014 echo "${ECHO_T}builtin version" >&6
3015 else
3016 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3017 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3018 { (exit 1); exit 1; }; }
3019 fi
3020
3021
3022 echo "$as_me:$LINENO: checking for --with-expat" >&5
3023 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3024 no_cache=0
3025
3026 # Check whether --with-expat or --without-expat was given.
3027 if test "${with_expat+set}" = set; then
3028 withval="$with_expat"
3029
3030 if test "$withval" = yes; then
3031 ac_cv_use_expat='wxUSE_EXPAT=yes'
3032 elif test "$withval" = no; then
3033 ac_cv_use_expat='wxUSE_EXPAT=no'
3034 elif test "$withval" = sys; then
3035 ac_cv_use_expat='wxUSE_EXPAT=sys'
3036 elif test "$withval" = builtin; then
3037 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3038 else
3039 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3040 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3041 { (exit 1); exit 1; }; }
3042 fi
3043
3044 else
3045
3046 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3047 if test "x$LINE" != x ; then
3048 eval "DEFAULT_$LINE"
3049 else
3050 no_cache=1
3051 fi
3052
3053 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3054
3055 fi;
3056
3057 eval "$ac_cv_use_expat"
3058 if test "$no_cache" != 1; then
3059 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3060 fi
3061
3062 if test "$wxUSE_EXPAT" = yes; then
3063 echo "$as_me:$LINENO: result: yes" >&5
3064 echo "${ECHO_T}yes" >&6
3065 elif test "$wxUSE_EXPAT" = no; then
3066 echo "$as_me:$LINENO: result: no" >&5
3067 echo "${ECHO_T}no" >&6
3068 elif test "$wxUSE_EXPAT" = sys; then
3069 echo "$as_me:$LINENO: result: system version" >&5
3070 echo "${ECHO_T}system version" >&6
3071 elif test "$wxUSE_EXPAT" = builtin; then
3072 echo "$as_me:$LINENO: result: builtin version" >&5
3073 echo "${ECHO_T}builtin version" >&6
3074 else
3075 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3076 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3077 { (exit 1); exit 1; }; }
3078 fi
3079
3080
3081
3082
3083 enablestring=
3084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3085 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3086 no_cache=0
3087 # Check whether --enable-shared or --disable-shared was given.
3088 if test "${enable_shared+set}" = set; then
3089 enableval="$enable_shared"
3090
3091 if test "$enableval" = yes; then
3092 ac_cv_use_shared='wxUSE_SHARED=yes'
3093 else
3094 ac_cv_use_shared='wxUSE_SHARED=no'
3095 fi
3096
3097 else
3098
3099 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x ; then
3101 eval "DEFAULT_$LINE"
3102 else
3103 no_cache=1
3104 fi
3105
3106 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3107
3108 fi;
3109
3110 eval "$ac_cv_use_shared"
3111 if test "$no_cache" != 1; then
3112 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3113 fi
3114
3115 if test "$wxUSE_SHARED" = yes; then
3116 echo "$as_me:$LINENO: result: yes" >&5
3117 echo "${ECHO_T}yes" >&6
3118 else
3119 echo "$as_me:$LINENO: result: no" >&5
3120 echo "${ECHO_T}no" >&6
3121 fi
3122
3123
3124 enablestring=
3125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3126 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3127 no_cache=0
3128 # Check whether --enable-optimise or --disable-optimise was given.
3129 if test "${enable_optimise+set}" = set; then
3130 enableval="$enable_optimise"
3131
3132 if test "$enableval" = yes; then
3133 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3134 else
3135 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3136 fi
3137
3138 else
3139
3140 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3141 if test "x$LINE" != x ; then
3142 eval "DEFAULT_$LINE"
3143 else
3144 no_cache=1
3145 fi
3146
3147 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3148
3149 fi;
3150
3151 eval "$ac_cv_use_optimise"
3152 if test "$no_cache" != 1; then
3153 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3154 fi
3155
3156 if test "$wxUSE_OPTIMISE" = yes; then
3157 echo "$as_me:$LINENO: result: yes" >&5
3158 echo "${ECHO_T}yes" >&6
3159 else
3160 echo "$as_me:$LINENO: result: no" >&5
3161 echo "${ECHO_T}no" >&6
3162 fi
3163
3164
3165 enablestring=
3166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3167 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3168 no_cache=0
3169 # Check whether --enable-debug or --disable-debug was given.
3170 if test "${enable_debug+set}" = set; then
3171 enableval="$enable_debug"
3172
3173 if test "$enableval" = yes; then
3174 ac_cv_use_debug='wxUSE_DEBUG=yes'
3175 else
3176 ac_cv_use_debug='wxUSE_DEBUG=no'
3177 fi
3178
3179 else
3180
3181 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x ; then
3183 eval "DEFAULT_$LINE"
3184 else
3185 no_cache=1
3186 fi
3187
3188 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3189
3190 fi;
3191
3192 eval "$ac_cv_use_debug"
3193 if test "$no_cache" != 1; then
3194 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3195 fi
3196
3197 if test "$wxUSE_DEBUG" = yes; then
3198 echo "$as_me:$LINENO: result: yes" >&5
3199 echo "${ECHO_T}yes" >&6
3200 else
3201 echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6
3203 fi
3204
3205
3206 enablestring=
3207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3208 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3209 no_cache=0
3210 # Check whether --enable-stl or --disable-stl was given.
3211 if test "${enable_stl+set}" = set; then
3212 enableval="$enable_stl"
3213
3214 if test "$enableval" = yes; then
3215 ac_cv_use_stl='wxUSE_STL=yes'
3216 else
3217 ac_cv_use_stl='wxUSE_STL=no'
3218 fi
3219
3220 else
3221
3222 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x ; then
3224 eval "DEFAULT_$LINE"
3225 else
3226 no_cache=1
3227 fi
3228
3229 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3230
3231 fi;
3232
3233 eval "$ac_cv_use_stl"
3234 if test "$no_cache" != 1; then
3235 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3236 fi
3237
3238 if test "$wxUSE_STL" = yes; then
3239 echo "$as_me:$LINENO: result: yes" >&5
3240 echo "${ECHO_T}yes" >&6
3241 else
3242 echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6
3244 fi
3245
3246
3247 if test "$wxUSE_DEBUG" = "yes"; then
3248 DEFAULT_wxUSE_DEBUG_FLAG=yes
3249 DEFAULT_wxUSE_DEBUG_INFO=yes
3250 BUILD=debug
3251 elif test "$wxUSE_DEBUG" = "no"; then
3252 DEFAULT_wxUSE_DEBUG_FLAG=no
3253 DEFAULT_wxUSE_DEBUG_INFO=no
3254 BUILD=release
3255 fi
3256
3257
3258 enablestring=
3259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3261 no_cache=0
3262 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3263 if test "${enable_debug_flag+set}" = set; then
3264 enableval="$enable_debug_flag"
3265
3266 if test "$enableval" = yes; then
3267 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3268 else
3269 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3270 fi
3271
3272 else
3273
3274 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3277 else
3278 no_cache=1
3279 fi
3280
3281 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3282
3283 fi;
3284
3285 eval "$ac_cv_use_debug_flag"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3288 fi
3289
3290 if test "$wxUSE_DEBUG_FLAG" = yes; then
3291 echo "$as_me:$LINENO: result: yes" >&5
3292 echo "${ECHO_T}yes" >&6
3293 else
3294 echo "$as_me:$LINENO: result: no" >&5
3295 echo "${ECHO_T}no" >&6
3296 fi
3297
3298
3299 enablestring=
3300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3301 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3302 no_cache=0
3303 # Check whether --enable-debug_info or --disable-debug_info was given.
3304 if test "${enable_debug_info+set}" = set; then
3305 enableval="$enable_debug_info"
3306
3307 if test "$enableval" = yes; then
3308 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3309 else
3310 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3311 fi
3312
3313 else
3314
3315 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x ; then
3317 eval "DEFAULT_$LINE"
3318 else
3319 no_cache=1
3320 fi
3321
3322 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3323
3324 fi;
3325
3326 eval "$ac_cv_use_debug_info"
3327 if test "$no_cache" != 1; then
3328 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3329 fi
3330
3331 if test "$wxUSE_DEBUG_INFO" = yes; then
3332 echo "$as_me:$LINENO: result: yes" >&5
3333 echo "${ECHO_T}yes" >&6
3334 else
3335 echo "$as_me:$LINENO: result: no" >&5
3336 echo "${ECHO_T}no" >&6
3337 fi
3338
3339
3340 enablestring=
3341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3342 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3343 no_cache=0
3344 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3345 if test "${enable_debug_gdb+set}" = set; then
3346 enableval="$enable_debug_gdb"
3347
3348 if test "$enableval" = yes; then
3349 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3350 else
3351 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3352 fi
3353
3354 else
3355
3356 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3357 if test "x$LINE" != x ; then
3358 eval "DEFAULT_$LINE"
3359 else
3360 no_cache=1
3361 fi
3362
3363 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3364
3365 fi;
3366
3367 eval "$ac_cv_use_debug_gdb"
3368 if test "$no_cache" != 1; then
3369 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3370 fi
3371
3372 if test "$wxUSE_DEBUG_GDB" = yes; then
3373 echo "$as_me:$LINENO: result: yes" >&5
3374 echo "${ECHO_T}yes" >&6
3375 else
3376 echo "$as_me:$LINENO: result: no" >&5
3377 echo "${ECHO_T}no" >&6
3378 fi
3379
3380
3381 enablestring=
3382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3383 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3384 no_cache=0
3385 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3386 if test "${enable_debug_cntxt+set}" = set; then
3387 enableval="$enable_debug_cntxt"
3388
3389 if test "$enableval" = yes; then
3390 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3391 else
3392 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3393 fi
3394
3395 else
3396
3397 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3398 if test "x$LINE" != x ; then
3399 eval "DEFAULT_$LINE"
3400 else
3401 no_cache=1
3402 fi
3403
3404 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3405
3406 fi;
3407
3408 eval "$ac_cv_use_debug_cntxt"
3409 if test "$no_cache" != 1; then
3410 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3411 fi
3412
3413 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3414 echo "$as_me:$LINENO: result: yes" >&5
3415 echo "${ECHO_T}yes" >&6
3416 else
3417 echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6
3419 fi
3420
3421
3422 enablestring=
3423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3424 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3425 no_cache=0
3426 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3427 if test "${enable_mem_tracing+set}" = set; then
3428 enableval="$enable_mem_tracing"
3429
3430 if test "$enableval" = yes; then
3431 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3432 else
3433 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3434 fi
3435
3436 else
3437
3438 LINE=`grep "wxUSE_MEM_TRACING" ${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_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3446
3447 fi;
3448
3449 eval "$ac_cv_use_mem_tracing"
3450 if test "$no_cache" != 1; then
3451 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3452 fi
3453
3454 if test "$wxUSE_MEM_TRACING" = 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}-profile" >&5
3465 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3466 no_cache=0
3467 # Check whether --enable-profile or --disable-profile was given.
3468 if test "${enable_profile+set}" = set; then
3469 enableval="$enable_profile"
3470
3471 if test "$enableval" = yes; then
3472 ac_cv_use_profile='wxUSE_PROFILE=yes'
3473 else
3474 ac_cv_use_profile='wxUSE_PROFILE=no'
3475 fi
3476
3477 else
3478
3479 LINE=`grep "wxUSE_PROFILE" ${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_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3487
3488 fi;
3489
3490 eval "$ac_cv_use_profile"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3493 fi
3494
3495 if test "$wxUSE_PROFILE" = 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}-no_rtti" >&5
3506 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3507 no_cache=0
3508 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3509 if test "${enable_no_rtti+set}" = set; then
3510 enableval="$enable_no_rtti"
3511
3512 if test "$enableval" = yes; then
3513 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3514 else
3515 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3516 fi
3517
3518 else
3519
3520 LINE=`grep "wxUSE_NO_RTTI" ${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_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3528
3529 fi;
3530
3531 eval "$ac_cv_use_no_rtti"
3532 if test "$no_cache" != 1; then
3533 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3534 fi
3535
3536 if test "$wxUSE_NO_RTTI" = 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}-no_exceptions" >&5
3547 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3548 no_cache=0
3549 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3550 if test "${enable_no_exceptions+set}" = set; then
3551 enableval="$enable_no_exceptions"
3552
3553 if test "$enableval" = yes; then
3554 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3555 else
3556 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3557 fi
3558
3559 else
3560
3561 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${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_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3569
3570 fi;
3571
3572 eval "$ac_cv_use_no_exceptions"
3573 if test "$no_cache" != 1; then
3574 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3575 fi
3576
3577 if test "$wxUSE_NO_EXCEPTIONS" = 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}-permissive" >&5
3588 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3589 no_cache=0
3590 # Check whether --enable-permissive or --disable-permissive was given.
3591 if test "${enable_permissive+set}" = set; then
3592 enableval="$enable_permissive"
3593
3594 if test "$enableval" = yes; then
3595 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3596 else
3597 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3598 fi
3599
3600 else
3601
3602 LINE=`grep "wxUSE_PERMISSIVE" ${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_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3610
3611 fi;
3612
3613 eval "$ac_cv_use_permissive"
3614 if test "$no_cache" != 1; then
3615 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3616 fi
3617
3618 if test "$wxUSE_PERMISSIVE" = 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}-no_deps" >&5
3629 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3630 no_cache=0
3631 # Check whether --enable-no_deps or --disable-no_deps was given.
3632 if test "${enable_no_deps+set}" = set; then
3633 enableval="$enable_no_deps"
3634
3635 if test "$enableval" = yes; then
3636 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3637 else
3638 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3639 fi
3640
3641 else
3642
3643 LINE=`grep "wxUSE_NO_DEPS" ${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_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3651
3652 fi;
3653
3654 eval "$ac_cv_use_no_deps"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3657 fi
3658
3659 if test "$wxUSE_NO_DEPS" = 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
3669 enablestring=
3670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3671 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3672 no_cache=0
3673 # Check whether --enable-compat22 or --disable-compat22 was given.
3674 if test "${enable_compat22+set}" = set; then
3675 enableval="$enable_compat22"
3676
3677 if test "$enableval" = yes; then
3678 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3679 else
3680 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3681 fi
3682
3683 else
3684
3685 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3686 if test "x$LINE" != x ; then
3687 eval "DEFAULT_$LINE"
3688 else
3689 no_cache=1
3690 fi
3691
3692 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3693
3694 fi;
3695
3696 eval "$ac_cv_use_compat22"
3697 if test "$no_cache" != 1; then
3698 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3699 fi
3700
3701 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3702 echo "$as_me:$LINENO: result: yes" >&5
3703 echo "${ECHO_T}yes" >&6
3704 else
3705 echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6
3707 fi
3708
3709
3710 enablestring=disable
3711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3712 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3713 no_cache=0
3714 # Check whether --enable-compat24 or --disable-compat24 was given.
3715 if test "${enable_compat24+set}" = set; then
3716 enableval="$enable_compat24"
3717
3718 if test "$enableval" = yes; then
3719 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3720 else
3721 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3722 fi
3723
3724 else
3725
3726 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3727 if test "x$LINE" != x ; then
3728 eval "DEFAULT_$LINE"
3729 else
3730 no_cache=1
3731 fi
3732
3733 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3734
3735 fi;
3736
3737 eval "$ac_cv_use_compat24"
3738 if test "$no_cache" != 1; then
3739 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3740 fi
3741
3742 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3743 echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6
3745 else
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3748 fi
3749
3750
3751 # Check whether --enable-rpath or --disable-rpath was given.
3752 if test "${enable_rpath+set}" = set; then
3753 enableval="$enable_rpath"
3754 wxRPATH_DIR="$enableval"
3755 fi;
3756
3757 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3758 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3759 fi
3760
3761
3762
3763
3764 enablestring=
3765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3766 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3767 no_cache=0
3768 # Check whether --enable-intl or --disable-intl was given.
3769 if test "${enable_intl+set}" = set; then
3770 enableval="$enable_intl"
3771
3772 if test "$enableval" = yes; then
3773 ac_cv_use_intl='wxUSE_INTL=yes'
3774 else
3775 ac_cv_use_intl='wxUSE_INTL=no'
3776 fi
3777
3778 else
3779
3780 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3781 if test "x$LINE" != x ; then
3782 eval "DEFAULT_$LINE"
3783 else
3784 no_cache=1
3785 fi
3786
3787 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3788
3789 fi;
3790
3791 eval "$ac_cv_use_intl"
3792 if test "$no_cache" != 1; then
3793 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3794 fi
3795
3796 if test "$wxUSE_INTL" = yes; then
3797 echo "$as_me:$LINENO: result: yes" >&5
3798 echo "${ECHO_T}yes" >&6
3799 else
3800 echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3802 fi
3803
3804
3805 enablestring=
3806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3807 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3808 no_cache=0
3809 # Check whether --enable-config or --disable-config was given.
3810 if test "${enable_config+set}" = set; then
3811 enableval="$enable_config"
3812
3813 if test "$enableval" = yes; then
3814 ac_cv_use_config='wxUSE_CONFIG=yes'
3815 else
3816 ac_cv_use_config='wxUSE_CONFIG=no'
3817 fi
3818
3819 else
3820
3821 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x ; then
3823 eval "DEFAULT_$LINE"
3824 else
3825 no_cache=1
3826 fi
3827
3828 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3829
3830 fi;
3831
3832 eval "$ac_cv_use_config"
3833 if test "$no_cache" != 1; then
3834 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3835 fi
3836
3837 if test "$wxUSE_CONFIG" = yes; then
3838 echo "$as_me:$LINENO: result: yes" >&5
3839 echo "${ECHO_T}yes" >&6
3840 else
3841 echo "$as_me:$LINENO: result: no" >&5
3842 echo "${ECHO_T}no" >&6
3843 fi
3844
3845
3846
3847 enablestring=
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3850 no_cache=0
3851 # Check whether --enable-protocols or --disable-protocols was given.
3852 if test "${enable_protocols+set}" = set; then
3853 enableval="$enable_protocols"
3854
3855 if test "$enableval" = yes; then
3856 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3857 else
3858 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3859 fi
3860
3861 else
3862
3863 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x ; then
3865 eval "DEFAULT_$LINE"
3866 else
3867 no_cache=1
3868 fi
3869
3870 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3871
3872 fi;
3873
3874 eval "$ac_cv_use_protocols"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3877 fi
3878
3879 if test "$wxUSE_PROTOCOL" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3882 else
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3885 fi
3886
3887
3888 enablestring=
3889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3890 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3891 no_cache=0
3892 # Check whether --enable-ftp or --disable-ftp was given.
3893 if test "${enable_ftp+set}" = set; then
3894 enableval="$enable_ftp"
3895
3896 if test "$enableval" = yes; then
3897 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3898 else
3899 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3900 fi
3901
3902 else
3903
3904 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x ; then
3906 eval "DEFAULT_$LINE"
3907 else
3908 no_cache=1
3909 fi
3910
3911 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3912
3913 fi;
3914
3915 eval "$ac_cv_use_ftp"
3916 if test "$no_cache" != 1; then
3917 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3918 fi
3919
3920 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3921 echo "$as_me:$LINENO: result: yes" >&5
3922 echo "${ECHO_T}yes" >&6
3923 else
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3926 fi
3927
3928
3929 enablestring=
3930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3931 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3932 no_cache=0
3933 # Check whether --enable-http or --disable-http was given.
3934 if test "${enable_http+set}" = set; then
3935 enableval="$enable_http"
3936
3937 if test "$enableval" = yes; then
3938 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3939 else
3940 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3941 fi
3942
3943 else
3944
3945 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x ; then
3947 eval "DEFAULT_$LINE"
3948 else
3949 no_cache=1
3950 fi
3951
3952 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3953
3954 fi;
3955
3956 eval "$ac_cv_use_http"
3957 if test "$no_cache" != 1; then
3958 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3959 fi
3960
3961 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3962 echo "$as_me:$LINENO: result: yes" >&5
3963 echo "${ECHO_T}yes" >&6
3964 else
3965 echo "$as_me:$LINENO: result: no" >&5
3966 echo "${ECHO_T}no" >&6
3967 fi
3968
3969
3970 enablestring=
3971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3972 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3973 no_cache=0
3974 # Check whether --enable-fileproto or --disable-fileproto was given.
3975 if test "${enable_fileproto+set}" = set; then
3976 enableval="$enable_fileproto"
3977
3978 if test "$enableval" = yes; then
3979 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3980 else
3981 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3982 fi
3983
3984 else
3985
3986 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x ; then
3988 eval "DEFAULT_$LINE"
3989 else
3990 no_cache=1
3991 fi
3992
3993 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3994
3995 fi;
3996
3997 eval "$ac_cv_use_fileproto"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4000 fi
4001
4002 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4003 echo "$as_me:$LINENO: result: yes" >&5
4004 echo "${ECHO_T}yes" >&6
4005 else
4006 echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4008 fi
4009
4010
4011 enablestring=
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4014 no_cache=0
4015 # Check whether --enable-sockets or --disable-sockets was given.
4016 if test "${enable_sockets+set}" = set; then
4017 enableval="$enable_sockets"
4018
4019 if test "$enableval" = yes; then
4020 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4021 else
4022 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4023 fi
4024
4025 else
4026
4027 LINE=`grep "wxUSE_SOCKETS" ${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_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4035
4036 fi;
4037
4038 eval "$ac_cv_use_sockets"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test "$wxUSE_SOCKETS" = 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}-ole" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4055 no_cache=0
4056 # Check whether --enable-ole or --disable-ole was given.
4057 if test "${enable_ole+set}" = set; then
4058 enableval="$enable_ole"
4059
4060 if test "$enableval" = yes; then
4061 ac_cv_use_ole='wxUSE_OLE=yes'
4062 else
4063 ac_cv_use_ole='wxUSE_OLE=no'
4064 fi
4065
4066 else
4067
4068 LINE=`grep "wxUSE_OLE" ${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_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4076
4077 fi;
4078
4079 eval "$ac_cv_use_ole"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4082 fi
4083
4084 if test "$wxUSE_OLE" = 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}-dataobj" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4096 no_cache=0
4097 # Check whether --enable-dataobj or --disable-dataobj was given.
4098 if test "${enable_dataobj+set}" = set; then
4099 enableval="$enable_dataobj"
4100
4101 if test "$enableval" = yes; then
4102 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4103 else
4104 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4105 fi
4106
4107 else
4108
4109 LINE=`grep "wxUSE_DATAOBJ" ${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_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4117
4118 fi;
4119
4120 eval "$ac_cv_use_dataobj"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4123 fi
4124
4125 if test "$wxUSE_DATAOBJ" = 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
4135 enablestring=
4136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4137 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4138 no_cache=0
4139 # Check whether --enable-ipc or --disable-ipc was given.
4140 if test "${enable_ipc+set}" = set; then
4141 enableval="$enable_ipc"
4142
4143 if test "$enableval" = yes; then
4144 ac_cv_use_ipc='wxUSE_IPC=yes'
4145 else
4146 ac_cv_use_ipc='wxUSE_IPC=no'
4147 fi
4148
4149 else
4150
4151 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x ; then
4153 eval "DEFAULT_$LINE"
4154 else
4155 no_cache=1
4156 fi
4157
4158 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4159
4160 fi;
4161
4162 eval "$ac_cv_use_ipc"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4165 fi
4166
4167 if test "$wxUSE_IPC" = yes; then
4168 echo "$as_me:$LINENO: result: yes" >&5
4169 echo "${ECHO_T}yes" >&6
4170 else
4171 echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4173 fi
4174
4175
4176
4177 enablestring=
4178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4179 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4180 no_cache=0
4181 # Check whether --enable-cmdline or --disable-cmdline was given.
4182 if test "${enable_cmdline+set}" = set; then
4183 enableval="$enable_cmdline"
4184
4185 if test "$enableval" = yes; then
4186 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4187 else
4188 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4189 fi
4190
4191 else
4192
4193 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x ; then
4195 eval "DEFAULT_$LINE"
4196 else
4197 no_cache=1
4198 fi
4199
4200 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4201
4202 fi;
4203
4204 eval "$ac_cv_use_cmdline"
4205 if test "$no_cache" != 1; then
4206 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4207 fi
4208
4209 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4210 echo "$as_me:$LINENO: result: yes" >&5
4211 echo "${ECHO_T}yes" >&6
4212 else
4213 echo "$as_me:$LINENO: result: no" >&5
4214 echo "${ECHO_T}no" >&6
4215 fi
4216
4217
4218 enablestring=
4219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4220 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4221 no_cache=0
4222 # Check whether --enable-datetime or --disable-datetime was given.
4223 if test "${enable_datetime+set}" = set; then
4224 enableval="$enable_datetime"
4225
4226 if test "$enableval" = yes; then
4227 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4228 else
4229 ac_cv_use_datetime='wxUSE_DATETIME=no'
4230 fi
4231
4232 else
4233
4234 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4235 if test "x$LINE" != x ; then
4236 eval "DEFAULT_$LINE"
4237 else
4238 no_cache=1
4239 fi
4240
4241 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4242
4243 fi;
4244
4245 eval "$ac_cv_use_datetime"
4246 if test "$no_cache" != 1; then
4247 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4248 fi
4249
4250 if test "$wxUSE_DATETIME" = yes; then
4251 echo "$as_me:$LINENO: result: yes" >&5
4252 echo "${ECHO_T}yes" >&6
4253 else
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4256 fi
4257
4258
4259 enablestring=
4260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4261 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4262 no_cache=0
4263 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4264 if test "${enable_stopwatch+set}" = set; then
4265 enableval="$enable_stopwatch"
4266
4267 if test "$enableval" = yes; then
4268 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4269 else
4270 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4271 fi
4272
4273 else
4274
4275 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4276 if test "x$LINE" != x ; then
4277 eval "DEFAULT_$LINE"
4278 else
4279 no_cache=1
4280 fi
4281
4282 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4283
4284 fi;
4285
4286 eval "$ac_cv_use_stopwatch"
4287 if test "$no_cache" != 1; then
4288 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4289 fi
4290
4291 if test "$wxUSE_STOPWATCH" = yes; then
4292 echo "$as_me:$LINENO: result: yes" >&5
4293 echo "${ECHO_T}yes" >&6
4294 else
4295 echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6
4297 fi
4298
4299
4300 enablestring=
4301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4302 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4303 no_cache=0
4304 # Check whether --enable-dialupman or --disable-dialupman was given.
4305 if test "${enable_dialupman+set}" = set; then
4306 enableval="$enable_dialupman"
4307
4308 if test "$enableval" = yes; then
4309 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4310 else
4311 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4312 fi
4313
4314 else
4315
4316 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x ; then
4318 eval "DEFAULT_$LINE"
4319 else
4320 no_cache=1
4321 fi
4322
4323 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4324
4325 fi;
4326
4327 eval "$ac_cv_use_dialupman"
4328 if test "$no_cache" != 1; then
4329 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4330 fi
4331
4332 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4333 echo "$as_me:$LINENO: result: yes" >&5
4334 echo "${ECHO_T}yes" >&6
4335 else
4336 echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6
4338 fi
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}-timer" >&5
4384 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4385 no_cache=0
4386 # Check whether --enable-timer or --disable-timer was given.
4387 if test "${enable_timer+set}" = set; then
4388 enableval="$enable_timer"
4389
4390 if test "$enableval" = yes; then
4391 ac_cv_use_timer='wxUSE_TIMER=yes'
4392 else
4393 ac_cv_use_timer='wxUSE_TIMER=no'
4394 fi
4395
4396 else
4397
4398 LINE=`grep "wxUSE_TIMER" ${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_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4406
4407 fi;
4408
4409 eval "$ac_cv_use_timer"
4410 if test "$no_cache" != 1; then
4411 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4412 fi
4413
4414 if test "$wxUSE_TIMER" = 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}-wave" >&5
4425 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4426 no_cache=0
4427 # Check whether --enable-wave or --disable-wave was given.
4428 if test "${enable_wave+set}" = set; then
4429 enableval="$enable_wave"
4430
4431 if test "$enableval" = yes; then
4432 ac_cv_use_wave='wxUSE_WAVE=yes'
4433 else
4434 ac_cv_use_wave='wxUSE_WAVE=no'
4435 fi
4436
4437 else
4438
4439 LINE=`grep "wxUSE_WAVE" ${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_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4447
4448 fi;
4449
4450 eval "$ac_cv_use_wave"
4451 if test "$no_cache" != 1; then
4452 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4453 fi
4454
4455 if test "$wxUSE_WAVE" = 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}-fraction" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4467 no_cache=0
4468 # Check whether --enable-fraction or --disable-fraction was given.
4469 if test "${enable_fraction+set}" = set; then
4470 enableval="$enable_fraction"
4471
4472 if test "$enableval" = yes; then
4473 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4474 else
4475 ac_cv_use_fraction='wxUSE_FRACTION=no'
4476 fi
4477
4478 else
4479
4480 LINE=`grep "wxUSE_FRACTION" ${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_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4488
4489 fi;
4490
4491 eval "$ac_cv_use_fraction"
4492 if test "$no_cache" != 1; then
4493 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4494 fi
4495
4496 if test "$wxUSE_FRACTION" = 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}-dynlib" >&5
4507 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4508 no_cache=0
4509 # Check whether --enable-dynlib or --disable-dynlib was given.
4510 if test "${enable_dynlib+set}" = set; then
4511 enableval="$enable_dynlib"
4512
4513 if test "$enableval" = yes; then
4514 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4515 else
4516 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4517 fi
4518
4519 else
4520
4521 LINE=`grep "wxUSE_DYNLIB_CLASS" ${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_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4529
4530 fi;
4531
4532 eval "$ac_cv_use_dynlib"
4533 if test "$no_cache" != 1; then
4534 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4535 fi
4536
4537 if test "$wxUSE_DYNLIB_CLASS" = 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}-dynamicloader" >&5
4548 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4549 no_cache=0
4550 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4551 if test "${enable_dynamicloader+set}" = set; then
4552 enableval="$enable_dynamicloader"
4553
4554 if test "$enableval" = yes; then
4555 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4556 else
4557 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4558 fi
4559
4560 else
4561
4562 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${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_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4570
4571 fi;
4572
4573 eval "$ac_cv_use_dynamicloader"
4574 if test "$no_cache" != 1; then
4575 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4576 fi
4577
4578 if test "$wxUSE_DYNAMIC_LOADER" = 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}-longlong" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4590 no_cache=0
4591 # Check whether --enable-longlong or --disable-longlong was given.
4592 if test "${enable_longlong+set}" = set; then
4593 enableval="$enable_longlong"
4594
4595 if test "$enableval" = yes; then
4596 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4597 else
4598 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4599 fi
4600
4601 else
4602
4603 LINE=`grep "wxUSE_LONGLONG" ${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_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4611
4612 fi;
4613
4614 eval "$ac_cv_use_longlong"
4615 if test "$no_cache" != 1; then
4616 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4617 fi
4618
4619 if test "$wxUSE_LONGLONG" = 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}-geometry" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4631 no_cache=0
4632 # Check whether --enable-geometry or --disable-geometry was given.
4633 if test "${enable_geometry+set}" = set; then
4634 enableval="$enable_geometry"
4635
4636 if test "$enableval" = yes; then
4637 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4638 else
4639 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4640 fi
4641
4642 else
4643
4644 LINE=`grep "wxUSE_GEOMETRY" ${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_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4652
4653 fi;
4654
4655 eval "$ac_cv_use_geometry"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4658 fi
4659
4660 if test "$wxUSE_GEOMETRY" = 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}-log" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4672 no_cache=0
4673 # Check whether --enable-log or --disable-log was given.
4674 if test "${enable_log+set}" = set; then
4675 enableval="$enable_log"
4676
4677 if test "$enableval" = yes; then
4678 ac_cv_use_log='wxUSE_LOG=yes'
4679 else
4680 ac_cv_use_log='wxUSE_LOG=no'
4681 fi
4682
4683 else
4684
4685 LINE=`grep "wxUSE_LOG" ${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_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4693
4694 fi;
4695
4696 eval "$ac_cv_use_log"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4699 fi
4700
4701 if test "$wxUSE_LOG" = 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}-streams" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4713 no_cache=0
4714 # Check whether --enable-streams or --disable-streams was given.
4715 if test "${enable_streams+set}" = set; then
4716 enableval="$enable_streams"
4717
4718 if test "$enableval" = yes; then
4719 ac_cv_use_streams='wxUSE_STREAMS=yes'
4720 else
4721 ac_cv_use_streams='wxUSE_STREAMS=no'
4722 fi
4723
4724 else
4725
4726 LINE=`grep "wxUSE_STREAMS" ${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_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4734
4735 fi;
4736
4737 eval "$ac_cv_use_streams"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4740 fi
4741
4742 if test "$wxUSE_STREAMS" = 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}-file" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4754 no_cache=0
4755 # Check whether --enable-file or --disable-file was given.
4756 if test "${enable_file+set}" = set; then
4757 enableval="$enable_file"
4758
4759 if test "$enableval" = yes; then
4760 ac_cv_use_file='wxUSE_FILE=yes'
4761 else
4762 ac_cv_use_file='wxUSE_FILE=no'
4763 fi
4764
4765 else
4766
4767 LINE=`grep "wxUSE_FILE" ${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_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4775
4776 fi;
4777
4778 eval "$ac_cv_use_file"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4781 fi
4782
4783 if test "$wxUSE_FILE" = 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}-ffile" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4795 no_cache=0
4796 # Check whether --enable-ffile or --disable-ffile was given.
4797 if test "${enable_ffile+set}" = set; then
4798 enableval="$enable_ffile"
4799
4800 if test "$enableval" = yes; then
4801 ac_cv_use_ffile='wxUSE_FFILE=yes'
4802 else
4803 ac_cv_use_ffile='wxUSE_FFILE=no'
4804 fi
4805
4806 else
4807
4808 LINE=`grep "wxUSE_FFILE" ${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_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4816
4817 fi;
4818
4819 eval "$ac_cv_use_ffile"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4822 fi
4823
4824 if test "$wxUSE_FFILE" = 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}-textbuf" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4836 no_cache=0
4837 # Check whether --enable-textbuf or --disable-textbuf was given.
4838 if test "${enable_textbuf+set}" = set; then
4839 enableval="$enable_textbuf"
4840
4841 if test "$enableval" = yes; then
4842 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4843 else
4844 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4845 fi
4846
4847 else
4848
4849 LINE=`grep "wxUSE_TEXTBUFFER" ${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_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4857
4858 fi;
4859
4860 eval "$ac_cv_use_textbuf"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4863 fi
4864
4865 if test "$wxUSE_TEXTBUFFER" = 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}-textfile" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4877 no_cache=0
4878 # Check whether --enable-textfile or --disable-textfile was given.
4879 if test "${enable_textfile+set}" = set; then
4880 enableval="$enable_textfile"
4881
4882 if test "$enableval" = yes; then
4883 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4884 else
4885 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4886 fi
4887
4888 else
4889
4890 LINE=`grep "wxUSE_TEXTFILE" ${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_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4898
4899 fi;
4900
4901 eval "$ac_cv_use_textfile"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4904 fi
4905
4906 if test "$wxUSE_TEXTFILE" = 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}-fontmap" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4918 no_cache=0
4919 # Check whether --enable-fontmap or --disable-fontmap was given.
4920 if test "${enable_fontmap+set}" = set; then
4921 enableval="$enable_fontmap"
4922
4923 if test "$enableval" = yes; then
4924 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4925 else
4926 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4927 fi
4928
4929 else
4930
4931 LINE=`grep "wxUSE_FONTMAP" ${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_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4939
4940 fi;
4941
4942 eval "$ac_cv_use_fontmap"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4945 fi
4946
4947 if test "$wxUSE_FONTMAP" = 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}-unicode" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4959 no_cache=0
4960 # Check whether --enable-unicode or --disable-unicode was given.
4961 if test "${enable_unicode+set}" = set; then
4962 enableval="$enable_unicode"
4963
4964 if test "$enableval" = yes; then
4965 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4966 else
4967 ac_cv_use_unicode='wxUSE_UNICODE=no'
4968 fi
4969
4970 else
4971
4972 LINE=`grep "wxUSE_UNICODE" ${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_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4980
4981 fi;
4982
4983 eval "$ac_cv_use_unicode"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4986 fi
4987
4988 if test "$wxUSE_UNICODE" = 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}-mslu" >&5
4999 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5000 no_cache=0
5001 # Check whether --enable-mslu or --disable-mslu was given.
5002 if test "${enable_mslu+set}" = set; then
5003 enableval="$enable_mslu"
5004
5005 if test "$enableval" = yes; then
5006 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5007 else
5008 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5009 fi
5010
5011 else
5012
5013 LINE=`grep "wxUSE_UNICODE_MSLU" ${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_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5021
5022 fi;
5023
5024 eval "$ac_cv_use_mslu"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5027 fi
5028
5029 if test "$wxUSE_UNICODE_MSLU" = 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}-wxprintfv" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5041 no_cache=0
5042 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5043 if test "${enable_wxprintfv+set}" = set; then
5044 enableval="$enable_wxprintfv"
5045
5046 if test "$enableval" = yes; then
5047 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5048 else
5049 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5050 fi
5051
5052 else
5053
5054 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${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_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5062
5063 fi;
5064
5065 eval "$ac_cv_use_wxprintfv"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5068 fi
5069
5070 if test "$wxUSE_EXPERIMENTAL_PRINTF" = 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}-std_iostreams" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5082 no_cache=0
5083 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5084 if test "${enable_std_iostreams+set}" = set; then
5085 enableval="$enable_std_iostreams"
5086
5087 if test "$enableval" = yes; then
5088 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5089 else
5090 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5091 fi
5092
5093 else
5094
5095 LINE=`grep "wxUSE_STD_IOSTREAM" ${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_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5103
5104 fi;
5105
5106 eval "$ac_cv_use_std_iostreams"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5109 fi
5110
5111 if test "$wxUSE_STD_IOSTREAM" = 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}-filesystem" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5123 no_cache=0
5124 # Check whether --enable-filesystem or --disable-filesystem was given.
5125 if test "${enable_filesystem+set}" = set; then
5126 enableval="$enable_filesystem"
5127
5128 if test "$enableval" = yes; then
5129 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5130 else
5131 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5132 fi
5133
5134 else
5135
5136 LINE=`grep "wxUSE_FILESYSTEM" ${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_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5144
5145 fi;
5146
5147 eval "$ac_cv_use_filesystem"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5150 fi
5151
5152 if test "$wxUSE_FILESYSTEM" = 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}-fs_inet" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5164 no_cache=0
5165 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5166 if test "${enable_fs_inet+set}" = set; then
5167 enableval="$enable_fs_inet"
5168
5169 if test "$enableval" = yes; then
5170 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5171 else
5172 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5173 fi
5174
5175 else
5176
5177 LINE=`grep "wxUSE_FS_INET" ${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_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5185
5186 fi;
5187
5188 eval "$ac_cv_use_fs_inet"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5191 fi
5192
5193 if test "$wxUSE_FS_INET" = 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}-fs_zip" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5205 no_cache=0
5206 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5207 if test "${enable_fs_zip+set}" = set; then
5208 enableval="$enable_fs_zip"
5209
5210 if test "$enableval" = yes; then
5211 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5212 else
5213 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5214 fi
5215
5216 else
5217
5218 LINE=`grep "wxUSE_FS_ZIP" ${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_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5226
5227 fi;
5228
5229 eval "$ac_cv_use_fs_zip"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5232 fi
5233
5234 if test "$wxUSE_FS_ZIP" = 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}-zipstream" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5246 no_cache=0
5247 # Check whether --enable-zipstream or --disable-zipstream was given.
5248 if test "${enable_zipstream+set}" = set; then
5249 enableval="$enable_zipstream"
5250
5251 if test "$enableval" = yes; then
5252 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5253 else
5254 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5255 fi
5256
5257 else
5258
5259 LINE=`grep "wxUSE_ZIPSTREAM" ${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_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5267
5268 fi;
5269
5270 eval "$ac_cv_use_zipstream"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5273 fi
5274
5275 if test "$wxUSE_ZIPSTREAM" = 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
5285 enablestring=
5286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5287 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5288 no_cache=0
5289 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5290 if test "${enable_catch_segvs+set}" = set; then
5291 enableval="$enable_catch_segvs"
5292
5293 if test "$enableval" = yes; then
5294 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5295 else
5296 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5297 fi
5298
5299 else
5300
5301 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5302 if test "x$LINE" != x ; then
5303 eval "DEFAULT_$LINE"
5304 else
5305 no_cache=1
5306 fi
5307
5308 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5309
5310 fi;
5311
5312 eval "$ac_cv_use_catch_segvs"
5313 if test "$no_cache" != 1; then
5314 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5315 fi
5316
5317 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5318 echo "$as_me:$LINENO: result: yes" >&5
5319 echo "${ECHO_T}yes" >&6
5320 else
5321 echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6
5323 fi
5324
5325
5326 enablestring=
5327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5328 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5329 no_cache=0
5330 # Check whether --enable-snglinst or --disable-snglinst was given.
5331 if test "${enable_snglinst+set}" = set; then
5332 enableval="$enable_snglinst"
5333
5334 if test "$enableval" = yes; then
5335 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5336 else
5337 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5338 fi
5339
5340 else
5341
5342 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5343 if test "x$LINE" != x ; then
5344 eval "DEFAULT_$LINE"
5345 else
5346 no_cache=1
5347 fi
5348
5349 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5350
5351 fi;
5352
5353 eval "$ac_cv_use_snglinst"
5354 if test "$no_cache" != 1; then
5355 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5356 fi
5357
5358 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5359 echo "$as_me:$LINENO: result: yes" >&5
5360 echo "${ECHO_T}yes" >&6
5361 else
5362 echo "$as_me:$LINENO: result: no" >&5
5363 echo "${ECHO_T}no" >&6
5364 fi
5365
5366
5367
5368 enablestring=
5369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5370 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5371 no_cache=0
5372 # Check whether --enable-mimetype or --disable-mimetype was given.
5373 if test "${enable_mimetype+set}" = set; then
5374 enableval="$enable_mimetype"
5375
5376 if test "$enableval" = yes; then
5377 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5378 else
5379 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5380 fi
5381
5382 else
5383
5384 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x ; then
5386 eval "DEFAULT_$LINE"
5387 else
5388 no_cache=1
5389 fi
5390
5391 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5392
5393 fi;
5394
5395 eval "$ac_cv_use_mimetype"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5398 fi
5399
5400 if test "$wxUSE_MIMETYPE" = yes; then
5401 echo "$as_me:$LINENO: result: yes" >&5
5402 echo "${ECHO_T}yes" >&6
5403 else
5404 echo "$as_me:$LINENO: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5406 fi
5407
5408
5409 enablestring=
5410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5411 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5412 no_cache=0
5413 # Check whether --enable-system_options or --disable-system_options was given.
5414 if test "${enable_system_options+set}" = set; then
5415 enableval="$enable_system_options"
5416
5417 if test "$enableval" = yes; then
5418 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5419 else
5420 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5421 fi
5422
5423 else
5424
5425 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5426 if test "x$LINE" != x ; then
5427 eval "DEFAULT_$LINE"
5428 else
5429 no_cache=1
5430 fi
5431
5432 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5433
5434 fi;
5435
5436 eval "$ac_cv_use_system_options"
5437 if test "$no_cache" != 1; then
5438 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5439 fi
5440
5441 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5442 echo "$as_me:$LINENO: result: yes" >&5
5443 echo "${ECHO_T}yes" >&6
5444 else
5445 echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6
5447 fi
5448
5449
5450
5451 enablestring=
5452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5454 no_cache=0
5455 # Check whether --enable-url or --disable-url was given.
5456 if test "${enable_url+set}" = set; then
5457 enableval="$enable_url"
5458
5459 if test "$enableval" = yes; then
5460 ac_cv_use_url='wxUSE_URL=yes'
5461 else
5462 ac_cv_use_url='wxUSE_URL=no'
5463 fi
5464
5465 else
5466
5467 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5468 if test "x$LINE" != x ; then
5469 eval "DEFAULT_$LINE"
5470 else
5471 no_cache=1
5472 fi
5473
5474 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5475
5476 fi;
5477
5478 eval "$ac_cv_use_url"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5481 fi
5482
5483 if test "$wxUSE_URL" = yes; then
5484 echo "$as_me:$LINENO: result: yes" >&5
5485 echo "${ECHO_T}yes" >&6
5486 else
5487 echo "$as_me:$LINENO: result: no" >&5
5488 echo "${ECHO_T}no" >&6
5489 fi
5490
5491
5492 enablestring=
5493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5495 no_cache=0
5496 # Check whether --enable-protocol or --disable-protocol was given.
5497 if test "${enable_protocol+set}" = set; then
5498 enableval="$enable_protocol"
5499
5500 if test "$enableval" = yes; then
5501 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5502 else
5503 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5504 fi
5505
5506 else
5507
5508 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x ; then
5510 eval "DEFAULT_$LINE"
5511 else
5512 no_cache=1
5513 fi
5514
5515 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5516
5517 fi;
5518
5519 eval "$ac_cv_use_protocol"
5520 if test "$no_cache" != 1; then
5521 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5522 fi
5523
5524 if test "$wxUSE_PROTOCOL" = yes; then
5525 echo "$as_me:$LINENO: result: yes" >&5
5526 echo "${ECHO_T}yes" >&6
5527 else
5528 echo "$as_me:$LINENO: result: no" >&5
5529 echo "${ECHO_T}no" >&6
5530 fi
5531
5532
5533 enablestring=
5534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5536 no_cache=0
5537 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5538 if test "${enable_protocol_http+set}" = set; then
5539 enableval="$enable_protocol_http"
5540
5541 if test "$enableval" = yes; then
5542 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5543 else
5544 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5545 fi
5546
5547 else
5548
5549 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5550 if test "x$LINE" != x ; then
5551 eval "DEFAULT_$LINE"
5552 else
5553 no_cache=1
5554 fi
5555
5556 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5557
5558 fi;
5559
5560 eval "$ac_cv_use_protocol_http"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5563 fi
5564
5565 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5566 echo "$as_me:$LINENO: result: yes" >&5
5567 echo "${ECHO_T}yes" >&6
5568 else
5569 echo "$as_me:$LINENO: result: no" >&5
5570 echo "${ECHO_T}no" >&6
5571 fi
5572
5573
5574 enablestring=
5575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5577 no_cache=0
5578 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5579 if test "${enable_protocol_ftp+set}" = set; then
5580 enableval="$enable_protocol_ftp"
5581
5582 if test "$enableval" = yes; then
5583 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5584 else
5585 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5586 fi
5587
5588 else
5589
5590 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x ; then
5592 eval "DEFAULT_$LINE"
5593 else
5594 no_cache=1
5595 fi
5596
5597 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5598
5599 fi;
5600
5601 eval "$ac_cv_use_protocol_ftp"
5602 if test "$no_cache" != 1; then
5603 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5604 fi
5605
5606 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5607 echo "$as_me:$LINENO: result: yes" >&5
5608 echo "${ECHO_T}yes" >&6
5609 else
5610 echo "$as_me:$LINENO: result: no" >&5
5611 echo "${ECHO_T}no" >&6
5612 fi
5613
5614
5615 enablestring=
5616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5617 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5618 no_cache=0
5619 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5620 if test "${enable_protocol_file+set}" = set; then
5621 enableval="$enable_protocol_file"
5622
5623 if test "$enableval" = yes; then
5624 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5625 else
5626 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5627 fi
5628
5629 else
5630
5631 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5632 if test "x$LINE" != x ; then
5633 eval "DEFAULT_$LINE"
5634 else
5635 no_cache=1
5636 fi
5637
5638 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5639
5640 fi;
5641
5642 eval "$ac_cv_use_protocol_file"
5643 if test "$no_cache" != 1; then
5644 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5645 fi
5646
5647 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5648 echo "$as_me:$LINENO: result: yes" >&5
5649 echo "${ECHO_T}yes" >&6
5650 else
5651 echo "$as_me:$LINENO: result: no" >&5
5652 echo "${ECHO_T}no" >&6
5653 fi
5654
5655
5656
5657
5658
5659 enablestring=
5660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5662 no_cache=0
5663 # Check whether --enable-threads or --disable-threads was given.
5664 if test "${enable_threads+set}" = set; then
5665 enableval="$enable_threads"
5666
5667 if test "$enableval" = yes; then
5668 ac_cv_use_threads='wxUSE_THREADS=yes'
5669 else
5670 ac_cv_use_threads='wxUSE_THREADS=no'
5671 fi
5672
5673 else
5674
5675 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5676 if test "x$LINE" != x ; then
5677 eval "DEFAULT_$LINE"
5678 else
5679 no_cache=1
5680 fi
5681
5682 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5683
5684 fi;
5685
5686 eval "$ac_cv_use_threads"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5689 fi
5690
5691 if test "$wxUSE_THREADS" = yes; then
5692 echo "$as_me:$LINENO: result: yes" >&5
5693 echo "${ECHO_T}yes" >&6
5694 else
5695 echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6
5697 fi
5698
5699
5700 if test "$wxUSE_GUI" = "yes"; then
5701
5702
5703
5704 enablestring=
5705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5706 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5707 no_cache=0
5708 # Check whether --enable-docview or --disable-docview was given.
5709 if test "${enable_docview+set}" = set; then
5710 enableval="$enable_docview"
5711
5712 if test "$enableval" = yes; then
5713 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5714 else
5715 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5716 fi
5717
5718 else
5719
5720 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5721 if test "x$LINE" != x ; then
5722 eval "DEFAULT_$LINE"
5723 else
5724 no_cache=1
5725 fi
5726
5727 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5728
5729 fi;
5730
5731 eval "$ac_cv_use_docview"
5732 if test "$no_cache" != 1; then
5733 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5734 fi
5735
5736 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5737 echo "$as_me:$LINENO: result: yes" >&5
5738 echo "${ECHO_T}yes" >&6
5739 else
5740 echo "$as_me:$LINENO: result: no" >&5
5741 echo "${ECHO_T}no" >&6
5742 fi
5743
5744
5745 enablestring=
5746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5747 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5748 no_cache=0
5749 # Check whether --enable-help or --disable-help was given.
5750 if test "${enable_help+set}" = set; then
5751 enableval="$enable_help"
5752
5753 if test "$enableval" = yes; then
5754 ac_cv_use_help='wxUSE_HELP=yes'
5755 else
5756 ac_cv_use_help='wxUSE_HELP=no'
5757 fi
5758
5759 else
5760
5761 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x ; then
5763 eval "DEFAULT_$LINE"
5764 else
5765 no_cache=1
5766 fi
5767
5768 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5769
5770 fi;
5771
5772 eval "$ac_cv_use_help"
5773 if test "$no_cache" != 1; then
5774 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5775 fi
5776
5777 if test "$wxUSE_HELP" = yes; then
5778 echo "$as_me:$LINENO: result: yes" >&5
5779 echo "${ECHO_T}yes" >&6
5780 else
5781 echo "$as_me:$LINENO: result: no" >&5
5782 echo "${ECHO_T}no" >&6
5783 fi
5784
5785
5786 enablestring=
5787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5788 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5789 no_cache=0
5790 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5791 if test "${enable_mshtmlhelp+set}" = set; then
5792 enableval="$enable_mshtmlhelp"
5793
5794 if test "$enableval" = yes; then
5795 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5796 else
5797 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5798 fi
5799
5800 else
5801
5802 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5803 if test "x$LINE" != x ; then
5804 eval "DEFAULT_$LINE"
5805 else
5806 no_cache=1
5807 fi
5808
5809 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5810
5811 fi;
5812
5813 eval "$ac_cv_use_mshtmlhelp"
5814 if test "$no_cache" != 1; then
5815 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5816 fi
5817
5818 if test "$wxUSE_MS_HTML_HELP" = yes; then
5819 echo "$as_me:$LINENO: result: yes" >&5
5820 echo "${ECHO_T}yes" >&6
5821 else
5822 echo "$as_me:$LINENO: result: no" >&5
5823 echo "${ECHO_T}no" >&6
5824 fi
5825
5826
5827 enablestring=
5828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5829 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5830 no_cache=0
5831 # Check whether --enable-html or --disable-html was given.
5832 if test "${enable_html+set}" = set; then
5833 enableval="$enable_html"
5834
5835 if test "$enableval" = yes; then
5836 ac_cv_use_html='wxUSE_HTML=yes'
5837 else
5838 ac_cv_use_html='wxUSE_HTML=no'
5839 fi
5840
5841 else
5842
5843 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5844 if test "x$LINE" != x ; then
5845 eval "DEFAULT_$LINE"
5846 else
5847 no_cache=1
5848 fi
5849
5850 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5851
5852 fi;
5853
5854 eval "$ac_cv_use_html"
5855 if test "$no_cache" != 1; then
5856 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5857 fi
5858
5859 if test "$wxUSE_HTML" = yes; then
5860 echo "$as_me:$LINENO: result: yes" >&5
5861 echo "${ECHO_T}yes" >&6
5862 else
5863 echo "$as_me:$LINENO: result: no" >&5
5864 echo "${ECHO_T}no" >&6
5865 fi
5866
5867
5868 enablestring=
5869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5870 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5871 no_cache=0
5872 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5873 if test "${enable_htmlhelp+set}" = set; then
5874 enableval="$enable_htmlhelp"
5875
5876 if test "$enableval" = yes; then
5877 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5878 else
5879 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5880 fi
5881
5882 else
5883
5884 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5885 if test "x$LINE" != x ; then
5886 eval "DEFAULT_$LINE"
5887 else
5888 no_cache=1
5889 fi
5890
5891 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5892
5893 fi;
5894
5895 eval "$ac_cv_use_htmlhelp"
5896 if test "$no_cache" != 1; then
5897 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5898 fi
5899
5900 if test "$wxUSE_WXHTML_HELP" = yes; then
5901 echo "$as_me:$LINENO: result: yes" >&5
5902 echo "${ECHO_T}yes" >&6
5903 else
5904 echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6
5906 fi
5907
5908
5909 enablestring=
5910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5911 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5912 no_cache=0
5913 # Check whether --enable-constraints or --disable-constraints was given.
5914 if test "${enable_constraints+set}" = set; then
5915 enableval="$enable_constraints"
5916
5917 if test "$enableval" = yes; then
5918 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5919 else
5920 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5921 fi
5922
5923 else
5924
5925 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5926 if test "x$LINE" != x ; then
5927 eval "DEFAULT_$LINE"
5928 else
5929 no_cache=1
5930 fi
5931
5932 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5933
5934 fi;
5935
5936 eval "$ac_cv_use_constraints"
5937 if test "$no_cache" != 1; then
5938 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5939 fi
5940
5941 if test "$wxUSE_CONSTRAINTS" = yes; then
5942 echo "$as_me:$LINENO: result: yes" >&5
5943 echo "${ECHO_T}yes" >&6
5944 else
5945 echo "$as_me:$LINENO: result: no" >&5
5946 echo "${ECHO_T}no" >&6
5947 fi
5948
5949
5950 enablestring=
5951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5952 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5953 no_cache=0
5954 # Check whether --enable-printarch or --disable-printarch was given.
5955 if test "${enable_printarch+set}" = set; then
5956 enableval="$enable_printarch"
5957
5958 if test "$enableval" = yes; then
5959 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5960 else
5961 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5962 fi
5963
5964 else
5965
5966 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5967 if test "x$LINE" != x ; then
5968 eval "DEFAULT_$LINE"
5969 else
5970 no_cache=1
5971 fi
5972
5973 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5974
5975 fi;
5976
5977 eval "$ac_cv_use_printarch"
5978 if test "$no_cache" != 1; then
5979 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5980 fi
5981
5982 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5983 echo "$as_me:$LINENO: result: yes" >&5
5984 echo "${ECHO_T}yes" >&6
5985 else
5986 echo "$as_me:$LINENO: result: no" >&5
5987 echo "${ECHO_T}no" >&6
5988 fi
5989
5990
5991 enablestring=
5992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
5993 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
5994 no_cache=0
5995 # Check whether --enable-mdi or --disable-mdi was given.
5996 if test "${enable_mdi+set}" = set; then
5997 enableval="$enable_mdi"
5998
5999 if test "$enableval" = yes; then
6000 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6001 else
6002 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6003 fi
6004
6005 else
6006
6007 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6008 if test "x$LINE" != x ; then
6009 eval "DEFAULT_$LINE"
6010 else
6011 no_cache=1
6012 fi
6013
6014 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6015
6016 fi;
6017
6018 eval "$ac_cv_use_mdi"
6019 if test "$no_cache" != 1; then
6020 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6021 fi
6022
6023 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6024 echo "$as_me:$LINENO: result: yes" >&5
6025 echo "${ECHO_T}yes" >&6
6026 else
6027 echo "$as_me:$LINENO: result: no" >&5
6028 echo "${ECHO_T}no" >&6
6029 fi
6030
6031
6032 enablestring=
6033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6034 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6035 no_cache=0
6036 # Check whether --enable-loggui or --disable-loggui was given.
6037 if test "${enable_loggui+set}" = set; then
6038 enableval="$enable_loggui"
6039
6040 if test "$enableval" = yes; then
6041 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6042 else
6043 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6044 fi
6045
6046 else
6047
6048 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6049 if test "x$LINE" != x ; then
6050 eval "DEFAULT_$LINE"
6051 else
6052 no_cache=1
6053 fi
6054
6055 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6056
6057 fi;
6058
6059 eval "$ac_cv_use_loggui"
6060 if test "$no_cache" != 1; then
6061 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6062 fi
6063
6064 if test "$wxUSE_LOGGUI" = yes; then
6065 echo "$as_me:$LINENO: result: yes" >&5
6066 echo "${ECHO_T}yes" >&6
6067 else
6068 echo "$as_me:$LINENO: result: no" >&5
6069 echo "${ECHO_T}no" >&6
6070 fi
6071
6072
6073 enablestring=
6074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6075 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6076 no_cache=0
6077 # Check whether --enable-logwin or --disable-logwin was given.
6078 if test "${enable_logwin+set}" = set; then
6079 enableval="$enable_logwin"
6080
6081 if test "$enableval" = yes; then
6082 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6083 else
6084 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6085 fi
6086
6087 else
6088
6089 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6090 if test "x$LINE" != x ; then
6091 eval "DEFAULT_$LINE"
6092 else
6093 no_cache=1
6094 fi
6095
6096 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6097
6098 fi;
6099
6100 eval "$ac_cv_use_logwin"
6101 if test "$no_cache" != 1; then
6102 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6103 fi
6104
6105 if test "$wxUSE_LOGWINDOW" = yes; then
6106 echo "$as_me:$LINENO: result: yes" >&5
6107 echo "${ECHO_T}yes" >&6
6108 else
6109 echo "$as_me:$LINENO: result: no" >&5
6110 echo "${ECHO_T}no" >&6
6111 fi
6112
6113
6114 enablestring=
6115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6116 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6117 no_cache=0
6118 # Check whether --enable-logdialog or --disable-logdialog was given.
6119 if test "${enable_logdialog+set}" = set; then
6120 enableval="$enable_logdialog"
6121
6122 if test "$enableval" = yes; then
6123 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6124 else
6125 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6126 fi
6127
6128 else
6129
6130 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6131 if test "x$LINE" != x ; then
6132 eval "DEFAULT_$LINE"
6133 else
6134 no_cache=1
6135 fi
6136
6137 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6138
6139 fi;
6140
6141 eval "$ac_cv_use_logdialog"
6142 if test "$no_cache" != 1; then
6143 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6144 fi
6145
6146 if test "$wxUSE_LOGDIALOG" = yes; then
6147 echo "$as_me:$LINENO: result: yes" >&5
6148 echo "${ECHO_T}yes" >&6
6149 else
6150 echo "$as_me:$LINENO: result: no" >&5
6151 echo "${ECHO_T}no" >&6
6152 fi
6153
6154
6155
6156 enablestring=
6157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6159 no_cache=0
6160 # Check whether --enable-postscript or --disable-postscript was given.
6161 if test "${enable_postscript+set}" = set; then
6162 enableval="$enable_postscript"
6163
6164 if test "$enableval" = yes; then
6165 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6166 else
6167 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6168 fi
6169
6170 else
6171
6172 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6173 if test "x$LINE" != x ; then
6174 eval "DEFAULT_$LINE"
6175 else
6176 no_cache=1
6177 fi
6178
6179 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6180
6181 fi;
6182
6183 eval "$ac_cv_use_postscript"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6186 fi
6187
6188 if test "$wxUSE_POSTSCRIPT" = yes; then
6189 echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6
6191 else
6192 echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6
6194 fi
6195
6196
6197
6198
6199
6200 enablestring=
6201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6202 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6203 no_cache=0
6204 # Check whether --enable-prologio or --disable-prologio was given.
6205 if test "${enable_prologio+set}" = set; then
6206 enableval="$enable_prologio"
6207
6208 if test "$enableval" = yes; then
6209 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6210 else
6211 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6212 fi
6213
6214 else
6215
6216 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6217 if test "x$LINE" != x ; then
6218 eval "DEFAULT_$LINE"
6219 else
6220 no_cache=1
6221 fi
6222
6223 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6224
6225 fi;
6226
6227 eval "$ac_cv_use_prologio"
6228 if test "$no_cache" != 1; then
6229 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6230 fi
6231
6232 if test "$wxUSE_PROLOGIO" = yes; then
6233 echo "$as_me:$LINENO: result: yes" >&5
6234 echo "${ECHO_T}yes" >&6
6235 else
6236 echo "$as_me:$LINENO: result: no" >&5
6237 echo "${ECHO_T}no" >&6
6238 fi
6239
6240
6241 enablestring=
6242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6244 no_cache=0
6245 # Check whether --enable-resources or --disable-resources was given.
6246 if test "${enable_resources+set}" = set; then
6247 enableval="$enable_resources"
6248
6249 if test "$enableval" = yes; then
6250 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6251 else
6252 ac_cv_use_resources='wxUSE_RESOURCES=no'
6253 fi
6254
6255 else
6256
6257 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6258 if test "x$LINE" != x ; then
6259 eval "DEFAULT_$LINE"
6260 else
6261 no_cache=1
6262 fi
6263
6264 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6265
6266 fi;
6267
6268 eval "$ac_cv_use_resources"
6269 if test "$no_cache" != 1; then
6270 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6271 fi
6272
6273 if test "$wxUSE_RESOURCES" = yes; then
6274 echo "$as_me:$LINENO: result: yes" >&5
6275 echo "${ECHO_T}yes" >&6
6276 else
6277 echo "$as_me:$LINENO: result: no" >&5
6278 echo "${ECHO_T}no" >&6
6279 fi
6280
6281
6282
6283
6284 enablestring=
6285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6286 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6287 no_cache=0
6288 # Check whether --enable-clipboard or --disable-clipboard was given.
6289 if test "${enable_clipboard+set}" = set; then
6290 enableval="$enable_clipboard"
6291
6292 if test "$enableval" = yes; then
6293 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6294 else
6295 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6296 fi
6297
6298 else
6299
6300 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6301 if test "x$LINE" != x ; then
6302 eval "DEFAULT_$LINE"
6303 else
6304 no_cache=1
6305 fi
6306
6307 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6308
6309 fi;
6310
6311 eval "$ac_cv_use_clipboard"
6312 if test "$no_cache" != 1; then
6313 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6314 fi
6315
6316 if test "$wxUSE_CLIPBOARD" = yes; then
6317 echo "$as_me:$LINENO: result: yes" >&5
6318 echo "${ECHO_T}yes" >&6
6319 else
6320 echo "$as_me:$LINENO: result: no" >&5
6321 echo "${ECHO_T}no" >&6
6322 fi
6323
6324
6325 enablestring=
6326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6327 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6328 no_cache=0
6329 # Check whether --enable-dnd or --disable-dnd was given.
6330 if test "${enable_dnd+set}" = set; then
6331 enableval="$enable_dnd"
6332
6333 if test "$enableval" = yes; then
6334 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6335 else
6336 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6337 fi
6338
6339 else
6340
6341 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6342 if test "x$LINE" != x ; then
6343 eval "DEFAULT_$LINE"
6344 else
6345 no_cache=1
6346 fi
6347
6348 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6349
6350 fi;
6351
6352 eval "$ac_cv_use_dnd"
6353 if test "$no_cache" != 1; then
6354 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6355 fi
6356
6357 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6358 echo "$as_me:$LINENO: result: yes" >&5
6359 echo "${ECHO_T}yes" >&6
6360 else
6361 echo "$as_me:$LINENO: result: no" >&5
6362 echo "${ECHO_T}no" >&6
6363 fi
6364
6365
6366 enablestring=
6367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6368 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6369 no_cache=0
6370 # Check whether --enable-metafile or --disable-metafile was given.
6371 if test "${enable_metafile+set}" = set; then
6372 enableval="$enable_metafile"
6373
6374 if test "$enableval" = yes; then
6375 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6376 else
6377 ac_cv_use_metafile='wxUSE_METAFILE=no'
6378 fi
6379
6380 else
6381
6382 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x ; then
6384 eval "DEFAULT_$LINE"
6385 else
6386 no_cache=1
6387 fi
6388
6389 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6390
6391 fi;
6392
6393 eval "$ac_cv_use_metafile"
6394 if test "$no_cache" != 1; then
6395 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6396 fi
6397
6398 if test "$wxUSE_METAFILE" = yes; then
6399 echo "$as_me:$LINENO: result: yes" >&5
6400 echo "${ECHO_T}yes" >&6
6401 else
6402 echo "$as_me:$LINENO: result: no" >&5
6403 echo "${ECHO_T}no" >&6
6404 fi
6405
6406
6407
6408
6409
6410 enablestring=
6411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6412 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6413 no_cache=0
6414 # Check whether --enable-controls or --disable-controls was given.
6415 if test "${enable_controls+set}" = set; then
6416 enableval="$enable_controls"
6417
6418 if test "$enableval" = yes; then
6419 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6420 else
6421 ac_cv_use_controls='wxUSE_CONTROLS=no'
6422 fi
6423
6424 else
6425
6426 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6427 if test "x$LINE" != x ; then
6428 eval "DEFAULT_$LINE"
6429 else
6430 no_cache=1
6431 fi
6432
6433 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6434
6435 fi;
6436
6437 eval "$ac_cv_use_controls"
6438 if test "$no_cache" != 1; then
6439 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6440 fi
6441
6442 if test "$wxUSE_CONTROLS" = yes; then
6443 echo "$as_me:$LINENO: result: yes" >&5
6444 echo "${ECHO_T}yes" >&6
6445 else
6446 echo "$as_me:$LINENO: result: no" >&5
6447 echo "${ECHO_T}no" >&6
6448 fi
6449
6450
6451 if test "$wxUSE_CONTROLS" = "yes"; then
6452 DEFAULT_wxUSE_ACCEL=yes
6453 DEFAULT_wxUSE_BMPBUTTON=yes
6454 DEFAULT_wxUSE_BUTTON=yes
6455 DEFAULT_wxUSE_CALCTRL=no
6456 DEFAULT_wxUSE_CARET=yes
6457 DEFAULT_wxUSE_COMBOBOX=yes
6458 DEFAULT_wxUSE_CHECKBOX=yes
6459 DEFAULT_wxUSE_CHECKLISTBOX=yes
6460 DEFAULT_wxUSE_CHOICE=yes
6461 DEFAULT_wxUSE_GAUGE=yes
6462 DEFAULT_wxUSE_GRID=yes
6463 DEFAULT_wxUSE_IMAGLIST=yes
6464 DEFAULT_wxUSE_LISTBOX=yes
6465 DEFAULT_wxUSE_LISTCTRL=yes
6466 DEFAULT_wxUSE_NOTEBOOK=yes
6467 DEFAULT_wxUSE_RADIOBOX=yes
6468 DEFAULT_wxUSE_RADIOBTN=yes
6469 DEFAULT_wxUSE_SASH=yes
6470 DEFAULT_wxUSE_SCROLLBAR=yes
6471 DEFAULT_wxUSE_SLIDER=yes
6472 DEFAULT_wxUSE_SPINBTN=yes
6473 DEFAULT_wxUSE_SPINCTRL=yes
6474 DEFAULT_wxUSE_SPLITTER=yes
6475 DEFAULT_wxUSE_STATBMP=yes
6476 DEFAULT_wxUSE_STATBOX=yes
6477 DEFAULT_wxUSE_STATLINE=yes
6478 DEFAULT_wxUSE_STATUSBAR=yes
6479 DEFAULT_wxUSE_TAB_DIALOG=yes
6480 DEFAULT_wxUSE_TOGGLEBTN=yes
6481 DEFAULT_wxUSE_TOOLBAR=yes
6482 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6483 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6484 DEFAULT_wxUSE_TOOLTIPS=yes
6485 DEFAULT_wxUSE_TREECTRL=yes
6486 DEFAULT_wxUSE_POPUPWIN=yes
6487 DEFAULT_wxUSE_TIPWINDOW=yes
6488 elif test "$wxUSE_CONTROLS" = "no"; then
6489 DEFAULT_wxUSE_ACCEL=no
6490 DEFAULT_wxUSE_BMPBUTTON=no
6491 DEFAULT_wxUSE_BUTTON=no
6492 DEFAULT_wxUSE_CALCTRL=no
6493 DEFAULT_wxUSE_CARET=no
6494 DEFAULT_wxUSE_COMBOBOX=no
6495 DEFAULT_wxUSE_CHECKBOX=no
6496 DEFAULT_wxUSE_CHECKLISTBOX=no
6497 DEFAULT_wxUSE_CHOICE=no
6498 DEFAULT_wxUSE_GAUGE=no
6499 DEFAULT_wxUSE_GRID=no
6500 DEFAULT_wxUSE_IMAGLIST=no
6501 DEFAULT_wxUSE_LISTBOX=no
6502 DEFAULT_wxUSE_LISTCTRL=no
6503 DEFAULT_wxUSE_NOTEBOOK=no
6504 DEFAULT_wxUSE_RADIOBOX=no
6505 DEFAULT_wxUSE_RADIOBTN=no
6506 DEFAULT_wxUSE_SASH=no
6507 DEFAULT_wxUSE_SCROLLBAR=no
6508 DEFAULT_wxUSE_SLIDER=no
6509 DEFAULT_wxUSE_SPINBTN=no
6510 DEFAULT_wxUSE_SPINCTRL=no
6511 DEFAULT_wxUSE_SPLITTER=no
6512 DEFAULT_wxUSE_STATBMP=no
6513 DEFAULT_wxUSE_STATBOX=no
6514 DEFAULT_wxUSE_STATLINE=no
6515 DEFAULT_wxUSE_STATUSBAR=no
6516 DEFAULT_wxUSE_TAB_DIALOG=no
6517 DEFAULT_wxUSE_TOGGLEBTN=no
6518 DEFAULT_wxUSE_TOOLBAR=no
6519 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6520 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6521 DEFAULT_wxUSE_TOOLTIPS=no
6522 DEFAULT_wxUSE_TREECTRL=no
6523 DEFAULT_wxUSE_POPUPWIN=no
6524 DEFAULT_wxUSE_TIPWINDOW=no
6525 fi
6526
6527 ## FIXME: This is a blatant hack
6528 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6529 wxUSE_PRINTING_ARCHITECTURE=no
6530 wxUSE_DRAG_AND_DROP=no
6531 # Generic notebook requires tab dialog
6532 DEFAULT_wxUSE_TABDIALOG=yes
6533 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6534 DEFAULT_wxUSE_SCROLLBAR=no
6535 DEFAULT_wxUSE_TOOLTIPS=no
6536 DEFAULT_wxUSE_DRAGIMAGE=no
6537 fi
6538
6539
6540 enablestring=
6541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6543 no_cache=0
6544 # Check whether --enable-accel or --disable-accel was given.
6545 if test "${enable_accel+set}" = set; then
6546 enableval="$enable_accel"
6547
6548 if test "$enableval" = yes; then
6549 ac_cv_use_accel='wxUSE_ACCEL=yes'
6550 else
6551 ac_cv_use_accel='wxUSE_ACCEL=no'
6552 fi
6553
6554 else
6555
6556 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x ; then
6558 eval "DEFAULT_$LINE"
6559 else
6560 no_cache=1
6561 fi
6562
6563 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6564
6565 fi;
6566
6567 eval "$ac_cv_use_accel"
6568 if test "$no_cache" != 1; then
6569 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6570 fi
6571
6572 if test "$wxUSE_ACCEL" = yes; then
6573 echo "$as_me:$LINENO: result: yes" >&5
6574 echo "${ECHO_T}yes" >&6
6575 else
6576 echo "$as_me:$LINENO: result: no" >&5
6577 echo "${ECHO_T}no" >&6
6578 fi
6579
6580
6581 enablestring=
6582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6583 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6584 no_cache=0
6585 # Check whether --enable-button or --disable-button was given.
6586 if test "${enable_button+set}" = set; then
6587 enableval="$enable_button"
6588
6589 if test "$enableval" = yes; then
6590 ac_cv_use_button='wxUSE_BUTTON=yes'
6591 else
6592 ac_cv_use_button='wxUSE_BUTTON=no'
6593 fi
6594
6595 else
6596
6597 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6598 if test "x$LINE" != x ; then
6599 eval "DEFAULT_$LINE"
6600 else
6601 no_cache=1
6602 fi
6603
6604 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6605
6606 fi;
6607
6608 eval "$ac_cv_use_button"
6609 if test "$no_cache" != 1; then
6610 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6611 fi
6612
6613 if test "$wxUSE_BUTTON" = yes; then
6614 echo "$as_me:$LINENO: result: yes" >&5
6615 echo "${ECHO_T}yes" >&6
6616 else
6617 echo "$as_me:$LINENO: result: no" >&5
6618 echo "${ECHO_T}no" >&6
6619 fi
6620
6621
6622 enablestring=
6623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6625 no_cache=0
6626 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6627 if test "${enable_bmpbutton+set}" = set; then
6628 enableval="$enable_bmpbutton"
6629
6630 if test "$enableval" = yes; then
6631 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6632 else
6633 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6634 fi
6635
6636 else
6637
6638 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6639 if test "x$LINE" != x ; then
6640 eval "DEFAULT_$LINE"
6641 else
6642 no_cache=1
6643 fi
6644
6645 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6646
6647 fi;
6648
6649 eval "$ac_cv_use_bmpbutton"
6650 if test "$no_cache" != 1; then
6651 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6652 fi
6653
6654 if test "$wxUSE_BMPBUTTON" = yes; then
6655 echo "$as_me:$LINENO: result: yes" >&5
6656 echo "${ECHO_T}yes" >&6
6657 else
6658 echo "$as_me:$LINENO: result: no" >&5
6659 echo "${ECHO_T}no" >&6
6660 fi
6661
6662
6663 enablestring=
6664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6665 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6666 no_cache=0
6667 # Check whether --enable-calendar or --disable-calendar was given.
6668 if test "${enable_calendar+set}" = set; then
6669 enableval="$enable_calendar"
6670
6671 if test "$enableval" = yes; then
6672 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6673 else
6674 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6675 fi
6676
6677 else
6678
6679 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x ; then
6681 eval "DEFAULT_$LINE"
6682 else
6683 no_cache=1
6684 fi
6685
6686 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6687
6688 fi;
6689
6690 eval "$ac_cv_use_calendar"
6691 if test "$no_cache" != 1; then
6692 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6693 fi
6694
6695 if test "$wxUSE_CALCTRL" = yes; then
6696 echo "$as_me:$LINENO: result: yes" >&5
6697 echo "${ECHO_T}yes" >&6
6698 else
6699 echo "$as_me:$LINENO: result: no" >&5
6700 echo "${ECHO_T}no" >&6
6701 fi
6702
6703
6704 enablestring=
6705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6706 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6707 no_cache=0
6708 # Check whether --enable-caret or --disable-caret was given.
6709 if test "${enable_caret+set}" = set; then
6710 enableval="$enable_caret"
6711
6712 if test "$enableval" = yes; then
6713 ac_cv_use_caret='wxUSE_CARET=yes'
6714 else
6715 ac_cv_use_caret='wxUSE_CARET=no'
6716 fi
6717
6718 else
6719
6720 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x ; then
6722 eval "DEFAULT_$LINE"
6723 else
6724 no_cache=1
6725 fi
6726
6727 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6728
6729 fi;
6730
6731 eval "$ac_cv_use_caret"
6732 if test "$no_cache" != 1; then
6733 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6734 fi
6735
6736 if test "$wxUSE_CARET" = yes; then
6737 echo "$as_me:$LINENO: result: yes" >&5
6738 echo "${ECHO_T}yes" >&6
6739 else
6740 echo "$as_me:$LINENO: result: no" >&5
6741 echo "${ECHO_T}no" >&6
6742 fi
6743
6744
6745 enablestring=
6746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6747 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6748 no_cache=0
6749 # Check whether --enable-checkbox or --disable-checkbox was given.
6750 if test "${enable_checkbox+set}" = set; then
6751 enableval="$enable_checkbox"
6752
6753 if test "$enableval" = yes; then
6754 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6755 else
6756 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6757 fi
6758
6759 else
6760
6761 LINE=`grep "wxUSE_CHECKBOX" ${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_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6769
6770 fi;
6771
6772 eval "$ac_cv_use_checkbox"
6773 if test "$no_cache" != 1; then
6774 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6775 fi
6776
6777 if test "$wxUSE_CHECKBOX" = 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}-checklst" >&5
6788 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6789 no_cache=0
6790 # Check whether --enable-checklst or --disable-checklst was given.
6791 if test "${enable_checklst+set}" = set; then
6792 enableval="$enable_checklst"
6793
6794 if test "$enableval" = yes; then
6795 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6796 else
6797 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6798 fi
6799
6800 else
6801
6802 LINE=`grep "wxUSE_CHECKLST" ${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_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6810
6811 fi;
6812
6813 eval "$ac_cv_use_checklst"
6814 if test "$no_cache" != 1; then
6815 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6816 fi
6817
6818 if test "$wxUSE_CHECKLST" = 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}-choice" >&5
6829 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6830 no_cache=0
6831 # Check whether --enable-choice or --disable-choice was given.
6832 if test "${enable_choice+set}" = set; then
6833 enableval="$enable_choice"
6834
6835 if test "$enableval" = yes; then
6836 ac_cv_use_choice='wxUSE_CHOICE=yes'
6837 else
6838 ac_cv_use_choice='wxUSE_CHOICE=no'
6839 fi
6840
6841 else
6842
6843 LINE=`grep "wxUSE_CHOICE" ${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_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6851
6852 fi;
6853
6854 eval "$ac_cv_use_choice"
6855 if test "$no_cache" != 1; then
6856 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6857 fi
6858
6859 if test "$wxUSE_CHOICE" = 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}-combobox" >&5
6870 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6871 no_cache=0
6872 # Check whether --enable-combobox or --disable-combobox was given.
6873 if test "${enable_combobox+set}" = set; then
6874 enableval="$enable_combobox"
6875
6876 if test "$enableval" = yes; then
6877 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6878 else
6879 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6880 fi
6881
6882 else
6883
6884 LINE=`grep "wxUSE_COMBOBOX" ${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_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6892
6893 fi;
6894
6895 eval "$ac_cv_use_combobox"
6896 if test "$no_cache" != 1; then
6897 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6898 fi
6899
6900 if test "$wxUSE_COMBOBOX" = 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}-display" >&5
6911 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6912 no_cache=0
6913 # Check whether --enable-display or --disable-display was given.
6914 if test "${enable_display+set}" = set; then
6915 enableval="$enable_display"
6916
6917 if test "$enableval" = yes; then
6918 ac_cv_use_display='wxUSE_DISPLAY=yes'
6919 else
6920 ac_cv_use_display='wxUSE_DISPLAY=no'
6921 fi
6922
6923 else
6924
6925 LINE=`grep "wxUSE_DISPLAY" ${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_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6933
6934 fi;
6935
6936 eval "$ac_cv_use_display"
6937 if test "$no_cache" != 1; then
6938 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6939 fi
6940
6941 if test "$wxUSE_DISPLAY" = 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}-gauge" >&5
6952 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6953 no_cache=0
6954 # Check whether --enable-gauge or --disable-gauge was given.
6955 if test "${enable_gauge+set}" = set; then
6956 enableval="$enable_gauge"
6957
6958 if test "$enableval" = yes; then
6959 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6960 else
6961 ac_cv_use_gauge='wxUSE_GAUGE=no'
6962 fi
6963
6964 else
6965
6966 LINE=`grep "wxUSE_GAUGE" ${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_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6974
6975 fi;
6976
6977 eval "$ac_cv_use_gauge"
6978 if test "$no_cache" != 1; then
6979 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6980 fi
6981
6982 if test "$wxUSE_GAUGE" = 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}-grid" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
6994 no_cache=0
6995 # Check whether --enable-grid or --disable-grid was given.
6996 if test "${enable_grid+set}" = set; then
6997 enableval="$enable_grid"
6998
6999 if test "$enableval" = yes; then
7000 ac_cv_use_grid='wxUSE_GRID=yes'
7001 else
7002 ac_cv_use_grid='wxUSE_GRID=no'
7003 fi
7004
7005 else
7006
7007 LINE=`grep "wxUSE_GRID" ${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_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7015
7016 fi;
7017
7018 eval "$ac_cv_use_grid"
7019 if test "$no_cache" != 1; then
7020 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7021 fi
7022
7023 if test "$wxUSE_GRID" = 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}-imaglist" >&5
7034 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7035 no_cache=0
7036 # Check whether --enable-imaglist or --disable-imaglist was given.
7037 if test "${enable_imaglist+set}" = set; then
7038 enableval="$enable_imaglist"
7039
7040 if test "$enableval" = yes; then
7041 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7042 else
7043 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7044 fi
7045
7046 else
7047
7048 LINE=`grep "wxUSE_IMAGLIST" ${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_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7056
7057 fi;
7058
7059 eval "$ac_cv_use_imaglist"
7060 if test "$no_cache" != 1; then
7061 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7062 fi
7063
7064 if test "$wxUSE_IMAGLIST" = 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}-listbox" >&5
7075 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7076 no_cache=0
7077 # Check whether --enable-listbox or --disable-listbox was given.
7078 if test "${enable_listbox+set}" = set; then
7079 enableval="$enable_listbox"
7080
7081 if test "$enableval" = yes; then
7082 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7083 else
7084 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7085 fi
7086
7087 else
7088
7089 LINE=`grep "wxUSE_LISTBOX" ${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_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7097
7098 fi;
7099
7100 eval "$ac_cv_use_listbox"
7101 if test "$no_cache" != 1; then
7102 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7103 fi
7104
7105 if test "$wxUSE_LISTBOX" = 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}-listctrl" >&5
7116 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7117 no_cache=0
7118 # Check whether --enable-listctrl or --disable-listctrl was given.
7119 if test "${enable_listctrl+set}" = set; then
7120 enableval="$enable_listctrl"
7121
7122 if test "$enableval" = yes; then
7123 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7124 else
7125 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7126 fi
7127
7128 else
7129
7130 LINE=`grep "wxUSE_LISTCTRL" ${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_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7138
7139 fi;
7140
7141 eval "$ac_cv_use_listctrl"
7142 if test "$no_cache" != 1; then
7143 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7144 fi
7145
7146 if test "$wxUSE_LISTCTRL" = 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}-notebook" >&5
7157 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7158 no_cache=0
7159 # Check whether --enable-notebook or --disable-notebook was given.
7160 if test "${enable_notebook+set}" = set; then
7161 enableval="$enable_notebook"
7162
7163 if test "$enableval" = yes; then
7164 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7165 else
7166 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7167 fi
7168
7169 else
7170
7171 LINE=`grep "wxUSE_NOTEBOOK" ${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_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7179
7180 fi;
7181
7182 eval "$ac_cv_use_notebook"
7183 if test "$no_cache" != 1; then
7184 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7185 fi
7186
7187 if test "$wxUSE_NOTEBOOK" = 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}-radiobox" >&5
7198 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7199 no_cache=0
7200 # Check whether --enable-radiobox or --disable-radiobox was given.
7201 if test "${enable_radiobox+set}" = set; then
7202 enableval="$enable_radiobox"
7203
7204 if test "$enableval" = yes; then
7205 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7206 else
7207 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7208 fi
7209
7210 else
7211
7212 LINE=`grep "wxUSE_RADIOBOX" ${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_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7220
7221 fi;
7222
7223 eval "$ac_cv_use_radiobox"
7224 if test "$no_cache" != 1; then
7225 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7226 fi
7227
7228 if test "$wxUSE_RADIOBOX" = 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}-radiobtn" >&5
7239 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7240 no_cache=0
7241 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7242 if test "${enable_radiobtn+set}" = set; then
7243 enableval="$enable_radiobtn"
7244
7245 if test "$enableval" = yes; then
7246 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7247 else
7248 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7249 fi
7250
7251 else
7252
7253 LINE=`grep "wxUSE_RADIOBTN" ${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_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7261
7262 fi;
7263
7264 eval "$ac_cv_use_radiobtn"
7265 if test "$no_cache" != 1; then
7266 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7267 fi
7268
7269 if test "$wxUSE_RADIOBTN" = 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}-sash" >&5
7280 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7281 no_cache=0
7282 # Check whether --enable-sash or --disable-sash was given.
7283 if test "${enable_sash+set}" = set; then
7284 enableval="$enable_sash"
7285
7286 if test "$enableval" = yes; then
7287 ac_cv_use_sash='wxUSE_SASH=yes'
7288 else
7289 ac_cv_use_sash='wxUSE_SASH=no'
7290 fi
7291
7292 else
7293
7294 LINE=`grep "wxUSE_SASH" ${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_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7302
7303 fi;
7304
7305 eval "$ac_cv_use_sash"
7306 if test "$no_cache" != 1; then
7307 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7308 fi
7309
7310 if test "$wxUSE_SASH" = 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}-scrollbar" >&5
7321 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7322 no_cache=0
7323 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7324 if test "${enable_scrollbar+set}" = set; then
7325 enableval="$enable_scrollbar"
7326
7327 if test "$enableval" = yes; then
7328 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7329 else
7330 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7331 fi
7332
7333 else
7334
7335 LINE=`grep "wxUSE_SCROLLBAR" ${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_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7343
7344 fi;
7345
7346 eval "$ac_cv_use_scrollbar"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7349 fi
7350
7351 if test "$wxUSE_SCROLLBAR" = 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}-slider" >&5
7362 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7363 no_cache=0
7364 # Check whether --enable-slider or --disable-slider was given.
7365 if test "${enable_slider+set}" = set; then
7366 enableval="$enable_slider"
7367
7368 if test "$enableval" = yes; then
7369 ac_cv_use_slider='wxUSE_SLIDER=yes'
7370 else
7371 ac_cv_use_slider='wxUSE_SLIDER=no'
7372 fi
7373
7374 else
7375
7376 LINE=`grep "wxUSE_SLIDER" ${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_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7384
7385 fi;
7386
7387 eval "$ac_cv_use_slider"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7390 fi
7391
7392 if test "$wxUSE_SLIDER" = 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}-spinbtn" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7404 no_cache=0
7405 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7406 if test "${enable_spinbtn+set}" = set; then
7407 enableval="$enable_spinbtn"
7408
7409 if test "$enableval" = yes; then
7410 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7411 else
7412 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7413 fi
7414
7415 else
7416
7417 LINE=`grep "wxUSE_SPINBTN" ${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_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7425
7426 fi;
7427
7428 eval "$ac_cv_use_spinbtn"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7431 fi
7432
7433 if test "$wxUSE_SPINBTN" = 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}-spinctrl" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7445 no_cache=0
7446 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7447 if test "${enable_spinctrl+set}" = set; then
7448 enableval="$enable_spinctrl"
7449
7450 if test "$enableval" = yes; then
7451 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7452 else
7453 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7454 fi
7455
7456 else
7457
7458 LINE=`grep "wxUSE_SPINCTRL" ${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_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7466
7467 fi;
7468
7469 eval "$ac_cv_use_spinctrl"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7472 fi
7473
7474 if test "$wxUSE_SPINCTRL" = 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}-splitter" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7486 no_cache=0
7487 # Check whether --enable-splitter or --disable-splitter was given.
7488 if test "${enable_splitter+set}" = set; then
7489 enableval="$enable_splitter"
7490
7491 if test "$enableval" = yes; then
7492 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7493 else
7494 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7495 fi
7496
7497 else
7498
7499 LINE=`grep "wxUSE_SPLITTER" ${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_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7507
7508 fi;
7509
7510 eval "$ac_cv_use_splitter"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7513 fi
7514
7515 if test "$wxUSE_SPLITTER" = 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}-statbmp" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7527 no_cache=0
7528 # Check whether --enable-statbmp or --disable-statbmp was given.
7529 if test "${enable_statbmp+set}" = set; then
7530 enableval="$enable_statbmp"
7531
7532 if test "$enableval" = yes; then
7533 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7534 else
7535 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7536 fi
7537
7538 else
7539
7540 LINE=`grep "wxUSE_STATBMP" ${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_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7548
7549 fi;
7550
7551 eval "$ac_cv_use_statbmp"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7554 fi
7555
7556 if test "$wxUSE_STATBMP" = 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}-statbox" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7568 no_cache=0
7569 # Check whether --enable-statbox or --disable-statbox was given.
7570 if test "${enable_statbox+set}" = set; then
7571 enableval="$enable_statbox"
7572
7573 if test "$enableval" = yes; then
7574 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7575 else
7576 ac_cv_use_statbox='wxUSE_STATBOX=no'
7577 fi
7578
7579 else
7580
7581 LINE=`grep "wxUSE_STATBOX" ${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_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7589
7590 fi;
7591
7592 eval "$ac_cv_use_statbox"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7595 fi
7596
7597 if test "$wxUSE_STATBOX" = 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}-statline" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7609 no_cache=0
7610 # Check whether --enable-statline or --disable-statline was given.
7611 if test "${enable_statline+set}" = set; then
7612 enableval="$enable_statline"
7613
7614 if test "$enableval" = yes; then
7615 ac_cv_use_statline='wxUSE_STATLINE=yes'
7616 else
7617 ac_cv_use_statline='wxUSE_STATLINE=no'
7618 fi
7619
7620 else
7621
7622 LINE=`grep "wxUSE_STATLINE" ${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_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7630
7631 fi;
7632
7633 eval "$ac_cv_use_statline"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7636 fi
7637
7638 if test "$wxUSE_STATLINE" = 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}-stattext" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7650 no_cache=0
7651 # Check whether --enable-stattext or --disable-stattext was given.
7652 if test "${enable_stattext+set}" = set; then
7653 enableval="$enable_stattext"
7654
7655 if test "$enableval" = yes; then
7656 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7657 else
7658 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7659 fi
7660
7661 else
7662
7663 LINE=`grep "wxUSE_STATTEXT" ${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_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7671
7672 fi;
7673
7674 eval "$ac_cv_use_stattext"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7677 fi
7678
7679 if test "$wxUSE_STATTEXT" = 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}-statusbar" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7691 no_cache=0
7692 # Check whether --enable-statusbar or --disable-statusbar was given.
7693 if test "${enable_statusbar+set}" = set; then
7694 enableval="$enable_statusbar"
7695
7696 if test "$enableval" = yes; then
7697 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7698 else
7699 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7700 fi
7701
7702 else
7703
7704 LINE=`grep "wxUSE_STATUSBAR" ${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_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7712
7713 fi;
7714
7715 eval "$ac_cv_use_statusbar"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7718 fi
7719
7720 if test "$wxUSE_STATUSBAR" = 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}-tabdialog" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7732 no_cache=0
7733 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7734 if test "${enable_tabdialog+set}" = set; then
7735 enableval="$enable_tabdialog"
7736
7737 if test "$enableval" = yes; then
7738 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7739 else
7740 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7741 fi
7742
7743 else
7744
7745 LINE=`grep "wxUSE_TABDIALOG" ${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_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7753
7754 fi;
7755
7756 eval "$ac_cv_use_tabdialog"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7759 fi
7760
7761 if test "$wxUSE_TABDIALOG" = 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}-textctrl" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7773 no_cache=0
7774 # Check whether --enable-textctrl or --disable-textctrl was given.
7775 if test "${enable_textctrl+set}" = set; then
7776 enableval="$enable_textctrl"
7777
7778 if test "$enableval" = yes; then
7779 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7780 else
7781 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7782 fi
7783
7784 else
7785
7786 LINE=`grep "wxUSE_TEXTCTRL" ${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_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7794
7795 fi;
7796
7797 eval "$ac_cv_use_textctrl"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7800 fi
7801
7802 if test "$wxUSE_TEXTCTRL" = 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}-togglebtn" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7814 no_cache=0
7815 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7816 if test "${enable_togglebtn+set}" = set; then
7817 enableval="$enable_togglebtn"
7818
7819 if test "$enableval" = yes; then
7820 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7821 else
7822 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7823 fi
7824
7825 else
7826
7827 LINE=`grep "wxUSE_TOGGLEBTN" ${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_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7835
7836 fi;
7837
7838 eval "$ac_cv_use_togglebtn"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7841 fi
7842
7843 if test "$wxUSE_TOGGLEBTN" = 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}-toolbar" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7855 no_cache=0
7856 # Check whether --enable-toolbar or --disable-toolbar was given.
7857 if test "${enable_toolbar+set}" = set; then
7858 enableval="$enable_toolbar"
7859
7860 if test "$enableval" = yes; then
7861 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7862 else
7863 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7864 fi
7865
7866 else
7867
7868 LINE=`grep "wxUSE_TOOLBAR" ${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_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7876
7877 fi;
7878
7879 eval "$ac_cv_use_toolbar"
7880 if test "$no_cache" != 1; then
7881 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7882 fi
7883
7884 if test "$wxUSE_TOOLBAR" = 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}-tbarnative" >&5
7895 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7896 no_cache=0
7897 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7898 if test "${enable_tbarnative+set}" = set; then
7899 enableval="$enable_tbarnative"
7900
7901 if test "$enableval" = yes; then
7902 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7903 else
7904 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7905 fi
7906
7907 else
7908
7909 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${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_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7917
7918 fi;
7919
7920 eval "$ac_cv_use_tbarnative"
7921 if test "$no_cache" != 1; then
7922 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7923 fi
7924
7925 if test "$wxUSE_TOOLBAR_NATIVE" = 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}-tbarsmpl" >&5
7936 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7937 no_cache=0
7938 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7939 if test "${enable_tbarsmpl+set}" = set; then
7940 enableval="$enable_tbarsmpl"
7941
7942 if test "$enableval" = yes; then
7943 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7944 else
7945 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7946 fi
7947
7948 else
7949
7950 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${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_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7958
7959 fi;
7960
7961 eval "$ac_cv_use_tbarsmpl"
7962 if test "$no_cache" != 1; then
7963 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7964 fi
7965
7966 if test "$wxUSE_TOOLBAR_SIMPLE" = 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}-treectrl" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7978 no_cache=0
7979 # Check whether --enable-treectrl or --disable-treectrl was given.
7980 if test "${enable_treectrl+set}" = set; then
7981 enableval="$enable_treectrl"
7982
7983 if test "$enableval" = yes; then
7984 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7985 else
7986 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7987 fi
7988
7989 else
7990
7991 LINE=`grep "wxUSE_TREECTRL" ${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_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7999
8000 fi;
8001
8002 eval "$ac_cv_use_treectrl"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8005 fi
8006
8007 if test "$wxUSE_TREECTRL" = 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}-tipwindow" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8019 no_cache=0
8020 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8021 if test "${enable_tipwindow+set}" = set; then
8022 enableval="$enable_tipwindow"
8023
8024 if test "$enableval" = yes; then
8025 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8026 else
8027 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8028 fi
8029
8030 else
8031
8032 LINE=`grep "wxUSE_TIPWINDOW" ${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_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8040
8041 fi;
8042
8043 eval "$ac_cv_use_tipwindow"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8046 fi
8047
8048 if test "$wxUSE_TIPWINDOW" = 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}-popupwin" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8060 no_cache=0
8061 # Check whether --enable-popupwin or --disable-popupwin was given.
8062 if test "${enable_popupwin+set}" = set; then
8063 enableval="$enable_popupwin"
8064
8065 if test "$enableval" = yes; then
8066 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8067 else
8068 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8069 fi
8070
8071 else
8072
8073 LINE=`grep "wxUSE_POPUPWIN" ${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_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8081
8082 fi;
8083
8084 eval "$ac_cv_use_popupwin"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8087 fi
8088
8089 if test "$wxUSE_POPUPWIN" = 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
8099
8100 enablestring=
8101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8102 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8103 no_cache=0
8104 # Check whether --enable-commondlg or --disable-commondlg was given.
8105 if test "${enable_commondlg+set}" = set; then
8106 enableval="$enable_commondlg"
8107
8108 if test "$enableval" = yes; then
8109 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8110 else
8111 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8112 fi
8113
8114 else
8115
8116 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8117 if test "x$LINE" != x ; then
8118 eval "DEFAULT_$LINE"
8119 else
8120 no_cache=1
8121 fi
8122
8123 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8124
8125 fi;
8126
8127 eval "$ac_cv_use_commondlg"
8128 if test "$no_cache" != 1; then
8129 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8130 fi
8131
8132 if test "$wxUSE_COMMONDLGS" = yes; then
8133 echo "$as_me:$LINENO: result: yes" >&5
8134 echo "${ECHO_T}yes" >&6
8135 else
8136 echo "$as_me:$LINENO: result: no" >&5
8137 echo "${ECHO_T}no" >&6
8138 fi
8139
8140
8141 enablestring=
8142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8143 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8144 no_cache=0
8145 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8146 if test "${enable_choicedlg+set}" = set; then
8147 enableval="$enable_choicedlg"
8148
8149 if test "$enableval" = yes; then
8150 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8151 else
8152 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8153 fi
8154
8155 else
8156
8157 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8158 if test "x$LINE" != x ; then
8159 eval "DEFAULT_$LINE"
8160 else
8161 no_cache=1
8162 fi
8163
8164 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8165
8166 fi;
8167
8168 eval "$ac_cv_use_choicedlg"
8169 if test "$no_cache" != 1; then
8170 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8171 fi
8172
8173 if test "$wxUSE_CHOICEDLG" = yes; then
8174 echo "$as_me:$LINENO: result: yes" >&5
8175 echo "${ECHO_T}yes" >&6
8176 else
8177 echo "$as_me:$LINENO: result: no" >&5
8178 echo "${ECHO_T}no" >&6
8179 fi
8180
8181
8182 enablestring=
8183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8185 no_cache=0
8186 # Check whether --enable-coldlg or --disable-coldlg was given.
8187 if test "${enable_coldlg+set}" = set; then
8188 enableval="$enable_coldlg"
8189
8190 if test "$enableval" = yes; then
8191 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8192 else
8193 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8194 fi
8195
8196 else
8197
8198 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8199 if test "x$LINE" != x ; then
8200 eval "DEFAULT_$LINE"
8201 else
8202 no_cache=1
8203 fi
8204
8205 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8206
8207 fi;
8208
8209 eval "$ac_cv_use_coldlg"
8210 if test "$no_cache" != 1; then
8211 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8212 fi
8213
8214 if test "$wxUSE_COLOURDLG" = yes; then
8215 echo "$as_me:$LINENO: result: yes" >&5
8216 echo "${ECHO_T}yes" >&6
8217 else
8218 echo "$as_me:$LINENO: result: no" >&5
8219 echo "${ECHO_T}no" >&6
8220 fi
8221
8222
8223 enablestring=
8224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8225 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8226 no_cache=0
8227 # Check whether --enable-filedlg or --disable-filedlg was given.
8228 if test "${enable_filedlg+set}" = set; then
8229 enableval="$enable_filedlg"
8230
8231 if test "$enableval" = yes; then
8232 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8233 else
8234 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8235 fi
8236
8237 else
8238
8239 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8240 if test "x$LINE" != x ; then
8241 eval "DEFAULT_$LINE"
8242 else
8243 no_cache=1
8244 fi
8245
8246 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8247
8248 fi;
8249
8250 eval "$ac_cv_use_filedlg"
8251 if test "$no_cache" != 1; then
8252 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8253 fi
8254
8255 if test "$wxUSE_FILEDLG" = yes; then
8256 echo "$as_me:$LINENO: result: yes" >&5
8257 echo "${ECHO_T}yes" >&6
8258 else
8259 echo "$as_me:$LINENO: result: no" >&5
8260 echo "${ECHO_T}no" >&6
8261 fi
8262
8263
8264 enablestring=
8265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8266 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8267 no_cache=0
8268 # Check whether --enable-finddlg or --disable-finddlg was given.
8269 if test "${enable_finddlg+set}" = set; then
8270 enableval="$enable_finddlg"
8271
8272 if test "$enableval" = yes; then
8273 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8274 else
8275 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8276 fi
8277
8278 else
8279
8280 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8281 if test "x$LINE" != x ; then
8282 eval "DEFAULT_$LINE"
8283 else
8284 no_cache=1
8285 fi
8286
8287 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8288
8289 fi;
8290
8291 eval "$ac_cv_use_finddlg"
8292 if test "$no_cache" != 1; then
8293 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8294 fi
8295
8296 if test "$wxUSE_FINDREPLDLG" = yes; then
8297 echo "$as_me:$LINENO: result: yes" >&5
8298 echo "${ECHO_T}yes" >&6
8299 else
8300 echo "$as_me:$LINENO: result: no" >&5
8301 echo "${ECHO_T}no" >&6
8302 fi
8303
8304
8305 enablestring=
8306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8307 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8308 no_cache=0
8309 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8310 if test "${enable_fontdlg+set}" = set; then
8311 enableval="$enable_fontdlg"
8312
8313 if test "$enableval" = yes; then
8314 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8315 else
8316 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8317 fi
8318
8319 else
8320
8321 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8322 if test "x$LINE" != x ; then
8323 eval "DEFAULT_$LINE"
8324 else
8325 no_cache=1
8326 fi
8327
8328 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8329
8330 fi;
8331
8332 eval "$ac_cv_use_fontdlg"
8333 if test "$no_cache" != 1; then
8334 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8335 fi
8336
8337 if test "$wxUSE_FONTDLG" = yes; then
8338 echo "$as_me:$LINENO: result: yes" >&5
8339 echo "${ECHO_T}yes" >&6
8340 else
8341 echo "$as_me:$LINENO: result: no" >&5
8342 echo "${ECHO_T}no" >&6
8343 fi
8344
8345
8346 enablestring=
8347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8348 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8349 no_cache=0
8350 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8351 if test "${enable_dirdlg+set}" = set; then
8352 enableval="$enable_dirdlg"
8353
8354 if test "$enableval" = yes; then
8355 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8356 else
8357 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8358 fi
8359
8360 else
8361
8362 LINE=`grep "wxUSE_DIRDLG" ${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_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8370
8371 fi;
8372
8373 eval "$ac_cv_use_dirdlg"
8374 if test "$no_cache" != 1; then
8375 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8376 fi
8377
8378 if test "$wxUSE_DIRDLG" = 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}-msgdlg" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8390 no_cache=0
8391 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8392 if test "${enable_msgdlg+set}" = set; then
8393 enableval="$enable_msgdlg"
8394
8395 if test "$enableval" = yes; then
8396 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8397 else
8398 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8399 fi
8400
8401 else
8402
8403 LINE=`grep "wxUSE_MSGDLG" ${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_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8411
8412 fi;
8413
8414 eval "$ac_cv_use_msgdlg"
8415 if test "$no_cache" != 1; then
8416 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8417 fi
8418
8419 if test "$wxUSE_MSGDLG" = 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}-numberdlg" >&5
8430 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8431 no_cache=0
8432 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8433 if test "${enable_numberdlg+set}" = set; then
8434 enableval="$enable_numberdlg"
8435
8436 if test "$enableval" = yes; then
8437 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8438 else
8439 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8440 fi
8441
8442 else
8443
8444 LINE=`grep "wxUSE_NUMBERDLG" ${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_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8452
8453 fi;
8454
8455 eval "$ac_cv_use_numberdlg"
8456 if test "$no_cache" != 1; then
8457 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8458 fi
8459
8460 if test "$wxUSE_NUMBERDLG" = 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}-splash" >&5
8471 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8472 no_cache=0
8473 # Check whether --enable-splash or --disable-splash was given.
8474 if test "${enable_splash+set}" = set; then
8475 enableval="$enable_splash"
8476
8477 if test "$enableval" = yes; then
8478 ac_cv_use_splash='wxUSE_SPLASH=yes'
8479 else
8480 ac_cv_use_splash='wxUSE_SPLASH=no'
8481 fi
8482
8483 else
8484
8485 LINE=`grep "wxUSE_SPLASH" ${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_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8493
8494 fi;
8495
8496 eval "$ac_cv_use_splash"
8497 if test "$no_cache" != 1; then
8498 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8499 fi
8500
8501 if test "$wxUSE_SPLASH" = 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}-textdlg" >&5
8512 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8513 no_cache=0
8514 # Check whether --enable-textdlg or --disable-textdlg was given.
8515 if test "${enable_textdlg+set}" = set; then
8516 enableval="$enable_textdlg"
8517
8518 if test "$enableval" = yes; then
8519 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8520 else
8521 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8522 fi
8523
8524 else
8525
8526 LINE=`grep "wxUSE_TEXTDLG" ${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_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8534
8535 fi;
8536
8537 eval "$ac_cv_use_textdlg"
8538 if test "$no_cache" != 1; then
8539 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8540 fi
8541
8542 if test "$wxUSE_TEXTDLG" = 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}-tipdlg" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8554 no_cache=0
8555 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8556 if test "${enable_tipdlg+set}" = set; then
8557 enableval="$enable_tipdlg"
8558
8559 if test "$enableval" = yes; then
8560 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8561 else
8562 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8563 fi
8564
8565 else
8566
8567 LINE=`grep "wxUSE_STARTUP_TIPS" ${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_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8575
8576 fi;
8577
8578 eval "$ac_cv_use_tipdlg"
8579 if test "$no_cache" != 1; then
8580 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8581 fi
8582
8583 if test "$wxUSE_STARTUP_TIPS" = 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}-progressdlg" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8595 no_cache=0
8596 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8597 if test "${enable_progressdlg+set}" = set; then
8598 enableval="$enable_progressdlg"
8599
8600 if test "$enableval" = yes; then
8601 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8602 else
8603 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8604 fi
8605
8606 else
8607
8608 LINE=`grep "wxUSE_PROGRESSDLG" ${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_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8616
8617 fi;
8618
8619 eval "$ac_cv_use_progressdlg"
8620 if test "$no_cache" != 1; then
8621 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8622 fi
8623
8624 if test "$wxUSE_PROGRESSDLG" = 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}-wizarddlg" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8636 no_cache=0
8637 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8638 if test "${enable_wizarddlg+set}" = set; then
8639 enableval="$enable_wizarddlg"
8640
8641 if test "$enableval" = yes; then
8642 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8643 else
8644 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8645 fi
8646
8647 else
8648
8649 LINE=`grep "wxUSE_WIZARDDLG" ${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_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8657
8658 fi;
8659
8660 eval "$ac_cv_use_wizarddlg"
8661 if test "$no_cache" != 1; then
8662 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8663 fi
8664
8665 if test "$wxUSE_WIZARDDLG" = 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
8675
8676 enablestring=
8677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8678 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8679 no_cache=0
8680 # Check whether --enable-menus or --disable-menus was given.
8681 if test "${enable_menus+set}" = set; then
8682 enableval="$enable_menus"
8683
8684 if test "$enableval" = yes; then
8685 ac_cv_use_menus='wxUSE_MENUS=yes'
8686 else
8687 ac_cv_use_menus='wxUSE_MENUS=no'
8688 fi
8689
8690 else
8691
8692 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8693 if test "x$LINE" != x ; then
8694 eval "DEFAULT_$LINE"
8695 else
8696 no_cache=1
8697 fi
8698
8699 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8700
8701 fi;
8702
8703 eval "$ac_cv_use_menus"
8704 if test "$no_cache" != 1; then
8705 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8706 fi
8707
8708 if test "$wxUSE_MENUS" = yes; then
8709 echo "$as_me:$LINENO: result: yes" >&5
8710 echo "${ECHO_T}yes" >&6
8711 else
8712 echo "$as_me:$LINENO: result: no" >&5
8713 echo "${ECHO_T}no" >&6
8714 fi
8715
8716
8717 enablestring=
8718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8719 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8720 no_cache=0
8721 # Check whether --enable-miniframe or --disable-miniframe was given.
8722 if test "${enable_miniframe+set}" = set; then
8723 enableval="$enable_miniframe"
8724
8725 if test "$enableval" = yes; then
8726 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8727 else
8728 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8729 fi
8730
8731 else
8732
8733 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8734 if test "x$LINE" != x ; then
8735 eval "DEFAULT_$LINE"
8736 else
8737 no_cache=1
8738 fi
8739
8740 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8741
8742 fi;
8743
8744 eval "$ac_cv_use_miniframe"
8745 if test "$no_cache" != 1; then
8746 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8747 fi
8748
8749 if test "$wxUSE_MINIFRAME" = yes; then
8750 echo "$as_me:$LINENO: result: yes" >&5
8751 echo "${ECHO_T}yes" >&6
8752 else
8753 echo "$as_me:$LINENO: result: no" >&5
8754 echo "${ECHO_T}no" >&6
8755 fi
8756
8757
8758 enablestring=
8759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8761 no_cache=0
8762 # Check whether --enable-tooltips or --disable-tooltips was given.
8763 if test "${enable_tooltips+set}" = set; then
8764 enableval="$enable_tooltips"
8765
8766 if test "$enableval" = yes; then
8767 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8768 else
8769 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8770 fi
8771
8772 else
8773
8774 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8775 if test "x$LINE" != x ; then
8776 eval "DEFAULT_$LINE"
8777 else
8778 no_cache=1
8779 fi
8780
8781 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8782
8783 fi;
8784
8785 eval "$ac_cv_use_tooltips"
8786 if test "$no_cache" != 1; then
8787 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8788 fi
8789
8790 if test "$wxUSE_TOOLTIPS" = yes; then
8791 echo "$as_me:$LINENO: result: yes" >&5
8792 echo "${ECHO_T}yes" >&6
8793 else
8794 echo "$as_me:$LINENO: result: no" >&5
8795 echo "${ECHO_T}no" >&6
8796 fi
8797
8798
8799 enablestring=
8800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8801 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8802 no_cache=0
8803 # Check whether --enable-splines or --disable-splines was given.
8804 if test "${enable_splines+set}" = set; then
8805 enableval="$enable_splines"
8806
8807 if test "$enableval" = yes; then
8808 ac_cv_use_splines='wxUSE_SPLINES=yes'
8809 else
8810 ac_cv_use_splines='wxUSE_SPLINES=no'
8811 fi
8812
8813 else
8814
8815 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8816 if test "x$LINE" != x ; then
8817 eval "DEFAULT_$LINE"
8818 else
8819 no_cache=1
8820 fi
8821
8822 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8823
8824 fi;
8825
8826 eval "$ac_cv_use_splines"
8827 if test "$no_cache" != 1; then
8828 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8829 fi
8830
8831 if test "$wxUSE_SPLINES" = yes; then
8832 echo "$as_me:$LINENO: result: yes" >&5
8833 echo "${ECHO_T}yes" >&6
8834 else
8835 echo "$as_me:$LINENO: result: no" >&5
8836 echo "${ECHO_T}no" >&6
8837 fi
8838
8839
8840 enablestring=
8841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8842 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8843 no_cache=0
8844 # Check whether --enable-validators or --disable-validators was given.
8845 if test "${enable_validators+set}" = set; then
8846 enableval="$enable_validators"
8847
8848 if test "$enableval" = yes; then
8849 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8850 else
8851 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8852 fi
8853
8854 else
8855
8856 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8857 if test "x$LINE" != x ; then
8858 eval "DEFAULT_$LINE"
8859 else
8860 no_cache=1
8861 fi
8862
8863 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8864
8865 fi;
8866
8867 eval "$ac_cv_use_validators"
8868 if test "$no_cache" != 1; then
8869 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8870 fi
8871
8872 if test "$wxUSE_VALIDATORS" = yes; then
8873 echo "$as_me:$LINENO: result: yes" >&5
8874 echo "${ECHO_T}yes" >&6
8875 else
8876 echo "$as_me:$LINENO: result: no" >&5
8877 echo "${ECHO_T}no" >&6
8878 fi
8879
8880
8881 enablestring=
8882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8883 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8884 no_cache=0
8885 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8886 if test "${enable_busyinfo+set}" = set; then
8887 enableval="$enable_busyinfo"
8888
8889 if test "$enableval" = yes; then
8890 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8891 else
8892 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8893 fi
8894
8895 else
8896
8897 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8898 if test "x$LINE" != x ; then
8899 eval "DEFAULT_$LINE"
8900 else
8901 no_cache=1
8902 fi
8903
8904 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8905
8906 fi;
8907
8908 eval "$ac_cv_use_busyinfo"
8909 if test "$no_cache" != 1; then
8910 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8911 fi
8912
8913 if test "$wxUSE_BUSYINFO" = yes; then
8914 echo "$as_me:$LINENO: result: yes" >&5
8915 echo "${ECHO_T}yes" >&6
8916 else
8917 echo "$as_me:$LINENO: result: no" >&5
8918 echo "${ECHO_T}no" >&6
8919 fi
8920
8921
8922 enablestring=
8923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8925 no_cache=0
8926 # Check whether --enable-joystick or --disable-joystick was given.
8927 if test "${enable_joystick+set}" = set; then
8928 enableval="$enable_joystick"
8929
8930 if test "$enableval" = yes; then
8931 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8932 else
8933 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8934 fi
8935
8936 else
8937
8938 LINE=`grep "wxUSE_JOYSTICK" ${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_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8946
8947 fi;
8948
8949 eval "$ac_cv_use_joystick"
8950 if test "$no_cache" != 1; then
8951 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8952 fi
8953
8954 if test "$wxUSE_JOYSTICK" = 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}-metafile" >&5
8965 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8966 no_cache=0
8967 # Check whether --enable-metafile or --disable-metafile was given.
8968 if test "${enable_metafile+set}" = set; then
8969 enableval="$enable_metafile"
8970
8971 if test "$enableval" = yes; then
8972 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8973 else
8974 ac_cv_use_metafile='wxUSE_METAFILE=no'
8975 fi
8976
8977 else
8978
8979 LINE=`grep "wxUSE_METAFILE" ${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_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8987
8988 fi;
8989
8990 eval "$ac_cv_use_metafile"
8991 if test "$no_cache" != 1; then
8992 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8993 fi
8994
8995 if test "$wxUSE_METAFILE" = 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}-dragimage" >&5
9006 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9007 no_cache=0
9008 # Check whether --enable-dragimage or --disable-dragimage was given.
9009 if test "${enable_dragimage+set}" = set; then
9010 enableval="$enable_dragimage"
9011
9012 if test "$enableval" = yes; then
9013 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9014 else
9015 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9016 fi
9017
9018 else
9019
9020 LINE=`grep "wxUSE_DRAGIMAGE" ${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_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9028
9029 fi;
9030
9031 eval "$ac_cv_use_dragimage"
9032 if test "$no_cache" != 1; then
9033 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9034 fi
9035
9036 if test "$wxUSE_DRAGIMAGE" = 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}-accessibility" >&5
9047 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9048 no_cache=0
9049 # Check whether --enable-accessibility or --disable-accessibility was given.
9050 if test "${enable_accessibility+set}" = set; then
9051 enableval="$enable_accessibility"
9052
9053 if test "$enableval" = yes; then
9054 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9055 else
9056 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9057 fi
9058
9059 else
9060
9061 LINE=`grep "wxUSE_ACCESSIBILITY" ${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_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9069
9070 fi;
9071
9072 eval "$ac_cv_use_accessibility"
9073 if test "$no_cache" != 1; then
9074 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9075 fi
9076
9077 if test "$wxUSE_ACCESSIBILITY" = 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
9087
9088 enablestring=
9089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9090 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9091 no_cache=0
9092 # Check whether --enable-palette or --disable-palette was given.
9093 if test "${enable_palette+set}" = set; then
9094 enableval="$enable_palette"
9095
9096 if test "$enableval" = yes; then
9097 ac_cv_use_palette='wxUSE_PALETTE=yes'
9098 else
9099 ac_cv_use_palette='wxUSE_PALETTE=no'
9100 fi
9101
9102 else
9103
9104 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9105 if test "x$LINE" != x ; then
9106 eval "DEFAULT_$LINE"
9107 else
9108 no_cache=1
9109 fi
9110
9111 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9112
9113 fi;
9114
9115 eval "$ac_cv_use_palette"
9116 if test "$no_cache" != 1; then
9117 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9118 fi
9119
9120 if test "$wxUSE_PALETTE" = yes; then
9121 echo "$as_me:$LINENO: result: yes" >&5
9122 echo "${ECHO_T}yes" >&6
9123 else
9124 echo "$as_me:$LINENO: result: no" >&5
9125 echo "${ECHO_T}no" >&6
9126 fi
9127
9128
9129 enablestring=
9130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9131 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9132 no_cache=0
9133 # Check whether --enable-image or --disable-image was given.
9134 if test "${enable_image+set}" = set; then
9135 enableval="$enable_image"
9136
9137 if test "$enableval" = yes; then
9138 ac_cv_use_image='wxUSE_IMAGE=yes'
9139 else
9140 ac_cv_use_image='wxUSE_IMAGE=no'
9141 fi
9142
9143 else
9144
9145 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9146 if test "x$LINE" != x ; then
9147 eval "DEFAULT_$LINE"
9148 else
9149 no_cache=1
9150 fi
9151
9152 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9153
9154 fi;
9155
9156 eval "$ac_cv_use_image"
9157 if test "$no_cache" != 1; then
9158 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9159 fi
9160
9161 if test "$wxUSE_IMAGE" = yes; then
9162 echo "$as_me:$LINENO: result: yes" >&5
9163 echo "${ECHO_T}yes" >&6
9164 else
9165 echo "$as_me:$LINENO: result: no" >&5
9166 echo "${ECHO_T}no" >&6
9167 fi
9168
9169
9170 enablestring=
9171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9172 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9173 no_cache=0
9174 # Check whether --enable-gif or --disable-gif was given.
9175 if test "${enable_gif+set}" = set; then
9176 enableval="$enable_gif"
9177
9178 if test "$enableval" = yes; then
9179 ac_cv_use_gif='wxUSE_GIF=yes'
9180 else
9181 ac_cv_use_gif='wxUSE_GIF=no'
9182 fi
9183
9184 else
9185
9186 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9187 if test "x$LINE" != x ; then
9188 eval "DEFAULT_$LINE"
9189 else
9190 no_cache=1
9191 fi
9192
9193 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9194
9195 fi;
9196
9197 eval "$ac_cv_use_gif"
9198 if test "$no_cache" != 1; then
9199 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9200 fi
9201
9202 if test "$wxUSE_GIF" = yes; then
9203 echo "$as_me:$LINENO: result: yes" >&5
9204 echo "${ECHO_T}yes" >&6
9205 else
9206 echo "$as_me:$LINENO: result: no" >&5
9207 echo "${ECHO_T}no" >&6
9208 fi
9209
9210
9211 enablestring=
9212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9214 no_cache=0
9215 # Check whether --enable-pcx or --disable-pcx was given.
9216 if test "${enable_pcx+set}" = set; then
9217 enableval="$enable_pcx"
9218
9219 if test "$enableval" = yes; then
9220 ac_cv_use_pcx='wxUSE_PCX=yes'
9221 else
9222 ac_cv_use_pcx='wxUSE_PCX=no'
9223 fi
9224
9225 else
9226
9227 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9228 if test "x$LINE" != x ; then
9229 eval "DEFAULT_$LINE"
9230 else
9231 no_cache=1
9232 fi
9233
9234 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9235
9236 fi;
9237
9238 eval "$ac_cv_use_pcx"
9239 if test "$no_cache" != 1; then
9240 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9241 fi
9242
9243 if test "$wxUSE_PCX" = yes; then
9244 echo "$as_me:$LINENO: result: yes" >&5
9245 echo "${ECHO_T}yes" >&6
9246 else
9247 echo "$as_me:$LINENO: result: no" >&5
9248 echo "${ECHO_T}no" >&6
9249 fi
9250
9251
9252 enablestring=
9253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9254 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9255 no_cache=0
9256 # Check whether --enable-iff or --disable-iff was given.
9257 if test "${enable_iff+set}" = set; then
9258 enableval="$enable_iff"
9259
9260 if test "$enableval" = yes; then
9261 ac_cv_use_iff='wxUSE_IFF=yes'
9262 else
9263 ac_cv_use_iff='wxUSE_IFF=no'
9264 fi
9265
9266 else
9267
9268 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9269 if test "x$LINE" != x ; then
9270 eval "DEFAULT_$LINE"
9271 else
9272 no_cache=1
9273 fi
9274
9275 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9276
9277 fi;
9278
9279 eval "$ac_cv_use_iff"
9280 if test "$no_cache" != 1; then
9281 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9282 fi
9283
9284 if test "$wxUSE_IFF" = yes; then
9285 echo "$as_me:$LINENO: result: yes" >&5
9286 echo "${ECHO_T}yes" >&6
9287 else
9288 echo "$as_me:$LINENO: result: no" >&5
9289 echo "${ECHO_T}no" >&6
9290 fi
9291
9292
9293 enablestring=
9294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9295 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9296 no_cache=0
9297 # Check whether --enable-pnm or --disable-pnm was given.
9298 if test "${enable_pnm+set}" = set; then
9299 enableval="$enable_pnm"
9300
9301 if test "$enableval" = yes; then
9302 ac_cv_use_pnm='wxUSE_PNM=yes'
9303 else
9304 ac_cv_use_pnm='wxUSE_PNM=no'
9305 fi
9306
9307 else
9308
9309 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9310 if test "x$LINE" != x ; then
9311 eval "DEFAULT_$LINE"
9312 else
9313 no_cache=1
9314 fi
9315
9316 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9317
9318 fi;
9319
9320 eval "$ac_cv_use_pnm"
9321 if test "$no_cache" != 1; then
9322 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9323 fi
9324
9325 if test "$wxUSE_PNM" = yes; then
9326 echo "$as_me:$LINENO: result: yes" >&5
9327 echo "${ECHO_T}yes" >&6
9328 else
9329 echo "$as_me:$LINENO: result: no" >&5
9330 echo "${ECHO_T}no" >&6
9331 fi
9332
9333
9334 enablestring=
9335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9336 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9337 no_cache=0
9338 # Check whether --enable-xpm or --disable-xpm was given.
9339 if test "${enable_xpm+set}" = set; then
9340 enableval="$enable_xpm"
9341
9342 if test "$enableval" = yes; then
9343 ac_cv_use_xpm='wxUSE_XPM=yes'
9344 else
9345 ac_cv_use_xpm='wxUSE_XPM=no'
9346 fi
9347
9348 else
9349
9350 LINE=`grep "wxUSE_XPM" ${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_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9358
9359 fi;
9360
9361 eval "$ac_cv_use_xpm"
9362 if test "$no_cache" != 1; then
9363 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9364 fi
9365
9366 if test "$wxUSE_XPM" = 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}-ico_cur" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9378 no_cache=0
9379 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9380 if test "${enable_ico_cur+set}" = set; then
9381 enableval="$enable_ico_cur"
9382
9383 if test "$enableval" = yes; then
9384 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9385 else
9386 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9387 fi
9388
9389 else
9390
9391 LINE=`grep "wxUSE_ICO_CUR" ${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_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9399
9400 fi;
9401
9402 eval "$ac_cv_use_ico_cur"
9403 if test "$no_cache" != 1; then
9404 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9405 fi
9406
9407 if test "$wxUSE_ICO_CUR" = 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 fi
9417
9418
9419
9420 enablestring=
9421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9423 no_cache=0
9424 # Check whether --enable-official_build or --disable-official_build was given.
9425 if test "${enable_official_build+set}" = set; then
9426 enableval="$enable_official_build"
9427
9428 if test "$enableval" = yes; then
9429 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9430 else
9431 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9432 fi
9433
9434 else
9435
9436 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x ; then
9438 eval "DEFAULT_$LINE"
9439 else
9440 no_cache=1
9441 fi
9442
9443 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9444
9445 fi;
9446
9447 eval "$ac_cv_use_official_build"
9448 if test "$no_cache" != 1; then
9449 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9450 fi
9451
9452 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9453 echo "$as_me:$LINENO: result: yes" >&5
9454 echo "${ECHO_T}yes" >&6
9455 else
9456 echo "$as_me:$LINENO: result: no" >&5
9457 echo "${ECHO_T}no" >&6
9458 fi
9459
9460 # Check whether --enable-vendor or --disable-vendor was given.
9461 if test "${enable_vendor+set}" = set; then
9462 enableval="$enable_vendor"
9463 VENDOR="$enableval"
9464 fi;
9465 if test "x$VENDOR" = "x"; then
9466 VENDOR="custom"
9467 fi
9468
9469 case "${host}" in
9470 *-pc-os2_emx | *-pc-os2-emx )
9471 PATH_IFS=';'
9472 ;;
9473 *)
9474 PATH_IFS=':'
9475 ;;
9476 esac
9477
9478
9479
9480 echo "saving argument cache $wx_arg_cache_file"
9481 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9482
9483
9484
9485 echo "$as_me:$LINENO: checking for toolkit" >&5
9486 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9487
9488 # In Wine, we need to default to MSW, not GTK or MOTIF
9489 if test "$wxUSE_WINE" = "yes"; then
9490 DEFAULT_DEFAULT_wxUSE_GTK=0
9491 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9492 DEFAULT_DEFAULT_wxUSE_MSW=1
9493 fi
9494
9495 if test "$wxUSE_GUI" = "yes"; then
9496
9497 if test "$USE_BEOS" = 1; then
9498 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9499 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9500 { (exit 1); exit 1; }; }
9501 fi
9502
9503 if test "$TOOLKIT_GIVEN" = 1; then
9504 for toolkit in `echo $ALL_TOOLKITS`; do
9505 var=wxUSE_$toolkit
9506 eval "value=\$${var}"
9507 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9508 done
9509 else
9510 for toolkit in `echo $ALL_TOOLKITS`; do
9511 if test "$has_toolkit_in_cache" != 1; then
9512 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9513 else
9514 var=DEFAULT_wxUSE_$toolkit
9515 fi
9516 eval "wxUSE_$toolkit=\$${var}"
9517 done
9518 fi
9519
9520 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9521 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9522 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9523
9524 case "${host}" in
9525 *-pc-os2_emx | *-pc-os2-emx )
9526 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9527 esac
9528
9529 case "$NUM_TOOLKITS" in
9530 1)
9531 ;;
9532 0)
9533 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9534 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9535 { (exit 1); exit 1; }; }
9536 ;;
9537 *)
9538 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9539 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9540 { (exit 1); exit 1; }; }
9541 esac
9542
9543 for toolkit in `echo $ALL_TOOLKITS`; do
9544 var=wxUSE_$toolkit
9545 eval "value=\$${var}"
9546 if test "x$value" != x; then
9547 cache_var=CACHE_$toolkit
9548 eval "cache=\$${cache_var}"
9549 if test "$cache" = 1; then
9550 echo "$var=$value" >> ${wx_arg_cache_file}
9551 fi
9552 if test "$value" = 1; then
9553 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9554 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9555 echo "${ECHO_T}$toolkit_echo" >&6
9556 fi
9557 fi
9558 done
9559 else
9560 if test "x$host_alias" != "x"; then
9561 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9562 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9563 else
9564 echo "$as_me:$LINENO: result: base only" >&5
9565 echo "${ECHO_T}base only" >&6
9566 fi
9567 fi
9568
9569 wants_win32=0
9570 doesnt_want_win32=0
9571 case "${host}" in
9572 *-*-cygwin*)
9573 if test "$wxUSE_MSW" = 1 ; then
9574 wants_win32=1
9575 else
9576 doesnt_want_win32=1
9577 fi
9578 ;;
9579 *-*-mingw*)
9580 wants_win32=1
9581 ;;
9582 esac
9583
9584 if test "$wxUSE_WINE" = "yes"; then
9585 wants_win32=1
9586 CC=winegcc
9587 CXX=wineg++
9588 RESCOMP=wrc
9589 fi
9590
9591 if test "$wants_win32" = 1 ; then
9592 USE_UNIX=0
9593 USE_WIN32=1
9594 cat >>confdefs.h <<\_ACEOF
9595 #define __WIN32__ 1
9596 _ACEOF
9597
9598 cat >>confdefs.h <<\_ACEOF
9599 #define __WIN95__ 1
9600 _ACEOF
9601
9602 cat >>confdefs.h <<\_ACEOF
9603 #define __WINDOWS__ 1
9604 _ACEOF
9605
9606 cat >>confdefs.h <<\_ACEOF
9607 #define __GNUWIN32__ 1
9608 _ACEOF
9609
9610 cat >>confdefs.h <<\_ACEOF
9611 #define STRICT 1
9612 _ACEOF
9613
9614 cat >>confdefs.h <<\_ACEOF
9615 #define WINVER 0x0400
9616 _ACEOF
9617
9618 fi
9619 if test "$doesnt_want_win32" = 1 ; then
9620 USE_UNIX=1
9621 USE_WIN32=0
9622 fi
9623
9624 if test "$USE_UNIX" = 1 ; then
9625 wxUSE_UNIX=yes
9626 cat >>confdefs.h <<\_ACEOF
9627 #define __UNIX__ 1
9628 _ACEOF
9629
9630 fi
9631
9632
9633 cat >confcache <<\_ACEOF
9634 # This file is a shell script that caches the results of configure
9635 # tests run on this system so they can be shared between configure
9636 # scripts and configure runs, see configure's option --config-cache.
9637 # It is not useful on other systems. If it contains results you don't
9638 # want to keep, you may remove or edit it.
9639 #
9640 # config.status only pays attention to the cache file if you give it
9641 # the --recheck option to rerun configure.
9642 #
9643 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9644 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9645 # following values.
9646
9647 _ACEOF
9648
9649 # The following way of writing the cache mishandles newlines in values,
9650 # but we know of no workaround that is simple, portable, and efficient.
9651 # So, don't put newlines in cache variables' values.
9652 # Ultrix sh set writes to stderr and can't be redirected directly,
9653 # and sets the high bit in the cache file unless we assign to the vars.
9654 {
9655 (set) 2>&1 |
9656 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9657 *ac_space=\ *)
9658 # `set' does not quote correctly, so add quotes (double-quote
9659 # substitution turns \\\\ into \\, and sed turns \\ into \).
9660 sed -n \
9661 "s/'/'\\\\''/g;
9662 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9663 ;;
9664 *)
9665 # `set' quotes correctly as required by POSIX, so do not add quotes.
9666 sed -n \
9667 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9668 ;;
9669 esac;
9670 } |
9671 sed '
9672 t clear
9673 : clear
9674 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9675 t end
9676 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9677 : end' >>confcache
9678 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9679 if test -w $cache_file; then
9680 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9681 cat confcache >$cache_file
9682 else
9683 echo "not updating unwritable cache $cache_file"
9684 fi
9685 fi
9686 rm -f confcache
9687
9688 if test "$build" != "$host" ; then
9689 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9690 CC=$host_alias-gcc
9691 CXX=$host_alias-c++
9692 AR=$host_alias-ar
9693 RANLIB=$host_alias-ranlib
9694 DLLTOOL=$host_alias-dlltool
9695 RESCOMP=$host_alias-windres
9696 LD=$host_alias-ld
9697 NM=$host_alias-nm
9698 STRIP=$host_alias-strip
9699 else
9700 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9701 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9702 { (exit 1); exit 1; }; }
9703 fi
9704 fi
9705
9706 CFLAGS=${CFLAGS:=}
9707 ac_ext=c
9708 ac_cpp='$CPP $CPPFLAGS'
9709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9712 if test -n "$ac_tool_prefix"; then
9713 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9714 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9715 echo "$as_me:$LINENO: checking for $ac_word" >&5
9716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9717 if test "${ac_cv_prog_CC+set}" = set; then
9718 echo $ECHO_N "(cached) $ECHO_C" >&6
9719 else
9720 if test -n "$CC"; then
9721 ac_cv_prog_CC="$CC" # Let the user override the test.
9722 else
9723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9724 for as_dir in $PATH
9725 do
9726 IFS=$as_save_IFS
9727 test -z "$as_dir" && as_dir=.
9728 for ac_exec_ext in '' $ac_executable_extensions; do
9729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9730 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9732 break 2
9733 fi
9734 done
9735 done
9736
9737 fi
9738 fi
9739 CC=$ac_cv_prog_CC
9740 if test -n "$CC"; then
9741 echo "$as_me:$LINENO: result: $CC" >&5
9742 echo "${ECHO_T}$CC" >&6
9743 else
9744 echo "$as_me:$LINENO: result: no" >&5
9745 echo "${ECHO_T}no" >&6
9746 fi
9747
9748 fi
9749 if test -z "$ac_cv_prog_CC"; then
9750 ac_ct_CC=$CC
9751 # Extract the first word of "gcc", so it can be a program name with args.
9752 set dummy gcc; ac_word=$2
9753 echo "$as_me:$LINENO: checking for $ac_word" >&5
9754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9755 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9757 else
9758 if test -n "$ac_ct_CC"; then
9759 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9760 else
9761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9762 for as_dir in $PATH
9763 do
9764 IFS=$as_save_IFS
9765 test -z "$as_dir" && as_dir=.
9766 for ac_exec_ext in '' $ac_executable_extensions; do
9767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9768 ac_cv_prog_ac_ct_CC="gcc"
9769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9770 break 2
9771 fi
9772 done
9773 done
9774
9775 fi
9776 fi
9777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9778 if test -n "$ac_ct_CC"; then
9779 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9780 echo "${ECHO_T}$ac_ct_CC" >&6
9781 else
9782 echo "$as_me:$LINENO: result: no" >&5
9783 echo "${ECHO_T}no" >&6
9784 fi
9785
9786 CC=$ac_ct_CC
9787 else
9788 CC="$ac_cv_prog_CC"
9789 fi
9790
9791 if test -z "$CC"; then
9792 if test -n "$ac_tool_prefix"; then
9793 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9794 set dummy ${ac_tool_prefix}cc; ac_word=$2
9795 echo "$as_me:$LINENO: checking for $ac_word" >&5
9796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9797 if test "${ac_cv_prog_CC+set}" = set; then
9798 echo $ECHO_N "(cached) $ECHO_C" >&6
9799 else
9800 if test -n "$CC"; then
9801 ac_cv_prog_CC="$CC" # Let the user override the test.
9802 else
9803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9804 for as_dir in $PATH
9805 do
9806 IFS=$as_save_IFS
9807 test -z "$as_dir" && as_dir=.
9808 for ac_exec_ext in '' $ac_executable_extensions; do
9809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9810 ac_cv_prog_CC="${ac_tool_prefix}cc"
9811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9812 break 2
9813 fi
9814 done
9815 done
9816
9817 fi
9818 fi
9819 CC=$ac_cv_prog_CC
9820 if test -n "$CC"; then
9821 echo "$as_me:$LINENO: result: $CC" >&5
9822 echo "${ECHO_T}$CC" >&6
9823 else
9824 echo "$as_me:$LINENO: result: no" >&5
9825 echo "${ECHO_T}no" >&6
9826 fi
9827
9828 fi
9829 if test -z "$ac_cv_prog_CC"; then
9830 ac_ct_CC=$CC
9831 # Extract the first word of "cc", so it can be a program name with args.
9832 set dummy cc; ac_word=$2
9833 echo "$as_me:$LINENO: checking for $ac_word" >&5
9834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9835 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9836 echo $ECHO_N "(cached) $ECHO_C" >&6
9837 else
9838 if test -n "$ac_ct_CC"; then
9839 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9840 else
9841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9842 for as_dir in $PATH
9843 do
9844 IFS=$as_save_IFS
9845 test -z "$as_dir" && as_dir=.
9846 for ac_exec_ext in '' $ac_executable_extensions; do
9847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9848 ac_cv_prog_ac_ct_CC="cc"
9849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9850 break 2
9851 fi
9852 done
9853 done
9854
9855 fi
9856 fi
9857 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9858 if test -n "$ac_ct_CC"; then
9859 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9860 echo "${ECHO_T}$ac_ct_CC" >&6
9861 else
9862 echo "$as_me:$LINENO: result: no" >&5
9863 echo "${ECHO_T}no" >&6
9864 fi
9865
9866 CC=$ac_ct_CC
9867 else
9868 CC="$ac_cv_prog_CC"
9869 fi
9870
9871 fi
9872 if test -z "$CC"; then
9873 # Extract the first word of "cc", so it can be a program name with args.
9874 set dummy cc; ac_word=$2
9875 echo "$as_me:$LINENO: checking for $ac_word" >&5
9876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9877 if test "${ac_cv_prog_CC+set}" = set; then
9878 echo $ECHO_N "(cached) $ECHO_C" >&6
9879 else
9880 if test -n "$CC"; then
9881 ac_cv_prog_CC="$CC" # Let the user override the test.
9882 else
9883 ac_prog_rejected=no
9884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9885 for as_dir in $PATH
9886 do
9887 IFS=$as_save_IFS
9888 test -z "$as_dir" && as_dir=.
9889 for ac_exec_ext in '' $ac_executable_extensions; do
9890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9891 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9892 ac_prog_rejected=yes
9893 continue
9894 fi
9895 ac_cv_prog_CC="cc"
9896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9897 break 2
9898 fi
9899 done
9900 done
9901
9902 if test $ac_prog_rejected = yes; then
9903 # We found a bogon in the path, so make sure we never use it.
9904 set dummy $ac_cv_prog_CC
9905 shift
9906 if test $# != 0; then
9907 # We chose a different compiler from the bogus one.
9908 # However, it has the same basename, so the bogon will be chosen
9909 # first if we set CC to just the basename; use the full file name.
9910 shift
9911 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9912 fi
9913 fi
9914 fi
9915 fi
9916 CC=$ac_cv_prog_CC
9917 if test -n "$CC"; then
9918 echo "$as_me:$LINENO: result: $CC" >&5
9919 echo "${ECHO_T}$CC" >&6
9920 else
9921 echo "$as_me:$LINENO: result: no" >&5
9922 echo "${ECHO_T}no" >&6
9923 fi
9924
9925 fi
9926 if test -z "$CC"; then
9927 if test -n "$ac_tool_prefix"; then
9928 for ac_prog in cl
9929 do
9930 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9931 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9932 echo "$as_me:$LINENO: checking for $ac_word" >&5
9933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9934 if test "${ac_cv_prog_CC+set}" = set; then
9935 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 else
9937 if test -n "$CC"; then
9938 ac_cv_prog_CC="$CC" # Let the user override the test.
9939 else
9940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9941 for as_dir in $PATH
9942 do
9943 IFS=$as_save_IFS
9944 test -z "$as_dir" && as_dir=.
9945 for ac_exec_ext in '' $ac_executable_extensions; do
9946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9947 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9949 break 2
9950 fi
9951 done
9952 done
9953
9954 fi
9955 fi
9956 CC=$ac_cv_prog_CC
9957 if test -n "$CC"; then
9958 echo "$as_me:$LINENO: result: $CC" >&5
9959 echo "${ECHO_T}$CC" >&6
9960 else
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9963 fi
9964
9965 test -n "$CC" && break
9966 done
9967 fi
9968 if test -z "$CC"; then
9969 ac_ct_CC=$CC
9970 for ac_prog in cl
9971 do
9972 # Extract the first word of "$ac_prog", so it can be a program name with args.
9973 set dummy $ac_prog; ac_word=$2
9974 echo "$as_me:$LINENO: checking for $ac_word" >&5
9975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9976 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9978 else
9979 if test -n "$ac_ct_CC"; then
9980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9981 else
9982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9983 for as_dir in $PATH
9984 do
9985 IFS=$as_save_IFS
9986 test -z "$as_dir" && as_dir=.
9987 for ac_exec_ext in '' $ac_executable_extensions; do
9988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9989 ac_cv_prog_ac_ct_CC="$ac_prog"
9990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9991 break 2
9992 fi
9993 done
9994 done
9995
9996 fi
9997 fi
9998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9999 if test -n "$ac_ct_CC"; then
10000 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10001 echo "${ECHO_T}$ac_ct_CC" >&6
10002 else
10003 echo "$as_me:$LINENO: result: no" >&5
10004 echo "${ECHO_T}no" >&6
10005 fi
10006
10007 test -n "$ac_ct_CC" && break
10008 done
10009
10010 CC=$ac_ct_CC
10011 fi
10012
10013 fi
10014
10015
10016 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10017 See \`config.log' for more details." >&5
10018 echo "$as_me: error: no acceptable C compiler found in \$PATH
10019 See \`config.log' for more details." >&2;}
10020 { (exit 1); exit 1; }; }
10021
10022 # Provide some information about the compiler.
10023 echo "$as_me:$LINENO:" \
10024 "checking for C compiler version" >&5
10025 ac_compiler=`set X $ac_compile; echo $2`
10026 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10027 (eval $ac_compiler --version </dev/null >&5) 2>&5
10028 ac_status=$?
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); }
10031 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10032 (eval $ac_compiler -v </dev/null >&5) 2>&5
10033 ac_status=$?
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); }
10036 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10037 (eval $ac_compiler -V </dev/null >&5) 2>&5
10038 ac_status=$?
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); }
10041
10042 cat >conftest.$ac_ext <<_ACEOF
10043 #line $LINENO "configure"
10044 /* confdefs.h. */
10045 _ACEOF
10046 cat confdefs.h >>conftest.$ac_ext
10047 cat >>conftest.$ac_ext <<_ACEOF
10048 /* end confdefs.h. */
10049
10050 int
10051 main ()
10052 {
10053
10054 ;
10055 return 0;
10056 }
10057 _ACEOF
10058 ac_clean_files_save=$ac_clean_files
10059 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10060 # Try to create an executable without -o first, disregard a.out.
10061 # It will help us diagnose broken compilers, and finding out an intuition
10062 # of exeext.
10063 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10064 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10065 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10066 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10067 (eval $ac_link_default) 2>&5
10068 ac_status=$?
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); }; then
10071 # Find the output, starting from the most likely. This scheme is
10072 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10073 # resort.
10074
10075 # Be careful to initialize this variable, since it used to be cached.
10076 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10077 ac_cv_exeext=
10078 # b.out is created by i960 compilers.
10079 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10080 do
10081 test -f "$ac_file" || continue
10082 case $ac_file in
10083 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10084 ;;
10085 conftest.$ac_ext )
10086 # This is the source file.
10087 ;;
10088 [ab].out )
10089 # We found the default executable, but exeext='' is most
10090 # certainly right.
10091 break;;
10092 *.* )
10093 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10094 # FIXME: I believe we export ac_cv_exeext for Libtool,
10095 # but it would be cool to find out if it's true. Does anybody
10096 # maintain Libtool? --akim.
10097 export ac_cv_exeext
10098 break;;
10099 * )
10100 break;;
10101 esac
10102 done
10103 else
10104 echo "$as_me: failed program was:" >&5
10105 sed 's/^/| /' conftest.$ac_ext >&5
10106
10107 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10108 See \`config.log' for more details." >&5
10109 echo "$as_me: error: C compiler cannot create executables
10110 See \`config.log' for more details." >&2;}
10111 { (exit 77); exit 77; }; }
10112 fi
10113
10114 ac_exeext=$ac_cv_exeext
10115 echo "$as_me:$LINENO: result: $ac_file" >&5
10116 echo "${ECHO_T}$ac_file" >&6
10117
10118 # Check the compiler produces executables we can run. If not, either
10119 # the compiler is broken, or we cross compile.
10120 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10121 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10122 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10123 # If not cross compiling, check that we can run a simple program.
10124 if test "$cross_compiling" != yes; then
10125 if { ac_try='./$ac_file'
10126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10127 (eval $ac_try) 2>&5
10128 ac_status=$?
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); }; }; then
10131 cross_compiling=no
10132 else
10133 if test "$cross_compiling" = maybe; then
10134 cross_compiling=yes
10135 else
10136 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10137 If you meant to cross compile, use \`--host'.
10138 See \`config.log' for more details." >&5
10139 echo "$as_me: error: cannot run C compiled programs.
10140 If you meant to cross compile, use \`--host'.
10141 See \`config.log' for more details." >&2;}
10142 { (exit 1); exit 1; }; }
10143 fi
10144 fi
10145 fi
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10148
10149 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10150 ac_clean_files=$ac_clean_files_save
10151 # Check the compiler produces executables we can run. If not, either
10152 # the compiler is broken, or we cross compile.
10153 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10154 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10155 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10156 echo "${ECHO_T}$cross_compiling" >&6
10157
10158 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10159 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10161 (eval $ac_link) 2>&5
10162 ac_status=$?
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); }; then
10165 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10166 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10167 # work properly (i.e., refer to `conftest.exe'), while it won't with
10168 # `rm'.
10169 for ac_file in conftest.exe conftest conftest.*; do
10170 test -f "$ac_file" || continue
10171 case $ac_file in
10172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10173 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10174 export ac_cv_exeext
10175 break;;
10176 * ) break;;
10177 esac
10178 done
10179 else
10180 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10181 See \`config.log' for more details." >&5
10182 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10183 See \`config.log' for more details." >&2;}
10184 { (exit 1); exit 1; }; }
10185 fi
10186
10187 rm -f conftest$ac_cv_exeext
10188 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10189 echo "${ECHO_T}$ac_cv_exeext" >&6
10190
10191 rm -f conftest.$ac_ext
10192 EXEEXT=$ac_cv_exeext
10193 ac_exeext=$EXEEXT
10194 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10195 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10196 if test "${ac_cv_objext+set}" = set; then
10197 echo $ECHO_N "(cached) $ECHO_C" >&6
10198 else
10199 cat >conftest.$ac_ext <<_ACEOF
10200 #line $LINENO "configure"
10201 /* confdefs.h. */
10202 _ACEOF
10203 cat confdefs.h >>conftest.$ac_ext
10204 cat >>conftest.$ac_ext <<_ACEOF
10205 /* end confdefs.h. */
10206
10207 int
10208 main ()
10209 {
10210
10211 ;
10212 return 0;
10213 }
10214 _ACEOF
10215 rm -f conftest.o conftest.obj
10216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10217 (eval $ac_compile) 2>&5
10218 ac_status=$?
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); }; then
10221 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10222 case $ac_file in
10223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10224 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10225 break;;
10226 esac
10227 done
10228 else
10229 echo "$as_me: failed program was:" >&5
10230 sed 's/^/| /' conftest.$ac_ext >&5
10231
10232 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10233 See \`config.log' for more details." >&5
10234 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10235 See \`config.log' for more details." >&2;}
10236 { (exit 1); exit 1; }; }
10237 fi
10238
10239 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10240 fi
10241 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10242 echo "${ECHO_T}$ac_cv_objext" >&6
10243 OBJEXT=$ac_cv_objext
10244 ac_objext=$OBJEXT
10245 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10246 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10247 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10248 echo $ECHO_N "(cached) $ECHO_C" >&6
10249 else
10250 cat >conftest.$ac_ext <<_ACEOF
10251 #line $LINENO "configure"
10252 /* confdefs.h. */
10253 _ACEOF
10254 cat confdefs.h >>conftest.$ac_ext
10255 cat >>conftest.$ac_ext <<_ACEOF
10256 /* end confdefs.h. */
10257
10258 int
10259 main ()
10260 {
10261 #ifndef __GNUC__
10262 choke me
10263 #endif
10264
10265 ;
10266 return 0;
10267 }
10268 _ACEOF
10269 rm -f conftest.$ac_objext
10270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10271 (eval $ac_compile) 2>&5
10272 ac_status=$?
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); } &&
10275 { ac_try='test -s conftest.$ac_objext'
10276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10277 (eval $ac_try) 2>&5
10278 ac_status=$?
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); }; }; then
10281 ac_compiler_gnu=yes
10282 else
10283 echo "$as_me: failed program was:" >&5
10284 sed 's/^/| /' conftest.$ac_ext >&5
10285
10286 ac_compiler_gnu=no
10287 fi
10288 rm -f conftest.$ac_objext conftest.$ac_ext
10289 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10290
10291 fi
10292 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10293 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10294 GCC=`test $ac_compiler_gnu = yes && echo yes`
10295 ac_test_CFLAGS=${CFLAGS+set}
10296 ac_save_CFLAGS=$CFLAGS
10297 CFLAGS="-g"
10298 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10299 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10300 if test "${ac_cv_prog_cc_g+set}" = set; then
10301 echo $ECHO_N "(cached) $ECHO_C" >&6
10302 else
10303 cat >conftest.$ac_ext <<_ACEOF
10304 #line $LINENO "configure"
10305 /* confdefs.h. */
10306 _ACEOF
10307 cat confdefs.h >>conftest.$ac_ext
10308 cat >>conftest.$ac_ext <<_ACEOF
10309 /* end confdefs.h. */
10310
10311 int
10312 main ()
10313 {
10314
10315 ;
10316 return 0;
10317 }
10318 _ACEOF
10319 rm -f conftest.$ac_objext
10320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10321 (eval $ac_compile) 2>&5
10322 ac_status=$?
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); } &&
10325 { ac_try='test -s conftest.$ac_objext'
10326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10327 (eval $ac_try) 2>&5
10328 ac_status=$?
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); }; }; then
10331 ac_cv_prog_cc_g=yes
10332 else
10333 echo "$as_me: failed program was:" >&5
10334 sed 's/^/| /' conftest.$ac_ext >&5
10335
10336 ac_cv_prog_cc_g=no
10337 fi
10338 rm -f conftest.$ac_objext conftest.$ac_ext
10339 fi
10340 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10341 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10342 if test "$ac_test_CFLAGS" = set; then
10343 CFLAGS=$ac_save_CFLAGS
10344 elif test $ac_cv_prog_cc_g = yes; then
10345 if test "$GCC" = yes; then
10346 CFLAGS="-g -O2"
10347 else
10348 CFLAGS="-g"
10349 fi
10350 else
10351 if test "$GCC" = yes; then
10352 CFLAGS="-O2"
10353 else
10354 CFLAGS=
10355 fi
10356 fi
10357 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10358 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10359 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10360 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 else
10362 ac_cv_prog_cc_stdc=no
10363 ac_save_CC=$CC
10364 cat >conftest.$ac_ext <<_ACEOF
10365 #line $LINENO "configure"
10366 /* confdefs.h. */
10367 _ACEOF
10368 cat confdefs.h >>conftest.$ac_ext
10369 cat >>conftest.$ac_ext <<_ACEOF
10370 /* end confdefs.h. */
10371 #include <stdarg.h>
10372 #include <stdio.h>
10373 #include <sys/types.h>
10374 #include <sys/stat.h>
10375 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10376 struct buf { int x; };
10377 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10378 static char *e (p, i)
10379 char **p;
10380 int i;
10381 {
10382 return p[i];
10383 }
10384 static char *f (char * (*g) (char **, int), char **p, ...)
10385 {
10386 char *s;
10387 va_list v;
10388 va_start (v,p);
10389 s = g (p, va_arg (v,int));
10390 va_end (v);
10391 return s;
10392 }
10393 int test (int i, double x);
10394 struct s1 {int (*f) (int a);};
10395 struct s2 {int (*f) (double a);};
10396 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10397 int argc;
10398 char **argv;
10399 int
10400 main ()
10401 {
10402 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10403 ;
10404 return 0;
10405 }
10406 _ACEOF
10407 # Don't try gcc -ansi; that turns off useful extensions and
10408 # breaks some systems' header files.
10409 # AIX -qlanglvl=ansi
10410 # Ultrix and OSF/1 -std1
10411 # HP-UX 10.20 and later -Ae
10412 # HP-UX older versions -Aa -D_HPUX_SOURCE
10413 # SVR4 -Xc -D__EXTENSIONS__
10414 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10415 do
10416 CC="$ac_save_CC $ac_arg"
10417 rm -f conftest.$ac_objext
10418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10419 (eval $ac_compile) 2>&5
10420 ac_status=$?
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); } &&
10423 { ac_try='test -s conftest.$ac_objext'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10426 ac_status=$?
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10429 ac_cv_prog_cc_stdc=$ac_arg
10430 break
10431 else
10432 echo "$as_me: failed program was:" >&5
10433 sed 's/^/| /' conftest.$ac_ext >&5
10434
10435 fi
10436 rm -f conftest.$ac_objext
10437 done
10438 rm -f conftest.$ac_ext conftest.$ac_objext
10439 CC=$ac_save_CC
10440
10441 fi
10442
10443 case "x$ac_cv_prog_cc_stdc" in
10444 x|xno)
10445 echo "$as_me:$LINENO: result: none needed" >&5
10446 echo "${ECHO_T}none needed" >&6 ;;
10447 *)
10448 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10449 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10450 CC="$CC $ac_cv_prog_cc_stdc" ;;
10451 esac
10452
10453 # Some people use a C++ compiler to compile C. Since we use `exit',
10454 # in C++ we need to declare it. In case someone uses the same compiler
10455 # for both compiling C and C++ we need to have the C++ compiler decide
10456 # the declaration of exit, since it's the most demanding environment.
10457 cat >conftest.$ac_ext <<_ACEOF
10458 #ifndef __cplusplus
10459 choke me
10460 #endif
10461 _ACEOF
10462 rm -f conftest.$ac_objext
10463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10464 (eval $ac_compile) 2>&5
10465 ac_status=$?
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); } &&
10468 { ac_try='test -s conftest.$ac_objext'
10469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10470 (eval $ac_try) 2>&5
10471 ac_status=$?
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }; }; then
10474 for ac_declaration in \
10475 ''\
10476 '#include <stdlib.h>' \
10477 'extern "C" void std::exit (int) throw (); using std::exit;' \
10478 'extern "C" void std::exit (int); using std::exit;' \
10479 'extern "C" void exit (int) throw ();' \
10480 'extern "C" void exit (int);' \
10481 'void exit (int);'
10482 do
10483 cat >conftest.$ac_ext <<_ACEOF
10484 #line $LINENO "configure"
10485 /* confdefs.h. */
10486 _ACEOF
10487 cat confdefs.h >>conftest.$ac_ext
10488 cat >>conftest.$ac_ext <<_ACEOF
10489 /* end confdefs.h. */
10490 #include <stdlib.h>
10491 $ac_declaration
10492 int
10493 main ()
10494 {
10495 exit (42);
10496 ;
10497 return 0;
10498 }
10499 _ACEOF
10500 rm -f conftest.$ac_objext
10501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10502 (eval $ac_compile) 2>&5
10503 ac_status=$?
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); } &&
10506 { ac_try='test -s conftest.$ac_objext'
10507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10508 (eval $ac_try) 2>&5
10509 ac_status=$?
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }; }; then
10512 :
10513 else
10514 echo "$as_me: failed program was:" >&5
10515 sed 's/^/| /' conftest.$ac_ext >&5
10516
10517 continue
10518 fi
10519 rm -f conftest.$ac_objext conftest.$ac_ext
10520 cat >conftest.$ac_ext <<_ACEOF
10521 #line $LINENO "configure"
10522 /* confdefs.h. */
10523 _ACEOF
10524 cat confdefs.h >>conftest.$ac_ext
10525 cat >>conftest.$ac_ext <<_ACEOF
10526 /* end confdefs.h. */
10527 $ac_declaration
10528 int
10529 main ()
10530 {
10531 exit (42);
10532 ;
10533 return 0;
10534 }
10535 _ACEOF
10536 rm -f conftest.$ac_objext
10537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10538 (eval $ac_compile) 2>&5
10539 ac_status=$?
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); } &&
10542 { ac_try='test -s conftest.$ac_objext'
10543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10544 (eval $ac_try) 2>&5
10545 ac_status=$?
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); }; }; then
10548 break
10549 else
10550 echo "$as_me: failed program was:" >&5
10551 sed 's/^/| /' conftest.$ac_ext >&5
10552
10553 fi
10554 rm -f conftest.$ac_objext conftest.$ac_ext
10555 done
10556 rm -f conftest*
10557 if test -n "$ac_declaration"; then
10558 echo '#ifdef __cplusplus' >>confdefs.h
10559 echo $ac_declaration >>confdefs.h
10560 echo '#endif' >>confdefs.h
10561 fi
10562
10563 else
10564 echo "$as_me: failed program was:" >&5
10565 sed 's/^/| /' conftest.$ac_ext >&5
10566
10567 fi
10568 rm -f conftest.$ac_objext conftest.$ac_ext
10569 ac_ext=c
10570 ac_cpp='$CPP $CPPFLAGS'
10571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10574
10575
10576
10577 ac_ext=c
10578 ac_cpp='$CPP $CPPFLAGS'
10579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10582 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10583 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10584 # On Suns, sometimes $CPP names a directory.
10585 if test -n "$CPP" && test -d "$CPP"; then
10586 CPP=
10587 fi
10588 if test -z "$CPP"; then
10589 if test "${ac_cv_prog_CPP+set}" = set; then
10590 echo $ECHO_N "(cached) $ECHO_C" >&6
10591 else
10592 # Double quotes because CPP needs to be expanded
10593 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10594 do
10595 ac_preproc_ok=false
10596 for ac_c_preproc_warn_flag in '' yes
10597 do
10598 # Use a header file that comes with gcc, so configuring glibc
10599 # with a fresh cross-compiler works.
10600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10601 # <limits.h> exists even on freestanding compilers.
10602 # On the NeXT, cc -E runs the code through the compiler's parser,
10603 # not just through cpp. "Syntax error" is here to catch this case.
10604 cat >conftest.$ac_ext <<_ACEOF
10605 #line $LINENO "configure"
10606 /* confdefs.h. */
10607 _ACEOF
10608 cat confdefs.h >>conftest.$ac_ext
10609 cat >>conftest.$ac_ext <<_ACEOF
10610 /* end confdefs.h. */
10611 #ifdef __STDC__
10612 # include <limits.h>
10613 #else
10614 # include <assert.h>
10615 #endif
10616 Syntax error
10617 _ACEOF
10618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10619 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10620 ac_status=$?
10621 grep -v '^ *+' conftest.er1 >conftest.err
10622 rm -f conftest.er1
10623 cat conftest.err >&5
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); } >/dev/null; then
10626 if test -s conftest.err; then
10627 ac_cpp_err=$ac_c_preproc_warn_flag
10628 else
10629 ac_cpp_err=
10630 fi
10631 else
10632 ac_cpp_err=yes
10633 fi
10634 if test -z "$ac_cpp_err"; then
10635 :
10636 else
10637 echo "$as_me: failed program was:" >&5
10638 sed 's/^/| /' conftest.$ac_ext >&5
10639
10640 # Broken: fails on valid input.
10641 continue
10642 fi
10643 rm -f conftest.err conftest.$ac_ext
10644
10645 # OK, works on sane cases. Now check whether non-existent headers
10646 # can be detected and how.
10647 cat >conftest.$ac_ext <<_ACEOF
10648 #line $LINENO "configure"
10649 /* confdefs.h. */
10650 _ACEOF
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10654 #include <ac_nonexistent.h>
10655 _ACEOF
10656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10658 ac_status=$?
10659 grep -v '^ *+' conftest.er1 >conftest.err
10660 rm -f conftest.er1
10661 cat conftest.err >&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } >/dev/null; then
10664 if test -s conftest.err; then
10665 ac_cpp_err=$ac_c_preproc_warn_flag
10666 else
10667 ac_cpp_err=
10668 fi
10669 else
10670 ac_cpp_err=yes
10671 fi
10672 if test -z "$ac_cpp_err"; then
10673 # Broken: success on invalid input.
10674 continue
10675 else
10676 echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.$ac_ext >&5
10678
10679 # Passes both tests.
10680 ac_preproc_ok=:
10681 break
10682 fi
10683 rm -f conftest.err conftest.$ac_ext
10684
10685 done
10686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10687 rm -f conftest.err conftest.$ac_ext
10688 if $ac_preproc_ok; then
10689 break
10690 fi
10691
10692 done
10693 ac_cv_prog_CPP=$CPP
10694
10695 fi
10696 CPP=$ac_cv_prog_CPP
10697 else
10698 ac_cv_prog_CPP=$CPP
10699 fi
10700 echo "$as_me:$LINENO: result: $CPP" >&5
10701 echo "${ECHO_T}$CPP" >&6
10702 ac_preproc_ok=false
10703 for ac_c_preproc_warn_flag in '' yes
10704 do
10705 # Use a header file that comes with gcc, so configuring glibc
10706 # with a fresh cross-compiler works.
10707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10708 # <limits.h> exists even on freestanding compilers.
10709 # On the NeXT, cc -E runs the code through the compiler's parser,
10710 # not just through cpp. "Syntax error" is here to catch this case.
10711 cat >conftest.$ac_ext <<_ACEOF
10712 #line $LINENO "configure"
10713 /* confdefs.h. */
10714 _ACEOF
10715 cat confdefs.h >>conftest.$ac_ext
10716 cat >>conftest.$ac_ext <<_ACEOF
10717 /* end confdefs.h. */
10718 #ifdef __STDC__
10719 # include <limits.h>
10720 #else
10721 # include <assert.h>
10722 #endif
10723 Syntax error
10724 _ACEOF
10725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10727 ac_status=$?
10728 grep -v '^ *+' conftest.er1 >conftest.err
10729 rm -f conftest.er1
10730 cat conftest.err >&5
10731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10732 (exit $ac_status); } >/dev/null; then
10733 if test -s conftest.err; then
10734 ac_cpp_err=$ac_c_preproc_warn_flag
10735 else
10736 ac_cpp_err=
10737 fi
10738 else
10739 ac_cpp_err=yes
10740 fi
10741 if test -z "$ac_cpp_err"; then
10742 :
10743 else
10744 echo "$as_me: failed program was:" >&5
10745 sed 's/^/| /' conftest.$ac_ext >&5
10746
10747 # Broken: fails on valid input.
10748 continue
10749 fi
10750 rm -f conftest.err conftest.$ac_ext
10751
10752 # OK, works on sane cases. Now check whether non-existent headers
10753 # can be detected and how.
10754 cat >conftest.$ac_ext <<_ACEOF
10755 #line $LINENO "configure"
10756 /* confdefs.h. */
10757 _ACEOF
10758 cat confdefs.h >>conftest.$ac_ext
10759 cat >>conftest.$ac_ext <<_ACEOF
10760 /* end confdefs.h. */
10761 #include <ac_nonexistent.h>
10762 _ACEOF
10763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10765 ac_status=$?
10766 grep -v '^ *+' conftest.er1 >conftest.err
10767 rm -f conftest.er1
10768 cat conftest.err >&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); } >/dev/null; then
10771 if test -s conftest.err; then
10772 ac_cpp_err=$ac_c_preproc_warn_flag
10773 else
10774 ac_cpp_err=
10775 fi
10776 else
10777 ac_cpp_err=yes
10778 fi
10779 if test -z "$ac_cpp_err"; then
10780 # Broken: success on invalid input.
10781 continue
10782 else
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.$ac_ext >&5
10785
10786 # Passes both tests.
10787 ac_preproc_ok=:
10788 break
10789 fi
10790 rm -f conftest.err conftest.$ac_ext
10791
10792 done
10793 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10794 rm -f conftest.err conftest.$ac_ext
10795 if $ac_preproc_ok; then
10796 :
10797 else
10798 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10799 See \`config.log' for more details." >&5
10800 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10801 See \`config.log' for more details." >&2;}
10802 { (exit 1); exit 1; }; }
10803 fi
10804
10805 ac_ext=c
10806 ac_cpp='$CPP $CPPFLAGS'
10807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10810
10811
10812 echo "$as_me:$LINENO: checking for egrep" >&5
10813 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10814 if test "${ac_cv_prog_egrep+set}" = set; then
10815 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 else
10817 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10818 then ac_cv_prog_egrep='grep -E'
10819 else ac_cv_prog_egrep='egrep'
10820 fi
10821 fi
10822 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10823 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10824 EGREP=$ac_cv_prog_egrep
10825
10826
10827 if test $ac_cv_c_compiler_gnu = yes; then
10828 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10829 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10830 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10831 echo $ECHO_N "(cached) $ECHO_C" >&6
10832 else
10833 ac_pattern="Autoconf.*'x'"
10834 cat >conftest.$ac_ext <<_ACEOF
10835 #line $LINENO "configure"
10836 /* confdefs.h. */
10837 _ACEOF
10838 cat confdefs.h >>conftest.$ac_ext
10839 cat >>conftest.$ac_ext <<_ACEOF
10840 /* end confdefs.h. */
10841 #include <sgtty.h>
10842 Autoconf TIOCGETP
10843 _ACEOF
10844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10845 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10846 ac_cv_prog_gcc_traditional=yes
10847 else
10848 ac_cv_prog_gcc_traditional=no
10849 fi
10850 rm -f conftest*
10851
10852
10853 if test $ac_cv_prog_gcc_traditional = no; then
10854 cat >conftest.$ac_ext <<_ACEOF
10855 #line $LINENO "configure"
10856 /* confdefs.h. */
10857 _ACEOF
10858 cat confdefs.h >>conftest.$ac_ext
10859 cat >>conftest.$ac_ext <<_ACEOF
10860 /* end confdefs.h. */
10861 #include <termio.h>
10862 Autoconf TCGETA
10863 _ACEOF
10864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10865 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10866 ac_cv_prog_gcc_traditional=yes
10867 fi
10868 rm -f conftest*
10869
10870 fi
10871 fi
10872 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10873 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10874 if test $ac_cv_prog_gcc_traditional = yes; then
10875 CC="$CC -traditional"
10876 fi
10877 fi
10878
10879
10880
10881
10882 ac_ext=cc
10883 ac_cpp='$CXXCPP $CPPFLAGS'
10884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10887
10888
10889 CXXFLAGS=${CXXFLAGS:=}
10890 ac_ext=cc
10891 ac_cpp='$CXXCPP $CPPFLAGS'
10892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10895 if test -n "$ac_tool_prefix"; then
10896 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10897 do
10898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10899 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10900 echo "$as_me:$LINENO: checking for $ac_word" >&5
10901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10902 if test "${ac_cv_prog_CXX+set}" = set; then
10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10904 else
10905 if test -n "$CXX"; then
10906 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10907 else
10908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10909 for as_dir in $PATH
10910 do
10911 IFS=$as_save_IFS
10912 test -z "$as_dir" && as_dir=.
10913 for ac_exec_ext in '' $ac_executable_extensions; do
10914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10915 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10917 break 2
10918 fi
10919 done
10920 done
10921
10922 fi
10923 fi
10924 CXX=$ac_cv_prog_CXX
10925 if test -n "$CXX"; then
10926 echo "$as_me:$LINENO: result: $CXX" >&5
10927 echo "${ECHO_T}$CXX" >&6
10928 else
10929 echo "$as_me:$LINENO: result: no" >&5
10930 echo "${ECHO_T}no" >&6
10931 fi
10932
10933 test -n "$CXX" && break
10934 done
10935 fi
10936 if test -z "$CXX"; then
10937 ac_ct_CXX=$CXX
10938 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10939 do
10940 # Extract the first word of "$ac_prog", so it can be a program name with args.
10941 set dummy $ac_prog; ac_word=$2
10942 echo "$as_me:$LINENO: checking for $ac_word" >&5
10943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10944 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10946 else
10947 if test -n "$ac_ct_CXX"; then
10948 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10949 else
10950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10951 for as_dir in $PATH
10952 do
10953 IFS=$as_save_IFS
10954 test -z "$as_dir" && as_dir=.
10955 for ac_exec_ext in '' $ac_executable_extensions; do
10956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10957 ac_cv_prog_ac_ct_CXX="$ac_prog"
10958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10959 break 2
10960 fi
10961 done
10962 done
10963
10964 fi
10965 fi
10966 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10967 if test -n "$ac_ct_CXX"; then
10968 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10969 echo "${ECHO_T}$ac_ct_CXX" >&6
10970 else
10971 echo "$as_me:$LINENO: result: no" >&5
10972 echo "${ECHO_T}no" >&6
10973 fi
10974
10975 test -n "$ac_ct_CXX" && break
10976 done
10977 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10978
10979 CXX=$ac_ct_CXX
10980 fi
10981
10982
10983 # Provide some information about the compiler.
10984 echo "$as_me:$LINENO:" \
10985 "checking for C++ compiler version" >&5
10986 ac_compiler=`set X $ac_compile; echo $2`
10987 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10988 (eval $ac_compiler --version </dev/null >&5) 2>&5
10989 ac_status=$?
10990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991 (exit $ac_status); }
10992 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10993 (eval $ac_compiler -v </dev/null >&5) 2>&5
10994 ac_status=$?
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); }
10997 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10998 (eval $ac_compiler -V </dev/null >&5) 2>&5
10999 ac_status=$?
11000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 (exit $ac_status); }
11002
11003 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11004 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11005 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11007 else
11008 cat >conftest.$ac_ext <<_ACEOF
11009 #line $LINENO "configure"
11010 /* confdefs.h. */
11011 _ACEOF
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015
11016 int
11017 main ()
11018 {
11019 #ifndef __GNUC__
11020 choke me
11021 #endif
11022
11023 ;
11024 return 0;
11025 }
11026 _ACEOF
11027 rm -f conftest.$ac_objext
11028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11029 (eval $ac_compile) 2>&5
11030 ac_status=$?
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } &&
11033 { ac_try='test -s conftest.$ac_objext'
11034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11035 (eval $ac_try) 2>&5
11036 ac_status=$?
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; }; then
11039 ac_compiler_gnu=yes
11040 else
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.$ac_ext >&5
11043
11044 ac_compiler_gnu=no
11045 fi
11046 rm -f conftest.$ac_objext conftest.$ac_ext
11047 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11048
11049 fi
11050 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11051 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11052 GXX=`test $ac_compiler_gnu = yes && echo yes`
11053 ac_test_CXXFLAGS=${CXXFLAGS+set}
11054 ac_save_CXXFLAGS=$CXXFLAGS
11055 CXXFLAGS="-g"
11056 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11057 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11058 if test "${ac_cv_prog_cxx_g+set}" = set; then
11059 echo $ECHO_N "(cached) $ECHO_C" >&6
11060 else
11061 cat >conftest.$ac_ext <<_ACEOF
11062 #line $LINENO "configure"
11063 /* confdefs.h. */
11064 _ACEOF
11065 cat confdefs.h >>conftest.$ac_ext
11066 cat >>conftest.$ac_ext <<_ACEOF
11067 /* end confdefs.h. */
11068
11069 int
11070 main ()
11071 {
11072
11073 ;
11074 return 0;
11075 }
11076 _ACEOF
11077 rm -f conftest.$ac_objext
11078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11079 (eval $ac_compile) 2>&5
11080 ac_status=$?
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); } &&
11083 { ac_try='test -s conftest.$ac_objext'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11086 ac_status=$?
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; }; then
11089 ac_cv_prog_cxx_g=yes
11090 else
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.$ac_ext >&5
11093
11094 ac_cv_prog_cxx_g=no
11095 fi
11096 rm -f conftest.$ac_objext conftest.$ac_ext
11097 fi
11098 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11099 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11100 if test "$ac_test_CXXFLAGS" = set; then
11101 CXXFLAGS=$ac_save_CXXFLAGS
11102 elif test $ac_cv_prog_cxx_g = yes; then
11103 if test "$GXX" = yes; then
11104 CXXFLAGS="-g -O2"
11105 else
11106 CXXFLAGS="-g"
11107 fi
11108 else
11109 if test "$GXX" = yes; then
11110 CXXFLAGS="-O2"
11111 else
11112 CXXFLAGS=
11113 fi
11114 fi
11115 for ac_declaration in \
11116 ''\
11117 '#include <stdlib.h>' \
11118 'extern "C" void std::exit (int) throw (); using std::exit;' \
11119 'extern "C" void std::exit (int); using std::exit;' \
11120 'extern "C" void exit (int) throw ();' \
11121 'extern "C" void exit (int);' \
11122 'void exit (int);'
11123 do
11124 cat >conftest.$ac_ext <<_ACEOF
11125 #line $LINENO "configure"
11126 /* confdefs.h. */
11127 _ACEOF
11128 cat confdefs.h >>conftest.$ac_ext
11129 cat >>conftest.$ac_ext <<_ACEOF
11130 /* end confdefs.h. */
11131 #include <stdlib.h>
11132 $ac_declaration
11133 int
11134 main ()
11135 {
11136 exit (42);
11137 ;
11138 return 0;
11139 }
11140 _ACEOF
11141 rm -f conftest.$ac_objext
11142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11143 (eval $ac_compile) 2>&5
11144 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); } &&
11147 { ac_try='test -s conftest.$ac_objext'
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5
11150 ac_status=$?
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; }; then
11153 :
11154 else
11155 echo "$as_me: failed program was:" >&5
11156 sed 's/^/| /' conftest.$ac_ext >&5
11157
11158 continue
11159 fi
11160 rm -f conftest.$ac_objext conftest.$ac_ext
11161 cat >conftest.$ac_ext <<_ACEOF
11162 #line $LINENO "configure"
11163 /* confdefs.h. */
11164 _ACEOF
11165 cat confdefs.h >>conftest.$ac_ext
11166 cat >>conftest.$ac_ext <<_ACEOF
11167 /* end confdefs.h. */
11168 $ac_declaration
11169 int
11170 main ()
11171 {
11172 exit (42);
11173 ;
11174 return 0;
11175 }
11176 _ACEOF
11177 rm -f conftest.$ac_objext
11178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11179 (eval $ac_compile) 2>&5
11180 ac_status=$?
11181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182 (exit $ac_status); } &&
11183 { ac_try='test -s conftest.$ac_objext'
11184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11185 (eval $ac_try) 2>&5
11186 ac_status=$?
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); }; }; then
11189 break
11190 else
11191 echo "$as_me: failed program was:" >&5
11192 sed 's/^/| /' conftest.$ac_ext >&5
11193
11194 fi
11195 rm -f conftest.$ac_objext conftest.$ac_ext
11196 done
11197 rm -f conftest*
11198 if test -n "$ac_declaration"; then
11199 echo '#ifdef __cplusplus' >>confdefs.h
11200 echo $ac_declaration >>confdefs.h
11201 echo '#endif' >>confdefs.h
11202 fi
11203
11204 ac_ext=cc
11205 ac_cpp='$CXXCPP $CPPFLAGS'
11206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11209
11210
11211 ac_ext=c
11212 ac_cpp='$CPP $CPPFLAGS'
11213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11216
11217
11218 if test -n "$ac_tool_prefix"; then
11219 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11220 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11221 echo "$as_me:$LINENO: checking for $ac_word" >&5
11222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11223 if test "${ac_cv_prog_RANLIB+set}" = set; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 else
11226 if test -n "$RANLIB"; then
11227 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11228 else
11229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11230 for as_dir in $PATH
11231 do
11232 IFS=$as_save_IFS
11233 test -z "$as_dir" && as_dir=.
11234 for ac_exec_ext in '' $ac_executable_extensions; do
11235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11236 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11238 break 2
11239 fi
11240 done
11241 done
11242
11243 fi
11244 fi
11245 RANLIB=$ac_cv_prog_RANLIB
11246 if test -n "$RANLIB"; then
11247 echo "$as_me:$LINENO: result: $RANLIB" >&5
11248 echo "${ECHO_T}$RANLIB" >&6
11249 else
11250 echo "$as_me:$LINENO: result: no" >&5
11251 echo "${ECHO_T}no" >&6
11252 fi
11253
11254 fi
11255 if test -z "$ac_cv_prog_RANLIB"; then
11256 ac_ct_RANLIB=$RANLIB
11257 # Extract the first word of "ranlib", so it can be a program name with args.
11258 set dummy ranlib; ac_word=$2
11259 echo "$as_me:$LINENO: checking for $ac_word" >&5
11260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11261 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11262 echo $ECHO_N "(cached) $ECHO_C" >&6
11263 else
11264 if test -n "$ac_ct_RANLIB"; then
11265 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11266 else
11267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11268 for as_dir in $PATH
11269 do
11270 IFS=$as_save_IFS
11271 test -z "$as_dir" && as_dir=.
11272 for ac_exec_ext in '' $ac_executable_extensions; do
11273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11274 ac_cv_prog_ac_ct_RANLIB="ranlib"
11275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11276 break 2
11277 fi
11278 done
11279 done
11280
11281 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11282 fi
11283 fi
11284 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11285 if test -n "$ac_ct_RANLIB"; then
11286 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11287 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11288 else
11289 echo "$as_me:$LINENO: result: no" >&5
11290 echo "${ECHO_T}no" >&6
11291 fi
11292
11293 RANLIB=$ac_ct_RANLIB
11294 else
11295 RANLIB="$ac_cv_prog_RANLIB"
11296 fi
11297
11298
11299 # Extract the first word of "ar", so it can be a program name with args.
11300 set dummy ar; ac_word=$2
11301 echo "$as_me:$LINENO: checking for $ac_word" >&5
11302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11303 if test "${ac_cv_prog_AR+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 else
11306 if test -n "$AR"; then
11307 ac_cv_prog_AR="$AR" # Let the user override the test.
11308 else
11309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11310 for as_dir in $PATH
11311 do
11312 IFS=$as_save_IFS
11313 test -z "$as_dir" && as_dir=.
11314 for ac_exec_ext in '' $ac_executable_extensions; do
11315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11316 ac_cv_prog_AR="ar"
11317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11318 break 2
11319 fi
11320 done
11321 done
11322
11323 fi
11324 fi
11325 AR=$ac_cv_prog_AR
11326 if test -n "$AR"; then
11327 echo "$as_me:$LINENO: result: $AR" >&5
11328 echo "${ECHO_T}$AR" >&6
11329 else
11330 echo "$as_me:$LINENO: result: no" >&5
11331 echo "${ECHO_T}no" >&6
11332 fi
11333
11334 if test "x$AR" = "x" ; then
11335 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11336 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11337 { (exit 1); exit 1; }; }
11338 fi
11339
11340 # Find a good install program. We prefer a C program (faster),
11341 # so one script is as good as another. But avoid the broken or
11342 # incompatible versions:
11343 # SysV /etc/install, /usr/sbin/install
11344 # SunOS /usr/etc/install
11345 # IRIX /sbin/install
11346 # AIX /bin/install
11347 # AmigaOS /C/install, which installs bootblocks on floppy discs
11348 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11349 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11350 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11351 # ./install, which can be erroneously created by make from ./install.sh.
11352 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11353 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11354 if test -z "$INSTALL"; then
11355 if test "${ac_cv_path_install+set}" = set; then
11356 echo $ECHO_N "(cached) $ECHO_C" >&6
11357 else
11358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11359 for as_dir in $PATH
11360 do
11361 IFS=$as_save_IFS
11362 test -z "$as_dir" && as_dir=.
11363 # Account for people who put trailing slashes in PATH elements.
11364 case $as_dir/ in
11365 ./ | .// | /cC/* | \
11366 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11367 /usr/ucb/* ) ;;
11368 *)
11369 # OSF1 and SCO ODT 3.0 have their own names for install.
11370 # Don't use installbsd from OSF since it installs stuff as root
11371 # by default.
11372 for ac_prog in ginstall scoinst install; do
11373 for ac_exec_ext in '' $ac_executable_extensions; do
11374 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11375 if test $ac_prog = install &&
11376 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11377 # AIX install. It has an incompatible calling convention.
11378 :
11379 elif test $ac_prog = install &&
11380 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11381 # program-specific install script used by HP pwplus--don't use.
11382 :
11383 else
11384 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11385 break 3
11386 fi
11387 fi
11388 done
11389 done
11390 ;;
11391 esac
11392 done
11393
11394
11395 fi
11396 if test "${ac_cv_path_install+set}" = set; then
11397 INSTALL=$ac_cv_path_install
11398 else
11399 # As a last resort, use the slow shell script. We don't cache a
11400 # path for INSTALL within a source directory, because that will
11401 # break other packages using the cache if that directory is
11402 # removed, or if the path is relative.
11403 INSTALL=$ac_install_sh
11404 fi
11405 fi
11406 echo "$as_me:$LINENO: result: $INSTALL" >&5
11407 echo "${ECHO_T}$INSTALL" >&6
11408
11409 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11410 # It thinks the first close brace ends the variable substitution.
11411 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11412
11413 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11414
11415 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11416
11417
11418 case ${INSTALL} in
11419 /* ) # Absolute
11420 ;;
11421 ?:* ) # Drive letter, considered as absolute.
11422 ;;
11423 *)
11424 INSTALL=`pwd`/${INSTALL} ;;
11425 esac
11426
11427 case ${host} in
11428 *-hp-hpux* )
11429 INSTALL_DIR="mkdir"
11430 ;;
11431
11432 *) INSTALL_DIR="$INSTALL -d"
11433 ;;
11434 esac
11435
11436
11437 case "${host}" in
11438
11439 powerpc-*-darwin* )
11440 INSTALL_PROGRAM="cp -fp"
11441 INSTALL_DATA="cp -fp"
11442 ;;
11443 *)
11444 ;;
11445 esac
11446
11447 # Extract the first word of "strip", so it can be a program name with args.
11448 set dummy strip; ac_word=$2
11449 echo "$as_me:$LINENO: checking for $ac_word" >&5
11450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11451 if test "${ac_cv_prog_STRIP+set}" = set; then
11452 echo $ECHO_N "(cached) $ECHO_C" >&6
11453 else
11454 if test -n "$STRIP"; then
11455 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11456 else
11457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11458 for as_dir in $PATH
11459 do
11460 IFS=$as_save_IFS
11461 test -z "$as_dir" && as_dir=.
11462 for ac_exec_ext in '' $ac_executable_extensions; do
11463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11464 ac_cv_prog_STRIP="strip"
11465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11466 break 2
11467 fi
11468 done
11469 done
11470
11471 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11472 fi
11473 fi
11474 STRIP=$ac_cv_prog_STRIP
11475 if test -n "$STRIP"; then
11476 echo "$as_me:$LINENO: result: $STRIP" >&5
11477 echo "${ECHO_T}$STRIP" >&6
11478 else
11479 echo "$as_me:$LINENO: result: no" >&5
11480 echo "${ECHO_T}no" >&6
11481 fi
11482
11483
11484 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11485 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11486 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11488 else
11489
11490 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11491 egrep -s GNU > /dev/null); then
11492 wx_cv_prog_makeisgnu="yes"
11493 else
11494 wx_cv_prog_makeisgnu="no"
11495 fi
11496
11497 fi
11498 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11499 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11500
11501 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11502 IF_GNU_MAKE=""
11503 else
11504 IF_GNU_MAKE="#"
11505 fi
11506
11507
11508
11509 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11510 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11511 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11512 if test "${wx_cv_prog_makevpath+set}" = set; then
11513 echo $ECHO_N "(cached) $ECHO_C" >&6
11514 else
11515
11516 cat - << EOF > confMake
11517 check : file
11518 cp \$? \$@
11519 cp \$? final_file
11520 EOF
11521
11522 if test ! -d sub ; then
11523 mkdir sub
11524 fi
11525 echo dummy > sub/file
11526 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11527 RESULT=$?
11528 rm -f sub/file check final_file confMake
11529 rmdir sub
11530 if test "$RESULT" = 0; then
11531 wx_cv_prog_makevpath="yes"
11532 else
11533 wx_cv_prog_makevpath="no"
11534 fi
11535
11536 fi
11537 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11538 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11539
11540 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11541 { { echo "$as_me:$LINENO: error:
11542 You need a make-utility that is able to use the variable
11543 VPATH correctly.
11544 If your version of make does not support VPATH correctly,
11545 please install GNU-make (possibly as gmake), and start
11546 configure with the following command:
11547 export MAKE=gmake; ./configure for sh-type shells
11548 setenv MAKE gmake; ./configure for csh-type shells
11549 Also please do remember to use gmake in this case every time
11550 you are trying to compile.
11551 " >&5
11552 echo "$as_me: error:
11553 You need a make-utility that is able to use the variable
11554 VPATH correctly.
11555 If your version of make does not support VPATH correctly,
11556 please install GNU-make (possibly as gmake), and start
11557 configure with the following command:
11558 export MAKE=gmake; ./configure for sh-type shells
11559 setenv MAKE gmake; ./configure for csh-type shells
11560 Also please do remember to use gmake in this case every time
11561 you are trying to compile.
11562 " >&2;}
11563 { (exit 1); exit 1; }; }
11564 fi fi
11565 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11566 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11567 LN_S=$as_ln_s
11568 if test "$LN_S" = "ln -s"; then
11569 echo "$as_me:$LINENO: result: yes" >&5
11570 echo "${ECHO_T}yes" >&6
11571 else
11572 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11573 echo "${ECHO_T}no, using $LN_S" >&6
11574 fi
11575
11576
11577 case "${host}" in
11578 *-pc-os2_emx | *-pc-os2-emx )
11579 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11580 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11581 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11582 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11583 echo $ECHO_N "(cached) $ECHO_C" >&6
11584 else
11585 ac_check_lib_save_LIBS=$LIBS
11586 LIBS="-lcExt $LIBS"
11587 cat >conftest.$ac_ext <<_ACEOF
11588 #line $LINENO "configure"
11589 /* confdefs.h. */
11590 _ACEOF
11591 cat confdefs.h >>conftest.$ac_ext
11592 cat >>conftest.$ac_ext <<_ACEOF
11593 /* end confdefs.h. */
11594
11595 /* Override any gcc2 internal prototype to avoid an error. */
11596 #ifdef __cplusplus
11597 extern "C"
11598 #endif
11599 /* We use char because int might match the return type of a gcc2
11600 builtin and then its argument prototype would still apply. */
11601 char drand48 ();
11602 int
11603 main ()
11604 {
11605 drand48 ();
11606 ;
11607 return 0;
11608 }
11609 _ACEOF
11610 rm -f conftest.$ac_objext conftest$ac_exeext
11611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11612 (eval $ac_link) 2>&5
11613 ac_status=$?
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); } &&
11616 { ac_try='test -s conftest$ac_exeext'
11617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11618 (eval $ac_try) 2>&5
11619 ac_status=$?
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); }; }; then
11622 ac_cv_lib_cExt_drand48=yes
11623 else
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.$ac_ext >&5
11626
11627 ac_cv_lib_cExt_drand48=no
11628 fi
11629 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11630 LIBS=$ac_check_lib_save_LIBS
11631 fi
11632 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11633 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11634 if test $ac_cv_lib_cExt_drand48 = yes; then
11635 LIBS="$LIBS -lcExt"
11636 fi
11637
11638 else
11639 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11640 fi
11641 ;;
11642 esac
11643
11644
11645 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11646 echo "$as_me:$LINENO: checking for strings.h" >&5
11647 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11648 if test "${ac_cv_header_strings_h+set}" = set; then
11649 echo $ECHO_N "(cached) $ECHO_C" >&6
11650 else
11651 ac_cv_header_strings_h=no
11652 fi
11653 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11654 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11655 if test "$ac_cv_header_strings_h" = "no"; then
11656 echo "$as_me:$LINENO: result: forced no into cache" >&5
11657 echo "${ECHO_T}forced no into cache" >&6
11658 else
11659 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11660 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11661 fi
11662 fi
11663 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11664 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11665 if test "${ac_cv_header_stdc+set}" = set; then
11666 echo $ECHO_N "(cached) $ECHO_C" >&6
11667 else
11668 cat >conftest.$ac_ext <<_ACEOF
11669 #line $LINENO "configure"
11670 /* confdefs.h. */
11671 _ACEOF
11672 cat confdefs.h >>conftest.$ac_ext
11673 cat >>conftest.$ac_ext <<_ACEOF
11674 /* end confdefs.h. */
11675 #include <stdlib.h>
11676 #include <stdarg.h>
11677 #include <string.h>
11678 #include <float.h>
11679
11680 int
11681 main ()
11682 {
11683
11684 ;
11685 return 0;
11686 }
11687 _ACEOF
11688 rm -f conftest.$ac_objext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11690 (eval $ac_compile) 2>&5
11691 ac_status=$?
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); } &&
11694 { ac_try='test -s conftest.$ac_objext'
11695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11696 (eval $ac_try) 2>&5
11697 ac_status=$?
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); }; }; then
11700 ac_cv_header_stdc=yes
11701 else
11702 echo "$as_me: failed program was:" >&5
11703 sed 's/^/| /' conftest.$ac_ext >&5
11704
11705 ac_cv_header_stdc=no
11706 fi
11707 rm -f conftest.$ac_objext conftest.$ac_ext
11708
11709 if test $ac_cv_header_stdc = yes; then
11710 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11711 cat >conftest.$ac_ext <<_ACEOF
11712 #line $LINENO "configure"
11713 /* confdefs.h. */
11714 _ACEOF
11715 cat confdefs.h >>conftest.$ac_ext
11716 cat >>conftest.$ac_ext <<_ACEOF
11717 /* end confdefs.h. */
11718 #include <string.h>
11719
11720 _ACEOF
11721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11722 $EGREP "memchr" >/dev/null 2>&1; then
11723 :
11724 else
11725 ac_cv_header_stdc=no
11726 fi
11727 rm -f conftest*
11728
11729 fi
11730
11731 if test $ac_cv_header_stdc = yes; then
11732 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11733 cat >conftest.$ac_ext <<_ACEOF
11734 #line $LINENO "configure"
11735 /* confdefs.h. */
11736 _ACEOF
11737 cat confdefs.h >>conftest.$ac_ext
11738 cat >>conftest.$ac_ext <<_ACEOF
11739 /* end confdefs.h. */
11740 #include <stdlib.h>
11741
11742 _ACEOF
11743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11744 $EGREP "free" >/dev/null 2>&1; then
11745 :
11746 else
11747 ac_cv_header_stdc=no
11748 fi
11749 rm -f conftest*
11750
11751 fi
11752
11753 if test $ac_cv_header_stdc = yes; then
11754 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11755 if test "$cross_compiling" = yes; then
11756 :
11757 else
11758 cat >conftest.$ac_ext <<_ACEOF
11759 #line $LINENO "configure"
11760 /* confdefs.h. */
11761 _ACEOF
11762 cat confdefs.h >>conftest.$ac_ext
11763 cat >>conftest.$ac_ext <<_ACEOF
11764 /* end confdefs.h. */
11765 #include <ctype.h>
11766 #if ((' ' & 0x0FF) == 0x020)
11767 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11768 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11769 #else
11770 # define ISLOWER(c) \
11771 (('a' <= (c) && (c) <= 'i') \
11772 || ('j' <= (c) && (c) <= 'r') \
11773 || ('s' <= (c) && (c) <= 'z'))
11774 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11775 #endif
11776
11777 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11778 int
11779 main ()
11780 {
11781 int i;
11782 for (i = 0; i < 256; i++)
11783 if (XOR (islower (i), ISLOWER (i))
11784 || toupper (i) != TOUPPER (i))
11785 exit(2);
11786 exit (0);
11787 }
11788 _ACEOF
11789 rm -f conftest$ac_exeext
11790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11791 (eval $ac_link) 2>&5
11792 ac_status=$?
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11797 ac_status=$?
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; }; then
11800 :
11801 else
11802 echo "$as_me: program exited with status $ac_status" >&5
11803 echo "$as_me: failed program was:" >&5
11804 sed 's/^/| /' conftest.$ac_ext >&5
11805
11806 ( exit $ac_status )
11807 ac_cv_header_stdc=no
11808 fi
11809 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11810 fi
11811 fi
11812 fi
11813 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11814 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11815 if test $ac_cv_header_stdc = yes; then
11816
11817 cat >>confdefs.h <<\_ACEOF
11818 #define STDC_HEADERS 1
11819 _ACEOF
11820
11821 fi
11822
11823 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11834 inttypes.h stdint.h unistd.h
11835 do
11836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11837 echo "$as_me:$LINENO: checking for $ac_header" >&5
11838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11841 else
11842 cat >conftest.$ac_ext <<_ACEOF
11843 #line $LINENO "configure"
11844 /* confdefs.h. */
11845 _ACEOF
11846 cat confdefs.h >>conftest.$ac_ext
11847 cat >>conftest.$ac_ext <<_ACEOF
11848 /* end confdefs.h. */
11849 $ac_includes_default
11850
11851 #include <$ac_header>
11852 _ACEOF
11853 rm -f conftest.$ac_objext
11854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11855 (eval $ac_compile) 2>&5
11856 ac_status=$?
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); } &&
11859 { ac_try='test -s conftest.$ac_objext'
11860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861 (eval $ac_try) 2>&5
11862 ac_status=$?
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); }; }; then
11865 eval "$as_ac_Header=yes"
11866 else
11867 echo "$as_me: failed program was:" >&5
11868 sed 's/^/| /' conftest.$ac_ext >&5
11869
11870 eval "$as_ac_Header=no"
11871 fi
11872 rm -f conftest.$ac_objext conftest.$ac_ext
11873 fi
11874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11877 cat >>confdefs.h <<_ACEOF
11878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11879 _ACEOF
11880
11881 fi
11882
11883 done
11884
11885
11886
11887 for ac_header in strings.h
11888 do
11889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11891 echo "$as_me:$LINENO: checking for $ac_header" >&5
11892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11894 echo $ECHO_N "(cached) $ECHO_C" >&6
11895 fi
11896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11898 else
11899 # Is the header compilable?
11900 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11901 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11902 cat >conftest.$ac_ext <<_ACEOF
11903 #line $LINENO "configure"
11904 /* confdefs.h. */
11905 _ACEOF
11906 cat confdefs.h >>conftest.$ac_ext
11907 cat >>conftest.$ac_ext <<_ACEOF
11908 /* end confdefs.h. */
11909 $ac_includes_default
11910 #include <$ac_header>
11911 _ACEOF
11912 rm -f conftest.$ac_objext
11913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11914 (eval $ac_compile) 2>&5
11915 ac_status=$?
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } &&
11918 { ac_try='test -s conftest.$ac_objext'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11921 ac_status=$?
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; }; then
11924 ac_header_compiler=yes
11925 else
11926 echo "$as_me: failed program was:" >&5
11927 sed 's/^/| /' conftest.$ac_ext >&5
11928
11929 ac_header_compiler=no
11930 fi
11931 rm -f conftest.$ac_objext conftest.$ac_ext
11932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11933 echo "${ECHO_T}$ac_header_compiler" >&6
11934
11935 # Is the header present?
11936 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11938 cat >conftest.$ac_ext <<_ACEOF
11939 #line $LINENO "configure"
11940 /* confdefs.h. */
11941 _ACEOF
11942 cat confdefs.h >>conftest.$ac_ext
11943 cat >>conftest.$ac_ext <<_ACEOF
11944 /* end confdefs.h. */
11945 #include <$ac_header>
11946 _ACEOF
11947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11948 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11949 ac_status=$?
11950 grep -v '^ *+' conftest.er1 >conftest.err
11951 rm -f conftest.er1
11952 cat conftest.err >&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); } >/dev/null; then
11955 if test -s conftest.err; then
11956 ac_cpp_err=$ac_c_preproc_warn_flag
11957 else
11958 ac_cpp_err=
11959 fi
11960 else
11961 ac_cpp_err=yes
11962 fi
11963 if test -z "$ac_cpp_err"; then
11964 ac_header_preproc=yes
11965 else
11966 echo "$as_me: failed program was:" >&5
11967 sed 's/^/| /' conftest.$ac_ext >&5
11968
11969 ac_header_preproc=no
11970 fi
11971 rm -f conftest.err conftest.$ac_ext
11972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11973 echo "${ECHO_T}$ac_header_preproc" >&6
11974
11975 # So? What about this header?
11976 case $ac_header_compiler:$ac_header_preproc in
11977 yes:no )
11978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11982 (
11983 cat <<\_ASBOX
11984 ## ------------------------------------ ##
11985 ## Report this to bug-autoconf@gnu.org. ##
11986 ## ------------------------------------ ##
11987 _ASBOX
11988 ) |
11989 sed "s/^/$as_me: WARNING: /" >&2
11990 ;;
11991 no:yes )
11992 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11994 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11995 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11998 (
11999 cat <<\_ASBOX
12000 ## ------------------------------------ ##
12001 ## Report this to bug-autoconf@gnu.org. ##
12002 ## ------------------------------------ ##
12003 _ASBOX
12004 ) |
12005 sed "s/^/$as_me: WARNING: /" >&2
12006 ;;
12007 esac
12008 echo "$as_me:$LINENO: checking for $ac_header" >&5
12009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12011 echo $ECHO_N "(cached) $ECHO_C" >&6
12012 else
12013 eval "$as_ac_Header=$ac_header_preproc"
12014 fi
12015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12017
12018 fi
12019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12020 cat >>confdefs.h <<_ACEOF
12021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12022 _ACEOF
12023
12024 fi
12025
12026 done
12027
12028
12029
12030 for ac_header in stdlib.h
12031 do
12032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12034 echo "$as_me:$LINENO: checking for $ac_header" >&5
12035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12038 fi
12039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12041 else
12042 # Is the header compilable?
12043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12045 cat >conftest.$ac_ext <<_ACEOF
12046 #line $LINENO "configure"
12047 /* confdefs.h. */
12048 _ACEOF
12049 cat confdefs.h >>conftest.$ac_ext
12050 cat >>conftest.$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12052 $ac_includes_default
12053 #include <$ac_header>
12054 _ACEOF
12055 rm -f conftest.$ac_objext
12056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12057 (eval $ac_compile) 2>&5
12058 ac_status=$?
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); } &&
12061 { ac_try='test -s conftest.$ac_objext'
12062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12063 (eval $ac_try) 2>&5
12064 ac_status=$?
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; }; then
12067 ac_header_compiler=yes
12068 else
12069 echo "$as_me: failed program was:" >&5
12070 sed 's/^/| /' conftest.$ac_ext >&5
12071
12072 ac_header_compiler=no
12073 fi
12074 rm -f conftest.$ac_objext conftest.$ac_ext
12075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12076 echo "${ECHO_T}$ac_header_compiler" >&6
12077
12078 # Is the header present?
12079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12081 cat >conftest.$ac_ext <<_ACEOF
12082 #line $LINENO "configure"
12083 /* confdefs.h. */
12084 _ACEOF
12085 cat confdefs.h >>conftest.$ac_ext
12086 cat >>conftest.$ac_ext <<_ACEOF
12087 /* end confdefs.h. */
12088 #include <$ac_header>
12089 _ACEOF
12090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12091 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12092 ac_status=$?
12093 grep -v '^ *+' conftest.er1 >conftest.err
12094 rm -f conftest.er1
12095 cat conftest.err >&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } >/dev/null; then
12098 if test -s conftest.err; then
12099 ac_cpp_err=$ac_c_preproc_warn_flag
12100 else
12101 ac_cpp_err=
12102 fi
12103 else
12104 ac_cpp_err=yes
12105 fi
12106 if test -z "$ac_cpp_err"; then
12107 ac_header_preproc=yes
12108 else
12109 echo "$as_me: failed program was:" >&5
12110 sed 's/^/| /' conftest.$ac_ext >&5
12111
12112 ac_header_preproc=no
12113 fi
12114 rm -f conftest.err conftest.$ac_ext
12115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12116 echo "${ECHO_T}$ac_header_preproc" >&6
12117
12118 # So? What about this header?
12119 case $ac_header_compiler:$ac_header_preproc in
12120 yes:no )
12121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12125 (
12126 cat <<\_ASBOX
12127 ## ------------------------------------ ##
12128 ## Report this to bug-autoconf@gnu.org. ##
12129 ## ------------------------------------ ##
12130 _ASBOX
12131 ) |
12132 sed "s/^/$as_me: WARNING: /" >&2
12133 ;;
12134 no:yes )
12135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12141 (
12142 cat <<\_ASBOX
12143 ## ------------------------------------ ##
12144 ## Report this to bug-autoconf@gnu.org. ##
12145 ## ------------------------------------ ##
12146 _ASBOX
12147 ) |
12148 sed "s/^/$as_me: WARNING: /" >&2
12149 ;;
12150 esac
12151 echo "$as_me:$LINENO: checking for $ac_header" >&5
12152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 else
12156 eval "$as_ac_Header=$ac_header_preproc"
12157 fi
12158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12160
12161 fi
12162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12163 cat >>confdefs.h <<_ACEOF
12164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12165 _ACEOF
12166
12167 fi
12168
12169 done
12170
12171
12172 for ac_header in malloc.h
12173 do
12174 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12176 echo "$as_me:$LINENO: checking for $ac_header" >&5
12177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12179 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 fi
12181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12183 else
12184 # Is the header compilable?
12185 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12186 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12187 cat >conftest.$ac_ext <<_ACEOF
12188 #line $LINENO "configure"
12189 /* confdefs.h. */
12190 _ACEOF
12191 cat confdefs.h >>conftest.$ac_ext
12192 cat >>conftest.$ac_ext <<_ACEOF
12193 /* end confdefs.h. */
12194 $ac_includes_default
12195 #include <$ac_header>
12196 _ACEOF
12197 rm -f conftest.$ac_objext
12198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12199 (eval $ac_compile) 2>&5
12200 ac_status=$?
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); } &&
12203 { ac_try='test -s conftest.$ac_objext'
12204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 (eval $ac_try) 2>&5
12206 ac_status=$?
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); }; }; then
12209 ac_header_compiler=yes
12210 else
12211 echo "$as_me: failed program was:" >&5
12212 sed 's/^/| /' conftest.$ac_ext >&5
12213
12214 ac_header_compiler=no
12215 fi
12216 rm -f conftest.$ac_objext conftest.$ac_ext
12217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12218 echo "${ECHO_T}$ac_header_compiler" >&6
12219
12220 # Is the header present?
12221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12223 cat >conftest.$ac_ext <<_ACEOF
12224 #line $LINENO "configure"
12225 /* confdefs.h. */
12226 _ACEOF
12227 cat confdefs.h >>conftest.$ac_ext
12228 cat >>conftest.$ac_ext <<_ACEOF
12229 /* end confdefs.h. */
12230 #include <$ac_header>
12231 _ACEOF
12232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12234 ac_status=$?
12235 grep -v '^ *+' conftest.er1 >conftest.err
12236 rm -f conftest.er1
12237 cat conftest.err >&5
12238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); } >/dev/null; then
12240 if test -s conftest.err; then
12241 ac_cpp_err=$ac_c_preproc_warn_flag
12242 else
12243 ac_cpp_err=
12244 fi
12245 else
12246 ac_cpp_err=yes
12247 fi
12248 if test -z "$ac_cpp_err"; then
12249 ac_header_preproc=yes
12250 else
12251 echo "$as_me: failed program was:" >&5
12252 sed 's/^/| /' conftest.$ac_ext >&5
12253
12254 ac_header_preproc=no
12255 fi
12256 rm -f conftest.err conftest.$ac_ext
12257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12258 echo "${ECHO_T}$ac_header_preproc" >&6
12259
12260 # So? What about this header?
12261 case $ac_header_compiler:$ac_header_preproc in
12262 yes:no )
12263 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12267 (
12268 cat <<\_ASBOX
12269 ## ------------------------------------ ##
12270 ## Report this to bug-autoconf@gnu.org. ##
12271 ## ------------------------------------ ##
12272 _ASBOX
12273 ) |
12274 sed "s/^/$as_me: WARNING: /" >&2
12275 ;;
12276 no:yes )
12277 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12278 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12279 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12280 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12283 (
12284 cat <<\_ASBOX
12285 ## ------------------------------------ ##
12286 ## Report this to bug-autoconf@gnu.org. ##
12287 ## ------------------------------------ ##
12288 _ASBOX
12289 ) |
12290 sed "s/^/$as_me: WARNING: /" >&2
12291 ;;
12292 esac
12293 echo "$as_me:$LINENO: checking for $ac_header" >&5
12294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12296 echo $ECHO_N "(cached) $ECHO_C" >&6
12297 else
12298 eval "$as_ac_Header=$ac_header_preproc"
12299 fi
12300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12302
12303 fi
12304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12305 cat >>confdefs.h <<_ACEOF
12306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12307 _ACEOF
12308
12309 fi
12310
12311 done
12312
12313
12314 for ac_header in unistd.h
12315 do
12316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12318 echo "$as_me:$LINENO: checking for $ac_header" >&5
12319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12321 echo $ECHO_N "(cached) $ECHO_C" >&6
12322 fi
12323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12325 else
12326 # Is the header compilable?
12327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12329 cat >conftest.$ac_ext <<_ACEOF
12330 #line $LINENO "configure"
12331 /* confdefs.h. */
12332 _ACEOF
12333 cat confdefs.h >>conftest.$ac_ext
12334 cat >>conftest.$ac_ext <<_ACEOF
12335 /* end confdefs.h. */
12336 $ac_includes_default
12337 #include <$ac_header>
12338 _ACEOF
12339 rm -f conftest.$ac_objext
12340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12341 (eval $ac_compile) 2>&5
12342 ac_status=$?
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); } &&
12345 { ac_try='test -s conftest.$ac_objext'
12346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12347 (eval $ac_try) 2>&5
12348 ac_status=$?
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); }; }; then
12351 ac_header_compiler=yes
12352 else
12353 echo "$as_me: failed program was:" >&5
12354 sed 's/^/| /' conftest.$ac_ext >&5
12355
12356 ac_header_compiler=no
12357 fi
12358 rm -f conftest.$ac_objext conftest.$ac_ext
12359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12360 echo "${ECHO_T}$ac_header_compiler" >&6
12361
12362 # Is the header present?
12363 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12365 cat >conftest.$ac_ext <<_ACEOF
12366 #line $LINENO "configure"
12367 /* confdefs.h. */
12368 _ACEOF
12369 cat confdefs.h >>conftest.$ac_ext
12370 cat >>conftest.$ac_ext <<_ACEOF
12371 /* end confdefs.h. */
12372 #include <$ac_header>
12373 _ACEOF
12374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12376 ac_status=$?
12377 grep -v '^ *+' conftest.er1 >conftest.err
12378 rm -f conftest.er1
12379 cat conftest.err >&5
12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381 (exit $ac_status); } >/dev/null; then
12382 if test -s conftest.err; then
12383 ac_cpp_err=$ac_c_preproc_warn_flag
12384 else
12385 ac_cpp_err=
12386 fi
12387 else
12388 ac_cpp_err=yes
12389 fi
12390 if test -z "$ac_cpp_err"; then
12391 ac_header_preproc=yes
12392 else
12393 echo "$as_me: failed program was:" >&5
12394 sed 's/^/| /' conftest.$ac_ext >&5
12395
12396 ac_header_preproc=no
12397 fi
12398 rm -f conftest.err conftest.$ac_ext
12399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12400 echo "${ECHO_T}$ac_header_preproc" >&6
12401
12402 # So? What about this header?
12403 case $ac_header_compiler:$ac_header_preproc in
12404 yes:no )
12405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12406 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12409 (
12410 cat <<\_ASBOX
12411 ## ------------------------------------ ##
12412 ## Report this to bug-autoconf@gnu.org. ##
12413 ## ------------------------------------ ##
12414 _ASBOX
12415 ) |
12416 sed "s/^/$as_me: WARNING: /" >&2
12417 ;;
12418 no:yes )
12419 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12420 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12421 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12422 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12424 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12425 (
12426 cat <<\_ASBOX
12427 ## ------------------------------------ ##
12428 ## Report this to bug-autoconf@gnu.org. ##
12429 ## ------------------------------------ ##
12430 _ASBOX
12431 ) |
12432 sed "s/^/$as_me: WARNING: /" >&2
12433 ;;
12434 esac
12435 echo "$as_me:$LINENO: checking for $ac_header" >&5
12436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 else
12440 eval "$as_ac_Header=$ac_header_preproc"
12441 fi
12442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12444
12445 fi
12446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12447 cat >>confdefs.h <<_ACEOF
12448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12449 _ACEOF
12450
12451 fi
12452
12453 done
12454
12455
12456 for ac_header in wchar.h
12457 do
12458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12460 echo "$as_me:$LINENO: checking for $ac_header" >&5
12461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12463 echo $ECHO_N "(cached) $ECHO_C" >&6
12464 fi
12465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12467 else
12468 # Is the header compilable?
12469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12471 cat >conftest.$ac_ext <<_ACEOF
12472 #line $LINENO "configure"
12473 /* confdefs.h. */
12474 _ACEOF
12475 cat confdefs.h >>conftest.$ac_ext
12476 cat >>conftest.$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12478 $ac_includes_default
12479 #include <$ac_header>
12480 _ACEOF
12481 rm -f conftest.$ac_objext
12482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12483 (eval $ac_compile) 2>&5
12484 ac_status=$?
12485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); } &&
12487 { ac_try='test -s conftest.$ac_objext'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12490 ac_status=$?
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; }; then
12493 ac_header_compiler=yes
12494 else
12495 echo "$as_me: failed program was:" >&5
12496 sed 's/^/| /' conftest.$ac_ext >&5
12497
12498 ac_header_compiler=no
12499 fi
12500 rm -f conftest.$ac_objext conftest.$ac_ext
12501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12502 echo "${ECHO_T}$ac_header_compiler" >&6
12503
12504 # Is the header present?
12505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12507 cat >conftest.$ac_ext <<_ACEOF
12508 #line $LINENO "configure"
12509 /* confdefs.h. */
12510 _ACEOF
12511 cat confdefs.h >>conftest.$ac_ext
12512 cat >>conftest.$ac_ext <<_ACEOF
12513 /* end confdefs.h. */
12514 #include <$ac_header>
12515 _ACEOF
12516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12518 ac_status=$?
12519 grep -v '^ *+' conftest.er1 >conftest.err
12520 rm -f conftest.er1
12521 cat conftest.err >&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } >/dev/null; then
12524 if test -s conftest.err; then
12525 ac_cpp_err=$ac_c_preproc_warn_flag
12526 else
12527 ac_cpp_err=
12528 fi
12529 else
12530 ac_cpp_err=yes
12531 fi
12532 if test -z "$ac_cpp_err"; then
12533 ac_header_preproc=yes
12534 else
12535 echo "$as_me: failed program was:" >&5
12536 sed 's/^/| /' conftest.$ac_ext >&5
12537
12538 ac_header_preproc=no
12539 fi
12540 rm -f conftest.err conftest.$ac_ext
12541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12542 echo "${ECHO_T}$ac_header_preproc" >&6
12543
12544 # So? What about this header?
12545 case $ac_header_compiler:$ac_header_preproc in
12546 yes:no )
12547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12551 (
12552 cat <<\_ASBOX
12553 ## ------------------------------------ ##
12554 ## Report this to bug-autoconf@gnu.org. ##
12555 ## ------------------------------------ ##
12556 _ASBOX
12557 ) |
12558 sed "s/^/$as_me: WARNING: /" >&2
12559 ;;
12560 no:yes )
12561 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12562 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12563 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12564 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12567 (
12568 cat <<\_ASBOX
12569 ## ------------------------------------ ##
12570 ## Report this to bug-autoconf@gnu.org. ##
12571 ## ------------------------------------ ##
12572 _ASBOX
12573 ) |
12574 sed "s/^/$as_me: WARNING: /" >&2
12575 ;;
12576 esac
12577 echo "$as_me:$LINENO: checking for $ac_header" >&5
12578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12580 echo $ECHO_N "(cached) $ECHO_C" >&6
12581 else
12582 eval "$as_ac_Header=$ac_header_preproc"
12583 fi
12584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12586
12587 fi
12588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12589 cat >>confdefs.h <<_ACEOF
12590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12591 _ACEOF
12592
12593 fi
12594
12595 done
12596
12597
12598 if test "$ac_cv_header_wchar_h" != "yes"; then
12599
12600 for ac_header in wcstr.h
12601 do
12602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12604 echo "$as_me:$LINENO: checking for $ac_header" >&5
12605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12607 echo $ECHO_N "(cached) $ECHO_C" >&6
12608 fi
12609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12611 else
12612 # Is the header compilable?
12613 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12615 cat >conftest.$ac_ext <<_ACEOF
12616 #line $LINENO "configure"
12617 /* confdefs.h. */
12618 _ACEOF
12619 cat confdefs.h >>conftest.$ac_ext
12620 cat >>conftest.$ac_ext <<_ACEOF
12621 /* end confdefs.h. */
12622 $ac_includes_default
12623 #include <$ac_header>
12624 _ACEOF
12625 rm -f conftest.$ac_objext
12626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12627 (eval $ac_compile) 2>&5
12628 ac_status=$?
12629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630 (exit $ac_status); } &&
12631 { ac_try='test -s conftest.$ac_objext'
12632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12633 (eval $ac_try) 2>&5
12634 ac_status=$?
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); }; }; then
12637 ac_header_compiler=yes
12638 else
12639 echo "$as_me: failed program was:" >&5
12640 sed 's/^/| /' conftest.$ac_ext >&5
12641
12642 ac_header_compiler=no
12643 fi
12644 rm -f conftest.$ac_objext conftest.$ac_ext
12645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12646 echo "${ECHO_T}$ac_header_compiler" >&6
12647
12648 # Is the header present?
12649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12651 cat >conftest.$ac_ext <<_ACEOF
12652 #line $LINENO "configure"
12653 /* confdefs.h. */
12654 _ACEOF
12655 cat confdefs.h >>conftest.$ac_ext
12656 cat >>conftest.$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12658 #include <$ac_header>
12659 _ACEOF
12660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12662 ac_status=$?
12663 grep -v '^ *+' conftest.er1 >conftest.err
12664 rm -f conftest.er1
12665 cat conftest.err >&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); } >/dev/null; then
12668 if test -s conftest.err; then
12669 ac_cpp_err=$ac_c_preproc_warn_flag
12670 else
12671 ac_cpp_err=
12672 fi
12673 else
12674 ac_cpp_err=yes
12675 fi
12676 if test -z "$ac_cpp_err"; then
12677 ac_header_preproc=yes
12678 else
12679 echo "$as_me: failed program was:" >&5
12680 sed 's/^/| /' conftest.$ac_ext >&5
12681
12682 ac_header_preproc=no
12683 fi
12684 rm -f conftest.err conftest.$ac_ext
12685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12686 echo "${ECHO_T}$ac_header_preproc" >&6
12687
12688 # So? What about this header?
12689 case $ac_header_compiler:$ac_header_preproc in
12690 yes:no )
12691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12695 (
12696 cat <<\_ASBOX
12697 ## ------------------------------------ ##
12698 ## Report this to bug-autoconf@gnu.org. ##
12699 ## ------------------------------------ ##
12700 _ASBOX
12701 ) |
12702 sed "s/^/$as_me: WARNING: /" >&2
12703 ;;
12704 no:yes )
12705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12711 (
12712 cat <<\_ASBOX
12713 ## ------------------------------------ ##
12714 ## Report this to bug-autoconf@gnu.org. ##
12715 ## ------------------------------------ ##
12716 _ASBOX
12717 ) |
12718 sed "s/^/$as_me: WARNING: /" >&2
12719 ;;
12720 esac
12721 echo "$as_me:$LINENO: checking for $ac_header" >&5
12722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12724 echo $ECHO_N "(cached) $ECHO_C" >&6
12725 else
12726 eval "$as_ac_Header=$ac_header_preproc"
12727 fi
12728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12730
12731 fi
12732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12733 cat >>confdefs.h <<_ACEOF
12734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12735 _ACEOF
12736
12737 fi
12738
12739 done
12740
12741 fi
12742
12743
12744 for ac_header in fnmatch.h
12745 do
12746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12748 echo "$as_me:$LINENO: checking for $ac_header" >&5
12749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12751 echo $ECHO_N "(cached) $ECHO_C" >&6
12752 fi
12753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12755 else
12756 # Is the header compilable?
12757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12759 cat >conftest.$ac_ext <<_ACEOF
12760 #line $LINENO "configure"
12761 /* confdefs.h. */
12762 _ACEOF
12763 cat confdefs.h >>conftest.$ac_ext
12764 cat >>conftest.$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766 $ac_includes_default
12767 #include <$ac_header>
12768 _ACEOF
12769 rm -f conftest.$ac_objext
12770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12771 (eval $ac_compile) 2>&5
12772 ac_status=$?
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); } &&
12775 { ac_try='test -s conftest.$ac_objext'
12776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777 (eval $ac_try) 2>&5
12778 ac_status=$?
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; }; then
12781 ac_header_compiler=yes
12782 else
12783 echo "$as_me: failed program was:" >&5
12784 sed 's/^/| /' conftest.$ac_ext >&5
12785
12786 ac_header_compiler=no
12787 fi
12788 rm -f conftest.$ac_objext conftest.$ac_ext
12789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12790 echo "${ECHO_T}$ac_header_compiler" >&6
12791
12792 # Is the header present?
12793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12795 cat >conftest.$ac_ext <<_ACEOF
12796 #line $LINENO "configure"
12797 /* confdefs.h. */
12798 _ACEOF
12799 cat confdefs.h >>conftest.$ac_ext
12800 cat >>conftest.$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12802 #include <$ac_header>
12803 _ACEOF
12804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12806 ac_status=$?
12807 grep -v '^ *+' conftest.er1 >conftest.err
12808 rm -f conftest.er1
12809 cat conftest.err >&5
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); } >/dev/null; then
12812 if test -s conftest.err; then
12813 ac_cpp_err=$ac_c_preproc_warn_flag
12814 else
12815 ac_cpp_err=
12816 fi
12817 else
12818 ac_cpp_err=yes
12819 fi
12820 if test -z "$ac_cpp_err"; then
12821 ac_header_preproc=yes
12822 else
12823 echo "$as_me: failed program was:" >&5
12824 sed 's/^/| /' conftest.$ac_ext >&5
12825
12826 ac_header_preproc=no
12827 fi
12828 rm -f conftest.err conftest.$ac_ext
12829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12830 echo "${ECHO_T}$ac_header_preproc" >&6
12831
12832 # So? What about this header?
12833 case $ac_header_compiler:$ac_header_preproc in
12834 yes:no )
12835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12839 (
12840 cat <<\_ASBOX
12841 ## ------------------------------------ ##
12842 ## Report this to bug-autoconf@gnu.org. ##
12843 ## ------------------------------------ ##
12844 _ASBOX
12845 ) |
12846 sed "s/^/$as_me: WARNING: /" >&2
12847 ;;
12848 no:yes )
12849 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12851 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12852 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12854 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12855 (
12856 cat <<\_ASBOX
12857 ## ------------------------------------ ##
12858 ## Report this to bug-autoconf@gnu.org. ##
12859 ## ------------------------------------ ##
12860 _ASBOX
12861 ) |
12862 sed "s/^/$as_me: WARNING: /" >&2
12863 ;;
12864 esac
12865 echo "$as_me:$LINENO: checking for $ac_header" >&5
12866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12868 echo $ECHO_N "(cached) $ECHO_C" >&6
12869 else
12870 eval "$as_ac_Header=$ac_header_preproc"
12871 fi
12872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12874
12875 fi
12876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12877 cat >>confdefs.h <<_ACEOF
12878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12879 _ACEOF
12880
12881 fi
12882
12883 done
12884
12885
12886 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
12887
12888 for ac_func in fnmatch
12889 do
12890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12891 echo "$as_me:$LINENO: checking for $ac_func" >&5
12892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12893 if eval "test \"\${$as_ac_var+set}\" = set"; then
12894 echo $ECHO_N "(cached) $ECHO_C" >&6
12895 else
12896 cat >conftest.$ac_ext <<_ACEOF
12897 #line $LINENO "configure"
12898 /* confdefs.h. */
12899 _ACEOF
12900 cat confdefs.h >>conftest.$ac_ext
12901 cat >>conftest.$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 /* System header to define __stub macros and hopefully few prototypes,
12904 which can conflict with char $ac_func (); below.
12905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12906 <limits.h> exists even on freestanding compilers. */
12907 #ifdef __STDC__
12908 # include <limits.h>
12909 #else
12910 # include <assert.h>
12911 #endif
12912 /* Override any gcc2 internal prototype to avoid an error. */
12913 #ifdef __cplusplus
12914 extern "C"
12915 {
12916 #endif
12917 /* We use char because int might match the return type of a gcc2
12918 builtin and then its argument prototype would still apply. */
12919 char $ac_func ();
12920 /* The GNU C library defines this for functions which it implements
12921 to always fail with ENOSYS. Some functions are actually named
12922 something starting with __ and the normal name is an alias. */
12923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12924 choke me
12925 #else
12926 char (*f) () = $ac_func;
12927 #endif
12928 #ifdef __cplusplus
12929 }
12930 #endif
12931
12932 int
12933 main ()
12934 {
12935 return f != $ac_func;
12936 ;
12937 return 0;
12938 }
12939 _ACEOF
12940 rm -f conftest.$ac_objext conftest$ac_exeext
12941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12942 (eval $ac_link) 2>&5
12943 ac_status=$?
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); } &&
12946 { ac_try='test -s conftest$ac_exeext'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12949 ac_status=$?
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 eval "$as_ac_var=yes"
12953 else
12954 echo "$as_me: failed program was:" >&5
12955 sed 's/^/| /' conftest.$ac_ext >&5
12956
12957 eval "$as_ac_var=no"
12958 fi
12959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12960 fi
12961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12963 if test `eval echo '${'$as_ac_var'}'` = yes; then
12964 cat >>confdefs.h <<_ACEOF
12965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12966 _ACEOF
12967
12968 fi
12969 done
12970
12971 fi
12972
12973
12974 for ac_header in langinfo.h
12975 do
12976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12978 echo "$as_me:$LINENO: checking for $ac_header" >&5
12979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12981 echo $ECHO_N "(cached) $ECHO_C" >&6
12982 fi
12983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12985 else
12986 # Is the header compilable?
12987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12989 cat >conftest.$ac_ext <<_ACEOF
12990 #line $LINENO "configure"
12991 /* confdefs.h. */
12992 _ACEOF
12993 cat confdefs.h >>conftest.$ac_ext
12994 cat >>conftest.$ac_ext <<_ACEOF
12995 /* end confdefs.h. */
12996 $ac_includes_default
12997 #include <$ac_header>
12998 _ACEOF
12999 rm -f conftest.$ac_objext
13000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13001 (eval $ac_compile) 2>&5
13002 ac_status=$?
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); } &&
13005 { ac_try='test -s conftest.$ac_objext'
13006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13007 (eval $ac_try) 2>&5
13008 ac_status=$?
13009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); }; }; then
13011 ac_header_compiler=yes
13012 else
13013 echo "$as_me: failed program was:" >&5
13014 sed 's/^/| /' conftest.$ac_ext >&5
13015
13016 ac_header_compiler=no
13017 fi
13018 rm -f conftest.$ac_objext conftest.$ac_ext
13019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13020 echo "${ECHO_T}$ac_header_compiler" >&6
13021
13022 # Is the header present?
13023 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13025 cat >conftest.$ac_ext <<_ACEOF
13026 #line $LINENO "configure"
13027 /* confdefs.h. */
13028 _ACEOF
13029 cat confdefs.h >>conftest.$ac_ext
13030 cat >>conftest.$ac_ext <<_ACEOF
13031 /* end confdefs.h. */
13032 #include <$ac_header>
13033 _ACEOF
13034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13036 ac_status=$?
13037 grep -v '^ *+' conftest.er1 >conftest.err
13038 rm -f conftest.er1
13039 cat conftest.err >&5
13040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13041 (exit $ac_status); } >/dev/null; then
13042 if test -s conftest.err; then
13043 ac_cpp_err=$ac_c_preproc_warn_flag
13044 else
13045 ac_cpp_err=
13046 fi
13047 else
13048 ac_cpp_err=yes
13049 fi
13050 if test -z "$ac_cpp_err"; then
13051 ac_header_preproc=yes
13052 else
13053 echo "$as_me: failed program was:" >&5
13054 sed 's/^/| /' conftest.$ac_ext >&5
13055
13056 ac_header_preproc=no
13057 fi
13058 rm -f conftest.err conftest.$ac_ext
13059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13060 echo "${ECHO_T}$ac_header_preproc" >&6
13061
13062 # So? What about this header?
13063 case $ac_header_compiler:$ac_header_preproc in
13064 yes:no )
13065 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13066 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13069 (
13070 cat <<\_ASBOX
13071 ## ------------------------------------ ##
13072 ## Report this to bug-autoconf@gnu.org. ##
13073 ## ------------------------------------ ##
13074 _ASBOX
13075 ) |
13076 sed "s/^/$as_me: WARNING: /" >&2
13077 ;;
13078 no:yes )
13079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13084 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13085 (
13086 cat <<\_ASBOX
13087 ## ------------------------------------ ##
13088 ## Report this to bug-autoconf@gnu.org. ##
13089 ## ------------------------------------ ##
13090 _ASBOX
13091 ) |
13092 sed "s/^/$as_me: WARNING: /" >&2
13093 ;;
13094 esac
13095 echo "$as_me:$LINENO: checking for $ac_header" >&5
13096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13099 else
13100 eval "$as_ac_Header=$ac_header_preproc"
13101 fi
13102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13104
13105 fi
13106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13107 cat >>confdefs.h <<_ACEOF
13108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13109 _ACEOF
13110
13111 fi
13112
13113 done
13114
13115
13116 case "${host}" in
13117 *-pc-os2_emx | *-pc-os2-emx )
13118 if test $ac_cv_header_langinfo_h = "yes"; then
13119 LIBS="$LIBS -lintl"
13120 fi
13121 ;;
13122 esac
13123
13124 if test "$wxUSE_GUI" = "yes"; then
13125 if test "$wxUSE_UNIX" = "yes"; then
13126
13127 for ac_header in X11/Xlib.h
13128 do
13129 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13131 echo "$as_me:$LINENO: checking for $ac_header" >&5
13132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13134 echo $ECHO_N "(cached) $ECHO_C" >&6
13135 fi
13136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13138 else
13139 # Is the header compilable?
13140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13142 cat >conftest.$ac_ext <<_ACEOF
13143 #line $LINENO "configure"
13144 /* confdefs.h. */
13145 _ACEOF
13146 cat confdefs.h >>conftest.$ac_ext
13147 cat >>conftest.$ac_ext <<_ACEOF
13148 /* end confdefs.h. */
13149 $ac_includes_default
13150 #include <$ac_header>
13151 _ACEOF
13152 rm -f conftest.$ac_objext
13153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13154 (eval $ac_compile) 2>&5
13155 ac_status=$?
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); } &&
13158 { ac_try='test -s conftest.$ac_objext'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13161 ac_status=$?
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; }; then
13164 ac_header_compiler=yes
13165 else
13166 echo "$as_me: failed program was:" >&5
13167 sed 's/^/| /' conftest.$ac_ext >&5
13168
13169 ac_header_compiler=no
13170 fi
13171 rm -f conftest.$ac_objext conftest.$ac_ext
13172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13173 echo "${ECHO_T}$ac_header_compiler" >&6
13174
13175 # Is the header present?
13176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13178 cat >conftest.$ac_ext <<_ACEOF
13179 #line $LINENO "configure"
13180 /* confdefs.h. */
13181 _ACEOF
13182 cat confdefs.h >>conftest.$ac_ext
13183 cat >>conftest.$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13185 #include <$ac_header>
13186 _ACEOF
13187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13189 ac_status=$?
13190 grep -v '^ *+' conftest.er1 >conftest.err
13191 rm -f conftest.er1
13192 cat conftest.err >&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); } >/dev/null; then
13195 if test -s conftest.err; then
13196 ac_cpp_err=$ac_c_preproc_warn_flag
13197 else
13198 ac_cpp_err=
13199 fi
13200 else
13201 ac_cpp_err=yes
13202 fi
13203 if test -z "$ac_cpp_err"; then
13204 ac_header_preproc=yes
13205 else
13206 echo "$as_me: failed program was:" >&5
13207 sed 's/^/| /' conftest.$ac_ext >&5
13208
13209 ac_header_preproc=no
13210 fi
13211 rm -f conftest.err conftest.$ac_ext
13212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13213 echo "${ECHO_T}$ac_header_preproc" >&6
13214
13215 # So? What about this header?
13216 case $ac_header_compiler:$ac_header_preproc in
13217 yes:no )
13218 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13222 (
13223 cat <<\_ASBOX
13224 ## ------------------------------------ ##
13225 ## Report this to bug-autoconf@gnu.org. ##
13226 ## ------------------------------------ ##
13227 _ASBOX
13228 ) |
13229 sed "s/^/$as_me: WARNING: /" >&2
13230 ;;
13231 no:yes )
13232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13238 (
13239 cat <<\_ASBOX
13240 ## ------------------------------------ ##
13241 ## Report this to bug-autoconf@gnu.org. ##
13242 ## ------------------------------------ ##
13243 _ASBOX
13244 ) |
13245 sed "s/^/$as_me: WARNING: /" >&2
13246 ;;
13247 esac
13248 echo "$as_me:$LINENO: checking for $ac_header" >&5
13249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13251 echo $ECHO_N "(cached) $ECHO_C" >&6
13252 else
13253 eval "$as_ac_Header=$ac_header_preproc"
13254 fi
13255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13257
13258 fi
13259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13260 cat >>confdefs.h <<_ACEOF
13261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13262 _ACEOF
13263
13264 fi
13265
13266 done
13267
13268
13269 for ac_header in X11/XKBlib.h
13270 do
13271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13272 echo "$as_me:$LINENO: checking for $ac_header" >&5
13273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13275 echo $ECHO_N "(cached) $ECHO_C" >&6
13276 else
13277 cat >conftest.$ac_ext <<_ACEOF
13278 #line $LINENO "configure"
13279 /* confdefs.h. */
13280 _ACEOF
13281 cat confdefs.h >>conftest.$ac_ext
13282 cat >>conftest.$ac_ext <<_ACEOF
13283 /* end confdefs.h. */
13284
13285 #if HAVE_X11_XLIB_H
13286 #include <X11/Xlib.h>
13287 #endif
13288
13289
13290 #include <$ac_header>
13291 _ACEOF
13292 rm -f conftest.$ac_objext
13293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13294 (eval $ac_compile) 2>&5
13295 ac_status=$?
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); } &&
13298 { ac_try='test -s conftest.$ac_objext'
13299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13300 (eval $ac_try) 2>&5
13301 ac_status=$?
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); }; }; then
13304 eval "$as_ac_Header=yes"
13305 else
13306 echo "$as_me: failed program was:" >&5
13307 sed 's/^/| /' conftest.$ac_ext >&5
13308
13309 eval "$as_ac_Header=no"
13310 fi
13311 rm -f conftest.$ac_objext conftest.$ac_ext
13312 fi
13313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13316 cat >>confdefs.h <<_ACEOF
13317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13318 _ACEOF
13319
13320 fi
13321
13322 done
13323
13324 fi
13325 fi
13326
13327
13328 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13329 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13330 if test "${ac_cv_c_const+set}" = set; then
13331 echo $ECHO_N "(cached) $ECHO_C" >&6
13332 else
13333 cat >conftest.$ac_ext <<_ACEOF
13334 #line $LINENO "configure"
13335 /* confdefs.h. */
13336 _ACEOF
13337 cat confdefs.h >>conftest.$ac_ext
13338 cat >>conftest.$ac_ext <<_ACEOF
13339 /* end confdefs.h. */
13340
13341 int
13342 main ()
13343 {
13344 /* FIXME: Include the comments suggested by Paul. */
13345 #ifndef __cplusplus
13346 /* Ultrix mips cc rejects this. */
13347 typedef int charset[2];
13348 const charset x;
13349 /* SunOS 4.1.1 cc rejects this. */
13350 char const *const *ccp;
13351 char **p;
13352 /* NEC SVR4.0.2 mips cc rejects this. */
13353 struct point {int x, y;};
13354 static struct point const zero = {0,0};
13355 /* AIX XL C 1.02.0.0 rejects this.
13356 It does not let you subtract one const X* pointer from another in
13357 an arm of an if-expression whose if-part is not a constant
13358 expression */
13359 const char *g = "string";
13360 ccp = &g + (g ? g-g : 0);
13361 /* HPUX 7.0 cc rejects these. */
13362 ++ccp;
13363 p = (char**) ccp;
13364 ccp = (char const *const *) p;
13365 { /* SCO 3.2v4 cc rejects this. */
13366 char *t;
13367 char const *s = 0 ? (char *) 0 : (char const *) 0;
13368
13369 *t++ = 0;
13370 }
13371 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13372 int x[] = {25, 17};
13373 const int *foo = &x[0];
13374 ++foo;
13375 }
13376 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13377 typedef const int *iptr;
13378 iptr p = 0;
13379 ++p;
13380 }
13381 { /* AIX XL C 1.02.0.0 rejects this saying
13382 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13383 struct s { int j; const int *ap[3]; };
13384 struct s *b; b->j = 5;
13385 }
13386 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13387 const int foo = 10;
13388 }
13389 #endif
13390
13391 ;
13392 return 0;
13393 }
13394 _ACEOF
13395 rm -f conftest.$ac_objext
13396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13397 (eval $ac_compile) 2>&5
13398 ac_status=$?
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } &&
13401 { ac_try='test -s conftest.$ac_objext'
13402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403 (eval $ac_try) 2>&5
13404 ac_status=$?
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); }; }; then
13407 ac_cv_c_const=yes
13408 else
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.$ac_ext >&5
13411
13412 ac_cv_c_const=no
13413 fi
13414 rm -f conftest.$ac_objext conftest.$ac_ext
13415 fi
13416 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13417 echo "${ECHO_T}$ac_cv_c_const" >&6
13418 if test $ac_cv_c_const = no; then
13419
13420 cat >>confdefs.h <<\_ACEOF
13421 #define const
13422 _ACEOF
13423
13424 fi
13425
13426 echo "$as_me:$LINENO: checking for inline" >&5
13427 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13428 if test "${ac_cv_c_inline+set}" = set; then
13429 echo $ECHO_N "(cached) $ECHO_C" >&6
13430 else
13431 ac_cv_c_inline=no
13432 for ac_kw in inline __inline__ __inline; do
13433 cat >conftest.$ac_ext <<_ACEOF
13434 #line $LINENO "configure"
13435 /* confdefs.h. */
13436 _ACEOF
13437 cat confdefs.h >>conftest.$ac_ext
13438 cat >>conftest.$ac_ext <<_ACEOF
13439 /* end confdefs.h. */
13440 #ifndef __cplusplus
13441 typedef int foo_t;
13442 static $ac_kw foo_t static_foo () {return 0; }
13443 $ac_kw foo_t foo () {return 0; }
13444 #endif
13445
13446 _ACEOF
13447 rm -f conftest.$ac_objext
13448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13449 (eval $ac_compile) 2>&5
13450 ac_status=$?
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } &&
13453 { ac_try='test -s conftest.$ac_objext'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13456 ac_status=$?
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; }; then
13459 ac_cv_c_inline=$ac_kw; break
13460 else
13461 echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.$ac_ext >&5
13463
13464 fi
13465 rm -f conftest.$ac_objext conftest.$ac_ext
13466 done
13467
13468 fi
13469 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13470 echo "${ECHO_T}$ac_cv_c_inline" >&6
13471 case $ac_cv_c_inline in
13472 inline | yes) ;;
13473 no)
13474 cat >>confdefs.h <<\_ACEOF
13475 #define inline
13476 _ACEOF
13477 ;;
13478 *) cat >>confdefs.h <<_ACEOF
13479 #define inline $ac_cv_c_inline
13480 _ACEOF
13481 ;;
13482 esac
13483
13484
13485 echo "$as_me:$LINENO: checking for char" >&5
13486 echo $ECHO_N "checking for char... $ECHO_C" >&6
13487 if test "${ac_cv_type_char+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13489 else
13490 cat >conftest.$ac_ext <<_ACEOF
13491 #line $LINENO "configure"
13492 /* confdefs.h. */
13493 _ACEOF
13494 cat confdefs.h >>conftest.$ac_ext
13495 cat >>conftest.$ac_ext <<_ACEOF
13496 /* end confdefs.h. */
13497 $ac_includes_default
13498 int
13499 main ()
13500 {
13501 if ((char *) 0)
13502 return 0;
13503 if (sizeof (char))
13504 return 0;
13505 ;
13506 return 0;
13507 }
13508 _ACEOF
13509 rm -f conftest.$ac_objext
13510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13511 (eval $ac_compile) 2>&5
13512 ac_status=$?
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); } &&
13515 { ac_try='test -s conftest.$ac_objext'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13518 ac_status=$?
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13521 ac_cv_type_char=yes
13522 else
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.$ac_ext >&5
13525
13526 ac_cv_type_char=no
13527 fi
13528 rm -f conftest.$ac_objext conftest.$ac_ext
13529 fi
13530 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13531 echo "${ECHO_T}$ac_cv_type_char" >&6
13532
13533 echo "$as_me:$LINENO: checking size of char" >&5
13534 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13535 if test "${ac_cv_sizeof_char+set}" = set; then
13536 echo $ECHO_N "(cached) $ECHO_C" >&6
13537 else
13538 if test "$ac_cv_type_char" = yes; then
13539 # The cast to unsigned long works around a bug in the HP C Compiler
13540 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13541 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13542 # This bug is HP SR number 8606223364.
13543 if test "$cross_compiling" = yes; then
13544 # Depending upon the size, compute the lo and hi bounds.
13545 cat >conftest.$ac_ext <<_ACEOF
13546 #line $LINENO "configure"
13547 /* confdefs.h. */
13548 _ACEOF
13549 cat confdefs.h >>conftest.$ac_ext
13550 cat >>conftest.$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13552 $ac_includes_default
13553 int
13554 main ()
13555 {
13556 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13557 test_array [0] = 0
13558
13559 ;
13560 return 0;
13561 }
13562 _ACEOF
13563 rm -f conftest.$ac_objext
13564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13565 (eval $ac_compile) 2>&5
13566 ac_status=$?
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); } &&
13569 { ac_try='test -s conftest.$ac_objext'
13570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13571 (eval $ac_try) 2>&5
13572 ac_status=$?
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); }; }; then
13575 ac_lo=0 ac_mid=0
13576 while :; do
13577 cat >conftest.$ac_ext <<_ACEOF
13578 #line $LINENO "configure"
13579 /* confdefs.h. */
13580 _ACEOF
13581 cat confdefs.h >>conftest.$ac_ext
13582 cat >>conftest.$ac_ext <<_ACEOF
13583 /* end confdefs.h. */
13584 $ac_includes_default
13585 int
13586 main ()
13587 {
13588 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13589 test_array [0] = 0
13590
13591 ;
13592 return 0;
13593 }
13594 _ACEOF
13595 rm -f conftest.$ac_objext
13596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13597 (eval $ac_compile) 2>&5
13598 ac_status=$?
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); } &&
13601 { ac_try='test -s conftest.$ac_objext'
13602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13603 (eval $ac_try) 2>&5
13604 ac_status=$?
13605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13606 (exit $ac_status); }; }; then
13607 ac_hi=$ac_mid; break
13608 else
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.$ac_ext >&5
13611
13612 ac_lo=`expr $ac_mid + 1`
13613 if test $ac_lo -le $ac_mid; then
13614 ac_lo= ac_hi=
13615 break
13616 fi
13617 ac_mid=`expr 2 '*' $ac_mid + 1`
13618 fi
13619 rm -f conftest.$ac_objext conftest.$ac_ext
13620 done
13621 else
13622 echo "$as_me: failed program was:" >&5
13623 sed 's/^/| /' conftest.$ac_ext >&5
13624
13625 cat >conftest.$ac_ext <<_ACEOF
13626 #line $LINENO "configure"
13627 /* confdefs.h. */
13628 _ACEOF
13629 cat confdefs.h >>conftest.$ac_ext
13630 cat >>conftest.$ac_ext <<_ACEOF
13631 /* end confdefs.h. */
13632 $ac_includes_default
13633 int
13634 main ()
13635 {
13636 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13637 test_array [0] = 0
13638
13639 ;
13640 return 0;
13641 }
13642 _ACEOF
13643 rm -f conftest.$ac_objext
13644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13645 (eval $ac_compile) 2>&5
13646 ac_status=$?
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); } &&
13649 { ac_try='test -s conftest.$ac_objext'
13650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13651 (eval $ac_try) 2>&5
13652 ac_status=$?
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); }; }; then
13655 ac_hi=-1 ac_mid=-1
13656 while :; do
13657 cat >conftest.$ac_ext <<_ACEOF
13658 #line $LINENO "configure"
13659 /* confdefs.h. */
13660 _ACEOF
13661 cat confdefs.h >>conftest.$ac_ext
13662 cat >>conftest.$ac_ext <<_ACEOF
13663 /* end confdefs.h. */
13664 $ac_includes_default
13665 int
13666 main ()
13667 {
13668 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13669 test_array [0] = 0
13670
13671 ;
13672 return 0;
13673 }
13674 _ACEOF
13675 rm -f conftest.$ac_objext
13676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13677 (eval $ac_compile) 2>&5
13678 ac_status=$?
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } &&
13681 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
13687 ac_lo=$ac_mid; break
13688 else
13689 echo "$as_me: failed program was:" >&5
13690 sed 's/^/| /' conftest.$ac_ext >&5
13691
13692 ac_hi=`expr '(' $ac_mid ')' - 1`
13693 if test $ac_mid -le $ac_hi; then
13694 ac_lo= ac_hi=
13695 break
13696 fi
13697 ac_mid=`expr 2 '*' $ac_mid`
13698 fi
13699 rm -f conftest.$ac_objext conftest.$ac_ext
13700 done
13701 else
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.$ac_ext >&5
13704
13705 ac_lo= ac_hi=
13706 fi
13707 rm -f conftest.$ac_objext conftest.$ac_ext
13708 fi
13709 rm -f conftest.$ac_objext conftest.$ac_ext
13710 # Binary search between lo and hi bounds.
13711 while test "x$ac_lo" != "x$ac_hi"; do
13712 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13713 cat >conftest.$ac_ext <<_ACEOF
13714 #line $LINENO "configure"
13715 /* confdefs.h. */
13716 _ACEOF
13717 cat confdefs.h >>conftest.$ac_ext
13718 cat >>conftest.$ac_ext <<_ACEOF
13719 /* end confdefs.h. */
13720 $ac_includes_default
13721 int
13722 main ()
13723 {
13724 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13725 test_array [0] = 0
13726
13727 ;
13728 return 0;
13729 }
13730 _ACEOF
13731 rm -f conftest.$ac_objext
13732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13733 (eval $ac_compile) 2>&5
13734 ac_status=$?
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); } &&
13737 { ac_try='test -s conftest.$ac_objext'
13738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13739 (eval $ac_try) 2>&5
13740 ac_status=$?
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); }; }; then
13743 ac_hi=$ac_mid
13744 else
13745 echo "$as_me: failed program was:" >&5
13746 sed 's/^/| /' conftest.$ac_ext >&5
13747
13748 ac_lo=`expr '(' $ac_mid ')' + 1`
13749 fi
13750 rm -f conftest.$ac_objext conftest.$ac_ext
13751 done
13752 case $ac_lo in
13753 ?*) ac_cv_sizeof_char=$ac_lo;;
13754 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13755 See \`config.log' for more details." >&5
13756 echo "$as_me: error: cannot compute sizeof (char), 77
13757 See \`config.log' for more details." >&2;}
13758 { (exit 1); exit 1; }; } ;;
13759 esac
13760 else
13761 if test "$cross_compiling" = yes; then
13762 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13763 See \`config.log' for more details." >&5
13764 echo "$as_me: error: cannot run test program while cross compiling
13765 See \`config.log' for more details." >&2;}
13766 { (exit 1); exit 1; }; }
13767 else
13768 cat >conftest.$ac_ext <<_ACEOF
13769 #line $LINENO "configure"
13770 /* confdefs.h. */
13771 _ACEOF
13772 cat confdefs.h >>conftest.$ac_ext
13773 cat >>conftest.$ac_ext <<_ACEOF
13774 /* end confdefs.h. */
13775 $ac_includes_default
13776 long longval () { return (long) (sizeof (char)); }
13777 unsigned long ulongval () { return (long) (sizeof (char)); }
13778 #include <stdio.h>
13779 #include <stdlib.h>
13780 int
13781 main ()
13782 {
13783
13784 FILE *f = fopen ("conftest.val", "w");
13785 if (! f)
13786 exit (1);
13787 if (((long) (sizeof (char))) < 0)
13788 {
13789 long i = longval ();
13790 if (i != ((long) (sizeof (char))))
13791 exit (1);
13792 fprintf (f, "%ld\n", i);
13793 }
13794 else
13795 {
13796 unsigned long i = ulongval ();
13797 if (i != ((long) (sizeof (char))))
13798 exit (1);
13799 fprintf (f, "%lu\n", i);
13800 }
13801 exit (ferror (f) || fclose (f) != 0);
13802
13803 ;
13804 return 0;
13805 }
13806 _ACEOF
13807 rm -f conftest$ac_exeext
13808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13809 (eval $ac_link) 2>&5
13810 ac_status=$?
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13815 ac_status=$?
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; }; then
13818 ac_cv_sizeof_char=`cat conftest.val`
13819 else
13820 echo "$as_me: program exited with status $ac_status" >&5
13821 echo "$as_me: failed program was:" >&5
13822 sed 's/^/| /' conftest.$ac_ext >&5
13823
13824 ( exit $ac_status )
13825 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13826 See \`config.log' for more details." >&5
13827 echo "$as_me: error: cannot compute sizeof (char), 77
13828 See \`config.log' for more details." >&2;}
13829 { (exit 1); exit 1; }; }
13830 fi
13831 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13832 fi
13833 fi
13834 rm -f conftest.val
13835 else
13836 ac_cv_sizeof_char=0
13837 fi
13838 fi
13839 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13840 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13841 cat >>confdefs.h <<_ACEOF
13842 #define SIZEOF_CHAR $ac_cv_sizeof_char
13843 _ACEOF
13844
13845
13846 echo "$as_me:$LINENO: checking for short" >&5
13847 echo $ECHO_N "checking for short... $ECHO_C" >&6
13848 if test "${ac_cv_type_short+set}" = set; then
13849 echo $ECHO_N "(cached) $ECHO_C" >&6
13850 else
13851 cat >conftest.$ac_ext <<_ACEOF
13852 #line $LINENO "configure"
13853 /* confdefs.h. */
13854 _ACEOF
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13858 $ac_includes_default
13859 int
13860 main ()
13861 {
13862 if ((short *) 0)
13863 return 0;
13864 if (sizeof (short))
13865 return 0;
13866 ;
13867 return 0;
13868 }
13869 _ACEOF
13870 rm -f conftest.$ac_objext
13871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13872 (eval $ac_compile) 2>&5
13873 ac_status=$?
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); } &&
13876 { ac_try='test -s conftest.$ac_objext'
13877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878 (eval $ac_try) 2>&5
13879 ac_status=$?
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); }; }; then
13882 ac_cv_type_short=yes
13883 else
13884 echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.$ac_ext >&5
13886
13887 ac_cv_type_short=no
13888 fi
13889 rm -f conftest.$ac_objext conftest.$ac_ext
13890 fi
13891 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13892 echo "${ECHO_T}$ac_cv_type_short" >&6
13893
13894 echo "$as_me:$LINENO: checking size of short" >&5
13895 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13896 if test "${ac_cv_sizeof_short+set}" = set; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6
13898 else
13899 if test "$ac_cv_type_short" = yes; then
13900 # The cast to unsigned long works around a bug in the HP C Compiler
13901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13903 # This bug is HP SR number 8606223364.
13904 if test "$cross_compiling" = yes; then
13905 # Depending upon the size, compute the lo and hi bounds.
13906 cat >conftest.$ac_ext <<_ACEOF
13907 #line $LINENO "configure"
13908 /* confdefs.h. */
13909 _ACEOF
13910 cat confdefs.h >>conftest.$ac_ext
13911 cat >>conftest.$ac_ext <<_ACEOF
13912 /* end confdefs.h. */
13913 $ac_includes_default
13914 int
13915 main ()
13916 {
13917 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13918 test_array [0] = 0
13919
13920 ;
13921 return 0;
13922 }
13923 _ACEOF
13924 rm -f conftest.$ac_objext
13925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13926 (eval $ac_compile) 2>&5
13927 ac_status=$?
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); } &&
13930 { ac_try='test -s conftest.$ac_objext'
13931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13932 (eval $ac_try) 2>&5
13933 ac_status=$?
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); }; }; then
13936 ac_lo=0 ac_mid=0
13937 while :; do
13938 cat >conftest.$ac_ext <<_ACEOF
13939 #line $LINENO "configure"
13940 /* confdefs.h. */
13941 _ACEOF
13942 cat confdefs.h >>conftest.$ac_ext
13943 cat >>conftest.$ac_ext <<_ACEOF
13944 /* end confdefs.h. */
13945 $ac_includes_default
13946 int
13947 main ()
13948 {
13949 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13950 test_array [0] = 0
13951
13952 ;
13953 return 0;
13954 }
13955 _ACEOF
13956 rm -f conftest.$ac_objext
13957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13958 (eval $ac_compile) 2>&5
13959 ac_status=$?
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); } &&
13962 { ac_try='test -s conftest.$ac_objext'
13963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13964 (eval $ac_try) 2>&5
13965 ac_status=$?
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }; }; then
13968 ac_hi=$ac_mid; break
13969 else
13970 echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.$ac_ext >&5
13972
13973 ac_lo=`expr $ac_mid + 1`
13974 if test $ac_lo -le $ac_mid; then
13975 ac_lo= ac_hi=
13976 break
13977 fi
13978 ac_mid=`expr 2 '*' $ac_mid + 1`
13979 fi
13980 rm -f conftest.$ac_objext conftest.$ac_ext
13981 done
13982 else
13983 echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.$ac_ext >&5
13985
13986 cat >conftest.$ac_ext <<_ACEOF
13987 #line $LINENO "configure"
13988 /* confdefs.h. */
13989 _ACEOF
13990 cat confdefs.h >>conftest.$ac_ext
13991 cat >>conftest.$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
13993 $ac_includes_default
13994 int
13995 main ()
13996 {
13997 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
13998 test_array [0] = 0
13999
14000 ;
14001 return 0;
14002 }
14003 _ACEOF
14004 rm -f conftest.$ac_objext
14005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14006 (eval $ac_compile) 2>&5
14007 ac_status=$?
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); } &&
14010 { ac_try='test -s conftest.$ac_objext'
14011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14012 (eval $ac_try) 2>&5
14013 ac_status=$?
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); }; }; then
14016 ac_hi=-1 ac_mid=-1
14017 while :; do
14018 cat >conftest.$ac_ext <<_ACEOF
14019 #line $LINENO "configure"
14020 /* confdefs.h. */
14021 _ACEOF
14022 cat confdefs.h >>conftest.$ac_ext
14023 cat >>conftest.$ac_ext <<_ACEOF
14024 /* end confdefs.h. */
14025 $ac_includes_default
14026 int
14027 main ()
14028 {
14029 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14030 test_array [0] = 0
14031
14032 ;
14033 return 0;
14034 }
14035 _ACEOF
14036 rm -f conftest.$ac_objext
14037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14038 (eval $ac_compile) 2>&5
14039 ac_status=$?
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); } &&
14042 { ac_try='test -s conftest.$ac_objext'
14043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14044 (eval $ac_try) 2>&5
14045 ac_status=$?
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); }; }; then
14048 ac_lo=$ac_mid; break
14049 else
14050 echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.$ac_ext >&5
14052
14053 ac_hi=`expr '(' $ac_mid ')' - 1`
14054 if test $ac_mid -le $ac_hi; then
14055 ac_lo= ac_hi=
14056 break
14057 fi
14058 ac_mid=`expr 2 '*' $ac_mid`
14059 fi
14060 rm -f conftest.$ac_objext conftest.$ac_ext
14061 done
14062 else
14063 echo "$as_me: failed program was:" >&5
14064 sed 's/^/| /' conftest.$ac_ext >&5
14065
14066 ac_lo= ac_hi=
14067 fi
14068 rm -f conftest.$ac_objext conftest.$ac_ext
14069 fi
14070 rm -f conftest.$ac_objext conftest.$ac_ext
14071 # Binary search between lo and hi bounds.
14072 while test "x$ac_lo" != "x$ac_hi"; do
14073 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14074 cat >conftest.$ac_ext <<_ACEOF
14075 #line $LINENO "configure"
14076 /* confdefs.h. */
14077 _ACEOF
14078 cat confdefs.h >>conftest.$ac_ext
14079 cat >>conftest.$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14081 $ac_includes_default
14082 int
14083 main ()
14084 {
14085 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14086 test_array [0] = 0
14087
14088 ;
14089 return 0;
14090 }
14091 _ACEOF
14092 rm -f conftest.$ac_objext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14094 (eval $ac_compile) 2>&5
14095 ac_status=$?
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); } &&
14098 { ac_try='test -s conftest.$ac_objext'
14099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14100 (eval $ac_try) 2>&5
14101 ac_status=$?
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); }; }; then
14104 ac_hi=$ac_mid
14105 else
14106 echo "$as_me: failed program was:" >&5
14107 sed 's/^/| /' conftest.$ac_ext >&5
14108
14109 ac_lo=`expr '(' $ac_mid ')' + 1`
14110 fi
14111 rm -f conftest.$ac_objext conftest.$ac_ext
14112 done
14113 case $ac_lo in
14114 ?*) ac_cv_sizeof_short=$ac_lo;;
14115 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14116 See \`config.log' for more details." >&5
14117 echo "$as_me: error: cannot compute sizeof (short), 77
14118 See \`config.log' for more details." >&2;}
14119 { (exit 1); exit 1; }; } ;;
14120 esac
14121 else
14122 if test "$cross_compiling" = yes; then
14123 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14124 See \`config.log' for more details." >&5
14125 echo "$as_me: error: cannot run test program while cross compiling
14126 See \`config.log' for more details." >&2;}
14127 { (exit 1); exit 1; }; }
14128 else
14129 cat >conftest.$ac_ext <<_ACEOF
14130 #line $LINENO "configure"
14131 /* confdefs.h. */
14132 _ACEOF
14133 cat confdefs.h >>conftest.$ac_ext
14134 cat >>conftest.$ac_ext <<_ACEOF
14135 /* end confdefs.h. */
14136 $ac_includes_default
14137 long longval () { return (long) (sizeof (short)); }
14138 unsigned long ulongval () { return (long) (sizeof (short)); }
14139 #include <stdio.h>
14140 #include <stdlib.h>
14141 int
14142 main ()
14143 {
14144
14145 FILE *f = fopen ("conftest.val", "w");
14146 if (! f)
14147 exit (1);
14148 if (((long) (sizeof (short))) < 0)
14149 {
14150 long i = longval ();
14151 if (i != ((long) (sizeof (short))))
14152 exit (1);
14153 fprintf (f, "%ld\n", i);
14154 }
14155 else
14156 {
14157 unsigned long i = ulongval ();
14158 if (i != ((long) (sizeof (short))))
14159 exit (1);
14160 fprintf (f, "%lu\n", i);
14161 }
14162 exit (ferror (f) || fclose (f) != 0);
14163
14164 ;
14165 return 0;
14166 }
14167 _ACEOF
14168 rm -f conftest$ac_exeext
14169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14170 (eval $ac_link) 2>&5
14171 ac_status=$?
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14176 ac_status=$?
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; }; then
14179 ac_cv_sizeof_short=`cat conftest.val`
14180 else
14181 echo "$as_me: program exited with status $ac_status" >&5
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.$ac_ext >&5
14184
14185 ( exit $ac_status )
14186 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14187 See \`config.log' for more details." >&5
14188 echo "$as_me: error: cannot compute sizeof (short), 77
14189 See \`config.log' for more details." >&2;}
14190 { (exit 1); exit 1; }; }
14191 fi
14192 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14193 fi
14194 fi
14195 rm -f conftest.val
14196 else
14197 ac_cv_sizeof_short=0
14198 fi
14199 fi
14200 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14201 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14202 cat >>confdefs.h <<_ACEOF
14203 #define SIZEOF_SHORT $ac_cv_sizeof_short
14204 _ACEOF
14205
14206
14207 echo "$as_me:$LINENO: checking for void *" >&5
14208 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14209 if test "${ac_cv_type_void_p+set}" = set; then
14210 echo $ECHO_N "(cached) $ECHO_C" >&6
14211 else
14212 cat >conftest.$ac_ext <<_ACEOF
14213 #line $LINENO "configure"
14214 /* confdefs.h. */
14215 _ACEOF
14216 cat confdefs.h >>conftest.$ac_ext
14217 cat >>conftest.$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14219 $ac_includes_default
14220 int
14221 main ()
14222 {
14223 if ((void * *) 0)
14224 return 0;
14225 if (sizeof (void *))
14226 return 0;
14227 ;
14228 return 0;
14229 }
14230 _ACEOF
14231 rm -f conftest.$ac_objext
14232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14233 (eval $ac_compile) 2>&5
14234 ac_status=$?
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } &&
14237 { ac_try='test -s conftest.$ac_objext'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14240 ac_status=$?
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; }; then
14243 ac_cv_type_void_p=yes
14244 else
14245 echo "$as_me: failed program was:" >&5
14246 sed 's/^/| /' conftest.$ac_ext >&5
14247
14248 ac_cv_type_void_p=no
14249 fi
14250 rm -f conftest.$ac_objext conftest.$ac_ext
14251 fi
14252 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14253 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14254
14255 echo "$as_me:$LINENO: checking size of void *" >&5
14256 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14257 if test "${ac_cv_sizeof_void_p+set}" = set; then
14258 echo $ECHO_N "(cached) $ECHO_C" >&6
14259 else
14260 if test "$ac_cv_type_void_p" = yes; then
14261 # The cast to unsigned long works around a bug in the HP C Compiler
14262 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14263 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14264 # This bug is HP SR number 8606223364.
14265 if test "$cross_compiling" = yes; then
14266 # Depending upon the size, compute the lo and hi bounds.
14267 cat >conftest.$ac_ext <<_ACEOF
14268 #line $LINENO "configure"
14269 /* confdefs.h. */
14270 _ACEOF
14271 cat confdefs.h >>conftest.$ac_ext
14272 cat >>conftest.$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14274 $ac_includes_default
14275 int
14276 main ()
14277 {
14278 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14279 test_array [0] = 0
14280
14281 ;
14282 return 0;
14283 }
14284 _ACEOF
14285 rm -f conftest.$ac_objext
14286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14287 (eval $ac_compile) 2>&5
14288 ac_status=$?
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); } &&
14291 { ac_try='test -s conftest.$ac_objext'
14292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293 (eval $ac_try) 2>&5
14294 ac_status=$?
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }; }; then
14297 ac_lo=0 ac_mid=0
14298 while :; do
14299 cat >conftest.$ac_ext <<_ACEOF
14300 #line $LINENO "configure"
14301 /* confdefs.h. */
14302 _ACEOF
14303 cat confdefs.h >>conftest.$ac_ext
14304 cat >>conftest.$ac_ext <<_ACEOF
14305 /* end confdefs.h. */
14306 $ac_includes_default
14307 int
14308 main ()
14309 {
14310 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14311 test_array [0] = 0
14312
14313 ;
14314 return 0;
14315 }
14316 _ACEOF
14317 rm -f conftest.$ac_objext
14318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14319 (eval $ac_compile) 2>&5
14320 ac_status=$?
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try='test -s conftest.$ac_objext'
14324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 (eval $ac_try) 2>&5
14326 ac_status=$?
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; }; then
14329 ac_hi=$ac_mid; break
14330 else
14331 echo "$as_me: failed program was:" >&5
14332 sed 's/^/| /' conftest.$ac_ext >&5
14333
14334 ac_lo=`expr $ac_mid + 1`
14335 if test $ac_lo -le $ac_mid; then
14336 ac_lo= ac_hi=
14337 break
14338 fi
14339 ac_mid=`expr 2 '*' $ac_mid + 1`
14340 fi
14341 rm -f conftest.$ac_objext conftest.$ac_ext
14342 done
14343 else
14344 echo "$as_me: failed program was:" >&5
14345 sed 's/^/| /' conftest.$ac_ext >&5
14346
14347 cat >conftest.$ac_ext <<_ACEOF
14348 #line $LINENO "configure"
14349 /* confdefs.h. */
14350 _ACEOF
14351 cat confdefs.h >>conftest.$ac_ext
14352 cat >>conftest.$ac_ext <<_ACEOF
14353 /* end confdefs.h. */
14354 $ac_includes_default
14355 int
14356 main ()
14357 {
14358 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14359 test_array [0] = 0
14360
14361 ;
14362 return 0;
14363 }
14364 _ACEOF
14365 rm -f conftest.$ac_objext
14366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14367 (eval $ac_compile) 2>&5
14368 ac_status=$?
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); } &&
14371 { ac_try='test -s conftest.$ac_objext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14374 ac_status=$?
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14377 ac_hi=-1 ac_mid=-1
14378 while :; do
14379 cat >conftest.$ac_ext <<_ACEOF
14380 #line $LINENO "configure"
14381 /* confdefs.h. */
14382 _ACEOF
14383 cat confdefs.h >>conftest.$ac_ext
14384 cat >>conftest.$ac_ext <<_ACEOF
14385 /* end confdefs.h. */
14386 $ac_includes_default
14387 int
14388 main ()
14389 {
14390 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14391 test_array [0] = 0
14392
14393 ;
14394 return 0;
14395 }
14396 _ACEOF
14397 rm -f conftest.$ac_objext
14398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14399 (eval $ac_compile) 2>&5
14400 ac_status=$?
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); } &&
14403 { ac_try='test -s conftest.$ac_objext'
14404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14405 (eval $ac_try) 2>&5
14406 ac_status=$?
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); }; }; then
14409 ac_lo=$ac_mid; break
14410 else
14411 echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.$ac_ext >&5
14413
14414 ac_hi=`expr '(' $ac_mid ')' - 1`
14415 if test $ac_mid -le $ac_hi; then
14416 ac_lo= ac_hi=
14417 break
14418 fi
14419 ac_mid=`expr 2 '*' $ac_mid`
14420 fi
14421 rm -f conftest.$ac_objext conftest.$ac_ext
14422 done
14423 else
14424 echo "$as_me: failed program was:" >&5
14425 sed 's/^/| /' conftest.$ac_ext >&5
14426
14427 ac_lo= ac_hi=
14428 fi
14429 rm -f conftest.$ac_objext conftest.$ac_ext
14430 fi
14431 rm -f conftest.$ac_objext conftest.$ac_ext
14432 # Binary search between lo and hi bounds.
14433 while test "x$ac_lo" != "x$ac_hi"; do
14434 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14435 cat >conftest.$ac_ext <<_ACEOF
14436 #line $LINENO "configure"
14437 /* confdefs.h. */
14438 _ACEOF
14439 cat confdefs.h >>conftest.$ac_ext
14440 cat >>conftest.$ac_ext <<_ACEOF
14441 /* end confdefs.h. */
14442 $ac_includes_default
14443 int
14444 main ()
14445 {
14446 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14447 test_array [0] = 0
14448
14449 ;
14450 return 0;
14451 }
14452 _ACEOF
14453 rm -f conftest.$ac_objext
14454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14455 (eval $ac_compile) 2>&5
14456 ac_status=$?
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); } &&
14459 { ac_try='test -s conftest.$ac_objext'
14460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14461 (eval $ac_try) 2>&5
14462 ac_status=$?
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; }; then
14465 ac_hi=$ac_mid
14466 else
14467 echo "$as_me: failed program was:" >&5
14468 sed 's/^/| /' conftest.$ac_ext >&5
14469
14470 ac_lo=`expr '(' $ac_mid ')' + 1`
14471 fi
14472 rm -f conftest.$ac_objext conftest.$ac_ext
14473 done
14474 case $ac_lo in
14475 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14476 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14477 See \`config.log' for more details." >&5
14478 echo "$as_me: error: cannot compute sizeof (void *), 77
14479 See \`config.log' for more details." >&2;}
14480 { (exit 1); exit 1; }; } ;;
14481 esac
14482 else
14483 if test "$cross_compiling" = yes; then
14484 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14485 See \`config.log' for more details." >&5
14486 echo "$as_me: error: cannot run test program while cross compiling
14487 See \`config.log' for more details." >&2;}
14488 { (exit 1); exit 1; }; }
14489 else
14490 cat >conftest.$ac_ext <<_ACEOF
14491 #line $LINENO "configure"
14492 /* confdefs.h. */
14493 _ACEOF
14494 cat confdefs.h >>conftest.$ac_ext
14495 cat >>conftest.$ac_ext <<_ACEOF
14496 /* end confdefs.h. */
14497 $ac_includes_default
14498 long longval () { return (long) (sizeof (void *)); }
14499 unsigned long ulongval () { return (long) (sizeof (void *)); }
14500 #include <stdio.h>
14501 #include <stdlib.h>
14502 int
14503 main ()
14504 {
14505
14506 FILE *f = fopen ("conftest.val", "w");
14507 if (! f)
14508 exit (1);
14509 if (((long) (sizeof (void *))) < 0)
14510 {
14511 long i = longval ();
14512 if (i != ((long) (sizeof (void *))))
14513 exit (1);
14514 fprintf (f, "%ld\n", i);
14515 }
14516 else
14517 {
14518 unsigned long i = ulongval ();
14519 if (i != ((long) (sizeof (void *))))
14520 exit (1);
14521 fprintf (f, "%lu\n", i);
14522 }
14523 exit (ferror (f) || fclose (f) != 0);
14524
14525 ;
14526 return 0;
14527 }
14528 _ACEOF
14529 rm -f conftest$ac_exeext
14530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14531 (eval $ac_link) 2>&5
14532 ac_status=$?
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14536 (eval $ac_try) 2>&5
14537 ac_status=$?
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; }; then
14540 ac_cv_sizeof_void_p=`cat conftest.val`
14541 else
14542 echo "$as_me: program exited with status $ac_status" >&5
14543 echo "$as_me: failed program was:" >&5
14544 sed 's/^/| /' conftest.$ac_ext >&5
14545
14546 ( exit $ac_status )
14547 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14548 See \`config.log' for more details." >&5
14549 echo "$as_me: error: cannot compute sizeof (void *), 77
14550 See \`config.log' for more details." >&2;}
14551 { (exit 1); exit 1; }; }
14552 fi
14553 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14554 fi
14555 fi
14556 rm -f conftest.val
14557 else
14558 ac_cv_sizeof_void_p=0
14559 fi
14560 fi
14561 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14562 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14563 cat >>confdefs.h <<_ACEOF
14564 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14565 _ACEOF
14566
14567
14568 echo "$as_me:$LINENO: checking for int" >&5
14569 echo $ECHO_N "checking for int... $ECHO_C" >&6
14570 if test "${ac_cv_type_int+set}" = set; then
14571 echo $ECHO_N "(cached) $ECHO_C" >&6
14572 else
14573 cat >conftest.$ac_ext <<_ACEOF
14574 #line $LINENO "configure"
14575 /* confdefs.h. */
14576 _ACEOF
14577 cat confdefs.h >>conftest.$ac_ext
14578 cat >>conftest.$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 $ac_includes_default
14581 int
14582 main ()
14583 {
14584 if ((int *) 0)
14585 return 0;
14586 if (sizeof (int))
14587 return 0;
14588 ;
14589 return 0;
14590 }
14591 _ACEOF
14592 rm -f conftest.$ac_objext
14593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14594 (eval $ac_compile) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } &&
14598 { ac_try='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14601 ac_status=$?
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14604 ac_cv_type_int=yes
14605 else
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.$ac_ext >&5
14608
14609 ac_cv_type_int=no
14610 fi
14611 rm -f conftest.$ac_objext conftest.$ac_ext
14612 fi
14613 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14614 echo "${ECHO_T}$ac_cv_type_int" >&6
14615
14616 echo "$as_me:$LINENO: checking size of int" >&5
14617 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14618 if test "${ac_cv_sizeof_int+set}" = set; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6
14620 else
14621 if test "$ac_cv_type_int" = yes; then
14622 # The cast to unsigned long works around a bug in the HP C Compiler
14623 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14624 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14625 # This bug is HP SR number 8606223364.
14626 if test "$cross_compiling" = yes; then
14627 # Depending upon the size, compute the lo and hi bounds.
14628 cat >conftest.$ac_ext <<_ACEOF
14629 #line $LINENO "configure"
14630 /* confdefs.h. */
14631 _ACEOF
14632 cat confdefs.h >>conftest.$ac_ext
14633 cat >>conftest.$ac_ext <<_ACEOF
14634 /* end confdefs.h. */
14635 $ac_includes_default
14636 int
14637 main ()
14638 {
14639 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14640 test_array [0] = 0
14641
14642 ;
14643 return 0;
14644 }
14645 _ACEOF
14646 rm -f conftest.$ac_objext
14647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14648 (eval $ac_compile) 2>&5
14649 ac_status=$?
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
14658 ac_lo=0 ac_mid=0
14659 while :; do
14660 cat >conftest.$ac_ext <<_ACEOF
14661 #line $LINENO "configure"
14662 /* confdefs.h. */
14663 _ACEOF
14664 cat confdefs.h >>conftest.$ac_ext
14665 cat >>conftest.$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14667 $ac_includes_default
14668 int
14669 main ()
14670 {
14671 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14672 test_array [0] = 0
14673
14674 ;
14675 return 0;
14676 }
14677 _ACEOF
14678 rm -f conftest.$ac_objext
14679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14680 (eval $ac_compile) 2>&5
14681 ac_status=$?
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); } &&
14684 { ac_try='test -s conftest.$ac_objext'
14685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14686 (eval $ac_try) 2>&5
14687 ac_status=$?
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); }; }; then
14690 ac_hi=$ac_mid; break
14691 else
14692 echo "$as_me: failed program was:" >&5
14693 sed 's/^/| /' conftest.$ac_ext >&5
14694
14695 ac_lo=`expr $ac_mid + 1`
14696 if test $ac_lo -le $ac_mid; then
14697 ac_lo= ac_hi=
14698 break
14699 fi
14700 ac_mid=`expr 2 '*' $ac_mid + 1`
14701 fi
14702 rm -f conftest.$ac_objext conftest.$ac_ext
14703 done
14704 else
14705 echo "$as_me: failed program was:" >&5
14706 sed 's/^/| /' conftest.$ac_ext >&5
14707
14708 cat >conftest.$ac_ext <<_ACEOF
14709 #line $LINENO "configure"
14710 /* confdefs.h. */
14711 _ACEOF
14712 cat confdefs.h >>conftest.$ac_ext
14713 cat >>conftest.$ac_ext <<_ACEOF
14714 /* end confdefs.h. */
14715 $ac_includes_default
14716 int
14717 main ()
14718 {
14719 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14720 test_array [0] = 0
14721
14722 ;
14723 return 0;
14724 }
14725 _ACEOF
14726 rm -f conftest.$ac_objext
14727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14728 (eval $ac_compile) 2>&5
14729 ac_status=$?
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); } &&
14732 { ac_try='test -s conftest.$ac_objext'
14733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 (eval $ac_try) 2>&5
14735 ac_status=$?
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; }; then
14738 ac_hi=-1 ac_mid=-1
14739 while :; do
14740 cat >conftest.$ac_ext <<_ACEOF
14741 #line $LINENO "configure"
14742 /* confdefs.h. */
14743 _ACEOF
14744 cat confdefs.h >>conftest.$ac_ext
14745 cat >>conftest.$ac_ext <<_ACEOF
14746 /* end confdefs.h. */
14747 $ac_includes_default
14748 int
14749 main ()
14750 {
14751 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14752 test_array [0] = 0
14753
14754 ;
14755 return 0;
14756 }
14757 _ACEOF
14758 rm -f conftest.$ac_objext
14759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14760 (eval $ac_compile) 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_lo=$ac_mid; break
14771 else
14772 echo "$as_me: failed program was:" >&5
14773 sed 's/^/| /' conftest.$ac_ext >&5
14774
14775 ac_hi=`expr '(' $ac_mid ')' - 1`
14776 if test $ac_mid -le $ac_hi; then
14777 ac_lo= ac_hi=
14778 break
14779 fi
14780 ac_mid=`expr 2 '*' $ac_mid`
14781 fi
14782 rm -f conftest.$ac_objext conftest.$ac_ext
14783 done
14784 else
14785 echo "$as_me: failed program was:" >&5
14786 sed 's/^/| /' conftest.$ac_ext >&5
14787
14788 ac_lo= ac_hi=
14789 fi
14790 rm -f conftest.$ac_objext conftest.$ac_ext
14791 fi
14792 rm -f conftest.$ac_objext conftest.$ac_ext
14793 # Binary search between lo and hi bounds.
14794 while test "x$ac_lo" != "x$ac_hi"; do
14795 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14796 cat >conftest.$ac_ext <<_ACEOF
14797 #line $LINENO "configure"
14798 /* confdefs.h. */
14799 _ACEOF
14800 cat confdefs.h >>conftest.$ac_ext
14801 cat >>conftest.$ac_ext <<_ACEOF
14802 /* end confdefs.h. */
14803 $ac_includes_default
14804 int
14805 main ()
14806 {
14807 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14808 test_array [0] = 0
14809
14810 ;
14811 return 0;
14812 }
14813 _ACEOF
14814 rm -f conftest.$ac_objext
14815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14816 (eval $ac_compile) 2>&5
14817 ac_status=$?
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); } &&
14820 { ac_try='test -s conftest.$ac_objext'
14821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14822 (eval $ac_try) 2>&5
14823 ac_status=$?
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); }; }; then
14826 ac_hi=$ac_mid
14827 else
14828 echo "$as_me: failed program was:" >&5
14829 sed 's/^/| /' conftest.$ac_ext >&5
14830
14831 ac_lo=`expr '(' $ac_mid ')' + 1`
14832 fi
14833 rm -f conftest.$ac_objext conftest.$ac_ext
14834 done
14835 case $ac_lo in
14836 ?*) ac_cv_sizeof_int=$ac_lo;;
14837 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14838 See \`config.log' for more details." >&5
14839 echo "$as_me: error: cannot compute sizeof (int), 77
14840 See \`config.log' for more details." >&2;}
14841 { (exit 1); exit 1; }; } ;;
14842 esac
14843 else
14844 if test "$cross_compiling" = yes; then
14845 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14846 See \`config.log' for more details." >&5
14847 echo "$as_me: error: cannot run test program while cross compiling
14848 See \`config.log' for more details." >&2;}
14849 { (exit 1); exit 1; }; }
14850 else
14851 cat >conftest.$ac_ext <<_ACEOF
14852 #line $LINENO "configure"
14853 /* confdefs.h. */
14854 _ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858 $ac_includes_default
14859 long longval () { return (long) (sizeof (int)); }
14860 unsigned long ulongval () { return (long) (sizeof (int)); }
14861 #include <stdio.h>
14862 #include <stdlib.h>
14863 int
14864 main ()
14865 {
14866
14867 FILE *f = fopen ("conftest.val", "w");
14868 if (! f)
14869 exit (1);
14870 if (((long) (sizeof (int))) < 0)
14871 {
14872 long i = longval ();
14873 if (i != ((long) (sizeof (int))))
14874 exit (1);
14875 fprintf (f, "%ld\n", i);
14876 }
14877 else
14878 {
14879 unsigned long i = ulongval ();
14880 if (i != ((long) (sizeof (int))))
14881 exit (1);
14882 fprintf (f, "%lu\n", i);
14883 }
14884 exit (ferror (f) || fclose (f) != 0);
14885
14886 ;
14887 return 0;
14888 }
14889 _ACEOF
14890 rm -f conftest$ac_exeext
14891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14892 (eval $ac_link) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 (eval $ac_try) 2>&5
14898 ac_status=$?
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; }; then
14901 ac_cv_sizeof_int=`cat conftest.val`
14902 else
14903 echo "$as_me: program exited with status $ac_status" >&5
14904 echo "$as_me: failed program was:" >&5
14905 sed 's/^/| /' conftest.$ac_ext >&5
14906
14907 ( exit $ac_status )
14908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14909 See \`config.log' for more details." >&5
14910 echo "$as_me: error: cannot compute sizeof (int), 77
14911 See \`config.log' for more details." >&2;}
14912 { (exit 1); exit 1; }; }
14913 fi
14914 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14915 fi
14916 fi
14917 rm -f conftest.val
14918 else
14919 ac_cv_sizeof_int=0
14920 fi
14921 fi
14922 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14923 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14924 cat >>confdefs.h <<_ACEOF
14925 #define SIZEOF_INT $ac_cv_sizeof_int
14926 _ACEOF
14927
14928
14929 echo "$as_me:$LINENO: checking for long" >&5
14930 echo $ECHO_N "checking for long... $ECHO_C" >&6
14931 if test "${ac_cv_type_long+set}" = set; then
14932 echo $ECHO_N "(cached) $ECHO_C" >&6
14933 else
14934 cat >conftest.$ac_ext <<_ACEOF
14935 #line $LINENO "configure"
14936 /* confdefs.h. */
14937 _ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 $ac_includes_default
14942 int
14943 main ()
14944 {
14945 if ((long *) 0)
14946 return 0;
14947 if (sizeof (long))
14948 return 0;
14949 ;
14950 return 0;
14951 }
14952 _ACEOF
14953 rm -f conftest.$ac_objext
14954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14955 (eval $ac_compile) 2>&5
14956 ac_status=$?
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } &&
14959 { ac_try='test -s conftest.$ac_objext'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14962 ac_status=$?
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; }; then
14965 ac_cv_type_long=yes
14966 else
14967 echo "$as_me: failed program was:" >&5
14968 sed 's/^/| /' conftest.$ac_ext >&5
14969
14970 ac_cv_type_long=no
14971 fi
14972 rm -f conftest.$ac_objext conftest.$ac_ext
14973 fi
14974 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14975 echo "${ECHO_T}$ac_cv_type_long" >&6
14976
14977 echo "$as_me:$LINENO: checking size of long" >&5
14978 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14979 if test "${ac_cv_sizeof_long+set}" = set; then
14980 echo $ECHO_N "(cached) $ECHO_C" >&6
14981 else
14982 if test "$ac_cv_type_long" = yes; then
14983 # The cast to unsigned long works around a bug in the HP C Compiler
14984 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14985 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14986 # This bug is HP SR number 8606223364.
14987 if test "$cross_compiling" = yes; then
14988 # Depending upon the size, compute the lo and hi bounds.
14989 cat >conftest.$ac_ext <<_ACEOF
14990 #line $LINENO "configure"
14991 /* confdefs.h. */
14992 _ACEOF
14993 cat confdefs.h >>conftest.$ac_ext
14994 cat >>conftest.$ac_ext <<_ACEOF
14995 /* end confdefs.h. */
14996 $ac_includes_default
14997 int
14998 main ()
14999 {
15000 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15001 test_array [0] = 0
15002
15003 ;
15004 return 0;
15005 }
15006 _ACEOF
15007 rm -f conftest.$ac_objext
15008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15009 (eval $ac_compile) 2>&5
15010 ac_status=$?
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); } &&
15013 { ac_try='test -s conftest.$ac_objext'
15014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15015 (eval $ac_try) 2>&5
15016 ac_status=$?
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; }; then
15019 ac_lo=0 ac_mid=0
15020 while :; do
15021 cat >conftest.$ac_ext <<_ACEOF
15022 #line $LINENO "configure"
15023 /* confdefs.h. */
15024 _ACEOF
15025 cat confdefs.h >>conftest.$ac_ext
15026 cat >>conftest.$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15028 $ac_includes_default
15029 int
15030 main ()
15031 {
15032 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15033 test_array [0] = 0
15034
15035 ;
15036 return 0;
15037 }
15038 _ACEOF
15039 rm -f conftest.$ac_objext
15040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15041 (eval $ac_compile) 2>&5
15042 ac_status=$?
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); } &&
15045 { ac_try='test -s conftest.$ac_objext'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15048 ac_status=$?
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; }; then
15051 ac_hi=$ac_mid; break
15052 else
15053 echo "$as_me: failed program was:" >&5
15054 sed 's/^/| /' conftest.$ac_ext >&5
15055
15056 ac_lo=`expr $ac_mid + 1`
15057 if test $ac_lo -le $ac_mid; then
15058 ac_lo= ac_hi=
15059 break
15060 fi
15061 ac_mid=`expr 2 '*' $ac_mid + 1`
15062 fi
15063 rm -f conftest.$ac_objext conftest.$ac_ext
15064 done
15065 else
15066 echo "$as_me: failed program was:" >&5
15067 sed 's/^/| /' conftest.$ac_ext >&5
15068
15069 cat >conftest.$ac_ext <<_ACEOF
15070 #line $LINENO "configure"
15071 /* confdefs.h. */
15072 _ACEOF
15073 cat confdefs.h >>conftest.$ac_ext
15074 cat >>conftest.$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15076 $ac_includes_default
15077 int
15078 main ()
15079 {
15080 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15081 test_array [0] = 0
15082
15083 ;
15084 return 0;
15085 }
15086 _ACEOF
15087 rm -f conftest.$ac_objext
15088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15089 (eval $ac_compile) 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); } &&
15093 { ac_try='test -s conftest.$ac_objext'
15094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15095 (eval $ac_try) 2>&5
15096 ac_status=$?
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); }; }; then
15099 ac_hi=-1 ac_mid=-1
15100 while :; do
15101 cat >conftest.$ac_ext <<_ACEOF
15102 #line $LINENO "configure"
15103 /* confdefs.h. */
15104 _ACEOF
15105 cat confdefs.h >>conftest.$ac_ext
15106 cat >>conftest.$ac_ext <<_ACEOF
15107 /* end confdefs.h. */
15108 $ac_includes_default
15109 int
15110 main ()
15111 {
15112 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15113 test_array [0] = 0
15114
15115 ;
15116 return 0;
15117 }
15118 _ACEOF
15119 rm -f conftest.$ac_objext
15120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15121 (eval $ac_compile) 2>&5
15122 ac_status=$?
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); } &&
15125 { ac_try='test -s conftest.$ac_objext'
15126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15127 (eval $ac_try) 2>&5
15128 ac_status=$?
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); }; }; then
15131 ac_lo=$ac_mid; break
15132 else
15133 echo "$as_me: failed program was:" >&5
15134 sed 's/^/| /' conftest.$ac_ext >&5
15135
15136 ac_hi=`expr '(' $ac_mid ')' - 1`
15137 if test $ac_mid -le $ac_hi; then
15138 ac_lo= ac_hi=
15139 break
15140 fi
15141 ac_mid=`expr 2 '*' $ac_mid`
15142 fi
15143 rm -f conftest.$ac_objext conftest.$ac_ext
15144 done
15145 else
15146 echo "$as_me: failed program was:" >&5
15147 sed 's/^/| /' conftest.$ac_ext >&5
15148
15149 ac_lo= ac_hi=
15150 fi
15151 rm -f conftest.$ac_objext conftest.$ac_ext
15152 fi
15153 rm -f conftest.$ac_objext conftest.$ac_ext
15154 # Binary search between lo and hi bounds.
15155 while test "x$ac_lo" != "x$ac_hi"; do
15156 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15157 cat >conftest.$ac_ext <<_ACEOF
15158 #line $LINENO "configure"
15159 /* confdefs.h. */
15160 _ACEOF
15161 cat confdefs.h >>conftest.$ac_ext
15162 cat >>conftest.$ac_ext <<_ACEOF
15163 /* end confdefs.h. */
15164 $ac_includes_default
15165 int
15166 main ()
15167 {
15168 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15169 test_array [0] = 0
15170
15171 ;
15172 return 0;
15173 }
15174 _ACEOF
15175 rm -f conftest.$ac_objext
15176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15177 (eval $ac_compile) 2>&5
15178 ac_status=$?
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); } &&
15181 { ac_try='test -s conftest.$ac_objext'
15182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15183 (eval $ac_try) 2>&5
15184 ac_status=$?
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; }; then
15187 ac_hi=$ac_mid
15188 else
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5
15191
15192 ac_lo=`expr '(' $ac_mid ')' + 1`
15193 fi
15194 rm -f conftest.$ac_objext conftest.$ac_ext
15195 done
15196 case $ac_lo in
15197 ?*) ac_cv_sizeof_long=$ac_lo;;
15198 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15199 See \`config.log' for more details." >&5
15200 echo "$as_me: error: cannot compute sizeof (long), 77
15201 See \`config.log' for more details." >&2;}
15202 { (exit 1); exit 1; }; } ;;
15203 esac
15204 else
15205 if test "$cross_compiling" = yes; then
15206 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15207 See \`config.log' for more details." >&5
15208 echo "$as_me: error: cannot run test program while cross compiling
15209 See \`config.log' for more details." >&2;}
15210 { (exit 1); exit 1; }; }
15211 else
15212 cat >conftest.$ac_ext <<_ACEOF
15213 #line $LINENO "configure"
15214 /* confdefs.h. */
15215 _ACEOF
15216 cat confdefs.h >>conftest.$ac_ext
15217 cat >>conftest.$ac_ext <<_ACEOF
15218 /* end confdefs.h. */
15219 $ac_includes_default
15220 long longval () { return (long) (sizeof (long)); }
15221 unsigned long ulongval () { return (long) (sizeof (long)); }
15222 #include <stdio.h>
15223 #include <stdlib.h>
15224 int
15225 main ()
15226 {
15227
15228 FILE *f = fopen ("conftest.val", "w");
15229 if (! f)
15230 exit (1);
15231 if (((long) (sizeof (long))) < 0)
15232 {
15233 long i = longval ();
15234 if (i != ((long) (sizeof (long))))
15235 exit (1);
15236 fprintf (f, "%ld\n", i);
15237 }
15238 else
15239 {
15240 unsigned long i = ulongval ();
15241 if (i != ((long) (sizeof (long))))
15242 exit (1);
15243 fprintf (f, "%lu\n", i);
15244 }
15245 exit (ferror (f) || fclose (f) != 0);
15246
15247 ;
15248 return 0;
15249 }
15250 _ACEOF
15251 rm -f conftest$ac_exeext
15252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15253 (eval $ac_link) 2>&5
15254 ac_status=$?
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15259 ac_status=$?
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; }; then
15262 ac_cv_sizeof_long=`cat conftest.val`
15263 else
15264 echo "$as_me: program exited with status $ac_status" >&5
15265 echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.$ac_ext >&5
15267
15268 ( exit $ac_status )
15269 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15270 See \`config.log' for more details." >&5
15271 echo "$as_me: error: cannot compute sizeof (long), 77
15272 See \`config.log' for more details." >&2;}
15273 { (exit 1); exit 1; }; }
15274 fi
15275 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15276 fi
15277 fi
15278 rm -f conftest.val
15279 else
15280 ac_cv_sizeof_long=0
15281 fi
15282 fi
15283 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15284 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15285 cat >>confdefs.h <<_ACEOF
15286 #define SIZEOF_LONG $ac_cv_sizeof_long
15287 _ACEOF
15288
15289
15290
15291 case "${host}" in
15292 arm-*-linux* )
15293 echo "$as_me:$LINENO: checking for long long" >&5
15294 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15295 if test "${ac_cv_type_long_long+set}" = set; then
15296 echo $ECHO_N "(cached) $ECHO_C" >&6
15297 else
15298 cat >conftest.$ac_ext <<_ACEOF
15299 #line $LINENO "configure"
15300 /* confdefs.h. */
15301 _ACEOF
15302 cat confdefs.h >>conftest.$ac_ext
15303 cat >>conftest.$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15305 $ac_includes_default
15306 int
15307 main ()
15308 {
15309 if ((long long *) 0)
15310 return 0;
15311 if (sizeof (long long))
15312 return 0;
15313 ;
15314 return 0;
15315 }
15316 _ACEOF
15317 rm -f conftest.$ac_objext
15318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15319 (eval $ac_compile) 2>&5
15320 ac_status=$?
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); } &&
15323 { ac_try='test -s conftest.$ac_objext'
15324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15325 (eval $ac_try) 2>&5
15326 ac_status=$?
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); }; }; then
15329 ac_cv_type_long_long=yes
15330 else
15331 echo "$as_me: failed program was:" >&5
15332 sed 's/^/| /' conftest.$ac_ext >&5
15333
15334 ac_cv_type_long_long=no
15335 fi
15336 rm -f conftest.$ac_objext conftest.$ac_ext
15337 fi
15338 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15339 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15340
15341 echo "$as_me:$LINENO: checking size of long long" >&5
15342 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15343 if test "${ac_cv_sizeof_long_long+set}" = set; then
15344 echo $ECHO_N "(cached) $ECHO_C" >&6
15345 else
15346 if test "$ac_cv_type_long_long" = yes; then
15347 # The cast to unsigned long works around a bug in the HP C Compiler
15348 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15349 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15350 # This bug is HP SR number 8606223364.
15351 if test "$cross_compiling" = yes; then
15352 # Depending upon the size, compute the lo and hi bounds.
15353 cat >conftest.$ac_ext <<_ACEOF
15354 #line $LINENO "configure"
15355 /* confdefs.h. */
15356 _ACEOF
15357 cat confdefs.h >>conftest.$ac_ext
15358 cat >>conftest.$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15360 $ac_includes_default
15361 int
15362 main ()
15363 {
15364 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15365 test_array [0] = 0
15366
15367 ;
15368 return 0;
15369 }
15370 _ACEOF
15371 rm -f conftest.$ac_objext
15372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15373 (eval $ac_compile) 2>&5
15374 ac_status=$?
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } &&
15377 { ac_try='test -s conftest.$ac_objext'
15378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15379 (eval $ac_try) 2>&5
15380 ac_status=$?
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); }; }; then
15383 ac_lo=0 ac_mid=0
15384 while :; do
15385 cat >conftest.$ac_ext <<_ACEOF
15386 #line $LINENO "configure"
15387 /* confdefs.h. */
15388 _ACEOF
15389 cat confdefs.h >>conftest.$ac_ext
15390 cat >>conftest.$ac_ext <<_ACEOF
15391 /* end confdefs.h. */
15392 $ac_includes_default
15393 int
15394 main ()
15395 {
15396 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15397 test_array [0] = 0
15398
15399 ;
15400 return 0;
15401 }
15402 _ACEOF
15403 rm -f conftest.$ac_objext
15404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15405 (eval $ac_compile) 2>&5
15406 ac_status=$?
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); } &&
15409 { ac_try='test -s conftest.$ac_objext'
15410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15411 (eval $ac_try) 2>&5
15412 ac_status=$?
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); }; }; then
15415 ac_hi=$ac_mid; break
15416 else
15417 echo "$as_me: failed program was:" >&5
15418 sed 's/^/| /' conftest.$ac_ext >&5
15419
15420 ac_lo=`expr $ac_mid + 1`
15421 if test $ac_lo -le $ac_mid; then
15422 ac_lo= ac_hi=
15423 break
15424 fi
15425 ac_mid=`expr 2 '*' $ac_mid + 1`
15426 fi
15427 rm -f conftest.$ac_objext conftest.$ac_ext
15428 done
15429 else
15430 echo "$as_me: failed program was:" >&5
15431 sed 's/^/| /' conftest.$ac_ext >&5
15432
15433 cat >conftest.$ac_ext <<_ACEOF
15434 #line $LINENO "configure"
15435 /* confdefs.h. */
15436 _ACEOF
15437 cat confdefs.h >>conftest.$ac_ext
15438 cat >>conftest.$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15440 $ac_includes_default
15441 int
15442 main ()
15443 {
15444 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15445 test_array [0] = 0
15446
15447 ;
15448 return 0;
15449 }
15450 _ACEOF
15451 rm -f conftest.$ac_objext
15452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15453 (eval $ac_compile) 2>&5
15454 ac_status=$?
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } &&
15457 { ac_try='test -s conftest.$ac_objext'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15460 ac_status=$?
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; }; then
15463 ac_hi=-1 ac_mid=-1
15464 while :; do
15465 cat >conftest.$ac_ext <<_ACEOF
15466 #line $LINENO "configure"
15467 /* confdefs.h. */
15468 _ACEOF
15469 cat confdefs.h >>conftest.$ac_ext
15470 cat >>conftest.$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 $ac_includes_default
15473 int
15474 main ()
15475 {
15476 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15477 test_array [0] = 0
15478
15479 ;
15480 return 0;
15481 }
15482 _ACEOF
15483 rm -f conftest.$ac_objext
15484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15485 (eval $ac_compile) 2>&5
15486 ac_status=$?
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } &&
15489 { ac_try='test -s conftest.$ac_objext'
15490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15491 (eval $ac_try) 2>&5
15492 ac_status=$?
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); }; }; then
15495 ac_lo=$ac_mid; break
15496 else
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15499
15500 ac_hi=`expr '(' $ac_mid ')' - 1`
15501 if test $ac_mid -le $ac_hi; then
15502 ac_lo= ac_hi=
15503 break
15504 fi
15505 ac_mid=`expr 2 '*' $ac_mid`
15506 fi
15507 rm -f conftest.$ac_objext conftest.$ac_ext
15508 done
15509 else
15510 echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.$ac_ext >&5
15512
15513 ac_lo= ac_hi=
15514 fi
15515 rm -f conftest.$ac_objext conftest.$ac_ext
15516 fi
15517 rm -f conftest.$ac_objext conftest.$ac_ext
15518 # Binary search between lo and hi bounds.
15519 while test "x$ac_lo" != "x$ac_hi"; do
15520 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15521 cat >conftest.$ac_ext <<_ACEOF
15522 #line $LINENO "configure"
15523 /* confdefs.h. */
15524 _ACEOF
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15528 $ac_includes_default
15529 int
15530 main ()
15531 {
15532 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15533 test_array [0] = 0
15534
15535 ;
15536 return 0;
15537 }
15538 _ACEOF
15539 rm -f conftest.$ac_objext
15540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15541 (eval $ac_compile) 2>&5
15542 ac_status=$?
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } &&
15545 { ac_try='test -s conftest.$ac_objext'
15546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15547 (eval $ac_try) 2>&5
15548 ac_status=$?
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); }; }; then
15551 ac_hi=$ac_mid
15552 else
15553 echo "$as_me: failed program was:" >&5
15554 sed 's/^/| /' conftest.$ac_ext >&5
15555
15556 ac_lo=`expr '(' $ac_mid ')' + 1`
15557 fi
15558 rm -f conftest.$ac_objext conftest.$ac_ext
15559 done
15560 case $ac_lo in
15561 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15562 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15563 See \`config.log' for more details." >&5
15564 echo "$as_me: error: cannot compute sizeof (long long), 77
15565 See \`config.log' for more details." >&2;}
15566 { (exit 1); exit 1; }; } ;;
15567 esac
15568 else
15569 if test "$cross_compiling" = yes; then
15570 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15571 See \`config.log' for more details." >&5
15572 echo "$as_me: error: cannot run test program while cross compiling
15573 See \`config.log' for more details." >&2;}
15574 { (exit 1); exit 1; }; }
15575 else
15576 cat >conftest.$ac_ext <<_ACEOF
15577 #line $LINENO "configure"
15578 /* confdefs.h. */
15579 _ACEOF
15580 cat confdefs.h >>conftest.$ac_ext
15581 cat >>conftest.$ac_ext <<_ACEOF
15582 /* end confdefs.h. */
15583 $ac_includes_default
15584 long longval () { return (long) (sizeof (long long)); }
15585 unsigned long ulongval () { return (long) (sizeof (long long)); }
15586 #include <stdio.h>
15587 #include <stdlib.h>
15588 int
15589 main ()
15590 {
15591
15592 FILE *f = fopen ("conftest.val", "w");
15593 if (! f)
15594 exit (1);
15595 if (((long) (sizeof (long long))) < 0)
15596 {
15597 long i = longval ();
15598 if (i != ((long) (sizeof (long long))))
15599 exit (1);
15600 fprintf (f, "%ld\n", i);
15601 }
15602 else
15603 {
15604 unsigned long i = ulongval ();
15605 if (i != ((long) (sizeof (long long))))
15606 exit (1);
15607 fprintf (f, "%lu\n", i);
15608 }
15609 exit (ferror (f) || fclose (f) != 0);
15610
15611 ;
15612 return 0;
15613 }
15614 _ACEOF
15615 rm -f conftest$ac_exeext
15616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15617 (eval $ac_link) 2>&5
15618 ac_status=$?
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622 (eval $ac_try) 2>&5
15623 ac_status=$?
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; }; then
15626 ac_cv_sizeof_long_long=`cat conftest.val`
15627 else
15628 echo "$as_me: program exited with status $ac_status" >&5
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.$ac_ext >&5
15631
15632 ( exit $ac_status )
15633 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15634 See \`config.log' for more details." >&5
15635 echo "$as_me: error: cannot compute sizeof (long long), 77
15636 See \`config.log' for more details." >&2;}
15637 { (exit 1); exit 1; }; }
15638 fi
15639 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15640 fi
15641 fi
15642 rm -f conftest.val
15643 else
15644 ac_cv_sizeof_long_long=0
15645 fi
15646 fi
15647 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15648 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15649 cat >>confdefs.h <<_ACEOF
15650 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15651 _ACEOF
15652
15653
15654 ;;
15655 *-hp-hpux* )
15656 echo "$as_me:$LINENO: checking for long long" >&5
15657 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15658 if test "${ac_cv_type_long_long+set}" = set; then
15659 echo $ECHO_N "(cached) $ECHO_C" >&6
15660 else
15661 cat >conftest.$ac_ext <<_ACEOF
15662 #line $LINENO "configure"
15663 /* confdefs.h. */
15664 _ACEOF
15665 cat confdefs.h >>conftest.$ac_ext
15666 cat >>conftest.$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15668 $ac_includes_default
15669 int
15670 main ()
15671 {
15672 if ((long long *) 0)
15673 return 0;
15674 if (sizeof (long long))
15675 return 0;
15676 ;
15677 return 0;
15678 }
15679 _ACEOF
15680 rm -f conftest.$ac_objext
15681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15682 (eval $ac_compile) 2>&5
15683 ac_status=$?
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } &&
15686 { ac_try='test -s conftest.$ac_objext'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15689 ac_status=$?
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; }; then
15692 ac_cv_type_long_long=yes
15693 else
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.$ac_ext >&5
15696
15697 ac_cv_type_long_long=no
15698 fi
15699 rm -f conftest.$ac_objext conftest.$ac_ext
15700 fi
15701 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15702 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15703
15704 echo "$as_me:$LINENO: checking size of long long" >&5
15705 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15706 if test "${ac_cv_sizeof_long_long+set}" = set; then
15707 echo $ECHO_N "(cached) $ECHO_C" >&6
15708 else
15709 if test "$ac_cv_type_long_long" = yes; then
15710 # The cast to unsigned long works around a bug in the HP C Compiler
15711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15713 # This bug is HP SR number 8606223364.
15714 if test "$cross_compiling" = yes; then
15715 # Depending upon the size, compute the lo and hi bounds.
15716 cat >conftest.$ac_ext <<_ACEOF
15717 #line $LINENO "configure"
15718 /* confdefs.h. */
15719 _ACEOF
15720 cat confdefs.h >>conftest.$ac_ext
15721 cat >>conftest.$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15723 $ac_includes_default
15724 int
15725 main ()
15726 {
15727 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15728 test_array [0] = 0
15729
15730 ;
15731 return 0;
15732 }
15733 _ACEOF
15734 rm -f conftest.$ac_objext
15735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15736 (eval $ac_compile) 2>&5
15737 ac_status=$?
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); } &&
15740 { ac_try='test -s conftest.$ac_objext'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15743 ac_status=$?
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; }; then
15746 ac_lo=0 ac_mid=0
15747 while :; do
15748 cat >conftest.$ac_ext <<_ACEOF
15749 #line $LINENO "configure"
15750 /* confdefs.h. */
15751 _ACEOF
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 $ac_includes_default
15756 int
15757 main ()
15758 {
15759 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15760 test_array [0] = 0
15761
15762 ;
15763 return 0;
15764 }
15765 _ACEOF
15766 rm -f conftest.$ac_objext
15767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15768 (eval $ac_compile) 2>&5
15769 ac_status=$?
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); } &&
15772 { ac_try='test -s conftest.$ac_objext'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15775 ac_status=$?
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; }; then
15778 ac_hi=$ac_mid; break
15779 else
15780 echo "$as_me: failed program was:" >&5
15781 sed 's/^/| /' conftest.$ac_ext >&5
15782
15783 ac_lo=`expr $ac_mid + 1`
15784 if test $ac_lo -le $ac_mid; then
15785 ac_lo= ac_hi=
15786 break
15787 fi
15788 ac_mid=`expr 2 '*' $ac_mid + 1`
15789 fi
15790 rm -f conftest.$ac_objext conftest.$ac_ext
15791 done
15792 else
15793 echo "$as_me: failed program was:" >&5
15794 sed 's/^/| /' conftest.$ac_ext >&5
15795
15796 cat >conftest.$ac_ext <<_ACEOF
15797 #line $LINENO "configure"
15798 /* confdefs.h. */
15799 _ACEOF
15800 cat confdefs.h >>conftest.$ac_ext
15801 cat >>conftest.$ac_ext <<_ACEOF
15802 /* end confdefs.h. */
15803 $ac_includes_default
15804 int
15805 main ()
15806 {
15807 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15808 test_array [0] = 0
15809
15810 ;
15811 return 0;
15812 }
15813 _ACEOF
15814 rm -f conftest.$ac_objext
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>&5
15817 ac_status=$?
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try='test -s conftest.$ac_objext'
15821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15822 (eval $ac_try) 2>&5
15823 ac_status=$?
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); }; }; then
15826 ac_hi=-1 ac_mid=-1
15827 while :; do
15828 cat >conftest.$ac_ext <<_ACEOF
15829 #line $LINENO "configure"
15830 /* confdefs.h. */
15831 _ACEOF
15832 cat confdefs.h >>conftest.$ac_ext
15833 cat >>conftest.$ac_ext <<_ACEOF
15834 /* end confdefs.h. */
15835 $ac_includes_default
15836 int
15837 main ()
15838 {
15839 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15840 test_array [0] = 0
15841
15842 ;
15843 return 0;
15844 }
15845 _ACEOF
15846 rm -f conftest.$ac_objext
15847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15848 (eval $ac_compile) 2>&5
15849 ac_status=$?
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); } &&
15852 { ac_try='test -s conftest.$ac_objext'
15853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15854 (eval $ac_try) 2>&5
15855 ac_status=$?
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); }; }; then
15858 ac_lo=$ac_mid; break
15859 else
15860 echo "$as_me: failed program was:" >&5
15861 sed 's/^/| /' conftest.$ac_ext >&5
15862
15863 ac_hi=`expr '(' $ac_mid ')' - 1`
15864 if test $ac_mid -le $ac_hi; then
15865 ac_lo= ac_hi=
15866 break
15867 fi
15868 ac_mid=`expr 2 '*' $ac_mid`
15869 fi
15870 rm -f conftest.$ac_objext conftest.$ac_ext
15871 done
15872 else
15873 echo "$as_me: failed program was:" >&5
15874 sed 's/^/| /' conftest.$ac_ext >&5
15875
15876 ac_lo= ac_hi=
15877 fi
15878 rm -f conftest.$ac_objext conftest.$ac_ext
15879 fi
15880 rm -f conftest.$ac_objext conftest.$ac_ext
15881 # Binary search between lo and hi bounds.
15882 while test "x$ac_lo" != "x$ac_hi"; do
15883 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15884 cat >conftest.$ac_ext <<_ACEOF
15885 #line $LINENO "configure"
15886 /* confdefs.h. */
15887 _ACEOF
15888 cat confdefs.h >>conftest.$ac_ext
15889 cat >>conftest.$ac_ext <<_ACEOF
15890 /* end confdefs.h. */
15891 $ac_includes_default
15892 int
15893 main ()
15894 {
15895 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15896 test_array [0] = 0
15897
15898 ;
15899 return 0;
15900 }
15901 _ACEOF
15902 rm -f conftest.$ac_objext
15903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15904 (eval $ac_compile) 2>&5
15905 ac_status=$?
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); } &&
15908 { ac_try='test -s conftest.$ac_objext'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15911 ac_status=$?
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; }; then
15914 ac_hi=$ac_mid
15915 else
15916 echo "$as_me: failed program was:" >&5
15917 sed 's/^/| /' conftest.$ac_ext >&5
15918
15919 ac_lo=`expr '(' $ac_mid ')' + 1`
15920 fi
15921 rm -f conftest.$ac_objext conftest.$ac_ext
15922 done
15923 case $ac_lo in
15924 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15925 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15926 See \`config.log' for more details." >&5
15927 echo "$as_me: error: cannot compute sizeof (long long), 77
15928 See \`config.log' for more details." >&2;}
15929 { (exit 1); exit 1; }; } ;;
15930 esac
15931 else
15932 if test "$cross_compiling" = yes; then
15933 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15934 See \`config.log' for more details." >&5
15935 echo "$as_me: error: cannot run test program while cross compiling
15936 See \`config.log' for more details." >&2;}
15937 { (exit 1); exit 1; }; }
15938 else
15939 cat >conftest.$ac_ext <<_ACEOF
15940 #line $LINENO "configure"
15941 /* confdefs.h. */
15942 _ACEOF
15943 cat confdefs.h >>conftest.$ac_ext
15944 cat >>conftest.$ac_ext <<_ACEOF
15945 /* end confdefs.h. */
15946 $ac_includes_default
15947 long longval () { return (long) (sizeof (long long)); }
15948 unsigned long ulongval () { return (long) (sizeof (long long)); }
15949 #include <stdio.h>
15950 #include <stdlib.h>
15951 int
15952 main ()
15953 {
15954
15955 FILE *f = fopen ("conftest.val", "w");
15956 if (! f)
15957 exit (1);
15958 if (((long) (sizeof (long long))) < 0)
15959 {
15960 long i = longval ();
15961 if (i != ((long) (sizeof (long long))))
15962 exit (1);
15963 fprintf (f, "%ld\n", i);
15964 }
15965 else
15966 {
15967 unsigned long i = ulongval ();
15968 if (i != ((long) (sizeof (long long))))
15969 exit (1);
15970 fprintf (f, "%lu\n", i);
15971 }
15972 exit (ferror (f) || fclose (f) != 0);
15973
15974 ;
15975 return 0;
15976 }
15977 _ACEOF
15978 rm -f conftest$ac_exeext
15979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15980 (eval $ac_link) 2>&5
15981 ac_status=$?
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15985 (eval $ac_try) 2>&5
15986 ac_status=$?
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; }; then
15989 ac_cv_sizeof_long_long=`cat conftest.val`
15990 else
15991 echo "$as_me: program exited with status $ac_status" >&5
15992 echo "$as_me: failed program was:" >&5
15993 sed 's/^/| /' conftest.$ac_ext >&5
15994
15995 ( exit $ac_status )
15996 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15997 See \`config.log' for more details." >&5
15998 echo "$as_me: error: cannot compute sizeof (long long), 77
15999 See \`config.log' for more details." >&2;}
16000 { (exit 1); exit 1; }; }
16001 fi
16002 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16003 fi
16004 fi
16005 rm -f conftest.val
16006 else
16007 ac_cv_sizeof_long_long=0
16008 fi
16009 fi
16010 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16011 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16012 cat >>confdefs.h <<_ACEOF
16013 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16014 _ACEOF
16015
16016
16017 if test "$ac_cv_sizeof_long_long" != "0"; then
16018 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16019 fi
16020 ;;
16021 * )
16022 echo "$as_me:$LINENO: checking for long long" >&5
16023 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16024 if test "${ac_cv_type_long_long+set}" = set; then
16025 echo $ECHO_N "(cached) $ECHO_C" >&6
16026 else
16027 cat >conftest.$ac_ext <<_ACEOF
16028 #line $LINENO "configure"
16029 /* confdefs.h. */
16030 _ACEOF
16031 cat confdefs.h >>conftest.$ac_ext
16032 cat >>conftest.$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16034 $ac_includes_default
16035 int
16036 main ()
16037 {
16038 if ((long long *) 0)
16039 return 0;
16040 if (sizeof (long long))
16041 return 0;
16042 ;
16043 return 0;
16044 }
16045 _ACEOF
16046 rm -f conftest.$ac_objext
16047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16048 (eval $ac_compile) 2>&5
16049 ac_status=$?
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } &&
16052 { ac_try='test -s conftest.$ac_objext'
16053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16054 (eval $ac_try) 2>&5
16055 ac_status=$?
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); }; }; then
16058 ac_cv_type_long_long=yes
16059 else
16060 echo "$as_me: failed program was:" >&5
16061 sed 's/^/| /' conftest.$ac_ext >&5
16062
16063 ac_cv_type_long_long=no
16064 fi
16065 rm -f conftest.$ac_objext conftest.$ac_ext
16066 fi
16067 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16068 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16069
16070 echo "$as_me:$LINENO: checking size of long long" >&5
16071 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16072 if test "${ac_cv_sizeof_long_long+set}" = set; then
16073 echo $ECHO_N "(cached) $ECHO_C" >&6
16074 else
16075 if test "$ac_cv_type_long_long" = yes; then
16076 # The cast to unsigned long works around a bug in the HP C Compiler
16077 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16078 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16079 # This bug is HP SR number 8606223364.
16080 if test "$cross_compiling" = yes; then
16081 # Depending upon the size, compute the lo and hi bounds.
16082 cat >conftest.$ac_ext <<_ACEOF
16083 #line $LINENO "configure"
16084 /* confdefs.h. */
16085 _ACEOF
16086 cat confdefs.h >>conftest.$ac_ext
16087 cat >>conftest.$ac_ext <<_ACEOF
16088 /* end confdefs.h. */
16089 $ac_includes_default
16090 int
16091 main ()
16092 {
16093 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16094 test_array [0] = 0
16095
16096 ;
16097 return 0;
16098 }
16099 _ACEOF
16100 rm -f conftest.$ac_objext
16101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16102 (eval $ac_compile) 2>&5
16103 ac_status=$?
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } &&
16106 { ac_try='test -s conftest.$ac_objext'
16107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16108 (eval $ac_try) 2>&5
16109 ac_status=$?
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); }; }; then
16112 ac_lo=0 ac_mid=0
16113 while :; do
16114 cat >conftest.$ac_ext <<_ACEOF
16115 #line $LINENO "configure"
16116 /* confdefs.h. */
16117 _ACEOF
16118 cat confdefs.h >>conftest.$ac_ext
16119 cat >>conftest.$ac_ext <<_ACEOF
16120 /* end confdefs.h. */
16121 $ac_includes_default
16122 int
16123 main ()
16124 {
16125 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16126 test_array [0] = 0
16127
16128 ;
16129 return 0;
16130 }
16131 _ACEOF
16132 rm -f conftest.$ac_objext
16133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16134 (eval $ac_compile) 2>&5
16135 ac_status=$?
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } &&
16138 { ac_try='test -s conftest.$ac_objext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 ac_hi=$ac_mid; break
16145 else
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16148
16149 ac_lo=`expr $ac_mid + 1`
16150 if test $ac_lo -le $ac_mid; then
16151 ac_lo= ac_hi=
16152 break
16153 fi
16154 ac_mid=`expr 2 '*' $ac_mid + 1`
16155 fi
16156 rm -f conftest.$ac_objext conftest.$ac_ext
16157 done
16158 else
16159 echo "$as_me: failed program was:" >&5
16160 sed 's/^/| /' conftest.$ac_ext >&5
16161
16162 cat >conftest.$ac_ext <<_ACEOF
16163 #line $LINENO "configure"
16164 /* confdefs.h. */
16165 _ACEOF
16166 cat confdefs.h >>conftest.$ac_ext
16167 cat >>conftest.$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 $ac_includes_default
16170 int
16171 main ()
16172 {
16173 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16174 test_array [0] = 0
16175
16176 ;
16177 return 0;
16178 }
16179 _ACEOF
16180 rm -f conftest.$ac_objext
16181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16182 (eval $ac_compile) 2>&5
16183 ac_status=$?
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } &&
16186 { ac_try='test -s conftest.$ac_objext'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16189 ac_status=$?
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; }; then
16192 ac_hi=-1 ac_mid=-1
16193 while :; do
16194 cat >conftest.$ac_ext <<_ACEOF
16195 #line $LINENO "configure"
16196 /* confdefs.h. */
16197 _ACEOF
16198 cat confdefs.h >>conftest.$ac_ext
16199 cat >>conftest.$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16201 $ac_includes_default
16202 int
16203 main ()
16204 {
16205 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16206 test_array [0] = 0
16207
16208 ;
16209 return 0;
16210 }
16211 _ACEOF
16212 rm -f conftest.$ac_objext
16213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16214 (eval $ac_compile) 2>&5
16215 ac_status=$?
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); } &&
16218 { ac_try='test -s conftest.$ac_objext'
16219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220 (eval $ac_try) 2>&5
16221 ac_status=$?
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); }; }; then
16224 ac_lo=$ac_mid; break
16225 else
16226 echo "$as_me: failed program was:" >&5
16227 sed 's/^/| /' conftest.$ac_ext >&5
16228
16229 ac_hi=`expr '(' $ac_mid ')' - 1`
16230 if test $ac_mid -le $ac_hi; then
16231 ac_lo= ac_hi=
16232 break
16233 fi
16234 ac_mid=`expr 2 '*' $ac_mid`
16235 fi
16236 rm -f conftest.$ac_objext conftest.$ac_ext
16237 done
16238 else
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16241
16242 ac_lo= ac_hi=
16243 fi
16244 rm -f conftest.$ac_objext conftest.$ac_ext
16245 fi
16246 rm -f conftest.$ac_objext conftest.$ac_ext
16247 # Binary search between lo and hi bounds.
16248 while test "x$ac_lo" != "x$ac_hi"; do
16249 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16250 cat >conftest.$ac_ext <<_ACEOF
16251 #line $LINENO "configure"
16252 /* confdefs.h. */
16253 _ACEOF
16254 cat confdefs.h >>conftest.$ac_ext
16255 cat >>conftest.$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16257 $ac_includes_default
16258 int
16259 main ()
16260 {
16261 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16262 test_array [0] = 0
16263
16264 ;
16265 return 0;
16266 }
16267 _ACEOF
16268 rm -f conftest.$ac_objext
16269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16270 (eval $ac_compile) 2>&5
16271 ac_status=$?
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); } &&
16274 { ac_try='test -s conftest.$ac_objext'
16275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276 (eval $ac_try) 2>&5
16277 ac_status=$?
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; }; then
16280 ac_hi=$ac_mid
16281 else
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16284
16285 ac_lo=`expr '(' $ac_mid ')' + 1`
16286 fi
16287 rm -f conftest.$ac_objext conftest.$ac_ext
16288 done
16289 case $ac_lo in
16290 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16291 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16292 See \`config.log' for more details." >&5
16293 echo "$as_me: error: cannot compute sizeof (long long), 77
16294 See \`config.log' for more details." >&2;}
16295 { (exit 1); exit 1; }; } ;;
16296 esac
16297 else
16298 if test "$cross_compiling" = yes; then
16299 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16300 See \`config.log' for more details." >&5
16301 echo "$as_me: error: cannot run test program while cross compiling
16302 See \`config.log' for more details." >&2;}
16303 { (exit 1); exit 1; }; }
16304 else
16305 cat >conftest.$ac_ext <<_ACEOF
16306 #line $LINENO "configure"
16307 /* confdefs.h. */
16308 _ACEOF
16309 cat confdefs.h >>conftest.$ac_ext
16310 cat >>conftest.$ac_ext <<_ACEOF
16311 /* end confdefs.h. */
16312 $ac_includes_default
16313 long longval () { return (long) (sizeof (long long)); }
16314 unsigned long ulongval () { return (long) (sizeof (long long)); }
16315 #include <stdio.h>
16316 #include <stdlib.h>
16317 int
16318 main ()
16319 {
16320
16321 FILE *f = fopen ("conftest.val", "w");
16322 if (! f)
16323 exit (1);
16324 if (((long) (sizeof (long long))) < 0)
16325 {
16326 long i = longval ();
16327 if (i != ((long) (sizeof (long long))))
16328 exit (1);
16329 fprintf (f, "%ld\n", i);
16330 }
16331 else
16332 {
16333 unsigned long i = ulongval ();
16334 if (i != ((long) (sizeof (long long))))
16335 exit (1);
16336 fprintf (f, "%lu\n", i);
16337 }
16338 exit (ferror (f) || fclose (f) != 0);
16339
16340 ;
16341 return 0;
16342 }
16343 _ACEOF
16344 rm -f conftest$ac_exeext
16345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16346 (eval $ac_link) 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16351 (eval $ac_try) 2>&5
16352 ac_status=$?
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); }; }; then
16355 ac_cv_sizeof_long_long=`cat conftest.val`
16356 else
16357 echo "$as_me: program exited with status $ac_status" >&5
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.$ac_ext >&5
16360
16361 ( exit $ac_status )
16362 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16363 See \`config.log' for more details." >&5
16364 echo "$as_me: error: cannot compute sizeof (long long), 77
16365 See \`config.log' for more details." >&2;}
16366 { (exit 1); exit 1; }; }
16367 fi
16368 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16369 fi
16370 fi
16371 rm -f conftest.val
16372 else
16373 ac_cv_sizeof_long_long=0
16374 fi
16375 fi
16376 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16377 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16378 cat >>confdefs.h <<_ACEOF
16379 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16380 _ACEOF
16381
16382
16383 esac
16384
16385 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16386 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16387 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 else
16390
16391 if test "$cross_compiling" = yes; then
16392
16393 case "${host}" in
16394 *-pc-msdosdjgpp )
16395 wx_cv_sizeof_wchar_t=0
16396 ;;
16397 * )
16398 wx_cv_sizeof_wchar_t=4
16399 ;;
16400 esac
16401
16402
16403 else
16404 cat >conftest.$ac_ext <<_ACEOF
16405 #line $LINENO "configure"
16406 /* confdefs.h. */
16407 _ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16411
16412 /* DJGPP only has fake wchar_t: */
16413 #ifdef __DJGPP__
16414 # error "fake wchar_t"
16415 #endif
16416 #ifdef HAVE_WCHAR_H
16417 # ifdef __CYGWIN__
16418 # include <stddef.h>
16419 # endif
16420 # include <wchar.h>
16421 #endif
16422 #ifdef HAVE_STDLIB_H
16423 # include <stdlib.h>
16424 #endif
16425 #include <stdio.h>
16426 int main()
16427 {
16428 FILE *f=fopen("conftestval", "w");
16429 if (!f) exit(1);
16430 fprintf(f, "%i", sizeof(wchar_t));
16431 exit(0);
16432 }
16433
16434 _ACEOF
16435 rm -f conftest$ac_exeext
16436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16437 (eval $ac_link) 2>&5
16438 ac_status=$?
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16443 ac_status=$?
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; }; then
16446 wx_cv_sizeof_wchar_t=`cat conftestval`
16447 else
16448 echo "$as_me: program exited with status $ac_status" >&5
16449 echo "$as_me: failed program was:" >&5
16450 sed 's/^/| /' conftest.$ac_ext >&5
16451
16452 ( exit $ac_status )
16453 wx_cv_sizeof_wchar_t=0
16454 fi
16455 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16456 fi
16457
16458 fi
16459 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16460 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16461
16462 cat >>confdefs.h <<_ACEOF
16463 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16464 _ACEOF
16465
16466
16467 # Check whether --enable-largefile or --disable-largefile was given.
16468 if test "${enable_largefile+set}" = set; then
16469 enableval="$enable_largefile"
16470
16471 fi;
16472 if test "$enable_largefile" != no; then
16473 wx_largefile=no
16474
16475 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16476 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16477 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16478 echo $ECHO_N "(cached) $ECHO_C" >&6
16479 else
16480
16481 cat >conftest.$ac_ext <<_ACEOF
16482 #line $LINENO "configure"
16483 /* confdefs.h. */
16484 _ACEOF
16485 cat confdefs.h >>conftest.$ac_ext
16486 cat >>conftest.$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 #define _FILE_OFFSET_BITS 64
16489 #include <sys/types.h>
16490 int
16491 main ()
16492 {
16493 typedef struct {
16494 unsigned int field: sizeof(off_t) == 8;
16495 } wxlf;
16496
16497 ;
16498 return 0;
16499 }
16500 _ACEOF
16501 rm -f conftest.$ac_objext
16502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16503 (eval $ac_compile) 2>&5
16504 ac_status=$?
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); } &&
16507 { ac_try='test -s conftest.$ac_objext'
16508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509 (eval $ac_try) 2>&5
16510 ac_status=$?
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); }; }; then
16513 ac_cv_sys_file_offset_bits=64
16514 else
16515 echo "$as_me: failed program was:" >&5
16516 sed 's/^/| /' conftest.$ac_ext >&5
16517
16518 ac_cv_sys_file_offset_bits=no
16519 fi
16520 rm -f conftest.$ac_objext conftest.$ac_ext
16521
16522
16523 fi
16524 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16525 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16526
16527 if test "$ac_cv_sys_file_offset_bits" != no; then
16528 wx_largefile=yes
16529 cat >>confdefs.h <<_ACEOF
16530 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16531 _ACEOF
16532
16533 fi
16534
16535 if test "x$wx_largefile" != "xyes"; then
16536
16537 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16538 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16539 if test "${ac_cv_sys_large_files+set}" = set; then
16540 echo $ECHO_N "(cached) $ECHO_C" >&6
16541 else
16542
16543 cat >conftest.$ac_ext <<_ACEOF
16544 #line $LINENO "configure"
16545 /* confdefs.h. */
16546 _ACEOF
16547 cat confdefs.h >>conftest.$ac_ext
16548 cat >>conftest.$ac_ext <<_ACEOF
16549 /* end confdefs.h. */
16550 #define _LARGE_FILES 1
16551 #include <sys/types.h>
16552 int
16553 main ()
16554 {
16555 typedef struct {
16556 unsigned int field: sizeof(off_t) == 8;
16557 } wxlf;
16558
16559 ;
16560 return 0;
16561 }
16562 _ACEOF
16563 rm -f conftest.$ac_objext
16564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16565 (eval $ac_compile) 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); } &&
16569 { ac_try='test -s conftest.$ac_objext'
16570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16571 (eval $ac_try) 2>&5
16572 ac_status=$?
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }; }; then
16575 ac_cv_sys_large_files=1
16576 else
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.$ac_ext >&5
16579
16580 ac_cv_sys_large_files=no
16581 fi
16582 rm -f conftest.$ac_objext conftest.$ac_ext
16583
16584
16585 fi
16586 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16587 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16588
16589 if test "$ac_cv_sys_large_files" != no; then
16590 wx_largefile=yes
16591 cat >>confdefs.h <<_ACEOF
16592 #define _LARGE_FILES $ac_cv_sys_large_files
16593 _ACEOF
16594
16595 fi
16596
16597 fi
16598
16599 echo "$as_me:$LINENO: checking if large file support is available" >&5
16600 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16601 if test "x$wx_largefile" = "xyes"; then
16602 cat >>confdefs.h <<\_ACEOF
16603 #define HAVE_LARGEFILE_SUPPORT 1
16604 _ACEOF
16605
16606 fi
16607 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16608 echo "${ECHO_T}$wx_largefile" >&6
16609 fi
16610
16611
16612 if test "x$wx_largefile" = "xyes"; then
16613 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16614 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16615 else
16616 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16617 fi
16618 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16619 fi
16620
16621 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16622 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16623 if test "${ac_cv_c_bigendian+set}" = set; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16625 else
16626 ac_cv_c_bigendian=unknown
16627 # See if sys/param.h defines the BYTE_ORDER macro.
16628 cat >conftest.$ac_ext <<_ACEOF
16629 #line $LINENO "configure"
16630 /* confdefs.h. */
16631 _ACEOF
16632 cat confdefs.h >>conftest.$ac_ext
16633 cat >>conftest.$ac_ext <<_ACEOF
16634 /* end confdefs.h. */
16635 #include <sys/types.h>
16636 #include <sys/param.h>
16637 int
16638 main ()
16639 {
16640
16641 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16642 bogus endian macros
16643 #endif
16644 ;
16645 return 0;
16646 }
16647 _ACEOF
16648 rm -f conftest.$ac_objext
16649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16650 (eval $ac_compile) 2>&5
16651 ac_status=$?
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } &&
16654 { ac_try='test -s conftest.$ac_objext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16657 ac_status=$?
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16660 # It does; now see whether it defined to BIG_ENDIAN or not.
16661 cat >conftest.$ac_ext <<_ACEOF
16662 #line $LINENO "configure"
16663 /* confdefs.h. */
16664 _ACEOF
16665 cat confdefs.h >>conftest.$ac_ext
16666 cat >>conftest.$ac_ext <<_ACEOF
16667 /* end confdefs.h. */
16668 #include <sys/types.h>
16669 #include <sys/param.h>
16670 int
16671 main ()
16672 {
16673
16674 #if BYTE_ORDER != BIG_ENDIAN
16675 not big endian
16676 #endif
16677 ;
16678 return 0;
16679 }
16680 _ACEOF
16681 rm -f conftest.$ac_objext
16682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16683 (eval $ac_compile) 2>&5
16684 ac_status=$?
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); } &&
16687 { ac_try='test -s conftest.$ac_objext'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16690 ac_status=$?
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; }; then
16693 ac_cv_c_bigendian=yes
16694 else
16695 echo "$as_me: failed program was:" >&5
16696 sed 's/^/| /' conftest.$ac_ext >&5
16697
16698 ac_cv_c_bigendian=no
16699 fi
16700 rm -f conftest.$ac_objext conftest.$ac_ext
16701 else
16702 echo "$as_me: failed program was:" >&5
16703 sed 's/^/| /' conftest.$ac_ext >&5
16704
16705 fi
16706 rm -f conftest.$ac_objext conftest.$ac_ext
16707 if test $ac_cv_c_bigendian = unknown; then
16708 if test "$cross_compiling" = yes; then
16709 ac_cv_c_bigendian=unknown
16710 else
16711 cat >conftest.$ac_ext <<_ACEOF
16712 #line $LINENO "configure"
16713 /* confdefs.h. */
16714 _ACEOF
16715 cat confdefs.h >>conftest.$ac_ext
16716 cat >>conftest.$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16718 main () {
16719 /* Are we little or big endian? From Harbison&Steele. */
16720 union
16721 {
16722 long l;
16723 char c[sizeof (long)];
16724 } u;
16725 u.l = 1;
16726 exit (u.c[sizeof (long) - 1] == 1);
16727 }
16728 _ACEOF
16729 rm -f conftest$ac_exeext
16730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16731 (eval $ac_link) 2>&5
16732 ac_status=$?
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16736 (eval $ac_try) 2>&5
16737 ac_status=$?
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }; }; then
16740 ac_cv_c_bigendian=no
16741 else
16742 echo "$as_me: program exited with status $ac_status" >&5
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.$ac_ext >&5
16745
16746 ( exit $ac_status )
16747 ac_cv_c_bigendian=yes
16748 fi
16749 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16750 fi
16751 fi
16752 fi
16753 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16754 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16755 if test $ac_cv_c_bigendian = unknown; then
16756 { 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
16757 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;}
16758 fi
16759 if test $ac_cv_c_bigendian = yes; then
16760 cat >>confdefs.h <<\_ACEOF
16761 #define WORDS_BIGENDIAN 1
16762 _ACEOF
16763
16764 fi
16765
16766
16767
16768 ac_ext=cc
16769 ac_cpp='$CXXCPP $CPPFLAGS'
16770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16773 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16774 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16775 if test -z "$CXXCPP"; then
16776 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16778 else
16779 # Double quotes because CXXCPP needs to be expanded
16780 for CXXCPP in "$CXX -E" "/lib/cpp"
16781 do
16782 ac_preproc_ok=false
16783 for ac_cxx_preproc_warn_flag in '' yes
16784 do
16785 # Use a header file that comes with gcc, so configuring glibc
16786 # with a fresh cross-compiler works.
16787 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16788 # <limits.h> exists even on freestanding compilers.
16789 # On the NeXT, cc -E runs the code through the compiler's parser,
16790 # not just through cpp. "Syntax error" is here to catch this case.
16791 cat >conftest.$ac_ext <<_ACEOF
16792 #line $LINENO "configure"
16793 /* confdefs.h. */
16794 _ACEOF
16795 cat confdefs.h >>conftest.$ac_ext
16796 cat >>conftest.$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798 #ifdef __STDC__
16799 # include <limits.h>
16800 #else
16801 # include <assert.h>
16802 #endif
16803 Syntax error
16804 _ACEOF
16805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16807 ac_status=$?
16808 grep -v '^ *+' conftest.er1 >conftest.err
16809 rm -f conftest.er1
16810 cat conftest.err >&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); } >/dev/null; then
16813 if test -s conftest.err; then
16814 ac_cpp_err=$ac_cxx_preproc_warn_flag
16815 else
16816 ac_cpp_err=
16817 fi
16818 else
16819 ac_cpp_err=yes
16820 fi
16821 if test -z "$ac_cpp_err"; then
16822 :
16823 else
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.$ac_ext >&5
16826
16827 # Broken: fails on valid input.
16828 continue
16829 fi
16830 rm -f conftest.err conftest.$ac_ext
16831
16832 # OK, works on sane cases. Now check whether non-existent headers
16833 # can be detected and how.
16834 cat >conftest.$ac_ext <<_ACEOF
16835 #line $LINENO "configure"
16836 /* confdefs.h. */
16837 _ACEOF
16838 cat confdefs.h >>conftest.$ac_ext
16839 cat >>conftest.$ac_ext <<_ACEOF
16840 /* end confdefs.h. */
16841 #include <ac_nonexistent.h>
16842 _ACEOF
16843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16844 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16845 ac_status=$?
16846 grep -v '^ *+' conftest.er1 >conftest.err
16847 rm -f conftest.er1
16848 cat conftest.err >&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); } >/dev/null; then
16851 if test -s conftest.err; then
16852 ac_cpp_err=$ac_cxx_preproc_warn_flag
16853 else
16854 ac_cpp_err=
16855 fi
16856 else
16857 ac_cpp_err=yes
16858 fi
16859 if test -z "$ac_cpp_err"; then
16860 # Broken: success on invalid input.
16861 continue
16862 else
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.$ac_ext >&5
16865
16866 # Passes both tests.
16867 ac_preproc_ok=:
16868 break
16869 fi
16870 rm -f conftest.err conftest.$ac_ext
16871
16872 done
16873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16874 rm -f conftest.err conftest.$ac_ext
16875 if $ac_preproc_ok; then
16876 break
16877 fi
16878
16879 done
16880 ac_cv_prog_CXXCPP=$CXXCPP
16881
16882 fi
16883 CXXCPP=$ac_cv_prog_CXXCPP
16884 else
16885 ac_cv_prog_CXXCPP=$CXXCPP
16886 fi
16887 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16888 echo "${ECHO_T}$CXXCPP" >&6
16889 ac_preproc_ok=false
16890 for ac_cxx_preproc_warn_flag in '' yes
16891 do
16892 # Use a header file that comes with gcc, so configuring glibc
16893 # with a fresh cross-compiler works.
16894 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16895 # <limits.h> exists even on freestanding compilers.
16896 # On the NeXT, cc -E runs the code through the compiler's parser,
16897 # not just through cpp. "Syntax error" is here to catch this case.
16898 cat >conftest.$ac_ext <<_ACEOF
16899 #line $LINENO "configure"
16900 /* confdefs.h. */
16901 _ACEOF
16902 cat confdefs.h >>conftest.$ac_ext
16903 cat >>conftest.$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16905 #ifdef __STDC__
16906 # include <limits.h>
16907 #else
16908 # include <assert.h>
16909 #endif
16910 Syntax error
16911 _ACEOF
16912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16913 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16914 ac_status=$?
16915 grep -v '^ *+' conftest.er1 >conftest.err
16916 rm -f conftest.er1
16917 cat conftest.err >&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } >/dev/null; then
16920 if test -s conftest.err; then
16921 ac_cpp_err=$ac_cxx_preproc_warn_flag
16922 else
16923 ac_cpp_err=
16924 fi
16925 else
16926 ac_cpp_err=yes
16927 fi
16928 if test -z "$ac_cpp_err"; then
16929 :
16930 else
16931 echo "$as_me: failed program was:" >&5
16932 sed 's/^/| /' conftest.$ac_ext >&5
16933
16934 # Broken: fails on valid input.
16935 continue
16936 fi
16937 rm -f conftest.err conftest.$ac_ext
16938
16939 # OK, works on sane cases. Now check whether non-existent headers
16940 # can be detected and how.
16941 cat >conftest.$ac_ext <<_ACEOF
16942 #line $LINENO "configure"
16943 /* confdefs.h. */
16944 _ACEOF
16945 cat confdefs.h >>conftest.$ac_ext
16946 cat >>conftest.$ac_ext <<_ACEOF
16947 /* end confdefs.h. */
16948 #include <ac_nonexistent.h>
16949 _ACEOF
16950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16952 ac_status=$?
16953 grep -v '^ *+' conftest.er1 >conftest.err
16954 rm -f conftest.er1
16955 cat conftest.err >&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } >/dev/null; then
16958 if test -s conftest.err; then
16959 ac_cpp_err=$ac_cxx_preproc_warn_flag
16960 else
16961 ac_cpp_err=
16962 fi
16963 else
16964 ac_cpp_err=yes
16965 fi
16966 if test -z "$ac_cpp_err"; then
16967 # Broken: success on invalid input.
16968 continue
16969 else
16970 echo "$as_me: failed program was:" >&5
16971 sed 's/^/| /' conftest.$ac_ext >&5
16972
16973 # Passes both tests.
16974 ac_preproc_ok=:
16975 break
16976 fi
16977 rm -f conftest.err conftest.$ac_ext
16978
16979 done
16980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16981 rm -f conftest.err conftest.$ac_ext
16982 if $ac_preproc_ok; then
16983 :
16984 else
16985 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16986 See \`config.log' for more details." >&5
16987 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16988 See \`config.log' for more details." >&2;}
16989 { (exit 1); exit 1; }; }
16990 fi
16991
16992 ac_ext=cc
16993 ac_cpp='$CXXCPP $CPPFLAGS'
16994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16997
16998
16999
17000 if test "$cross_compiling" = "yes"; then
17001 cat >>confdefs.h <<\_ACEOF
17002 #define wxUSE_IOSTREAMH 1
17003 _ACEOF
17004
17005 else
17006
17007
17008 ac_ext=cc
17009 ac_cpp='$CXXCPP $CPPFLAGS'
17010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17013
17014
17015
17016 for ac_header in iostream
17017 do
17018 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17020 echo "$as_me:$LINENO: checking for $ac_header" >&5
17021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 fi
17025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17027 else
17028 # Is the header compilable?
17029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17031 cat >conftest.$ac_ext <<_ACEOF
17032 #line $LINENO "configure"
17033 /* confdefs.h. */
17034 _ACEOF
17035 cat confdefs.h >>conftest.$ac_ext
17036 cat >>conftest.$ac_ext <<_ACEOF
17037 /* end confdefs.h. */
17038 $ac_includes_default
17039 #include <$ac_header>
17040 _ACEOF
17041 rm -f conftest.$ac_objext
17042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17043 (eval $ac_compile) 2>&5
17044 ac_status=$?
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try='test -s conftest.$ac_objext'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17050 ac_status=$?
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; }; then
17053 ac_header_compiler=yes
17054 else
17055 echo "$as_me: failed program was:" >&5
17056 sed 's/^/| /' conftest.$ac_ext >&5
17057
17058 ac_header_compiler=no
17059 fi
17060 rm -f conftest.$ac_objext conftest.$ac_ext
17061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17062 echo "${ECHO_T}$ac_header_compiler" >&6
17063
17064 # Is the header present?
17065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17067 cat >conftest.$ac_ext <<_ACEOF
17068 #line $LINENO "configure"
17069 /* confdefs.h. */
17070 _ACEOF
17071 cat confdefs.h >>conftest.$ac_ext
17072 cat >>conftest.$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17074 #include <$ac_header>
17075 _ACEOF
17076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17078 ac_status=$?
17079 grep -v '^ *+' conftest.er1 >conftest.err
17080 rm -f conftest.er1
17081 cat conftest.err >&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } >/dev/null; then
17084 if test -s conftest.err; then
17085 ac_cpp_err=$ac_cxx_preproc_warn_flag
17086 else
17087 ac_cpp_err=
17088 fi
17089 else
17090 ac_cpp_err=yes
17091 fi
17092 if test -z "$ac_cpp_err"; then
17093 ac_header_preproc=yes
17094 else
17095 echo "$as_me: failed program was:" >&5
17096 sed 's/^/| /' conftest.$ac_ext >&5
17097
17098 ac_header_preproc=no
17099 fi
17100 rm -f conftest.err conftest.$ac_ext
17101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17102 echo "${ECHO_T}$ac_header_preproc" >&6
17103
17104 # So? What about this header?
17105 case $ac_header_compiler:$ac_header_preproc in
17106 yes:no )
17107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17111 (
17112 cat <<\_ASBOX
17113 ## ------------------------------------ ##
17114 ## Report this to bug-autoconf@gnu.org. ##
17115 ## ------------------------------------ ##
17116 _ASBOX
17117 ) |
17118 sed "s/^/$as_me: WARNING: /" >&2
17119 ;;
17120 no:yes )
17121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17122 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17124 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17126 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17127 (
17128 cat <<\_ASBOX
17129 ## ------------------------------------ ##
17130 ## Report this to bug-autoconf@gnu.org. ##
17131 ## ------------------------------------ ##
17132 _ASBOX
17133 ) |
17134 sed "s/^/$as_me: WARNING: /" >&2
17135 ;;
17136 esac
17137 echo "$as_me:$LINENO: checking for $ac_header" >&5
17138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17140 echo $ECHO_N "(cached) $ECHO_C" >&6
17141 else
17142 eval "$as_ac_Header=$ac_header_preproc"
17143 fi
17144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17146
17147 fi
17148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17149 cat >>confdefs.h <<_ACEOF
17150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17151 _ACEOF
17152
17153 fi
17154
17155 done
17156
17157
17158 if test "$ac_cv_header_iostream" = "yes" ; then
17159 :
17160 else
17161 cat >>confdefs.h <<\_ACEOF
17162 #define wxUSE_IOSTREAMH 1
17163 _ACEOF
17164
17165 fi
17166
17167 ac_ext=c
17168 ac_cpp='$CPP $CPPFLAGS'
17169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17172
17173 fi
17174
17175
17176
17177 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17178 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17179 if test "${wx_cv_cpp_bool+set}" = set; then
17180 echo $ECHO_N "(cached) $ECHO_C" >&6
17181 else
17182
17183
17184
17185 ac_ext=cc
17186 ac_cpp='$CXXCPP $CPPFLAGS'
17187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17190
17191
17192 cat >conftest.$ac_ext <<_ACEOF
17193 #line $LINENO "configure"
17194 /* confdefs.h. */
17195 _ACEOF
17196 cat confdefs.h >>conftest.$ac_ext
17197 cat >>conftest.$ac_ext <<_ACEOF
17198 /* end confdefs.h. */
17199
17200
17201 int
17202 main ()
17203 {
17204
17205 bool b = true;
17206
17207 return 0;
17208
17209 ;
17210 return 0;
17211 }
17212 _ACEOF
17213 rm -f conftest.$ac_objext
17214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17215 (eval $ac_compile) 2>&5
17216 ac_status=$?
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); } &&
17219 { ac_try='test -s conftest.$ac_objext'
17220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221 (eval $ac_try) 2>&5
17222 ac_status=$?
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; }; then
17225
17226 wx_cv_cpp_bool=yes
17227
17228 else
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.$ac_ext >&5
17231
17232
17233 wx_cv_cpp_bool=no
17234
17235
17236 fi
17237 rm -f conftest.$ac_objext conftest.$ac_ext
17238
17239 ac_ext=c
17240 ac_cpp='$CPP $CPPFLAGS'
17241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17244
17245
17246 fi
17247 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17248 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17249
17250 if test "$wx_cv_cpp_bool" = "yes"; then
17251 cat >>confdefs.h <<\_ACEOF
17252 #define HAVE_BOOL 1
17253 _ACEOF
17254
17255 fi
17256
17257
17258
17259 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17260 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17261 if test "${wx_cv_explicit+set}" = set; then
17262 echo $ECHO_N "(cached) $ECHO_C" >&6
17263 else
17264
17265
17266
17267 ac_ext=cc
17268 ac_cpp='$CXXCPP $CPPFLAGS'
17269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17272
17273
17274 cat >conftest.$ac_ext <<_ACEOF
17275 #line $LINENO "configure"
17276 /* confdefs.h. */
17277 _ACEOF
17278 cat confdefs.h >>conftest.$ac_ext
17279 cat >>conftest.$ac_ext <<_ACEOF
17280 /* end confdefs.h. */
17281
17282 class Foo { public: explicit Foo(int) {} };
17283
17284 int
17285 main ()
17286 {
17287
17288 return 0;
17289
17290 ;
17291 return 0;
17292 }
17293 _ACEOF
17294 rm -f conftest.$ac_objext
17295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17296 (eval $ac_compile) 2>&5
17297 ac_status=$?
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); } &&
17300 { ac_try='test -s conftest.$ac_objext'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17303 ac_status=$?
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; }; then
17306
17307 cat >conftest.$ac_ext <<_ACEOF
17308 #line $LINENO "configure"
17309 /* confdefs.h. */
17310 _ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17314
17315 class Foo { public: explicit Foo(int) {} };
17316 static void TakeFoo(const Foo& foo) { }
17317
17318 int
17319 main ()
17320 {
17321
17322 TakeFoo(17);
17323 return 0;
17324
17325 ;
17326 return 0;
17327 }
17328 _ACEOF
17329 rm -f conftest.$ac_objext
17330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17331 (eval $ac_compile) 2>&5
17332 ac_status=$?
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); } &&
17335 { ac_try='test -s conftest.$ac_objext'
17336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17337 (eval $ac_try) 2>&5
17338 ac_status=$?
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); }; }; then
17341 wx_cv_explicit=no
17342 else
17343 echo "$as_me: failed program was:" >&5
17344 sed 's/^/| /' conftest.$ac_ext >&5
17345
17346 wx_cv_explicit=yes
17347
17348 fi
17349 rm -f conftest.$ac_objext conftest.$ac_ext
17350
17351 else
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17354
17355 wx_cv_explicit=no
17356
17357 fi
17358 rm -f conftest.$ac_objext conftest.$ac_ext
17359
17360 ac_ext=c
17361 ac_cpp='$CPP $CPPFLAGS'
17362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17365
17366
17367 fi
17368 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17369 echo "${ECHO_T}$wx_cv_explicit" >&6
17370
17371 if test "$wx_cv_explicit" = "yes"; then
17372 cat >>confdefs.h <<\_ACEOF
17373 #define HAVE_EXPLICIT 1
17374 _ACEOF
17375
17376 fi
17377
17378
17379 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17380 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17381 if test "${ac_cv_cxx_const_cast+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17383 else
17384
17385
17386 ac_ext=cc
17387 ac_cpp='$CXXCPP $CPPFLAGS'
17388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17391
17392 cat >conftest.$ac_ext <<_ACEOF
17393 #line $LINENO "configure"
17394 /* confdefs.h. */
17395 _ACEOF
17396 cat confdefs.h >>conftest.$ac_ext
17397 cat >>conftest.$ac_ext <<_ACEOF
17398 /* end confdefs.h. */
17399
17400 int
17401 main ()
17402 {
17403 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17404 ;
17405 return 0;
17406 }
17407 _ACEOF
17408 rm -f conftest.$ac_objext
17409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17410 (eval $ac_compile) 2>&5
17411 ac_status=$?
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); } &&
17414 { ac_try='test -s conftest.$ac_objext'
17415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17416 (eval $ac_try) 2>&5
17417 ac_status=$?
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); }; }; then
17420 ac_cv_cxx_const_cast=yes
17421 else
17422 echo "$as_me: failed program was:" >&5
17423 sed 's/^/| /' conftest.$ac_ext >&5
17424
17425 ac_cv_cxx_const_cast=no
17426 fi
17427 rm -f conftest.$ac_objext conftest.$ac_ext
17428 ac_ext=c
17429 ac_cpp='$CPP $CPPFLAGS'
17430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17433
17434
17435 fi
17436 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17437 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17438 if test "$ac_cv_cxx_const_cast" = yes; then
17439
17440 cat >>confdefs.h <<\_ACEOF
17441 #define HAVE_CONST_CAST
17442 _ACEOF
17443
17444 fi
17445
17446
17447 if test "$wxUSE_STL" = "yes"; then
17448 ac_ext=cc
17449 ac_cpp='$CXXCPP $CPPFLAGS'
17450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17453
17454
17455 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17456 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17457 cat >conftest.$ac_ext <<_ACEOF
17458 #line $LINENO "configure"
17459 /* confdefs.h. */
17460 _ACEOF
17461 cat confdefs.h >>conftest.$ac_ext
17462 cat >>conftest.$ac_ext <<_ACEOF
17463 /* end confdefs.h. */
17464 #include <string>
17465 #include <functional>
17466 #include <algorithm>
17467 #include <vector>
17468 #include <list>
17469 int
17470 main ()
17471 {
17472 std::vector<int> moo;
17473 std::list<int> foo;
17474 std::vector<int>::iterator it =
17475 std::find_if(moo.begin(), moo.end(),
17476 std::bind2nd(std::less<int>(), 3));
17477 ;
17478 return 0;
17479 }
17480 _ACEOF
17481 rm -f conftest.$ac_objext
17482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17483 (eval $ac_compile) 2>&5
17484 ac_status=$?
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); } &&
17487 { ac_try='test -s conftest.$ac_objext'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; }; then
17493 echo "$as_me:$LINENO: result: yes" >&5
17494 echo "${ECHO_T}yes" >&6
17495 else
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.$ac_ext >&5
17498
17499 echo "$as_me:$LINENO: result: no" >&5
17500 echo "${ECHO_T}no" >&6
17501 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17502 echo "$as_me: error: Basic STL functionality missing" >&2;}
17503 { (exit 1); exit 1; }; }
17504 fi
17505 rm -f conftest.$ac_objext conftest.$ac_ext
17506
17507 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17508 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17509 cat >conftest.$ac_ext <<_ACEOF
17510 #line $LINENO "configure"
17511 /* confdefs.h. */
17512 _ACEOF
17513 cat confdefs.h >>conftest.$ac_ext
17514 cat >>conftest.$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516 #include <string>
17517 int
17518 main ()
17519 {
17520 std::wstring foo;
17521 ;
17522 return 0;
17523 }
17524 _ACEOF
17525 rm -f conftest.$ac_objext
17526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17527 (eval $ac_compile) 2>&5
17528 ac_status=$?
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); } &&
17531 { ac_try='test -s conftest.$ac_objext'
17532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17533 (eval $ac_try) 2>&5
17534 ac_status=$?
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }; }; then
17537 echo "$as_me:$LINENO: result: yes" >&5
17538 echo "${ECHO_T}yes" >&6
17539 cat >>confdefs.h <<\_ACEOF
17540 #define HAVE_STD_WSTRING 1
17541 _ACEOF
17542
17543 else
17544 echo "$as_me: failed program was:" >&5
17545 sed 's/^/| /' conftest.$ac_ext >&5
17546
17547 echo "$as_me:$LINENO: result: no" >&5
17548 echo "${ECHO_T}no" >&6
17549 fi
17550 rm -f conftest.$ac_objext conftest.$ac_ext
17551
17552 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17553 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17554 cat >conftest.$ac_ext <<_ACEOF
17555 #line $LINENO "configure"
17556 /* confdefs.h. */
17557 _ACEOF
17558 cat confdefs.h >>conftest.$ac_ext
17559 cat >>conftest.$ac_ext <<_ACEOF
17560 /* end confdefs.h. */
17561 #include <string>
17562 int
17563 main ()
17564 {
17565 std::string foo, bar;
17566 foo.compare(bar);
17567 foo.compare(1, 1, bar);
17568 foo.compare(1, 1, bar, 1, 1);
17569 foo.compare("");
17570 foo.compare(1, 1, "");
17571 foo.compare(1, 1, "", 2);
17572 ;
17573 return 0;
17574 }
17575 _ACEOF
17576 rm -f conftest.$ac_objext
17577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17578 (eval $ac_compile) 2>&5
17579 ac_status=$?
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } &&
17582 { ac_try='test -s conftest.$ac_objext'
17583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17584 (eval $ac_try) 2>&5
17585 ac_status=$?
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); }; }; then
17588 echo "$as_me:$LINENO: result: yes" >&5
17589 echo "${ECHO_T}yes" >&6
17590 cat >>confdefs.h <<\_ACEOF
17591 #define HAVE_STD_STRING_COMPARE 1
17592 _ACEOF
17593
17594 else
17595 echo "$as_me: failed program was:" >&5
17596 sed 's/^/| /' conftest.$ac_ext >&5
17597
17598 echo "$as_me:$LINENO: result: no" >&5
17599 echo "${ECHO_T}no" >&6
17600 fi
17601 rm -f conftest.$ac_objext conftest.$ac_ext
17602
17603 ac_ext=c
17604 ac_cpp='$CPP $CPPFLAGS'
17605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17608
17609 fi
17610
17611
17612 SEARCH_INCLUDE="\
17613 /usr/local/include \
17614 \
17615 /usr/Motif-1.2/include \
17616 /usr/Motif-2.1/include \
17617 \
17618 /usr/include/Motif1.2 \
17619 /opt/xpm/include/X11 \
17620 /opt/GBxpm/include/ \
17621 /opt/GBxpm/X11/include/ \
17622 \
17623 /usr/Motif1.2/include \
17624 /usr/dt/include \
17625 /usr/openwin/include \
17626 \
17627 /usr/include/Xm \
17628 \
17629 /usr/X11R6/include \
17630 /usr/X11R6.4/include \
17631 /usr/X11R5/include \
17632 /usr/X11R4/include \
17633 \
17634 /usr/include/X11R6 \
17635 /usr/include/X11R5 \
17636 /usr/include/X11R4 \
17637 \
17638 /usr/local/X11R6/include \
17639 /usr/local/X11R5/include \
17640 /usr/local/X11R4/include \
17641 \
17642 /usr/local/include/X11R6 \
17643 /usr/local/include/X11R5 \
17644 /usr/local/include/X11R4 \
17645 \
17646 /usr/X11/include \
17647 /usr/include/X11 \
17648 /usr/local/X11/include \
17649 /usr/local/include/X11 \
17650 \
17651 /usr/X386/include \
17652 /usr/x386/include \
17653 /usr/XFree86/include/X11 \
17654 \
17655 X:/XFree86/include \
17656 X:/XFree86/include/X11 \
17657 \
17658 /usr/include/gtk \
17659 /usr/local/include/gtk \
17660 /usr/include/glib \
17661 /usr/local/include/glib \
17662 \
17663 /usr/include/qt \
17664 /usr/local/include/qt \
17665 \
17666 /usr/include/windows \
17667 /usr/include/wine \
17668 /usr/local/include/wine \
17669 \
17670 /usr/unsupported/include \
17671 /usr/athena/include \
17672 /usr/local/x11r5/include \
17673 /usr/lpp/Xamples/include \
17674 \
17675 /usr/openwin/share/include"
17676
17677 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17678
17679
17680 cat >confcache <<\_ACEOF
17681 # This file is a shell script that caches the results of configure
17682 # tests run on this system so they can be shared between configure
17683 # scripts and configure runs, see configure's option --config-cache.
17684 # It is not useful on other systems. If it contains results you don't
17685 # want to keep, you may remove or edit it.
17686 #
17687 # config.status only pays attention to the cache file if you give it
17688 # the --recheck option to rerun configure.
17689 #
17690 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17691 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17692 # following values.
17693
17694 _ACEOF
17695
17696 # The following way of writing the cache mishandles newlines in values,
17697 # but we know of no workaround that is simple, portable, and efficient.
17698 # So, don't put newlines in cache variables' values.
17699 # Ultrix sh set writes to stderr and can't be redirected directly,
17700 # and sets the high bit in the cache file unless we assign to the vars.
17701 {
17702 (set) 2>&1 |
17703 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17704 *ac_space=\ *)
17705 # `set' does not quote correctly, so add quotes (double-quote
17706 # substitution turns \\\\ into \\, and sed turns \\ into \).
17707 sed -n \
17708 "s/'/'\\\\''/g;
17709 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17710 ;;
17711 *)
17712 # `set' quotes correctly as required by POSIX, so do not add quotes.
17713 sed -n \
17714 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17715 ;;
17716 esac;
17717 } |
17718 sed '
17719 t clear
17720 : clear
17721 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17722 t end
17723 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17724 : end' >>confcache
17725 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17726 if test -w $cache_file; then
17727 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17728 cat confcache >$cache_file
17729 else
17730 echo "not updating unwritable cache $cache_file"
17731 fi
17732 fi
17733 rm -f confcache
17734
17735 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17736 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17737 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17738 if test "${wx_cv_lib_glibc21+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 else
17741
17742 cat >conftest.$ac_ext <<_ACEOF
17743 #line $LINENO "configure"
17744 /* confdefs.h. */
17745 _ACEOF
17746 cat confdefs.h >>conftest.$ac_ext
17747 cat >>conftest.$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17749 #include <features.h>
17750 int
17751 main ()
17752 {
17753
17754 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17755 #error not glibc2.1
17756 #endif
17757
17758 ;
17759 return 0;
17760 }
17761 _ACEOF
17762 rm -f conftest.$ac_objext
17763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17764 (eval $ac_compile) 2>&5
17765 ac_status=$?
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } &&
17768 { ac_try='test -s conftest.$ac_objext'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17771 ac_status=$?
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; }; then
17774
17775 wx_cv_lib_glibc21=yes
17776
17777 else
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.$ac_ext >&5
17780
17781
17782 wx_cv_lib_glibc21=no
17783
17784
17785 fi
17786 rm -f conftest.$ac_objext conftest.$ac_ext
17787
17788 fi
17789 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17790 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17791 if test "$wx_cv_lib_glibc21" = "yes"; then
17792 cat >>confdefs.h <<\_ACEOF
17793 #define wxHAVE_GLIBC2 1
17794 _ACEOF
17795
17796 fi
17797 fi
17798
17799 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17800 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17801 cat >>confdefs.h <<\_ACEOF
17802 #define _GNU_SOURCE 1
17803 _ACEOF
17804
17805 fi
17806 fi
17807
17808
17809
17810 REGEX_INCLUDE=
17811 if test "$wxUSE_REGEX" != "no"; then
17812 cat >>confdefs.h <<\_ACEOF
17813 #define wxUSE_REGEX 1
17814 _ACEOF
17815
17816
17817 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17818 if test "${ac_cv_header_regex_h+set}" = set; then
17819 echo "$as_me:$LINENO: checking for regex.h" >&5
17820 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17821 if test "${ac_cv_header_regex_h+set}" = set; then
17822 echo $ECHO_N "(cached) $ECHO_C" >&6
17823 fi
17824 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17825 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17826 else
17827 # Is the header compilable?
17828 echo "$as_me:$LINENO: checking regex.h usability" >&5
17829 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17830 cat >conftest.$ac_ext <<_ACEOF
17831 #line $LINENO "configure"
17832 /* confdefs.h. */
17833 _ACEOF
17834 cat confdefs.h >>conftest.$ac_ext
17835 cat >>conftest.$ac_ext <<_ACEOF
17836 /* end confdefs.h. */
17837 $ac_includes_default
17838 #include <regex.h>
17839 _ACEOF
17840 rm -f conftest.$ac_objext
17841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17842 (eval $ac_compile) 2>&5
17843 ac_status=$?
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } &&
17846 { ac_try='test -s conftest.$ac_objext'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; }; then
17852 ac_header_compiler=yes
17853 else
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.$ac_ext >&5
17856
17857 ac_header_compiler=no
17858 fi
17859 rm -f conftest.$ac_objext conftest.$ac_ext
17860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17861 echo "${ECHO_T}$ac_header_compiler" >&6
17862
17863 # Is the header present?
17864 echo "$as_me:$LINENO: checking regex.h presence" >&5
17865 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17866 cat >conftest.$ac_ext <<_ACEOF
17867 #line $LINENO "configure"
17868 /* confdefs.h. */
17869 _ACEOF
17870 cat confdefs.h >>conftest.$ac_ext
17871 cat >>conftest.$ac_ext <<_ACEOF
17872 /* end confdefs.h. */
17873 #include <regex.h>
17874 _ACEOF
17875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17877 ac_status=$?
17878 grep -v '^ *+' conftest.er1 >conftest.err
17879 rm -f conftest.er1
17880 cat conftest.err >&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } >/dev/null; then
17883 if test -s conftest.err; then
17884 ac_cpp_err=$ac_c_preproc_warn_flag
17885 else
17886 ac_cpp_err=
17887 fi
17888 else
17889 ac_cpp_err=yes
17890 fi
17891 if test -z "$ac_cpp_err"; then
17892 ac_header_preproc=yes
17893 else
17894 echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.$ac_ext >&5
17896
17897 ac_header_preproc=no
17898 fi
17899 rm -f conftest.err conftest.$ac_ext
17900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17901 echo "${ECHO_T}$ac_header_preproc" >&6
17902
17903 # So? What about this header?
17904 case $ac_header_compiler:$ac_header_preproc in
17905 yes:no )
17906 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17907 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17908 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17909 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17910 (
17911 cat <<\_ASBOX
17912 ## ------------------------------------ ##
17913 ## Report this to bug-autoconf@gnu.org. ##
17914 ## ------------------------------------ ##
17915 _ASBOX
17916 ) |
17917 sed "s/^/$as_me: WARNING: /" >&2
17918 ;;
17919 no:yes )
17920 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17921 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17922 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17923 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17924 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17925 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17926 (
17927 cat <<\_ASBOX
17928 ## ------------------------------------ ##
17929 ## Report this to bug-autoconf@gnu.org. ##
17930 ## ------------------------------------ ##
17931 _ASBOX
17932 ) |
17933 sed "s/^/$as_me: WARNING: /" >&2
17934 ;;
17935 esac
17936 echo "$as_me:$LINENO: checking for regex.h" >&5
17937 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17938 if test "${ac_cv_header_regex_h+set}" = set; then
17939 echo $ECHO_N "(cached) $ECHO_C" >&6
17940 else
17941 ac_cv_header_regex_h=$ac_header_preproc
17942 fi
17943 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17944 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17945
17946 fi
17947 if test $ac_cv_header_regex_h = yes; then
17948
17949 for ac_func in regcomp
17950 do
17951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17952 echo "$as_me:$LINENO: checking for $ac_func" >&5
17953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17954 if eval "test \"\${$as_ac_var+set}\" = set"; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17956 else
17957 cat >conftest.$ac_ext <<_ACEOF
17958 #line $LINENO "configure"
17959 /* confdefs.h. */
17960 _ACEOF
17961 cat confdefs.h >>conftest.$ac_ext
17962 cat >>conftest.$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 /* System header to define __stub macros and hopefully few prototypes,
17965 which can conflict with char $ac_func (); below.
17966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17967 <limits.h> exists even on freestanding compilers. */
17968 #ifdef __STDC__
17969 # include <limits.h>
17970 #else
17971 # include <assert.h>
17972 #endif
17973 /* Override any gcc2 internal prototype to avoid an error. */
17974 #ifdef __cplusplus
17975 extern "C"
17976 {
17977 #endif
17978 /* We use char because int might match the return type of a gcc2
17979 builtin and then its argument prototype would still apply. */
17980 char $ac_func ();
17981 /* The GNU C library defines this for functions which it implements
17982 to always fail with ENOSYS. Some functions are actually named
17983 something starting with __ and the normal name is an alias. */
17984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17985 choke me
17986 #else
17987 char (*f) () = $ac_func;
17988 #endif
17989 #ifdef __cplusplus
17990 }
17991 #endif
17992
17993 int
17994 main ()
17995 {
17996 return f != $ac_func;
17997 ;
17998 return 0;
17999 }
18000 _ACEOF
18001 rm -f conftest.$ac_objext conftest$ac_exeext
18002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18003 (eval $ac_link) 2>&5
18004 ac_status=$?
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } &&
18007 { ac_try='test -s conftest$ac_exeext'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18010 ac_status=$?
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; }; then
18013 eval "$as_ac_var=yes"
18014 else
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.$ac_ext >&5
18017
18018 eval "$as_ac_var=no"
18019 fi
18020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18021 fi
18022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18024 if test `eval echo '${'$as_ac_var'}'` = yes; then
18025 cat >>confdefs.h <<_ACEOF
18026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18027 _ACEOF
18028
18029 fi
18030 done
18031
18032 fi
18033
18034
18035
18036 if test "x$ac_cv_func_regcomp" != "xyes"; then
18037 if test "$wxUSE_REGEX" = "sys" ; then
18038 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18039 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18040 { (exit 1); exit 1; }; }
18041 else
18042 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18043 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18044 wxUSE_REGEX=builtin
18045 fi
18046 else
18047 wxUSE_REGEX=sys
18048 fi
18049 fi
18050
18051 if test "$wxUSE_REGEX" = "builtin" ; then
18052 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18053 fi
18054 fi
18055
18056
18057 ZLIB_INCLUDE=
18058 ZLIB_LINK=
18059 if test "$wxUSE_ZLIB" != "no" ; then
18060 cat >>confdefs.h <<\_ACEOF
18061 #define wxUSE_ZLIB 1
18062 _ACEOF
18063
18064
18065 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18066 if test "$USE_DARWIN" = 1; then
18067 system_zlib_h_ok="yes"
18068 else
18069 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18070 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18071 if test "${ac_cv_header_zlib_h+set}" = set; then
18072 echo $ECHO_N "(cached) $ECHO_C" >&6
18073 else
18074 if test "$cross_compiling" = yes; then
18075 unset ac_cv_header_zlib_h
18076
18077 else
18078 cat >conftest.$ac_ext <<_ACEOF
18079 #line $LINENO "configure"
18080 /* confdefs.h. */
18081 _ACEOF
18082 cat confdefs.h >>conftest.$ac_ext
18083 cat >>conftest.$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085
18086 #include <zlib.h>
18087 #include <stdio.h>
18088
18089 int main()
18090 {
18091 FILE *f=fopen("conftestval", "w");
18092 if (!f) exit(1);
18093 fprintf(f, "%s",
18094 ZLIB_VERSION[0] == '1' &&
18095 (ZLIB_VERSION[2] > '1' ||
18096 (ZLIB_VERSION[2] == '1' &&
18097 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18098 exit(0);
18099 }
18100
18101 _ACEOF
18102 rm -f conftest$ac_exeext
18103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18104 (eval $ac_link) 2>&5
18105 ac_status=$?
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18110 ac_status=$?
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; }; then
18113 ac_cv_header_zlib_h=`cat conftestval`
18114 else
18115 echo "$as_me: program exited with status $ac_status" >&5
18116 echo "$as_me: failed program was:" >&5
18117 sed 's/^/| /' conftest.$ac_ext >&5
18118
18119 ( exit $ac_status )
18120 ac_cv_header_zlib_h=no
18121 fi
18122 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18123 fi
18124
18125 fi
18126 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18127 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18128 if test "${ac_cv_header_zlib_h+set}" = set; then
18129 echo "$as_me:$LINENO: checking for zlib.h" >&5
18130 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18131 if test "${ac_cv_header_zlib_h+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 fi
18134 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18135 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18136 else
18137 # Is the header compilable?
18138 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18139 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18140 cat >conftest.$ac_ext <<_ACEOF
18141 #line $LINENO "configure"
18142 /* confdefs.h. */
18143 _ACEOF
18144 cat confdefs.h >>conftest.$ac_ext
18145 cat >>conftest.$ac_ext <<_ACEOF
18146 /* end confdefs.h. */
18147 $ac_includes_default
18148 #include <zlib.h>
18149 _ACEOF
18150 rm -f conftest.$ac_objext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>&5
18153 ac_status=$?
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } &&
18156 { ac_try='test -s conftest.$ac_objext'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18159 ac_status=$?
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; }; then
18162 ac_header_compiler=yes
18163 else
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.$ac_ext >&5
18166
18167 ac_header_compiler=no
18168 fi
18169 rm -f conftest.$ac_objext conftest.$ac_ext
18170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18171 echo "${ECHO_T}$ac_header_compiler" >&6
18172
18173 # Is the header present?
18174 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18175 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18176 cat >conftest.$ac_ext <<_ACEOF
18177 #line $LINENO "configure"
18178 /* confdefs.h. */
18179 _ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183 #include <zlib.h>
18184 _ACEOF
18185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18187 ac_status=$?
18188 grep -v '^ *+' conftest.er1 >conftest.err
18189 rm -f conftest.er1
18190 cat conftest.err >&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } >/dev/null; then
18193 if test -s conftest.err; then
18194 ac_cpp_err=$ac_c_preproc_warn_flag
18195 else
18196 ac_cpp_err=
18197 fi
18198 else
18199 ac_cpp_err=yes
18200 fi
18201 if test -z "$ac_cpp_err"; then
18202 ac_header_preproc=yes
18203 else
18204 echo "$as_me: failed program was:" >&5
18205 sed 's/^/| /' conftest.$ac_ext >&5
18206
18207 ac_header_preproc=no
18208 fi
18209 rm -f conftest.err conftest.$ac_ext
18210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18211 echo "${ECHO_T}$ac_header_preproc" >&6
18212
18213 # So? What about this header?
18214 case $ac_header_compiler:$ac_header_preproc in
18215 yes:no )
18216 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18217 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18218 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18219 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18220 (
18221 cat <<\_ASBOX
18222 ## ------------------------------------ ##
18223 ## Report this to bug-autoconf@gnu.org. ##
18224 ## ------------------------------------ ##
18225 _ASBOX
18226 ) |
18227 sed "s/^/$as_me: WARNING: /" >&2
18228 ;;
18229 no:yes )
18230 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18231 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18232 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18233 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18234 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18235 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18236 (
18237 cat <<\_ASBOX
18238 ## ------------------------------------ ##
18239 ## Report this to bug-autoconf@gnu.org. ##
18240 ## ------------------------------------ ##
18241 _ASBOX
18242 ) |
18243 sed "s/^/$as_me: WARNING: /" >&2
18244 ;;
18245 esac
18246 echo "$as_me:$LINENO: checking for zlib.h" >&5
18247 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18248 if test "${ac_cv_header_zlib_h+set}" = set; then
18249 echo $ECHO_N "(cached) $ECHO_C" >&6
18250 else
18251 ac_cv_header_zlib_h=$ac_header_preproc
18252 fi
18253 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18254 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18255
18256 fi
18257
18258
18259
18260 system_zlib_h_ok=$ac_cv_header_zlib_h
18261 fi
18262
18263 if test "$system_zlib_h_ok" = "yes"; then
18264 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18265 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18266 if test "${ac_cv_lib_z_deflate+set}" = set; then
18267 echo $ECHO_N "(cached) $ECHO_C" >&6
18268 else
18269 ac_check_lib_save_LIBS=$LIBS
18270 LIBS="-lz $LIBS"
18271 cat >conftest.$ac_ext <<_ACEOF
18272 #line $LINENO "configure"
18273 /* confdefs.h. */
18274 _ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18278
18279 /* Override any gcc2 internal prototype to avoid an error. */
18280 #ifdef __cplusplus
18281 extern "C"
18282 #endif
18283 /* We use char because int might match the return type of a gcc2
18284 builtin and then its argument prototype would still apply. */
18285 char deflate ();
18286 int
18287 main ()
18288 {
18289 deflate ();
18290 ;
18291 return 0;
18292 }
18293 _ACEOF
18294 rm -f conftest.$ac_objext conftest$ac_exeext
18295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18296 (eval $ac_link) 2>&5
18297 ac_status=$?
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); } &&
18300 { ac_try='test -s conftest$ac_exeext'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18303 ac_status=$?
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; }; then
18306 ac_cv_lib_z_deflate=yes
18307 else
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.$ac_ext >&5
18310
18311 ac_cv_lib_z_deflate=no
18312 fi
18313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18314 LIBS=$ac_check_lib_save_LIBS
18315 fi
18316 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18317 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18318 if test $ac_cv_lib_z_deflate = yes; then
18319 ZLIB_LINK=" -lz"
18320 fi
18321
18322 fi
18323
18324 if test "x$ZLIB_LINK" = "x" ; then
18325 if test "$wxUSE_ZLIB" = "sys" ; then
18326 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18327 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18328 { (exit 1); exit 1; }; }
18329 else
18330 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18331 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18332 wxUSE_ZLIB=builtin
18333 fi
18334 else
18335 wxUSE_ZLIB=sys
18336 fi
18337 fi
18338
18339 if test "$wxUSE_ZLIB" = "builtin" ; then
18340 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18341 fi
18342 fi
18343
18344
18345 PNG_INCLUDE=
18346 PNG_LINK=
18347 if test "$wxUSE_LIBPNG" != "no" ; then
18348 cat >>confdefs.h <<\_ACEOF
18349 #define wxUSE_LIBPNG 1
18350 _ACEOF
18351
18352
18353 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18354 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18355 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18356 wxUSE_LIBPNG=sys
18357 fi
18358
18359 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18360 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18361 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18362 wxUSE_LIBPNG=builtin
18363 fi
18364
18365 if test "$wxUSE_MGL" != 1 ; then
18366 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18367 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18368 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18369 if test "${ac_cv_header_png_h+set}" = set; then
18370 echo $ECHO_N "(cached) $ECHO_C" >&6
18371 else
18372 if test "$cross_compiling" = yes; then
18373 unset ac_cv_header_png_h
18374
18375 else
18376 cat >conftest.$ac_ext <<_ACEOF
18377 #line $LINENO "configure"
18378 /* confdefs.h. */
18379 _ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383
18384 #include <png.h>
18385 #include <stdio.h>
18386
18387 int main()
18388 {
18389 FILE *f=fopen("conftestval", "w");
18390 if (!f) exit(1);
18391 fprintf(f, "%s",
18392 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18393 exit(0);
18394 }
18395
18396 _ACEOF
18397 rm -f conftest$ac_exeext
18398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18399 (eval $ac_link) 2>&5
18400 ac_status=$?
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18404 (eval $ac_try) 2>&5
18405 ac_status=$?
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); }; }; then
18408 ac_cv_header_png_h=`cat conftestval`
18409 else
18410 echo "$as_me: program exited with status $ac_status" >&5
18411 echo "$as_me: failed program was:" >&5
18412 sed 's/^/| /' conftest.$ac_ext >&5
18413
18414 ( exit $ac_status )
18415 ac_cv_header_png_h=no
18416 fi
18417 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18418 fi
18419
18420 fi
18421 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18422 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18423 if test "${ac_cv_header_png_h+set}" = set; then
18424 echo "$as_me:$LINENO: checking for png.h" >&5
18425 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18426 if test "${ac_cv_header_png_h+set}" = set; then
18427 echo $ECHO_N "(cached) $ECHO_C" >&6
18428 fi
18429 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18430 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18431 else
18432 # Is the header compilable?
18433 echo "$as_me:$LINENO: checking png.h usability" >&5
18434 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18435 cat >conftest.$ac_ext <<_ACEOF
18436 #line $LINENO "configure"
18437 /* confdefs.h. */
18438 _ACEOF
18439 cat confdefs.h >>conftest.$ac_ext
18440 cat >>conftest.$ac_ext <<_ACEOF
18441 /* end confdefs.h. */
18442 $ac_includes_default
18443 #include <png.h>
18444 _ACEOF
18445 rm -f conftest.$ac_objext
18446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18447 (eval $ac_compile) 2>&5
18448 ac_status=$?
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } &&
18451 { ac_try='test -s conftest.$ac_objext'
18452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18453 (eval $ac_try) 2>&5
18454 ac_status=$?
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); }; }; then
18457 ac_header_compiler=yes
18458 else
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.$ac_ext >&5
18461
18462 ac_header_compiler=no
18463 fi
18464 rm -f conftest.$ac_objext conftest.$ac_ext
18465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18466 echo "${ECHO_T}$ac_header_compiler" >&6
18467
18468 # Is the header present?
18469 echo "$as_me:$LINENO: checking png.h presence" >&5
18470 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18471 cat >conftest.$ac_ext <<_ACEOF
18472 #line $LINENO "configure"
18473 /* confdefs.h. */
18474 _ACEOF
18475 cat confdefs.h >>conftest.$ac_ext
18476 cat >>conftest.$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18478 #include <png.h>
18479 _ACEOF
18480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18481 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } >/dev/null; then
18488 if test -s conftest.err; then
18489 ac_cpp_err=$ac_c_preproc_warn_flag
18490 else
18491 ac_cpp_err=
18492 fi
18493 else
18494 ac_cpp_err=yes
18495 fi
18496 if test -z "$ac_cpp_err"; then
18497 ac_header_preproc=yes
18498 else
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.$ac_ext >&5
18501
18502 ac_header_preproc=no
18503 fi
18504 rm -f conftest.err conftest.$ac_ext
18505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18506 echo "${ECHO_T}$ac_header_preproc" >&6
18507
18508 # So? What about this header?
18509 case $ac_header_compiler:$ac_header_preproc in
18510 yes:no )
18511 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18512 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18513 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18514 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18515 (
18516 cat <<\_ASBOX
18517 ## ------------------------------------ ##
18518 ## Report this to bug-autoconf@gnu.org. ##
18519 ## ------------------------------------ ##
18520 _ASBOX
18521 ) |
18522 sed "s/^/$as_me: WARNING: /" >&2
18523 ;;
18524 no:yes )
18525 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18526 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18527 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18528 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18529 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18530 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18531 (
18532 cat <<\_ASBOX
18533 ## ------------------------------------ ##
18534 ## Report this to bug-autoconf@gnu.org. ##
18535 ## ------------------------------------ ##
18536 _ASBOX
18537 ) |
18538 sed "s/^/$as_me: WARNING: /" >&2
18539 ;;
18540 esac
18541 echo "$as_me:$LINENO: checking for png.h" >&5
18542 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18543 if test "${ac_cv_header_png_h+set}" = set; then
18544 echo $ECHO_N "(cached) $ECHO_C" >&6
18545 else
18546 ac_cv_header_png_h=$ac_header_preproc
18547 fi
18548 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18549 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18550
18551 fi
18552
18553
18554
18555 if test "$ac_cv_header_png_h" = "yes"; then
18556 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18557 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18558 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18559 echo $ECHO_N "(cached) $ECHO_C" >&6
18560 else
18561 ac_check_lib_save_LIBS=$LIBS
18562 LIBS="-lpng -lz -lm $LIBS"
18563 cat >conftest.$ac_ext <<_ACEOF
18564 #line $LINENO "configure"
18565 /* confdefs.h. */
18566 _ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570
18571 /* Override any gcc2 internal prototype to avoid an error. */
18572 #ifdef __cplusplus
18573 extern "C"
18574 #endif
18575 /* We use char because int might match the return type of a gcc2
18576 builtin and then its argument prototype would still apply. */
18577 char png_check_sig ();
18578 int
18579 main ()
18580 {
18581 png_check_sig ();
18582 ;
18583 return 0;
18584 }
18585 _ACEOF
18586 rm -f conftest.$ac_objext conftest$ac_exeext
18587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18588 (eval $ac_link) 2>&5
18589 ac_status=$?
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try='test -s conftest$ac_exeext'
18593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18594 (eval $ac_try) 2>&5
18595 ac_status=$?
18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597 (exit $ac_status); }; }; then
18598 ac_cv_lib_png_png_check_sig=yes
18599 else
18600 echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.$ac_ext >&5
18602
18603 ac_cv_lib_png_png_check_sig=no
18604 fi
18605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18606 LIBS=$ac_check_lib_save_LIBS
18607 fi
18608 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18609 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18610 if test $ac_cv_lib_png_png_check_sig = yes; then
18611 PNG_LINK=" -lpng"
18612 fi
18613
18614 fi
18615
18616 if test "x$PNG_LINK" = "x" ; then
18617 if test "$wxUSE_LIBPNG" = "sys" ; then
18618 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18619 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18620 { (exit 1); exit 1; }; }
18621 else
18622 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18623 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18624 wxUSE_LIBPNG=builtin
18625 fi
18626 else
18627 wxUSE_LIBPNG=sys
18628 fi
18629 fi
18630 fi
18631
18632 if test "$wxUSE_LIBPNG" = "builtin" ; then
18633 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18634 fi
18635
18636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18637 fi
18638
18639
18640 JPEG_INCLUDE=
18641 JPEG_LINK=
18642 if test "$wxUSE_LIBJPEG" != "no" ; then
18643 cat >>confdefs.h <<\_ACEOF
18644 #define wxUSE_LIBJPEG 1
18645 _ACEOF
18646
18647
18648 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18649 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18650 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18651 wxUSE_LIBJPEG=sys
18652 fi
18653
18654 if test "$wxUSE_MGL" != 1 ; then
18655 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18656 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18657 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18658 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 cat >conftest.$ac_ext <<_ACEOF
18662 #line $LINENO "configure"
18663 /* confdefs.h. */
18664 _ACEOF
18665 cat confdefs.h >>conftest.$ac_ext
18666 cat >>conftest.$ac_ext <<_ACEOF
18667 /* end confdefs.h. */
18668
18669 #undef HAVE_STDLIB_H
18670 #include <stdio.h>
18671 #include <jpeglib.h>
18672
18673 int
18674 main ()
18675 {
18676
18677
18678 ;
18679 return 0;
18680 }
18681 _ACEOF
18682 rm -f conftest.$ac_objext
18683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18684 (eval $ac_compile) 2>&5
18685 ac_status=$?
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } &&
18688 { ac_try='test -s conftest.$ac_objext'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18691 ac_status=$?
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; }; then
18694 ac_cv_header_jpeglib_h=yes
18695 else
18696 echo "$as_me: failed program was:" >&5
18697 sed 's/^/| /' conftest.$ac_ext >&5
18698
18699 ac_cv_header_jpeglib_h=no
18700
18701 fi
18702 rm -f conftest.$ac_objext conftest.$ac_ext
18703
18704 fi
18705
18706 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18707 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18708
18709 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18710 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18711 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18712 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18714 else
18715 ac_check_lib_save_LIBS=$LIBS
18716 LIBS="-ljpeg $LIBS"
18717 cat >conftest.$ac_ext <<_ACEOF
18718 #line $LINENO "configure"
18719 /* confdefs.h. */
18720 _ACEOF
18721 cat confdefs.h >>conftest.$ac_ext
18722 cat >>conftest.$ac_ext <<_ACEOF
18723 /* end confdefs.h. */
18724
18725 /* Override any gcc2 internal prototype to avoid an error. */
18726 #ifdef __cplusplus
18727 extern "C"
18728 #endif
18729 /* We use char because int might match the return type of a gcc2
18730 builtin and then its argument prototype would still apply. */
18731 char jpeg_read_header ();
18732 int
18733 main ()
18734 {
18735 jpeg_read_header ();
18736 ;
18737 return 0;
18738 }
18739 _ACEOF
18740 rm -f conftest.$ac_objext conftest$ac_exeext
18741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18742 (eval $ac_link) 2>&5
18743 ac_status=$?
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } &&
18746 { ac_try='test -s conftest$ac_exeext'
18747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18748 (eval $ac_try) 2>&5
18749 ac_status=$?
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); }; }; then
18752 ac_cv_lib_jpeg_jpeg_read_header=yes
18753 else
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.$ac_ext >&5
18756
18757 ac_cv_lib_jpeg_jpeg_read_header=no
18758 fi
18759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18760 LIBS=$ac_check_lib_save_LIBS
18761 fi
18762 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18763 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18764 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18765 JPEG_LINK=" -ljpeg"
18766 fi
18767
18768 fi
18769
18770 if test "x$JPEG_LINK" = "x" ; then
18771 if test "$wxUSE_LIBJPEG" = "sys" ; then
18772 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18773 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18774 { (exit 1); exit 1; }; }
18775 else
18776 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18777 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18778 wxUSE_LIBJPEG=builtin
18779 fi
18780 else
18781 wxUSE_LIBJPEG=sys
18782 fi
18783 fi
18784 fi
18785
18786 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18787 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18788 fi
18789 fi
18790
18791
18792 TIFF_INCLUDE=
18793 TIFF_LINK=
18794 TIFF_PREREQ_LINKS=-lm
18795 if test "$wxUSE_LIBTIFF" != "no" ; then
18796 cat >>confdefs.h <<\_ACEOF
18797 #define wxUSE_LIBTIFF 1
18798 _ACEOF
18799
18800
18801 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18802 if test "$wxUSE_LIBJPEG" = "sys"; then
18803 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18804 fi
18805 if test "$wxUSE_ZLIB" = "sys"; then
18806 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18807 fi
18808 if test "${ac_cv_header_tiffio_h+set}" = set; then
18809 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18810 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18811 if test "${ac_cv_header_tiffio_h+set}" = set; then
18812 echo $ECHO_N "(cached) $ECHO_C" >&6
18813 fi
18814 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18815 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18816 else
18817 # Is the header compilable?
18818 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18819 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18820 cat >conftest.$ac_ext <<_ACEOF
18821 #line $LINENO "configure"
18822 /* confdefs.h. */
18823 _ACEOF
18824 cat confdefs.h >>conftest.$ac_ext
18825 cat >>conftest.$ac_ext <<_ACEOF
18826 /* end confdefs.h. */
18827 $ac_includes_default
18828 #include <tiffio.h>
18829 _ACEOF
18830 rm -f conftest.$ac_objext
18831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18832 (eval $ac_compile) 2>&5
18833 ac_status=$?
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); } &&
18836 { ac_try='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18839 ac_status=$?
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_header_compiler=yes
18843 else
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.$ac_ext >&5
18846
18847 ac_header_compiler=no
18848 fi
18849 rm -f conftest.$ac_objext conftest.$ac_ext
18850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18851 echo "${ECHO_T}$ac_header_compiler" >&6
18852
18853 # Is the header present?
18854 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18855 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18856 cat >conftest.$ac_ext <<_ACEOF
18857 #line $LINENO "configure"
18858 /* confdefs.h. */
18859 _ACEOF
18860 cat confdefs.h >>conftest.$ac_ext
18861 cat >>conftest.$ac_ext <<_ACEOF
18862 /* end confdefs.h. */
18863 #include <tiffio.h>
18864 _ACEOF
18865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18867 ac_status=$?
18868 grep -v '^ *+' conftest.er1 >conftest.err
18869 rm -f conftest.er1
18870 cat conftest.err >&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); } >/dev/null; then
18873 if test -s conftest.err; then
18874 ac_cpp_err=$ac_c_preproc_warn_flag
18875 else
18876 ac_cpp_err=
18877 fi
18878 else
18879 ac_cpp_err=yes
18880 fi
18881 if test -z "$ac_cpp_err"; then
18882 ac_header_preproc=yes
18883 else
18884 echo "$as_me: failed program was:" >&5
18885 sed 's/^/| /' conftest.$ac_ext >&5
18886
18887 ac_header_preproc=no
18888 fi
18889 rm -f conftest.err conftest.$ac_ext
18890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18891 echo "${ECHO_T}$ac_header_preproc" >&6
18892
18893 # So? What about this header?
18894 case $ac_header_compiler:$ac_header_preproc in
18895 yes:no )
18896 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18897 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18898 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18899 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18900 (
18901 cat <<\_ASBOX
18902 ## ------------------------------------ ##
18903 ## Report this to bug-autoconf@gnu.org. ##
18904 ## ------------------------------------ ##
18905 _ASBOX
18906 ) |
18907 sed "s/^/$as_me: WARNING: /" >&2
18908 ;;
18909 no:yes )
18910 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18911 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18912 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18913 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18914 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18915 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18916 (
18917 cat <<\_ASBOX
18918 ## ------------------------------------ ##
18919 ## Report this to bug-autoconf@gnu.org. ##
18920 ## ------------------------------------ ##
18921 _ASBOX
18922 ) |
18923 sed "s/^/$as_me: WARNING: /" >&2
18924 ;;
18925 esac
18926 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18927 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18928 if test "${ac_cv_header_tiffio_h+set}" = set; then
18929 echo $ECHO_N "(cached) $ECHO_C" >&6
18930 else
18931 ac_cv_header_tiffio_h=$ac_header_preproc
18932 fi
18933 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18934 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18935
18936 fi
18937 if test $ac_cv_header_tiffio_h = yes; then
18938 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18939 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18940 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 else
18943 ac_check_lib_save_LIBS=$LIBS
18944 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18945 cat >conftest.$ac_ext <<_ACEOF
18946 #line $LINENO "configure"
18947 /* confdefs.h. */
18948 _ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18952
18953 /* Override any gcc2 internal prototype to avoid an error. */
18954 #ifdef __cplusplus
18955 extern "C"
18956 #endif
18957 /* We use char because int might match the return type of a gcc2
18958 builtin and then its argument prototype would still apply. */
18959 char TIFFError ();
18960 int
18961 main ()
18962 {
18963 TIFFError ();
18964 ;
18965 return 0;
18966 }
18967 _ACEOF
18968 rm -f conftest.$ac_objext conftest$ac_exeext
18969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18970 (eval $ac_link) 2>&5
18971 ac_status=$?
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); } &&
18974 { ac_try='test -s conftest$ac_exeext'
18975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18976 (eval $ac_try) 2>&5
18977 ac_status=$?
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); }; }; then
18980 ac_cv_lib_tiff_TIFFError=yes
18981 else
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.$ac_ext >&5
18984
18985 ac_cv_lib_tiff_TIFFError=no
18986 fi
18987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18988 LIBS=$ac_check_lib_save_LIBS
18989 fi
18990 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18991 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18992 if test $ac_cv_lib_tiff_TIFFError = yes; then
18993 TIFF_LINK=" -ltiff"
18994 fi
18995
18996
18997 fi
18998
18999
19000
19001 if test "x$TIFF_LINK" = "x" ; then
19002 if test "$wxUSE_LIBTIFF" = "sys" ; then
19003 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19004 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19005 { (exit 1); exit 1; }; }
19006 else
19007 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19008 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19009 wxUSE_LIBTIFF=builtin
19010 fi
19011 else
19012 wxUSE_LIBTIFF=sys
19013 fi
19014 fi
19015
19016 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19017 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19018 fi
19019 fi
19020
19021
19022 if test "$wxUSE_EXPAT" != "no"; then
19023 wxUSE_XML=yes
19024 cat >>confdefs.h <<\_ACEOF
19025 #define wxUSE_EXPAT 1
19026 _ACEOF
19027
19028 cat >>confdefs.h <<\_ACEOF
19029 #define wxUSE_XML 1
19030 _ACEOF
19031
19032
19033 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19034 if test "${ac_cv_header_expat_h+set}" = set; then
19035 echo "$as_me:$LINENO: checking for expat.h" >&5
19036 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19037 if test "${ac_cv_header_expat_h+set}" = set; then
19038 echo $ECHO_N "(cached) $ECHO_C" >&6
19039 fi
19040 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19041 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19042 else
19043 # Is the header compilable?
19044 echo "$as_me:$LINENO: checking expat.h usability" >&5
19045 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19046 cat >conftest.$ac_ext <<_ACEOF
19047 #line $LINENO "configure"
19048 /* confdefs.h. */
19049 _ACEOF
19050 cat confdefs.h >>conftest.$ac_ext
19051 cat >>conftest.$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19053 $ac_includes_default
19054 #include <expat.h>
19055 _ACEOF
19056 rm -f conftest.$ac_objext
19057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19058 (eval $ac_compile) 2>&5
19059 ac_status=$?
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); } &&
19062 { ac_try='test -s conftest.$ac_objext'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19068 ac_header_compiler=yes
19069 else
19070 echo "$as_me: failed program was:" >&5
19071 sed 's/^/| /' conftest.$ac_ext >&5
19072
19073 ac_header_compiler=no
19074 fi
19075 rm -f conftest.$ac_objext conftest.$ac_ext
19076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19077 echo "${ECHO_T}$ac_header_compiler" >&6
19078
19079 # Is the header present?
19080 echo "$as_me:$LINENO: checking expat.h presence" >&5
19081 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19082 cat >conftest.$ac_ext <<_ACEOF
19083 #line $LINENO "configure"
19084 /* confdefs.h. */
19085 _ACEOF
19086 cat confdefs.h >>conftest.$ac_ext
19087 cat >>conftest.$ac_ext <<_ACEOF
19088 /* end confdefs.h. */
19089 #include <expat.h>
19090 _ACEOF
19091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19093 ac_status=$?
19094 grep -v '^ *+' conftest.er1 >conftest.err
19095 rm -f conftest.er1
19096 cat conftest.err >&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); } >/dev/null; then
19099 if test -s conftest.err; then
19100 ac_cpp_err=$ac_c_preproc_warn_flag
19101 else
19102 ac_cpp_err=
19103 fi
19104 else
19105 ac_cpp_err=yes
19106 fi
19107 if test -z "$ac_cpp_err"; then
19108 ac_header_preproc=yes
19109 else
19110 echo "$as_me: failed program was:" >&5
19111 sed 's/^/| /' conftest.$ac_ext >&5
19112
19113 ac_header_preproc=no
19114 fi
19115 rm -f conftest.err conftest.$ac_ext
19116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19117 echo "${ECHO_T}$ac_header_preproc" >&6
19118
19119 # So? What about this header?
19120 case $ac_header_compiler:$ac_header_preproc in
19121 yes:no )
19122 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19123 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19124 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19125 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19126 (
19127 cat <<\_ASBOX
19128 ## ------------------------------------ ##
19129 ## Report this to bug-autoconf@gnu.org. ##
19130 ## ------------------------------------ ##
19131 _ASBOX
19132 ) |
19133 sed "s/^/$as_me: WARNING: /" >&2
19134 ;;
19135 no:yes )
19136 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19137 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19138 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19139 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19140 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19141 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19142 (
19143 cat <<\_ASBOX
19144 ## ------------------------------------ ##
19145 ## Report this to bug-autoconf@gnu.org. ##
19146 ## ------------------------------------ ##
19147 _ASBOX
19148 ) |
19149 sed "s/^/$as_me: WARNING: /" >&2
19150 ;;
19151 esac
19152 echo "$as_me:$LINENO: checking for expat.h" >&5
19153 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19154 if test "${ac_cv_header_expat_h+set}" = set; then
19155 echo $ECHO_N "(cached) $ECHO_C" >&6
19156 else
19157 ac_cv_header_expat_h=$ac_header_preproc
19158 fi
19159 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19160 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19161
19162 fi
19163 if test $ac_cv_header_expat_h = yes; then
19164 found_expat_h=1
19165 fi
19166
19167
19168 if test "x$found_expat_h" = "x1"; then
19169 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19170 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19171 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19172 echo $ECHO_N "(cached) $ECHO_C" >&6
19173 else
19174
19175
19176
19177 ac_ext=cc
19178 ac_cpp='$CXXCPP $CPPFLAGS'
19179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19182
19183 cat >conftest.$ac_ext <<_ACEOF
19184 #line $LINENO "configure"
19185 /* confdefs.h. */
19186 _ACEOF
19187 cat confdefs.h >>conftest.$ac_ext
19188 cat >>conftest.$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190 #include <expat.h>
19191 int
19192 main ()
19193 {
19194
19195 ;
19196 return 0;
19197 }
19198 _ACEOF
19199 rm -f conftest.$ac_objext
19200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19201 (eval $ac_compile) 2>&5
19202 ac_status=$?
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } &&
19205 { ac_try='test -s conftest.$ac_objext'
19206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19207 (eval $ac_try) 2>&5
19208 ac_status=$?
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); }; }; then
19211 wx_cv_expat_is_not_broken=yes
19212 else
19213 echo "$as_me: failed program was:" >&5
19214 sed 's/^/| /' conftest.$ac_ext >&5
19215
19216 wx_cv_expat_is_not_broken=no
19217
19218 fi
19219 rm -f conftest.$ac_objext conftest.$ac_ext
19220 ac_ext=c
19221 ac_cpp='$CPP $CPPFLAGS'
19222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19225
19226
19227
19228 fi
19229 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19230 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19231 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19232 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19233 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19234 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19236 else
19237 ac_check_lib_save_LIBS=$LIBS
19238 LIBS="-lexpat $LIBS"
19239 cat >conftest.$ac_ext <<_ACEOF
19240 #line $LINENO "configure"
19241 /* confdefs.h. */
19242 _ACEOF
19243 cat confdefs.h >>conftest.$ac_ext
19244 cat >>conftest.$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246
19247 /* Override any gcc2 internal prototype to avoid an error. */
19248 #ifdef __cplusplus
19249 extern "C"
19250 #endif
19251 /* We use char because int might match the return type of a gcc2
19252 builtin and then its argument prototype would still apply. */
19253 char XML_ParserCreate ();
19254 int
19255 main ()
19256 {
19257 XML_ParserCreate ();
19258 ;
19259 return 0;
19260 }
19261 _ACEOF
19262 rm -f conftest.$ac_objext conftest$ac_exeext
19263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19264 (eval $ac_link) 2>&5
19265 ac_status=$?
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } &&
19268 { ac_try='test -s conftest$ac_exeext'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19271 ac_status=$?
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 ac_cv_lib_expat_XML_ParserCreate=yes
19275 else
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.$ac_ext >&5
19278
19279 ac_cv_lib_expat_XML_ParserCreate=no
19280 fi
19281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19282 LIBS=$ac_check_lib_save_LIBS
19283 fi
19284 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19285 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19286 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19287 EXPAT_LINK=" -lexpat"
19288 fi
19289
19290 fi
19291 fi
19292 if test "x$EXPAT_LINK" = "x" ; then
19293 if test "$wxUSE_EXPAT" = "sys" ; then
19294 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19295 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19296 { (exit 1); exit 1; }; }
19297 else
19298 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19299 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19300 wxUSE_EXPAT=builtin
19301 fi
19302 else
19303 wxUSE_EXPAT=sys
19304 fi
19305 fi
19306 if test "$wxUSE_EXPAT" = "builtin" ; then
19307
19308
19309 subdirs="$subdirs src/expat"
19310
19311 fi
19312 fi
19313
19314
19315
19316 AFMINSTALL=
19317 WIN32INSTALL=
19318
19319 TOOLKIT=
19320 TOOLKIT_INCLUDE=
19321 WIDGET_SET=
19322
19323 if test "$USE_WIN32" = 1 ; then
19324
19325 for ac_header in w32api.h
19326 do
19327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19329 echo "$as_me:$LINENO: checking for $ac_header" >&5
19330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 fi
19334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19336 else
19337 # Is the header compilable?
19338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19340 cat >conftest.$ac_ext <<_ACEOF
19341 #line $LINENO "configure"
19342 /* confdefs.h. */
19343 _ACEOF
19344 cat confdefs.h >>conftest.$ac_ext
19345 cat >>conftest.$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 $ac_includes_default
19348 #include <$ac_header>
19349 _ACEOF
19350 rm -f conftest.$ac_objext
19351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19352 (eval $ac_compile) 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } &&
19356 { ac_try='test -s conftest.$ac_objext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19359 ac_status=$?
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 ac_header_compiler=yes
19363 else
19364 echo "$as_me: failed program was:" >&5
19365 sed 's/^/| /' conftest.$ac_ext >&5
19366
19367 ac_header_compiler=no
19368 fi
19369 rm -f conftest.$ac_objext conftest.$ac_ext
19370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19371 echo "${ECHO_T}$ac_header_compiler" >&6
19372
19373 # Is the header present?
19374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19376 cat >conftest.$ac_ext <<_ACEOF
19377 #line $LINENO "configure"
19378 /* confdefs.h. */
19379 _ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 #include <$ac_header>
19384 _ACEOF
19385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19386 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19387 ac_status=$?
19388 grep -v '^ *+' conftest.er1 >conftest.err
19389 rm -f conftest.er1
19390 cat conftest.err >&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); } >/dev/null; then
19393 if test -s conftest.err; then
19394 ac_cpp_err=$ac_c_preproc_warn_flag
19395 else
19396 ac_cpp_err=
19397 fi
19398 else
19399 ac_cpp_err=yes
19400 fi
19401 if test -z "$ac_cpp_err"; then
19402 ac_header_preproc=yes
19403 else
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.$ac_ext >&5
19406
19407 ac_header_preproc=no
19408 fi
19409 rm -f conftest.err conftest.$ac_ext
19410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19411 echo "${ECHO_T}$ac_header_preproc" >&6
19412
19413 # So? What about this header?
19414 case $ac_header_compiler:$ac_header_preproc in
19415 yes:no )
19416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19420 (
19421 cat <<\_ASBOX
19422 ## ------------------------------------ ##
19423 ## Report this to bug-autoconf@gnu.org. ##
19424 ## ------------------------------------ ##
19425 _ASBOX
19426 ) |
19427 sed "s/^/$as_me: WARNING: /" >&2
19428 ;;
19429 no:yes )
19430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19436 (
19437 cat <<\_ASBOX
19438 ## ------------------------------------ ##
19439 ## Report this to bug-autoconf@gnu.org. ##
19440 ## ------------------------------------ ##
19441 _ASBOX
19442 ) |
19443 sed "s/^/$as_me: WARNING: /" >&2
19444 ;;
19445 esac
19446 echo "$as_me:$LINENO: checking for $ac_header" >&5
19447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19449 echo $ECHO_N "(cached) $ECHO_C" >&6
19450 else
19451 eval "$as_ac_Header=$ac_header_preproc"
19452 fi
19453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19455
19456 fi
19457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19458 cat >>confdefs.h <<_ACEOF
19459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19460 _ACEOF
19461
19462 fi
19463
19464 done
19465
19466 if test "${ac_cv_header_windows_h+set}" = set; then
19467 echo "$as_me:$LINENO: checking for windows.h" >&5
19468 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19469 if test "${ac_cv_header_windows_h+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 fi
19472 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19473 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19474 else
19475 # Is the header compilable?
19476 echo "$as_me:$LINENO: checking windows.h usability" >&5
19477 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19478 cat >conftest.$ac_ext <<_ACEOF
19479 #line $LINENO "configure"
19480 /* confdefs.h. */
19481 _ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 $ac_includes_default
19486 #include <windows.h>
19487 _ACEOF
19488 rm -f conftest.$ac_objext
19489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19490 (eval $ac_compile) 2>&5
19491 ac_status=$?
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); } &&
19494 { ac_try='test -s conftest.$ac_objext'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19497 ac_status=$?
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19500 ac_header_compiler=yes
19501 else
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19504
19505 ac_header_compiler=no
19506 fi
19507 rm -f conftest.$ac_objext conftest.$ac_ext
19508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19509 echo "${ECHO_T}$ac_header_compiler" >&6
19510
19511 # Is the header present?
19512 echo "$as_me:$LINENO: checking windows.h presence" >&5
19513 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19514 cat >conftest.$ac_ext <<_ACEOF
19515 #line $LINENO "configure"
19516 /* confdefs.h. */
19517 _ACEOF
19518 cat confdefs.h >>conftest.$ac_ext
19519 cat >>conftest.$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19521 #include <windows.h>
19522 _ACEOF
19523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19525 ac_status=$?
19526 grep -v '^ *+' conftest.er1 >conftest.err
19527 rm -f conftest.er1
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } >/dev/null; then
19531 if test -s conftest.err; then
19532 ac_cpp_err=$ac_c_preproc_warn_flag
19533 else
19534 ac_cpp_err=
19535 fi
19536 else
19537 ac_cpp_err=yes
19538 fi
19539 if test -z "$ac_cpp_err"; then
19540 ac_header_preproc=yes
19541 else
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.$ac_ext >&5
19544
19545 ac_header_preproc=no
19546 fi
19547 rm -f conftest.err conftest.$ac_ext
19548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19549 echo "${ECHO_T}$ac_header_preproc" >&6
19550
19551 # So? What about this header?
19552 case $ac_header_compiler:$ac_header_preproc in
19553 yes:no )
19554 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19555 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19556 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19557 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19558 (
19559 cat <<\_ASBOX
19560 ## ------------------------------------ ##
19561 ## Report this to bug-autoconf@gnu.org. ##
19562 ## ------------------------------------ ##
19563 _ASBOX
19564 ) |
19565 sed "s/^/$as_me: WARNING: /" >&2
19566 ;;
19567 no:yes )
19568 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19569 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19570 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19571 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19572 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19573 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19574 (
19575 cat <<\_ASBOX
19576 ## ------------------------------------ ##
19577 ## Report this to bug-autoconf@gnu.org. ##
19578 ## ------------------------------------ ##
19579 _ASBOX
19580 ) |
19581 sed "s/^/$as_me: WARNING: /" >&2
19582 ;;
19583 esac
19584 echo "$as_me:$LINENO: checking for windows.h" >&5
19585 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19586 if test "${ac_cv_header_windows_h+set}" = set; then
19587 echo $ECHO_N "(cached) $ECHO_C" >&6
19588 else
19589 ac_cv_header_windows_h=$ac_header_preproc
19590 fi
19591 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19592 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19593
19594 fi
19595 if test $ac_cv_header_windows_h = yes; then
19596 :
19597 else
19598
19599 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19600 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19601 { (exit 1); exit 1; }; }
19602
19603 fi
19604
19605
19606
19607 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19608
19609 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19610 LIBS="$LIBS -loleacc"
19611 fi
19612
19613 case "${host}" in
19614 *-*-cygwin* )
19615 LIBS="$LIBS -lkernel32 -luser32"
19616 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19617 esac
19618
19619 if test "$wxUSE_ODBC" = "sys" ; then
19620 wxUSE_ODBC = "yes"
19621 fi
19622 if test "$wxUSE_ODBC" = "yes" ; then
19623 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19624 cat >>confdefs.h <<\_ACEOF
19625 #define wxUSE_ODBC 1
19626 _ACEOF
19627
19628 fi
19629
19630 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19631 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19632
19633 WIN32INSTALL=win32install
19634 fi
19635
19636 if test "$wxUSE_GUI" = "yes"; then
19637 USE_GUI=1
19638
19639 GUI_TK_LIBRARY=
19640
19641 WXGTK12=
19642 WXGTK127=
19643 WXGTK20=
19644
19645 if test "$wxUSE_MSW" = 1 ; then
19646 TOOLKIT=MSW
19647 GUIDIST=MSW_DIST
19648
19649 case "${host}" in
19650 *-*-mingw32* )
19651 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19652 esac
19653 fi
19654
19655 if test "$wxUSE_GTK" = 1; then
19656 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19657 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19658
19659 gtk_version_cached=1
19660 if test "${wx_cv_lib_gtk+set}" = set; then
19661 echo $ECHO_N "(cached) $ECHO_C" >&6
19662 else
19663
19664 gtk_version_cached=0
19665 echo "$as_me:$LINENO: result: " >&5
19666 echo "${ECHO_T}" >&6
19667
19668 GTK_MODULES=
19669 if test "$wxUSE_THREADS" = "yes"; then
19670 GTK_MODULES=gthread
19671 fi
19672
19673 wx_cv_lib_gtk=
19674 if test "x$wxUSE_GTK2" = "xyes"; then
19675 # Check whether --enable-gtktest or --disable-gtktest was given.
19676 if test "${enable_gtktest+set}" = set; then
19677 enableval="$enable_gtktest"
19678
19679 else
19680 enable_gtktest=yes
19681 fi;
19682
19683 pkg_config_args=gtk+-2.0
19684 for module in . $GTK_MODULES
19685 do
19686 case "$module" in
19687 gthread)
19688 pkg_config_args="$pkg_config_args gthread-2.0"
19689 ;;
19690 esac
19691 done
19692
19693 no_gtk=""
19694
19695 # Extract the first word of "pkg-config", so it can be a program name with args.
19696 set dummy pkg-config; ac_word=$2
19697 echo "$as_me:$LINENO: checking for $ac_word" >&5
19698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19699 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19701 else
19702 case $PKG_CONFIG in
19703 [\\/]* | ?:[\\/]*)
19704 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19705 ;;
19706 *)
19707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19708 for as_dir in $PATH
19709 do
19710 IFS=$as_save_IFS
19711 test -z "$as_dir" && as_dir=.
19712 for ac_exec_ext in '' $ac_executable_extensions; do
19713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19714 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19716 break 2
19717 fi
19718 done
19719 done
19720
19721 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19722 ;;
19723 esac
19724 fi
19725 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19726
19727 if test -n "$PKG_CONFIG"; then
19728 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19729 echo "${ECHO_T}$PKG_CONFIG" >&6
19730 else
19731 echo "$as_me:$LINENO: result: no" >&5
19732 echo "${ECHO_T}no" >&6
19733 fi
19734
19735
19736 if test x$PKG_CONFIG != xno ; then
19737 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19738 :
19739 else
19740 echo *** pkg-config too old; version 0.7 or better required.
19741 no_gtk=yes
19742 PKG_CONFIG=no
19743 fi
19744 else
19745 no_gtk=yes
19746 fi
19747
19748 min_gtk_version=2.0.0
19749 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19750 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19751
19752 if test x$PKG_CONFIG != xno ; then
19753 ## don't try to run the test against uninstalled libtool libs
19754 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19755 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19756 enable_gtktest=no
19757 fi
19758
19759 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19760 :
19761 else
19762 no_gtk=yes
19763 fi
19764 fi
19765
19766 if test x"$no_gtk" = x ; then
19767 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19768 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19769 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19771 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19773 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19774 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19775 if test "x$enable_gtktest" = "xyes" ; then
19776 ac_save_CFLAGS="$CFLAGS"
19777 ac_save_LIBS="$LIBS"
19778 CFLAGS="$CFLAGS $GTK_CFLAGS"
19779 LIBS="$GTK_LIBS $LIBS"
19780 rm -f conf.gtktest
19781 if test "$cross_compiling" = yes; then
19782 echo $ac_n "cross compiling; assumed OK... $ac_c"
19783 else
19784 cat >conftest.$ac_ext <<_ACEOF
19785 #line $LINENO "configure"
19786 /* confdefs.h. */
19787 _ACEOF
19788 cat confdefs.h >>conftest.$ac_ext
19789 cat >>conftest.$ac_ext <<_ACEOF
19790 /* end confdefs.h. */
19791
19792 #include <gtk/gtk.h>
19793 #include <stdio.h>
19794 #include <stdlib.h>
19795
19796 int
19797 main ()
19798 {
19799 int major, minor, micro;
19800 char *tmp_version;
19801
19802 system ("touch conf.gtktest");
19803
19804 /* HP/UX 9 (%@#!) writes to sscanf strings */
19805 tmp_version = g_strdup("$min_gtk_version");
19806 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19807 printf("%s, bad version string\n", "$min_gtk_version");
19808 exit(1);
19809 }
19810
19811 if ((gtk_major_version != $gtk_config_major_version) ||
19812 (gtk_minor_version != $gtk_config_minor_version) ||
19813 (gtk_micro_version != $gtk_config_micro_version))
19814 {
19815 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19816 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19817 gtk_major_version, gtk_minor_version, gtk_micro_version);
19818 printf ("*** was found! If pkg-config was correct, then it is best\n");
19819 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19820 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19821 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19822 printf("*** required on your system.\n");
19823 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19824 printf("*** to point to the correct configuration files\n");
19825 }
19826 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19827 (gtk_minor_version != GTK_MINOR_VERSION) ||
19828 (gtk_micro_version != GTK_MICRO_VERSION))
19829 {
19830 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19831 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19832 printf("*** library (version %d.%d.%d)\n",
19833 gtk_major_version, gtk_minor_version, gtk_micro_version);
19834 }
19835 else
19836 {
19837 if ((gtk_major_version > major) ||
19838 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19839 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19840 {
19841 return 0;
19842 }
19843 else
19844 {
19845 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19846 gtk_major_version, gtk_minor_version, gtk_micro_version);
19847 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19848 major, minor, micro);
19849 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19850 printf("***\n");
19851 printf("*** If you have already installed a sufficiently new version, this error\n");
19852 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19853 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19854 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19855 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19856 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19857 printf("*** so that the correct libraries are found at run-time))\n");
19858 }
19859 }
19860 return 1;
19861 }
19862
19863 _ACEOF
19864 rm -f conftest$ac_exeext
19865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19866 (eval $ac_link) 2>&5
19867 ac_status=$?
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19871 (eval $ac_try) 2>&5
19872 ac_status=$?
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); }; }; then
19875 :
19876 else
19877 echo "$as_me: program exited with status $ac_status" >&5
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.$ac_ext >&5
19880
19881 ( exit $ac_status )
19882 no_gtk=yes
19883 fi
19884 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19885 fi
19886 CFLAGS="$ac_save_CFLAGS"
19887 LIBS="$ac_save_LIBS"
19888 fi
19889 fi
19890 if test "x$no_gtk" = x ; then
19891 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19892 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19893 wx_cv_lib_gtk=2.0
19894 else
19895 echo "$as_me:$LINENO: result: no" >&5
19896 echo "${ECHO_T}no" >&6
19897 if test "$PKG_CONFIG" = "no" ; then
19898 echo "*** A new enough version of pkg-config was not found."
19899 echo "*** See http://pkgconfig.sourceforge.net"
19900 else
19901 if test -f conf.gtktest ; then
19902 :
19903 else
19904 echo "*** Could not run GTK+ test program, checking why..."
19905 ac_save_CFLAGS="$CFLAGS"
19906 ac_save_LIBS="$LIBS"
19907 CFLAGS="$CFLAGS $GTK_CFLAGS"
19908 LIBS="$LIBS $GTK_LIBS"
19909 cat >conftest.$ac_ext <<_ACEOF
19910 #line $LINENO "configure"
19911 /* confdefs.h. */
19912 _ACEOF
19913 cat confdefs.h >>conftest.$ac_ext
19914 cat >>conftest.$ac_ext <<_ACEOF
19915 /* end confdefs.h. */
19916
19917 #include <gtk/gtk.h>
19918 #include <stdio.h>
19919
19920 int
19921 main ()
19922 {
19923 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19924 ;
19925 return 0;
19926 }
19927 _ACEOF
19928 rm -f conftest.$ac_objext conftest$ac_exeext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19930 (eval $ac_link) 2>&5
19931 ac_status=$?
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); } &&
19934 { ac_try='test -s conftest$ac_exeext'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19937 ac_status=$?
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; }; then
19940 echo "*** The test program compiled, but did not run. This usually means"
19941 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19942 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19943 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19944 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19945 echo "*** is required on your system"
19946 echo "***"
19947 echo "*** If you have an old version installed, it is best to remove it, although"
19948 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19949 else
19950 echo "$as_me: failed program was:" >&5
19951 sed 's/^/| /' conftest.$ac_ext >&5
19952
19953 echo "*** The test program failed to compile or link. See the file config.log for the"
19954 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19955 fi
19956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19957 CFLAGS="$ac_save_CFLAGS"
19958 LIBS="$ac_save_LIBS"
19959 fi
19960 fi
19961 GTK_CFLAGS=""
19962 GTK_LIBS=""
19963 :
19964 fi
19965
19966
19967 rm -f conf.gtktest
19968
19969 else
19970
19971 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19972 if test "${with_gtk_prefix+set}" = set; then
19973 withval="$with_gtk_prefix"
19974 gtk_config_prefix="$withval"
19975 else
19976 gtk_config_prefix=""
19977 fi;
19978
19979 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19980 if test "${with_gtk_exec_prefix+set}" = set; then
19981 withval="$with_gtk_exec_prefix"
19982 gtk_config_exec_prefix="$withval"
19983 else
19984 gtk_config_exec_prefix=""
19985 fi;
19986 # Check whether --enable-gtktest or --disable-gtktest was given.
19987 if test "${enable_gtktest+set}" = set; then
19988 enableval="$enable_gtktest"
19989
19990 else
19991 enable_gtktest=yes
19992 fi;
19993
19994 for module in . $GTK_MODULES
19995 do
19996 case "$module" in
19997 gthread)
19998 gtk_config_args="$gtk_config_args gthread"
19999 ;;
20000 esac
20001 done
20002
20003 if test x$gtk_config_exec_prefix != x ; then
20004 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20005 if test x${GTK_CONFIG+set} != xset ; then
20006 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20007 fi
20008 fi
20009 if test x$gtk_config_prefix != x ; then
20010 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20011 if test x${GTK_CONFIG+set} != xset ; then
20012 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20013 fi
20014 fi
20015
20016 # Extract the first word of "gtk-config", so it can be a program name with args.
20017 set dummy gtk-config; ac_word=$2
20018 echo "$as_me:$LINENO: checking for $ac_word" >&5
20019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20020 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20021 echo $ECHO_N "(cached) $ECHO_C" >&6
20022 else
20023 case $GTK_CONFIG in
20024 [\\/]* | ?:[\\/]*)
20025 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20026 ;;
20027 *)
20028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20029 for as_dir in $PATH
20030 do
20031 IFS=$as_save_IFS
20032 test -z "$as_dir" && as_dir=.
20033 for ac_exec_ext in '' $ac_executable_extensions; do
20034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20035 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20037 break 2
20038 fi
20039 done
20040 done
20041
20042 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20043 ;;
20044 esac
20045 fi
20046 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20047
20048 if test -n "$GTK_CONFIG"; then
20049 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20050 echo "${ECHO_T}$GTK_CONFIG" >&6
20051 else
20052 echo "$as_me:$LINENO: result: no" >&5
20053 echo "${ECHO_T}no" >&6
20054 fi
20055
20056 min_gtk_version=1.2.7
20057 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20058 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20059 no_gtk=""
20060 if test "$GTK_CONFIG" = "no" ; then
20061 no_gtk=yes
20062 else
20063 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20064 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20065 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20067 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20068 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20069 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20070 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20071 if test "x$enable_gtktest" = "xyes" ; then
20072 ac_save_CFLAGS="$CFLAGS"
20073 ac_save_LIBS="$LIBS"
20074 CFLAGS="$CFLAGS $GTK_CFLAGS"
20075 LIBS="$GTK_LIBS $LIBS"
20076 rm -f conf.gtktest
20077 if test "$cross_compiling" = yes; then
20078 echo $ac_n "cross compiling; assumed OK... $ac_c"
20079 else
20080 cat >conftest.$ac_ext <<_ACEOF
20081 #line $LINENO "configure"
20082 /* confdefs.h. */
20083 _ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087
20088 #include <gtk/gtk.h>
20089 #include <stdio.h>
20090 #include <stdlib.h>
20091
20092 int
20093 main ()
20094 {
20095 int major, minor, micro;
20096 char *tmp_version;
20097
20098 system ("touch conf.gtktest");
20099
20100 /* HP/UX 9 (%@#!) writes to sscanf strings */
20101 tmp_version = g_strdup("$min_gtk_version");
20102 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20103 printf("%s, bad version string\n", "$min_gtk_version");
20104 exit(1);
20105 }
20106
20107 if ((gtk_major_version != $gtk_config_major_version) ||
20108 (gtk_minor_version != $gtk_config_minor_version) ||
20109 (gtk_micro_version != $gtk_config_micro_version))
20110 {
20111 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20112 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20113 gtk_major_version, gtk_minor_version, gtk_micro_version);
20114 printf ("*** was found! If gtk-config was correct, then it is best\n");
20115 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20116 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20117 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20118 printf("*** required on your system.\n");
20119 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20120 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20121 printf("*** before re-running configure\n");
20122 }
20123 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20124 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20125 (gtk_minor_version != GTK_MINOR_VERSION) ||
20126 (gtk_micro_version != GTK_MICRO_VERSION))
20127 {
20128 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20129 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20130 printf("*** library (version %d.%d.%d)\n",
20131 gtk_major_version, gtk_minor_version, gtk_micro_version);
20132 }
20133 #endif /* defined (GTK_MAJOR_VERSION) ... */
20134 else
20135 {
20136 if ((gtk_major_version > major) ||
20137 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20138 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20139 {
20140 return 0;
20141 }
20142 else
20143 {
20144 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20145 gtk_major_version, gtk_minor_version, gtk_micro_version);
20146 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20147 major, minor, micro);
20148 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20149 printf("***\n");
20150 printf("*** If you have already installed a sufficiently new version, this error\n");
20151 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20152 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20153 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20154 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20155 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20156 printf("*** so that the correct libraries are found at run-time))\n");
20157 }
20158 }
20159 return 1;
20160 }
20161
20162 _ACEOF
20163 rm -f conftest$ac_exeext
20164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20165 (eval $ac_link) 2>&5
20166 ac_status=$?
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20170 (eval $ac_try) 2>&5
20171 ac_status=$?
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); }; }; then
20174 :
20175 else
20176 echo "$as_me: program exited with status $ac_status" >&5
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.$ac_ext >&5
20179
20180 ( exit $ac_status )
20181 no_gtk=yes
20182 fi
20183 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20184 fi
20185 CFLAGS="$ac_save_CFLAGS"
20186 LIBS="$ac_save_LIBS"
20187 fi
20188 fi
20189 if test "x$no_gtk" = x ; then
20190 echo "$as_me:$LINENO: result: yes" >&5
20191 echo "${ECHO_T}yes" >&6
20192 wx_cv_lib_gtk=1.2.7
20193 else
20194 echo "$as_me:$LINENO: result: no" >&5
20195 echo "${ECHO_T}no" >&6
20196 if test "$GTK_CONFIG" = "no" ; then
20197 echo "*** The gtk-config script installed by GTK could not be found"
20198 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20199 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20200 echo "*** full path to gtk-config."
20201 else
20202 if test -f conf.gtktest ; then
20203 :
20204 else
20205 echo "*** Could not run GTK test program, checking why..."
20206 CFLAGS="$CFLAGS $GTK_CFLAGS"
20207 LIBS="$LIBS $GTK_LIBS"
20208 cat >conftest.$ac_ext <<_ACEOF
20209 #line $LINENO "configure"
20210 /* confdefs.h. */
20211 _ACEOF
20212 cat confdefs.h >>conftest.$ac_ext
20213 cat >>conftest.$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20215
20216 #include <gtk/gtk.h>
20217 #include <stdio.h>
20218
20219 int
20220 main ()
20221 {
20222 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20223 ;
20224 return 0;
20225 }
20226 _ACEOF
20227 rm -f conftest.$ac_objext conftest$ac_exeext
20228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20229 (eval $ac_link) 2>&5
20230 ac_status=$?
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); } &&
20233 { ac_try='test -s conftest$ac_exeext'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20236 ac_status=$?
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; }; then
20239 echo "*** The test program compiled, but did not run. This usually means"
20240 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20241 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20242 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20243 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20244 echo "*** is required on your system"
20245 echo "***"
20246 echo "*** If you have an old version installed, it is best to remove it, although"
20247 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20248 echo "***"
20249 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20250 echo "*** came with the system with the command"
20251 echo "***"
20252 echo "*** rpm --erase --nodeps gtk gtk-devel"
20253 else
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.$ac_ext >&5
20256
20257 echo "*** The test program failed to compile or link. See the file config.log for the"
20258 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20259 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20260 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20261 fi
20262 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20263 CFLAGS="$ac_save_CFLAGS"
20264 LIBS="$ac_save_LIBS"
20265 fi
20266 fi
20267 GTK_CFLAGS=""
20268 GTK_LIBS=""
20269 :
20270 fi
20271
20272
20273 rm -f conf.gtktest
20274
20275
20276 if test -z "$wx_cv_lib_gtk"; then
20277
20278 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20279 if test "${with_gtk_prefix+set}" = set; then
20280 withval="$with_gtk_prefix"
20281 gtk_config_prefix="$withval"
20282 else
20283 gtk_config_prefix=""
20284 fi;
20285
20286 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20287 if test "${with_gtk_exec_prefix+set}" = set; then
20288 withval="$with_gtk_exec_prefix"
20289 gtk_config_exec_prefix="$withval"
20290 else
20291 gtk_config_exec_prefix=""
20292 fi;
20293 # Check whether --enable-gtktest or --disable-gtktest was given.
20294 if test "${enable_gtktest+set}" = set; then
20295 enableval="$enable_gtktest"
20296
20297 else
20298 enable_gtktest=yes
20299 fi;
20300
20301 for module in . $GTK_MODULES
20302 do
20303 case "$module" in
20304 gthread)
20305 gtk_config_args="$gtk_config_args gthread"
20306 ;;
20307 esac
20308 done
20309
20310 if test x$gtk_config_exec_prefix != x ; then
20311 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20312 if test x${GTK_CONFIG+set} != xset ; then
20313 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20314 fi
20315 fi
20316 if test x$gtk_config_prefix != x ; then
20317 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20318 if test x${GTK_CONFIG+set} != xset ; then
20319 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20320 fi
20321 fi
20322
20323 # Extract the first word of "gtk-config", so it can be a program name with args.
20324 set dummy gtk-config; ac_word=$2
20325 echo "$as_me:$LINENO: checking for $ac_word" >&5
20326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20327 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20328 echo $ECHO_N "(cached) $ECHO_C" >&6
20329 else
20330 case $GTK_CONFIG in
20331 [\\/]* | ?:[\\/]*)
20332 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20333 ;;
20334 *)
20335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20336 for as_dir in $PATH
20337 do
20338 IFS=$as_save_IFS
20339 test -z "$as_dir" && as_dir=.
20340 for ac_exec_ext in '' $ac_executable_extensions; do
20341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20342 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20344 break 2
20345 fi
20346 done
20347 done
20348
20349 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20350 ;;
20351 esac
20352 fi
20353 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20354
20355 if test -n "$GTK_CONFIG"; then
20356 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20357 echo "${ECHO_T}$GTK_CONFIG" >&6
20358 else
20359 echo "$as_me:$LINENO: result: no" >&5
20360 echo "${ECHO_T}no" >&6
20361 fi
20362
20363 min_gtk_version=1.2.3
20364 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20365 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20366 no_gtk=""
20367 if test "$GTK_CONFIG" = "no" ; then
20368 no_gtk=yes
20369 else
20370 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20371 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20372 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20373 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20374 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20375 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20376 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20377 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20378 if test "x$enable_gtktest" = "xyes" ; then
20379 ac_save_CFLAGS="$CFLAGS"
20380 ac_save_LIBS="$LIBS"
20381 CFLAGS="$CFLAGS $GTK_CFLAGS"
20382 LIBS="$GTK_LIBS $LIBS"
20383 rm -f conf.gtktest
20384 if test "$cross_compiling" = yes; then
20385 echo $ac_n "cross compiling; assumed OK... $ac_c"
20386 else
20387 cat >conftest.$ac_ext <<_ACEOF
20388 #line $LINENO "configure"
20389 /* confdefs.h. */
20390 _ACEOF
20391 cat confdefs.h >>conftest.$ac_ext
20392 cat >>conftest.$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20394
20395 #include <gtk/gtk.h>
20396 #include <stdio.h>
20397 #include <stdlib.h>
20398
20399 int
20400 main ()
20401 {
20402 int major, minor, micro;
20403 char *tmp_version;
20404
20405 system ("touch conf.gtktest");
20406
20407 /* HP/UX 9 (%@#!) writes to sscanf strings */
20408 tmp_version = g_strdup("$min_gtk_version");
20409 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20410 printf("%s, bad version string\n", "$min_gtk_version");
20411 exit(1);
20412 }
20413
20414 if ((gtk_major_version != $gtk_config_major_version) ||
20415 (gtk_minor_version != $gtk_config_minor_version) ||
20416 (gtk_micro_version != $gtk_config_micro_version))
20417 {
20418 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20419 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20420 gtk_major_version, gtk_minor_version, gtk_micro_version);
20421 printf ("*** was found! If gtk-config was correct, then it is best\n");
20422 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20423 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20424 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20425 printf("*** required on your system.\n");
20426 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20427 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20428 printf("*** before re-running configure\n");
20429 }
20430 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20431 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20432 (gtk_minor_version != GTK_MINOR_VERSION) ||
20433 (gtk_micro_version != GTK_MICRO_VERSION))
20434 {
20435 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20436 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20437 printf("*** library (version %d.%d.%d)\n",
20438 gtk_major_version, gtk_minor_version, gtk_micro_version);
20439 }
20440 #endif /* defined (GTK_MAJOR_VERSION) ... */
20441 else
20442 {
20443 if ((gtk_major_version > major) ||
20444 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20445 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20446 {
20447 return 0;
20448 }
20449 else
20450 {
20451 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20452 gtk_major_version, gtk_minor_version, gtk_micro_version);
20453 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20454 major, minor, micro);
20455 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20456 printf("***\n");
20457 printf("*** If you have already installed a sufficiently new version, this error\n");
20458 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20459 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20460 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20461 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20462 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20463 printf("*** so that the correct libraries are found at run-time))\n");
20464 }
20465 }
20466 return 1;
20467 }
20468
20469 _ACEOF
20470 rm -f conftest$ac_exeext
20471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20472 (eval $ac_link) 2>&5
20473 ac_status=$?
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20477 (eval $ac_try) 2>&5
20478 ac_status=$?
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); }; }; then
20481 :
20482 else
20483 echo "$as_me: program exited with status $ac_status" >&5
20484 echo "$as_me: failed program was:" >&5
20485 sed 's/^/| /' conftest.$ac_ext >&5
20486
20487 ( exit $ac_status )
20488 no_gtk=yes
20489 fi
20490 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20491 fi
20492 CFLAGS="$ac_save_CFLAGS"
20493 LIBS="$ac_save_LIBS"
20494 fi
20495 fi
20496 if test "x$no_gtk" = x ; then
20497 echo "$as_me:$LINENO: result: yes" >&5
20498 echo "${ECHO_T}yes" >&6
20499 wx_cv_lib_gtk=1.2.3
20500 else
20501 echo "$as_me:$LINENO: result: no" >&5
20502 echo "${ECHO_T}no" >&6
20503 if test "$GTK_CONFIG" = "no" ; then
20504 echo "*** The gtk-config script installed by GTK could not be found"
20505 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20506 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20507 echo "*** full path to gtk-config."
20508 else
20509 if test -f conf.gtktest ; then
20510 :
20511 else
20512 echo "*** Could not run GTK test program, checking why..."
20513 CFLAGS="$CFLAGS $GTK_CFLAGS"
20514 LIBS="$LIBS $GTK_LIBS"
20515 cat >conftest.$ac_ext <<_ACEOF
20516 #line $LINENO "configure"
20517 /* confdefs.h. */
20518 _ACEOF
20519 cat confdefs.h >>conftest.$ac_ext
20520 cat >>conftest.$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522
20523 #include <gtk/gtk.h>
20524 #include <stdio.h>
20525
20526 int
20527 main ()
20528 {
20529 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20530 ;
20531 return 0;
20532 }
20533 _ACEOF
20534 rm -f conftest.$ac_objext conftest$ac_exeext
20535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20536 (eval $ac_link) 2>&5
20537 ac_status=$?
20538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20539 (exit $ac_status); } &&
20540 { ac_try='test -s conftest$ac_exeext'
20541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20542 (eval $ac_try) 2>&5
20543 ac_status=$?
20544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545 (exit $ac_status); }; }; then
20546 echo "*** The test program compiled, but did not run. This usually means"
20547 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20548 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20549 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20550 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20551 echo "*** is required on your system"
20552 echo "***"
20553 echo "*** If you have an old version installed, it is best to remove it, although"
20554 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20555 echo "***"
20556 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20557 echo "*** came with the system with the command"
20558 echo "***"
20559 echo "*** rpm --erase --nodeps gtk gtk-devel"
20560 else
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.$ac_ext >&5
20563
20564 echo "*** The test program failed to compile or link. See the file config.log for the"
20565 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20566 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20567 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20568 fi
20569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20570 CFLAGS="$ac_save_CFLAGS"
20571 LIBS="$ac_save_LIBS"
20572 fi
20573 fi
20574 GTK_CFLAGS=""
20575 GTK_LIBS=""
20576 :
20577 fi
20578
20579
20580 rm -f conf.gtktest
20581
20582 fi
20583 fi
20584
20585 if test -z "$wx_cv_lib_gtk"; then
20586 wx_cv_lib_gtk=none
20587 else
20588 wx_cv_cflags_gtk=$GTK_CFLAGS
20589 wx_cv_libs_gtk=$GTK_LIBS
20590 fi
20591
20592
20593 fi
20594
20595
20596 if test "$gtk_version_cached" = 1; then
20597 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20598 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20599 fi
20600
20601 case "$wx_cv_lib_gtk" in
20602 2.0) WXGTK20=1
20603 TOOLKIT_VERSION=2
20604 ;;
20605 1.2.7) WXGTK127=1
20606 WXGTK12=1
20607 ;;
20608 1.2.3) WXGTK12=1
20609 ;;
20610 *) { { echo "$as_me:$LINENO: error:
20611 Please check that gtk-config is in path, the directory
20612 where GTK+ libraries are installed (returned by
20613 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20614 equivalent variable and GTK+ is version 1.2.3 or above.
20615 " >&5
20616 echo "$as_me: error:
20617 Please check that gtk-config is in path, the directory
20618 where GTK+ libraries are installed (returned by
20619 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20620 equivalent variable and GTK+ is version 1.2.3 or above.
20621 " >&2;}
20622 { (exit 1); exit 1; }; }
20623 ;;
20624 esac
20625
20626 if test "$WXGTK20" = 1; then
20627 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20628
20629 succeeded=no
20630
20631 if test -z "$PKG_CONFIG"; then
20632 # Extract the first word of "pkg-config", so it can be a program name with args.
20633 set dummy pkg-config; ac_word=$2
20634 echo "$as_me:$LINENO: checking for $ac_word" >&5
20635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20636 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20638 else
20639 case $PKG_CONFIG in
20640 [\\/]* | ?:[\\/]*)
20641 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20642 ;;
20643 *)
20644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20645 for as_dir in $PATH
20646 do
20647 IFS=$as_save_IFS
20648 test -z "$as_dir" && as_dir=.
20649 for ac_exec_ext in '' $ac_executable_extensions; do
20650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20651 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20653 break 2
20654 fi
20655 done
20656 done
20657
20658 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20659 ;;
20660 esac
20661 fi
20662 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20663
20664 if test -n "$PKG_CONFIG"; then
20665 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20666 echo "${ECHO_T}$PKG_CONFIG" >&6
20667 else
20668 echo "$as_me:$LINENO: result: no" >&5
20669 echo "${ECHO_T}no" >&6
20670 fi
20671
20672 fi
20673
20674 if test "$PKG_CONFIG" = "no" ; then
20675 echo "*** The pkg-config script could not be found. Make sure it is"
20676 echo "*** in your path, or set the PKG_CONFIG environment variable"
20677 echo "*** to the full path to pkg-config."
20678 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20679 else
20680 PKG_CONFIG_MIN_VERSION=0.9.0
20681 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20682 echo "$as_me:$LINENO: checking for pangoft2" >&5
20683 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20684
20685 if $PKG_CONFIG --exists "pangoft2" ; then
20686 echo "$as_me:$LINENO: result: yes" >&5
20687 echo "${ECHO_T}yes" >&6
20688 succeeded=yes
20689
20690 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20691 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20692 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20693 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20694 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20695
20696 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20697 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20698 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20699 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20700 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20701 else
20702 PANGOFT2_CFLAGS=""
20703 PANGOFT2_LIBS=""
20704 ## If we have a custom action on failure, don't print errors, but
20705 ## do set a variable so people can do so.
20706 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20707
20708 fi
20709
20710
20711
20712 else
20713 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20714 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20715 fi
20716 fi
20717
20718 if test $succeeded = yes; then
20719
20720 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20721 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20722
20723 else
20724
20725 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20726 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20727 wxUSE_PRINTING_ARCHITECTURE="no"
20728
20729
20730 fi
20731
20732 fi
20733 else
20734 if test "$wxUSE_UNICODE" = "yes"; then
20735 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20736 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20737 wxUSE_UNICODE=no
20738 fi
20739 fi
20740
20741 if test "$USE_DARWIN" != 1; then
20742
20743 for ac_func in poll
20744 do
20745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20746 echo "$as_me:$LINENO: checking for $ac_func" >&5
20747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20748 if eval "test \"\${$as_ac_var+set}\" = set"; then
20749 echo $ECHO_N "(cached) $ECHO_C" >&6
20750 else
20751 cat >conftest.$ac_ext <<_ACEOF
20752 #line $LINENO "configure"
20753 /* confdefs.h. */
20754 _ACEOF
20755 cat confdefs.h >>conftest.$ac_ext
20756 cat >>conftest.$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20758 /* System header to define __stub macros and hopefully few prototypes,
20759 which can conflict with char $ac_func (); below.
20760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20761 <limits.h> exists even on freestanding compilers. */
20762 #ifdef __STDC__
20763 # include <limits.h>
20764 #else
20765 # include <assert.h>
20766 #endif
20767 /* Override any gcc2 internal prototype to avoid an error. */
20768 #ifdef __cplusplus
20769 extern "C"
20770 {
20771 #endif
20772 /* We use char because int might match the return type of a gcc2
20773 builtin and then its argument prototype would still apply. */
20774 char $ac_func ();
20775 /* The GNU C library defines this for functions which it implements
20776 to always fail with ENOSYS. Some functions are actually named
20777 something starting with __ and the normal name is an alias. */
20778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20779 choke me
20780 #else
20781 char (*f) () = $ac_func;
20782 #endif
20783 #ifdef __cplusplus
20784 }
20785 #endif
20786
20787 int
20788 main ()
20789 {
20790 return f != $ac_func;
20791 ;
20792 return 0;
20793 }
20794 _ACEOF
20795 rm -f conftest.$ac_objext conftest$ac_exeext
20796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20797 (eval $ac_link) 2>&5
20798 ac_status=$?
20799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800 (exit $ac_status); } &&
20801 { ac_try='test -s conftest$ac_exeext'
20802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20803 (eval $ac_try) 2>&5
20804 ac_status=$?
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); }; }; then
20807 eval "$as_ac_var=yes"
20808 else
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.$ac_ext >&5
20811
20812 eval "$as_ac_var=no"
20813 fi
20814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20815 fi
20816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20818 if test `eval echo '${'$as_ac_var'}'` = yes; then
20819 cat >>confdefs.h <<_ACEOF
20820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20821 _ACEOF
20822
20823 fi
20824 done
20825
20826 fi
20827
20828 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20829 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20830
20831 AFMINSTALL=afminstall
20832 TOOLKIT=GTK
20833 GUIDIST=GTK_DIST
20834
20835 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20836 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20837 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20838 echo $ECHO_N "(cached) $ECHO_C" >&6
20839 else
20840 ac_check_lib_save_LIBS=$LIBS
20841 LIBS="-lgdk $LIBS"
20842 cat >conftest.$ac_ext <<_ACEOF
20843 #line $LINENO "configure"
20844 /* confdefs.h. */
20845 _ACEOF
20846 cat confdefs.h >>conftest.$ac_ext
20847 cat >>conftest.$ac_ext <<_ACEOF
20848 /* end confdefs.h. */
20849
20850 /* Override any gcc2 internal prototype to avoid an error. */
20851 #ifdef __cplusplus
20852 extern "C"
20853 #endif
20854 /* We use char because int might match the return type of a gcc2
20855 builtin and then its argument prototype would still apply. */
20856 char gdk_im_open ();
20857 int
20858 main ()
20859 {
20860 gdk_im_open ();
20861 ;
20862 return 0;
20863 }
20864 _ACEOF
20865 rm -f conftest.$ac_objext conftest$ac_exeext
20866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20867 (eval $ac_link) 2>&5
20868 ac_status=$?
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } &&
20871 { ac_try='test -s conftest$ac_exeext'
20872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873 (eval $ac_try) 2>&5
20874 ac_status=$?
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); }; }; then
20877 ac_cv_lib_gdk_gdk_im_open=yes
20878 else
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.$ac_ext >&5
20881
20882 ac_cv_lib_gdk_gdk_im_open=no
20883 fi
20884 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20885 LIBS=$ac_check_lib_save_LIBS
20886 fi
20887 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20888 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20889 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20890 cat >>confdefs.h <<\_ACEOF
20891 #define HAVE_XIM 1
20892 _ACEOF
20893
20894 fi
20895
20896 fi
20897
20898 if test "$wxUSE_MGL" = 1; then
20899 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20900 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20901 if test "x$MGL_ROOT" = x ; then
20902 echo "$as_me:$LINENO: result: not found" >&5
20903 echo "${ECHO_T}not found" >&6
20904 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20905 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20906 { (exit 1); exit 1; }; }
20907 else
20908 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20909 echo "${ECHO_T}$MGL_ROOT" >&6
20910 fi
20911
20912 echo "$as_me:$LINENO: checking for libmgl location" >&5
20913 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20914 case "${host}" in
20915 *-*-linux* )
20916 if test "x$wxUSE_SHARED" = xyes ; then
20917 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20918 else
20919 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20920 fi
20921 ;;
20922 *-pc-msdosdjgpp )
20923 mgl_os_candidates="dos32/dj2"
20924 ;;
20925 *)
20926 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20927 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20928 { (exit 1); exit 1; }; }
20929 esac
20930
20931 mgl_lib_type=""
20932 mgl_os=""
20933
20934 for mgl_os_i in $mgl_os_candidates ; do
20935 if test "x$mgl_os" = x ; then
20936 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20937 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20938 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20939 mgl_lib_type=debug
20940 mgl_os=$mgl_os_i
20941 fi
20942 fi
20943 if test "x$mgl_lib_type" = x ; then
20944 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20945 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20946 mgl_lib_type=release
20947 mgl_os=$mgl_os_i
20948 fi
20949 fi
20950 fi
20951 done
20952
20953 if test "x$mgl_os" = x ; then
20954 echo "$as_me:$LINENO: result: not found" >&5
20955 echo "${ECHO_T}not found" >&6
20956 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20957 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20958 { (exit 1); exit 1; }; }
20959 fi
20960 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20961 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20962
20963 wxUSE_UNIVERSAL="yes"
20964
20965 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20966 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20967
20968 AFMINSTALL=afminstall
20969 TOOLKIT=MGL
20970 GUIDIST=MGL_DIST
20971 fi
20972
20973 if test "$wxUSE_MICROWIN" = 1; then
20974 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20975 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20976 if test "x$MICROWINDOWS" = x ; then
20977 echo "$as_me:$LINENO: result: not found" >&5
20978 echo "${ECHO_T}not found" >&6
20979 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20980 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20981 { (exit 1); exit 1; }; }
20982 else
20983 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20984 echo "${ECHO_T}$MICROWINDOWS" >&6
20985 fi
20986
20987 if test -f $MICROWINDOWS/lib/libmwin.a; then
20988 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20989 echo "${ECHO_T}MicroWindows' libraries found." >&6
20990 else
20991 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20992 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20993 { (exit 1); exit 1; }; }
20994 fi
20995
20996 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
20997 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20998
20999 wxUSE_UNIVERSAL="yes"
21000
21001 AFMINSTALL=afminstall
21002 TOOLKIT=MICROWIN
21003 GUIDIST=MICROWIN_DIST
21004
21005 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21006 fi
21007
21008 if test "$wxUSE_X11" = 1; then
21009 echo "$as_me:$LINENO: checking for X" >&5
21010 echo $ECHO_N "checking for X... $ECHO_C" >&6
21011
21012
21013 # Check whether --with-x or --without-x was given.
21014 if test "${with_x+set}" = set; then
21015 withval="$with_x"
21016
21017 fi;
21018 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21019 if test "x$with_x" = xno; then
21020 # The user explicitly disabled X.
21021 have_x=disabled
21022 else
21023 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21024 # Both variables are already set.
21025 have_x=yes
21026 else
21027 if test "${ac_cv_have_x+set}" = set; then
21028 echo $ECHO_N "(cached) $ECHO_C" >&6
21029 else
21030 # One or both of the vars are not set, and there is no cached value.
21031 ac_x_includes=no ac_x_libraries=no
21032 rm -fr conftest.dir
21033 if mkdir conftest.dir; then
21034 cd conftest.dir
21035 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21036 cat >Imakefile <<'_ACEOF'
21037 acfindx:
21038 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21039 _ACEOF
21040 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21041 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21042 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21043 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21044 for ac_extension in a so sl; do
21045 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21046 test -f $ac_im_libdir/libX11.$ac_extension; then
21047 ac_im_usrlibdir=$ac_im_libdir; break
21048 fi
21049 done
21050 # Screen out bogus values from the imake configuration. They are
21051 # bogus both because they are the default anyway, and because
21052 # using them would break gcc on systems where it needs fixed includes.
21053 case $ac_im_incroot in
21054 /usr/include) ;;
21055 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21056 esac
21057 case $ac_im_usrlibdir in
21058 /usr/lib | /lib) ;;
21059 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21060 esac
21061 fi
21062 cd ..
21063 rm -fr conftest.dir
21064 fi
21065
21066 # Standard set of common directories for X headers.
21067 # Check X11 before X11Rn because it is often a symlink to the current release.
21068 ac_x_header_dirs='
21069 /usr/X11/include
21070 /usr/X11R6/include
21071 /usr/X11R5/include
21072 /usr/X11R4/include
21073
21074 /usr/include/X11
21075 /usr/include/X11R6
21076 /usr/include/X11R5
21077 /usr/include/X11R4
21078
21079 /usr/local/X11/include
21080 /usr/local/X11R6/include
21081 /usr/local/X11R5/include
21082 /usr/local/X11R4/include
21083
21084 /usr/local/include/X11
21085 /usr/local/include/X11R6
21086 /usr/local/include/X11R5
21087 /usr/local/include/X11R4
21088
21089 /usr/X386/include
21090 /usr/x386/include
21091 /usr/XFree86/include/X11
21092
21093 /usr/include
21094 /usr/local/include
21095 /usr/unsupported/include
21096 /usr/athena/include
21097 /usr/local/x11r5/include
21098 /usr/lpp/Xamples/include
21099
21100 /usr/openwin/include
21101 /usr/openwin/share/include'
21102
21103 if test "$ac_x_includes" = no; then
21104 # Guess where to find include files, by looking for Intrinsic.h.
21105 # First, try using that file with no special directory specified.
21106 cat >conftest.$ac_ext <<_ACEOF
21107 #line $LINENO "configure"
21108 /* confdefs.h. */
21109 _ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 #include <X11/Intrinsic.h>
21114 _ACEOF
21115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21116 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21117 ac_status=$?
21118 grep -v '^ *+' conftest.er1 >conftest.err
21119 rm -f conftest.er1
21120 cat conftest.err >&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } >/dev/null; then
21123 if test -s conftest.err; then
21124 ac_cpp_err=$ac_c_preproc_warn_flag
21125 else
21126 ac_cpp_err=
21127 fi
21128 else
21129 ac_cpp_err=yes
21130 fi
21131 if test -z "$ac_cpp_err"; then
21132 # We can compile using X headers with no special include directory.
21133 ac_x_includes=
21134 else
21135 echo "$as_me: failed program was:" >&5
21136 sed 's/^/| /' conftest.$ac_ext >&5
21137
21138 for ac_dir in $ac_x_header_dirs; do
21139 if test -r "$ac_dir/X11/Intrinsic.h"; then
21140 ac_x_includes=$ac_dir
21141 break
21142 fi
21143 done
21144 fi
21145 rm -f conftest.err conftest.$ac_ext
21146 fi # $ac_x_includes = no
21147
21148 if test "$ac_x_libraries" = no; then
21149 # Check for the libraries.
21150 # See if we find them without any special options.
21151 # Don't add to $LIBS permanently.
21152 ac_save_LIBS=$LIBS
21153 LIBS="-lXt $LIBS"
21154 cat >conftest.$ac_ext <<_ACEOF
21155 #line $LINENO "configure"
21156 /* confdefs.h. */
21157 _ACEOF
21158 cat confdefs.h >>conftest.$ac_ext
21159 cat >>conftest.$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 #include <X11/Intrinsic.h>
21162 int
21163 main ()
21164 {
21165 XtMalloc (0)
21166 ;
21167 return 0;
21168 }
21169 _ACEOF
21170 rm -f conftest.$ac_objext conftest$ac_exeext
21171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21172 (eval $ac_link) 2>&5
21173 ac_status=$?
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); } &&
21176 { ac_try='test -s conftest$ac_exeext'
21177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21178 (eval $ac_try) 2>&5
21179 ac_status=$?
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); }; }; then
21182 LIBS=$ac_save_LIBS
21183 # We can link X programs with no special library path.
21184 ac_x_libraries=
21185 else
21186 echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.$ac_ext >&5
21188
21189 LIBS=$ac_save_LIBS
21190 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21191 do
21192 # Don't even attempt the hair of trying to link an X program!
21193 for ac_extension in a so sl; do
21194 if test -r $ac_dir/libXt.$ac_extension; then
21195 ac_x_libraries=$ac_dir
21196 break 2
21197 fi
21198 done
21199 done
21200 fi
21201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21202 fi # $ac_x_libraries = no
21203
21204 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21205 # Didn't find X anywhere. Cache the known absence of X.
21206 ac_cv_have_x="have_x=no"
21207 else
21208 # Record where we found X for the cache.
21209 ac_cv_have_x="have_x=yes \
21210 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21211 fi
21212 fi
21213
21214 fi
21215 eval "$ac_cv_have_x"
21216 fi # $with_x != no
21217
21218 if test "$have_x" != yes; then
21219 echo "$as_me:$LINENO: result: $have_x" >&5
21220 echo "${ECHO_T}$have_x" >&6
21221 no_x=yes
21222 else
21223 # If each of the values was on the command line, it overrides each guess.
21224 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21225 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21226 # Update the cache value to reflect the command line values.
21227 ac_cv_have_x="have_x=yes \
21228 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21229 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21230 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21231 fi
21232
21233 if test "$no_x" = yes; then
21234 # Not all programs may use this symbol, but it does not hurt to define it.
21235
21236 cat >>confdefs.h <<\_ACEOF
21237 #define X_DISPLAY_MISSING 1
21238 _ACEOF
21239
21240 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21241 else
21242 if test -n "$x_includes"; then
21243 X_CFLAGS="$X_CFLAGS -I$x_includes"
21244 fi
21245
21246 # It would also be nice to do this for all -L options, not just this one.
21247 if test -n "$x_libraries"; then
21248 X_LIBS="$X_LIBS -L$x_libraries"
21249 # For Solaris; some versions of Sun CC require a space after -R and
21250 # others require no space. Words are not sufficient . . . .
21251 case `(uname -sr) 2>/dev/null` in
21252 "SunOS 5"*)
21253 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21254 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21255 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21256 cat >conftest.$ac_ext <<_ACEOF
21257 #line $LINENO "configure"
21258 /* confdefs.h. */
21259 _ACEOF
21260 cat confdefs.h >>conftest.$ac_ext
21261 cat >>conftest.$ac_ext <<_ACEOF
21262 /* end confdefs.h. */
21263
21264 int
21265 main ()
21266 {
21267
21268 ;
21269 return 0;
21270 }
21271 _ACEOF
21272 rm -f conftest.$ac_objext conftest$ac_exeext
21273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21274 (eval $ac_link) 2>&5
21275 ac_status=$?
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } &&
21278 { ac_try='test -s conftest$ac_exeext'
21279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21280 (eval $ac_try) 2>&5
21281 ac_status=$?
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); }; }; then
21284 ac_R_nospace=yes
21285 else
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.$ac_ext >&5
21288
21289 ac_R_nospace=no
21290 fi
21291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21292 if test $ac_R_nospace = yes; then
21293 echo "$as_me:$LINENO: result: no" >&5
21294 echo "${ECHO_T}no" >&6
21295 X_LIBS="$X_LIBS -R$x_libraries"
21296 else
21297 LIBS="$ac_xsave_LIBS -R $x_libraries"
21298 cat >conftest.$ac_ext <<_ACEOF
21299 #line $LINENO "configure"
21300 /* confdefs.h. */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305
21306 int
21307 main ()
21308 {
21309
21310 ;
21311 return 0;
21312 }
21313 _ACEOF
21314 rm -f conftest.$ac_objext conftest$ac_exeext
21315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21316 (eval $ac_link) 2>&5
21317 ac_status=$?
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } &&
21320 { ac_try='test -s conftest$ac_exeext'
21321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21322 (eval $ac_try) 2>&5
21323 ac_status=$?
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); }; }; then
21326 ac_R_space=yes
21327 else
21328 echo "$as_me: failed program was:" >&5
21329 sed 's/^/| /' conftest.$ac_ext >&5
21330
21331 ac_R_space=no
21332 fi
21333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21334 if test $ac_R_space = yes; then
21335 echo "$as_me:$LINENO: result: yes" >&5
21336 echo "${ECHO_T}yes" >&6
21337 X_LIBS="$X_LIBS -R $x_libraries"
21338 else
21339 echo "$as_me:$LINENO: result: neither works" >&5
21340 echo "${ECHO_T}neither works" >&6
21341 fi
21342 fi
21343 LIBS=$ac_xsave_LIBS
21344 esac
21345 fi
21346
21347 # Check for system-dependent libraries X programs must link with.
21348 # Do this before checking for the system-independent R6 libraries
21349 # (-lICE), since we may need -lsocket or whatever for X linking.
21350
21351 if test "$ISC" = yes; then
21352 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21353 else
21354 # Martyn Johnson says this is needed for Ultrix, if the X
21355 # libraries were built with DECnet support. And Karl Berry says
21356 # the Alpha needs dnet_stub (dnet does not exist).
21357 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21358 cat >conftest.$ac_ext <<_ACEOF
21359 #line $LINENO "configure"
21360 /* confdefs.h. */
21361 _ACEOF
21362 cat confdefs.h >>conftest.$ac_ext
21363 cat >>conftest.$ac_ext <<_ACEOF
21364 /* end confdefs.h. */
21365
21366 /* Override any gcc2 internal prototype to avoid an error. */
21367 #ifdef __cplusplus
21368 extern "C"
21369 #endif
21370 /* We use char because int might match the return type of a gcc2
21371 builtin and then its argument prototype would still apply. */
21372 char XOpenDisplay ();
21373 int
21374 main ()
21375 {
21376 XOpenDisplay ();
21377 ;
21378 return 0;
21379 }
21380 _ACEOF
21381 rm -f conftest.$ac_objext conftest$ac_exeext
21382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21383 (eval $ac_link) 2>&5
21384 ac_status=$?
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } &&
21387 { ac_try='test -s conftest$ac_exeext'
21388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21389 (eval $ac_try) 2>&5
21390 ac_status=$?
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); }; }; then
21393 :
21394 else
21395 echo "$as_me: failed program was:" >&5
21396 sed 's/^/| /' conftest.$ac_ext >&5
21397
21398 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21399 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21400 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21401 echo $ECHO_N "(cached) $ECHO_C" >&6
21402 else
21403 ac_check_lib_save_LIBS=$LIBS
21404 LIBS="-ldnet $LIBS"
21405 cat >conftest.$ac_ext <<_ACEOF
21406 #line $LINENO "configure"
21407 /* confdefs.h. */
21408 _ACEOF
21409 cat confdefs.h >>conftest.$ac_ext
21410 cat >>conftest.$ac_ext <<_ACEOF
21411 /* end confdefs.h. */
21412
21413 /* Override any gcc2 internal prototype to avoid an error. */
21414 #ifdef __cplusplus
21415 extern "C"
21416 #endif
21417 /* We use char because int might match the return type of a gcc2
21418 builtin and then its argument prototype would still apply. */
21419 char dnet_ntoa ();
21420 int
21421 main ()
21422 {
21423 dnet_ntoa ();
21424 ;
21425 return 0;
21426 }
21427 _ACEOF
21428 rm -f conftest.$ac_objext conftest$ac_exeext
21429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21430 (eval $ac_link) 2>&5
21431 ac_status=$?
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); } &&
21434 { ac_try='test -s conftest$ac_exeext'
21435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21436 (eval $ac_try) 2>&5
21437 ac_status=$?
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); }; }; then
21440 ac_cv_lib_dnet_dnet_ntoa=yes
21441 else
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.$ac_ext >&5
21444
21445 ac_cv_lib_dnet_dnet_ntoa=no
21446 fi
21447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21448 LIBS=$ac_check_lib_save_LIBS
21449 fi
21450 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21451 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21452 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21453 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21454 fi
21455
21456 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21457 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21458 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21459 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21461 else
21462 ac_check_lib_save_LIBS=$LIBS
21463 LIBS="-ldnet_stub $LIBS"
21464 cat >conftest.$ac_ext <<_ACEOF
21465 #line $LINENO "configure"
21466 /* confdefs.h. */
21467 _ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21471
21472 /* Override any gcc2 internal prototype to avoid an error. */
21473 #ifdef __cplusplus
21474 extern "C"
21475 #endif
21476 /* We use char because int might match the return type of a gcc2
21477 builtin and then its argument prototype would still apply. */
21478 char dnet_ntoa ();
21479 int
21480 main ()
21481 {
21482 dnet_ntoa ();
21483 ;
21484 return 0;
21485 }
21486 _ACEOF
21487 rm -f conftest.$ac_objext conftest$ac_exeext
21488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21489 (eval $ac_link) 2>&5
21490 ac_status=$?
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } &&
21493 { ac_try='test -s conftest$ac_exeext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21496 ac_status=$?
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21499 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21500 else
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21503
21504 ac_cv_lib_dnet_stub_dnet_ntoa=no
21505 fi
21506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21507 LIBS=$ac_check_lib_save_LIBS
21508 fi
21509 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21510 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21511 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21512 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21513 fi
21514
21515 fi
21516 fi
21517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21518 LIBS="$ac_xsave_LIBS"
21519
21520 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21521 # to get the SysV transport functions.
21522 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21523 # needs -lnsl.
21524 # The nsl library prevents programs from opening the X display
21525 # on Irix 5.2, according to T.E. Dickey.
21526 # The functions gethostbyname, getservbyname, and inet_addr are
21527 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21528 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21529 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21530 if test "${ac_cv_func_gethostbyname+set}" = set; then
21531 echo $ECHO_N "(cached) $ECHO_C" >&6
21532 else
21533 cat >conftest.$ac_ext <<_ACEOF
21534 #line $LINENO "configure"
21535 /* confdefs.h. */
21536 _ACEOF
21537 cat confdefs.h >>conftest.$ac_ext
21538 cat >>conftest.$ac_ext <<_ACEOF
21539 /* end confdefs.h. */
21540 /* System header to define __stub macros and hopefully few prototypes,
21541 which can conflict with char gethostbyname (); below.
21542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21543 <limits.h> exists even on freestanding compilers. */
21544 #ifdef __STDC__
21545 # include <limits.h>
21546 #else
21547 # include <assert.h>
21548 #endif
21549 /* Override any gcc2 internal prototype to avoid an error. */
21550 #ifdef __cplusplus
21551 extern "C"
21552 {
21553 #endif
21554 /* We use char because int might match the return type of a gcc2
21555 builtin and then its argument prototype would still apply. */
21556 char gethostbyname ();
21557 /* The GNU C library defines this for functions which it implements
21558 to always fail with ENOSYS. Some functions are actually named
21559 something starting with __ and the normal name is an alias. */
21560 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21561 choke me
21562 #else
21563 char (*f) () = gethostbyname;
21564 #endif
21565 #ifdef __cplusplus
21566 }
21567 #endif
21568
21569 int
21570 main ()
21571 {
21572 return f != gethostbyname;
21573 ;
21574 return 0;
21575 }
21576 _ACEOF
21577 rm -f conftest.$ac_objext conftest$ac_exeext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21579 (eval $ac_link) 2>&5
21580 ac_status=$?
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); } &&
21583 { ac_try='test -s conftest$ac_exeext'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21586 ac_status=$?
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; }; then
21589 ac_cv_func_gethostbyname=yes
21590 else
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.$ac_ext >&5
21593
21594 ac_cv_func_gethostbyname=no
21595 fi
21596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21597 fi
21598 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21599 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21600
21601 if test $ac_cv_func_gethostbyname = no; then
21602 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21603 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21604 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21605 echo $ECHO_N "(cached) $ECHO_C" >&6
21606 else
21607 ac_check_lib_save_LIBS=$LIBS
21608 LIBS="-lnsl $LIBS"
21609 cat >conftest.$ac_ext <<_ACEOF
21610 #line $LINENO "configure"
21611 /* confdefs.h. */
21612 _ACEOF
21613 cat confdefs.h >>conftest.$ac_ext
21614 cat >>conftest.$ac_ext <<_ACEOF
21615 /* end confdefs.h. */
21616
21617 /* Override any gcc2 internal prototype to avoid an error. */
21618 #ifdef __cplusplus
21619 extern "C"
21620 #endif
21621 /* We use char because int might match the return type of a gcc2
21622 builtin and then its argument prototype would still apply. */
21623 char gethostbyname ();
21624 int
21625 main ()
21626 {
21627 gethostbyname ();
21628 ;
21629 return 0;
21630 }
21631 _ACEOF
21632 rm -f conftest.$ac_objext conftest$ac_exeext
21633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21634 (eval $ac_link) 2>&5
21635 ac_status=$?
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } &&
21638 { ac_try='test -s conftest$ac_exeext'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21641 ac_status=$?
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; }; then
21644 ac_cv_lib_nsl_gethostbyname=yes
21645 else
21646 echo "$as_me: failed program was:" >&5
21647 sed 's/^/| /' conftest.$ac_ext >&5
21648
21649 ac_cv_lib_nsl_gethostbyname=no
21650 fi
21651 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21652 LIBS=$ac_check_lib_save_LIBS
21653 fi
21654 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21655 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21656 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21657 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21658 fi
21659
21660 if test $ac_cv_lib_nsl_gethostbyname = no; then
21661 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21662 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21663 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21664 echo $ECHO_N "(cached) $ECHO_C" >&6
21665 else
21666 ac_check_lib_save_LIBS=$LIBS
21667 LIBS="-lbsd $LIBS"
21668 cat >conftest.$ac_ext <<_ACEOF
21669 #line $LINENO "configure"
21670 /* confdefs.h. */
21671 _ACEOF
21672 cat confdefs.h >>conftest.$ac_ext
21673 cat >>conftest.$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21675
21676 /* Override any gcc2 internal prototype to avoid an error. */
21677 #ifdef __cplusplus
21678 extern "C"
21679 #endif
21680 /* We use char because int might match the return type of a gcc2
21681 builtin and then its argument prototype would still apply. */
21682 char gethostbyname ();
21683 int
21684 main ()
21685 {
21686 gethostbyname ();
21687 ;
21688 return 0;
21689 }
21690 _ACEOF
21691 rm -f conftest.$ac_objext conftest$ac_exeext
21692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21693 (eval $ac_link) 2>&5
21694 ac_status=$?
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); } &&
21697 { ac_try='test -s conftest$ac_exeext'
21698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21699 (eval $ac_try) 2>&5
21700 ac_status=$?
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); }; }; then
21703 ac_cv_lib_bsd_gethostbyname=yes
21704 else
21705 echo "$as_me: failed program was:" >&5
21706 sed 's/^/| /' conftest.$ac_ext >&5
21707
21708 ac_cv_lib_bsd_gethostbyname=no
21709 fi
21710 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21711 LIBS=$ac_check_lib_save_LIBS
21712 fi
21713 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21714 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21715 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21716 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21717 fi
21718
21719 fi
21720 fi
21721
21722 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21723 # socket/setsockopt and other routines are undefined under SCO ODT
21724 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21725 # on later versions), says Simon Leinen: it contains gethostby*
21726 # variants that don't use the name server (or something). -lsocket
21727 # must be given before -lnsl if both are needed. We assume that
21728 # if connect needs -lnsl, so does gethostbyname.
21729 echo "$as_me:$LINENO: checking for connect" >&5
21730 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21731 if test "${ac_cv_func_connect+set}" = set; then
21732 echo $ECHO_N "(cached) $ECHO_C" >&6
21733 else
21734 cat >conftest.$ac_ext <<_ACEOF
21735 #line $LINENO "configure"
21736 /* confdefs.h. */
21737 _ACEOF
21738 cat confdefs.h >>conftest.$ac_ext
21739 cat >>conftest.$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21741 /* System header to define __stub macros and hopefully few prototypes,
21742 which can conflict with char connect (); below.
21743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21744 <limits.h> exists even on freestanding compilers. */
21745 #ifdef __STDC__
21746 # include <limits.h>
21747 #else
21748 # include <assert.h>
21749 #endif
21750 /* Override any gcc2 internal prototype to avoid an error. */
21751 #ifdef __cplusplus
21752 extern "C"
21753 {
21754 #endif
21755 /* We use char because int might match the return type of a gcc2
21756 builtin and then its argument prototype would still apply. */
21757 char connect ();
21758 /* The GNU C library defines this for functions which it implements
21759 to always fail with ENOSYS. Some functions are actually named
21760 something starting with __ and the normal name is an alias. */
21761 #if defined (__stub_connect) || defined (__stub___connect)
21762 choke me
21763 #else
21764 char (*f) () = connect;
21765 #endif
21766 #ifdef __cplusplus
21767 }
21768 #endif
21769
21770 int
21771 main ()
21772 {
21773 return f != connect;
21774 ;
21775 return 0;
21776 }
21777 _ACEOF
21778 rm -f conftest.$ac_objext conftest$ac_exeext
21779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21780 (eval $ac_link) 2>&5
21781 ac_status=$?
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); } &&
21784 { ac_try='test -s conftest$ac_exeext'
21785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21786 (eval $ac_try) 2>&5
21787 ac_status=$?
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); }; }; then
21790 ac_cv_func_connect=yes
21791 else
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.$ac_ext >&5
21794
21795 ac_cv_func_connect=no
21796 fi
21797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21798 fi
21799 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21800 echo "${ECHO_T}$ac_cv_func_connect" >&6
21801
21802 if test $ac_cv_func_connect = no; then
21803 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21804 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21805 if test "${ac_cv_lib_socket_connect+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21807 else
21808 ac_check_lib_save_LIBS=$LIBS
21809 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21810 cat >conftest.$ac_ext <<_ACEOF
21811 #line $LINENO "configure"
21812 /* confdefs.h. */
21813 _ACEOF
21814 cat confdefs.h >>conftest.$ac_ext
21815 cat >>conftest.$ac_ext <<_ACEOF
21816 /* end confdefs.h. */
21817
21818 /* Override any gcc2 internal prototype to avoid an error. */
21819 #ifdef __cplusplus
21820 extern "C"
21821 #endif
21822 /* We use char because int might match the return type of a gcc2
21823 builtin and then its argument prototype would still apply. */
21824 char connect ();
21825 int
21826 main ()
21827 {
21828 connect ();
21829 ;
21830 return 0;
21831 }
21832 _ACEOF
21833 rm -f conftest.$ac_objext conftest$ac_exeext
21834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21835 (eval $ac_link) 2>&5
21836 ac_status=$?
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } &&
21839 { ac_try='test -s conftest$ac_exeext'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21842 ac_status=$?
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; }; then
21845 ac_cv_lib_socket_connect=yes
21846 else
21847 echo "$as_me: failed program was:" >&5
21848 sed 's/^/| /' conftest.$ac_ext >&5
21849
21850 ac_cv_lib_socket_connect=no
21851 fi
21852 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21853 LIBS=$ac_check_lib_save_LIBS
21854 fi
21855 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21856 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21857 if test $ac_cv_lib_socket_connect = yes; then
21858 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21859 fi
21860
21861 fi
21862
21863 # Guillermo Gomez says -lposix is necessary on A/UX.
21864 echo "$as_me:$LINENO: checking for remove" >&5
21865 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21866 if test "${ac_cv_func_remove+set}" = set; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21868 else
21869 cat >conftest.$ac_ext <<_ACEOF
21870 #line $LINENO "configure"
21871 /* confdefs.h. */
21872 _ACEOF
21873 cat confdefs.h >>conftest.$ac_ext
21874 cat >>conftest.$ac_ext <<_ACEOF
21875 /* end confdefs.h. */
21876 /* System header to define __stub macros and hopefully few prototypes,
21877 which can conflict with char remove (); below.
21878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21879 <limits.h> exists even on freestanding compilers. */
21880 #ifdef __STDC__
21881 # include <limits.h>
21882 #else
21883 # include <assert.h>
21884 #endif
21885 /* Override any gcc2 internal prototype to avoid an error. */
21886 #ifdef __cplusplus
21887 extern "C"
21888 {
21889 #endif
21890 /* We use char because int might match the return type of a gcc2
21891 builtin and then its argument prototype would still apply. */
21892 char remove ();
21893 /* The GNU C library defines this for functions which it implements
21894 to always fail with ENOSYS. Some functions are actually named
21895 something starting with __ and the normal name is an alias. */
21896 #if defined (__stub_remove) || defined (__stub___remove)
21897 choke me
21898 #else
21899 char (*f) () = remove;
21900 #endif
21901 #ifdef __cplusplus
21902 }
21903 #endif
21904
21905 int
21906 main ()
21907 {
21908 return f != remove;
21909 ;
21910 return 0;
21911 }
21912 _ACEOF
21913 rm -f conftest.$ac_objext conftest$ac_exeext
21914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21915 (eval $ac_link) 2>&5
21916 ac_status=$?
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } &&
21919 { ac_try='test -s conftest$ac_exeext'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21922 ac_status=$?
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; }; then
21925 ac_cv_func_remove=yes
21926 else
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.$ac_ext >&5
21929
21930 ac_cv_func_remove=no
21931 fi
21932 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21933 fi
21934 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21935 echo "${ECHO_T}$ac_cv_func_remove" >&6
21936
21937 if test $ac_cv_func_remove = no; then
21938 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21939 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21940 if test "${ac_cv_lib_posix_remove+set}" = set; then
21941 echo $ECHO_N "(cached) $ECHO_C" >&6
21942 else
21943 ac_check_lib_save_LIBS=$LIBS
21944 LIBS="-lposix $LIBS"
21945 cat >conftest.$ac_ext <<_ACEOF
21946 #line $LINENO "configure"
21947 /* confdefs.h. */
21948 _ACEOF
21949 cat confdefs.h >>conftest.$ac_ext
21950 cat >>conftest.$ac_ext <<_ACEOF
21951 /* end confdefs.h. */
21952
21953 /* Override any gcc2 internal prototype to avoid an error. */
21954 #ifdef __cplusplus
21955 extern "C"
21956 #endif
21957 /* We use char because int might match the return type of a gcc2
21958 builtin and then its argument prototype would still apply. */
21959 char remove ();
21960 int
21961 main ()
21962 {
21963 remove ();
21964 ;
21965 return 0;
21966 }
21967 _ACEOF
21968 rm -f conftest.$ac_objext conftest$ac_exeext
21969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21970 (eval $ac_link) 2>&5
21971 ac_status=$?
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); } &&
21974 { ac_try='test -s conftest$ac_exeext'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21977 ac_status=$?
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_cv_lib_posix_remove=yes
21981 else
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21984
21985 ac_cv_lib_posix_remove=no
21986 fi
21987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21988 LIBS=$ac_check_lib_save_LIBS
21989 fi
21990 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21991 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21992 if test $ac_cv_lib_posix_remove = yes; then
21993 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21994 fi
21995
21996 fi
21997
21998 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21999 echo "$as_me:$LINENO: checking for shmat" >&5
22000 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22001 if test "${ac_cv_func_shmat+set}" = set; then
22002 echo $ECHO_N "(cached) $ECHO_C" >&6
22003 else
22004 cat >conftest.$ac_ext <<_ACEOF
22005 #line $LINENO "configure"
22006 /* confdefs.h. */
22007 _ACEOF
22008 cat confdefs.h >>conftest.$ac_ext
22009 cat >>conftest.$ac_ext <<_ACEOF
22010 /* end confdefs.h. */
22011 /* System header to define __stub macros and hopefully few prototypes,
22012 which can conflict with char shmat (); below.
22013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22014 <limits.h> exists even on freestanding compilers. */
22015 #ifdef __STDC__
22016 # include <limits.h>
22017 #else
22018 # include <assert.h>
22019 #endif
22020 /* Override any gcc2 internal prototype to avoid an error. */
22021 #ifdef __cplusplus
22022 extern "C"
22023 {
22024 #endif
22025 /* We use char because int might match the return type of a gcc2
22026 builtin and then its argument prototype would still apply. */
22027 char shmat ();
22028 /* The GNU C library defines this for functions which it implements
22029 to always fail with ENOSYS. Some functions are actually named
22030 something starting with __ and the normal name is an alias. */
22031 #if defined (__stub_shmat) || defined (__stub___shmat)
22032 choke me
22033 #else
22034 char (*f) () = shmat;
22035 #endif
22036 #ifdef __cplusplus
22037 }
22038 #endif
22039
22040 int
22041 main ()
22042 {
22043 return f != shmat;
22044 ;
22045 return 0;
22046 }
22047 _ACEOF
22048 rm -f conftest.$ac_objext conftest$ac_exeext
22049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22050 (eval $ac_link) 2>&5
22051 ac_status=$?
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); } &&
22054 { ac_try='test -s conftest$ac_exeext'
22055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22056 (eval $ac_try) 2>&5
22057 ac_status=$?
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); }; }; then
22060 ac_cv_func_shmat=yes
22061 else
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.$ac_ext >&5
22064
22065 ac_cv_func_shmat=no
22066 fi
22067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22068 fi
22069 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22070 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22071
22072 if test $ac_cv_func_shmat = no; then
22073 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22074 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22075 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22076 echo $ECHO_N "(cached) $ECHO_C" >&6
22077 else
22078 ac_check_lib_save_LIBS=$LIBS
22079 LIBS="-lipc $LIBS"
22080 cat >conftest.$ac_ext <<_ACEOF
22081 #line $LINENO "configure"
22082 /* confdefs.h. */
22083 _ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087
22088 /* Override any gcc2 internal prototype to avoid an error. */
22089 #ifdef __cplusplus
22090 extern "C"
22091 #endif
22092 /* We use char because int might match the return type of a gcc2
22093 builtin and then its argument prototype would still apply. */
22094 char shmat ();
22095 int
22096 main ()
22097 {
22098 shmat ();
22099 ;
22100 return 0;
22101 }
22102 _ACEOF
22103 rm -f conftest.$ac_objext conftest$ac_exeext
22104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22105 (eval $ac_link) 2>&5
22106 ac_status=$?
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } &&
22109 { ac_try='test -s conftest$ac_exeext'
22110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22111 (eval $ac_try) 2>&5
22112 ac_status=$?
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); }; }; then
22115 ac_cv_lib_ipc_shmat=yes
22116 else
22117 echo "$as_me: failed program was:" >&5
22118 sed 's/^/| /' conftest.$ac_ext >&5
22119
22120 ac_cv_lib_ipc_shmat=no
22121 fi
22122 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22123 LIBS=$ac_check_lib_save_LIBS
22124 fi
22125 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22126 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22127 if test $ac_cv_lib_ipc_shmat = yes; then
22128 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22129 fi
22130
22131 fi
22132 fi
22133
22134 # Check for libraries that X11R6 Xt/Xaw programs need.
22135 ac_save_LDFLAGS=$LDFLAGS
22136 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22137 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22138 # check for ICE first), but we must link in the order -lSM -lICE or
22139 # we get undefined symbols. So assume we have SM if we have ICE.
22140 # These have to be linked with before -lX11, unlike the other
22141 # libraries we check for below, so use a different variable.
22142 # John Interrante, Karl Berry
22143 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22144 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22145 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22147 else
22148 ac_check_lib_save_LIBS=$LIBS
22149 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22150 cat >conftest.$ac_ext <<_ACEOF
22151 #line $LINENO "configure"
22152 /* confdefs.h. */
22153 _ACEOF
22154 cat confdefs.h >>conftest.$ac_ext
22155 cat >>conftest.$ac_ext <<_ACEOF
22156 /* end confdefs.h. */
22157
22158 /* Override any gcc2 internal prototype to avoid an error. */
22159 #ifdef __cplusplus
22160 extern "C"
22161 #endif
22162 /* We use char because int might match the return type of a gcc2
22163 builtin and then its argument prototype would still apply. */
22164 char IceConnectionNumber ();
22165 int
22166 main ()
22167 {
22168 IceConnectionNumber ();
22169 ;
22170 return 0;
22171 }
22172 _ACEOF
22173 rm -f conftest.$ac_objext conftest$ac_exeext
22174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22175 (eval $ac_link) 2>&5
22176 ac_status=$?
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } &&
22179 { ac_try='test -s conftest$ac_exeext'
22180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181 (eval $ac_try) 2>&5
22182 ac_status=$?
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); }; }; then
22185 ac_cv_lib_ICE_IceConnectionNumber=yes
22186 else
22187 echo "$as_me: failed program was:" >&5
22188 sed 's/^/| /' conftest.$ac_ext >&5
22189
22190 ac_cv_lib_ICE_IceConnectionNumber=no
22191 fi
22192 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22193 LIBS=$ac_check_lib_save_LIBS
22194 fi
22195 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22196 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22197 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22198 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22199 fi
22200
22201 LDFLAGS=$ac_save_LDFLAGS
22202
22203 fi
22204
22205
22206 if test "$no_x" = "yes"; then
22207 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22208 echo "$as_me: error: X11 not found" >&2;}
22209 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22210 fi
22211
22212 GUI_TK_LIBRARY="$X_LIBS"
22213 TOOLKIT_INCLUDE="$X_CFLAGS"
22214 AFMINSTALL=afminstall
22215 COMPILED_X_PROGRAM=0
22216
22217 if test "$wxUSE_NANOX" = "yes"; then
22218 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22219 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22220 if test "x$MICROWIN" = x ; then
22221 echo "$as_me:$LINENO: result: not found" >&5
22222 echo "${ECHO_T}not found" >&6
22223 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22224 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22225 { (exit 1); exit 1; }; }
22226 else
22227 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22228 echo "${ECHO_T}$MICROWIN" >&6
22229 cat >>confdefs.h <<\_ACEOF
22230 #define wxUSE_NANOX 1
22231 _ACEOF
22232
22233 fi
22234 fi
22235
22236 xpm_link=
22237 echo "$as_me:$LINENO: checking for Xpm library" >&5
22238 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22239
22240 ac_find_libraries=
22241 for ac_dir in $SEARCH_LIB /usr/lib;
22242 do
22243 for ac_extension in a so sl dylib; do
22244 if test -f "$ac_dir/libXpm.$ac_extension"; then
22245 ac_find_libraries=$ac_dir
22246 break 2
22247 fi
22248 done
22249 done
22250
22251 if test "$ac_find_libraries" != "" ; then
22252
22253 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22254 result=$?
22255 if test $result = 0; then
22256 ac_path_to_link=""
22257 else
22258 ac_path_to_link=" -L$ac_find_libraries"
22259 fi
22260
22261 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22262 xpm_link=" -lXpm"
22263 cat >>confdefs.h <<\_ACEOF
22264 #define wxHAVE_LIB_XPM 1
22265 _ACEOF
22266
22267 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22268 echo "${ECHO_T}found at $ac_find_libraries" >&6
22269 else
22270 cat >conftest.$ac_ext <<_ACEOF
22271 #line $LINENO "configure"
22272 /* confdefs.h. */
22273 _ACEOF
22274 cat confdefs.h >>conftest.$ac_ext
22275 cat >>conftest.$ac_ext <<_ACEOF
22276 /* end confdefs.h. */
22277
22278 #include <X11/xpm.h>
22279
22280 int
22281 main ()
22282 {
22283
22284 int version;
22285 version = XpmLibraryVersion();
22286
22287 ;
22288 return 0;
22289 }
22290 _ACEOF
22291 rm -f conftest.$ac_objext
22292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22293 (eval $ac_compile) 2>&5
22294 ac_status=$?
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); } &&
22297 { ac_try='test -s conftest.$ac_objext'
22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22299 (eval $ac_try) 2>&5
22300 ac_status=$?
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; }; then
22303
22304 xpm_link=" -lXpm"
22305 cat >>confdefs.h <<\_ACEOF
22306 #define wxHAVE_LIB_XPM 1
22307 _ACEOF
22308
22309 echo "$as_me:$LINENO: result: found in default search path" >&5
22310 echo "${ECHO_T}found in default search path" >&6
22311 COMPILED_X_PROGRAM=0
22312
22313 else
22314 echo "$as_me: failed program was:" >&5
22315 sed 's/^/| /' conftest.$ac_ext >&5
22316
22317
22318 echo "$as_me:$LINENO: result: no" >&5
22319 echo "${ECHO_T}no" >&6
22320 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22321 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22322
22323
22324 fi
22325 rm -f conftest.$ac_objext conftest.$ac_ext
22326 fi
22327
22328 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22329 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22330 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22331 echo $ECHO_N "(cached) $ECHO_C" >&6
22332 else
22333 ac_check_lib_save_LIBS=$LIBS
22334 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22335 cat >conftest.$ac_ext <<_ACEOF
22336 #line $LINENO "configure"
22337 /* confdefs.h. */
22338 _ACEOF
22339 cat confdefs.h >>conftest.$ac_ext
22340 cat >>conftest.$ac_ext <<_ACEOF
22341 /* end confdefs.h. */
22342
22343 /* Override any gcc2 internal prototype to avoid an error. */
22344 #ifdef __cplusplus
22345 extern "C"
22346 #endif
22347 /* We use char because int might match the return type of a gcc2
22348 builtin and then its argument prototype would still apply. */
22349 char XShapeQueryExtension ();
22350 int
22351 main ()
22352 {
22353 XShapeQueryExtension ();
22354 ;
22355 return 0;
22356 }
22357 _ACEOF
22358 rm -f conftest.$ac_objext conftest$ac_exeext
22359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22360 (eval $ac_link) 2>&5
22361 ac_status=$?
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); } &&
22364 { ac_try='test -s conftest$ac_exeext'
22365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22366 (eval $ac_try) 2>&5
22367 ac_status=$?
22368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22369 (exit $ac_status); }; }; then
22370 ac_cv_lib_Xext_XShapeQueryExtension=yes
22371 else
22372 echo "$as_me: failed program was:" >&5
22373 sed 's/^/| /' conftest.$ac_ext >&5
22374
22375 ac_cv_lib_Xext_XShapeQueryExtension=no
22376 fi
22377 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22378 LIBS=$ac_check_lib_save_LIBS
22379 fi
22380 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22381 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22382 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22383
22384 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22385 wxHAVE_XEXT_LIB=1
22386
22387 fi
22388
22389
22390 if test "$wxUSE_UNICODE" = "yes"; then
22391
22392 succeeded=no
22393
22394 if test -z "$PKG_CONFIG"; then
22395 # Extract the first word of "pkg-config", so it can be a program name with args.
22396 set dummy pkg-config; ac_word=$2
22397 echo "$as_me:$LINENO: checking for $ac_word" >&5
22398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22399 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22400 echo $ECHO_N "(cached) $ECHO_C" >&6
22401 else
22402 case $PKG_CONFIG in
22403 [\\/]* | ?:[\\/]*)
22404 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22405 ;;
22406 *)
22407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22408 for as_dir in $PATH
22409 do
22410 IFS=$as_save_IFS
22411 test -z "$as_dir" && as_dir=.
22412 for ac_exec_ext in '' $ac_executable_extensions; do
22413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22414 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22416 break 2
22417 fi
22418 done
22419 done
22420
22421 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22422 ;;
22423 esac
22424 fi
22425 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22426
22427 if test -n "$PKG_CONFIG"; then
22428 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22429 echo "${ECHO_T}$PKG_CONFIG" >&6
22430 else
22431 echo "$as_me:$LINENO: result: no" >&5
22432 echo "${ECHO_T}no" >&6
22433 fi
22434
22435 fi
22436
22437 if test "$PKG_CONFIG" = "no" ; then
22438 echo "*** The pkg-config script could not be found. Make sure it is"
22439 echo "*** in your path, or set the PKG_CONFIG environment variable"
22440 echo "*** to the full path to pkg-config."
22441 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22442 else
22443 PKG_CONFIG_MIN_VERSION=0.9.0
22444 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22445 echo "$as_me:$LINENO: checking for pangox" >&5
22446 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22447
22448 if $PKG_CONFIG --exists "pangox" ; then
22449 echo "$as_me:$LINENO: result: yes" >&5
22450 echo "${ECHO_T}yes" >&6
22451 succeeded=yes
22452
22453 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22454 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22455 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22456 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22457 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22458
22459 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22460 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22461 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22462 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22463 echo "${ECHO_T}$PANGOX_LIBS" >&6
22464 else
22465 PANGOX_CFLAGS=""
22466 PANGOX_LIBS=""
22467 ## If we have a custom action on failure, don't print errors, but
22468 ## do set a variable so people can do so.
22469 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22470
22471 fi
22472
22473
22474
22475 else
22476 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22477 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22478 fi
22479 fi
22480
22481 if test $succeeded = yes; then
22482
22483 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22484 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22485
22486 else
22487
22488 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22489 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22490 { (exit 1); exit 1; }; }
22491
22492
22493 fi
22494
22495
22496 succeeded=no
22497
22498 if test -z "$PKG_CONFIG"; then
22499 # Extract the first word of "pkg-config", so it can be a program name with args.
22500 set dummy pkg-config; ac_word=$2
22501 echo "$as_me:$LINENO: checking for $ac_word" >&5
22502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22503 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22504 echo $ECHO_N "(cached) $ECHO_C" >&6
22505 else
22506 case $PKG_CONFIG in
22507 [\\/]* | ?:[\\/]*)
22508 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22509 ;;
22510 *)
22511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22512 for as_dir in $PATH
22513 do
22514 IFS=$as_save_IFS
22515 test -z "$as_dir" && as_dir=.
22516 for ac_exec_ext in '' $ac_executable_extensions; do
22517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22518 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22520 break 2
22521 fi
22522 done
22523 done
22524
22525 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22526 ;;
22527 esac
22528 fi
22529 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22530
22531 if test -n "$PKG_CONFIG"; then
22532 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22533 echo "${ECHO_T}$PKG_CONFIG" >&6
22534 else
22535 echo "$as_me:$LINENO: result: no" >&5
22536 echo "${ECHO_T}no" >&6
22537 fi
22538
22539 fi
22540
22541 if test "$PKG_CONFIG" = "no" ; then
22542 echo "*** The pkg-config script could not be found. Make sure it is"
22543 echo "*** in your path, or set the PKG_CONFIG environment variable"
22544 echo "*** to the full path to pkg-config."
22545 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22546 else
22547 PKG_CONFIG_MIN_VERSION=0.9.0
22548 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22549 echo "$as_me:$LINENO: checking for pangoft2" >&5
22550 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22551
22552 if $PKG_CONFIG --exists "pangoft2" ; then
22553 echo "$as_me:$LINENO: result: yes" >&5
22554 echo "${ECHO_T}yes" >&6
22555 succeeded=yes
22556
22557 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22558 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22559 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22560 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22561 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22562
22563 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22564 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22565 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22566 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22567 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22568 else
22569 PANGOFT2_CFLAGS=""
22570 PANGOFT2_LIBS=""
22571 ## If we have a custom action on failure, don't print errors, but
22572 ## do set a variable so people can do so.
22573 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22574
22575 fi
22576
22577
22578
22579 else
22580 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22581 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22582 fi
22583 fi
22584
22585 if test $succeeded = yes; then
22586
22587 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22588 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22589
22590 else
22591
22592 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22593 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22594 wxUSE_PRINTING_ARCHITECTURE="no"
22595
22596
22597 fi
22598
22599
22600 succeeded=no
22601
22602 if test -z "$PKG_CONFIG"; then
22603 # Extract the first word of "pkg-config", so it can be a program name with args.
22604 set dummy pkg-config; ac_word=$2
22605 echo "$as_me:$LINENO: checking for $ac_word" >&5
22606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22607 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22608 echo $ECHO_N "(cached) $ECHO_C" >&6
22609 else
22610 case $PKG_CONFIG in
22611 [\\/]* | ?:[\\/]*)
22612 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22613 ;;
22614 *)
22615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22616 for as_dir in $PATH
22617 do
22618 IFS=$as_save_IFS
22619 test -z "$as_dir" && as_dir=.
22620 for ac_exec_ext in '' $ac_executable_extensions; do
22621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22622 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22624 break 2
22625 fi
22626 done
22627 done
22628
22629 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22630 ;;
22631 esac
22632 fi
22633 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22634
22635 if test -n "$PKG_CONFIG"; then
22636 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22637 echo "${ECHO_T}$PKG_CONFIG" >&6
22638 else
22639 echo "$as_me:$LINENO: result: no" >&5
22640 echo "${ECHO_T}no" >&6
22641 fi
22642
22643 fi
22644
22645 if test "$PKG_CONFIG" = "no" ; then
22646 echo "*** The pkg-config script could not be found. Make sure it is"
22647 echo "*** in your path, or set the PKG_CONFIG environment variable"
22648 echo "*** to the full path to pkg-config."
22649 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22650 else
22651 PKG_CONFIG_MIN_VERSION=0.9.0
22652 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22653 echo "$as_me:$LINENO: checking for pangoxft" >&5
22654 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22655
22656 if $PKG_CONFIG --exists "pangoxft" ; then
22657 echo "$as_me:$LINENO: result: yes" >&5
22658 echo "${ECHO_T}yes" >&6
22659 succeeded=yes
22660
22661 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22662 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22663 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22664 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22665 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22666
22667 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22668 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22669 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22670 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22671 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22672 else
22673 PANGOXFT_CFLAGS=""
22674 PANGOXFT_LIBS=""
22675 ## If we have a custom action on failure, don't print errors, but
22676 ## do set a variable so people can do so.
22677 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22678
22679 fi
22680
22681
22682
22683 else
22684 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22685 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22686 fi
22687 fi
22688
22689 if test $succeeded = yes; then
22690
22691 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22692 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22693
22694 else
22695
22696 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22697 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22698
22699
22700 fi
22701
22702 fi
22703
22704 wxUSE_UNIVERSAL="yes"
22705
22706 if test "$wxUSE_NANOX" = "yes"; then
22707 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22708 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"
22709 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22710 else
22711 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22712 fi
22713
22714 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22715 TOOLKIT=X11
22716 GUIDIST=X11_DIST
22717 fi
22718
22719 if test "$wxUSE_MOTIF" = 1; then
22720 if test "$no_x" = yes; then
22721 # Not all programs may use this symbol, but it does not hurt to define it.
22722
22723 cat >>confdefs.h <<\_ACEOF
22724 #define X_DISPLAY_MISSING 1
22725 _ACEOF
22726
22727 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22728 else
22729 if test -n "$x_includes"; then
22730 X_CFLAGS="$X_CFLAGS -I$x_includes"
22731 fi
22732
22733 # It would also be nice to do this for all -L options, not just this one.
22734 if test -n "$x_libraries"; then
22735 X_LIBS="$X_LIBS -L$x_libraries"
22736 # For Solaris; some versions of Sun CC require a space after -R and
22737 # others require no space. Words are not sufficient . . . .
22738 case `(uname -sr) 2>/dev/null` in
22739 "SunOS 5"*)
22740 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22741 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22742 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22743 cat >conftest.$ac_ext <<_ACEOF
22744 #line $LINENO "configure"
22745 /* confdefs.h. */
22746 _ACEOF
22747 cat confdefs.h >>conftest.$ac_ext
22748 cat >>conftest.$ac_ext <<_ACEOF
22749 /* end confdefs.h. */
22750
22751 int
22752 main ()
22753 {
22754
22755 ;
22756 return 0;
22757 }
22758 _ACEOF
22759 rm -f conftest.$ac_objext conftest$ac_exeext
22760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22761 (eval $ac_link) 2>&5
22762 ac_status=$?
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } &&
22765 { ac_try='test -s conftest$ac_exeext'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22768 ac_status=$?
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; }; then
22771 ac_R_nospace=yes
22772 else
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.$ac_ext >&5
22775
22776 ac_R_nospace=no
22777 fi
22778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22779 if test $ac_R_nospace = yes; then
22780 echo "$as_me:$LINENO: result: no" >&5
22781 echo "${ECHO_T}no" >&6
22782 X_LIBS="$X_LIBS -R$x_libraries"
22783 else
22784 LIBS="$ac_xsave_LIBS -R $x_libraries"
22785 cat >conftest.$ac_ext <<_ACEOF
22786 #line $LINENO "configure"
22787 /* confdefs.h. */
22788 _ACEOF
22789 cat confdefs.h >>conftest.$ac_ext
22790 cat >>conftest.$ac_ext <<_ACEOF
22791 /* end confdefs.h. */
22792
22793 int
22794 main ()
22795 {
22796
22797 ;
22798 return 0;
22799 }
22800 _ACEOF
22801 rm -f conftest.$ac_objext conftest$ac_exeext
22802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22803 (eval $ac_link) 2>&5
22804 ac_status=$?
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } &&
22807 { ac_try='test -s conftest$ac_exeext'
22808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22809 (eval $ac_try) 2>&5
22810 ac_status=$?
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); }; }; then
22813 ac_R_space=yes
22814 else
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.$ac_ext >&5
22817
22818 ac_R_space=no
22819 fi
22820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22821 if test $ac_R_space = yes; then
22822 echo "$as_me:$LINENO: result: yes" >&5
22823 echo "${ECHO_T}yes" >&6
22824 X_LIBS="$X_LIBS -R $x_libraries"
22825 else
22826 echo "$as_me:$LINENO: result: neither works" >&5
22827 echo "${ECHO_T}neither works" >&6
22828 fi
22829 fi
22830 LIBS=$ac_xsave_LIBS
22831 esac
22832 fi
22833
22834 # Check for system-dependent libraries X programs must link with.
22835 # Do this before checking for the system-independent R6 libraries
22836 # (-lICE), since we may need -lsocket or whatever for X linking.
22837
22838 if test "$ISC" = yes; then
22839 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22840 else
22841 # Martyn Johnson says this is needed for Ultrix, if the X
22842 # libraries were built with DECnet support. And Karl Berry says
22843 # the Alpha needs dnet_stub (dnet does not exist).
22844 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22845 cat >conftest.$ac_ext <<_ACEOF
22846 #line $LINENO "configure"
22847 /* confdefs.h. */
22848 _ACEOF
22849 cat confdefs.h >>conftest.$ac_ext
22850 cat >>conftest.$ac_ext <<_ACEOF
22851 /* end confdefs.h. */
22852
22853 /* Override any gcc2 internal prototype to avoid an error. */
22854 #ifdef __cplusplus
22855 extern "C"
22856 #endif
22857 /* We use char because int might match the return type of a gcc2
22858 builtin and then its argument prototype would still apply. */
22859 char XOpenDisplay ();
22860 int
22861 main ()
22862 {
22863 XOpenDisplay ();
22864 ;
22865 return 0;
22866 }
22867 _ACEOF
22868 rm -f conftest.$ac_objext conftest$ac_exeext
22869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22870 (eval $ac_link) 2>&5
22871 ac_status=$?
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); } &&
22874 { ac_try='test -s conftest$ac_exeext'
22875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22876 (eval $ac_try) 2>&5
22877 ac_status=$?
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; }; then
22880 :
22881 else
22882 echo "$as_me: failed program was:" >&5
22883 sed 's/^/| /' conftest.$ac_ext >&5
22884
22885 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22886 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22887 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22888 echo $ECHO_N "(cached) $ECHO_C" >&6
22889 else
22890 ac_check_lib_save_LIBS=$LIBS
22891 LIBS="-ldnet $LIBS"
22892 cat >conftest.$ac_ext <<_ACEOF
22893 #line $LINENO "configure"
22894 /* confdefs.h. */
22895 _ACEOF
22896 cat confdefs.h >>conftest.$ac_ext
22897 cat >>conftest.$ac_ext <<_ACEOF
22898 /* end confdefs.h. */
22899
22900 /* Override any gcc2 internal prototype to avoid an error. */
22901 #ifdef __cplusplus
22902 extern "C"
22903 #endif
22904 /* We use char because int might match the return type of a gcc2
22905 builtin and then its argument prototype would still apply. */
22906 char dnet_ntoa ();
22907 int
22908 main ()
22909 {
22910 dnet_ntoa ();
22911 ;
22912 return 0;
22913 }
22914 _ACEOF
22915 rm -f conftest.$ac_objext conftest$ac_exeext
22916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22917 (eval $ac_link) 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 ac_cv_lib_dnet_dnet_ntoa=yes
22928 else
22929 echo "$as_me: failed program was:" >&5
22930 sed 's/^/| /' conftest.$ac_ext >&5
22931
22932 ac_cv_lib_dnet_dnet_ntoa=no
22933 fi
22934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22935 LIBS=$ac_check_lib_save_LIBS
22936 fi
22937 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22938 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22939 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22940 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22941 fi
22942
22943 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22944 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22945 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22946 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22947 echo $ECHO_N "(cached) $ECHO_C" >&6
22948 else
22949 ac_check_lib_save_LIBS=$LIBS
22950 LIBS="-ldnet_stub $LIBS"
22951 cat >conftest.$ac_ext <<_ACEOF
22952 #line $LINENO "configure"
22953 /* confdefs.h. */
22954 _ACEOF
22955 cat confdefs.h >>conftest.$ac_ext
22956 cat >>conftest.$ac_ext <<_ACEOF
22957 /* end confdefs.h. */
22958
22959 /* Override any gcc2 internal prototype to avoid an error. */
22960 #ifdef __cplusplus
22961 extern "C"
22962 #endif
22963 /* We use char because int might match the return type of a gcc2
22964 builtin and then its argument prototype would still apply. */
22965 char dnet_ntoa ();
22966 int
22967 main ()
22968 {
22969 dnet_ntoa ();
22970 ;
22971 return 0;
22972 }
22973 _ACEOF
22974 rm -f conftest.$ac_objext conftest$ac_exeext
22975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22976 (eval $ac_link) 2>&5
22977 ac_status=$?
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } &&
22980 { ac_try='test -s conftest$ac_exeext'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22983 ac_status=$?
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; }; then
22986 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22987 else
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.$ac_ext >&5
22990
22991 ac_cv_lib_dnet_stub_dnet_ntoa=no
22992 fi
22993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22994 LIBS=$ac_check_lib_save_LIBS
22995 fi
22996 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22997 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22998 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22999 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23000 fi
23001
23002 fi
23003 fi
23004 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23005 LIBS="$ac_xsave_LIBS"
23006
23007 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23008 # to get the SysV transport functions.
23009 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23010 # needs -lnsl.
23011 # The nsl library prevents programs from opening the X display
23012 # on Irix 5.2, according to T.E. Dickey.
23013 # The functions gethostbyname, getservbyname, and inet_addr are
23014 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23015 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23016 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23017 if test "${ac_cv_func_gethostbyname+set}" = set; then
23018 echo $ECHO_N "(cached) $ECHO_C" >&6
23019 else
23020 cat >conftest.$ac_ext <<_ACEOF
23021 #line $LINENO "configure"
23022 /* confdefs.h. */
23023 _ACEOF
23024 cat confdefs.h >>conftest.$ac_ext
23025 cat >>conftest.$ac_ext <<_ACEOF
23026 /* end confdefs.h. */
23027 /* System header to define __stub macros and hopefully few prototypes,
23028 which can conflict with char gethostbyname (); below.
23029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23030 <limits.h> exists even on freestanding compilers. */
23031 #ifdef __STDC__
23032 # include <limits.h>
23033 #else
23034 # include <assert.h>
23035 #endif
23036 /* Override any gcc2 internal prototype to avoid an error. */
23037 #ifdef __cplusplus
23038 extern "C"
23039 {
23040 #endif
23041 /* We use char because int might match the return type of a gcc2
23042 builtin and then its argument prototype would still apply. */
23043 char gethostbyname ();
23044 /* The GNU C library defines this for functions which it implements
23045 to always fail with ENOSYS. Some functions are actually named
23046 something starting with __ and the normal name is an alias. */
23047 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23048 choke me
23049 #else
23050 char (*f) () = gethostbyname;
23051 #endif
23052 #ifdef __cplusplus
23053 }
23054 #endif
23055
23056 int
23057 main ()
23058 {
23059 return f != gethostbyname;
23060 ;
23061 return 0;
23062 }
23063 _ACEOF
23064 rm -f conftest.$ac_objext conftest$ac_exeext
23065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23066 (eval $ac_link) 2>&5
23067 ac_status=$?
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } &&
23070 { ac_try='test -s conftest$ac_exeext'
23071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23072 (eval $ac_try) 2>&5
23073 ac_status=$?
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); }; }; then
23076 ac_cv_func_gethostbyname=yes
23077 else
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.$ac_ext >&5
23080
23081 ac_cv_func_gethostbyname=no
23082 fi
23083 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23084 fi
23085 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23086 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23087
23088 if test $ac_cv_func_gethostbyname = no; then
23089 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23090 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23091 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23092 echo $ECHO_N "(cached) $ECHO_C" >&6
23093 else
23094 ac_check_lib_save_LIBS=$LIBS
23095 LIBS="-lnsl $LIBS"
23096 cat >conftest.$ac_ext <<_ACEOF
23097 #line $LINENO "configure"
23098 /* confdefs.h. */
23099 _ACEOF
23100 cat confdefs.h >>conftest.$ac_ext
23101 cat >>conftest.$ac_ext <<_ACEOF
23102 /* end confdefs.h. */
23103
23104 /* Override any gcc2 internal prototype to avoid an error. */
23105 #ifdef __cplusplus
23106 extern "C"
23107 #endif
23108 /* We use char because int might match the return type of a gcc2
23109 builtin and then its argument prototype would still apply. */
23110 char gethostbyname ();
23111 int
23112 main ()
23113 {
23114 gethostbyname ();
23115 ;
23116 return 0;
23117 }
23118 _ACEOF
23119 rm -f conftest.$ac_objext conftest$ac_exeext
23120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23121 (eval $ac_link) 2>&5
23122 ac_status=$?
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); } &&
23125 { ac_try='test -s conftest$ac_exeext'
23126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23127 (eval $ac_try) 2>&5
23128 ac_status=$?
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); }; }; then
23131 ac_cv_lib_nsl_gethostbyname=yes
23132 else
23133 echo "$as_me: failed program was:" >&5
23134 sed 's/^/| /' conftest.$ac_ext >&5
23135
23136 ac_cv_lib_nsl_gethostbyname=no
23137 fi
23138 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23139 LIBS=$ac_check_lib_save_LIBS
23140 fi
23141 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23142 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23143 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23144 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23145 fi
23146
23147 if test $ac_cv_lib_nsl_gethostbyname = no; then
23148 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23149 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23150 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23151 echo $ECHO_N "(cached) $ECHO_C" >&6
23152 else
23153 ac_check_lib_save_LIBS=$LIBS
23154 LIBS="-lbsd $LIBS"
23155 cat >conftest.$ac_ext <<_ACEOF
23156 #line $LINENO "configure"
23157 /* confdefs.h. */
23158 _ACEOF
23159 cat confdefs.h >>conftest.$ac_ext
23160 cat >>conftest.$ac_ext <<_ACEOF
23161 /* end confdefs.h. */
23162
23163 /* Override any gcc2 internal prototype to avoid an error. */
23164 #ifdef __cplusplus
23165 extern "C"
23166 #endif
23167 /* We use char because int might match the return type of a gcc2
23168 builtin and then its argument prototype would still apply. */
23169 char gethostbyname ();
23170 int
23171 main ()
23172 {
23173 gethostbyname ();
23174 ;
23175 return 0;
23176 }
23177 _ACEOF
23178 rm -f conftest.$ac_objext conftest$ac_exeext
23179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23180 (eval $ac_link) 2>&5
23181 ac_status=$?
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); } &&
23184 { ac_try='test -s conftest$ac_exeext'
23185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23186 (eval $ac_try) 2>&5
23187 ac_status=$?
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); }; }; then
23190 ac_cv_lib_bsd_gethostbyname=yes
23191 else
23192 echo "$as_me: failed program was:" >&5
23193 sed 's/^/| /' conftest.$ac_ext >&5
23194
23195 ac_cv_lib_bsd_gethostbyname=no
23196 fi
23197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23198 LIBS=$ac_check_lib_save_LIBS
23199 fi
23200 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23201 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23202 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23203 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23204 fi
23205
23206 fi
23207 fi
23208
23209 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23210 # socket/setsockopt and other routines are undefined under SCO ODT
23211 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23212 # on later versions), says Simon Leinen: it contains gethostby*
23213 # variants that don't use the name server (or something). -lsocket
23214 # must be given before -lnsl if both are needed. We assume that
23215 # if connect needs -lnsl, so does gethostbyname.
23216 echo "$as_me:$LINENO: checking for connect" >&5
23217 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23218 if test "${ac_cv_func_connect+set}" = set; then
23219 echo $ECHO_N "(cached) $ECHO_C" >&6
23220 else
23221 cat >conftest.$ac_ext <<_ACEOF
23222 #line $LINENO "configure"
23223 /* confdefs.h. */
23224 _ACEOF
23225 cat confdefs.h >>conftest.$ac_ext
23226 cat >>conftest.$ac_ext <<_ACEOF
23227 /* end confdefs.h. */
23228 /* System header to define __stub macros and hopefully few prototypes,
23229 which can conflict with char connect (); below.
23230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23231 <limits.h> exists even on freestanding compilers. */
23232 #ifdef __STDC__
23233 # include <limits.h>
23234 #else
23235 # include <assert.h>
23236 #endif
23237 /* Override any gcc2 internal prototype to avoid an error. */
23238 #ifdef __cplusplus
23239 extern "C"
23240 {
23241 #endif
23242 /* We use char because int might match the return type of a gcc2
23243 builtin and then its argument prototype would still apply. */
23244 char connect ();
23245 /* The GNU C library defines this for functions which it implements
23246 to always fail with ENOSYS. Some functions are actually named
23247 something starting with __ and the normal name is an alias. */
23248 #if defined (__stub_connect) || defined (__stub___connect)
23249 choke me
23250 #else
23251 char (*f) () = connect;
23252 #endif
23253 #ifdef __cplusplus
23254 }
23255 #endif
23256
23257 int
23258 main ()
23259 {
23260 return f != connect;
23261 ;
23262 return 0;
23263 }
23264 _ACEOF
23265 rm -f conftest.$ac_objext conftest$ac_exeext
23266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23267 (eval $ac_link) 2>&5
23268 ac_status=$?
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } &&
23271 { ac_try='test -s conftest$ac_exeext'
23272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23273 (eval $ac_try) 2>&5
23274 ac_status=$?
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); }; }; then
23277 ac_cv_func_connect=yes
23278 else
23279 echo "$as_me: failed program was:" >&5
23280 sed 's/^/| /' conftest.$ac_ext >&5
23281
23282 ac_cv_func_connect=no
23283 fi
23284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23285 fi
23286 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23287 echo "${ECHO_T}$ac_cv_func_connect" >&6
23288
23289 if test $ac_cv_func_connect = no; then
23290 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23291 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23292 if test "${ac_cv_lib_socket_connect+set}" = set; then
23293 echo $ECHO_N "(cached) $ECHO_C" >&6
23294 else
23295 ac_check_lib_save_LIBS=$LIBS
23296 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23297 cat >conftest.$ac_ext <<_ACEOF
23298 #line $LINENO "configure"
23299 /* confdefs.h. */
23300 _ACEOF
23301 cat confdefs.h >>conftest.$ac_ext
23302 cat >>conftest.$ac_ext <<_ACEOF
23303 /* end confdefs.h. */
23304
23305 /* Override any gcc2 internal prototype to avoid an error. */
23306 #ifdef __cplusplus
23307 extern "C"
23308 #endif
23309 /* We use char because int might match the return type of a gcc2
23310 builtin and then its argument prototype would still apply. */
23311 char connect ();
23312 int
23313 main ()
23314 {
23315 connect ();
23316 ;
23317 return 0;
23318 }
23319 _ACEOF
23320 rm -f conftest.$ac_objext conftest$ac_exeext
23321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23322 (eval $ac_link) 2>&5
23323 ac_status=$?
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); } &&
23326 { ac_try='test -s conftest$ac_exeext'
23327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23328 (eval $ac_try) 2>&5
23329 ac_status=$?
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); }; }; then
23332 ac_cv_lib_socket_connect=yes
23333 else
23334 echo "$as_me: failed program was:" >&5
23335 sed 's/^/| /' conftest.$ac_ext >&5
23336
23337 ac_cv_lib_socket_connect=no
23338 fi
23339 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23340 LIBS=$ac_check_lib_save_LIBS
23341 fi
23342 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23343 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23344 if test $ac_cv_lib_socket_connect = yes; then
23345 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23346 fi
23347
23348 fi
23349
23350 # Guillermo Gomez says -lposix is necessary on A/UX.
23351 echo "$as_me:$LINENO: checking for remove" >&5
23352 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23353 if test "${ac_cv_func_remove+set}" = set; then
23354 echo $ECHO_N "(cached) $ECHO_C" >&6
23355 else
23356 cat >conftest.$ac_ext <<_ACEOF
23357 #line $LINENO "configure"
23358 /* confdefs.h. */
23359 _ACEOF
23360 cat confdefs.h >>conftest.$ac_ext
23361 cat >>conftest.$ac_ext <<_ACEOF
23362 /* end confdefs.h. */
23363 /* System header to define __stub macros and hopefully few prototypes,
23364 which can conflict with char remove (); below.
23365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23366 <limits.h> exists even on freestanding compilers. */
23367 #ifdef __STDC__
23368 # include <limits.h>
23369 #else
23370 # include <assert.h>
23371 #endif
23372 /* Override any gcc2 internal prototype to avoid an error. */
23373 #ifdef __cplusplus
23374 extern "C"
23375 {
23376 #endif
23377 /* We use char because int might match the return type of a gcc2
23378 builtin and then its argument prototype would still apply. */
23379 char remove ();
23380 /* The GNU C library defines this for functions which it implements
23381 to always fail with ENOSYS. Some functions are actually named
23382 something starting with __ and the normal name is an alias. */
23383 #if defined (__stub_remove) || defined (__stub___remove)
23384 choke me
23385 #else
23386 char (*f) () = remove;
23387 #endif
23388 #ifdef __cplusplus
23389 }
23390 #endif
23391
23392 int
23393 main ()
23394 {
23395 return f != remove;
23396 ;
23397 return 0;
23398 }
23399 _ACEOF
23400 rm -f conftest.$ac_objext conftest$ac_exeext
23401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23402 (eval $ac_link) 2>&5
23403 ac_status=$?
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); } &&
23406 { ac_try='test -s conftest$ac_exeext'
23407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408 (eval $ac_try) 2>&5
23409 ac_status=$?
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; }; then
23412 ac_cv_func_remove=yes
23413 else
23414 echo "$as_me: failed program was:" >&5
23415 sed 's/^/| /' conftest.$ac_ext >&5
23416
23417 ac_cv_func_remove=no
23418 fi
23419 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23420 fi
23421 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23422 echo "${ECHO_T}$ac_cv_func_remove" >&6
23423
23424 if test $ac_cv_func_remove = no; then
23425 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23426 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23427 if test "${ac_cv_lib_posix_remove+set}" = set; then
23428 echo $ECHO_N "(cached) $ECHO_C" >&6
23429 else
23430 ac_check_lib_save_LIBS=$LIBS
23431 LIBS="-lposix $LIBS"
23432 cat >conftest.$ac_ext <<_ACEOF
23433 #line $LINENO "configure"
23434 /* confdefs.h. */
23435 _ACEOF
23436 cat confdefs.h >>conftest.$ac_ext
23437 cat >>conftest.$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439
23440 /* Override any gcc2 internal prototype to avoid an error. */
23441 #ifdef __cplusplus
23442 extern "C"
23443 #endif
23444 /* We use char because int might match the return type of a gcc2
23445 builtin and then its argument prototype would still apply. */
23446 char remove ();
23447 int
23448 main ()
23449 {
23450 remove ();
23451 ;
23452 return 0;
23453 }
23454 _ACEOF
23455 rm -f conftest.$ac_objext conftest$ac_exeext
23456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23457 (eval $ac_link) 2>&5
23458 ac_status=$?
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); } &&
23461 { ac_try='test -s conftest$ac_exeext'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23464 ac_status=$?
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; }; then
23467 ac_cv_lib_posix_remove=yes
23468 else
23469 echo "$as_me: failed program was:" >&5
23470 sed 's/^/| /' conftest.$ac_ext >&5
23471
23472 ac_cv_lib_posix_remove=no
23473 fi
23474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23475 LIBS=$ac_check_lib_save_LIBS
23476 fi
23477 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23478 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23479 if test $ac_cv_lib_posix_remove = yes; then
23480 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23481 fi
23482
23483 fi
23484
23485 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23486 echo "$as_me:$LINENO: checking for shmat" >&5
23487 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23488 if test "${ac_cv_func_shmat+set}" = set; then
23489 echo $ECHO_N "(cached) $ECHO_C" >&6
23490 else
23491 cat >conftest.$ac_ext <<_ACEOF
23492 #line $LINENO "configure"
23493 /* confdefs.h. */
23494 _ACEOF
23495 cat confdefs.h >>conftest.$ac_ext
23496 cat >>conftest.$ac_ext <<_ACEOF
23497 /* end confdefs.h. */
23498 /* System header to define __stub macros and hopefully few prototypes,
23499 which can conflict with char shmat (); below.
23500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23501 <limits.h> exists even on freestanding compilers. */
23502 #ifdef __STDC__
23503 # include <limits.h>
23504 #else
23505 # include <assert.h>
23506 #endif
23507 /* Override any gcc2 internal prototype to avoid an error. */
23508 #ifdef __cplusplus
23509 extern "C"
23510 {
23511 #endif
23512 /* We use char because int might match the return type of a gcc2
23513 builtin and then its argument prototype would still apply. */
23514 char shmat ();
23515 /* The GNU C library defines this for functions which it implements
23516 to always fail with ENOSYS. Some functions are actually named
23517 something starting with __ and the normal name is an alias. */
23518 #if defined (__stub_shmat) || defined (__stub___shmat)
23519 choke me
23520 #else
23521 char (*f) () = shmat;
23522 #endif
23523 #ifdef __cplusplus
23524 }
23525 #endif
23526
23527 int
23528 main ()
23529 {
23530 return f != shmat;
23531 ;
23532 return 0;
23533 }
23534 _ACEOF
23535 rm -f conftest.$ac_objext conftest$ac_exeext
23536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23537 (eval $ac_link) 2>&5
23538 ac_status=$?
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } &&
23541 { ac_try='test -s conftest$ac_exeext'
23542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23543 (eval $ac_try) 2>&5
23544 ac_status=$?
23545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546 (exit $ac_status); }; }; then
23547 ac_cv_func_shmat=yes
23548 else
23549 echo "$as_me: failed program was:" >&5
23550 sed 's/^/| /' conftest.$ac_ext >&5
23551
23552 ac_cv_func_shmat=no
23553 fi
23554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23555 fi
23556 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23557 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23558
23559 if test $ac_cv_func_shmat = no; then
23560 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23561 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23562 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23563 echo $ECHO_N "(cached) $ECHO_C" >&6
23564 else
23565 ac_check_lib_save_LIBS=$LIBS
23566 LIBS="-lipc $LIBS"
23567 cat >conftest.$ac_ext <<_ACEOF
23568 #line $LINENO "configure"
23569 /* confdefs.h. */
23570 _ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574
23575 /* Override any gcc2 internal prototype to avoid an error. */
23576 #ifdef __cplusplus
23577 extern "C"
23578 #endif
23579 /* We use char because int might match the return type of a gcc2
23580 builtin and then its argument prototype would still apply. */
23581 char shmat ();
23582 int
23583 main ()
23584 {
23585 shmat ();
23586 ;
23587 return 0;
23588 }
23589 _ACEOF
23590 rm -f conftest.$ac_objext conftest$ac_exeext
23591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23592 (eval $ac_link) 2>&5
23593 ac_status=$?
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); } &&
23596 { ac_try='test -s conftest$ac_exeext'
23597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23598 (eval $ac_try) 2>&5
23599 ac_status=$?
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); }; }; then
23602 ac_cv_lib_ipc_shmat=yes
23603 else
23604 echo "$as_me: failed program was:" >&5
23605 sed 's/^/| /' conftest.$ac_ext >&5
23606
23607 ac_cv_lib_ipc_shmat=no
23608 fi
23609 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23610 LIBS=$ac_check_lib_save_LIBS
23611 fi
23612 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23613 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23614 if test $ac_cv_lib_ipc_shmat = yes; then
23615 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23616 fi
23617
23618 fi
23619 fi
23620
23621 # Check for libraries that X11R6 Xt/Xaw programs need.
23622 ac_save_LDFLAGS=$LDFLAGS
23623 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23624 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23625 # check for ICE first), but we must link in the order -lSM -lICE or
23626 # we get undefined symbols. So assume we have SM if we have ICE.
23627 # These have to be linked with before -lX11, unlike the other
23628 # libraries we check for below, so use a different variable.
23629 # John Interrante, Karl Berry
23630 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23631 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23632 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23633 echo $ECHO_N "(cached) $ECHO_C" >&6
23634 else
23635 ac_check_lib_save_LIBS=$LIBS
23636 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23637 cat >conftest.$ac_ext <<_ACEOF
23638 #line $LINENO "configure"
23639 /* confdefs.h. */
23640 _ACEOF
23641 cat confdefs.h >>conftest.$ac_ext
23642 cat >>conftest.$ac_ext <<_ACEOF
23643 /* end confdefs.h. */
23644
23645 /* Override any gcc2 internal prototype to avoid an error. */
23646 #ifdef __cplusplus
23647 extern "C"
23648 #endif
23649 /* We use char because int might match the return type of a gcc2
23650 builtin and then its argument prototype would still apply. */
23651 char IceConnectionNumber ();
23652 int
23653 main ()
23654 {
23655 IceConnectionNumber ();
23656 ;
23657 return 0;
23658 }
23659 _ACEOF
23660 rm -f conftest.$ac_objext conftest$ac_exeext
23661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23662 (eval $ac_link) 2>&5
23663 ac_status=$?
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); } &&
23666 { ac_try='test -s conftest$ac_exeext'
23667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23668 (eval $ac_try) 2>&5
23669 ac_status=$?
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); }; }; then
23672 ac_cv_lib_ICE_IceConnectionNumber=yes
23673 else
23674 echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.$ac_ext >&5
23676
23677 ac_cv_lib_ICE_IceConnectionNumber=no
23678 fi
23679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23680 LIBS=$ac_check_lib_save_LIBS
23681 fi
23682 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23683 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23684 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23685 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23686 fi
23687
23688 LDFLAGS=$ac_save_LDFLAGS
23689
23690 fi
23691
23692
23693 if test "$no_x" = "yes"; then
23694 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23695 echo "$as_me: error: X11 not found" >&2;}
23696 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23697 fi
23698
23699 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23700 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23701 AFMINSTALL=afminstall
23702 COMPILED_X_PROGRAM=0
23703
23704 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23705 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23706
23707 ac_find_includes=
23708 for ac_dir in $SEARCH_INCLUDE /usr/include;
23709 do
23710 if test -f "$ac_dir/Xm/Xm.h"; then
23711 ac_find_includes=$ac_dir
23712 break
23713 fi
23714 done
23715
23716 if test "$ac_find_includes" != "" ; then
23717 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23718 echo "${ECHO_T}found in $ac_find_includes" >&6
23719
23720 if test "x$ac_find_includes" = "x/usr/include"; then
23721 ac_path_to_include=""
23722 else
23723 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23724 result=$?
23725 if test $result = 0; then
23726 ac_path_to_include=""
23727 else
23728 ac_path_to_include=" -I$ac_find_includes"
23729 fi
23730 fi
23731
23732 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23733 else
23734 cat >conftest.$ac_ext <<_ACEOF
23735 #line $LINENO "configure"
23736 /* confdefs.h. */
23737 _ACEOF
23738 cat confdefs.h >>conftest.$ac_ext
23739 cat >>conftest.$ac_ext <<_ACEOF
23740 /* end confdefs.h. */
23741
23742 #include <Xm/Xm.h>
23743
23744 int
23745 main ()
23746 {
23747
23748 int version;
23749 version = xmUseVersion;
23750
23751 ;
23752 return 0;
23753 }
23754 _ACEOF
23755 rm -f conftest.$ac_objext
23756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23757 (eval $ac_compile) 2>&5
23758 ac_status=$?
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); } &&
23761 { ac_try='test -s conftest.$ac_objext'
23762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23763 (eval $ac_try) 2>&5
23764 ac_status=$?
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); }; }; then
23767
23768 echo "$as_me:$LINENO: result: found in default search path" >&5
23769 echo "${ECHO_T}found in default search path" >&6
23770 COMPILED_X_PROGRAM=1
23771
23772 else
23773 echo "$as_me: failed program was:" >&5
23774 sed 's/^/| /' conftest.$ac_ext >&5
23775
23776
23777 echo "$as_me:$LINENO: result: no" >&5
23778 echo "${ECHO_T}no" >&6
23779 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23780 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23781 { (exit 1); exit 1; }; }
23782
23783
23784 fi
23785 rm -f conftest.$ac_objext conftest.$ac_ext
23786 fi
23787
23788 if test "$COMPILED_X_PROGRAM" = 0; then
23789 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23790 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23791
23792 ac_find_libraries=
23793 for ac_dir in $SEARCH_LIB /usr/lib;
23794 do
23795 for ac_extension in a so sl dylib; do
23796 if test -f "$ac_dir/libXm.$ac_extension"; then
23797 ac_find_libraries=$ac_dir
23798 break 2
23799 fi
23800 done
23801 done
23802
23803 if test "$ac_find_libraries" != "" ; then
23804 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23805 echo "${ECHO_T}found at $ac_find_libraries" >&6
23806
23807
23808 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23809 result=$?
23810 if test $result = 0; then
23811 ac_path_to_link=""
23812 else
23813 ac_path_to_link=" -L$ac_find_libraries"
23814 fi
23815
23816 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23817 else
23818 save_CFLAGS=$CFLAGS
23819 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23820
23821 cat >conftest.$ac_ext <<_ACEOF
23822 #line $LINENO "configure"
23823 /* confdefs.h. */
23824 _ACEOF
23825 cat confdefs.h >>conftest.$ac_ext
23826 cat >>conftest.$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23828
23829 #include <Xm/Xm.h>
23830
23831 int
23832 main ()
23833 {
23834
23835 int version;
23836 version = xmUseVersion;
23837
23838 ;
23839 return 0;
23840 }
23841 _ACEOF
23842 rm -f conftest.$ac_objext
23843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23844 (eval $ac_compile) 2>&5
23845 ac_status=$?
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); } &&
23848 { ac_try='test -s conftest.$ac_objext'
23849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23850 (eval $ac_try) 2>&5
23851 ac_status=$?
23852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23853 (exit $ac_status); }; }; then
23854
23855 echo "$as_me:$LINENO: result: found in default search path" >&5
23856 echo "${ECHO_T}found in default search path" >&6
23857 COMPILED_X_PROGRAM=1
23858
23859 else
23860 echo "$as_me: failed program was:" >&5
23861 sed 's/^/| /' conftest.$ac_ext >&5
23862
23863
23864 echo "$as_me:$LINENO: result: no" >&5
23865 echo "${ECHO_T}no" >&6
23866 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23867 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23868 { (exit 1); exit 1; }; }
23869
23870
23871 fi
23872 rm -f conftest.$ac_objext conftest.$ac_ext
23873
23874 CFLAGS=$save_CFLAGS
23875 fi
23876 fi
23877
23878 xpm_link=
23879 echo "$as_me:$LINENO: checking for Xpm library" >&5
23880 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23881
23882 ac_find_libraries=
23883 for ac_dir in $SEARCH_LIB /usr/lib;
23884 do
23885 for ac_extension in a so sl dylib; do
23886 if test -f "$ac_dir/libXpm.$ac_extension"; then
23887 ac_find_libraries=$ac_dir
23888 break 2
23889 fi
23890 done
23891 done
23892
23893 if test "$ac_find_libraries" != "" ; then
23894
23895 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23896 result=$?
23897 if test $result = 0; then
23898 ac_path_to_link=""
23899 else
23900 ac_path_to_link=" -L$ac_find_libraries"
23901 fi
23902
23903 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23904
23905 xpm_link=" -lXpm"
23906 cat >>confdefs.h <<\_ACEOF
23907 #define wxHAVE_LIB_XPM 1
23908 _ACEOF
23909
23910 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23911 echo "${ECHO_T}found at $ac_find_libraries" >&6
23912 else
23913 save_CFLAGS=$CFLAGS
23914 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23915
23916 cat >conftest.$ac_ext <<_ACEOF
23917 #line $LINENO "configure"
23918 /* confdefs.h. */
23919 _ACEOF
23920 cat confdefs.h >>conftest.$ac_ext
23921 cat >>conftest.$ac_ext <<_ACEOF
23922 /* end confdefs.h. */
23923
23924 #include <X11/xpm.h>
23925
23926 int
23927 main ()
23928 {
23929
23930 int version;
23931 version = XpmLibraryVersion();
23932
23933 ;
23934 return 0;
23935 }
23936 _ACEOF
23937 rm -f conftest.$ac_objext
23938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23939 (eval $ac_compile) 2>&5
23940 ac_status=$?
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } &&
23943 { ac_try='test -s conftest.$ac_objext'
23944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23945 (eval $ac_try) 2>&5
23946 ac_status=$?
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); }; }; then
23949
23950 xpm_link=" -lXpm"
23951 cat >>confdefs.h <<\_ACEOF
23952 #define wxHAVE_LIB_XPM 1
23953 _ACEOF
23954
23955 echo "$as_me:$LINENO: result: found in default search path" >&5
23956 echo "${ECHO_T}found in default search path" >&6
23957 COMPILED_X_PROGRAM=0
23958
23959 else
23960 echo "$as_me: failed program was:" >&5
23961 sed 's/^/| /' conftest.$ac_ext >&5
23962
23963
23964 echo "$as_me:$LINENO: result: no" >&5
23965 echo "${ECHO_T}no" >&6
23966 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23967 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23968
23969
23970 fi
23971 rm -f conftest.$ac_objext conftest.$ac_ext
23972
23973 CFLAGS=$save_CFLAGS
23974 fi
23975
23976 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23977 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23978 libp_link=""
23979 libsm_ice_link=""
23980 libs_found=0
23981 for libp in "" " -lXp"; do
23982 if test "$libs_found" = "0"; then
23983 for libsm_ice in " -lSM -lICE"; do
23984 if test "$libs_found" = "0"; then
23985 save_LIBS="$LIBS"
23986 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23987 save_CFLAGS=$CFLAGS
23988 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23989
23990 cat >conftest.$ac_ext <<_ACEOF
23991 #line $LINENO "configure"
23992 /* confdefs.h. */
23993 _ACEOF
23994 cat confdefs.h >>conftest.$ac_ext
23995 cat >>conftest.$ac_ext <<_ACEOF
23996 /* end confdefs.h. */
23997
23998 #include <Xm/Xm.h>
23999 #include <Xm/List.h>
24000
24001 int
24002 main ()
24003 {
24004
24005 XmString string = NULL;
24006 Widget w = NULL;
24007 int position = 0;
24008 XmListAddItem(w, string, position);
24009
24010 ;
24011 return 0;
24012 }
24013 _ACEOF
24014 rm -f conftest.$ac_objext conftest$ac_exeext
24015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24016 (eval $ac_link) 2>&5
24017 ac_status=$?
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); } &&
24020 { ac_try='test -s conftest$ac_exeext'
24021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022 (eval $ac_try) 2>&5
24023 ac_status=$?
24024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025 (exit $ac_status); }; }; then
24026
24027 libp_link="$libp"
24028 libsm_ice_link="$libsm_ice"
24029 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24030 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24031 libs_found=1
24032
24033 else
24034 echo "$as_me: failed program was:" >&5
24035 sed 's/^/| /' conftest.$ac_ext >&5
24036
24037
24038
24039 fi
24040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24041
24042 LIBS="$save_LIBS"
24043 CFLAGS=$save_CFLAGS
24044 fi
24045 done
24046 fi
24047 done
24048
24049 if test "$libs_found" = "0"; then
24050 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24051 echo "${ECHO_T}can't find the right libraries" >&6
24052 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24053 echo "$as_me: error: can't link a simple motif program" >&2;}
24054 { (exit 1); exit 1; }; }
24055 fi
24056
24057 save_CFLAGS=$CFLAGS
24058 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24059 echo "$as_me:$LINENO: checking for Motif 2" >&5
24060 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24061 cat >conftest.$ac_ext <<_ACEOF
24062 #line $LINENO "configure"
24063 /* confdefs.h. */
24064 _ACEOF
24065 cat confdefs.h >>conftest.$ac_ext
24066 cat >>conftest.$ac_ext <<_ACEOF
24067 /* end confdefs.h. */
24068
24069 #include <Xm/Xm.h>
24070
24071 int
24072 main ()
24073 {
24074
24075 #if XmVersion < 2000
24076 #error "Not Motif 2"
24077 #endif
24078
24079 ;
24080 return 0;
24081 }
24082 _ACEOF
24083 rm -f conftest.$ac_objext
24084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24085 (eval $ac_compile) 2>&5
24086 ac_status=$?
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } &&
24089 { ac_try='test -s conftest.$ac_objext'
24090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24091 (eval $ac_try) 2>&5
24092 ac_status=$?
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); }; }; then
24095
24096 cat >>confdefs.h <<\_ACEOF
24097 #define __WXMOTIF20__ 1
24098 _ACEOF
24099
24100 echo "$as_me:$LINENO: result: found" >&5
24101 echo "${ECHO_T}found" >&6
24102
24103 else
24104 echo "$as_me: failed program was:" >&5
24105 sed 's/^/| /' conftest.$ac_ext >&5
24106
24107
24108 cat >>confdefs.h <<\_ACEOF
24109 #define __WXMOTIF20__ 0
24110 _ACEOF
24111
24112 echo "$as_me:$LINENO: result: not found" >&5
24113 echo "${ECHO_T}not found" >&6
24114
24115 fi
24116 rm -f conftest.$ac_objext conftest.$ac_ext
24117 CFLAGS=$save_CFLAGS
24118
24119 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24120 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24121 TOOLKIT=MOTIF
24122 GUIDIST=MOTIF_DIST
24123 wxHAVE_XEXT_LIB=1
24124 fi
24125
24126 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24127 test "$wxHAVE_XEXT_LIB" = 1; then
24128 save_CFLAGS="$CFLAGS"
24129 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24130
24131 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24132 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24133 cat >conftest.$ac_ext <<_ACEOF
24134 #line $LINENO "configure"
24135 /* confdefs.h. */
24136 _ACEOF
24137 cat confdefs.h >>conftest.$ac_ext
24138 cat >>conftest.$ac_ext <<_ACEOF
24139 /* end confdefs.h. */
24140
24141 #include <X11/Xlib.h>
24142 #include <X11/extensions/shape.h>
24143
24144 int
24145 main ()
24146 {
24147
24148 int dummy1, dummy2;
24149 XShapeQueryExtension((Display*)NULL,
24150 (int*)NULL, (int*)NULL);
24151
24152 ;
24153 return 0;
24154 }
24155 _ACEOF
24156 rm -f conftest.$ac_objext
24157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24158 (eval $ac_compile) 2>&5
24159 ac_status=$?
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); } &&
24162 { ac_try='test -s conftest.$ac_objext'
24163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24164 (eval $ac_try) 2>&5
24165 ac_status=$?
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); }; }; then
24168
24169 cat >>confdefs.h <<\_ACEOF
24170 #define HAVE_XSHAPE 1
24171 _ACEOF
24172
24173 echo "$as_me:$LINENO: result: found" >&5
24174 echo "${ECHO_T}found" >&6
24175
24176 else
24177 echo "$as_me: failed program was:" >&5
24178 sed 's/^/| /' conftest.$ac_ext >&5
24179
24180
24181 echo "$as_me:$LINENO: result: not found" >&5
24182 echo "${ECHO_T}not found" >&6
24183
24184 fi
24185 rm -f conftest.$ac_objext conftest.$ac_ext
24186 CFLAGS="$save_CFLAGS"
24187 fi
24188
24189 if test "$wxUSE_MAC" = 1; then
24190 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24191
24192 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24193 TOOLKIT=MAC
24194 GUIDIST=MACX_DIST
24195 WXBASEPORT="_carbon"
24196 fi
24197
24198 if test "$wxUSE_COCOA" = 1; then
24199 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24200 TOOLKIT=COCOA
24201 GUIDIST=COCOA_DIST
24202 fi
24203
24204 if test "$wxUSE_PM" = 1; then
24205 TOOLKIT=PM
24206 GUIDIST=GTK_DIST
24207 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24208 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24209 wxUSE_THREADS="no"
24210 fi
24211
24212 if test "$TOOLKIT" = "PM" ; then
24213 TOOLKIT_DIR="os2"
24214 else
24215 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24216 fi
24217
24218 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24219
24220 if test "$wxUSE_UNIVERSAL" = "yes"; then
24221 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24222
24223 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24224 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24225
24226 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24227 if test "$wxUSE_X11" = 1; then
24228 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24229 else
24230 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24231 fi
24232 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24233 WIDGET_SET=univ
24234 else
24235 ALL_OBJECTS="\$(GUIOBJS)"
24236 ALL_SOURCES="\$(ALL_SOURCES)"
24237 ALL_HEADERS="\$(ALL_HEADERS)"
24238 fi
24239
24240 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24241
24242 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24243 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24244 fi
24245
24246 if test "$wxUSE_HTML" = "yes"; then
24247 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24248 fi
24249
24250 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24251 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24252 fi
24253 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24254 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24255 fi
24256 if test "$wxUSE_LIBPNG" = "builtin" ; then
24257 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24258 fi
24259
24260 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24261 DISTDIR="wx\$(TOOLKIT)"
24262 else
24263 USE_GUI=0
24264
24265 TOOLKIT_DIR="base"
24266
24267 if test "$USE_WIN32" = 1 ; then
24268 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24269 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24270
24271 TOOLKIT="MSW"
24272 else
24273 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24274 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24275 fi
24276
24277 ALL_SOURCES="\$(ALL_SOURCES)"
24278 ALL_HEADERS="\$(ALL_HEADERS)"
24279
24280 PORT_FILES="\${top_srcdir}/src/files.lst"
24281
24282 GUIDIST="BASE_DIST"
24283 DISTDIR="wxBase"
24284 fi
24285
24286
24287
24288
24289 IODBC_C_SRC=""
24290
24291
24292 if test "$TOOLKIT" != "MSW" ; then
24293
24294 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24295
24296 if test "${ac_cv_header_sql_h+set}" = set; then
24297 echo "$as_me:$LINENO: checking for sql.h" >&5
24298 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24299 if test "${ac_cv_header_sql_h+set}" = set; then
24300 echo $ECHO_N "(cached) $ECHO_C" >&6
24301 fi
24302 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24303 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24304 else
24305 # Is the header compilable?
24306 echo "$as_me:$LINENO: checking sql.h usability" >&5
24307 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24308 cat >conftest.$ac_ext <<_ACEOF
24309 #line $LINENO "configure"
24310 /* confdefs.h. */
24311 _ACEOF
24312 cat confdefs.h >>conftest.$ac_ext
24313 cat >>conftest.$ac_ext <<_ACEOF
24314 /* end confdefs.h. */
24315 $ac_includes_default
24316 #include <sql.h>
24317 _ACEOF
24318 rm -f conftest.$ac_objext
24319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24320 (eval $ac_compile) 2>&5
24321 ac_status=$?
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); } &&
24324 { ac_try='test -s conftest.$ac_objext'
24325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24326 (eval $ac_try) 2>&5
24327 ac_status=$?
24328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329 (exit $ac_status); }; }; then
24330 ac_header_compiler=yes
24331 else
24332 echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.$ac_ext >&5
24334
24335 ac_header_compiler=no
24336 fi
24337 rm -f conftest.$ac_objext conftest.$ac_ext
24338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24339 echo "${ECHO_T}$ac_header_compiler" >&6
24340
24341 # Is the header present?
24342 echo "$as_me:$LINENO: checking sql.h presence" >&5
24343 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24344 cat >conftest.$ac_ext <<_ACEOF
24345 #line $LINENO "configure"
24346 /* confdefs.h. */
24347 _ACEOF
24348 cat confdefs.h >>conftest.$ac_ext
24349 cat >>conftest.$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24351 #include <sql.h>
24352 _ACEOF
24353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24355 ac_status=$?
24356 grep -v '^ *+' conftest.er1 >conftest.err
24357 rm -f conftest.er1
24358 cat conftest.err >&5
24359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360 (exit $ac_status); } >/dev/null; then
24361 if test -s conftest.err; then
24362 ac_cpp_err=$ac_c_preproc_warn_flag
24363 else
24364 ac_cpp_err=
24365 fi
24366 else
24367 ac_cpp_err=yes
24368 fi
24369 if test -z "$ac_cpp_err"; then
24370 ac_header_preproc=yes
24371 else
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.$ac_ext >&5
24374
24375 ac_header_preproc=no
24376 fi
24377 rm -f conftest.err conftest.$ac_ext
24378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24379 echo "${ECHO_T}$ac_header_preproc" >&6
24380
24381 # So? What about this header?
24382 case $ac_header_compiler:$ac_header_preproc in
24383 yes:no )
24384 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24385 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24386 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24387 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24388 (
24389 cat <<\_ASBOX
24390 ## ------------------------------------ ##
24391 ## Report this to bug-autoconf@gnu.org. ##
24392 ## ------------------------------------ ##
24393 _ASBOX
24394 ) |
24395 sed "s/^/$as_me: WARNING: /" >&2
24396 ;;
24397 no:yes )
24398 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24399 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24400 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24401 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24402 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24403 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24404 (
24405 cat <<\_ASBOX
24406 ## ------------------------------------ ##
24407 ## Report this to bug-autoconf@gnu.org. ##
24408 ## ------------------------------------ ##
24409 _ASBOX
24410 ) |
24411 sed "s/^/$as_me: WARNING: /" >&2
24412 ;;
24413 esac
24414 echo "$as_me:$LINENO: checking for sql.h" >&5
24415 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24416 if test "${ac_cv_header_sql_h+set}" = set; then
24417 echo $ECHO_N "(cached) $ECHO_C" >&6
24418 else
24419 ac_cv_header_sql_h=$ac_header_preproc
24420 fi
24421 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24422 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24423
24424 fi
24425 if test $ac_cv_header_sql_h = yes; then
24426 found_sql_h=1
24427 fi
24428
24429
24430 if test "x$found_sql_h" = "x1" ; then
24431 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24432 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24433 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24434 echo $ECHO_N "(cached) $ECHO_C" >&6
24435 else
24436 ac_check_lib_save_LIBS=$LIBS
24437 LIBS="-lSQLAllocEnv $LIBS"
24438 cat >conftest.$ac_ext <<_ACEOF
24439 #line $LINENO "configure"
24440 /* confdefs.h. */
24441 _ACEOF
24442 cat confdefs.h >>conftest.$ac_ext
24443 cat >>conftest.$ac_ext <<_ACEOF
24444 /* end confdefs.h. */
24445
24446 /* Override any gcc2 internal prototype to avoid an error. */
24447 #ifdef __cplusplus
24448 extern "C"
24449 #endif
24450 /* We use char because int might match the return type of a gcc2
24451 builtin and then its argument prototype would still apply. */
24452 char iodbc ();
24453 int
24454 main ()
24455 {
24456 iodbc ();
24457 ;
24458 return 0;
24459 }
24460 _ACEOF
24461 rm -f conftest.$ac_objext conftest$ac_exeext
24462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24463 (eval $ac_link) 2>&5
24464 ac_status=$?
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); } &&
24467 { ac_try='test -s conftest$ac_exeext'
24468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24469 (eval $ac_try) 2>&5
24470 ac_status=$?
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); }; }; then
24473 ac_cv_lib_SQLAllocEnv_iodbc=yes
24474 else
24475 echo "$as_me: failed program was:" >&5
24476 sed 's/^/| /' conftest.$ac_ext >&5
24477
24478 ac_cv_lib_SQLAllocEnv_iodbc=no
24479 fi
24480 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24481 LIBS=$ac_check_lib_save_LIBS
24482 fi
24483 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24484 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24485 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24486 ODBC_LINK=" -liodbc"
24487 else
24488
24489 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24490 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24491 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24492 echo $ECHO_N "(cached) $ECHO_C" >&6
24493 else
24494 ac_check_lib_save_LIBS=$LIBS
24495 LIBS="-lSQLAllocEnv $LIBS"
24496 cat >conftest.$ac_ext <<_ACEOF
24497 #line $LINENO "configure"
24498 /* confdefs.h. */
24499 _ACEOF
24500 cat confdefs.h >>conftest.$ac_ext
24501 cat >>conftest.$ac_ext <<_ACEOF
24502 /* end confdefs.h. */
24503
24504 /* Override any gcc2 internal prototype to avoid an error. */
24505 #ifdef __cplusplus
24506 extern "C"
24507 #endif
24508 /* We use char because int might match the return type of a gcc2
24509 builtin and then its argument prototype would still apply. */
24510 char unixodbc ();
24511 int
24512 main ()
24513 {
24514 unixodbc ();
24515 ;
24516 return 0;
24517 }
24518 _ACEOF
24519 rm -f conftest.$ac_objext conftest$ac_exeext
24520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24521 (eval $ac_link) 2>&5
24522 ac_status=$?
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); } &&
24525 { ac_try='test -s conftest$ac_exeext'
24526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24527 (eval $ac_try) 2>&5
24528 ac_status=$?
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); }; }; then
24531 ac_cv_lib_SQLAllocEnv_unixodbc=yes
24532 else
24533 echo "$as_me: failed program was:" >&5
24534 sed 's/^/| /' conftest.$ac_ext >&5
24535
24536 ac_cv_lib_SQLAllocEnv_unixodbc=no
24537 fi
24538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24539 LIBS=$ac_check_lib_save_LIBS
24540 fi
24541 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24542 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24543 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24544 ODBC_LINK=" -lunixodbc"
24545 else
24546
24547 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24548 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24549 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24550 echo $ECHO_N "(cached) $ECHO_C" >&6
24551 else
24552 ac_check_lib_save_LIBS=$LIBS
24553 LIBS="-lSQLAllocEnv $LIBS"
24554 cat >conftest.$ac_ext <<_ACEOF
24555 #line $LINENO "configure"
24556 /* confdefs.h. */
24557 _ACEOF
24558 cat confdefs.h >>conftest.$ac_ext
24559 cat >>conftest.$ac_ext <<_ACEOF
24560 /* end confdefs.h. */
24561
24562 /* Override any gcc2 internal prototype to avoid an error. */
24563 #ifdef __cplusplus
24564 extern "C"
24565 #endif
24566 /* We use char because int might match the return type of a gcc2
24567 builtin and then its argument prototype would still apply. */
24568 char odbc ();
24569 int
24570 main ()
24571 {
24572 odbc ();
24573 ;
24574 return 0;
24575 }
24576 _ACEOF
24577 rm -f conftest.$ac_objext conftest$ac_exeext
24578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24579 (eval $ac_link) 2>&5
24580 ac_status=$?
24581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24582 (exit $ac_status); } &&
24583 { ac_try='test -s conftest$ac_exeext'
24584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24585 (eval $ac_try) 2>&5
24586 ac_status=$?
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); }; }; then
24589 ac_cv_lib_SQLAllocEnv_odbc=yes
24590 else
24591 echo "$as_me: failed program was:" >&5
24592 sed 's/^/| /' conftest.$ac_ext >&5
24593
24594 ac_cv_lib_SQLAllocEnv_odbc=no
24595 fi
24596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24597 LIBS=$ac_check_lib_save_LIBS
24598 fi
24599 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24600 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24601 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24602 ODBC_LINK=" -lodbc"
24603 fi
24604
24605
24606 fi
24607
24608
24609 fi
24610
24611 fi
24612 if test "x$ODBC_LINK" = "x" ; then
24613 if test "$wxUSE_ODBC" = "sys" ; then
24614 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24615 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24616 { (exit 1); exit 1; }; }
24617 else
24618 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24619 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24620 wxUSE_ODBC=builtin
24621 fi
24622 else
24623 wxUSE_ODBC=sys
24624 fi
24625 fi
24626 if test "$wxUSE_ODBC" != "no" ; then
24627 cat >>confdefs.h <<\_ACEOF
24628 #define wxUSE_ODBC 1
24629 _ACEOF
24630
24631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24632
24633 WXODBCFLAG="-D_IODBC_"
24634 fi
24635 fi
24636
24637 if test "$wxUSE_REGEX" = "builtin" ; then
24638 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24639 fi
24640 if test "$wxUSE_ZLIB" = "builtin" ; then
24641 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24642 fi
24643
24644
24645 USE_OPENGL=0
24646 if test "$wxUSE_OPENGL" = "yes"; then
24647 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24648 OPENGL_LIBS="-framework OpenGL -framework AGL"
24649 elif test "$wxUSE_MSW" = 1; then
24650 OPENGL_LIBS="-lopengl32 -lglu32"
24651 else
24652
24653
24654 ac_find_includes=
24655 for ac_dir in $SEARCH_INCLUDE /usr/include;
24656 do
24657 if test -f "$ac_dir/GL/gl.h"; then
24658 ac_find_includes=$ac_dir
24659 break
24660 fi
24661 done
24662
24663 if test "$ac_find_includes" != "" ; then
24664 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24665 echo "${ECHO_T}found in $ac_find_includes" >&6
24666
24667 if test "x$ac_find_includes" = "x/usr/include"; then
24668 ac_path_to_include=""
24669 else
24670 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24671 result=$?
24672 if test $result = 0; then
24673 ac_path_to_include=""
24674 else
24675 ac_path_to_include=" -I$ac_find_includes"
24676 fi
24677 fi
24678
24679 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24680 fi
24681
24682 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24683 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24684 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24685 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24686 echo $ECHO_N "(cached) $ECHO_C" >&6
24687 fi
24688 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24689 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24690 else
24691 # Is the header compilable?
24692 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24693 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24694 cat >conftest.$ac_ext <<_ACEOF
24695 #line $LINENO "configure"
24696 /* confdefs.h. */
24697 _ACEOF
24698 cat confdefs.h >>conftest.$ac_ext
24699 cat >>conftest.$ac_ext <<_ACEOF
24700 /* end confdefs.h. */
24701 $ac_includes_default
24702 #include <GL/gl.h>
24703 _ACEOF
24704 rm -f conftest.$ac_objext
24705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24706 (eval $ac_compile) 2>&5
24707 ac_status=$?
24708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24709 (exit $ac_status); } &&
24710 { ac_try='test -s conftest.$ac_objext'
24711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24712 (eval $ac_try) 2>&5
24713 ac_status=$?
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); }; }; then
24716 ac_header_compiler=yes
24717 else
24718 echo "$as_me: failed program was:" >&5
24719 sed 's/^/| /' conftest.$ac_ext >&5
24720
24721 ac_header_compiler=no
24722 fi
24723 rm -f conftest.$ac_objext conftest.$ac_ext
24724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24725 echo "${ECHO_T}$ac_header_compiler" >&6
24726
24727 # Is the header present?
24728 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24729 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24730 cat >conftest.$ac_ext <<_ACEOF
24731 #line $LINENO "configure"
24732 /* confdefs.h. */
24733 _ACEOF
24734 cat confdefs.h >>conftest.$ac_ext
24735 cat >>conftest.$ac_ext <<_ACEOF
24736 /* end confdefs.h. */
24737 #include <GL/gl.h>
24738 _ACEOF
24739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24740 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24741 ac_status=$?
24742 grep -v '^ *+' conftest.er1 >conftest.err
24743 rm -f conftest.er1
24744 cat conftest.err >&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } >/dev/null; then
24747 if test -s conftest.err; then
24748 ac_cpp_err=$ac_c_preproc_warn_flag
24749 else
24750 ac_cpp_err=
24751 fi
24752 else
24753 ac_cpp_err=yes
24754 fi
24755 if test -z "$ac_cpp_err"; then
24756 ac_header_preproc=yes
24757 else
24758 echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.$ac_ext >&5
24760
24761 ac_header_preproc=no
24762 fi
24763 rm -f conftest.err conftest.$ac_ext
24764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24765 echo "${ECHO_T}$ac_header_preproc" >&6
24766
24767 # So? What about this header?
24768 case $ac_header_compiler:$ac_header_preproc in
24769 yes:no )
24770 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24771 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24772 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24773 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24774 (
24775 cat <<\_ASBOX
24776 ## ------------------------------------ ##
24777 ## Report this to bug-autoconf@gnu.org. ##
24778 ## ------------------------------------ ##
24779 _ASBOX
24780 ) |
24781 sed "s/^/$as_me: WARNING: /" >&2
24782 ;;
24783 no:yes )
24784 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24785 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24786 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24787 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24788 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24789 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24790 (
24791 cat <<\_ASBOX
24792 ## ------------------------------------ ##
24793 ## Report this to bug-autoconf@gnu.org. ##
24794 ## ------------------------------------ ##
24795 _ASBOX
24796 ) |
24797 sed "s/^/$as_me: WARNING: /" >&2
24798 ;;
24799 esac
24800 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24801 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24802 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24803 echo $ECHO_N "(cached) $ECHO_C" >&6
24804 else
24805 ac_cv_header_GL_gl_h=$ac_header_preproc
24806 fi
24807 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24808 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24809
24810 fi
24811 if test $ac_cv_header_GL_gl_h = yes; then
24812
24813 found_gl=0
24814
24815 echo "$as_me:$LINENO: checking for -lGL" >&5
24816 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24817
24818 ac_find_libraries=
24819 for ac_dir in $SEARCH_LIB /usr/lib;
24820 do
24821 for ac_extension in a so sl dylib; do
24822 if test -f "$ac_dir/libGL.$ac_extension"; then
24823 ac_find_libraries=$ac_dir
24824 break 2
24825 fi
24826 done
24827 done
24828
24829 if test "$ac_find_libraries" != "" ; then
24830
24831 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24832 result=$?
24833 if test $result = 0; then
24834 ac_path_to_link=""
24835 else
24836 ac_path_to_link=" -L$ac_find_libraries"
24837 fi
24838
24839 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24840 LDFLAGS_GL="$ac_path_to_link"
24841 fi
24842
24843
24844 ac_find_libraries=
24845 for ac_dir in $SEARCH_LIB /usr/lib;
24846 do
24847 for ac_extension in a so sl dylib; do
24848 if test -f "$ac_dir/libGLU.$ac_extension"; then
24849 ac_find_libraries=$ac_dir
24850 break 2
24851 fi
24852 done
24853 done
24854
24855 if test "$ac_find_libraries" != "" ; then
24856
24857 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24858 result=$?
24859 if test $result = 0; then
24860 ac_path_to_link=""
24861 else
24862 ac_path_to_link=" -L$ac_find_libraries"
24863 fi
24864
24865 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24866 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24867 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24868 fi
24869
24870 found_gl=1
24871 OPENGL_LIBS="-lGL -lGLU"
24872 echo "$as_me:$LINENO: result: yes" >&5
24873 echo "${ECHO_T}yes" >&6
24874 fi
24875 fi
24876
24877 if test "$found_gl" != 1; then
24878 echo "$as_me:$LINENO: result: no" >&5
24879 echo "${ECHO_T}no" >&6
24880 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24881 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24882
24883 ac_find_libraries=
24884 for ac_dir in $SEARCH_LIB /usr/lib;
24885 do
24886 for ac_extension in a so sl dylib; do
24887 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24888 ac_find_libraries=$ac_dir
24889 break 2
24890 fi
24891 done
24892 done
24893
24894 if test "$ac_find_libraries" != "" ; then
24895
24896 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24897 result=$?
24898 if test $result = 0; then
24899 ac_path_to_link=""
24900 else
24901 ac_path_to_link=" -L$ac_find_libraries"
24902 fi
24903
24904 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24905 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24906 echo "$as_me:$LINENO: result: yes" >&5
24907 echo "${ECHO_T}yes" >&6
24908 else
24909 echo "$as_me:$LINENO: result: no" >&5
24910 echo "${ECHO_T}no" >&6
24911 fi
24912 fi
24913
24914 fi
24915
24916
24917
24918 if test "x$OPENGL_LIBS" = "x"; then
24919 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24920 echo "$as_me: error: OpenGL libraries not available" >&2;}
24921 { (exit 1); exit 1; }; }
24922 fi
24923 fi
24924
24925 if test "$wxUSE_OPENGL" = "yes"; then
24926 USE_OPENGL=1
24927 cat >>confdefs.h <<\_ACEOF
24928 #define wxUSE_OPENGL 1
24929 _ACEOF
24930
24931 cat >>confdefs.h <<\_ACEOF
24932 #define wxUSE_GLCANVAS 1
24933 _ACEOF
24934
24935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
24936 fi
24937 fi
24938
24939 if test -z "$TOOLKIT_VPATH" ; then
24940 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24941 fi
24942
24943 if test -n "$TOOLKIT" ; then
24944 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24945 fi
24946
24947 UNICODE=0
24948 lib_unicode_suffix=
24949 if test "$wxUSE_UNICODE" = "yes"; then
24950 lib_unicode_suffix=u
24951 UNICODE=1
24952 fi
24953
24954 lib_debug_suffix=
24955 DEBUG_FLAG=0
24956 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24957 lib_debug_suffix=d
24958 DEBUG_FLAG=1
24959 fi
24960
24961 DEBUG_INFO=0
24962 if test "$wxUSE_DEBUG_INFO" = "yes"; then
24963 DEBUG_INFO=1
24964 fi
24965
24966 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24967
24968 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24969 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24970
24971 if test "$cross_compiling" = "yes"; then
24972 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24973 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24974 HOST_SUFFIX="-${host_alias}"
24975 fi
24976
24977 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24978 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24979 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
24980 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24981
24982 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24983 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24984
24985 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24986 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24987 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24988 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24989
24990 case "${host}" in
24991 *-*-cygwin* | *-*-mingw32* )
24992 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
24993 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24994 ;;
24995
24996 *-*-darwin* )
24997
24998 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24999 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25000
25001 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25002 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25003 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25004 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25005
25006 if test "$wxUSE_MAC" = 1; then
25007 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25008 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25009 fi
25010 ;;
25011 esac
25012
25013 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25014 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25015
25016 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25017 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25018
25019 if test "$wxUSE_OPENGL" = "yes"; then
25020 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25021 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25022 fi
25023
25024
25025
25026 if test "$wxUSE_SHARED" = "yes"; then
25027 case "${host}" in
25028 *-pc-os2_emx | *-pc-os2-emx | \
25029 *-pc-msdosdjgpp )
25030 wxUSE_SHARED=no
25031 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25032 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25033 ;;
25034 esac
25035 fi
25036
25037 SHARED=0
25038 if test "$wxUSE_SHARED" = "yes"; then
25039 SHARED=1
25040
25041
25042 found_versioning=no
25043
25044
25045 if test $found_versioning = no ; then
25046 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25047 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25048 if test "${wx_cv_version_script+set}" = set; then
25049 echo $ECHO_N "(cached) $ECHO_C" >&6
25050 else
25051
25052 echo "VER_1 { *; };" >conftest.sym
25053 echo "int main() { return 0; }" >conftest.cpp
25054
25055 if { ac_try='
25056 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25057 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25059 (eval $ac_try) 2>&5
25060 ac_status=$?
25061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062 (exit $ac_status); }; } ; then
25063 if test -s conftest.stderr ; then
25064 wx_cv_version_script=no
25065 else
25066 wx_cv_version_script=yes
25067 fi
25068 else
25069 wx_cv_version_script=no
25070 fi
25071 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25072
25073 fi
25074 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25075 echo "${ECHO_T}$wx_cv_version_script" >&6
25076 if test $wx_cv_version_script = yes ; then
25077 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25078 fi
25079 fi
25080
25081
25082 case "${host}" in
25083 *-*-linux* | *-*-gnu* )
25084 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25085 ;;
25086
25087 *-*-solaris2* )
25088 if test "$GCC" = yes ; then
25089 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25090
25091 saveLdflags="$LDFLAGS"
25092 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25093 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25094 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25095 cat >conftest.$ac_ext <<_ACEOF
25096 #line $LINENO "configure"
25097 /* confdefs.h. */
25098 _ACEOF
25099 cat confdefs.h >>conftest.$ac_ext
25100 cat >>conftest.$ac_ext <<_ACEOF
25101 /* end confdefs.h. */
25102
25103 int
25104 main ()
25105 {
25106
25107 ;
25108 return 0;
25109 }
25110 _ACEOF
25111 rm -f conftest.$ac_objext conftest$ac_exeext
25112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25113 (eval $ac_link) 2>&5
25114 ac_status=$?
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); } &&
25117 { ac_try='test -s conftest$ac_exeext'
25118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25119 (eval $ac_try) 2>&5
25120 ac_status=$?
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); }; }; then
25123
25124 echo "$as_me:$LINENO: result: yes" >&5
25125 echo "${ECHO_T}yes" >&6
25126 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25127
25128 else
25129 echo "$as_me: failed program was:" >&5
25130 sed 's/^/| /' conftest.$ac_ext >&5
25131
25132
25133 echo "$as_me:$LINENO: result: no" >&5
25134 echo "${ECHO_T}no" >&6
25135 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25136 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25137 LDFLAGS="$saveLdflags -Wl,-R,/"
25138 cat >conftest.$ac_ext <<_ACEOF
25139 #line $LINENO "configure"
25140 /* confdefs.h. */
25141 _ACEOF
25142 cat confdefs.h >>conftest.$ac_ext
25143 cat >>conftest.$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25145
25146 int
25147 main ()
25148 {
25149
25150 ;
25151 return 0;
25152 }
25153 _ACEOF
25154 rm -f conftest.$ac_objext conftest$ac_exeext
25155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25156 (eval $ac_link) 2>&5
25157 ac_status=$?
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); } &&
25160 { ac_try='test -s conftest$ac_exeext'
25161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25162 (eval $ac_try) 2>&5
25163 ac_status=$?
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); }; }; then
25166
25167 echo "$as_me:$LINENO: result: yes" >&5
25168 echo "${ECHO_T}yes" >&6
25169 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25170 else
25171 echo "$as_me: failed program was:" >&5
25172 sed 's/^/| /' conftest.$ac_ext >&5
25173
25174
25175 echo "$as_me:$LINENO: result: no" >&5
25176 echo "${ECHO_T}no" >&6
25177
25178 fi
25179 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25180
25181 fi
25182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25183 LDFLAGS="$saveLdflags"
25184 else
25185 SHARED_LD="${CXX} -G -o"
25186 PIC_FLAG="-KPIC"
25187 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25188 fi
25189 ;;
25190
25191 powerpc-*-darwin* )
25192 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25193 cat <<EOF >change-install-names
25194 #!/bin/sh
25195 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25196 inst_cmd="install_name_tool "
25197 for i in \${libnames} ; do
25198 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25199 done
25200 \${inst_cmd} \${3}
25201 EOF
25202 chmod +x change-install-names
25203 ;;
25204
25205 esac
25206
25207 if test "x$WX_TARGET_LIBRARY" = "x"; then
25208 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25209 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25210 fi
25211
25212 WX_TARGET_LIBRARY_TYPE="so"
25213 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25214 fi
25215
25216 if test "$wxUSE_SHARED" = "no"; then
25217
25218 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25219 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25220 fi
25221
25222 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25223 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25224 fi
25225
25226 if test "$wxUSE_OPENGL" = "yes"; then
25227 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25228 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25229 else
25230 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25231 fi
25232
25233 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25234 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25235
25236 WX_TARGET_LIBRARY_TYPE="a"
25237 INSTALL_LIBRARY='$(INSTALL_DATA)'
25238
25239 STATIC_FLAG="yes"
25240 else
25241 STATIC_FLAG="no"
25242 fi
25243
25244 MACRESCOMP="@#"
25245 MACSETFILE="@#"
25246 MACRESWXCONFIG="#"
25247 if test "$wxUSE_MAC" = 1; then
25248 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25249 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25250 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25251 # Extract the first word of "Rez", so it can be a program name with args.
25252 set dummy Rez; ac_word=$2
25253 echo "$as_me:$LINENO: checking for $ac_word" >&5
25254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25255 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25256 echo $ECHO_N "(cached) $ECHO_C" >&6
25257 else
25258 if test -n "$RESCOMP"; then
25259 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25260 else
25261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25262 for as_dir in $PATH
25263 do
25264 IFS=$as_save_IFS
25265 test -z "$as_dir" && as_dir=.
25266 for ac_exec_ext in '' $ac_executable_extensions; do
25267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25268 ac_cv_prog_RESCOMP="Rez"
25269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25270 break 2
25271 fi
25272 done
25273 done
25274
25275 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25276 fi
25277 fi
25278 RESCOMP=$ac_cv_prog_RESCOMP
25279 if test -n "$RESCOMP"; then
25280 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25281 echo "${ECHO_T}$RESCOMP" >&6
25282 else
25283 echo "$as_me:$LINENO: result: no" >&5
25284 echo "${ECHO_T}no" >&6
25285 fi
25286
25287 # Extract the first word of "DeRez", so it can be a program name with args.
25288 set dummy DeRez; ac_word=$2
25289 echo "$as_me:$LINENO: checking for $ac_word" >&5
25290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25291 if test "${ac_cv_prog_DEREZ+set}" = set; then
25292 echo $ECHO_N "(cached) $ECHO_C" >&6
25293 else
25294 if test -n "$DEREZ"; then
25295 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25296 else
25297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25298 for as_dir in $PATH
25299 do
25300 IFS=$as_save_IFS
25301 test -z "$as_dir" && as_dir=.
25302 for ac_exec_ext in '' $ac_executable_extensions; do
25303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25304 ac_cv_prog_DEREZ="DeRez"
25305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25306 break 2
25307 fi
25308 done
25309 done
25310
25311 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25312 fi
25313 fi
25314 DEREZ=$ac_cv_prog_DEREZ
25315 if test -n "$DEREZ"; then
25316 echo "$as_me:$LINENO: result: $DEREZ" >&5
25317 echo "${ECHO_T}$DEREZ" >&6
25318 else
25319 echo "$as_me:$LINENO: result: no" >&5
25320 echo "${ECHO_T}no" >&6
25321 fi
25322
25323 # Extract the first word of "SetFile", so it can be a program name with args.
25324 set dummy SetFile; ac_word=$2
25325 echo "$as_me:$LINENO: checking for $ac_word" >&5
25326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25327 if test "${ac_cv_prog_SETFILE+set}" = set; then
25328 echo $ECHO_N "(cached) $ECHO_C" >&6
25329 else
25330 if test -n "$SETFILE"; then
25331 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25332 else
25333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25334 for as_dir in $PATH
25335 do
25336 IFS=$as_save_IFS
25337 test -z "$as_dir" && as_dir=.
25338 for ac_exec_ext in '' $ac_executable_extensions; do
25339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25340 ac_cv_prog_SETFILE="SetFile"
25341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25342 break 2
25343 fi
25344 done
25345 done
25346
25347 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25348 fi
25349 fi
25350 SETFILE=$ac_cv_prog_SETFILE
25351 if test -n "$SETFILE"; then
25352 echo "$as_me:$LINENO: result: $SETFILE" >&5
25353 echo "${ECHO_T}$SETFILE" >&6
25354 else
25355 echo "$as_me:$LINENO: result: no" >&5
25356 echo "${ECHO_T}no" >&6
25357 fi
25358
25359 MACOSX_BUNDLE="bundle"
25360 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25361 MACSETFILE="\$(SETFILE)"
25362 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25363 elif test "$wxUSE_COCOA" = 1; then
25364 # Extract the first word of "Rez", so it can be a program name with args.
25365 set dummy Rez; ac_word=$2
25366 echo "$as_me:$LINENO: checking for $ac_word" >&5
25367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25368 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25369 echo $ECHO_N "(cached) $ECHO_C" >&6
25370 else
25371 if test -n "$RESCOMP"; then
25372 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25373 else
25374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25375 for as_dir in $PATH
25376 do
25377 IFS=$as_save_IFS
25378 test -z "$as_dir" && as_dir=.
25379 for ac_exec_ext in '' $ac_executable_extensions; do
25380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25381 ac_cv_prog_RESCOMP="Rez"
25382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25383 break 2
25384 fi
25385 done
25386 done
25387
25388 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25389 fi
25390 fi
25391 RESCOMP=$ac_cv_prog_RESCOMP
25392 if test -n "$RESCOMP"; then
25393 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25394 echo "${ECHO_T}$RESCOMP" >&6
25395 else
25396 echo "$as_me:$LINENO: result: no" >&5
25397 echo "${ECHO_T}no" >&6
25398 fi
25399
25400 # Extract the first word of "DeRez", so it can be a program name with args.
25401 set dummy DeRez; ac_word=$2
25402 echo "$as_me:$LINENO: checking for $ac_word" >&5
25403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25404 if test "${ac_cv_prog_DEREZ+set}" = set; then
25405 echo $ECHO_N "(cached) $ECHO_C" >&6
25406 else
25407 if test -n "$DEREZ"; then
25408 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25409 else
25410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25411 for as_dir in $PATH
25412 do
25413 IFS=$as_save_IFS
25414 test -z "$as_dir" && as_dir=.
25415 for ac_exec_ext in '' $ac_executable_extensions; do
25416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25417 ac_cv_prog_DEREZ="DeRez"
25418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25419 break 2
25420 fi
25421 done
25422 done
25423
25424 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25425 fi
25426 fi
25427 DEREZ=$ac_cv_prog_DEREZ
25428 if test -n "$DEREZ"; then
25429 echo "$as_me:$LINENO: result: $DEREZ" >&5
25430 echo "${ECHO_T}$DEREZ" >&6
25431 else
25432 echo "$as_me:$LINENO: result: no" >&5
25433 echo "${ECHO_T}no" >&6
25434 fi
25435
25436 # Extract the first word of "SetFile", so it can be a program name with args.
25437 set dummy SetFile; ac_word=$2
25438 echo "$as_me:$LINENO: checking for $ac_word" >&5
25439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25440 if test "${ac_cv_prog_SETFILE+set}" = set; then
25441 echo $ECHO_N "(cached) $ECHO_C" >&6
25442 else
25443 if test -n "$SETFILE"; then
25444 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25445 else
25446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25447 for as_dir in $PATH
25448 do
25449 IFS=$as_save_IFS
25450 test -z "$as_dir" && as_dir=.
25451 for ac_exec_ext in '' $ac_executable_extensions; do
25452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25453 ac_cv_prog_SETFILE="SetFile"
25454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25455 break 2
25456 fi
25457 done
25458 done
25459
25460 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25461 fi
25462 fi
25463 SETFILE=$ac_cv_prog_SETFILE
25464 if test -n "$SETFILE"; then
25465 echo "$as_me:$LINENO: result: $SETFILE" >&5
25466 echo "${ECHO_T}$SETFILE" >&6
25467 else
25468 echo "$as_me:$LINENO: result: no" >&5
25469 echo "${ECHO_T}no" >&6
25470 fi
25471
25472 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25473 MACSETFILE="\$(SETFILE)"
25474 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25475 else
25476 if test "$wxUSE_PM" = 1; then
25477 MACRESCOMP="emxbind -ep"
25478 fi
25479 fi
25480
25481
25482 echo "$as_me:$LINENO: checking for mode_t" >&5
25483 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25484 if test "${ac_cv_type_mode_t+set}" = set; then
25485 echo $ECHO_N "(cached) $ECHO_C" >&6
25486 else
25487 cat >conftest.$ac_ext <<_ACEOF
25488 #line $LINENO "configure"
25489 /* confdefs.h. */
25490 _ACEOF
25491 cat confdefs.h >>conftest.$ac_ext
25492 cat >>conftest.$ac_ext <<_ACEOF
25493 /* end confdefs.h. */
25494 $ac_includes_default
25495 int
25496 main ()
25497 {
25498 if ((mode_t *) 0)
25499 return 0;
25500 if (sizeof (mode_t))
25501 return 0;
25502 ;
25503 return 0;
25504 }
25505 _ACEOF
25506 rm -f conftest.$ac_objext
25507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25508 (eval $ac_compile) 2>&5
25509 ac_status=$?
25510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25511 (exit $ac_status); } &&
25512 { ac_try='test -s conftest.$ac_objext'
25513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25514 (eval $ac_try) 2>&5
25515 ac_status=$?
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); }; }; then
25518 ac_cv_type_mode_t=yes
25519 else
25520 echo "$as_me: failed program was:" >&5
25521 sed 's/^/| /' conftest.$ac_ext >&5
25522
25523 ac_cv_type_mode_t=no
25524 fi
25525 rm -f conftest.$ac_objext conftest.$ac_ext
25526 fi
25527 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25528 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25529 if test $ac_cv_type_mode_t = yes; then
25530 :
25531 else
25532
25533 cat >>confdefs.h <<_ACEOF
25534 #define mode_t int
25535 _ACEOF
25536
25537 fi
25538
25539 echo "$as_me:$LINENO: checking for off_t" >&5
25540 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25541 if test "${ac_cv_type_off_t+set}" = set; then
25542 echo $ECHO_N "(cached) $ECHO_C" >&6
25543 else
25544 cat >conftest.$ac_ext <<_ACEOF
25545 #line $LINENO "configure"
25546 /* confdefs.h. */
25547 _ACEOF
25548 cat confdefs.h >>conftest.$ac_ext
25549 cat >>conftest.$ac_ext <<_ACEOF
25550 /* end confdefs.h. */
25551 $ac_includes_default
25552 int
25553 main ()
25554 {
25555 if ((off_t *) 0)
25556 return 0;
25557 if (sizeof (off_t))
25558 return 0;
25559 ;
25560 return 0;
25561 }
25562 _ACEOF
25563 rm -f conftest.$ac_objext
25564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25565 (eval $ac_compile) 2>&5
25566 ac_status=$?
25567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25568 (exit $ac_status); } &&
25569 { ac_try='test -s conftest.$ac_objext'
25570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25571 (eval $ac_try) 2>&5
25572 ac_status=$?
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); }; }; then
25575 ac_cv_type_off_t=yes
25576 else
25577 echo "$as_me: failed program was:" >&5
25578 sed 's/^/| /' conftest.$ac_ext >&5
25579
25580 ac_cv_type_off_t=no
25581 fi
25582 rm -f conftest.$ac_objext conftest.$ac_ext
25583 fi
25584 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25585 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25586 if test $ac_cv_type_off_t = yes; then
25587 :
25588 else
25589
25590 cat >>confdefs.h <<_ACEOF
25591 #define off_t long
25592 _ACEOF
25593
25594 fi
25595
25596 echo "$as_me:$LINENO: checking for pid_t" >&5
25597 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25598 if test "${ac_cv_type_pid_t+set}" = set; then
25599 echo $ECHO_N "(cached) $ECHO_C" >&6
25600 else
25601 cat >conftest.$ac_ext <<_ACEOF
25602 #line $LINENO "configure"
25603 /* confdefs.h. */
25604 _ACEOF
25605 cat confdefs.h >>conftest.$ac_ext
25606 cat >>conftest.$ac_ext <<_ACEOF
25607 /* end confdefs.h. */
25608 $ac_includes_default
25609 int
25610 main ()
25611 {
25612 if ((pid_t *) 0)
25613 return 0;
25614 if (sizeof (pid_t))
25615 return 0;
25616 ;
25617 return 0;
25618 }
25619 _ACEOF
25620 rm -f conftest.$ac_objext
25621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25622 (eval $ac_compile) 2>&5
25623 ac_status=$?
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); } &&
25626 { ac_try='test -s conftest.$ac_objext'
25627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25628 (eval $ac_try) 2>&5
25629 ac_status=$?
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); }; }; then
25632 ac_cv_type_pid_t=yes
25633 else
25634 echo "$as_me: failed program was:" >&5
25635 sed 's/^/| /' conftest.$ac_ext >&5
25636
25637 ac_cv_type_pid_t=no
25638 fi
25639 rm -f conftest.$ac_objext conftest.$ac_ext
25640 fi
25641 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25642 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25643 if test $ac_cv_type_pid_t = yes; then
25644 :
25645 else
25646
25647 cat >>confdefs.h <<_ACEOF
25648 #define pid_t int
25649 _ACEOF
25650
25651 fi
25652
25653 echo "$as_me:$LINENO: checking for size_t" >&5
25654 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25655 if test "${ac_cv_type_size_t+set}" = set; then
25656 echo $ECHO_N "(cached) $ECHO_C" >&6
25657 else
25658 cat >conftest.$ac_ext <<_ACEOF
25659 #line $LINENO "configure"
25660 /* confdefs.h. */
25661 _ACEOF
25662 cat confdefs.h >>conftest.$ac_ext
25663 cat >>conftest.$ac_ext <<_ACEOF
25664 /* end confdefs.h. */
25665 $ac_includes_default
25666 int
25667 main ()
25668 {
25669 if ((size_t *) 0)
25670 return 0;
25671 if (sizeof (size_t))
25672 return 0;
25673 ;
25674 return 0;
25675 }
25676 _ACEOF
25677 rm -f conftest.$ac_objext
25678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25679 (eval $ac_compile) 2>&5
25680 ac_status=$?
25681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682 (exit $ac_status); } &&
25683 { ac_try='test -s conftest.$ac_objext'
25684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25685 (eval $ac_try) 2>&5
25686 ac_status=$?
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); }; }; then
25689 ac_cv_type_size_t=yes
25690 else
25691 echo "$as_me: failed program was:" >&5
25692 sed 's/^/| /' conftest.$ac_ext >&5
25693
25694 ac_cv_type_size_t=no
25695 fi
25696 rm -f conftest.$ac_objext conftest.$ac_ext
25697 fi
25698 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25699 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25700 if test $ac_cv_type_size_t = yes; then
25701 :
25702 else
25703
25704 cat >>confdefs.h <<_ACEOF
25705 #define size_t unsigned
25706 _ACEOF
25707
25708 fi
25709
25710 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25711 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25712 if test "${ac_cv_type_uid_t+set}" = set; then
25713 echo $ECHO_N "(cached) $ECHO_C" >&6
25714 else
25715 cat >conftest.$ac_ext <<_ACEOF
25716 #line $LINENO "configure"
25717 /* confdefs.h. */
25718 _ACEOF
25719 cat confdefs.h >>conftest.$ac_ext
25720 cat >>conftest.$ac_ext <<_ACEOF
25721 /* end confdefs.h. */
25722 #include <sys/types.h>
25723
25724 _ACEOF
25725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25726 $EGREP "uid_t" >/dev/null 2>&1; then
25727 ac_cv_type_uid_t=yes
25728 else
25729 ac_cv_type_uid_t=no
25730 fi
25731 rm -f conftest*
25732
25733 fi
25734 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25735 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25736 if test $ac_cv_type_uid_t = no; then
25737
25738 cat >>confdefs.h <<\_ACEOF
25739 #define uid_t int
25740 _ACEOF
25741
25742
25743 cat >>confdefs.h <<\_ACEOF
25744 #define gid_t int
25745 _ACEOF
25746
25747 fi
25748
25749
25750
25751
25752 ac_ext=cc
25753 ac_cpp='$CXXCPP $CPPFLAGS'
25754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25757
25758 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25759 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25760 if test "${wx_cv_size_t_is_uint+set}" = set; then
25761 echo $ECHO_N "(cached) $ECHO_C" >&6
25762 else
25763
25764 cat >conftest.$ac_ext <<_ACEOF
25765 #line $LINENO "configure"
25766 /* confdefs.h. */
25767 _ACEOF
25768 cat confdefs.h >>conftest.$ac_ext
25769 cat >>conftest.$ac_ext <<_ACEOF
25770 /* end confdefs.h. */
25771 #include <stddef.h>
25772 int
25773 main ()
25774 {
25775
25776 return 0; }
25777
25778 struct Foo { void foo(size_t); void foo(unsigned int); };
25779
25780 int bar() {
25781
25782 ;
25783 return 0;
25784 }
25785 _ACEOF
25786 rm -f conftest.$ac_objext
25787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25788 (eval $ac_compile) 2>&5
25789 ac_status=$?
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); } &&
25792 { ac_try='test -s conftest.$ac_objext'
25793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25794 (eval $ac_try) 2>&5
25795 ac_status=$?
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); }; }; then
25798 wx_cv_size_t_is_uint=no
25799 else
25800 echo "$as_me: failed program was:" >&5
25801 sed 's/^/| /' conftest.$ac_ext >&5
25802
25803 wx_cv_size_t_is_uint=yes
25804
25805 fi
25806 rm -f conftest.$ac_objext conftest.$ac_ext
25807
25808
25809 fi
25810 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25811 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25812
25813 if test "$wx_cv_size_t_is_uint" = "yes"; then
25814 cat >>confdefs.h <<\_ACEOF
25815 #define wxSIZE_T_IS_UINT 1
25816 _ACEOF
25817
25818 else
25819 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25820 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25821 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 else
25824 cat >conftest.$ac_ext <<_ACEOF
25825 #line $LINENO "configure"
25826 /* confdefs.h. */
25827 _ACEOF
25828 cat confdefs.h >>conftest.$ac_ext
25829 cat >>conftest.$ac_ext <<_ACEOF
25830 /* end confdefs.h. */
25831 #include <stddef.h>
25832 int
25833 main ()
25834 {
25835
25836 return 0; }
25837
25838 struct Foo { void foo(size_t); void foo(unsigned long); };
25839
25840 int bar() {
25841
25842 ;
25843 return 0;
25844 }
25845 _ACEOF
25846 rm -f conftest.$ac_objext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25848 (eval $ac_compile) 2>&5
25849 ac_status=$?
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); } &&
25852 { ac_try='test -s conftest.$ac_objext'
25853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25854 (eval $ac_try) 2>&5
25855 ac_status=$?
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); }; }; then
25858 wx_cv_size_t_is_ulong=no
25859 else
25860 echo "$as_me: failed program was:" >&5
25861 sed 's/^/| /' conftest.$ac_ext >&5
25862
25863 wx_cv_size_t_is_ulong=yes
25864
25865 fi
25866 rm -f conftest.$ac_objext conftest.$ac_ext
25867
25868 fi
25869 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25870 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25871
25872 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25873 cat >>confdefs.h <<\_ACEOF
25874 #define wxSIZE_T_IS_ULONG 1
25875 _ACEOF
25876
25877 fi
25878 fi
25879
25880 ac_ext=c
25881 ac_cpp='$CPP $CPPFLAGS'
25882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25885
25886
25887
25888 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25889 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25890 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25891 echo $ECHO_N "(cached) $ECHO_C" >&6
25892 else
25893
25894 cat >conftest.$ac_ext <<_ACEOF
25895 #line $LINENO "configure"
25896 /* confdefs.h. */
25897 _ACEOF
25898 cat confdefs.h >>conftest.$ac_ext
25899 cat >>conftest.$ac_ext <<_ACEOF
25900 /* end confdefs.h. */
25901 #include <pwd.h>
25902 int
25903 main ()
25904 {
25905
25906 char *p;
25907 struct passwd *pw;
25908 p = pw->pw_gecos;
25909
25910 ;
25911 return 0;
25912 }
25913 _ACEOF
25914 rm -f conftest.$ac_objext
25915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25916 (eval $ac_compile) 2>&5
25917 ac_status=$?
25918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25919 (exit $ac_status); } &&
25920 { ac_try='test -s conftest.$ac_objext'
25921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25922 (eval $ac_try) 2>&5
25923 ac_status=$?
25924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25925 (exit $ac_status); }; }; then
25926
25927 wx_cv_struct_pw_gecos=yes
25928
25929 else
25930 echo "$as_me: failed program was:" >&5
25931 sed 's/^/| /' conftest.$ac_ext >&5
25932
25933
25934 wx_cv_struct_pw_gecos=no
25935
25936
25937 fi
25938 rm -f conftest.$ac_objext conftest.$ac_ext
25939
25940
25941 fi
25942 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25943 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25944
25945 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25946 cat >>confdefs.h <<\_ACEOF
25947 #define HAVE_PW_GECOS 1
25948 _ACEOF
25949
25950 fi
25951
25952
25953 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25954 cat >>confdefs.h <<\_ACEOF
25955 #define wxUSE_WCHAR_T 1
25956 _ACEOF
25957
25958
25959 WCSLEN_FOUND=0
25960 WCHAR_LINK=
25961
25962 for ac_func in wcslen
25963 do
25964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25965 echo "$as_me:$LINENO: checking for $ac_func" >&5
25966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25967 if eval "test \"\${$as_ac_var+set}\" = set"; then
25968 echo $ECHO_N "(cached) $ECHO_C" >&6
25969 else
25970 cat >conftest.$ac_ext <<_ACEOF
25971 #line $LINENO "configure"
25972 /* confdefs.h. */
25973 _ACEOF
25974 cat confdefs.h >>conftest.$ac_ext
25975 cat >>conftest.$ac_ext <<_ACEOF
25976 /* end confdefs.h. */
25977 /* System header to define __stub macros and hopefully few prototypes,
25978 which can conflict with char $ac_func (); below.
25979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25980 <limits.h> exists even on freestanding compilers. */
25981 #ifdef __STDC__
25982 # include <limits.h>
25983 #else
25984 # include <assert.h>
25985 #endif
25986 /* Override any gcc2 internal prototype to avoid an error. */
25987 #ifdef __cplusplus
25988 extern "C"
25989 {
25990 #endif
25991 /* We use char because int might match the return type of a gcc2
25992 builtin and then its argument prototype would still apply. */
25993 char $ac_func ();
25994 /* The GNU C library defines this for functions which it implements
25995 to always fail with ENOSYS. Some functions are actually named
25996 something starting with __ and the normal name is an alias. */
25997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25998 choke me
25999 #else
26000 char (*f) () = $ac_func;
26001 #endif
26002 #ifdef __cplusplus
26003 }
26004 #endif
26005
26006 int
26007 main ()
26008 {
26009 return f != $ac_func;
26010 ;
26011 return 0;
26012 }
26013 _ACEOF
26014 rm -f conftest.$ac_objext conftest$ac_exeext
26015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26016 (eval $ac_link) 2>&5
26017 ac_status=$?
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); } &&
26020 { ac_try='test -s conftest$ac_exeext'
26021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022 (eval $ac_try) 2>&5
26023 ac_status=$?
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); }; }; then
26026 eval "$as_ac_var=yes"
26027 else
26028 echo "$as_me: failed program was:" >&5
26029 sed 's/^/| /' conftest.$ac_ext >&5
26030
26031 eval "$as_ac_var=no"
26032 fi
26033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26034 fi
26035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26037 if test `eval echo '${'$as_ac_var'}'` = yes; then
26038 cat >>confdefs.h <<_ACEOF
26039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26040 _ACEOF
26041 WCSLEN_FOUND=1
26042 fi
26043 done
26044
26045
26046 if test "$WCSLEN_FOUND" = 0; then
26047 if test "$TOOLKIT" = "MSW"; then
26048 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26049 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26050 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26051 echo $ECHO_N "(cached) $ECHO_C" >&6
26052 else
26053 ac_check_lib_save_LIBS=$LIBS
26054 LIBS="-lmsvcrt $LIBS"
26055 cat >conftest.$ac_ext <<_ACEOF
26056 #line $LINENO "configure"
26057 /* confdefs.h. */
26058 _ACEOF
26059 cat confdefs.h >>conftest.$ac_ext
26060 cat >>conftest.$ac_ext <<_ACEOF
26061 /* end confdefs.h. */
26062
26063 /* Override any gcc2 internal prototype to avoid an error. */
26064 #ifdef __cplusplus
26065 extern "C"
26066 #endif
26067 /* We use char because int might match the return type of a gcc2
26068 builtin and then its argument prototype would still apply. */
26069 char wcslen ();
26070 int
26071 main ()
26072 {
26073 wcslen ();
26074 ;
26075 return 0;
26076 }
26077 _ACEOF
26078 rm -f conftest.$ac_objext conftest$ac_exeext
26079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26080 (eval $ac_link) 2>&5
26081 ac_status=$?
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); } &&
26084 { ac_try='test -s conftest$ac_exeext'
26085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26086 (eval $ac_try) 2>&5
26087 ac_status=$?
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); }; }; then
26090 ac_cv_lib_msvcrt_wcslen=yes
26091 else
26092 echo "$as_me: failed program was:" >&5
26093 sed 's/^/| /' conftest.$ac_ext >&5
26094
26095 ac_cv_lib_msvcrt_wcslen=no
26096 fi
26097 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26098 LIBS=$ac_check_lib_save_LIBS
26099 fi
26100 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26101 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26102 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26103 WCHAR_OK=1
26104 fi
26105
26106 else
26107 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26108 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26109 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26110 echo $ECHO_N "(cached) $ECHO_C" >&6
26111 else
26112 ac_check_lib_save_LIBS=$LIBS
26113 LIBS="-lw $LIBS"
26114 cat >conftest.$ac_ext <<_ACEOF
26115 #line $LINENO "configure"
26116 /* confdefs.h. */
26117 _ACEOF
26118 cat confdefs.h >>conftest.$ac_ext
26119 cat >>conftest.$ac_ext <<_ACEOF
26120 /* end confdefs.h. */
26121
26122 /* Override any gcc2 internal prototype to avoid an error. */
26123 #ifdef __cplusplus
26124 extern "C"
26125 #endif
26126 /* We use char because int might match the return type of a gcc2
26127 builtin and then its argument prototype would still apply. */
26128 char wcslen ();
26129 int
26130 main ()
26131 {
26132 wcslen ();
26133 ;
26134 return 0;
26135 }
26136 _ACEOF
26137 rm -f conftest.$ac_objext conftest$ac_exeext
26138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26139 (eval $ac_link) 2>&5
26140 ac_status=$?
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); } &&
26143 { ac_try='test -s conftest$ac_exeext'
26144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26145 (eval $ac_try) 2>&5
26146 ac_status=$?
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); }; }; then
26149 ac_cv_lib_w_wcslen=yes
26150 else
26151 echo "$as_me: failed program was:" >&5
26152 sed 's/^/| /' conftest.$ac_ext >&5
26153
26154 ac_cv_lib_w_wcslen=no
26155 fi
26156 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26157 LIBS=$ac_check_lib_save_LIBS
26158 fi
26159 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26160 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26161 if test $ac_cv_lib_w_wcslen = yes; then
26162
26163 WCHAR_LINK=" -lw"
26164 WCSLEN_FOUND=1
26165
26166 fi
26167
26168 fi
26169 fi
26170
26171 if test "$WCSLEN_FOUND" = 1; then
26172 cat >>confdefs.h <<\_ACEOF
26173 #define HAVE_WCSLEN 1
26174 _ACEOF
26175
26176 fi
26177
26178
26179 for ac_func in wcsrtombs
26180 do
26181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26182 echo "$as_me:$LINENO: checking for $ac_func" >&5
26183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26184 if eval "test \"\${$as_ac_var+set}\" = set"; then
26185 echo $ECHO_N "(cached) $ECHO_C" >&6
26186 else
26187 cat >conftest.$ac_ext <<_ACEOF
26188 #line $LINENO "configure"
26189 /* confdefs.h. */
26190 _ACEOF
26191 cat confdefs.h >>conftest.$ac_ext
26192 cat >>conftest.$ac_ext <<_ACEOF
26193 /* end confdefs.h. */
26194 /* System header to define __stub macros and hopefully few prototypes,
26195 which can conflict with char $ac_func (); below.
26196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26197 <limits.h> exists even on freestanding compilers. */
26198 #ifdef __STDC__
26199 # include <limits.h>
26200 #else
26201 # include <assert.h>
26202 #endif
26203 /* Override any gcc2 internal prototype to avoid an error. */
26204 #ifdef __cplusplus
26205 extern "C"
26206 {
26207 #endif
26208 /* We use char because int might match the return type of a gcc2
26209 builtin and then its argument prototype would still apply. */
26210 char $ac_func ();
26211 /* The GNU C library defines this for functions which it implements
26212 to always fail with ENOSYS. Some functions are actually named
26213 something starting with __ and the normal name is an alias. */
26214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26215 choke me
26216 #else
26217 char (*f) () = $ac_func;
26218 #endif
26219 #ifdef __cplusplus
26220 }
26221 #endif
26222
26223 int
26224 main ()
26225 {
26226 return f != $ac_func;
26227 ;
26228 return 0;
26229 }
26230 _ACEOF
26231 rm -f conftest.$ac_objext conftest$ac_exeext
26232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26233 (eval $ac_link) 2>&5
26234 ac_status=$?
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); } &&
26237 { ac_try='test -s conftest$ac_exeext'
26238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26239 (eval $ac_try) 2>&5
26240 ac_status=$?
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); }; }; then
26243 eval "$as_ac_var=yes"
26244 else
26245 echo "$as_me: failed program was:" >&5
26246 sed 's/^/| /' conftest.$ac_ext >&5
26247
26248 eval "$as_ac_var=no"
26249 fi
26250 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26251 fi
26252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26254 if test `eval echo '${'$as_ac_var'}'` = yes; then
26255 cat >>confdefs.h <<_ACEOF
26256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26257 _ACEOF
26258
26259 fi
26260 done
26261
26262 else
26263 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26264 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26265 fi
26266
26267
26268
26269 ac_ext=cc
26270 ac_cpp='$CXXCPP $CPPFLAGS'
26271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26274
26275
26276
26277 for ac_func in vsnprintf
26278 do
26279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26280 echo "$as_me:$LINENO: checking for $ac_func" >&5
26281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26282 if eval "test \"\${$as_ac_var+set}\" = set"; then
26283 echo $ECHO_N "(cached) $ECHO_C" >&6
26284 else
26285 cat >conftest.$ac_ext <<_ACEOF
26286 #line $LINENO "configure"
26287 /* confdefs.h. */
26288 _ACEOF
26289 cat confdefs.h >>conftest.$ac_ext
26290 cat >>conftest.$ac_ext <<_ACEOF
26291 /* end confdefs.h. */
26292 /* System header to define __stub macros and hopefully few prototypes,
26293 which can conflict with char $ac_func (); below.
26294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26295 <limits.h> exists even on freestanding compilers. */
26296 #ifdef __STDC__
26297 # include <limits.h>
26298 #else
26299 # include <assert.h>
26300 #endif
26301 /* Override any gcc2 internal prototype to avoid an error. */
26302 #ifdef __cplusplus
26303 extern "C"
26304 {
26305 #endif
26306 /* We use char because int might match the return type of a gcc2
26307 builtin and then its argument prototype would still apply. */
26308 char $ac_func ();
26309 /* The GNU C library defines this for functions which it implements
26310 to always fail with ENOSYS. Some functions are actually named
26311 something starting with __ and the normal name is an alias. */
26312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26313 choke me
26314 #else
26315 char (*f) () = $ac_func;
26316 #endif
26317 #ifdef __cplusplus
26318 }
26319 #endif
26320
26321 int
26322 main ()
26323 {
26324 return f != $ac_func;
26325 ;
26326 return 0;
26327 }
26328 _ACEOF
26329 rm -f conftest.$ac_objext conftest$ac_exeext
26330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26331 (eval $ac_link) 2>&5
26332 ac_status=$?
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } &&
26335 { ac_try='test -s conftest$ac_exeext'
26336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26337 (eval $ac_try) 2>&5
26338 ac_status=$?
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); }; }; then
26341 eval "$as_ac_var=yes"
26342 else
26343 echo "$as_me: failed program was:" >&5
26344 sed 's/^/| /' conftest.$ac_ext >&5
26345
26346 eval "$as_ac_var=no"
26347 fi
26348 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26349 fi
26350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26352 if test `eval echo '${'$as_ac_var'}'` = yes; then
26353 cat >>confdefs.h <<_ACEOF
26354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26355 _ACEOF
26356
26357 fi
26358 done
26359
26360
26361 if test "$ac_cv_func_vsnprintf" = "yes"; then
26362 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26363 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26364 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26365 echo $ECHO_N "(cached) $ECHO_C" >&6
26366 else
26367
26368 cat >conftest.$ac_ext <<_ACEOF
26369 #line $LINENO "configure"
26370 /* confdefs.h. */
26371 _ACEOF
26372 cat confdefs.h >>conftest.$ac_ext
26373 cat >>conftest.$ac_ext <<_ACEOF
26374 /* end confdefs.h. */
26375
26376 #include <stdio.h>
26377 #include <stdarg.h>
26378
26379 int
26380 main ()
26381 {
26382
26383 char *buf;
26384 va_list ap;
26385 vsnprintf(buf, 10u, "%s", ap);
26386
26387 ;
26388 return 0;
26389 }
26390 _ACEOF
26391 rm -f conftest.$ac_objext
26392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26393 (eval $ac_compile) 2>&5
26394 ac_status=$?
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); } &&
26397 { ac_try='test -s conftest.$ac_objext'
26398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26399 (eval $ac_try) 2>&5
26400 ac_status=$?
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; }; then
26403 wx_cv_func_vsnprintf_decl=yes
26404 else
26405 echo "$as_me: failed program was:" >&5
26406 sed 's/^/| /' conftest.$ac_ext >&5
26407
26408 wx_cv_func_vsnprintf_decl=no
26409
26410 fi
26411 rm -f conftest.$ac_objext conftest.$ac_ext
26412
26413
26414 fi
26415 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26416 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26417
26418 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26419 cat >>confdefs.h <<\_ACEOF
26420 #define HAVE_VSNPRINTF_DECL 1
26421 _ACEOF
26422
26423 fi
26424 fi
26425
26426 if test "$wxUSE_UNICODE" = yes; then
26427
26428
26429
26430 for ac_func in fputwc wprintf vswprintf
26431 do
26432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26433 echo "$as_me:$LINENO: checking for $ac_func" >&5
26434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26435 if eval "test \"\${$as_ac_var+set}\" = set"; then
26436 echo $ECHO_N "(cached) $ECHO_C" >&6
26437 else
26438 cat >conftest.$ac_ext <<_ACEOF
26439 #line $LINENO "configure"
26440 /* confdefs.h. */
26441 _ACEOF
26442 cat confdefs.h >>conftest.$ac_ext
26443 cat >>conftest.$ac_ext <<_ACEOF
26444 /* end confdefs.h. */
26445 /* System header to define __stub macros and hopefully few prototypes,
26446 which can conflict with char $ac_func (); below.
26447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26448 <limits.h> exists even on freestanding compilers. */
26449 #ifdef __STDC__
26450 # include <limits.h>
26451 #else
26452 # include <assert.h>
26453 #endif
26454 /* Override any gcc2 internal prototype to avoid an error. */
26455 #ifdef __cplusplus
26456 extern "C"
26457 {
26458 #endif
26459 /* We use char because int might match the return type of a gcc2
26460 builtin and then its argument prototype would still apply. */
26461 char $ac_func ();
26462 /* The GNU C library defines this for functions which it implements
26463 to always fail with ENOSYS. Some functions are actually named
26464 something starting with __ and the normal name is an alias. */
26465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26466 choke me
26467 #else
26468 char (*f) () = $ac_func;
26469 #endif
26470 #ifdef __cplusplus
26471 }
26472 #endif
26473
26474 int
26475 main ()
26476 {
26477 return f != $ac_func;
26478 ;
26479 return 0;
26480 }
26481 _ACEOF
26482 rm -f conftest.$ac_objext conftest$ac_exeext
26483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26484 (eval $ac_link) 2>&5
26485 ac_status=$?
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); } &&
26488 { ac_try='test -s conftest$ac_exeext'
26489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 (eval $ac_try) 2>&5
26491 ac_status=$?
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); }; }; then
26494 eval "$as_ac_var=yes"
26495 else
26496 echo "$as_me: failed program was:" >&5
26497 sed 's/^/| /' conftest.$ac_ext >&5
26498
26499 eval "$as_ac_var=no"
26500 fi
26501 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26502 fi
26503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26505 if test `eval echo '${'$as_ac_var'}'` = yes; then
26506 cat >>confdefs.h <<_ACEOF
26507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26508 _ACEOF
26509
26510 fi
26511 done
26512
26513
26514 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26515 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26516 cat >conftest.$ac_ext <<_ACEOF
26517 #line $LINENO "configure"
26518 /* confdefs.h. */
26519 _ACEOF
26520 cat confdefs.h >>conftest.$ac_ext
26521 cat >>conftest.$ac_ext <<_ACEOF
26522 /* end confdefs.h. */
26523 #include <wchar.h>
26524 int
26525 main ()
26526 {
26527 &_vsnwprintf;
26528 ;
26529 return 0;
26530 }
26531 _ACEOF
26532 rm -f conftest.$ac_objext
26533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26534 (eval $ac_compile) 2>&5
26535 ac_status=$?
26536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537 (exit $ac_status); } &&
26538 { ac_try='test -s conftest.$ac_objext'
26539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540 (eval $ac_try) 2>&5
26541 ac_status=$?
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); }; }; then
26544 echo "$as_me:$LINENO: result: yes" >&5
26545 echo "${ECHO_T}yes" >&6
26546 cat >>confdefs.h <<\_ACEOF
26547 #define HAVE__VSNWPRINTF 1
26548 _ACEOF
26549
26550 else
26551 echo "$as_me: failed program was:" >&5
26552 sed 's/^/| /' conftest.$ac_ext >&5
26553
26554 echo "$as_me:$LINENO: result: no" >&5
26555 echo "${ECHO_T}no" >&6
26556 fi
26557 rm -f conftest.$ac_objext conftest.$ac_ext;
26558 fi
26559
26560 ac_ext=c
26561 ac_cpp='$CPP $CPPFLAGS'
26562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26565
26566
26567
26568
26569 if test "$TOOLKIT" != "MSW"; then
26570
26571
26572
26573
26574 ac_ext=cc
26575 ac_cpp='$CXXCPP $CPPFLAGS'
26576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26579
26580
26581
26582
26583 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26584 if test "${with_libiconv_prefix+set}" = set; then
26585 withval="$with_libiconv_prefix"
26586
26587 for dir in `echo "$withval" | tr : ' '`; do
26588 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26589 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26590 done
26591
26592 fi;
26593
26594 echo "$as_me:$LINENO: checking for iconv" >&5
26595 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26596 if test "${am_cv_func_iconv+set}" = set; then
26597 echo $ECHO_N "(cached) $ECHO_C" >&6
26598 else
26599
26600 am_cv_func_iconv="no, consider installing GNU libiconv"
26601 am_cv_lib_iconv=no
26602 cat >conftest.$ac_ext <<_ACEOF
26603 #line $LINENO "configure"
26604 /* confdefs.h. */
26605 _ACEOF
26606 cat confdefs.h >>conftest.$ac_ext
26607 cat >>conftest.$ac_ext <<_ACEOF
26608 /* end confdefs.h. */
26609 #include <stdlib.h>
26610 #include <iconv.h>
26611 int
26612 main ()
26613 {
26614 iconv_t cd = iconv_open("","");
26615 iconv(cd,NULL,NULL,NULL,NULL);
26616 iconv_close(cd);
26617 ;
26618 return 0;
26619 }
26620 _ACEOF
26621 rm -f conftest.$ac_objext conftest$ac_exeext
26622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26623 (eval $ac_link) 2>&5
26624 ac_status=$?
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); } &&
26627 { ac_try='test -s conftest$ac_exeext'
26628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26629 (eval $ac_try) 2>&5
26630 ac_status=$?
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); }; }; then
26633 am_cv_func_iconv=yes
26634 else
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26637
26638 fi
26639 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26640 if test "$am_cv_func_iconv" != yes; then
26641 am_save_LIBS="$LIBS"
26642 LIBS="$LIBS -liconv"
26643 cat >conftest.$ac_ext <<_ACEOF
26644 #line $LINENO "configure"
26645 /* confdefs.h. */
26646 _ACEOF
26647 cat confdefs.h >>conftest.$ac_ext
26648 cat >>conftest.$ac_ext <<_ACEOF
26649 /* end confdefs.h. */
26650 #include <stdlib.h>
26651 #include <iconv.h>
26652 int
26653 main ()
26654 {
26655 iconv_t cd = iconv_open("","");
26656 iconv(cd,NULL,NULL,NULL,NULL);
26657 iconv_close(cd);
26658 ;
26659 return 0;
26660 }
26661 _ACEOF
26662 rm -f conftest.$ac_objext conftest$ac_exeext
26663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26664 (eval $ac_link) 2>&5
26665 ac_status=$?
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); } &&
26668 { ac_try='test -s conftest$ac_exeext'
26669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26670 (eval $ac_try) 2>&5
26671 ac_status=$?
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); }; }; then
26674 am_cv_lib_iconv=yes
26675 am_cv_func_iconv=yes
26676 else
26677 echo "$as_me: failed program was:" >&5
26678 sed 's/^/| /' conftest.$ac_ext >&5
26679
26680 fi
26681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26682 LIBS="$am_save_LIBS"
26683 fi
26684
26685 fi
26686 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26687 echo "${ECHO_T}$am_cv_func_iconv" >&6
26688 if test "$am_cv_func_iconv" = yes; then
26689
26690 cat >>confdefs.h <<\_ACEOF
26691 #define HAVE_ICONV 1
26692 _ACEOF
26693
26694 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26695 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26696 if test "${wx_cv_func_iconv_const+set}" = set; then
26697 echo $ECHO_N "(cached) $ECHO_C" >&6
26698 else
26699 cat >conftest.$ac_ext <<_ACEOF
26700 #line $LINENO "configure"
26701 /* confdefs.h. */
26702 _ACEOF
26703 cat confdefs.h >>conftest.$ac_ext
26704 cat >>conftest.$ac_ext <<_ACEOF
26705 /* end confdefs.h. */
26706
26707 #include <stdlib.h>
26708 #include <iconv.h>
26709 extern
26710 #ifdef __cplusplus
26711 "C"
26712 #endif
26713 #if defined(__STDC__) || defined(__cplusplus)
26714 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26715 #else
26716 size_t iconv();
26717 #endif
26718
26719 int
26720 main ()
26721 {
26722
26723 ;
26724 return 0;
26725 }
26726 _ACEOF
26727 rm -f conftest.$ac_objext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26729 (eval $ac_compile) 2>&5
26730 ac_status=$?
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); } &&
26733 { ac_try='test -s conftest.$ac_objext'
26734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26735 (eval $ac_try) 2>&5
26736 ac_status=$?
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); }; }; then
26739 wx_cv_func_iconv_const="no"
26740 else
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.$ac_ext >&5
26743
26744 wx_cv_func_iconv_const="yes"
26745
26746 fi
26747 rm -f conftest.$ac_objext conftest.$ac_ext
26748
26749 fi
26750 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26751 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26752
26753 iconv_const=
26754 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26755 iconv_const="const"
26756 fi
26757
26758
26759 cat >>confdefs.h <<_ACEOF
26760 #define ICONV_CONST $iconv_const
26761 _ACEOF
26762
26763 fi
26764 LIBICONV=
26765 if test "$am_cv_lib_iconv" = yes; then
26766 LIBICONV="-liconv"
26767 fi
26768
26769
26770 LIBS="$LIBICONV $LIBS"
26771 ac_ext=c
26772 ac_cpp='$CPP $CPPFLAGS'
26773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26776
26777
26778 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26779
26780 for ac_func in sigaction
26781 do
26782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26783 echo "$as_me:$LINENO: checking for $ac_func" >&5
26784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26785 if eval "test \"\${$as_ac_var+set}\" = set"; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26787 else
26788 cat >conftest.$ac_ext <<_ACEOF
26789 #line $LINENO "configure"
26790 /* confdefs.h. */
26791 _ACEOF
26792 cat confdefs.h >>conftest.$ac_ext
26793 cat >>conftest.$ac_ext <<_ACEOF
26794 /* end confdefs.h. */
26795 /* System header to define __stub macros and hopefully few prototypes,
26796 which can conflict with char $ac_func (); below.
26797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26798 <limits.h> exists even on freestanding compilers. */
26799 #ifdef __STDC__
26800 # include <limits.h>
26801 #else
26802 # include <assert.h>
26803 #endif
26804 /* Override any gcc2 internal prototype to avoid an error. */
26805 #ifdef __cplusplus
26806 extern "C"
26807 {
26808 #endif
26809 /* We use char because int might match the return type of a gcc2
26810 builtin and then its argument prototype would still apply. */
26811 char $ac_func ();
26812 /* The GNU C library defines this for functions which it implements
26813 to always fail with ENOSYS. Some functions are actually named
26814 something starting with __ and the normal name is an alias. */
26815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26816 choke me
26817 #else
26818 char (*f) () = $ac_func;
26819 #endif
26820 #ifdef __cplusplus
26821 }
26822 #endif
26823
26824 int
26825 main ()
26826 {
26827 return f != $ac_func;
26828 ;
26829 return 0;
26830 }
26831 _ACEOF
26832 rm -f conftest.$ac_objext conftest$ac_exeext
26833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26834 (eval $ac_link) 2>&5
26835 ac_status=$?
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); } &&
26838 { ac_try='test -s conftest$ac_exeext'
26839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26840 (eval $ac_try) 2>&5
26841 ac_status=$?
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); }; }; then
26844 eval "$as_ac_var=yes"
26845 else
26846 echo "$as_me: failed program was:" >&5
26847 sed 's/^/| /' conftest.$ac_ext >&5
26848
26849 eval "$as_ac_var=no"
26850 fi
26851 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26852 fi
26853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26855 if test `eval echo '${'$as_ac_var'}'` = yes; then
26856 cat >>confdefs.h <<_ACEOF
26857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26858 _ACEOF
26859
26860 fi
26861 done
26862
26863
26864 if test "$ac_cv_func_sigaction" = "no"; then
26865 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26866 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26867 wxUSE_ON_FATAL_EXCEPTION=no
26868 fi
26869
26870 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26871
26872
26873 ac_ext=cc
26874 ac_cpp='$CXXCPP $CPPFLAGS'
26875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26878
26879
26880 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26881 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26882 if test "${wx_cv_type_sa_handler+set}" = set; then
26883 echo $ECHO_N "(cached) $ECHO_C" >&6
26884 else
26885
26886 cat >conftest.$ac_ext <<_ACEOF
26887 #line $LINENO "configure"
26888 /* confdefs.h. */
26889 _ACEOF
26890 cat confdefs.h >>conftest.$ac_ext
26891 cat >>conftest.$ac_ext <<_ACEOF
26892 /* end confdefs.h. */
26893 #include <signal.h>
26894 int
26895 main ()
26896 {
26897
26898 extern void testSigHandler(int);
26899
26900 struct sigaction sa;
26901 sa.sa_handler = testSigHandler;
26902
26903 ;
26904 return 0;
26905 }
26906 _ACEOF
26907 rm -f conftest.$ac_objext
26908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26909 (eval $ac_compile) 2>&5
26910 ac_status=$?
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); } &&
26913 { ac_try='test -s conftest.$ac_objext'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26916 ac_status=$?
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; }; then
26919
26920 wx_cv_type_sa_handler=int
26921
26922 else
26923 echo "$as_me: failed program was:" >&5
26924 sed 's/^/| /' conftest.$ac_ext >&5
26925
26926
26927 wx_cv_type_sa_handler=void
26928
26929 fi
26930 rm -f conftest.$ac_objext conftest.$ac_ext
26931
26932 fi
26933 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26934 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26935
26936 ac_ext=c
26937 ac_cpp='$CPP $CPPFLAGS'
26938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26941
26942
26943 cat >>confdefs.h <<_ACEOF
26944 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26945 _ACEOF
26946
26947 fi
26948 fi
26949
26950
26951
26952 for ac_func in mkstemp mktemp
26953 do
26954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26955 echo "$as_me:$LINENO: checking for $ac_func" >&5
26956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26957 if eval "test \"\${$as_ac_var+set}\" = set"; then
26958 echo $ECHO_N "(cached) $ECHO_C" >&6
26959 else
26960 cat >conftest.$ac_ext <<_ACEOF
26961 #line $LINENO "configure"
26962 /* confdefs.h. */
26963 _ACEOF
26964 cat confdefs.h >>conftest.$ac_ext
26965 cat >>conftest.$ac_ext <<_ACEOF
26966 /* end confdefs.h. */
26967 /* System header to define __stub macros and hopefully few prototypes,
26968 which can conflict with char $ac_func (); below.
26969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26970 <limits.h> exists even on freestanding compilers. */
26971 #ifdef __STDC__
26972 # include <limits.h>
26973 #else
26974 # include <assert.h>
26975 #endif
26976 /* Override any gcc2 internal prototype to avoid an error. */
26977 #ifdef __cplusplus
26978 extern "C"
26979 {
26980 #endif
26981 /* We use char because int might match the return type of a gcc2
26982 builtin and then its argument prototype would still apply. */
26983 char $ac_func ();
26984 /* The GNU C library defines this for functions which it implements
26985 to always fail with ENOSYS. Some functions are actually named
26986 something starting with __ and the normal name is an alias. */
26987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26988 choke me
26989 #else
26990 char (*f) () = $ac_func;
26991 #endif
26992 #ifdef __cplusplus
26993 }
26994 #endif
26995
26996 int
26997 main ()
26998 {
26999 return f != $ac_func;
27000 ;
27001 return 0;
27002 }
27003 _ACEOF
27004 rm -f conftest.$ac_objext conftest$ac_exeext
27005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27006 (eval $ac_link) 2>&5
27007 ac_status=$?
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); } &&
27010 { ac_try='test -s conftest$ac_exeext'
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 eval "$as_ac_var=yes"
27017 else
27018 echo "$as_me: failed program was:" >&5
27019 sed 's/^/| /' conftest.$ac_ext >&5
27020
27021 eval "$as_ac_var=no"
27022 fi
27023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27024 fi
27025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27027 if test `eval echo '${'$as_ac_var'}'` = yes; then
27028 cat >>confdefs.h <<_ACEOF
27029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27030 _ACEOF
27031 break
27032 fi
27033 done
27034
27035
27036 echo "$as_me:$LINENO: checking for statfs" >&5
27037 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27038 if test "${wx_cv_func_statfs+set}" = set; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27040 else
27041 cat >conftest.$ac_ext <<_ACEOF
27042 #line $LINENO "configure"
27043 /* confdefs.h. */
27044 _ACEOF
27045 cat confdefs.h >>conftest.$ac_ext
27046 cat >>conftest.$ac_ext <<_ACEOF
27047 /* end confdefs.h. */
27048
27049 #if defined(__BSD__)
27050 #include <sys/param.h>
27051 #include <sys/mount.h>
27052 #else
27053 #include <sys/vfs.h>
27054 #endif
27055
27056 int
27057 main ()
27058 {
27059
27060 long l;
27061 struct statfs fs;
27062 statfs("/", &fs);
27063 l = fs.f_bsize;
27064 l += fs.f_blocks;
27065 l += fs.f_bavail;
27066
27067 ;
27068 return 0;
27069 }
27070 _ACEOF
27071 rm -f conftest.$ac_objext
27072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27073 (eval $ac_compile) 2>&5
27074 ac_status=$?
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } &&
27077 { ac_try='test -s conftest.$ac_objext'
27078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27079 (eval $ac_try) 2>&5
27080 ac_status=$?
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); }; }; then
27083
27084 wx_cv_func_statfs=yes
27085
27086 else
27087 echo "$as_me: failed program was:" >&5
27088 sed 's/^/| /' conftest.$ac_ext >&5
27089
27090
27091 wx_cv_func_statfs=no
27092
27093
27094 fi
27095 rm -f conftest.$ac_objext conftest.$ac_ext
27096
27097 fi
27098 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27099 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27100
27101 if test "$wx_cv_func_statfs" = "yes"; then
27102 wx_cv_type_statvfs_t="struct statfs"
27103 cat >>confdefs.h <<\_ACEOF
27104 #define HAVE_STATFS 1
27105 _ACEOF
27106
27107 else
27108 echo "$as_me:$LINENO: checking for statvfs" >&5
27109 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27110 if test "${wx_cv_func_statvfs+set}" = set; then
27111 echo $ECHO_N "(cached) $ECHO_C" >&6
27112 else
27113 cat >conftest.$ac_ext <<_ACEOF
27114 #line $LINENO "configure"
27115 /* confdefs.h. */
27116 _ACEOF
27117 cat confdefs.h >>conftest.$ac_ext
27118 cat >>conftest.$ac_ext <<_ACEOF
27119 /* end confdefs.h. */
27120
27121 #include <stddef.h>
27122 #include <sys/statvfs.h>
27123
27124 int
27125 main ()
27126 {
27127
27128 statvfs("/", NULL);
27129
27130 ;
27131 return 0;
27132 }
27133 _ACEOF
27134 rm -f conftest.$ac_objext
27135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27136 (eval $ac_compile) 2>&5
27137 ac_status=$?
27138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27139 (exit $ac_status); } &&
27140 { ac_try='test -s conftest.$ac_objext'
27141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27142 (eval $ac_try) 2>&5
27143 ac_status=$?
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); }; }; then
27146 wx_cv_func_statvfs=yes
27147 else
27148 echo "$as_me: failed program was:" >&5
27149 sed 's/^/| /' conftest.$ac_ext >&5
27150
27151 wx_cv_func_statvfs=no
27152
27153 fi
27154 rm -f conftest.$ac_objext conftest.$ac_ext
27155
27156 fi
27157 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27158 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27159
27160 if test "$wx_cv_func_statvfs" = "yes"; then
27161
27162
27163 ac_ext=cc
27164 ac_cpp='$CXXCPP $CPPFLAGS'
27165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27168
27169
27170 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27171 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27172 if test "${wx_cv_type_statvfs_t+set}" = set; then
27173 echo $ECHO_N "(cached) $ECHO_C" >&6
27174 else
27175 cat >conftest.$ac_ext <<_ACEOF
27176 #line $LINENO "configure"
27177 /* confdefs.h. */
27178 _ACEOF
27179 cat confdefs.h >>conftest.$ac_ext
27180 cat >>conftest.$ac_ext <<_ACEOF
27181 /* end confdefs.h. */
27182
27183 #include <sys/statvfs.h>
27184
27185 int
27186 main ()
27187 {
27188
27189 long l;
27190 statvfs_t fs;
27191 statvfs("/", &fs);
27192 l = fs.f_bsize;
27193 l += fs.f_blocks;
27194 l += fs.f_bavail;
27195
27196 ;
27197 return 0;
27198 }
27199 _ACEOF
27200 rm -f conftest.$ac_objext
27201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27202 (eval $ac_compile) 2>&5
27203 ac_status=$?
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } &&
27206 { ac_try='test -s conftest.$ac_objext'
27207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27208 (eval $ac_try) 2>&5
27209 ac_status=$?
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); }; }; then
27212 wx_cv_type_statvfs_t=statvfs_t
27213 else
27214 echo "$as_me: failed program was:" >&5
27215 sed 's/^/| /' conftest.$ac_ext >&5
27216
27217
27218 cat >conftest.$ac_ext <<_ACEOF
27219 #line $LINENO "configure"
27220 /* confdefs.h. */
27221 _ACEOF
27222 cat confdefs.h >>conftest.$ac_ext
27223 cat >>conftest.$ac_ext <<_ACEOF
27224 /* end confdefs.h. */
27225
27226 #include <sys/statvfs.h>
27227
27228 int
27229 main ()
27230 {
27231
27232 long l;
27233 struct statvfs fs;
27234 statvfs("/", &fs);
27235 l = fs.f_bsize;
27236 l += fs.f_blocks;
27237 l += fs.f_bavail;
27238
27239 ;
27240 return 0;
27241 }
27242 _ACEOF
27243 rm -f conftest.$ac_objext
27244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27245 (eval $ac_compile) 2>&5
27246 ac_status=$?
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); } &&
27249 { ac_try='test -s conftest.$ac_objext'
27250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27251 (eval $ac_try) 2>&5
27252 ac_status=$?
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); }; }; then
27255 wx_cv_type_statvfs_t="struct statvfs"
27256 else
27257 echo "$as_me: failed program was:" >&5
27258 sed 's/^/| /' conftest.$ac_ext >&5
27259
27260 wx_cv_type_statvfs_t="unknown"
27261
27262 fi
27263 rm -f conftest.$ac_objext conftest.$ac_ext
27264
27265
27266 fi
27267 rm -f conftest.$ac_objext conftest.$ac_ext
27268
27269 fi
27270 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27271 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27272
27273 ac_ext=c
27274 ac_cpp='$CPP $CPPFLAGS'
27275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27278
27279
27280 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27281 cat >>confdefs.h <<\_ACEOF
27282 #define HAVE_STATVFS 1
27283 _ACEOF
27284
27285 fi
27286 else
27287 wx_cv_type_statvfs_t="unknown"
27288 fi
27289 fi
27290
27291 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27292 cat >>confdefs.h <<_ACEOF
27293 #define WX_STATFS_T $wx_cv_type_statvfs_t
27294 _ACEOF
27295
27296 else
27297 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27298 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27299 fi
27300
27301 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27302
27303
27304 for ac_func in fcntl flock
27305 do
27306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27307 echo "$as_me:$LINENO: checking for $ac_func" >&5
27308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27309 if eval "test \"\${$as_ac_var+set}\" = set"; then
27310 echo $ECHO_N "(cached) $ECHO_C" >&6
27311 else
27312 cat >conftest.$ac_ext <<_ACEOF
27313 #line $LINENO "configure"
27314 /* confdefs.h. */
27315 _ACEOF
27316 cat confdefs.h >>conftest.$ac_ext
27317 cat >>conftest.$ac_ext <<_ACEOF
27318 /* end confdefs.h. */
27319 /* System header to define __stub macros and hopefully few prototypes,
27320 which can conflict with char $ac_func (); below.
27321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27322 <limits.h> exists even on freestanding compilers. */
27323 #ifdef __STDC__
27324 # include <limits.h>
27325 #else
27326 # include <assert.h>
27327 #endif
27328 /* Override any gcc2 internal prototype to avoid an error. */
27329 #ifdef __cplusplus
27330 extern "C"
27331 {
27332 #endif
27333 /* We use char because int might match the return type of a gcc2
27334 builtin and then its argument prototype would still apply. */
27335 char $ac_func ();
27336 /* The GNU C library defines this for functions which it implements
27337 to always fail with ENOSYS. Some functions are actually named
27338 something starting with __ and the normal name is an alias. */
27339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27340 choke me
27341 #else
27342 char (*f) () = $ac_func;
27343 #endif
27344 #ifdef __cplusplus
27345 }
27346 #endif
27347
27348 int
27349 main ()
27350 {
27351 return f != $ac_func;
27352 ;
27353 return 0;
27354 }
27355 _ACEOF
27356 rm -f conftest.$ac_objext conftest$ac_exeext
27357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27358 (eval $ac_link) 2>&5
27359 ac_status=$?
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); } &&
27362 { ac_try='test -s conftest$ac_exeext'
27363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27364 (eval $ac_try) 2>&5
27365 ac_status=$?
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); }; }; then
27368 eval "$as_ac_var=yes"
27369 else
27370 echo "$as_me: failed program was:" >&5
27371 sed 's/^/| /' conftest.$ac_ext >&5
27372
27373 eval "$as_ac_var=no"
27374 fi
27375 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27376 fi
27377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27379 if test `eval echo '${'$as_ac_var'}'` = yes; then
27380 cat >>confdefs.h <<_ACEOF
27381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27382 _ACEOF
27383 break
27384 fi
27385 done
27386
27387
27388 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27389 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27390 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27391 wxUSE_SNGLINST_CHECKER=no
27392 fi
27393 fi
27394
27395
27396 for ac_func in timegm
27397 do
27398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27399 echo "$as_me:$LINENO: checking for $ac_func" >&5
27400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27401 if eval "test \"\${$as_ac_var+set}\" = set"; then
27402 echo $ECHO_N "(cached) $ECHO_C" >&6
27403 else
27404 cat >conftest.$ac_ext <<_ACEOF
27405 #line $LINENO "configure"
27406 /* confdefs.h. */
27407 _ACEOF
27408 cat confdefs.h >>conftest.$ac_ext
27409 cat >>conftest.$ac_ext <<_ACEOF
27410 /* end confdefs.h. */
27411 /* System header to define __stub macros and hopefully few prototypes,
27412 which can conflict with char $ac_func (); below.
27413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27414 <limits.h> exists even on freestanding compilers. */
27415 #ifdef __STDC__
27416 # include <limits.h>
27417 #else
27418 # include <assert.h>
27419 #endif
27420 /* Override any gcc2 internal prototype to avoid an error. */
27421 #ifdef __cplusplus
27422 extern "C"
27423 {
27424 #endif
27425 /* We use char because int might match the return type of a gcc2
27426 builtin and then its argument prototype would still apply. */
27427 char $ac_func ();
27428 /* The GNU C library defines this for functions which it implements
27429 to always fail with ENOSYS. Some functions are actually named
27430 something starting with __ and the normal name is an alias. */
27431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27432 choke me
27433 #else
27434 char (*f) () = $ac_func;
27435 #endif
27436 #ifdef __cplusplus
27437 }
27438 #endif
27439
27440 int
27441 main ()
27442 {
27443 return f != $ac_func;
27444 ;
27445 return 0;
27446 }
27447 _ACEOF
27448 rm -f conftest.$ac_objext conftest$ac_exeext
27449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27450 (eval $ac_link) 2>&5
27451 ac_status=$?
27452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 (exit $ac_status); } &&
27454 { ac_try='test -s conftest$ac_exeext'
27455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27456 (eval $ac_try) 2>&5
27457 ac_status=$?
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); }; }; then
27460 eval "$as_ac_var=yes"
27461 else
27462 echo "$as_me: failed program was:" >&5
27463 sed 's/^/| /' conftest.$ac_ext >&5
27464
27465 eval "$as_ac_var=no"
27466 fi
27467 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27468 fi
27469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27471 if test `eval echo '${'$as_ac_var'}'` = yes; then
27472 cat >>confdefs.h <<_ACEOF
27473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27474 _ACEOF
27475
27476 fi
27477 done
27478
27479
27480
27481
27482 for ac_func in putenv setenv
27483 do
27484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27485 echo "$as_me:$LINENO: checking for $ac_func" >&5
27486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27487 if eval "test \"\${$as_ac_var+set}\" = set"; then
27488 echo $ECHO_N "(cached) $ECHO_C" >&6
27489 else
27490 cat >conftest.$ac_ext <<_ACEOF
27491 #line $LINENO "configure"
27492 /* confdefs.h. */
27493 _ACEOF
27494 cat confdefs.h >>conftest.$ac_ext
27495 cat >>conftest.$ac_ext <<_ACEOF
27496 /* end confdefs.h. */
27497 /* System header to define __stub macros and hopefully few prototypes,
27498 which can conflict with char $ac_func (); below.
27499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27500 <limits.h> exists even on freestanding compilers. */
27501 #ifdef __STDC__
27502 # include <limits.h>
27503 #else
27504 # include <assert.h>
27505 #endif
27506 /* Override any gcc2 internal prototype to avoid an error. */
27507 #ifdef __cplusplus
27508 extern "C"
27509 {
27510 #endif
27511 /* We use char because int might match the return type of a gcc2
27512 builtin and then its argument prototype would still apply. */
27513 char $ac_func ();
27514 /* The GNU C library defines this for functions which it implements
27515 to always fail with ENOSYS. Some functions are actually named
27516 something starting with __ and the normal name is an alias. */
27517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27518 choke me
27519 #else
27520 char (*f) () = $ac_func;
27521 #endif
27522 #ifdef __cplusplus
27523 }
27524 #endif
27525
27526 int
27527 main ()
27528 {
27529 return f != $ac_func;
27530 ;
27531 return 0;
27532 }
27533 _ACEOF
27534 rm -f conftest.$ac_objext conftest$ac_exeext
27535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27536 (eval $ac_link) 2>&5
27537 ac_status=$?
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); } &&
27540 { ac_try='test -s conftest$ac_exeext'
27541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27542 (eval $ac_try) 2>&5
27543 ac_status=$?
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); }; }; then
27546 eval "$as_ac_var=yes"
27547 else
27548 echo "$as_me: failed program was:" >&5
27549 sed 's/^/| /' conftest.$ac_ext >&5
27550
27551 eval "$as_ac_var=no"
27552 fi
27553 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27554 fi
27555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27557 if test `eval echo '${'$as_ac_var'}'` = yes; then
27558 cat >>confdefs.h <<_ACEOF
27559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27560 _ACEOF
27561 break
27562 fi
27563 done
27564
27565
27566 HAVE_SOME_SLEEP_FUNC=0
27567 if test "$USE_BEOS" = 1; then
27568 cat >>confdefs.h <<\_ACEOF
27569 #define HAVE_SLEEP 1
27570 _ACEOF
27571
27572 HAVE_SOME_SLEEP_FUNC=1
27573 fi
27574
27575 if test "$USE_DARWIN" = 1; then
27576 cat >>confdefs.h <<\_ACEOF
27577 #define HAVE_USLEEP 1
27578 _ACEOF
27579
27580 HAVE_SOME_SLEEP_FUNC=1
27581 fi
27582
27583 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27584 POSIX4_LINK=
27585
27586 for ac_func in nanosleep
27587 do
27588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27589 echo "$as_me:$LINENO: checking for $ac_func" >&5
27590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27591 if eval "test \"\${$as_ac_var+set}\" = set"; then
27592 echo $ECHO_N "(cached) $ECHO_C" >&6
27593 else
27594 cat >conftest.$ac_ext <<_ACEOF
27595 #line $LINENO "configure"
27596 /* confdefs.h. */
27597 _ACEOF
27598 cat confdefs.h >>conftest.$ac_ext
27599 cat >>conftest.$ac_ext <<_ACEOF
27600 /* end confdefs.h. */
27601 /* System header to define __stub macros and hopefully few prototypes,
27602 which can conflict with char $ac_func (); below.
27603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27604 <limits.h> exists even on freestanding compilers. */
27605 #ifdef __STDC__
27606 # include <limits.h>
27607 #else
27608 # include <assert.h>
27609 #endif
27610 /* Override any gcc2 internal prototype to avoid an error. */
27611 #ifdef __cplusplus
27612 extern "C"
27613 {
27614 #endif
27615 /* We use char because int might match the return type of a gcc2
27616 builtin and then its argument prototype would still apply. */
27617 char $ac_func ();
27618 /* The GNU C library defines this for functions which it implements
27619 to always fail with ENOSYS. Some functions are actually named
27620 something starting with __ and the normal name is an alias. */
27621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27622 choke me
27623 #else
27624 char (*f) () = $ac_func;
27625 #endif
27626 #ifdef __cplusplus
27627 }
27628 #endif
27629
27630 int
27631 main ()
27632 {
27633 return f != $ac_func;
27634 ;
27635 return 0;
27636 }
27637 _ACEOF
27638 rm -f conftest.$ac_objext conftest$ac_exeext
27639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27640 (eval $ac_link) 2>&5
27641 ac_status=$?
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); } &&
27644 { ac_try='test -s conftest$ac_exeext'
27645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27646 (eval $ac_try) 2>&5
27647 ac_status=$?
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); }; }; then
27650 eval "$as_ac_var=yes"
27651 else
27652 echo "$as_me: failed program was:" >&5
27653 sed 's/^/| /' conftest.$ac_ext >&5
27654
27655 eval "$as_ac_var=no"
27656 fi
27657 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27658 fi
27659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27661 if test `eval echo '${'$as_ac_var'}'` = yes; then
27662 cat >>confdefs.h <<_ACEOF
27663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27664 _ACEOF
27665 cat >>confdefs.h <<\_ACEOF
27666 #define HAVE_NANOSLEEP 1
27667 _ACEOF
27668
27669 else
27670
27671 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27672 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27673 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27674 echo $ECHO_N "(cached) $ECHO_C" >&6
27675 else
27676 ac_check_lib_save_LIBS=$LIBS
27677 LIBS="-lposix4 $LIBS"
27678 cat >conftest.$ac_ext <<_ACEOF
27679 #line $LINENO "configure"
27680 /* confdefs.h. */
27681 _ACEOF
27682 cat confdefs.h >>conftest.$ac_ext
27683 cat >>conftest.$ac_ext <<_ACEOF
27684 /* end confdefs.h. */
27685
27686 /* Override any gcc2 internal prototype to avoid an error. */
27687 #ifdef __cplusplus
27688 extern "C"
27689 #endif
27690 /* We use char because int might match the return type of a gcc2
27691 builtin and then its argument prototype would still apply. */
27692 char nanosleep ();
27693 int
27694 main ()
27695 {
27696 nanosleep ();
27697 ;
27698 return 0;
27699 }
27700 _ACEOF
27701 rm -f conftest.$ac_objext conftest$ac_exeext
27702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27703 (eval $ac_link) 2>&5
27704 ac_status=$?
27705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706 (exit $ac_status); } &&
27707 { ac_try='test -s conftest$ac_exeext'
27708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27709 (eval $ac_try) 2>&5
27710 ac_status=$?
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); }; }; then
27713 ac_cv_lib_posix4_nanosleep=yes
27714 else
27715 echo "$as_me: failed program was:" >&5
27716 sed 's/^/| /' conftest.$ac_ext >&5
27717
27718 ac_cv_lib_posix4_nanosleep=no
27719 fi
27720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27721 LIBS=$ac_check_lib_save_LIBS
27722 fi
27723 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27724 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27725 if test $ac_cv_lib_posix4_nanosleep = yes; then
27726
27727 cat >>confdefs.h <<\_ACEOF
27728 #define HAVE_NANOSLEEP 1
27729 _ACEOF
27730
27731 POSIX4_LINK=" -lposix4"
27732
27733 else
27734
27735
27736 for ac_func in usleep
27737 do
27738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27739 echo "$as_me:$LINENO: checking for $ac_func" >&5
27740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27741 if eval "test \"\${$as_ac_var+set}\" = set"; then
27742 echo $ECHO_N "(cached) $ECHO_C" >&6
27743 else
27744 cat >conftest.$ac_ext <<_ACEOF
27745 #line $LINENO "configure"
27746 /* confdefs.h. */
27747 _ACEOF
27748 cat confdefs.h >>conftest.$ac_ext
27749 cat >>conftest.$ac_ext <<_ACEOF
27750 /* end confdefs.h. */
27751 /* System header to define __stub macros and hopefully few prototypes,
27752 which can conflict with char $ac_func (); below.
27753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27754 <limits.h> exists even on freestanding compilers. */
27755 #ifdef __STDC__
27756 # include <limits.h>
27757 #else
27758 # include <assert.h>
27759 #endif
27760 /* Override any gcc2 internal prototype to avoid an error. */
27761 #ifdef __cplusplus
27762 extern "C"
27763 {
27764 #endif
27765 /* We use char because int might match the return type of a gcc2
27766 builtin and then its argument prototype would still apply. */
27767 char $ac_func ();
27768 /* The GNU C library defines this for functions which it implements
27769 to always fail with ENOSYS. Some functions are actually named
27770 something starting with __ and the normal name is an alias. */
27771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27772 choke me
27773 #else
27774 char (*f) () = $ac_func;
27775 #endif
27776 #ifdef __cplusplus
27777 }
27778 #endif
27779
27780 int
27781 main ()
27782 {
27783 return f != $ac_func;
27784 ;
27785 return 0;
27786 }
27787 _ACEOF
27788 rm -f conftest.$ac_objext conftest$ac_exeext
27789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27790 (eval $ac_link) 2>&5
27791 ac_status=$?
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); } &&
27794 { ac_try='test -s conftest$ac_exeext'
27795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27796 (eval $ac_try) 2>&5
27797 ac_status=$?
27798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27799 (exit $ac_status); }; }; then
27800 eval "$as_ac_var=yes"
27801 else
27802 echo "$as_me: failed program was:" >&5
27803 sed 's/^/| /' conftest.$ac_ext >&5
27804
27805 eval "$as_ac_var=no"
27806 fi
27807 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27808 fi
27809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27811 if test `eval echo '${'$as_ac_var'}'` = yes; then
27812 cat >>confdefs.h <<_ACEOF
27813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27814 _ACEOF
27815 cat >>confdefs.h <<\_ACEOF
27816 #define HAVE_USLEEP 1
27817 _ACEOF
27818
27819 else
27820 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27821 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27822
27823 fi
27824 done
27825
27826
27827
27828 fi
27829
27830
27831
27832 fi
27833 done
27834
27835 fi
27836
27837
27838
27839 for ac_func in uname gethostname
27840 do
27841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27842 echo "$as_me:$LINENO: checking for $ac_func" >&5
27843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27844 if eval "test \"\${$as_ac_var+set}\" = set"; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 else
27847 cat >conftest.$ac_ext <<_ACEOF
27848 #line $LINENO "configure"
27849 /* confdefs.h. */
27850 _ACEOF
27851 cat confdefs.h >>conftest.$ac_ext
27852 cat >>conftest.$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27854 /* System header to define __stub macros and hopefully few prototypes,
27855 which can conflict with char $ac_func (); below.
27856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27857 <limits.h> exists even on freestanding compilers. */
27858 #ifdef __STDC__
27859 # include <limits.h>
27860 #else
27861 # include <assert.h>
27862 #endif
27863 /* Override any gcc2 internal prototype to avoid an error. */
27864 #ifdef __cplusplus
27865 extern "C"
27866 {
27867 #endif
27868 /* We use char because int might match the return type of a gcc2
27869 builtin and then its argument prototype would still apply. */
27870 char $ac_func ();
27871 /* The GNU C library defines this for functions which it implements
27872 to always fail with ENOSYS. Some functions are actually named
27873 something starting with __ and the normal name is an alias. */
27874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27875 choke me
27876 #else
27877 char (*f) () = $ac_func;
27878 #endif
27879 #ifdef __cplusplus
27880 }
27881 #endif
27882
27883 int
27884 main ()
27885 {
27886 return f != $ac_func;
27887 ;
27888 return 0;
27889 }
27890 _ACEOF
27891 rm -f conftest.$ac_objext conftest$ac_exeext
27892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27893 (eval $ac_link) 2>&5
27894 ac_status=$?
27895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27896 (exit $ac_status); } &&
27897 { ac_try='test -s conftest$ac_exeext'
27898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27899 (eval $ac_try) 2>&5
27900 ac_status=$?
27901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27902 (exit $ac_status); }; }; then
27903 eval "$as_ac_var=yes"
27904 else
27905 echo "$as_me: failed program was:" >&5
27906 sed 's/^/| /' conftest.$ac_ext >&5
27907
27908 eval "$as_ac_var=no"
27909 fi
27910 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27911 fi
27912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27914 if test `eval echo '${'$as_ac_var'}'` = yes; then
27915 cat >>confdefs.h <<_ACEOF
27916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27917 _ACEOF
27918 break
27919 fi
27920 done
27921
27922
27923
27924
27925 ac_ext=cc
27926 ac_cpp='$CXXCPP $CPPFLAGS'
27927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27930
27931
27932
27933 for ac_func in strtok_r
27934 do
27935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27936 echo "$as_me:$LINENO: checking for $ac_func" >&5
27937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27938 if eval "test \"\${$as_ac_var+set}\" = set"; then
27939 echo $ECHO_N "(cached) $ECHO_C" >&6
27940 else
27941 cat >conftest.$ac_ext <<_ACEOF
27942 #line $LINENO "configure"
27943 /* confdefs.h. */
27944 _ACEOF
27945 cat confdefs.h >>conftest.$ac_ext
27946 cat >>conftest.$ac_ext <<_ACEOF
27947 /* end confdefs.h. */
27948 /* System header to define __stub macros and hopefully few prototypes,
27949 which can conflict with char $ac_func (); below.
27950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27951 <limits.h> exists even on freestanding compilers. */
27952 #ifdef __STDC__
27953 # include <limits.h>
27954 #else
27955 # include <assert.h>
27956 #endif
27957 /* Override any gcc2 internal prototype to avoid an error. */
27958 #ifdef __cplusplus
27959 extern "C"
27960 {
27961 #endif
27962 /* We use char because int might match the return type of a gcc2
27963 builtin and then its argument prototype would still apply. */
27964 char $ac_func ();
27965 /* The GNU C library defines this for functions which it implements
27966 to always fail with ENOSYS. Some functions are actually named
27967 something starting with __ and the normal name is an alias. */
27968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27969 choke me
27970 #else
27971 char (*f) () = $ac_func;
27972 #endif
27973 #ifdef __cplusplus
27974 }
27975 #endif
27976
27977 int
27978 main ()
27979 {
27980 return f != $ac_func;
27981 ;
27982 return 0;
27983 }
27984 _ACEOF
27985 rm -f conftest.$ac_objext conftest$ac_exeext
27986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27987 (eval $ac_link) 2>&5
27988 ac_status=$?
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } &&
27991 { ac_try='test -s conftest$ac_exeext'
27992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27993 (eval $ac_try) 2>&5
27994 ac_status=$?
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); }; }; then
27997 eval "$as_ac_var=yes"
27998 else
27999 echo "$as_me: failed program was:" >&5
28000 sed 's/^/| /' conftest.$ac_ext >&5
28001
28002 eval "$as_ac_var=no"
28003 fi
28004 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28005 fi
28006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28008 if test `eval echo '${'$as_ac_var'}'` = yes; then
28009 cat >>confdefs.h <<_ACEOF
28010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28011 _ACEOF
28012
28013 fi
28014 done
28015
28016
28017 ac_ext=c
28018 ac_cpp='$CPP $CPPFLAGS'
28019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28022
28023
28024 INET_LINK=
28025
28026 for ac_func in inet_addr
28027 do
28028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28029 echo "$as_me:$LINENO: checking for $ac_func" >&5
28030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28031 if eval "test \"\${$as_ac_var+set}\" = set"; then
28032 echo $ECHO_N "(cached) $ECHO_C" >&6
28033 else
28034 cat >conftest.$ac_ext <<_ACEOF
28035 #line $LINENO "configure"
28036 /* confdefs.h. */
28037 _ACEOF
28038 cat confdefs.h >>conftest.$ac_ext
28039 cat >>conftest.$ac_ext <<_ACEOF
28040 /* end confdefs.h. */
28041 /* System header to define __stub macros and hopefully few prototypes,
28042 which can conflict with char $ac_func (); below.
28043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28044 <limits.h> exists even on freestanding compilers. */
28045 #ifdef __STDC__
28046 # include <limits.h>
28047 #else
28048 # include <assert.h>
28049 #endif
28050 /* Override any gcc2 internal prototype to avoid an error. */
28051 #ifdef __cplusplus
28052 extern "C"
28053 {
28054 #endif
28055 /* We use char because int might match the return type of a gcc2
28056 builtin and then its argument prototype would still apply. */
28057 char $ac_func ();
28058 /* The GNU C library defines this for functions which it implements
28059 to always fail with ENOSYS. Some functions are actually named
28060 something starting with __ and the normal name is an alias. */
28061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28062 choke me
28063 #else
28064 char (*f) () = $ac_func;
28065 #endif
28066 #ifdef __cplusplus
28067 }
28068 #endif
28069
28070 int
28071 main ()
28072 {
28073 return f != $ac_func;
28074 ;
28075 return 0;
28076 }
28077 _ACEOF
28078 rm -f conftest.$ac_objext conftest$ac_exeext
28079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28080 (eval $ac_link) 2>&5
28081 ac_status=$?
28082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083 (exit $ac_status); } &&
28084 { ac_try='test -s conftest$ac_exeext'
28085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28086 (eval $ac_try) 2>&5
28087 ac_status=$?
28088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); }; }; then
28090 eval "$as_ac_var=yes"
28091 else
28092 echo "$as_me: failed program was:" >&5
28093 sed 's/^/| /' conftest.$ac_ext >&5
28094
28095 eval "$as_ac_var=no"
28096 fi
28097 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28098 fi
28099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28101 if test `eval echo '${'$as_ac_var'}'` = yes; then
28102 cat >>confdefs.h <<_ACEOF
28103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28104 _ACEOF
28105 cat >>confdefs.h <<\_ACEOF
28106 #define HAVE_INET_ADDR 1
28107 _ACEOF
28108
28109 else
28110
28111 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28112 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28113 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28114 echo $ECHO_N "(cached) $ECHO_C" >&6
28115 else
28116 ac_check_lib_save_LIBS=$LIBS
28117 LIBS="-lnsl $LIBS"
28118 cat >conftest.$ac_ext <<_ACEOF
28119 #line $LINENO "configure"
28120 /* confdefs.h. */
28121 _ACEOF
28122 cat confdefs.h >>conftest.$ac_ext
28123 cat >>conftest.$ac_ext <<_ACEOF
28124 /* end confdefs.h. */
28125
28126 /* Override any gcc2 internal prototype to avoid an error. */
28127 #ifdef __cplusplus
28128 extern "C"
28129 #endif
28130 /* We use char because int might match the return type of a gcc2
28131 builtin and then its argument prototype would still apply. */
28132 char inet_addr ();
28133 int
28134 main ()
28135 {
28136 inet_addr ();
28137 ;
28138 return 0;
28139 }
28140 _ACEOF
28141 rm -f conftest.$ac_objext conftest$ac_exeext
28142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28143 (eval $ac_link) 2>&5
28144 ac_status=$?
28145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28146 (exit $ac_status); } &&
28147 { ac_try='test -s conftest$ac_exeext'
28148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28149 (eval $ac_try) 2>&5
28150 ac_status=$?
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); }; }; then
28153 ac_cv_lib_nsl_inet_addr=yes
28154 else
28155 echo "$as_me: failed program was:" >&5
28156 sed 's/^/| /' conftest.$ac_ext >&5
28157
28158 ac_cv_lib_nsl_inet_addr=no
28159 fi
28160 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28161 LIBS=$ac_check_lib_save_LIBS
28162 fi
28163 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28164 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28165 if test $ac_cv_lib_nsl_inet_addr = yes; then
28166 INET_LINK="nsl"
28167 else
28168 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28169 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28170 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28171 echo $ECHO_N "(cached) $ECHO_C" >&6
28172 else
28173 ac_check_lib_save_LIBS=$LIBS
28174 LIBS="-lresolv $LIBS"
28175 cat >conftest.$ac_ext <<_ACEOF
28176 #line $LINENO "configure"
28177 /* confdefs.h. */
28178 _ACEOF
28179 cat confdefs.h >>conftest.$ac_ext
28180 cat >>conftest.$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28182
28183 /* Override any gcc2 internal prototype to avoid an error. */
28184 #ifdef __cplusplus
28185 extern "C"
28186 #endif
28187 /* We use char because int might match the return type of a gcc2
28188 builtin and then its argument prototype would still apply. */
28189 char inet_addr ();
28190 int
28191 main ()
28192 {
28193 inet_addr ();
28194 ;
28195 return 0;
28196 }
28197 _ACEOF
28198 rm -f conftest.$ac_objext conftest$ac_exeext
28199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28200 (eval $ac_link) 2>&5
28201 ac_status=$?
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); } &&
28204 { ac_try='test -s conftest$ac_exeext'
28205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28206 (eval $ac_try) 2>&5
28207 ac_status=$?
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); }; }; then
28210 ac_cv_lib_resolv_inet_addr=yes
28211 else
28212 echo "$as_me: failed program was:" >&5
28213 sed 's/^/| /' conftest.$ac_ext >&5
28214
28215 ac_cv_lib_resolv_inet_addr=no
28216 fi
28217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28218 LIBS=$ac_check_lib_save_LIBS
28219 fi
28220 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28221 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28222 if test $ac_cv_lib_resolv_inet_addr = yes; then
28223 INET_LINK="resolv"
28224 else
28225 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28226 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28227 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28228 echo $ECHO_N "(cached) $ECHO_C" >&6
28229 else
28230 ac_check_lib_save_LIBS=$LIBS
28231 LIBS="-lsocket $LIBS"
28232 cat >conftest.$ac_ext <<_ACEOF
28233 #line $LINENO "configure"
28234 /* confdefs.h. */
28235 _ACEOF
28236 cat confdefs.h >>conftest.$ac_ext
28237 cat >>conftest.$ac_ext <<_ACEOF
28238 /* end confdefs.h. */
28239
28240 /* Override any gcc2 internal prototype to avoid an error. */
28241 #ifdef __cplusplus
28242 extern "C"
28243 #endif
28244 /* We use char because int might match the return type of a gcc2
28245 builtin and then its argument prototype would still apply. */
28246 char inet_addr ();
28247 int
28248 main ()
28249 {
28250 inet_addr ();
28251 ;
28252 return 0;
28253 }
28254 _ACEOF
28255 rm -f conftest.$ac_objext conftest$ac_exeext
28256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28257 (eval $ac_link) 2>&5
28258 ac_status=$?
28259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28260 (exit $ac_status); } &&
28261 { ac_try='test -s conftest$ac_exeext'
28262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28263 (eval $ac_try) 2>&5
28264 ac_status=$?
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); }; }; then
28267 ac_cv_lib_socket_inet_addr=yes
28268 else
28269 echo "$as_me: failed program was:" >&5
28270 sed 's/^/| /' conftest.$ac_ext >&5
28271
28272 ac_cv_lib_socket_inet_addr=no
28273 fi
28274 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28275 LIBS=$ac_check_lib_save_LIBS
28276 fi
28277 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28278 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28279 if test $ac_cv_lib_socket_inet_addr = yes; then
28280 INET_LINK="socket"
28281
28282 fi
28283
28284
28285 fi
28286
28287
28288 fi
28289
28290
28291
28292 fi
28293 done
28294
28295
28296
28297 for ac_func in inet_aton
28298 do
28299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28300 echo "$as_me:$LINENO: checking for $ac_func" >&5
28301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28302 if eval "test \"\${$as_ac_var+set}\" = set"; then
28303 echo $ECHO_N "(cached) $ECHO_C" >&6
28304 else
28305 cat >conftest.$ac_ext <<_ACEOF
28306 #line $LINENO "configure"
28307 /* confdefs.h. */
28308 _ACEOF
28309 cat confdefs.h >>conftest.$ac_ext
28310 cat >>conftest.$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28312 /* System header to define __stub macros and hopefully few prototypes,
28313 which can conflict with char $ac_func (); below.
28314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28315 <limits.h> exists even on freestanding compilers. */
28316 #ifdef __STDC__
28317 # include <limits.h>
28318 #else
28319 # include <assert.h>
28320 #endif
28321 /* Override any gcc2 internal prototype to avoid an error. */
28322 #ifdef __cplusplus
28323 extern "C"
28324 {
28325 #endif
28326 /* We use char because int might match the return type of a gcc2
28327 builtin and then its argument prototype would still apply. */
28328 char $ac_func ();
28329 /* The GNU C library defines this for functions which it implements
28330 to always fail with ENOSYS. Some functions are actually named
28331 something starting with __ and the normal name is an alias. */
28332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28333 choke me
28334 #else
28335 char (*f) () = $ac_func;
28336 #endif
28337 #ifdef __cplusplus
28338 }
28339 #endif
28340
28341 int
28342 main ()
28343 {
28344 return f != $ac_func;
28345 ;
28346 return 0;
28347 }
28348 _ACEOF
28349 rm -f conftest.$ac_objext conftest$ac_exeext
28350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28351 (eval $ac_link) 2>&5
28352 ac_status=$?
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); } &&
28355 { ac_try='test -s conftest$ac_exeext'
28356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28357 (eval $ac_try) 2>&5
28358 ac_status=$?
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); }; }; then
28361 eval "$as_ac_var=yes"
28362 else
28363 echo "$as_me: failed program was:" >&5
28364 sed 's/^/| /' conftest.$ac_ext >&5
28365
28366 eval "$as_ac_var=no"
28367 fi
28368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28369 fi
28370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28372 if test `eval echo '${'$as_ac_var'}'` = yes; then
28373 cat >>confdefs.h <<_ACEOF
28374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28375 _ACEOF
28376 cat >>confdefs.h <<\_ACEOF
28377 #define HAVE_INET_ATON 1
28378 _ACEOF
28379
28380 else
28381
28382 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28383 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28384 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28385 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28386 echo $ECHO_N "(cached) $ECHO_C" >&6
28387 else
28388 ac_check_lib_save_LIBS=$LIBS
28389 LIBS="-l$INET_LINK $LIBS"
28390 cat >conftest.$ac_ext <<_ACEOF
28391 #line $LINENO "configure"
28392 /* confdefs.h. */
28393 _ACEOF
28394 cat confdefs.h >>conftest.$ac_ext
28395 cat >>conftest.$ac_ext <<_ACEOF
28396 /* end confdefs.h. */
28397
28398 /* Override any gcc2 internal prototype to avoid an error. */
28399 #ifdef __cplusplus
28400 extern "C"
28401 #endif
28402 /* We use char because int might match the return type of a gcc2
28403 builtin and then its argument prototype would still apply. */
28404 char inet_aton ();
28405 int
28406 main ()
28407 {
28408 inet_aton ();
28409 ;
28410 return 0;
28411 }
28412 _ACEOF
28413 rm -f conftest.$ac_objext conftest$ac_exeext
28414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28415 (eval $ac_link) 2>&5
28416 ac_status=$?
28417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28418 (exit $ac_status); } &&
28419 { ac_try='test -s conftest$ac_exeext'
28420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28421 (eval $ac_try) 2>&5
28422 ac_status=$?
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); }; }; then
28425 eval "$as_ac_Lib=yes"
28426 else
28427 echo "$as_me: failed program was:" >&5
28428 sed 's/^/| /' conftest.$ac_ext >&5
28429
28430 eval "$as_ac_Lib=no"
28431 fi
28432 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28433 LIBS=$ac_check_lib_save_LIBS
28434 fi
28435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28436 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28437 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28438 cat >>confdefs.h <<\_ACEOF
28439 #define HAVE_INET_ATON 1
28440 _ACEOF
28441
28442 fi
28443
28444
28445 fi
28446 done
28447
28448
28449 if test "x$INET_LINK" != "x"; then
28450 cat >>confdefs.h <<\_ACEOF
28451 #define HAVE_INET_ADDR 1
28452 _ACEOF
28453
28454 INET_LINK=" -l$INET_LINK"
28455 fi
28456
28457 fi
28458
28459
28460
28461 EXTRALIBS_ESD=
28462 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28463 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28464 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28465 echo $ECHO_N "(cached) $ECHO_C" >&6
28466 else
28467 ac_check_lib_save_LIBS=$LIBS
28468 LIBS="-lesd $LIBS"
28469 cat >conftest.$ac_ext <<_ACEOF
28470 #line $LINENO "configure"
28471 /* confdefs.h. */
28472 _ACEOF
28473 cat confdefs.h >>conftest.$ac_ext
28474 cat >>conftest.$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28476
28477 /* Override any gcc2 internal prototype to avoid an error. */
28478 #ifdef __cplusplus
28479 extern "C"
28480 #endif
28481 /* We use char because int might match the return type of a gcc2
28482 builtin and then its argument prototype would still apply. */
28483 char esd_close ();
28484 int
28485 main ()
28486 {
28487 esd_close ();
28488 ;
28489 return 0;
28490 }
28491 _ACEOF
28492 rm -f conftest.$ac_objext conftest$ac_exeext
28493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28494 (eval $ac_link) 2>&5
28495 ac_status=$?
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); } &&
28498 { ac_try='test -s conftest$ac_exeext'
28499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28500 (eval $ac_try) 2>&5
28501 ac_status=$?
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); }; }; then
28504 ac_cv_lib_esd_esd_close=yes
28505 else
28506 echo "$as_me: failed program was:" >&5
28507 sed 's/^/| /' conftest.$ac_ext >&5
28508
28509 ac_cv_lib_esd_esd_close=no
28510 fi
28511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28512 LIBS=$ac_check_lib_save_LIBS
28513 fi
28514 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28515 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28516 if test $ac_cv_lib_esd_esd_close = yes; then
28517
28518
28519 for ac_header in esd.h
28520 do
28521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28523 echo "$as_me:$LINENO: checking for $ac_header" >&5
28524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28526 echo $ECHO_N "(cached) $ECHO_C" >&6
28527 fi
28528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28530 else
28531 # Is the header compilable?
28532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28534 cat >conftest.$ac_ext <<_ACEOF
28535 #line $LINENO "configure"
28536 /* confdefs.h. */
28537 _ACEOF
28538 cat confdefs.h >>conftest.$ac_ext
28539 cat >>conftest.$ac_ext <<_ACEOF
28540 /* end confdefs.h. */
28541 $ac_includes_default
28542 #include <$ac_header>
28543 _ACEOF
28544 rm -f conftest.$ac_objext
28545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28546 (eval $ac_compile) 2>&5
28547 ac_status=$?
28548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549 (exit $ac_status); } &&
28550 { ac_try='test -s conftest.$ac_objext'
28551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28552 (eval $ac_try) 2>&5
28553 ac_status=$?
28554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555 (exit $ac_status); }; }; then
28556 ac_header_compiler=yes
28557 else
28558 echo "$as_me: failed program was:" >&5
28559 sed 's/^/| /' conftest.$ac_ext >&5
28560
28561 ac_header_compiler=no
28562 fi
28563 rm -f conftest.$ac_objext conftest.$ac_ext
28564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28565 echo "${ECHO_T}$ac_header_compiler" >&6
28566
28567 # Is the header present?
28568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28570 cat >conftest.$ac_ext <<_ACEOF
28571 #line $LINENO "configure"
28572 /* confdefs.h. */
28573 _ACEOF
28574 cat confdefs.h >>conftest.$ac_ext
28575 cat >>conftest.$ac_ext <<_ACEOF
28576 /* end confdefs.h. */
28577 #include <$ac_header>
28578 _ACEOF
28579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28580 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28581 ac_status=$?
28582 grep -v '^ *+' conftest.er1 >conftest.err
28583 rm -f conftest.er1
28584 cat conftest.err >&5
28585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28586 (exit $ac_status); } >/dev/null; then
28587 if test -s conftest.err; then
28588 ac_cpp_err=$ac_c_preproc_warn_flag
28589 else
28590 ac_cpp_err=
28591 fi
28592 else
28593 ac_cpp_err=yes
28594 fi
28595 if test -z "$ac_cpp_err"; then
28596 ac_header_preproc=yes
28597 else
28598 echo "$as_me: failed program was:" >&5
28599 sed 's/^/| /' conftest.$ac_ext >&5
28600
28601 ac_header_preproc=no
28602 fi
28603 rm -f conftest.err conftest.$ac_ext
28604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28605 echo "${ECHO_T}$ac_header_preproc" >&6
28606
28607 # So? What about this header?
28608 case $ac_header_compiler:$ac_header_preproc in
28609 yes:no )
28610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28614 (
28615 cat <<\_ASBOX
28616 ## ------------------------------------ ##
28617 ## Report this to bug-autoconf@gnu.org. ##
28618 ## ------------------------------------ ##
28619 _ASBOX
28620 ) |
28621 sed "s/^/$as_me: WARNING: /" >&2
28622 ;;
28623 no:yes )
28624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28630 (
28631 cat <<\_ASBOX
28632 ## ------------------------------------ ##
28633 ## Report this to bug-autoconf@gnu.org. ##
28634 ## ------------------------------------ ##
28635 _ASBOX
28636 ) |
28637 sed "s/^/$as_me: WARNING: /" >&2
28638 ;;
28639 esac
28640 echo "$as_me:$LINENO: checking for $ac_header" >&5
28641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28643 echo $ECHO_N "(cached) $ECHO_C" >&6
28644 else
28645 eval "$as_ac_Header=$ac_header_preproc"
28646 fi
28647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28649
28650 fi
28651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28652 cat >>confdefs.h <<_ACEOF
28653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28654 _ACEOF
28655
28656 EXTRALIBS_ESD="-lesd"
28657
28658 fi
28659
28660 done
28661
28662
28663 fi
28664
28665
28666
28667
28668
28669 cat >confcache <<\_ACEOF
28670 # This file is a shell script that caches the results of configure
28671 # tests run on this system so they can be shared between configure
28672 # scripts and configure runs, see configure's option --config-cache.
28673 # It is not useful on other systems. If it contains results you don't
28674 # want to keep, you may remove or edit it.
28675 #
28676 # config.status only pays attention to the cache file if you give it
28677 # the --recheck option to rerun configure.
28678 #
28679 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28680 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28681 # following values.
28682
28683 _ACEOF
28684
28685 # The following way of writing the cache mishandles newlines in values,
28686 # but we know of no workaround that is simple, portable, and efficient.
28687 # So, don't put newlines in cache variables' values.
28688 # Ultrix sh set writes to stderr and can't be redirected directly,
28689 # and sets the high bit in the cache file unless we assign to the vars.
28690 {
28691 (set) 2>&1 |
28692 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28693 *ac_space=\ *)
28694 # `set' does not quote correctly, so add quotes (double-quote
28695 # substitution turns \\\\ into \\, and sed turns \\ into \).
28696 sed -n \
28697 "s/'/'\\\\''/g;
28698 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28699 ;;
28700 *)
28701 # `set' quotes correctly as required by POSIX, so do not add quotes.
28702 sed -n \
28703 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28704 ;;
28705 esac;
28706 } |
28707 sed '
28708 t clear
28709 : clear
28710 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28711 t end
28712 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28713 : end' >>confcache
28714 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28715 if test -w $cache_file; then
28716 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28717 cat confcache >$cache_file
28718 else
28719 echo "not updating unwritable cache $cache_file"
28720 fi
28721 fi
28722 rm -f confcache
28723
28724
28725 CPP_MT_FLAG=
28726 if test "$TOOLKIT" != "MSW"; then
28727
28728
28729 THREADS_LINK=
28730 THREADS_CFLAGS=
28731
28732 if test "$wxUSE_THREADS" = "yes" ; then
28733 if test "$USE_BEOS" = 1; then
28734 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28735 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28736 wxUSE_THREADS="no"
28737 fi
28738 fi
28739
28740 if test "$wxUSE_THREADS" = "yes" ; then
28741
28742
28743 THREAD_OPTS="-pthread"
28744 case "${host}" in
28745 *-*-solaris2* | *-*-sunos4* )
28746 if test "x$GCC" = "xyes"; then
28747 THREAD_OPTS="-pthreads $THREAD_OPTS"
28748 else
28749 THREAD_OPTS="-mt $THREAD_OPTS"
28750 fi
28751 ;;
28752 *-*-freebsd*)
28753 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28754 ;;
28755 *-*-darwin* | *-*-cygwin* )
28756 THREAD_OPTS=""
28757 ;;
28758 *-*-aix*)
28759 THREAD_OPTS="pthreads"
28760 ;;
28761 *-hp-hpux* )
28762 if test "x$GCC" != "xyes"; then
28763 THREAD_OPTS=""
28764 fi
28765 ;;
28766
28767 *-*-irix* )
28768 if test "x$GCC" = "xyes"; then
28769 THREAD_OPTS=""
28770 fi
28771 ;;
28772
28773 *-*-*UnixWare*)
28774 if test "x$GCC" != "xyes"; then
28775 THREAD_OPTS="-Ethread"
28776 fi
28777 ;;
28778 esac
28779
28780 THREAD_OPTS="$THREAD_OPTS pthread none"
28781
28782 THREADS_OK=no
28783 for flag in $THREAD_OPTS; do
28784 case $flag in
28785 none)
28786 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28787 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28788 ;;
28789
28790 -*)
28791 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28792 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28793 THREADS_CFLAGS="$flag"
28794 ;;
28795
28796 *)
28797 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28798 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28799 THREADS_LINK="-l$flag"
28800 ;;
28801 esac
28802
28803 save_LIBS="$LIBS"
28804 save_CFLAGS="$CFLAGS"
28805 LIBS="$THREADS_LINK $LIBS"
28806 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28807
28808 cat >conftest.$ac_ext <<_ACEOF
28809 #line $LINENO "configure"
28810 /* confdefs.h. */
28811 _ACEOF
28812 cat confdefs.h >>conftest.$ac_ext
28813 cat >>conftest.$ac_ext <<_ACEOF
28814 /* end confdefs.h. */
28815 #include <pthread.h>
28816 int
28817 main ()
28818 {
28819 pthread_create(0,0,0,0);
28820 ;
28821 return 0;
28822 }
28823 _ACEOF
28824 rm -f conftest.$ac_objext conftest$ac_exeext
28825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28826 (eval $ac_link) 2>&5
28827 ac_status=$?
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } &&
28830 { ac_try='test -s conftest$ac_exeext'
28831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28832 (eval $ac_try) 2>&5
28833 ac_status=$?
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); }; }; then
28836 THREADS_OK=yes
28837 else
28838 echo "$as_me: failed program was:" >&5
28839 sed 's/^/| /' conftest.$ac_ext >&5
28840
28841 fi
28842 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28843
28844 LIBS="$save_LIBS"
28845 CFLAGS="$save_CFLAGS"
28846
28847 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28848 echo "${ECHO_T}$THREADS_OK" >&6
28849 if test "x$THREADS_OK" = "xyes"; then
28850 break;
28851 fi
28852
28853 THREADS_LINK=""
28854 THREADS_CFLAGS=""
28855 done
28856
28857 if test "x$THREADS_OK" != "xyes"; then
28858 wxUSE_THREADS=no
28859 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28860 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28861 else
28862 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28863 LIBS="$THREADS_LINK $LIBS"
28864
28865 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28866 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28867 flag=no
28868 case "${host}" in
28869 *-aix*)
28870 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28871 flag="-D_THREAD_SAFE"
28872 ;;
28873 *-freebsd*)
28874 flag="-D_THREAD_SAFE"
28875 ;;
28876 *-hp-hpux* )
28877 flag="-D_REENTRANT"
28878 if test "x$GCC" != "xyes"; then
28879 flag="$flag -D_RWSTD_MULTI_THREAD"
28880 fi
28881 ;;
28882 *solaris* | alpha*-osf*)
28883 flag="-D_REENTRANT"
28884 ;;
28885 esac
28886 echo "$as_me:$LINENO: result: ${flag}" >&5
28887 echo "${ECHO_T}${flag}" >&6
28888 if test "x$flag" != xno; then
28889 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28890 fi
28891
28892 if test "x$THREADS_CFLAGS" != "x"; then
28893 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28894 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28895 fi
28896 fi
28897 fi
28898
28899 if test "$wxUSE_THREADS" = "yes" ; then
28900
28901 for ac_func in thr_setconcurrency
28902 do
28903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28904 echo "$as_me:$LINENO: checking for $ac_func" >&5
28905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28906 if eval "test \"\${$as_ac_var+set}\" = set"; then
28907 echo $ECHO_N "(cached) $ECHO_C" >&6
28908 else
28909 cat >conftest.$ac_ext <<_ACEOF
28910 #line $LINENO "configure"
28911 /* confdefs.h. */
28912 _ACEOF
28913 cat confdefs.h >>conftest.$ac_ext
28914 cat >>conftest.$ac_ext <<_ACEOF
28915 /* end confdefs.h. */
28916 /* System header to define __stub macros and hopefully few prototypes,
28917 which can conflict with char $ac_func (); below.
28918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28919 <limits.h> exists even on freestanding compilers. */
28920 #ifdef __STDC__
28921 # include <limits.h>
28922 #else
28923 # include <assert.h>
28924 #endif
28925 /* Override any gcc2 internal prototype to avoid an error. */
28926 #ifdef __cplusplus
28927 extern "C"
28928 {
28929 #endif
28930 /* We use char because int might match the return type of a gcc2
28931 builtin and then its argument prototype would still apply. */
28932 char $ac_func ();
28933 /* The GNU C library defines this for functions which it implements
28934 to always fail with ENOSYS. Some functions are actually named
28935 something starting with __ and the normal name is an alias. */
28936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28937 choke me
28938 #else
28939 char (*f) () = $ac_func;
28940 #endif
28941 #ifdef __cplusplus
28942 }
28943 #endif
28944
28945 int
28946 main ()
28947 {
28948 return f != $ac_func;
28949 ;
28950 return 0;
28951 }
28952 _ACEOF
28953 rm -f conftest.$ac_objext conftest$ac_exeext
28954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28955 (eval $ac_link) 2>&5
28956 ac_status=$?
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); } &&
28959 { ac_try='test -s conftest$ac_exeext'
28960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28961 (eval $ac_try) 2>&5
28962 ac_status=$?
28963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964 (exit $ac_status); }; }; then
28965 eval "$as_ac_var=yes"
28966 else
28967 echo "$as_me: failed program was:" >&5
28968 sed 's/^/| /' conftest.$ac_ext >&5
28969
28970 eval "$as_ac_var=no"
28971 fi
28972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28973 fi
28974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28976 if test `eval echo '${'$as_ac_var'}'` = yes; then
28977 cat >>confdefs.h <<_ACEOF
28978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28979 _ACEOF
28980
28981 fi
28982 done
28983
28984
28985
28986 for ac_header in sched.h
28987 do
28988 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28990 echo "$as_me:$LINENO: checking for $ac_header" >&5
28991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28993 echo $ECHO_N "(cached) $ECHO_C" >&6
28994 fi
28995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28997 else
28998 # Is the header compilable?
28999 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29001 cat >conftest.$ac_ext <<_ACEOF
29002 #line $LINENO "configure"
29003 /* confdefs.h. */
29004 _ACEOF
29005 cat confdefs.h >>conftest.$ac_ext
29006 cat >>conftest.$ac_ext <<_ACEOF
29007 /* end confdefs.h. */
29008 $ac_includes_default
29009 #include <$ac_header>
29010 _ACEOF
29011 rm -f conftest.$ac_objext
29012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29013 (eval $ac_compile) 2>&5
29014 ac_status=$?
29015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29016 (exit $ac_status); } &&
29017 { ac_try='test -s conftest.$ac_objext'
29018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29019 (eval $ac_try) 2>&5
29020 ac_status=$?
29021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022 (exit $ac_status); }; }; then
29023 ac_header_compiler=yes
29024 else
29025 echo "$as_me: failed program was:" >&5
29026 sed 's/^/| /' conftest.$ac_ext >&5
29027
29028 ac_header_compiler=no
29029 fi
29030 rm -f conftest.$ac_objext conftest.$ac_ext
29031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29032 echo "${ECHO_T}$ac_header_compiler" >&6
29033
29034 # Is the header present?
29035 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29036 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29037 cat >conftest.$ac_ext <<_ACEOF
29038 #line $LINENO "configure"
29039 /* confdefs.h. */
29040 _ACEOF
29041 cat confdefs.h >>conftest.$ac_ext
29042 cat >>conftest.$ac_ext <<_ACEOF
29043 /* end confdefs.h. */
29044 #include <$ac_header>
29045 _ACEOF
29046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29048 ac_status=$?
29049 grep -v '^ *+' conftest.er1 >conftest.err
29050 rm -f conftest.er1
29051 cat conftest.err >&5
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); } >/dev/null; then
29054 if test -s conftest.err; then
29055 ac_cpp_err=$ac_c_preproc_warn_flag
29056 else
29057 ac_cpp_err=
29058 fi
29059 else
29060 ac_cpp_err=yes
29061 fi
29062 if test -z "$ac_cpp_err"; then
29063 ac_header_preproc=yes
29064 else
29065 echo "$as_me: failed program was:" >&5
29066 sed 's/^/| /' conftest.$ac_ext >&5
29067
29068 ac_header_preproc=no
29069 fi
29070 rm -f conftest.err conftest.$ac_ext
29071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29072 echo "${ECHO_T}$ac_header_preproc" >&6
29073
29074 # So? What about this header?
29075 case $ac_header_compiler:$ac_header_preproc in
29076 yes:no )
29077 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29078 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29081 (
29082 cat <<\_ASBOX
29083 ## ------------------------------------ ##
29084 ## Report this to bug-autoconf@gnu.org. ##
29085 ## ------------------------------------ ##
29086 _ASBOX
29087 ) |
29088 sed "s/^/$as_me: WARNING: /" >&2
29089 ;;
29090 no:yes )
29091 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29092 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29093 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29094 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29096 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29097 (
29098 cat <<\_ASBOX
29099 ## ------------------------------------ ##
29100 ## Report this to bug-autoconf@gnu.org. ##
29101 ## ------------------------------------ ##
29102 _ASBOX
29103 ) |
29104 sed "s/^/$as_me: WARNING: /" >&2
29105 ;;
29106 esac
29107 echo "$as_me:$LINENO: checking for $ac_header" >&5
29108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29110 echo $ECHO_N "(cached) $ECHO_C" >&6
29111 else
29112 eval "$as_ac_Header=$ac_header_preproc"
29113 fi
29114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29116
29117 fi
29118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29119 cat >>confdefs.h <<_ACEOF
29120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29121 _ACEOF
29122
29123 fi
29124
29125 done
29126
29127 if test "$ac_cv_header_sched_h" = "yes"; then
29128 echo "$as_me:$LINENO: checking for sched_yield" >&5
29129 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29130 if test "${ac_cv_func_sched_yield+set}" = set; then
29131 echo $ECHO_N "(cached) $ECHO_C" >&6
29132 else
29133 cat >conftest.$ac_ext <<_ACEOF
29134 #line $LINENO "configure"
29135 /* confdefs.h. */
29136 _ACEOF
29137 cat confdefs.h >>conftest.$ac_ext
29138 cat >>conftest.$ac_ext <<_ACEOF
29139 /* end confdefs.h. */
29140 /* System header to define __stub macros and hopefully few prototypes,
29141 which can conflict with char sched_yield (); below.
29142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29143 <limits.h> exists even on freestanding compilers. */
29144 #ifdef __STDC__
29145 # include <limits.h>
29146 #else
29147 # include <assert.h>
29148 #endif
29149 /* Override any gcc2 internal prototype to avoid an error. */
29150 #ifdef __cplusplus
29151 extern "C"
29152 {
29153 #endif
29154 /* We use char because int might match the return type of a gcc2
29155 builtin and then its argument prototype would still apply. */
29156 char sched_yield ();
29157 /* The GNU C library defines this for functions which it implements
29158 to always fail with ENOSYS. Some functions are actually named
29159 something starting with __ and the normal name is an alias. */
29160 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29161 choke me
29162 #else
29163 char (*f) () = sched_yield;
29164 #endif
29165 #ifdef __cplusplus
29166 }
29167 #endif
29168
29169 int
29170 main ()
29171 {
29172 return f != sched_yield;
29173 ;
29174 return 0;
29175 }
29176 _ACEOF
29177 rm -f conftest.$ac_objext conftest$ac_exeext
29178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29179 (eval $ac_link) 2>&5
29180 ac_status=$?
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } &&
29183 { ac_try='test -s conftest$ac_exeext'
29184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29185 (eval $ac_try) 2>&5
29186 ac_status=$?
29187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29188 (exit $ac_status); }; }; then
29189 ac_cv_func_sched_yield=yes
29190 else
29191 echo "$as_me: failed program was:" >&5
29192 sed 's/^/| /' conftest.$ac_ext >&5
29193
29194 ac_cv_func_sched_yield=no
29195 fi
29196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29197 fi
29198 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29199 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29200 if test $ac_cv_func_sched_yield = yes; then
29201 cat >>confdefs.h <<\_ACEOF
29202 #define HAVE_SCHED_YIELD 1
29203 _ACEOF
29204
29205 else
29206
29207 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29208 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29209 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29210 echo $ECHO_N "(cached) $ECHO_C" >&6
29211 else
29212 ac_check_lib_save_LIBS=$LIBS
29213 LIBS="-lposix4 $LIBS"
29214 cat >conftest.$ac_ext <<_ACEOF
29215 #line $LINENO "configure"
29216 /* confdefs.h. */
29217 _ACEOF
29218 cat confdefs.h >>conftest.$ac_ext
29219 cat >>conftest.$ac_ext <<_ACEOF
29220 /* end confdefs.h. */
29221
29222 /* Override any gcc2 internal prototype to avoid an error. */
29223 #ifdef __cplusplus
29224 extern "C"
29225 #endif
29226 /* We use char because int might match the return type of a gcc2
29227 builtin and then its argument prototype would still apply. */
29228 char sched_yield ();
29229 int
29230 main ()
29231 {
29232 sched_yield ();
29233 ;
29234 return 0;
29235 }
29236 _ACEOF
29237 rm -f conftest.$ac_objext conftest$ac_exeext
29238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29239 (eval $ac_link) 2>&5
29240 ac_status=$?
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } &&
29243 { ac_try='test -s conftest$ac_exeext'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29246 ac_status=$?
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; }; then
29249 ac_cv_lib_posix4_sched_yield=yes
29250 else
29251 echo "$as_me: failed program was:" >&5
29252 sed 's/^/| /' conftest.$ac_ext >&5
29253
29254 ac_cv_lib_posix4_sched_yield=no
29255 fi
29256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29257 LIBS=$ac_check_lib_save_LIBS
29258 fi
29259 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29260 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29261 if test $ac_cv_lib_posix4_sched_yield = yes; then
29262 cat >>confdefs.h <<\_ACEOF
29263 #define HAVE_SCHED_YIELD 1
29264 _ACEOF
29265 POSIX4_LINK=" -lposix4"
29266 else
29267 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29268 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29269
29270 fi
29271
29272
29273
29274 fi
29275
29276 fi
29277
29278 HAVE_PRIOR_FUNCS=0
29279 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29280 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29281 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29282 echo $ECHO_N "(cached) $ECHO_C" >&6
29283 else
29284 cat >conftest.$ac_ext <<_ACEOF
29285 #line $LINENO "configure"
29286 /* confdefs.h. */
29287 _ACEOF
29288 cat confdefs.h >>conftest.$ac_ext
29289 cat >>conftest.$ac_ext <<_ACEOF
29290 /* end confdefs.h. */
29291 /* System header to define __stub macros and hopefully few prototypes,
29292 which can conflict with char pthread_attr_getschedpolicy (); below.
29293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29294 <limits.h> exists even on freestanding compilers. */
29295 #ifdef __STDC__
29296 # include <limits.h>
29297 #else
29298 # include <assert.h>
29299 #endif
29300 /* Override any gcc2 internal prototype to avoid an error. */
29301 #ifdef __cplusplus
29302 extern "C"
29303 {
29304 #endif
29305 /* We use char because int might match the return type of a gcc2
29306 builtin and then its argument prototype would still apply. */
29307 char pthread_attr_getschedpolicy ();
29308 /* The GNU C library defines this for functions which it implements
29309 to always fail with ENOSYS. Some functions are actually named
29310 something starting with __ and the normal name is an alias. */
29311 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29312 choke me
29313 #else
29314 char (*f) () = pthread_attr_getschedpolicy;
29315 #endif
29316 #ifdef __cplusplus
29317 }
29318 #endif
29319
29320 int
29321 main ()
29322 {
29323 return f != pthread_attr_getschedpolicy;
29324 ;
29325 return 0;
29326 }
29327 _ACEOF
29328 rm -f conftest.$ac_objext conftest$ac_exeext
29329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29330 (eval $ac_link) 2>&5
29331 ac_status=$?
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); } &&
29334 { ac_try='test -s conftest$ac_exeext'
29335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29336 (eval $ac_try) 2>&5
29337 ac_status=$?
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); }; }; then
29340 ac_cv_func_pthread_attr_getschedpolicy=yes
29341 else
29342 echo "$as_me: failed program was:" >&5
29343 sed 's/^/| /' conftest.$ac_ext >&5
29344
29345 ac_cv_func_pthread_attr_getschedpolicy=no
29346 fi
29347 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29348 fi
29349 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29350 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29351 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29352 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29353 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29354 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29356 else
29357 cat >conftest.$ac_ext <<_ACEOF
29358 #line $LINENO "configure"
29359 /* confdefs.h. */
29360 _ACEOF
29361 cat confdefs.h >>conftest.$ac_ext
29362 cat >>conftest.$ac_ext <<_ACEOF
29363 /* end confdefs.h. */
29364 /* System header to define __stub macros and hopefully few prototypes,
29365 which can conflict with char pthread_attr_setschedparam (); below.
29366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29367 <limits.h> exists even on freestanding compilers. */
29368 #ifdef __STDC__
29369 # include <limits.h>
29370 #else
29371 # include <assert.h>
29372 #endif
29373 /* Override any gcc2 internal prototype to avoid an error. */
29374 #ifdef __cplusplus
29375 extern "C"
29376 {
29377 #endif
29378 /* We use char because int might match the return type of a gcc2
29379 builtin and then its argument prototype would still apply. */
29380 char pthread_attr_setschedparam ();
29381 /* The GNU C library defines this for functions which it implements
29382 to always fail with ENOSYS. Some functions are actually named
29383 something starting with __ and the normal name is an alias. */
29384 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29385 choke me
29386 #else
29387 char (*f) () = pthread_attr_setschedparam;
29388 #endif
29389 #ifdef __cplusplus
29390 }
29391 #endif
29392
29393 int
29394 main ()
29395 {
29396 return f != pthread_attr_setschedparam;
29397 ;
29398 return 0;
29399 }
29400 _ACEOF
29401 rm -f conftest.$ac_objext conftest$ac_exeext
29402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29403 (eval $ac_link) 2>&5
29404 ac_status=$?
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); } &&
29407 { ac_try='test -s conftest$ac_exeext'
29408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29409 (eval $ac_try) 2>&5
29410 ac_status=$?
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); }; }; then
29413 ac_cv_func_pthread_attr_setschedparam=yes
29414 else
29415 echo "$as_me: failed program was:" >&5
29416 sed 's/^/| /' conftest.$ac_ext >&5
29417
29418 ac_cv_func_pthread_attr_setschedparam=no
29419 fi
29420 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29421 fi
29422 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29423 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29424 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29425 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29426 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29427 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29428 echo $ECHO_N "(cached) $ECHO_C" >&6
29429 else
29430 cat >conftest.$ac_ext <<_ACEOF
29431 #line $LINENO "configure"
29432 /* confdefs.h. */
29433 _ACEOF
29434 cat confdefs.h >>conftest.$ac_ext
29435 cat >>conftest.$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29437 /* System header to define __stub macros and hopefully few prototypes,
29438 which can conflict with char sched_get_priority_max (); below.
29439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29440 <limits.h> exists even on freestanding compilers. */
29441 #ifdef __STDC__
29442 # include <limits.h>
29443 #else
29444 # include <assert.h>
29445 #endif
29446 /* Override any gcc2 internal prototype to avoid an error. */
29447 #ifdef __cplusplus
29448 extern "C"
29449 {
29450 #endif
29451 /* We use char because int might match the return type of a gcc2
29452 builtin and then its argument prototype would still apply. */
29453 char sched_get_priority_max ();
29454 /* The GNU C library defines this for functions which it implements
29455 to always fail with ENOSYS. Some functions are actually named
29456 something starting with __ and the normal name is an alias. */
29457 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29458 choke me
29459 #else
29460 char (*f) () = sched_get_priority_max;
29461 #endif
29462 #ifdef __cplusplus
29463 }
29464 #endif
29465
29466 int
29467 main ()
29468 {
29469 return f != sched_get_priority_max;
29470 ;
29471 return 0;
29472 }
29473 _ACEOF
29474 rm -f conftest.$ac_objext conftest$ac_exeext
29475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29476 (eval $ac_link) 2>&5
29477 ac_status=$?
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try='test -s conftest$ac_exeext'
29481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29482 (eval $ac_try) 2>&5
29483 ac_status=$?
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); }; }; then
29486 ac_cv_func_sched_get_priority_max=yes
29487 else
29488 echo "$as_me: failed program was:" >&5
29489 sed 's/^/| /' conftest.$ac_ext >&5
29490
29491 ac_cv_func_sched_get_priority_max=no
29492 fi
29493 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29494 fi
29495 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29496 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29497 if test $ac_cv_func_sched_get_priority_max = yes; then
29498 HAVE_PRIOR_FUNCS=1
29499 else
29500 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29501 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29502 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29503 echo $ECHO_N "(cached) $ECHO_C" >&6
29504 else
29505 ac_check_lib_save_LIBS=$LIBS
29506 LIBS="-lposix4 $LIBS"
29507 cat >conftest.$ac_ext <<_ACEOF
29508 #line $LINENO "configure"
29509 /* confdefs.h. */
29510 _ACEOF
29511 cat confdefs.h >>conftest.$ac_ext
29512 cat >>conftest.$ac_ext <<_ACEOF
29513 /* end confdefs.h. */
29514
29515 /* Override any gcc2 internal prototype to avoid an error. */
29516 #ifdef __cplusplus
29517 extern "C"
29518 #endif
29519 /* We use char because int might match the return type of a gcc2
29520 builtin and then its argument prototype would still apply. */
29521 char sched_get_priority_max ();
29522 int
29523 main ()
29524 {
29525 sched_get_priority_max ();
29526 ;
29527 return 0;
29528 }
29529 _ACEOF
29530 rm -f conftest.$ac_objext conftest$ac_exeext
29531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29532 (eval $ac_link) 2>&5
29533 ac_status=$?
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); } &&
29536 { ac_try='test -s conftest$ac_exeext'
29537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538 (eval $ac_try) 2>&5
29539 ac_status=$?
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; }; then
29542 ac_cv_lib_posix4_sched_get_priority_max=yes
29543 else
29544 echo "$as_me: failed program was:" >&5
29545 sed 's/^/| /' conftest.$ac_ext >&5
29546
29547 ac_cv_lib_posix4_sched_get_priority_max=no
29548 fi
29549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29550 LIBS=$ac_check_lib_save_LIBS
29551 fi
29552 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29553 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29554 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29555
29556 HAVE_PRIOR_FUNCS=1
29557 POSIX4_LINK=" -lposix4"
29558
29559 fi
29560
29561
29562 fi
29563
29564
29565 fi
29566
29567
29568 fi
29569
29570
29571 if test "$HAVE_PRIOR_FUNCS" = 1; then
29572 cat >>confdefs.h <<\_ACEOF
29573 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29574 _ACEOF
29575
29576 else
29577 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29578 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29579 fi
29580
29581 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29582 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29583 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29584 echo $ECHO_N "(cached) $ECHO_C" >&6
29585 else
29586 cat >conftest.$ac_ext <<_ACEOF
29587 #line $LINENO "configure"
29588 /* confdefs.h. */
29589 _ACEOF
29590 cat confdefs.h >>conftest.$ac_ext
29591 cat >>conftest.$ac_ext <<_ACEOF
29592 /* end confdefs.h. */
29593 /* System header to define __stub macros and hopefully few prototypes,
29594 which can conflict with char pthread_cancel (); below.
29595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29596 <limits.h> exists even on freestanding compilers. */
29597 #ifdef __STDC__
29598 # include <limits.h>
29599 #else
29600 # include <assert.h>
29601 #endif
29602 /* Override any gcc2 internal prototype to avoid an error. */
29603 #ifdef __cplusplus
29604 extern "C"
29605 {
29606 #endif
29607 /* We use char because int might match the return type of a gcc2
29608 builtin and then its argument prototype would still apply. */
29609 char pthread_cancel ();
29610 /* The GNU C library defines this for functions which it implements
29611 to always fail with ENOSYS. Some functions are actually named
29612 something starting with __ and the normal name is an alias. */
29613 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29614 choke me
29615 #else
29616 char (*f) () = pthread_cancel;
29617 #endif
29618 #ifdef __cplusplus
29619 }
29620 #endif
29621
29622 int
29623 main ()
29624 {
29625 return f != pthread_cancel;
29626 ;
29627 return 0;
29628 }
29629 _ACEOF
29630 rm -f conftest.$ac_objext conftest$ac_exeext
29631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29632 (eval $ac_link) 2>&5
29633 ac_status=$?
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); } &&
29636 { ac_try='test -s conftest$ac_exeext'
29637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29638 (eval $ac_try) 2>&5
29639 ac_status=$?
29640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29641 (exit $ac_status); }; }; then
29642 ac_cv_func_pthread_cancel=yes
29643 else
29644 echo "$as_me: failed program was:" >&5
29645 sed 's/^/| /' conftest.$ac_ext >&5
29646
29647 ac_cv_func_pthread_cancel=no
29648 fi
29649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29650 fi
29651 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29652 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29653 if test $ac_cv_func_pthread_cancel = yes; then
29654 cat >>confdefs.h <<\_ACEOF
29655 #define HAVE_PTHREAD_CANCEL 1
29656 _ACEOF
29657
29658 else
29659 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29660 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29661 fi
29662
29663
29664 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29665 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29666 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29668 else
29669
29670 cat >conftest.$ac_ext <<_ACEOF
29671 #line $LINENO "configure"
29672 /* confdefs.h. */
29673 _ACEOF
29674 cat confdefs.h >>conftest.$ac_ext
29675 cat >>conftest.$ac_ext <<_ACEOF
29676 /* end confdefs.h. */
29677 #include <pthread.h>
29678 int
29679 main ()
29680 {
29681
29682 pthread_cleanup_push(NULL, NULL);
29683 pthread_cleanup_pop(0);
29684
29685 ;
29686 return 0;
29687 }
29688 _ACEOF
29689 rm -f conftest.$ac_objext
29690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29691 (eval $ac_compile) 2>&5
29692 ac_status=$?
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); } &&
29695 { ac_try='test -s conftest.$ac_objext'
29696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29697 (eval $ac_try) 2>&5
29698 ac_status=$?
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); }; }; then
29701
29702 wx_cv_func_pthread_cleanup_push=yes
29703
29704 else
29705 echo "$as_me: failed program was:" >&5
29706 sed 's/^/| /' conftest.$ac_ext >&5
29707
29708
29709 wx_cv_func_pthread_cleanup_push=no
29710
29711 fi
29712 rm -f conftest.$ac_objext conftest.$ac_ext
29713
29714 fi
29715 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29716 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29717
29718 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29719 cat >>confdefs.h <<\_ACEOF
29720 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29721 _ACEOF
29722
29723 fi
29724
29725
29726 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29727 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29728 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29729 echo $ECHO_N "(cached) $ECHO_C" >&6
29730 else
29731
29732 cat >conftest.$ac_ext <<_ACEOF
29733 #line $LINENO "configure"
29734 /* confdefs.h. */
29735 _ACEOF
29736 cat confdefs.h >>conftest.$ac_ext
29737 cat >>conftest.$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29739 #include <pthread.h>
29740 int
29741 main ()
29742 {
29743
29744 pthread_mutexattr_t attr;
29745 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29746
29747 ;
29748 return 0;
29749 }
29750 _ACEOF
29751 rm -f conftest.$ac_objext
29752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29753 (eval $ac_compile) 2>&5
29754 ac_status=$?
29755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756 (exit $ac_status); } &&
29757 { ac_try='test -s conftest.$ac_objext'
29758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29759 (eval $ac_try) 2>&5
29760 ac_status=$?
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); }; }; then
29763
29764 wx_cv_type_pthread_mutexattr_t=yes
29765
29766 else
29767 echo "$as_me: failed program was:" >&5
29768 sed 's/^/| /' conftest.$ac_ext >&5
29769
29770
29771 wx_cv_type_pthread_mutexattr_t=no
29772
29773
29774 fi
29775 rm -f conftest.$ac_objext conftest.$ac_ext
29776
29777 fi
29778 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29779 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29780
29781 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29782 cat >>confdefs.h <<\_ACEOF
29783 #define HAVE_PTHREAD_MUTEXATTR_T 1
29784 _ACEOF
29785
29786 else
29787 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29788 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29789 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29790 echo $ECHO_N "(cached) $ECHO_C" >&6
29791 else
29792
29793 cat >conftest.$ac_ext <<_ACEOF
29794 #line $LINENO "configure"
29795 /* confdefs.h. */
29796 _ACEOF
29797 cat confdefs.h >>conftest.$ac_ext
29798 cat >>conftest.$ac_ext <<_ACEOF
29799 /* end confdefs.h. */
29800 #include <pthread.h>
29801 int
29802 main ()
29803 {
29804
29805 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29806
29807 ;
29808 return 0;
29809 }
29810 _ACEOF
29811 rm -f conftest.$ac_objext
29812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29813 (eval $ac_compile) 2>&5
29814 ac_status=$?
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); } &&
29817 { ac_try='test -s conftest.$ac_objext'
29818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29819 (eval $ac_try) 2>&5
29820 ac_status=$?
29821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29822 (exit $ac_status); }; }; then
29823
29824 wx_cv_type_pthread_rec_mutex_init=yes
29825
29826 else
29827 echo "$as_me: failed program was:" >&5
29828 sed 's/^/| /' conftest.$ac_ext >&5
29829
29830
29831 wx_cv_type_pthread_rec_mutex_init=no
29832
29833
29834 fi
29835 rm -f conftest.$ac_objext conftest.$ac_ext
29836
29837 fi
29838 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29839 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29840 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29841 cat >>confdefs.h <<\_ACEOF
29842 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29843 _ACEOF
29844
29845 else
29846 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29847 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29848 fi
29849 fi
29850 fi
29851
29852 else
29853 if test "$wxUSE_THREADS" = "yes" ; then
29854 case "${host}" in
29855 *-*-mingw32* )
29856 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29857 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29858 if test "${wx_cv_cflags_mthread+set}" = set; then
29859 echo $ECHO_N "(cached) $ECHO_C" >&6
29860 else
29861
29862 CFLAGS_OLD="$CFLAGS"
29863 CFLAGS="$CFLAGS -mthreads"
29864 cat >conftest.$ac_ext <<_ACEOF
29865 #line $LINENO "configure"
29866 /* confdefs.h. */
29867 _ACEOF
29868 cat confdefs.h >>conftest.$ac_ext
29869 cat >>conftest.$ac_ext <<_ACEOF
29870 /* end confdefs.h. */
29871
29872 int
29873 main ()
29874 {
29875
29876 ;
29877 return 0;
29878 }
29879 _ACEOF
29880 rm -f conftest.$ac_objext
29881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29882 (eval $ac_compile) 2>&5
29883 ac_status=$?
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); } &&
29886 { ac_try='test -s conftest.$ac_objext'
29887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29888 (eval $ac_try) 2>&5
29889 ac_status=$?
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); }; }; then
29892 wx_cv_cflags_mthread=yes
29893 else
29894 echo "$as_me: failed program was:" >&5
29895 sed 's/^/| /' conftest.$ac_ext >&5
29896
29897 wx_cv_cflags_mthread=no
29898
29899 fi
29900 rm -f conftest.$ac_objext conftest.$ac_ext
29901
29902
29903 fi
29904 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29905 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29906
29907 if test "$wx_cv_cflags_mthread" = "yes"; then
29908 CXXFLAGS="$CXXFLAGS -mthreads"
29909 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29910 LDFLAGS="$LDFLAGS -mthreads"
29911 else
29912 CFLAGS="$CFLAGS_OLD"
29913 fi
29914 ;;
29915 esac
29916 fi
29917 fi
29918
29919 if test "$wxUSE_THREADS" = "yes"; then
29920 cat >>confdefs.h <<\_ACEOF
29921 #define wxUSE_THREADS 1
29922 _ACEOF
29923
29924
29925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29926 else
29927 if test "$ac_cv_func_strtok_r" = "yes"; then
29928 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29929 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29930 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29931 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29932 echo "$as_me:$LINENO: result: yes" >&5
29933 echo "${ECHO_T}yes" >&6
29934 else
29935 echo "$as_me:$LINENO: result: no" >&5
29936 echo "${ECHO_T}no" >&6
29937 fi
29938 fi
29939 fi
29940
29941 if test "$WXGTK20" = 1 ; then
29942 cat >>confdefs.h <<_ACEOF
29943 #define __WXGTK20__ $WXGTK20
29944 _ACEOF
29945
29946 WXGTK12=1
29947 fi
29948
29949 if test "$WXGTK12" = 1 ; then
29950 cat >>confdefs.h <<_ACEOF
29951 #define __WXGTK12__ $WXGTK12
29952 _ACEOF
29953
29954 fi
29955
29956 if test "$WXGTK127" = 1 ; then
29957 cat >>confdefs.h <<_ACEOF
29958 #define __WXGTK127__ $WXGTK127
29959 _ACEOF
29960
29961 fi
29962
29963 WXDEBUG=
29964
29965 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29966 WXDEBUG="-g"
29967 wxUSE_OPTIMISE=no
29968 fi
29969
29970 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29971 wxUSE_DEBUG_INFO=yes
29972 WXDEBUG="-ggdb"
29973 fi
29974
29975 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29976 cat >>confdefs.h <<\_ACEOF
29977 #define WXDEBUG 1
29978 _ACEOF
29979
29980 WXDEBUG_DEFINE="-D__WXDEBUG__"
29981 else
29982 if test "$wxUSE_GTK" = 1 ; then
29983 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29984 fi
29985 fi
29986
29987 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29988 cat >>confdefs.h <<\_ACEOF
29989 #define wxUSE_MEMORY_TRACING 1
29990 _ACEOF
29991
29992 cat >>confdefs.h <<\_ACEOF
29993 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29994 _ACEOF
29995
29996 cat >>confdefs.h <<\_ACEOF
29997 #define wxUSE_DEBUG_NEW_ALWAYS 1
29998 _ACEOF
29999
30000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30001 fi
30002
30003 if test "$wxUSE_DMALLOC" = "yes" ; then
30004 DMALLOC_LIBS="-ldmalloc"
30005 fi
30006
30007 PROFILE=
30008 if test "$wxUSE_PROFILE" = "yes" ; then
30009 PROFILE=" -pg"
30010 fi
30011
30012 CODE_GEN_FLAGS=
30013 CODE_GEN_FLAGS_CXX=
30014 if test "$GCC" = "yes" ; then
30015 if test "$wxUSE_NO_RTTI" = "yes" ; then
30016 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30017 fi
30018 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30019 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30020 fi
30021 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30022 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30023 fi
30024
30025 case "${host}" in
30026 powerpc*-*-aix* )
30027 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30028 ;;
30029 *-hppa* )
30030 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30031 ;;
30032 esac
30033 fi
30034
30035 OPTIMISE=
30036 if test "$wxUSE_OPTIMISE" = "no" ; then
30037 if test "$GCC" = yes ; then
30038 OPTIMISE="-O0"
30039 fi
30040 else
30041 if test "$GCC" = yes ; then
30042 OPTIMISE="-O2"
30043
30044 case "${host}" in
30045 i586-*-*|i686-*-* )
30046 OPTIMISE="${OPTIMISE} "
30047 ;;
30048 esac
30049 else
30050 OPTIMISE="-O"
30051 fi
30052 fi
30053
30054
30055 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30056 cat >>confdefs.h <<\_ACEOF
30057 #define WXWIN_COMPATIBILITY_2_2 1
30058 _ACEOF
30059
30060
30061 WXWIN_COMPATIBILITY_2_4="yes"
30062 fi
30063
30064 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30065 cat >>confdefs.h <<\_ACEOF
30066 #define WXWIN_COMPATIBILITY_2_4 1
30067 _ACEOF
30068
30069 fi
30070
30071
30072 if test "$wxUSE_GUI" = "yes"; then
30073 cat >>confdefs.h <<\_ACEOF
30074 #define wxUSE_GUI 1
30075 _ACEOF
30076
30077
30078 else
30079 cat >>confdefs.h <<\_ACEOF
30080 #define wxUSE_NOGUI 1
30081 _ACEOF
30082
30083 fi
30084
30085
30086 if test "$wxUSE_UNIX" = "yes"; then
30087 cat >>confdefs.h <<\_ACEOF
30088 #define wxUSE_UNIX 1
30089 _ACEOF
30090
30091 fi
30092
30093
30094 if test "$wxUSE_STL" = "yes"; then
30095 cat >>confdefs.h <<\_ACEOF
30096 #define wxUSE_STL 1
30097 _ACEOF
30098
30099 fi
30100
30101 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30102 cat >>confdefs.h <<\_ACEOF
30103 #define wxUSE_APPLE_IEEE 1
30104 _ACEOF
30105
30106 fi
30107
30108 if test "$wxUSE_TIMER" = "yes"; then
30109 cat >>confdefs.h <<\_ACEOF
30110 #define wxUSE_TIMER 1
30111 _ACEOF
30112
30113 fi
30114
30115 if test "$wxUSE_WAVE" = "yes"; then
30116 cat >>confdefs.h <<\_ACEOF
30117 #define wxUSE_WAVE 1
30118 _ACEOF
30119
30120 fi
30121
30122 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30123 cat >>confdefs.h <<\_ACEOF
30124 #define wxUSE_CMDLINE_PARSER 1
30125 _ACEOF
30126
30127 fi
30128
30129 if test "$wxUSE_STOPWATCH" = "yes"; then
30130 cat >>confdefs.h <<\_ACEOF
30131 #define wxUSE_STOPWATCH 1
30132 _ACEOF
30133
30134 fi
30135
30136 if test "$wxUSE_DATETIME" = "yes"; then
30137 cat >>confdefs.h <<\_ACEOF
30138 #define wxUSE_DATETIME 1
30139 _ACEOF
30140
30141 fi
30142
30143 if test "$wxUSE_FILE" = "yes"; then
30144 cat >>confdefs.h <<\_ACEOF
30145 #define wxUSE_FILE 1
30146 _ACEOF
30147
30148 fi
30149
30150 if test "$wxUSE_FFILE" = "yes"; then
30151 cat >>confdefs.h <<\_ACEOF
30152 #define wxUSE_FFILE 1
30153 _ACEOF
30154
30155 fi
30156
30157 if test "$wxUSE_FILESYSTEM" = "yes"; then
30158 cat >>confdefs.h <<\_ACEOF
30159 #define wxUSE_FILESYSTEM 1
30160 _ACEOF
30161
30162 fi
30163
30164 if test "$wxUSE_FS_ZIP" = "yes"; then
30165 cat >>confdefs.h <<\_ACEOF
30166 #define wxUSE_FS_ZIP 1
30167 _ACEOF
30168
30169 fi
30170
30171 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30172 cat >>confdefs.h <<\_ACEOF
30173 #define wxUSE_ZIPSTREAM 1
30174 _ACEOF
30175
30176 fi
30177
30178 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30179 cat >>confdefs.h <<\_ACEOF
30180 #define wxUSE_ON_FATAL_EXCEPTION 1
30181 _ACEOF
30182
30183 fi
30184
30185 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30186 cat >>confdefs.h <<\_ACEOF
30187 #define wxUSE_SNGLINST_CHECKER 1
30188 _ACEOF
30189
30190 fi
30191
30192 if test "$wxUSE_BUSYINFO" = "yes"; then
30193 cat >>confdefs.h <<\_ACEOF
30194 #define wxUSE_BUSYINFO 1
30195 _ACEOF
30196
30197 fi
30198
30199 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30200 cat >>confdefs.h <<\_ACEOF
30201 #define wxUSE_STD_IOSTREAM 1
30202 _ACEOF
30203
30204 fi
30205
30206 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30207 cat >>confdefs.h <<\_ACEOF
30208 #define wxUSE_TEXTBUFFER 1
30209 _ACEOF
30210
30211 fi
30212
30213 if test "$wxUSE_TEXTFILE" = "yes"; then
30214 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30215 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30216 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30217 else
30218 cat >>confdefs.h <<\_ACEOF
30219 #define wxUSE_TEXTFILE 1
30220 _ACEOF
30221
30222 fi
30223 fi
30224
30225 if test "$wxUSE_CONFIG" = "yes" ; then
30226 if test "$wxUSE_TEXTFILE" != "yes"; then
30227 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30228 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30229 else
30230 cat >>confdefs.h <<\_ACEOF
30231 #define wxUSE_CONFIG 1
30232 _ACEOF
30233
30234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30235 fi
30236 fi
30237
30238 if test "$wxUSE_INTL" = "yes" ; then
30239 if test "$wxUSE_FILE" != "yes"; then
30240 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30241 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30242 else
30243 cat >>confdefs.h <<\_ACEOF
30244 #define wxUSE_INTL 1
30245 _ACEOF
30246
30247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30248 GUIDIST="$GUIDIST INTL_DIST"
30249 fi
30250 fi
30251
30252 if test "$wxUSE_LOG" = "yes"; then
30253 cat >>confdefs.h <<\_ACEOF
30254 #define wxUSE_LOG 1
30255 _ACEOF
30256
30257
30258 if test "$wxUSE_LOGGUI" = "yes"; then
30259 cat >>confdefs.h <<\_ACEOF
30260 #define wxUSE_LOGGUI 1
30261 _ACEOF
30262
30263 fi
30264
30265 if test "$wxUSE_LOGWINDOW" = "yes"; then
30266 cat >>confdefs.h <<\_ACEOF
30267 #define wxUSE_LOGWINDOW 1
30268 _ACEOF
30269
30270 fi
30271
30272 if test "$wxUSE_LOGDIALOG" = "yes"; then
30273 cat >>confdefs.h <<\_ACEOF
30274 #define wxUSE_LOG_DIALOG 1
30275 _ACEOF
30276
30277 fi
30278 fi
30279
30280 if test "$wxUSE_LONGLONG" = "yes"; then
30281 cat >>confdefs.h <<\_ACEOF
30282 #define wxUSE_LONGLONG 1
30283 _ACEOF
30284
30285 fi
30286
30287 if test "$wxUSE_GEOMETRY" = "yes"; then
30288 cat >>confdefs.h <<\_ACEOF
30289 #define wxUSE_GEOMETRY 1
30290 _ACEOF
30291
30292 fi
30293
30294 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30295 cat >>confdefs.h <<\_ACEOF
30296 #define wxUSE_DIALUP_MANAGER 1
30297 _ACEOF
30298
30299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30300 fi
30301
30302 if test "$wxUSE_STREAMS" = "yes" ; then
30303 cat >>confdefs.h <<\_ACEOF
30304 #define wxUSE_STREAMS 1
30305 _ACEOF
30306
30307 fi
30308
30309
30310 if test "$wxUSE_DATETIME" = "yes"; then
30311
30312 for ac_func in strptime
30313 do
30314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30315 echo "$as_me:$LINENO: checking for $ac_func" >&5
30316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30317 if eval "test \"\${$as_ac_var+set}\" = set"; then
30318 echo $ECHO_N "(cached) $ECHO_C" >&6
30319 else
30320 cat >conftest.$ac_ext <<_ACEOF
30321 #line $LINENO "configure"
30322 /* confdefs.h. */
30323 _ACEOF
30324 cat confdefs.h >>conftest.$ac_ext
30325 cat >>conftest.$ac_ext <<_ACEOF
30326 /* end confdefs.h. */
30327 /* System header to define __stub macros and hopefully few prototypes,
30328 which can conflict with char $ac_func (); below.
30329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30330 <limits.h> exists even on freestanding compilers. */
30331 #ifdef __STDC__
30332 # include <limits.h>
30333 #else
30334 # include <assert.h>
30335 #endif
30336 /* Override any gcc2 internal prototype to avoid an error. */
30337 #ifdef __cplusplus
30338 extern "C"
30339 {
30340 #endif
30341 /* We use char because int might match the return type of a gcc2
30342 builtin and then its argument prototype would still apply. */
30343 char $ac_func ();
30344 /* The GNU C library defines this for functions which it implements
30345 to always fail with ENOSYS. Some functions are actually named
30346 something starting with __ and the normal name is an alias. */
30347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30348 choke me
30349 #else
30350 char (*f) () = $ac_func;
30351 #endif
30352 #ifdef __cplusplus
30353 }
30354 #endif
30355
30356 int
30357 main ()
30358 {
30359 return f != $ac_func;
30360 ;
30361 return 0;
30362 }
30363 _ACEOF
30364 rm -f conftest.$ac_objext conftest$ac_exeext
30365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30366 (eval $ac_link) 2>&5
30367 ac_status=$?
30368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369 (exit $ac_status); } &&
30370 { ac_try='test -s conftest$ac_exeext'
30371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30372 (eval $ac_try) 2>&5
30373 ac_status=$?
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); }; }; then
30376 eval "$as_ac_var=yes"
30377 else
30378 echo "$as_me: failed program was:" >&5
30379 sed 's/^/| /' conftest.$ac_ext >&5
30380
30381 eval "$as_ac_var=no"
30382 fi
30383 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30384 fi
30385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30387 if test `eval echo '${'$as_ac_var'}'` = yes; then
30388 cat >>confdefs.h <<_ACEOF
30389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30390 _ACEOF
30391
30392 fi
30393 done
30394
30395
30396 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30397 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30398 if test "${wx_cv_var_timezone+set}" = set; then
30399 echo $ECHO_N "(cached) $ECHO_C" >&6
30400 else
30401
30402 cat >conftest.$ac_ext <<_ACEOF
30403 #line $LINENO "configure"
30404 /* confdefs.h. */
30405 _ACEOF
30406 cat confdefs.h >>conftest.$ac_ext
30407 cat >>conftest.$ac_ext <<_ACEOF
30408 /* end confdefs.h. */
30409
30410 #include <time.h>
30411
30412 int
30413 main ()
30414 {
30415
30416 int tz;
30417 tz = timezone;
30418
30419 ;
30420 return 0;
30421 }
30422 _ACEOF
30423 rm -f conftest.$ac_objext
30424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30425 (eval $ac_compile) 2>&5
30426 ac_status=$?
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); } &&
30429 { ac_try='test -s conftest.$ac_objext'
30430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30431 (eval $ac_try) 2>&5
30432 ac_status=$?
30433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30434 (exit $ac_status); }; }; then
30435
30436 wx_cv_var_timezone=timezone
30437
30438 else
30439 echo "$as_me: failed program was:" >&5
30440 sed 's/^/| /' conftest.$ac_ext >&5
30441
30442
30443 cat >conftest.$ac_ext <<_ACEOF
30444 #line $LINENO "configure"
30445 /* confdefs.h. */
30446 _ACEOF
30447 cat confdefs.h >>conftest.$ac_ext
30448 cat >>conftest.$ac_ext <<_ACEOF
30449 /* end confdefs.h. */
30450
30451 #include <time.h>
30452
30453 int
30454 main ()
30455 {
30456
30457 int tz;
30458 tz = _timezone;
30459
30460 ;
30461 return 0;
30462 }
30463 _ACEOF
30464 rm -f conftest.$ac_objext
30465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30466 (eval $ac_compile) 2>&5
30467 ac_status=$?
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); } &&
30470 { ac_try='test -s conftest.$ac_objext'
30471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30472 (eval $ac_try) 2>&5
30473 ac_status=$?
30474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475 (exit $ac_status); }; }; then
30476
30477 wx_cv_var_timezone=_timezone
30478
30479 else
30480 echo "$as_me: failed program was:" >&5
30481 sed 's/^/| /' conftest.$ac_ext >&5
30482
30483
30484 cat >conftest.$ac_ext <<_ACEOF
30485 #line $LINENO "configure"
30486 /* confdefs.h. */
30487 _ACEOF
30488 cat confdefs.h >>conftest.$ac_ext
30489 cat >>conftest.$ac_ext <<_ACEOF
30490 /* end confdefs.h. */
30491
30492 #include <time.h>
30493
30494 int
30495 main ()
30496 {
30497
30498 int tz;
30499 tz = __timezone;
30500
30501 ;
30502 return 0;
30503 }
30504 _ACEOF
30505 rm -f conftest.$ac_objext
30506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30507 (eval $ac_compile) 2>&5
30508 ac_status=$?
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); } &&
30511 { ac_try='test -s conftest.$ac_objext'
30512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30513 (eval $ac_try) 2>&5
30514 ac_status=$?
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); }; }; then
30517
30518 wx_cv_var_timezone=__timezone
30519
30520 else
30521 echo "$as_me: failed program was:" >&5
30522 sed 's/^/| /' conftest.$ac_ext >&5
30523
30524
30525 if test "$USE_DOS" = 0 ; then
30526 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30527 echo "$as_me: WARNING: no timezone variable" >&2;}
30528 fi
30529
30530
30531 fi
30532 rm -f conftest.$ac_objext conftest.$ac_ext
30533
30534
30535 fi
30536 rm -f conftest.$ac_objext conftest.$ac_ext
30537
30538
30539 fi
30540 rm -f conftest.$ac_objext conftest.$ac_ext
30541
30542
30543 fi
30544 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30545 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30546
30547 if test "x$wx_cv_var_timezone" != x ; then
30548 cat >>confdefs.h <<_ACEOF
30549 #define WX_TIMEZONE $wx_cv_var_timezone
30550 _ACEOF
30551
30552 fi
30553
30554
30555 for ac_func in localtime
30556 do
30557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30558 echo "$as_me:$LINENO: checking for $ac_func" >&5
30559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30560 if eval "test \"\${$as_ac_var+set}\" = set"; then
30561 echo $ECHO_N "(cached) $ECHO_C" >&6
30562 else
30563 cat >conftest.$ac_ext <<_ACEOF
30564 #line $LINENO "configure"
30565 /* confdefs.h. */
30566 _ACEOF
30567 cat confdefs.h >>conftest.$ac_ext
30568 cat >>conftest.$ac_ext <<_ACEOF
30569 /* end confdefs.h. */
30570 /* System header to define __stub macros and hopefully few prototypes,
30571 which can conflict with char $ac_func (); below.
30572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30573 <limits.h> exists even on freestanding compilers. */
30574 #ifdef __STDC__
30575 # include <limits.h>
30576 #else
30577 # include <assert.h>
30578 #endif
30579 /* Override any gcc2 internal prototype to avoid an error. */
30580 #ifdef __cplusplus
30581 extern "C"
30582 {
30583 #endif
30584 /* We use char because int might match the return type of a gcc2
30585 builtin and then its argument prototype would still apply. */
30586 char $ac_func ();
30587 /* The GNU C library defines this for functions which it implements
30588 to always fail with ENOSYS. Some functions are actually named
30589 something starting with __ and the normal name is an alias. */
30590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30591 choke me
30592 #else
30593 char (*f) () = $ac_func;
30594 #endif
30595 #ifdef __cplusplus
30596 }
30597 #endif
30598
30599 int
30600 main ()
30601 {
30602 return f != $ac_func;
30603 ;
30604 return 0;
30605 }
30606 _ACEOF
30607 rm -f conftest.$ac_objext conftest$ac_exeext
30608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30609 (eval $ac_link) 2>&5
30610 ac_status=$?
30611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30612 (exit $ac_status); } &&
30613 { ac_try='test -s conftest$ac_exeext'
30614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30615 (eval $ac_try) 2>&5
30616 ac_status=$?
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); }; }; then
30619 eval "$as_ac_var=yes"
30620 else
30621 echo "$as_me: failed program was:" >&5
30622 sed 's/^/| /' conftest.$ac_ext >&5
30623
30624 eval "$as_ac_var=no"
30625 fi
30626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30627 fi
30628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30630 if test `eval echo '${'$as_ac_var'}'` = yes; then
30631 cat >>confdefs.h <<_ACEOF
30632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30633 _ACEOF
30634
30635 fi
30636 done
30637
30638
30639 if test "$ac_cv_func_localtime" = "yes"; then
30640 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30641 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30642 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30644 else
30645
30646 cat >conftest.$ac_ext <<_ACEOF
30647 #line $LINENO "configure"
30648 /* confdefs.h. */
30649 _ACEOF
30650 cat confdefs.h >>conftest.$ac_ext
30651 cat >>conftest.$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30653
30654 #include <time.h>
30655
30656 int
30657 main ()
30658 {
30659
30660 struct tm tm;
30661 tm.tm_gmtoff++;
30662
30663 ;
30664 return 0;
30665 }
30666 _ACEOF
30667 rm -f conftest.$ac_objext
30668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30669 (eval $ac_compile) 2>&5
30670 ac_status=$?
30671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672 (exit $ac_status); } &&
30673 { ac_try='test -s conftest.$ac_objext'
30674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30675 (eval $ac_try) 2>&5
30676 ac_status=$?
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); }; }; then
30679
30680 wx_cv_struct_tm_has_gmtoff=yes
30681
30682 else
30683 echo "$as_me: failed program was:" >&5
30684 sed 's/^/| /' conftest.$ac_ext >&5
30685
30686 wx_cv_struct_tm_has_gmtoff=no
30687
30688 fi
30689 rm -f conftest.$ac_objext conftest.$ac_ext
30690
30691 fi
30692 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30693 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30694 fi
30695
30696 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30697 cat >>confdefs.h <<\_ACEOF
30698 #define WX_GMTOFF_IN_TM 1
30699 _ACEOF
30700
30701 fi
30702
30703
30704
30705 for ac_func in gettimeofday ftime
30706 do
30707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30708 echo "$as_me:$LINENO: checking for $ac_func" >&5
30709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30710 if eval "test \"\${$as_ac_var+set}\" = set"; then
30711 echo $ECHO_N "(cached) $ECHO_C" >&6
30712 else
30713 cat >conftest.$ac_ext <<_ACEOF
30714 #line $LINENO "configure"
30715 /* confdefs.h. */
30716 _ACEOF
30717 cat confdefs.h >>conftest.$ac_ext
30718 cat >>conftest.$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30720 /* System header to define __stub macros and hopefully few prototypes,
30721 which can conflict with char $ac_func (); below.
30722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30723 <limits.h> exists even on freestanding compilers. */
30724 #ifdef __STDC__
30725 # include <limits.h>
30726 #else
30727 # include <assert.h>
30728 #endif
30729 /* Override any gcc2 internal prototype to avoid an error. */
30730 #ifdef __cplusplus
30731 extern "C"
30732 {
30733 #endif
30734 /* We use char because int might match the return type of a gcc2
30735 builtin and then its argument prototype would still apply. */
30736 char $ac_func ();
30737 /* The GNU C library defines this for functions which it implements
30738 to always fail with ENOSYS. Some functions are actually named
30739 something starting with __ and the normal name is an alias. */
30740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30741 choke me
30742 #else
30743 char (*f) () = $ac_func;
30744 #endif
30745 #ifdef __cplusplus
30746 }
30747 #endif
30748
30749 int
30750 main ()
30751 {
30752 return f != $ac_func;
30753 ;
30754 return 0;
30755 }
30756 _ACEOF
30757 rm -f conftest.$ac_objext conftest$ac_exeext
30758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30759 (eval $ac_link) 2>&5
30760 ac_status=$?
30761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762 (exit $ac_status); } &&
30763 { ac_try='test -s conftest$ac_exeext'
30764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30765 (eval $ac_try) 2>&5
30766 ac_status=$?
30767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30768 (exit $ac_status); }; }; then
30769 eval "$as_ac_var=yes"
30770 else
30771 echo "$as_me: failed program was:" >&5
30772 sed 's/^/| /' conftest.$ac_ext >&5
30773
30774 eval "$as_ac_var=no"
30775 fi
30776 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30777 fi
30778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30780 if test `eval echo '${'$as_ac_var'}'` = yes; then
30781 cat >>confdefs.h <<_ACEOF
30782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30783 _ACEOF
30784 break
30785 fi
30786 done
30787
30788
30789 if test "$ac_cv_func_gettimeofday" = "yes"; then
30790 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30791 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30792 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30793 echo $ECHO_N "(cached) $ECHO_C" >&6
30794 else
30795
30796
30797
30798 ac_ext=cc
30799 ac_cpp='$CXXCPP $CPPFLAGS'
30800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30803
30804
30805 cat >conftest.$ac_ext <<_ACEOF
30806 #line $LINENO "configure"
30807 /* confdefs.h. */
30808 _ACEOF
30809 cat confdefs.h >>conftest.$ac_ext
30810 cat >>conftest.$ac_ext <<_ACEOF
30811 /* end confdefs.h. */
30812
30813 #include <sys/time.h>
30814 #include <unistd.h>
30815
30816 int
30817 main ()
30818 {
30819
30820 struct timeval tv;
30821 gettimeofday(&tv, NULL);
30822
30823 ;
30824 return 0;
30825 }
30826 _ACEOF
30827 rm -f conftest.$ac_objext
30828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30829 (eval $ac_compile) 2>&5
30830 ac_status=$?
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); } &&
30833 { ac_try='test -s conftest.$ac_objext'
30834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30835 (eval $ac_try) 2>&5
30836 ac_status=$?
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); }; }; then
30839 wx_cv_func_gettimeofday_has_2_args=yes
30840 else
30841 echo "$as_me: failed program was:" >&5
30842 sed 's/^/| /' conftest.$ac_ext >&5
30843
30844 cat >conftest.$ac_ext <<_ACEOF
30845 #line $LINENO "configure"
30846 /* confdefs.h. */
30847 _ACEOF
30848 cat confdefs.h >>conftest.$ac_ext
30849 cat >>conftest.$ac_ext <<_ACEOF
30850 /* end confdefs.h. */
30851
30852 #include <sys/time.h>
30853 #include <unistd.h>
30854
30855 int
30856 main ()
30857 {
30858
30859 struct timeval tv;
30860 gettimeofday(&tv);
30861
30862 ;
30863 return 0;
30864 }
30865 _ACEOF
30866 rm -f conftest.$ac_objext
30867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30868 (eval $ac_compile) 2>&5
30869 ac_status=$?
30870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30871 (exit $ac_status); } &&
30872 { ac_try='test -s conftest.$ac_objext'
30873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30874 (eval $ac_try) 2>&5
30875 ac_status=$?
30876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30877 (exit $ac_status); }; }; then
30878 wx_cv_func_gettimeofday_has_2_args=no
30879 else
30880 echo "$as_me: failed program was:" >&5
30881 sed 's/^/| /' conftest.$ac_ext >&5
30882
30883
30884 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30885 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30886 wx_cv_func_gettimeofday_has_2_args=unknown
30887
30888
30889 fi
30890 rm -f conftest.$ac_objext conftest.$ac_ext
30891
30892 fi
30893 rm -f conftest.$ac_objext conftest.$ac_ext
30894 ac_ext=c
30895 ac_cpp='$CPP $CPPFLAGS'
30896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30899
30900
30901 fi
30902 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30903 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30904
30905 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30906 cat >>confdefs.h <<\_ACEOF
30907 #define WX_GETTIMEOFDAY_NO_TZ 1
30908 _ACEOF
30909
30910 fi
30911 fi
30912
30913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30914 fi
30915
30916
30917 if test "$wxUSE_SOCKETS" = "yes"; then
30918 if test "$wxUSE_MGL" = "1"; then
30919 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30920 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30921 wxUSE_SOCKETS="no"
30922 fi
30923 if test "$wxUSE_COCOA" = "1"; then
30924 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
30925 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
30926 wxUSE_SOCKETS="no"
30927 fi
30928 fi
30929
30930 if test "$wxUSE_SOCKETS" = "yes"; then
30931 if test "$TOOLKIT" != "MSW"; then
30932 echo "$as_me:$LINENO: checking for socket" >&5
30933 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30934 if test "${ac_cv_func_socket+set}" = set; then
30935 echo $ECHO_N "(cached) $ECHO_C" >&6
30936 else
30937 cat >conftest.$ac_ext <<_ACEOF
30938 #line $LINENO "configure"
30939 /* confdefs.h. */
30940 _ACEOF
30941 cat confdefs.h >>conftest.$ac_ext
30942 cat >>conftest.$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30944 /* System header to define __stub macros and hopefully few prototypes,
30945 which can conflict with char socket (); below.
30946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30947 <limits.h> exists even on freestanding compilers. */
30948 #ifdef __STDC__
30949 # include <limits.h>
30950 #else
30951 # include <assert.h>
30952 #endif
30953 /* Override any gcc2 internal prototype to avoid an error. */
30954 #ifdef __cplusplus
30955 extern "C"
30956 {
30957 #endif
30958 /* We use char because int might match the return type of a gcc2
30959 builtin and then its argument prototype would still apply. */
30960 char socket ();
30961 /* The GNU C library defines this for functions which it implements
30962 to always fail with ENOSYS. Some functions are actually named
30963 something starting with __ and the normal name is an alias. */
30964 #if defined (__stub_socket) || defined (__stub___socket)
30965 choke me
30966 #else
30967 char (*f) () = socket;
30968 #endif
30969 #ifdef __cplusplus
30970 }
30971 #endif
30972
30973 int
30974 main ()
30975 {
30976 return f != socket;
30977 ;
30978 return 0;
30979 }
30980 _ACEOF
30981 rm -f conftest.$ac_objext conftest$ac_exeext
30982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30983 (eval $ac_link) 2>&5
30984 ac_status=$?
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); } &&
30987 { ac_try='test -s conftest$ac_exeext'
30988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30989 (eval $ac_try) 2>&5
30990 ac_status=$?
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); }; }; then
30993 ac_cv_func_socket=yes
30994 else
30995 echo "$as_me: failed program was:" >&5
30996 sed 's/^/| /' conftest.$ac_ext >&5
30997
30998 ac_cv_func_socket=no
30999 fi
31000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31001 fi
31002 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31003 echo "${ECHO_T}$ac_cv_func_socket" >&6
31004 if test $ac_cv_func_socket = yes; then
31005 :
31006 else
31007 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31008 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31009 if test "${ac_cv_lib_socket_socket+set}" = set; then
31010 echo $ECHO_N "(cached) $ECHO_C" >&6
31011 else
31012 ac_check_lib_save_LIBS=$LIBS
31013 LIBS="-lsocket $LIBS"
31014 cat >conftest.$ac_ext <<_ACEOF
31015 #line $LINENO "configure"
31016 /* confdefs.h. */
31017 _ACEOF
31018 cat confdefs.h >>conftest.$ac_ext
31019 cat >>conftest.$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31021
31022 /* Override any gcc2 internal prototype to avoid an error. */
31023 #ifdef __cplusplus
31024 extern "C"
31025 #endif
31026 /* We use char because int might match the return type of a gcc2
31027 builtin and then its argument prototype would still apply. */
31028 char socket ();
31029 int
31030 main ()
31031 {
31032 socket ();
31033 ;
31034 return 0;
31035 }
31036 _ACEOF
31037 rm -f conftest.$ac_objext conftest$ac_exeext
31038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31039 (eval $ac_link) 2>&5
31040 ac_status=$?
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } &&
31043 { ac_try='test -s conftest$ac_exeext'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31046 ac_status=$?
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; }; then
31049 ac_cv_lib_socket_socket=yes
31050 else
31051 echo "$as_me: failed program was:" >&5
31052 sed 's/^/| /' conftest.$ac_ext >&5
31053
31054 ac_cv_lib_socket_socket=no
31055 fi
31056 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31057 LIBS=$ac_check_lib_save_LIBS
31058 fi
31059 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31060 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31061 if test $ac_cv_lib_socket_socket = yes; then
31062 if test "$INET_LINK" != " -lsocket"; then
31063 INET_LINK="$INET_LINK -lsocket"
31064 fi
31065 else
31066
31067 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31068 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31069 wxUSE_SOCKETS=no
31070
31071
31072 fi
31073
31074
31075 fi
31076
31077 fi
31078 fi
31079
31080 if test "$wxUSE_SOCKETS" = "yes" ; then
31081 if test "$TOOLKIT" != "MSW"; then
31082 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31083 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31084 if test "${wx_cv_type_getsockname3+set}" = set; then
31085 echo $ECHO_N "(cached) $ECHO_C" >&6
31086 else
31087
31088 cat >conftest.$ac_ext <<_ACEOF
31089 #line $LINENO "configure"
31090 /* confdefs.h. */
31091 _ACEOF
31092 cat confdefs.h >>conftest.$ac_ext
31093 cat >>conftest.$ac_ext <<_ACEOF
31094 /* end confdefs.h. */
31095
31096 #include <sys/types.h>
31097 #include <sys/socket.h>
31098
31099 int
31100 main ()
31101 {
31102
31103 socklen_t len;
31104 getsockname(0, 0, &len);
31105
31106 ;
31107 return 0;
31108 }
31109 _ACEOF
31110 rm -f conftest.$ac_objext
31111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31112 (eval $ac_compile) 2>&5
31113 ac_status=$?
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); } &&
31116 { ac_try='test -s conftest.$ac_objext'
31117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31118 (eval $ac_try) 2>&5
31119 ac_status=$?
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); }; }; then
31122 wx_cv_type_getsockname3=socklen_t
31123 else
31124 echo "$as_me: failed program was:" >&5
31125 sed 's/^/| /' conftest.$ac_ext >&5
31126
31127
31128 CFLAGS_OLD="$CFLAGS"
31129 if test "$GCC" = yes ; then
31130 CFLAGS="$CFLAGS -Werror"
31131 fi
31132
31133 cat >conftest.$ac_ext <<_ACEOF
31134 #line $LINENO "configure"
31135 /* confdefs.h. */
31136 _ACEOF
31137 cat confdefs.h >>conftest.$ac_ext
31138 cat >>conftest.$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31140
31141 #include <sys/types.h>
31142 #include <sys/socket.h>
31143
31144 int
31145 main ()
31146 {
31147
31148 size_t len;
31149 getsockname(0, 0, &len);
31150
31151 ;
31152 return 0;
31153 }
31154 _ACEOF
31155 rm -f conftest.$ac_objext
31156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31157 (eval $ac_compile) 2>&5
31158 ac_status=$?
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); } &&
31161 { ac_try='test -s conftest.$ac_objext'
31162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31163 (eval $ac_try) 2>&5
31164 ac_status=$?
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; }; then
31167 wx_cv_type_getsockname3=size_t
31168 else
31169 echo "$as_me: failed program was:" >&5
31170 sed 's/^/| /' conftest.$ac_ext >&5
31171
31172 cat >conftest.$ac_ext <<_ACEOF
31173 #line $LINENO "configure"
31174 /* confdefs.h. */
31175 _ACEOF
31176 cat confdefs.h >>conftest.$ac_ext
31177 cat >>conftest.$ac_ext <<_ACEOF
31178 /* end confdefs.h. */
31179
31180 #include <sys/types.h>
31181 #include <sys/socket.h>
31182
31183 int
31184 main ()
31185 {
31186
31187 int len;
31188 getsockname(0, 0, &len);
31189
31190 ;
31191 return 0;
31192 }
31193 _ACEOF
31194 rm -f conftest.$ac_objext
31195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31196 (eval $ac_compile) 2>&5
31197 ac_status=$?
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } &&
31200 { ac_try='test -s conftest.$ac_objext'
31201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31202 (eval $ac_try) 2>&5
31203 ac_status=$?
31204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205 (exit $ac_status); }; }; then
31206 wx_cv_type_getsockname3=int
31207 else
31208 echo "$as_me: failed program was:" >&5
31209 sed 's/^/| /' conftest.$ac_ext >&5
31210
31211 wx_cv_type_getsockname3=unknown
31212
31213 fi
31214 rm -f conftest.$ac_objext conftest.$ac_ext
31215
31216 fi
31217 rm -f conftest.$ac_objext conftest.$ac_ext
31218
31219 CFLAGS="$CFLAGS_OLD"
31220
31221
31222 fi
31223 rm -f conftest.$ac_objext conftest.$ac_ext
31224
31225 fi
31226 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31227 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31228
31229 if test "$wx_cv_type_getsockname3" = "unknown"; then
31230 wxUSE_SOCKETS=no
31231 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31232 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31233 else
31234 cat >>confdefs.h <<_ACEOF
31235 #define SOCKLEN_T $wx_cv_type_getsockname3
31236 _ACEOF
31237
31238 fi
31239 fi
31240 fi
31241
31242 if test "$wxUSE_SOCKETS" = "yes" ; then
31243 cat >>confdefs.h <<\_ACEOF
31244 #define wxUSE_SOCKETS 1
31245 _ACEOF
31246
31247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31248 fi
31249
31250 if test "$wxUSE_PROTOCOL" = "yes"; then
31251 if test "$wxUSE_SOCKETS" != "yes"; then
31252 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31253 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31254 wxUSE_PROTOCOL=no
31255 fi
31256 fi
31257
31258 if test "$wxUSE_PROTOCOL" = "yes"; then
31259 cat >>confdefs.h <<\_ACEOF
31260 #define wxUSE_PROTOCOL 1
31261 _ACEOF
31262
31263
31264 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31265 cat >>confdefs.h <<\_ACEOF
31266 #define wxUSE_PROTOCOL_HTTP 1
31267 _ACEOF
31268
31269 fi
31270 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31271 cat >>confdefs.h <<\_ACEOF
31272 #define wxUSE_PROTOCOL_FTP 1
31273 _ACEOF
31274
31275 fi
31276 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31277 cat >>confdefs.h <<\_ACEOF
31278 #define wxUSE_PROTOCOL_FILE 1
31279 _ACEOF
31280
31281 fi
31282 else
31283 if test "$wxUSE_FS_INET" = "yes"; then
31284 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31285 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31286 wxUSE_FS_INET="no"
31287 fi
31288 fi
31289
31290 if test "$wxUSE_URL" = "yes"; then
31291 if test "$wxUSE_PROTOCOL" != "yes"; then
31292 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31293 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31294 wxUSE_URL=no
31295 fi
31296 if test "$wxUSE_URL" = "yes"; then
31297 cat >>confdefs.h <<\_ACEOF
31298 #define wxUSE_URL 1
31299 _ACEOF
31300
31301 fi
31302 fi
31303
31304 if test "$wxUSE_FS_INET" = "yes"; then
31305 cat >>confdefs.h <<\_ACEOF
31306 #define wxUSE_FS_INET 1
31307 _ACEOF
31308
31309 fi
31310
31311
31312 if test "$wxUSE_GUI" = "yes"; then
31313
31314 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31315 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31316 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31317 wxUSE_JOYSTICK=no
31318 fi
31319
31320 if test "$TOOLKIT" != "MSW"; then
31321 if test "$wxUSE_JOYSTICK" = "yes"; then
31322
31323 for ac_header in linux/joystick.h
31324 do
31325 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31327 echo "$as_me:$LINENO: checking for $ac_header" >&5
31328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31330 echo $ECHO_N "(cached) $ECHO_C" >&6
31331 fi
31332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31334 else
31335 # Is the header compilable?
31336 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31338 cat >conftest.$ac_ext <<_ACEOF
31339 #line $LINENO "configure"
31340 /* confdefs.h. */
31341 _ACEOF
31342 cat confdefs.h >>conftest.$ac_ext
31343 cat >>conftest.$ac_ext <<_ACEOF
31344 /* end confdefs.h. */
31345 $ac_includes_default
31346 #include <$ac_header>
31347 _ACEOF
31348 rm -f conftest.$ac_objext
31349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31350 (eval $ac_compile) 2>&5
31351 ac_status=$?
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); } &&
31354 { ac_try='test -s conftest.$ac_objext'
31355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31356 (eval $ac_try) 2>&5
31357 ac_status=$?
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); }; }; then
31360 ac_header_compiler=yes
31361 else
31362 echo "$as_me: failed program was:" >&5
31363 sed 's/^/| /' conftest.$ac_ext >&5
31364
31365 ac_header_compiler=no
31366 fi
31367 rm -f conftest.$ac_objext conftest.$ac_ext
31368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31369 echo "${ECHO_T}$ac_header_compiler" >&6
31370
31371 # Is the header present?
31372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31374 cat >conftest.$ac_ext <<_ACEOF
31375 #line $LINENO "configure"
31376 /* confdefs.h. */
31377 _ACEOF
31378 cat confdefs.h >>conftest.$ac_ext
31379 cat >>conftest.$ac_ext <<_ACEOF
31380 /* end confdefs.h. */
31381 #include <$ac_header>
31382 _ACEOF
31383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31384 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31385 ac_status=$?
31386 grep -v '^ *+' conftest.er1 >conftest.err
31387 rm -f conftest.er1
31388 cat conftest.err >&5
31389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31390 (exit $ac_status); } >/dev/null; then
31391 if test -s conftest.err; then
31392 ac_cpp_err=$ac_c_preproc_warn_flag
31393 else
31394 ac_cpp_err=
31395 fi
31396 else
31397 ac_cpp_err=yes
31398 fi
31399 if test -z "$ac_cpp_err"; then
31400 ac_header_preproc=yes
31401 else
31402 echo "$as_me: failed program was:" >&5
31403 sed 's/^/| /' conftest.$ac_ext >&5
31404
31405 ac_header_preproc=no
31406 fi
31407 rm -f conftest.err conftest.$ac_ext
31408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31409 echo "${ECHO_T}$ac_header_preproc" >&6
31410
31411 # So? What about this header?
31412 case $ac_header_compiler:$ac_header_preproc in
31413 yes:no )
31414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31418 (
31419 cat <<\_ASBOX
31420 ## ------------------------------------ ##
31421 ## Report this to bug-autoconf@gnu.org. ##
31422 ## ------------------------------------ ##
31423 _ASBOX
31424 ) |
31425 sed "s/^/$as_me: WARNING: /" >&2
31426 ;;
31427 no:yes )
31428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31433 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31434 (
31435 cat <<\_ASBOX
31436 ## ------------------------------------ ##
31437 ## Report this to bug-autoconf@gnu.org. ##
31438 ## ------------------------------------ ##
31439 _ASBOX
31440 ) |
31441 sed "s/^/$as_me: WARNING: /" >&2
31442 ;;
31443 esac
31444 echo "$as_me:$LINENO: checking for $ac_header" >&5
31445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31447 echo $ECHO_N "(cached) $ECHO_C" >&6
31448 else
31449 eval "$as_ac_Header=$ac_header_preproc"
31450 fi
31451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31453
31454 fi
31455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31456 cat >>confdefs.h <<_ACEOF
31457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31458 _ACEOF
31459
31460 fi
31461
31462 done
31463
31464 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31465 wxUSE_JOYSTICK=no
31466 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31467 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31468 fi
31469 fi
31470 fi
31471
31472 if test "$wxUSE_JOYSTICK" = "yes"; then
31473 cat >>confdefs.h <<\_ACEOF
31474 #define wxUSE_JOYSTICK 1
31475 _ACEOF
31476
31477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31478 fi
31479 fi
31480
31481
31482 if test "$TOOLKIT" != "MSW"; then
31483
31484 HAVE_DL_FUNCS=0
31485 HAVE_SHL_FUNCS=0
31486 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31487 if test "$USE_DARWIN" = 1; then
31488 HAVE_DL_FUNCS=1
31489 else
31490
31491 for ac_func in dlopen
31492 do
31493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31494 echo "$as_me:$LINENO: checking for $ac_func" >&5
31495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31496 if eval "test \"\${$as_ac_var+set}\" = set"; then
31497 echo $ECHO_N "(cached) $ECHO_C" >&6
31498 else
31499 cat >conftest.$ac_ext <<_ACEOF
31500 #line $LINENO "configure"
31501 /* confdefs.h. */
31502 _ACEOF
31503 cat confdefs.h >>conftest.$ac_ext
31504 cat >>conftest.$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31506 /* System header to define __stub macros and hopefully few prototypes,
31507 which can conflict with char $ac_func (); below.
31508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31509 <limits.h> exists even on freestanding compilers. */
31510 #ifdef __STDC__
31511 # include <limits.h>
31512 #else
31513 # include <assert.h>
31514 #endif
31515 /* Override any gcc2 internal prototype to avoid an error. */
31516 #ifdef __cplusplus
31517 extern "C"
31518 {
31519 #endif
31520 /* We use char because int might match the return type of a gcc2
31521 builtin and then its argument prototype would still apply. */
31522 char $ac_func ();
31523 /* The GNU C library defines this for functions which it implements
31524 to always fail with ENOSYS. Some functions are actually named
31525 something starting with __ and the normal name is an alias. */
31526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31527 choke me
31528 #else
31529 char (*f) () = $ac_func;
31530 #endif
31531 #ifdef __cplusplus
31532 }
31533 #endif
31534
31535 int
31536 main ()
31537 {
31538 return f != $ac_func;
31539 ;
31540 return 0;
31541 }
31542 _ACEOF
31543 rm -f conftest.$ac_objext conftest$ac_exeext
31544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31545 (eval $ac_link) 2>&5
31546 ac_status=$?
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); } &&
31549 { ac_try='test -s conftest$ac_exeext'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31552 ac_status=$?
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; }; then
31555 eval "$as_ac_var=yes"
31556 else
31557 echo "$as_me: failed program was:" >&5
31558 sed 's/^/| /' conftest.$ac_ext >&5
31559
31560 eval "$as_ac_var=no"
31561 fi
31562 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31563 fi
31564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31566 if test `eval echo '${'$as_ac_var'}'` = yes; then
31567 cat >>confdefs.h <<_ACEOF
31568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31569 _ACEOF
31570
31571 cat >>confdefs.h <<\_ACEOF
31572 #define HAVE_DLOPEN 1
31573 _ACEOF
31574
31575 HAVE_DL_FUNCS=1
31576
31577 else
31578
31579 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31580 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31581 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31582 echo $ECHO_N "(cached) $ECHO_C" >&6
31583 else
31584 ac_check_lib_save_LIBS=$LIBS
31585 LIBS="-ldl $LIBS"
31586 cat >conftest.$ac_ext <<_ACEOF
31587 #line $LINENO "configure"
31588 /* confdefs.h. */
31589 _ACEOF
31590 cat confdefs.h >>conftest.$ac_ext
31591 cat >>conftest.$ac_ext <<_ACEOF
31592 /* end confdefs.h. */
31593
31594 /* Override any gcc2 internal prototype to avoid an error. */
31595 #ifdef __cplusplus
31596 extern "C"
31597 #endif
31598 /* We use char because int might match the return type of a gcc2
31599 builtin and then its argument prototype would still apply. */
31600 char dlopen ();
31601 int
31602 main ()
31603 {
31604 dlopen ();
31605 ;
31606 return 0;
31607 }
31608 _ACEOF
31609 rm -f conftest.$ac_objext conftest$ac_exeext
31610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31611 (eval $ac_link) 2>&5
31612 ac_status=$?
31613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31614 (exit $ac_status); } &&
31615 { ac_try='test -s conftest$ac_exeext'
31616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31617 (eval $ac_try) 2>&5
31618 ac_status=$?
31619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 (exit $ac_status); }; }; then
31621 ac_cv_lib_dl_dlopen=yes
31622 else
31623 echo "$as_me: failed program was:" >&5
31624 sed 's/^/| /' conftest.$ac_ext >&5
31625
31626 ac_cv_lib_dl_dlopen=no
31627 fi
31628 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31629 LIBS=$ac_check_lib_save_LIBS
31630 fi
31631 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31632 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31633 if test $ac_cv_lib_dl_dlopen = yes; then
31634
31635 cat >>confdefs.h <<\_ACEOF
31636 #define HAVE_DLOPEN 1
31637 _ACEOF
31638
31639 HAVE_DL_FUNCS=1
31640 DL_LINK=" -ldl$DL_LINK"
31641
31642 else
31643
31644
31645 for ac_func in shl_load
31646 do
31647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31648 echo "$as_me:$LINENO: checking for $ac_func" >&5
31649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31650 if eval "test \"\${$as_ac_var+set}\" = set"; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31652 else
31653 cat >conftest.$ac_ext <<_ACEOF
31654 #line $LINENO "configure"
31655 /* confdefs.h. */
31656 _ACEOF
31657 cat confdefs.h >>conftest.$ac_ext
31658 cat >>conftest.$ac_ext <<_ACEOF
31659 /* end confdefs.h. */
31660 /* System header to define __stub macros and hopefully few prototypes,
31661 which can conflict with char $ac_func (); below.
31662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31663 <limits.h> exists even on freestanding compilers. */
31664 #ifdef __STDC__
31665 # include <limits.h>
31666 #else
31667 # include <assert.h>
31668 #endif
31669 /* Override any gcc2 internal prototype to avoid an error. */
31670 #ifdef __cplusplus
31671 extern "C"
31672 {
31673 #endif
31674 /* We use char because int might match the return type of a gcc2
31675 builtin and then its argument prototype would still apply. */
31676 char $ac_func ();
31677 /* The GNU C library defines this for functions which it implements
31678 to always fail with ENOSYS. Some functions are actually named
31679 something starting with __ and the normal name is an alias. */
31680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31681 choke me
31682 #else
31683 char (*f) () = $ac_func;
31684 #endif
31685 #ifdef __cplusplus
31686 }
31687 #endif
31688
31689 int
31690 main ()
31691 {
31692 return f != $ac_func;
31693 ;
31694 return 0;
31695 }
31696 _ACEOF
31697 rm -f conftest.$ac_objext conftest$ac_exeext
31698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31699 (eval $ac_link) 2>&5
31700 ac_status=$?
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); } &&
31703 { ac_try='test -s conftest$ac_exeext'
31704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31705 (eval $ac_try) 2>&5
31706 ac_status=$?
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); }; }; then
31709 eval "$as_ac_var=yes"
31710 else
31711 echo "$as_me: failed program was:" >&5
31712 sed 's/^/| /' conftest.$ac_ext >&5
31713
31714 eval "$as_ac_var=no"
31715 fi
31716 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31717 fi
31718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31720 if test `eval echo '${'$as_ac_var'}'` = yes; then
31721 cat >>confdefs.h <<_ACEOF
31722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31723 _ACEOF
31724
31725 cat >>confdefs.h <<\_ACEOF
31726 #define HAVE_SHL_LOAD 1
31727 _ACEOF
31728
31729 HAVE_SHL_FUNCS=1
31730
31731 else
31732
31733 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31734 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31735 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31736 echo $ECHO_N "(cached) $ECHO_C" >&6
31737 else
31738 ac_check_lib_save_LIBS=$LIBS
31739 LIBS="-lshl_load $LIBS"
31740 cat >conftest.$ac_ext <<_ACEOF
31741 #line $LINENO "configure"
31742 /* confdefs.h. */
31743 _ACEOF
31744 cat confdefs.h >>conftest.$ac_ext
31745 cat >>conftest.$ac_ext <<_ACEOF
31746 /* end confdefs.h. */
31747
31748 /* Override any gcc2 internal prototype to avoid an error. */
31749 #ifdef __cplusplus
31750 extern "C"
31751 #endif
31752 /* We use char because int might match the return type of a gcc2
31753 builtin and then its argument prototype would still apply. */
31754 char dld ();
31755 int
31756 main ()
31757 {
31758 dld ();
31759 ;
31760 return 0;
31761 }
31762 _ACEOF
31763 rm -f conftest.$ac_objext conftest$ac_exeext
31764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31765 (eval $ac_link) 2>&5
31766 ac_status=$?
31767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31768 (exit $ac_status); } &&
31769 { ac_try='test -s conftest$ac_exeext'
31770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31771 (eval $ac_try) 2>&5
31772 ac_status=$?
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); }; }; then
31775 ac_cv_lib_shl_load_dld=yes
31776 else
31777 echo "$as_me: failed program was:" >&5
31778 sed 's/^/| /' conftest.$ac_ext >&5
31779
31780 ac_cv_lib_shl_load_dld=no
31781 fi
31782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31783 LIBS=$ac_check_lib_save_LIBS
31784 fi
31785 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31786 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31787 if test $ac_cv_lib_shl_load_dld = yes; then
31788
31789 HAVE_SHL_FUNCS=1
31790 DL_LINK=" -ldld$DL_LINK"
31791
31792 fi
31793
31794
31795 fi
31796 done
31797
31798
31799 fi
31800
31801
31802 fi
31803 done
31804
31805
31806 if test "$HAVE_DL_FUNCS" = 1; then
31807
31808 for ac_func in dlerror
31809 do
31810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31811 echo "$as_me:$LINENO: checking for $ac_func" >&5
31812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31813 if eval "test \"\${$as_ac_var+set}\" = set"; then
31814 echo $ECHO_N "(cached) $ECHO_C" >&6
31815 else
31816 cat >conftest.$ac_ext <<_ACEOF
31817 #line $LINENO "configure"
31818 /* confdefs.h. */
31819 _ACEOF
31820 cat confdefs.h >>conftest.$ac_ext
31821 cat >>conftest.$ac_ext <<_ACEOF
31822 /* end confdefs.h. */
31823 /* System header to define __stub macros and hopefully few prototypes,
31824 which can conflict with char $ac_func (); below.
31825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31826 <limits.h> exists even on freestanding compilers. */
31827 #ifdef __STDC__
31828 # include <limits.h>
31829 #else
31830 # include <assert.h>
31831 #endif
31832 /* Override any gcc2 internal prototype to avoid an error. */
31833 #ifdef __cplusplus
31834 extern "C"
31835 {
31836 #endif
31837 /* We use char because int might match the return type of a gcc2
31838 builtin and then its argument prototype would still apply. */
31839 char $ac_func ();
31840 /* The GNU C library defines this for functions which it implements
31841 to always fail with ENOSYS. Some functions are actually named
31842 something starting with __ and the normal name is an alias. */
31843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31844 choke me
31845 #else
31846 char (*f) () = $ac_func;
31847 #endif
31848 #ifdef __cplusplus
31849 }
31850 #endif
31851
31852 int
31853 main ()
31854 {
31855 return f != $ac_func;
31856 ;
31857 return 0;
31858 }
31859 _ACEOF
31860 rm -f conftest.$ac_objext conftest$ac_exeext
31861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31862 (eval $ac_link) 2>&5
31863 ac_status=$?
31864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31865 (exit $ac_status); } &&
31866 { ac_try='test -s conftest$ac_exeext'
31867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31868 (eval $ac_try) 2>&5
31869 ac_status=$?
31870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31871 (exit $ac_status); }; }; then
31872 eval "$as_ac_var=yes"
31873 else
31874 echo "$as_me: failed program was:" >&5
31875 sed 's/^/| /' conftest.$ac_ext >&5
31876
31877 eval "$as_ac_var=no"
31878 fi
31879 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31880 fi
31881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31883 if test `eval echo '${'$as_ac_var'}'` = yes; then
31884 cat >>confdefs.h <<_ACEOF
31885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31886 _ACEOF
31887 cat >>confdefs.h <<\_ACEOF
31888 #define HAVE_DLERROR 1
31889 _ACEOF
31890
31891 else
31892 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31893 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31894 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31895 echo $ECHO_N "(cached) $ECHO_C" >&6
31896 else
31897 ac_check_lib_save_LIBS=$LIBS
31898 LIBS="-ldl $LIBS"
31899 cat >conftest.$ac_ext <<_ACEOF
31900 #line $LINENO "configure"
31901 /* confdefs.h. */
31902 _ACEOF
31903 cat confdefs.h >>conftest.$ac_ext
31904 cat >>conftest.$ac_ext <<_ACEOF
31905 /* end confdefs.h. */
31906
31907 /* Override any gcc2 internal prototype to avoid an error. */
31908 #ifdef __cplusplus
31909 extern "C"
31910 #endif
31911 /* We use char because int might match the return type of a gcc2
31912 builtin and then its argument prototype would still apply. */
31913 char dlerror ();
31914 int
31915 main ()
31916 {
31917 dlerror ();
31918 ;
31919 return 0;
31920 }
31921 _ACEOF
31922 rm -f conftest.$ac_objext conftest$ac_exeext
31923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31924 (eval $ac_link) 2>&5
31925 ac_status=$?
31926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31927 (exit $ac_status); } &&
31928 { ac_try='test -s conftest$ac_exeext'
31929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31930 (eval $ac_try) 2>&5
31931 ac_status=$?
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); }; }; then
31934 ac_cv_lib_dl_dlerror=yes
31935 else
31936 echo "$as_me: failed program was:" >&5
31937 sed 's/^/| /' conftest.$ac_ext >&5
31938
31939 ac_cv_lib_dl_dlerror=no
31940 fi
31941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31942 LIBS=$ac_check_lib_save_LIBS
31943 fi
31944 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31945 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31946 if test $ac_cv_lib_dl_dlerror = yes; then
31947 cat >>confdefs.h <<\_ACEOF
31948 #define HAVE_DLERROR 1
31949 _ACEOF
31950
31951 fi
31952
31953 fi
31954 done
31955
31956 fi
31957 fi
31958
31959 if test "$HAVE_DL_FUNCS" = 0; then
31960 if test "$HAVE_SHL_FUNCS" = 0; then
31961 if test "$USE_UNIX" = 1; then
31962 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31963 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31964 wxUSE_DYNAMIC_LOADER=no
31965 wxUSE_DYNLIB_CLASS=no
31966 else
31967 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31968 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31969 fi
31970 fi
31971 fi
31972 fi
31973 fi
31974
31975 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31976 cat >>confdefs.h <<\_ACEOF
31977 #define wxUSE_DYNAMIC_LOADER 1
31978 _ACEOF
31979
31980 fi
31981 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31982 cat >>confdefs.h <<\_ACEOF
31983 #define wxUSE_DYNLIB_CLASS 1
31984 _ACEOF
31985
31986 fi
31987
31988
31989 if test "$wxUSE_FONTMAP" = "yes" ; then
31990 cat >>confdefs.h <<\_ACEOF
31991 #define wxUSE_FONTMAP 1
31992 _ACEOF
31993
31994 fi
31995
31996 if test "$wxUSE_UNICODE" = "yes" ; then
31997 cat >>confdefs.h <<\_ACEOF
31998 #define wxUSE_UNICODE 1
31999 _ACEOF
32000
32001
32002 if test "$USE_WIN32" != 1; then
32003 wxUSE_UNICODE_MSLU=no
32004 fi
32005
32006 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32007 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32008 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32009 if test "${ac_cv_lib_unicows_main+set}" = set; then
32010 echo $ECHO_N "(cached) $ECHO_C" >&6
32011 else
32012 ac_check_lib_save_LIBS=$LIBS
32013 LIBS="-lunicows $LIBS"
32014 cat >conftest.$ac_ext <<_ACEOF
32015 #line $LINENO "configure"
32016 /* confdefs.h. */
32017 _ACEOF
32018 cat confdefs.h >>conftest.$ac_ext
32019 cat >>conftest.$ac_ext <<_ACEOF
32020 /* end confdefs.h. */
32021
32022
32023 int
32024 main ()
32025 {
32026 main ();
32027 ;
32028 return 0;
32029 }
32030 _ACEOF
32031 rm -f conftest.$ac_objext conftest$ac_exeext
32032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32033 (eval $ac_link) 2>&5
32034 ac_status=$?
32035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32036 (exit $ac_status); } &&
32037 { ac_try='test -s conftest$ac_exeext'
32038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32039 (eval $ac_try) 2>&5
32040 ac_status=$?
32041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 (exit $ac_status); }; }; then
32043 ac_cv_lib_unicows_main=yes
32044 else
32045 echo "$as_me: failed program was:" >&5
32046 sed 's/^/| /' conftest.$ac_ext >&5
32047
32048 ac_cv_lib_unicows_main=no
32049 fi
32050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32051 LIBS=$ac_check_lib_save_LIBS
32052 fi
32053 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32054 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32055 if test $ac_cv_lib_unicows_main = yes; then
32056
32057 cat >>confdefs.h <<\_ACEOF
32058 #define wxUSE_UNICODE_MSLU 1
32059 _ACEOF
32060
32061
32062 else
32063
32064 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32065 Applications will only run on Windows NT/2000/XP!" >&5
32066 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32067 Applications will only run on Windows NT/2000/XP!" >&2;}
32068 wxUSE_UNICODE_MSLU=no
32069
32070 fi
32071
32072 fi
32073 fi
32074
32075 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32076 cat >>confdefs.h <<\_ACEOF
32077 #define wxUSE_EXPERIMENTAL_PRINTF 1
32078 _ACEOF
32079
32080 fi
32081
32082
32083 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32084 cat >>confdefs.h <<\_ACEOF
32085 #define wxUSE_POSTSCRIPT 1
32086 _ACEOF
32087
32088 fi
32089
32090 cat >>confdefs.h <<\_ACEOF
32091 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32092 _ACEOF
32093
32094
32095 cat >>confdefs.h <<\_ACEOF
32096 #define wxUSE_NORMALIZED_PS_FONTS 1
32097 _ACEOF
32098
32099
32100
32101 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32102 cat >>confdefs.h <<\_ACEOF
32103 #define wxUSE_CONSTRAINTS 1
32104 _ACEOF
32105
32106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32107 fi
32108
32109 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32110 cat >>confdefs.h <<\_ACEOF
32111 #define wxUSE_MDI_ARCHITECTURE 1
32112 _ACEOF
32113
32114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32115 fi
32116
32117 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32118 cat >>confdefs.h <<\_ACEOF
32119 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32120 _ACEOF
32121
32122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32123 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32125 fi
32126 fi
32127
32128 if test "$wxUSE_HELP" = "yes"; then
32129 cat >>confdefs.h <<\_ACEOF
32130 #define wxUSE_HELP 1
32131 _ACEOF
32132
32133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32134
32135 if test "$wxUSE_MSW" = 1; then
32136 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32137 cat >>confdefs.h <<\_ACEOF
32138 #define wxUSE_MS_HTML_HELP 1
32139 _ACEOF
32140
32141 fi
32142 fi
32143
32144 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32145 if test "$wxUSE_HTML" = "yes"; then
32146 cat >>confdefs.h <<\_ACEOF
32147 #define wxUSE_WXHTML_HELP 1
32148 _ACEOF
32149
32150 else
32151 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32152 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32153 wxUSE_WXHTML_HELP=no
32154 fi
32155 fi
32156 fi
32157
32158 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32159 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32160 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32161 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32162 else
32163 cat >>confdefs.h <<\_ACEOF
32164 #define wxUSE_PRINTING_ARCHITECTURE 1
32165 _ACEOF
32166
32167 fi
32168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32169 fi
32170
32171 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32172 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32173 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32174 { (exit 1); exit 1; }; }
32175 fi
32176
32177
32178 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32179 -o "$wxUSE_CLIPBOARD" = "yes" \
32180 -o "$wxUSE_OLE" = "yes" \
32181 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32182
32183 for ac_header in ole2.h
32184 do
32185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32187 echo "$as_me:$LINENO: checking for $ac_header" >&5
32188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32191 fi
32192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32194 else
32195 # Is the header compilable?
32196 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32197 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32198 cat >conftest.$ac_ext <<_ACEOF
32199 #line $LINENO "configure"
32200 /* confdefs.h. */
32201 _ACEOF
32202 cat confdefs.h >>conftest.$ac_ext
32203 cat >>conftest.$ac_ext <<_ACEOF
32204 /* end confdefs.h. */
32205 $ac_includes_default
32206 #include <$ac_header>
32207 _ACEOF
32208 rm -f conftest.$ac_objext
32209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32210 (eval $ac_compile) 2>&5
32211 ac_status=$?
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); } &&
32214 { ac_try='test -s conftest.$ac_objext'
32215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32216 (eval $ac_try) 2>&5
32217 ac_status=$?
32218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32219 (exit $ac_status); }; }; then
32220 ac_header_compiler=yes
32221 else
32222 echo "$as_me: failed program was:" >&5
32223 sed 's/^/| /' conftest.$ac_ext >&5
32224
32225 ac_header_compiler=no
32226 fi
32227 rm -f conftest.$ac_objext conftest.$ac_ext
32228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32229 echo "${ECHO_T}$ac_header_compiler" >&6
32230
32231 # Is the header present?
32232 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32234 cat >conftest.$ac_ext <<_ACEOF
32235 #line $LINENO "configure"
32236 /* confdefs.h. */
32237 _ACEOF
32238 cat confdefs.h >>conftest.$ac_ext
32239 cat >>conftest.$ac_ext <<_ACEOF
32240 /* end confdefs.h. */
32241 #include <$ac_header>
32242 _ACEOF
32243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32244 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32245 ac_status=$?
32246 grep -v '^ *+' conftest.er1 >conftest.err
32247 rm -f conftest.er1
32248 cat conftest.err >&5
32249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32250 (exit $ac_status); } >/dev/null; then
32251 if test -s conftest.err; then
32252 ac_cpp_err=$ac_c_preproc_warn_flag
32253 else
32254 ac_cpp_err=
32255 fi
32256 else
32257 ac_cpp_err=yes
32258 fi
32259 if test -z "$ac_cpp_err"; then
32260 ac_header_preproc=yes
32261 else
32262 echo "$as_me: failed program was:" >&5
32263 sed 's/^/| /' conftest.$ac_ext >&5
32264
32265 ac_header_preproc=no
32266 fi
32267 rm -f conftest.err conftest.$ac_ext
32268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32269 echo "${ECHO_T}$ac_header_preproc" >&6
32270
32271 # So? What about this header?
32272 case $ac_header_compiler:$ac_header_preproc in
32273 yes:no )
32274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32278 (
32279 cat <<\_ASBOX
32280 ## ------------------------------------ ##
32281 ## Report this to bug-autoconf@gnu.org. ##
32282 ## ------------------------------------ ##
32283 _ASBOX
32284 ) |
32285 sed "s/^/$as_me: WARNING: /" >&2
32286 ;;
32287 no:yes )
32288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32291 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32294 (
32295 cat <<\_ASBOX
32296 ## ------------------------------------ ##
32297 ## Report this to bug-autoconf@gnu.org. ##
32298 ## ------------------------------------ ##
32299 _ASBOX
32300 ) |
32301 sed "s/^/$as_me: WARNING: /" >&2
32302 ;;
32303 esac
32304 echo "$as_me:$LINENO: checking for $ac_header" >&5
32305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32307 echo $ECHO_N "(cached) $ECHO_C" >&6
32308 else
32309 eval "$as_ac_Header=$ac_header_preproc"
32310 fi
32311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32313
32314 fi
32315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32316 cat >>confdefs.h <<_ACEOF
32317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32318 _ACEOF
32319
32320 fi
32321
32322 done
32323
32324
32325 if test "$ac_cv_header_ole2_h" = "yes" ; then
32326 if test "$GCC" = yes ; then
32327
32328
32329 ac_ext=cc
32330 ac_cpp='$CXXCPP $CPPFLAGS'
32331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32334
32335
32336 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32337 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32338 cat >conftest.$ac_ext <<_ACEOF
32339 #line $LINENO "configure"
32340 /* confdefs.h. */
32341 _ACEOF
32342 cat confdefs.h >>conftest.$ac_ext
32343 cat >>conftest.$ac_ext <<_ACEOF
32344 /* end confdefs.h. */
32345 #include <windows.h>
32346 #include <ole2.h>
32347 int
32348 main ()
32349 {
32350
32351 ;
32352 return 0;
32353 }
32354 _ACEOF
32355 rm -f conftest.$ac_objext
32356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32357 (eval $ac_compile) 2>&5
32358 ac_status=$?
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); } &&
32361 { ac_try='test -s conftest.$ac_objext'
32362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32363 (eval $ac_try) 2>&5
32364 ac_status=$?
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); }; }; then
32367 echo "$as_me:$LINENO: result: no" >&5
32368 echo "${ECHO_T}no" >&6
32369 else
32370 echo "$as_me: failed program was:" >&5
32371 sed 's/^/| /' conftest.$ac_ext >&5
32372
32373 echo "$as_me:$LINENO: result: yes" >&5
32374 echo "${ECHO_T}yes" >&6
32375 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32376 fi
32377 rm -f conftest.$ac_objext conftest.$ac_ext
32378 ac_ext=c
32379 ac_cpp='$CPP $CPPFLAGS'
32380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32383
32384 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32385 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32386 cat >>confdefs.h <<\_ACEOF
32387 #define wxUSE_OLE 1
32388 _ACEOF
32389
32390
32391 fi
32392
32393 cat >>confdefs.h <<\_ACEOF
32394 #define wxUSE_DATAOBJ 1
32395 _ACEOF
32396
32397 else
32398 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32399 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32400
32401 wxUSE_CLIPBOARD=no
32402 wxUSE_DRAG_AND_DROP=no
32403 wxUSE_DATAOBJ=no
32404 wxUSE_OLE=no
32405 fi
32406
32407 if test "$wxUSE_METAFILE" = "yes"; then
32408 cat >>confdefs.h <<\_ACEOF
32409 #define wxUSE_METAFILE 1
32410 _ACEOF
32411
32412
32413 cat >>confdefs.h <<\_ACEOF
32414 #define wxUSE_ENH_METAFILE 1
32415 _ACEOF
32416
32417 fi
32418 fi
32419
32420 if test "$wxUSE_IPC" = "yes"; then
32421 if test "$wxUSE_SOCKETS" != "yes"; then
32422 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32423 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32424 fi
32425
32426 cat >>confdefs.h <<\_ACEOF
32427 #define wxUSE_IPC 1
32428 _ACEOF
32429
32430 fi
32431
32432 if test "$wxUSE_CLIPBOARD" = "yes"; then
32433 if test "$wxUSE_MGL" = 1; then
32434 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32435 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32436 wxUSE_CLIPBOARD=no
32437 fi
32438
32439 if test "$wxUSE_CLIPBOARD" = "yes"; then
32440 cat >>confdefs.h <<\_ACEOF
32441 #define wxUSE_CLIPBOARD 1
32442 _ACEOF
32443
32444
32445 cat >>confdefs.h <<\_ACEOF
32446 #define wxUSE_DATAOBJ 1
32447 _ACEOF
32448
32449 fi
32450 fi
32451
32452 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32453 if test "$wxUSE_GTK" = 1; then
32454 if test "$WXGTK12" != 1; then
32455 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32456 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32457 wxUSE_DRAG_AND_DROP=no
32458 fi
32459 fi
32460
32461 if test "$wxUSE_MOTIF" = 1; then
32462 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32463 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32464 wxUSE_DRAG_AND_DROP=no
32465 fi
32466
32467 if test "$wxUSE_X11" = 1; then
32468 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32469 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32470 wxUSE_DRAG_AND_DROP=no
32471 fi
32472
32473 if test "$wxUSE_MGL" = 1; then
32474 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32475 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32476 wxUSE_DRAG_AND_DROP=no
32477 fi
32478
32479 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32480 cat >>confdefs.h <<\_ACEOF
32481 #define wxUSE_DRAG_AND_DROP 1
32482 _ACEOF
32483
32484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32485 fi
32486
32487 fi
32488
32489 if test "$wxUSE_SPLINES" = "yes" ; then
32490 cat >>confdefs.h <<\_ACEOF
32491 #define wxUSE_SPLINES 1
32492 _ACEOF
32493
32494 fi
32495
32496
32497 USES_CONTROLS=0
32498 if test "$wxUSE_CONTROLS" = "yes"; then
32499 USES_CONTROLS=1
32500 fi
32501
32502 if test "$wxUSE_ACCEL" = "yes"; then
32503 cat >>confdefs.h <<\_ACEOF
32504 #define wxUSE_ACCEL 1
32505 _ACEOF
32506
32507 USES_CONTROLS=1
32508 fi
32509
32510 if test "$wxUSE_BUTTON" = "yes"; then
32511 cat >>confdefs.h <<\_ACEOF
32512 #define wxUSE_BUTTON 1
32513 _ACEOF
32514
32515 USES_CONTROLS=1
32516 fi
32517
32518 if test "$wxUSE_BMPBUTTON" = "yes"; then
32519 cat >>confdefs.h <<\_ACEOF
32520 #define wxUSE_BMPBUTTON 1
32521 _ACEOF
32522
32523 USES_CONTROLS=1
32524 fi
32525
32526 if test "$wxUSE_CALCTRL" = "yes"; then
32527 cat >>confdefs.h <<\_ACEOF
32528 #define wxUSE_CALENDARCTRL 1
32529 _ACEOF
32530
32531 USES_CONTROLS=1
32532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32533 fi
32534
32535 if test "$wxUSE_CARET" = "yes"; then
32536 cat >>confdefs.h <<\_ACEOF
32537 #define wxUSE_CARET 1
32538 _ACEOF
32539
32540 USES_CONTROLS=1
32541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32542 fi
32543
32544 if test "$wxUSE_COMBOBOX" = "yes"; then
32545 cat >>confdefs.h <<\_ACEOF
32546 #define wxUSE_COMBOBOX 1
32547 _ACEOF
32548
32549 USES_CONTROLS=1
32550 fi
32551
32552 if test "$wxUSE_CHOICE" = "yes"; then
32553 cat >>confdefs.h <<\_ACEOF
32554 #define wxUSE_CHOICE 1
32555 _ACEOF
32556
32557 USES_CONTROLS=1
32558 fi
32559
32560 if test "$wxUSE_CHECKBOX" = "yes"; then
32561 cat >>confdefs.h <<\_ACEOF
32562 #define wxUSE_CHECKBOX 1
32563 _ACEOF
32564
32565 USES_CONTROLS=1
32566 fi
32567
32568 if test "$wxUSE_CHECKLST" = "yes"; then
32569 cat >>confdefs.h <<\_ACEOF
32570 #define wxUSE_CHECKLISTBOX 1
32571 _ACEOF
32572
32573 USES_CONTROLS=1
32574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32575 fi
32576
32577 if test "$wxUSE_DISPLAY" = "yes"; then
32578 cat >>confdefs.h <<\_ACEOF
32579 #define wxUSE_DISPLAY 1
32580 _ACEOF
32581
32582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32583 fi
32584
32585 if test "$wxUSE_GAUGE" = "yes"; then
32586 cat >>confdefs.h <<\_ACEOF
32587 #define wxUSE_GAUGE 1
32588 _ACEOF
32589
32590 USES_CONTROLS=1
32591 fi
32592
32593 if test "$wxUSE_GRID" = "yes"; then
32594 cat >>confdefs.h <<\_ACEOF
32595 #define wxUSE_GRID 1
32596 _ACEOF
32597
32598 USES_CONTROLS=1
32599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32600 fi
32601
32602 if test "$wxUSE_IMAGLIST" = "yes"; then
32603 cat >>confdefs.h <<\_ACEOF
32604 #define wxUSE_IMAGLIST 1
32605 _ACEOF
32606
32607 fi
32608
32609 if test "$wxUSE_LISTBOX" = "yes"; then
32610 cat >>confdefs.h <<\_ACEOF
32611 #define wxUSE_LISTBOX 1
32612 _ACEOF
32613
32614 USES_CONTROLS=1
32615 fi
32616
32617 if test "$wxUSE_LISTCTRL" = "yes"; then
32618 if test "$wxUSE_IMAGLIST" = "yes"; then
32619 cat >>confdefs.h <<\_ACEOF
32620 #define wxUSE_LISTCTRL 1
32621 _ACEOF
32622
32623 USES_CONTROLS=1
32624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32625 else
32626 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32627 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32628 fi
32629 fi
32630
32631 if test "$wxUSE_NOTEBOOK" = "yes"; then
32632 cat >>confdefs.h <<\_ACEOF
32633 #define wxUSE_NOTEBOOK 1
32634 _ACEOF
32635
32636 USES_CONTROLS=1
32637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32638 fi
32639
32640
32641 if test "$wxUSE_RADIOBOX" = "yes"; then
32642 cat >>confdefs.h <<\_ACEOF
32643 #define wxUSE_RADIOBOX 1
32644 _ACEOF
32645
32646 USES_CONTROLS=1
32647 fi
32648
32649 if test "$wxUSE_RADIOBTN" = "yes"; then
32650 cat >>confdefs.h <<\_ACEOF
32651 #define wxUSE_RADIOBTN 1
32652 _ACEOF
32653
32654 USES_CONTROLS=1
32655 fi
32656
32657 if test "$wxUSE_SASH" = "yes"; then
32658 cat >>confdefs.h <<\_ACEOF
32659 #define wxUSE_SASH 1
32660 _ACEOF
32661
32662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32663 fi
32664
32665 if test "$wxUSE_SCROLLBAR" = "yes"; then
32666 cat >>confdefs.h <<\_ACEOF
32667 #define wxUSE_SCROLLBAR 1
32668 _ACEOF
32669
32670 USES_CONTROLS=1
32671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32672 fi
32673
32674 if test "$wxUSE_SLIDER" = "yes"; then
32675 cat >>confdefs.h <<\_ACEOF
32676 #define wxUSE_SLIDER 1
32677 _ACEOF
32678
32679 USES_CONTROLS=1
32680 fi
32681
32682 if test "$wxUSE_SPINBTN" = "yes"; then
32683 cat >>confdefs.h <<\_ACEOF
32684 #define wxUSE_SPINBTN 1
32685 _ACEOF
32686
32687 USES_CONTROLS=1
32688 fi
32689
32690 if test "$wxUSE_SPINCTRL" = "yes"; then
32691 cat >>confdefs.h <<\_ACEOF
32692 #define wxUSE_SPINCTRL 1
32693 _ACEOF
32694
32695 USES_CONTROLS=1
32696 fi
32697
32698 if test "$wxUSE_SPLITTER" = "yes"; then
32699 cat >>confdefs.h <<\_ACEOF
32700 #define wxUSE_SPLITTER 1
32701 _ACEOF
32702
32703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32704 fi
32705
32706 if test "$wxUSE_STATBMP" = "yes"; then
32707 cat >>confdefs.h <<\_ACEOF
32708 #define wxUSE_STATBMP 1
32709 _ACEOF
32710
32711 USES_CONTROLS=1
32712 fi
32713
32714 if test "$wxUSE_STATBOX" = "yes"; then
32715 cat >>confdefs.h <<\_ACEOF
32716 #define wxUSE_STATBOX 1
32717 _ACEOF
32718
32719 USES_CONTROLS=1
32720 fi
32721
32722 if test "$wxUSE_STATTEXT" = "yes"; then
32723 cat >>confdefs.h <<\_ACEOF
32724 #define wxUSE_STATTEXT 1
32725 _ACEOF
32726
32727 USES_CONTROLS=1
32728 fi
32729
32730 if test "$wxUSE_STATLINE" = "yes"; then
32731 cat >>confdefs.h <<\_ACEOF
32732 #define wxUSE_STATLINE 1
32733 _ACEOF
32734
32735 USES_CONTROLS=1
32736 fi
32737
32738 if test "$wxUSE_STATUSBAR" = "yes"; then
32739 cat >>confdefs.h <<\_ACEOF
32740 #define wxUSE_STATUSBAR 1
32741 _ACEOF
32742
32743 USES_CONTROLS=1
32744
32745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32746 fi
32747
32748 if test "$wxUSE_TABDIALOG" = "yes"; then
32749 cat >>confdefs.h <<\_ACEOF
32750 #define wxUSE_TAB_DIALOG 1
32751 _ACEOF
32752
32753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32754 fi
32755
32756 if test "$wxUSE_TEXTCTRL" = "yes"; then
32757 cat >>confdefs.h <<\_ACEOF
32758 #define wxUSE_TEXTCTRL 1
32759 _ACEOF
32760
32761 USES_CONTROLS=1
32762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32763 fi
32764
32765 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32766 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32767 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32768 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32769 wxUSE_TOGGLEBTN=no
32770 fi
32771 if test "$wxUSE_UNIVERSAL" = "yes"; then
32772 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32773 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32774 wxUSE_TOGGLEBTN=no
32775 fi
32776
32777 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32778 cat >>confdefs.h <<\_ACEOF
32779 #define wxUSE_TOGGLEBTN 1
32780 _ACEOF
32781
32782 USES_CONTROLS=1
32783 fi
32784 fi
32785
32786 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32787 cat >>confdefs.h <<\_ACEOF
32788 #define wxUSE_TOOLBAR_SIMPLE 1
32789 _ACEOF
32790
32791 wxUSE_TOOLBAR="yes"
32792 USES_CONTROLS=1
32793 fi
32794
32795 if test "$wxUSE_TOOLBAR" = "yes"; then
32796 cat >>confdefs.h <<\_ACEOF
32797 #define wxUSE_TOOLBAR 1
32798 _ACEOF
32799
32800 USES_CONTROLS=1
32801
32802 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32803 wxUSE_TOOLBAR_NATIVE="yes"
32804 fi
32805
32806 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32807 cat >>confdefs.h <<\_ACEOF
32808 #define wxUSE_TOOLBAR_NATIVE 1
32809 _ACEOF
32810
32811 USES_CONTROLS=1
32812 fi
32813
32814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32815 fi
32816
32817 if test "$wxUSE_TOOLTIPS" = "yes"; then
32818 if test "$wxUSE_MOTIF" = 1; then
32819 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32820 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32821 else
32822 if test "$wxUSE_UNIVERSAL" = "yes"; then
32823 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32824 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32825 else
32826 cat >>confdefs.h <<\_ACEOF
32827 #define wxUSE_TOOLTIPS 1
32828 _ACEOF
32829
32830 fi
32831 fi
32832 fi
32833
32834 if test "$wxUSE_TREECTRL" = "yes"; then
32835 if test "$wxUSE_IMAGLIST" = "yes"; then
32836 cat >>confdefs.h <<\_ACEOF
32837 #define wxUSE_TREECTRL 1
32838 _ACEOF
32839
32840 USES_CONTROLS=1
32841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32842 else
32843 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32844 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32845 fi
32846 fi
32847
32848 if test "$wxUSE_POPUPWIN" = "yes"; then
32849 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32850 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32851 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32852 else
32853 if test "$wxUSE_MOTIF" = 1; then
32854 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32855 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32856 else
32857 if test "$wxUSE_PM" = 1; then
32858 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32859 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32860 else
32861 cat >>confdefs.h <<\_ACEOF
32862 #define wxUSE_POPUPWIN 1
32863 _ACEOF
32864
32865
32866 USES_CONTROLS=1
32867 fi
32868 fi
32869 fi
32870 fi
32871
32872 if test "$wxUSE_TIPWINDOW" = "yes"; then
32873 if test "$wxUSE_PM" = 1; then
32874 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32875 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32876 else
32877 cat >>confdefs.h <<\_ACEOF
32878 #define wxUSE_TIPWINDOW 1
32879 _ACEOF
32880
32881 fi
32882 fi
32883
32884 if test "$USES_CONTROLS" = 1; then
32885 cat >>confdefs.h <<\_ACEOF
32886 #define wxUSE_CONTROLS 1
32887 _ACEOF
32888
32889 fi
32890
32891
32892
32893 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32894 cat >>confdefs.h <<\_ACEOF
32895 #define wxUSE_DRAGIMAGE 1
32896 _ACEOF
32897
32898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32899 fi
32900
32901 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32902 cat >>confdefs.h <<\_ACEOF
32903 #define wxUSE_ACCESSIBILITY 1
32904 _ACEOF
32905
32906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32907 fi
32908
32909 if test "$wxUSE_MENUS" = "yes"; then
32910 cat >>confdefs.h <<\_ACEOF
32911 #define wxUSE_MENUS 1
32912 _ACEOF
32913
32914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32915 fi
32916
32917 if test "$wxUSE_METAFILE" = "yes"; then
32918 cat >>confdefs.h <<\_ACEOF
32919 #define wxUSE_METAFILE 1
32920 _ACEOF
32921
32922 fi
32923
32924 if test "$wxUSE_MIMETYPE" = "yes"; then
32925 cat >>confdefs.h <<\_ACEOF
32926 #define wxUSE_MIMETYPE 1
32927 _ACEOF
32928
32929 fi
32930
32931 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32932 cat >>confdefs.h <<\_ACEOF
32933 #define wxUSE_SYSTEM_OPTIONS 1
32934 _ACEOF
32935
32936 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
32937 "$TOOLKIT" = "MOTIF"; then
32938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32939 fi
32940
32941 fi
32942
32943 if test "$wxUSE_MINIFRAME" = "yes"; then
32944 cat >>confdefs.h <<\_ACEOF
32945 #define wxUSE_MINIFRAME 1
32946 _ACEOF
32947
32948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32949 fi
32950
32951 USE_HTML=0
32952 if test "$wxUSE_HTML" = "yes"; then
32953 cat >>confdefs.h <<\_ACEOF
32954 #define wxUSE_HTML 1
32955 _ACEOF
32956
32957 USE_HTML=1
32958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32959 fi
32960
32961 if test "$wxUSE_VALIDATORS" = "yes"; then
32962 cat >>confdefs.h <<\_ACEOF
32963 #define wxUSE_VALIDATORS 1
32964 _ACEOF
32965
32966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32967 fi
32968
32969 if test "$wxUSE_PALETTE" = "yes" ; then
32970 cat >>confdefs.h <<\_ACEOF
32971 #define wxUSE_PALETTE 1
32972 _ACEOF
32973
32974 fi
32975
32976 if test "$wxUSE_IMAGE" = "yes" ; then
32977 cat >>confdefs.h <<\_ACEOF
32978 #define wxUSE_IMAGE 1
32979 _ACEOF
32980
32981 fi
32982
32983 if test "$wxUSE_GIF" = "yes" ; then
32984 cat >>confdefs.h <<\_ACEOF
32985 #define wxUSE_GIF 1
32986 _ACEOF
32987
32988 fi
32989
32990 if test "$wxUSE_PCX" = "yes" ; then
32991 cat >>confdefs.h <<\_ACEOF
32992 #define wxUSE_PCX 1
32993 _ACEOF
32994
32995 fi
32996
32997 if test "$wxUSE_IFF" = "yes" ; then
32998 cat >>confdefs.h <<\_ACEOF
32999 #define wxUSE_IFF 1
33000 _ACEOF
33001
33002 fi
33003
33004 if test "$wxUSE_PNM" = "yes" ; then
33005 cat >>confdefs.h <<\_ACEOF
33006 #define wxUSE_PNM 1
33007 _ACEOF
33008
33009 fi
33010
33011 if test "$wxUSE_XPM" = "yes" ; then
33012 cat >>confdefs.h <<\_ACEOF
33013 #define wxUSE_XPM 1
33014 _ACEOF
33015
33016 fi
33017
33018 if test "$wxUSE_ICO_CUR" = "yes" ; then
33019 cat >>confdefs.h <<\_ACEOF
33020 #define wxUSE_ICO_CUR 1
33021 _ACEOF
33022
33023 fi
33024
33025 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33026 LIBS=" -lunicows $LIBS"
33027 fi
33028
33029
33030 if test "$wxUSE_CHOICEDLG" = "yes"; then
33031 cat >>confdefs.h <<\_ACEOF
33032 #define wxUSE_CHOICEDLG 1
33033 _ACEOF
33034
33035 fi
33036
33037 if test "$wxUSE_COLOURDLG" = "yes"; then
33038 cat >>confdefs.h <<\_ACEOF
33039 #define wxUSE_COLOURDLG 1
33040 _ACEOF
33041
33042 fi
33043
33044 if test "$wxUSE_FILEDLG" = "yes"; then
33045 cat >>confdefs.h <<\_ACEOF
33046 #define wxUSE_FILEDLG 1
33047 _ACEOF
33048
33049 fi
33050
33051 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33052 cat >>confdefs.h <<\_ACEOF
33053 #define wxUSE_FINDREPLDLG 1
33054 _ACEOF
33055
33056 fi
33057
33058 if test "$wxUSE_FONTDLG" = "yes"; then
33059 cat >>confdefs.h <<\_ACEOF
33060 #define wxUSE_FONTDLG 1
33061 _ACEOF
33062
33063 fi
33064
33065 if test "$wxUSE_DIRDLG" = "yes"; then
33066 if test "$wxUSE_TREECTRL" != "yes"; then
33067 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33068 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33069 else
33070 cat >>confdefs.h <<\_ACEOF
33071 #define wxUSE_DIRDLG 1
33072 _ACEOF
33073
33074 fi
33075 fi
33076
33077 if test "$wxUSE_MSGDLG" = "yes"; then
33078 cat >>confdefs.h <<\_ACEOF
33079 #define wxUSE_MSGDLG 1
33080 _ACEOF
33081
33082 fi
33083
33084 if test "$wxUSE_NUMBERDLG" = "yes"; then
33085 cat >>confdefs.h <<\_ACEOF
33086 #define wxUSE_NUMBERDLG 1
33087 _ACEOF
33088
33089 fi
33090
33091 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33092 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33093 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33094 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33095 else
33096 cat >>confdefs.h <<\_ACEOF
33097 #define wxUSE_PROGRESSDLG 1
33098 _ACEOF
33099
33100 fi
33101 fi
33102
33103 if test "$wxUSE_SPLASH" = "yes"; then
33104 cat >>confdefs.h <<\_ACEOF
33105 #define wxUSE_SPLASH 1
33106 _ACEOF
33107
33108 fi
33109
33110 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33111 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33112 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33113 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33114 else
33115 cat >>confdefs.h <<\_ACEOF
33116 #define wxUSE_STARTUP_TIPS 1
33117 _ACEOF
33118
33119 fi
33120 fi
33121
33122 if test "$wxUSE_TEXTDLG" = "yes"; then
33123 cat >>confdefs.h <<\_ACEOF
33124 #define wxUSE_TEXTDLG 1
33125 _ACEOF
33126
33127 fi
33128
33129 if test "$wxUSE_WIZARDDLG" = "yes"; then
33130 cat >>confdefs.h <<\_ACEOF
33131 #define wxUSE_WIZARDDLG 1
33132 _ACEOF
33133
33134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33135 fi
33136
33137
33138 if test "$cross_compiling" = "yes"; then
33139 OSINFO="\"$host\""
33140 else
33141 OSINFO=`uname -s -r -m`
33142 OSINFO="\"$OSINFO\""
33143 fi
33144
33145 cat >>confdefs.h <<_ACEOF
33146 #define WXWIN_OS_DESCRIPTION $OSINFO
33147 _ACEOF
33148
33149
33150
33151 if test "x$prefix" != "xNONE"; then
33152 wxPREFIX=$prefix
33153 else
33154 wxPREFIX=$ac_default_prefix
33155 fi
33156
33157 cat >>confdefs.h <<_ACEOF
33158 #define wxINSTALL_PREFIX "$wxPREFIX"
33159 _ACEOF
33160
33161
33162 top_builddir_wxconfig=`pwd`
33163
33164
33165
33166 CORE_BASE_LIBS="net base"
33167 CORE_GUI_LIBS="adv core"
33168
33169 if test "$wxUSE_XML" = "yes" ; then
33170 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33171 fi
33172 if test "$wxUSE_ODBC" != "no" ; then
33173 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33174 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33175 fi
33176 if test "$wxUSE_HTML" = "yes" ; then
33177 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33178 fi
33179
33180
33181
33182
33183
33184
33185
33186
33187 if test "$wxUSE_MAC" = 1 ; then
33188 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33189 fi
33190 if test "$wxUSE_COCOA" = 1 ; then
33191 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33192 fi
33193
33194
33195 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33196
33197 have_cos=0
33198 have_floor=0
33199
33200 for ac_func in cos
33201 do
33202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33203 echo "$as_me:$LINENO: checking for $ac_func" >&5
33204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33205 if eval "test \"\${$as_ac_var+set}\" = set"; then
33206 echo $ECHO_N "(cached) $ECHO_C" >&6
33207 else
33208 cat >conftest.$ac_ext <<_ACEOF
33209 #line $LINENO "configure"
33210 /* confdefs.h. */
33211 _ACEOF
33212 cat confdefs.h >>conftest.$ac_ext
33213 cat >>conftest.$ac_ext <<_ACEOF
33214 /* end confdefs.h. */
33215 /* System header to define __stub macros and hopefully few prototypes,
33216 which can conflict with char $ac_func (); below.
33217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33218 <limits.h> exists even on freestanding compilers. */
33219 #ifdef __STDC__
33220 # include <limits.h>
33221 #else
33222 # include <assert.h>
33223 #endif
33224 /* Override any gcc2 internal prototype to avoid an error. */
33225 #ifdef __cplusplus
33226 extern "C"
33227 {
33228 #endif
33229 /* We use char because int might match the return type of a gcc2
33230 builtin and then its argument prototype would still apply. */
33231 char $ac_func ();
33232 /* The GNU C library defines this for functions which it implements
33233 to always fail with ENOSYS. Some functions are actually named
33234 something starting with __ and the normal name is an alias. */
33235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33236 choke me
33237 #else
33238 char (*f) () = $ac_func;
33239 #endif
33240 #ifdef __cplusplus
33241 }
33242 #endif
33243
33244 int
33245 main ()
33246 {
33247 return f != $ac_func;
33248 ;
33249 return 0;
33250 }
33251 _ACEOF
33252 rm -f conftest.$ac_objext conftest$ac_exeext
33253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33254 (eval $ac_link) 2>&5
33255 ac_status=$?
33256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33257 (exit $ac_status); } &&
33258 { ac_try='test -s conftest$ac_exeext'
33259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33260 (eval $ac_try) 2>&5
33261 ac_status=$?
33262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33263 (exit $ac_status); }; }; then
33264 eval "$as_ac_var=yes"
33265 else
33266 echo "$as_me: failed program was:" >&5
33267 sed 's/^/| /' conftest.$ac_ext >&5
33268
33269 eval "$as_ac_var=no"
33270 fi
33271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33272 fi
33273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33275 if test `eval echo '${'$as_ac_var'}'` = yes; then
33276 cat >>confdefs.h <<_ACEOF
33277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33278 _ACEOF
33279 have_cos=1
33280 fi
33281 done
33282
33283
33284 for ac_func in floor
33285 do
33286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33287 echo "$as_me:$LINENO: checking for $ac_func" >&5
33288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33289 if eval "test \"\${$as_ac_var+set}\" = set"; then
33290 echo $ECHO_N "(cached) $ECHO_C" >&6
33291 else
33292 cat >conftest.$ac_ext <<_ACEOF
33293 #line $LINENO "configure"
33294 /* confdefs.h. */
33295 _ACEOF
33296 cat confdefs.h >>conftest.$ac_ext
33297 cat >>conftest.$ac_ext <<_ACEOF
33298 /* end confdefs.h. */
33299 /* System header to define __stub macros and hopefully few prototypes,
33300 which can conflict with char $ac_func (); below.
33301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33302 <limits.h> exists even on freestanding compilers. */
33303 #ifdef __STDC__
33304 # include <limits.h>
33305 #else
33306 # include <assert.h>
33307 #endif
33308 /* Override any gcc2 internal prototype to avoid an error. */
33309 #ifdef __cplusplus
33310 extern "C"
33311 {
33312 #endif
33313 /* We use char because int might match the return type of a gcc2
33314 builtin and then its argument prototype would still apply. */
33315 char $ac_func ();
33316 /* The GNU C library defines this for functions which it implements
33317 to always fail with ENOSYS. Some functions are actually named
33318 something starting with __ and the normal name is an alias. */
33319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33320 choke me
33321 #else
33322 char (*f) () = $ac_func;
33323 #endif
33324 #ifdef __cplusplus
33325 }
33326 #endif
33327
33328 int
33329 main ()
33330 {
33331 return f != $ac_func;
33332 ;
33333 return 0;
33334 }
33335 _ACEOF
33336 rm -f conftest.$ac_objext conftest$ac_exeext
33337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33338 (eval $ac_link) 2>&5
33339 ac_status=$?
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); } &&
33342 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
33348 eval "$as_ac_var=yes"
33349 else
33350 echo "$as_me: failed program was:" >&5
33351 sed 's/^/| /' conftest.$ac_ext >&5
33352
33353 eval "$as_ac_var=no"
33354 fi
33355 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33356 fi
33357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33359 if test `eval echo '${'$as_ac_var'}'` = yes; then
33360 cat >>confdefs.h <<_ACEOF
33361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33362 _ACEOF
33363 have_floor=1
33364 fi
33365 done
33366
33367 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33368 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33369 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33370 echo "$as_me:$LINENO: result: yes" >&5
33371 echo "${ECHO_T}yes" >&6
33372 else
33373 echo "$as_me:$LINENO: result: no" >&5
33374 echo "${ECHO_T}no" >&6
33375 LIBS="$LIBS -lm"
33376 # use different functions to avoid configure caching
33377 have_sin=0
33378 have_ceil=0
33379
33380 for ac_func in sin
33381 do
33382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33383 echo "$as_me:$LINENO: checking for $ac_func" >&5
33384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33385 if eval "test \"\${$as_ac_var+set}\" = set"; then
33386 echo $ECHO_N "(cached) $ECHO_C" >&6
33387 else
33388 cat >conftest.$ac_ext <<_ACEOF
33389 #line $LINENO "configure"
33390 /* confdefs.h. */
33391 _ACEOF
33392 cat confdefs.h >>conftest.$ac_ext
33393 cat >>conftest.$ac_ext <<_ACEOF
33394 /* end confdefs.h. */
33395 /* System header to define __stub macros and hopefully few prototypes,
33396 which can conflict with char $ac_func (); below.
33397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33398 <limits.h> exists even on freestanding compilers. */
33399 #ifdef __STDC__
33400 # include <limits.h>
33401 #else
33402 # include <assert.h>
33403 #endif
33404 /* Override any gcc2 internal prototype to avoid an error. */
33405 #ifdef __cplusplus
33406 extern "C"
33407 {
33408 #endif
33409 /* We use char because int might match the return type of a gcc2
33410 builtin and then its argument prototype would still apply. */
33411 char $ac_func ();
33412 /* The GNU C library defines this for functions which it implements
33413 to always fail with ENOSYS. Some functions are actually named
33414 something starting with __ and the normal name is an alias. */
33415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33416 choke me
33417 #else
33418 char (*f) () = $ac_func;
33419 #endif
33420 #ifdef __cplusplus
33421 }
33422 #endif
33423
33424 int
33425 main ()
33426 {
33427 return f != $ac_func;
33428 ;
33429 return 0;
33430 }
33431 _ACEOF
33432 rm -f conftest.$ac_objext conftest$ac_exeext
33433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33434 (eval $ac_link) 2>&5
33435 ac_status=$?
33436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); } &&
33438 { ac_try='test -s conftest$ac_exeext'
33439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33440 (eval $ac_try) 2>&5
33441 ac_status=$?
33442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443 (exit $ac_status); }; }; then
33444 eval "$as_ac_var=yes"
33445 else
33446 echo "$as_me: failed program was:" >&5
33447 sed 's/^/| /' conftest.$ac_ext >&5
33448
33449 eval "$as_ac_var=no"
33450 fi
33451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33452 fi
33453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33455 if test `eval echo '${'$as_ac_var'}'` = yes; then
33456 cat >>confdefs.h <<_ACEOF
33457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33458 _ACEOF
33459 have_sin=1
33460 fi
33461 done
33462
33463
33464 for ac_func in ceil
33465 do
33466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33467 echo "$as_me:$LINENO: checking for $ac_func" >&5
33468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33469 if eval "test \"\${$as_ac_var+set}\" = set"; then
33470 echo $ECHO_N "(cached) $ECHO_C" >&6
33471 else
33472 cat >conftest.$ac_ext <<_ACEOF
33473 #line $LINENO "configure"
33474 /* confdefs.h. */
33475 _ACEOF
33476 cat confdefs.h >>conftest.$ac_ext
33477 cat >>conftest.$ac_ext <<_ACEOF
33478 /* end confdefs.h. */
33479 /* System header to define __stub macros and hopefully few prototypes,
33480 which can conflict with char $ac_func (); below.
33481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33482 <limits.h> exists even on freestanding compilers. */
33483 #ifdef __STDC__
33484 # include <limits.h>
33485 #else
33486 # include <assert.h>
33487 #endif
33488 /* Override any gcc2 internal prototype to avoid an error. */
33489 #ifdef __cplusplus
33490 extern "C"
33491 {
33492 #endif
33493 /* We use char because int might match the return type of a gcc2
33494 builtin and then its argument prototype would still apply. */
33495 char $ac_func ();
33496 /* The GNU C library defines this for functions which it implements
33497 to always fail with ENOSYS. Some functions are actually named
33498 something starting with __ and the normal name is an alias. */
33499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33500 choke me
33501 #else
33502 char (*f) () = $ac_func;
33503 #endif
33504 #ifdef __cplusplus
33505 }
33506 #endif
33507
33508 int
33509 main ()
33510 {
33511 return f != $ac_func;
33512 ;
33513 return 0;
33514 }
33515 _ACEOF
33516 rm -f conftest.$ac_objext conftest$ac_exeext
33517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33518 (eval $ac_link) 2>&5
33519 ac_status=$?
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); } &&
33522 { ac_try='test -s conftest$ac_exeext'
33523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33524 (eval $ac_try) 2>&5
33525 ac_status=$?
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); }; }; then
33528 eval "$as_ac_var=yes"
33529 else
33530 echo "$as_me: failed program was:" >&5
33531 sed 's/^/| /' conftest.$ac_ext >&5
33532
33533 eval "$as_ac_var=no"
33534 fi
33535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33536 fi
33537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33539 if test `eval echo '${'$as_ac_var'}'` = yes; then
33540 cat >>confdefs.h <<_ACEOF
33541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33542 _ACEOF
33543 have_ceil=1
33544 fi
33545 done
33546
33547 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33548 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33549 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33550 echo "$as_me:$LINENO: result: yes" >&5
33551 echo "${ECHO_T}yes" >&6
33552 else
33553 echo "$as_me:$LINENO: result: no" >&5
33554 echo "${ECHO_T}no" >&6
33555 # not sure we should warn the user, crash, etc.
33556 fi
33557 fi
33558
33559 if test "$wxUSE_GUI" = "yes"; then
33560
33561
33562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33563 drawing dynamic erase event exec font image \
33564 minimal propsize rotate shaped widgets render"
33565
33566 if test "$wxUSE_MONOLITHIC" != "yes"; then
33567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33568 fi
33569 else
33570 SAMPLES_SUBDIRS="console"
33571 fi
33572
33573
33574 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33575 -I\${top_srcdir}/include \
33576 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33577 $TOOLKIT_INCLUDE"
33578
33579 if test "$GXX" = yes ; then
33580 CXXWARNINGS="-Wall"
33581 fi
33582
33583 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33584
33585 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33586 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33587 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33588
33589
33590 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33591 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33592 EXTRALIBS_XML="$EXPAT_LINK"
33593 EXTRALIBS_ODBC="$ODBC_LINK"
33594 if test "$wxUSE_GUI" = "yes"; then
33595 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33596 fi
33597 if test "$wxUSE_OPENGL" = "yes"; then
33598 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33599 fi
33600
33601 LDFLAGS="$LDFLAGS $PROFILE"
33602
33603 if test "$wxUSE_GTK" = 1; then
33604 WXCONFIG_INCLUDE=
33605 else
33606 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33607 fi
33608
33609 WXCONFIG_EXTRALIBS="$LIBS"
33610
33611 if test "$wxUSE_REGEX" = "builtin" ; then
33612 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33613 fi
33614 if test "$wxUSE_EXPAT" = "builtin" ; then
33615 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33616 fi
33617 if test "$wxUSE_ODBC" = "builtin" ; then
33618 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33619 fi
33620 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33621 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33622 fi
33623 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33624 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33625 fi
33626 if test "$wxUSE_LIBPNG" = "builtin" ; then
33627 wxconfig_3rdparty="$wxconfig_3rdparty png"
33628 fi
33629 if test "$wxUSE_ZLIB" = "builtin" ; then
33630 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33631 fi
33632 if test "$wxUSE_ODBC" = "builtin" ; then
33633 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33634 fi
33635
33636 for i in $wxconfig_3rdparty ; do
33637 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33638 done
33639
33640
33641 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33642 WXUNIV=1
33643 else
33644 WXUNIV=0
33645 fi
33646
33647
33648
33649
33650
33651
33652
33653
33654
33655 if test $wxUSE_MONOLITHIC = "yes" ; then
33656 MONOLITHIC=1
33657 else
33658 MONOLITHIC=0
33659 fi
33660
33661 if test $wxUSE_ODBC != "no" ; then
33662 USE_ODBC=1
33663 else
33664 USE_ODBC=0
33665 fi
33666
33667 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33668 OFFICIAL_BUILD=1
33669 else
33670 OFFICIAL_BUILD=0
33671 fi
33672
33673
33674
33675
33676
33677
33678
33679
33680
33681
33682
33683
33684
33685
33686
33687
33688
33689 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33690
33691
33692
33693
33694
33695
33696
33697 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33698
33699 if test -n "$ac_tool_prefix"; then
33700 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33701 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33702 echo "$as_me:$LINENO: checking for $ac_word" >&5
33703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33704 if test "${ac_cv_prog_RANLIB+set}" = set; then
33705 echo $ECHO_N "(cached) $ECHO_C" >&6
33706 else
33707 if test -n "$RANLIB"; then
33708 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33709 else
33710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33711 for as_dir in $PATH
33712 do
33713 IFS=$as_save_IFS
33714 test -z "$as_dir" && as_dir=.
33715 for ac_exec_ext in '' $ac_executable_extensions; do
33716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33717 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33719 break 2
33720 fi
33721 done
33722 done
33723
33724 fi
33725 fi
33726 RANLIB=$ac_cv_prog_RANLIB
33727 if test -n "$RANLIB"; then
33728 echo "$as_me:$LINENO: result: $RANLIB" >&5
33729 echo "${ECHO_T}$RANLIB" >&6
33730 else
33731 echo "$as_me:$LINENO: result: no" >&5
33732 echo "${ECHO_T}no" >&6
33733 fi
33734
33735 fi
33736 if test -z "$ac_cv_prog_RANLIB"; then
33737 ac_ct_RANLIB=$RANLIB
33738 # Extract the first word of "ranlib", so it can be a program name with args.
33739 set dummy ranlib; ac_word=$2
33740 echo "$as_me:$LINENO: checking for $ac_word" >&5
33741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33742 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33743 echo $ECHO_N "(cached) $ECHO_C" >&6
33744 else
33745 if test -n "$ac_ct_RANLIB"; then
33746 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33747 else
33748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33749 for as_dir in $PATH
33750 do
33751 IFS=$as_save_IFS
33752 test -z "$as_dir" && as_dir=.
33753 for ac_exec_ext in '' $ac_executable_extensions; do
33754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33755 ac_cv_prog_ac_ct_RANLIB="ranlib"
33756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33757 break 2
33758 fi
33759 done
33760 done
33761
33762 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33763 fi
33764 fi
33765 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33766 if test -n "$ac_ct_RANLIB"; then
33767 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33768 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33769 else
33770 echo "$as_me:$LINENO: result: no" >&5
33771 echo "${ECHO_T}no" >&6
33772 fi
33773
33774 RANLIB=$ac_ct_RANLIB
33775 else
33776 RANLIB="$ac_cv_prog_RANLIB"
33777 fi
33778
33779 # Find a good install program. We prefer a C program (faster),
33780 # so one script is as good as another. But avoid the broken or
33781 # incompatible versions:
33782 # SysV /etc/install, /usr/sbin/install
33783 # SunOS /usr/etc/install
33784 # IRIX /sbin/install
33785 # AIX /bin/install
33786 # AmigaOS /C/install, which installs bootblocks on floppy discs
33787 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33788 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33789 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33790 # ./install, which can be erroneously created by make from ./install.sh.
33791 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33792 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33793 if test -z "$INSTALL"; then
33794 if test "${ac_cv_path_install+set}" = set; then
33795 echo $ECHO_N "(cached) $ECHO_C" >&6
33796 else
33797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33798 for as_dir in $PATH
33799 do
33800 IFS=$as_save_IFS
33801 test -z "$as_dir" && as_dir=.
33802 # Account for people who put trailing slashes in PATH elements.
33803 case $as_dir/ in
33804 ./ | .// | /cC/* | \
33805 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33806 /usr/ucb/* ) ;;
33807 *)
33808 # OSF1 and SCO ODT 3.0 have their own names for install.
33809 # Don't use installbsd from OSF since it installs stuff as root
33810 # by default.
33811 for ac_prog in ginstall scoinst install; do
33812 for ac_exec_ext in '' $ac_executable_extensions; do
33813 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33814 if test $ac_prog = install &&
33815 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33816 # AIX install. It has an incompatible calling convention.
33817 :
33818 elif test $ac_prog = install &&
33819 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33820 # program-specific install script used by HP pwplus--don't use.
33821 :
33822 else
33823 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33824 break 3
33825 fi
33826 fi
33827 done
33828 done
33829 ;;
33830 esac
33831 done
33832
33833
33834 fi
33835 if test "${ac_cv_path_install+set}" = set; then
33836 INSTALL=$ac_cv_path_install
33837 else
33838 # As a last resort, use the slow shell script. We don't cache a
33839 # path for INSTALL within a source directory, because that will
33840 # break other packages using the cache if that directory is
33841 # removed, or if the path is relative.
33842 INSTALL=$ac_install_sh
33843 fi
33844 fi
33845 echo "$as_me:$LINENO: result: $INSTALL" >&5
33846 echo "${ECHO_T}$INSTALL" >&6
33847
33848 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33849 # It thinks the first close brace ends the variable substitution.
33850 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33851
33852 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33853
33854 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33855
33856 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33857 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33858 LN_S=$as_ln_s
33859 if test "$LN_S" = "ln -s"; then
33860 echo "$as_me:$LINENO: result: yes" >&5
33861 echo "${ECHO_T}yes" >&6
33862 else
33863 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33864 echo "${ECHO_T}no, using $LN_S" >&6
33865 fi
33866
33867
33868 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33869 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33870 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33871 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33872 echo $ECHO_N "(cached) $ECHO_C" >&6
33873 else
33874 cat >conftest.make <<\_ACEOF
33875 all:
33876 @echo 'ac_maketemp="$(MAKE)"'
33877 _ACEOF
33878 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33879 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33880 if test -n "$ac_maketemp"; then
33881 eval ac_cv_prog_make_${ac_make}_set=yes
33882 else
33883 eval ac_cv_prog_make_${ac_make}_set=no
33884 fi
33885 rm -f conftest.make
33886 fi
33887 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33888 echo "$as_me:$LINENO: result: yes" >&5
33889 echo "${ECHO_T}yes" >&6
33890 SET_MAKE=
33891 else
33892 echo "$as_me:$LINENO: result: no" >&5
33893 echo "${ECHO_T}no" >&6
33894 SET_MAKE="MAKE=${MAKE-make}"
33895 fi
33896
33897
33898
33899 if test "$build" != "$host" ; then
33900 AR=$host_alias-ar
33901 STRIP=$host_alias-strip
33902 else
33903 # Extract the first word of "ar", so it can be a program name with args.
33904 set dummy ar; ac_word=$2
33905 echo "$as_me:$LINENO: checking for $ac_word" >&5
33906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33907 if test "${ac_cv_prog_AR+set}" = set; then
33908 echo $ECHO_N "(cached) $ECHO_C" >&6
33909 else
33910 if test -n "$AR"; then
33911 ac_cv_prog_AR="$AR" # Let the user override the test.
33912 else
33913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33914 for as_dir in $PATH
33915 do
33916 IFS=$as_save_IFS
33917 test -z "$as_dir" && as_dir=.
33918 for ac_exec_ext in '' $ac_executable_extensions; do
33919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33920 ac_cv_prog_AR="ar"
33921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33922 break 2
33923 fi
33924 done
33925 done
33926
33927 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33928 fi
33929 fi
33930 AR=$ac_cv_prog_AR
33931 if test -n "$AR"; then
33932 echo "$as_me:$LINENO: result: $AR" >&5
33933 echo "${ECHO_T}$AR" >&6
33934 else
33935 echo "$as_me:$LINENO: result: no" >&5
33936 echo "${ECHO_T}no" >&6
33937 fi
33938
33939 # Extract the first word of "strip", so it can be a program name with args.
33940 set dummy strip; ac_word=$2
33941 echo "$as_me:$LINENO: checking for $ac_word" >&5
33942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33943 if test "${ac_cv_prog_STRIP+set}" = set; then
33944 echo $ECHO_N "(cached) $ECHO_C" >&6
33945 else
33946 if test -n "$STRIP"; then
33947 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33948 else
33949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33950 for as_dir in $PATH
33951 do
33952 IFS=$as_save_IFS
33953 test -z "$as_dir" && as_dir=.
33954 for ac_exec_ext in '' $ac_executable_extensions; do
33955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33956 ac_cv_prog_STRIP="strip"
33957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33958 break 2
33959 fi
33960 done
33961 done
33962
33963 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33964 fi
33965 fi
33966 STRIP=$ac_cv_prog_STRIP
33967 if test -n "$STRIP"; then
33968 echo "$as_me:$LINENO: result: $STRIP" >&5
33969 echo "${ECHO_T}$STRIP" >&6
33970 else
33971 echo "$as_me:$LINENO: result: no" >&5
33972 echo "${ECHO_T}no" >&6
33973 fi
33974
33975 fi
33976
33977 case ${host} in
33978 *-hp-hpux* )
33979 INSTALL_DIR="mkdir"
33980 ;;
33981 *) INSTALL_DIR="$INSTALL -d"
33982 ;;
33983 esac
33984
33985
33986 LDFLAGS_GUI=
33987 case ${host} in
33988 *-*-cygwin* | *-*-mingw32* )
33989 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
33990 esac
33991
33992
33993 fi
33994
33995 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33996 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33997 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33998 echo $ECHO_N "(cached) $ECHO_C" >&6
33999 else
34000
34001 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34002 egrep -s GNU > /dev/null); then
34003 bakefile_cv_prog_makeisgnu="yes"
34004 else
34005 bakefile_cv_prog_makeisgnu="no"
34006 fi
34007
34008 fi
34009 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34010 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34011
34012 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34013 IF_GNU_MAKE=""
34014 else
34015 IF_GNU_MAKE="#"
34016 fi
34017
34018
34019
34020 PLATFORM_UNIX=0
34021 PLATFORM_WIN32=0
34022 PLATFORM_MSDOS=0
34023 PLATFORM_MAC=0
34024 PLATFORM_MACOSX=0
34025
34026 case "${host}" in
34027 *-*-cygwin* | *-*-mingw32* )
34028 PLATFORM_WIN32=1
34029 ;;
34030 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34031 PLATFORM_MSDOS=1
34032 ;;
34033 powerpc-*-darwin* )
34034 PLATFORM_MAC=1
34035 PLATFORM_MACOSX=1
34036 ;;
34037 * )
34038 PLATFORM_UNIX=1
34039 ;;
34040 esac
34041
34042
34043
34044
34045
34046
34047
34048
34049 SO_SUFFIX="so"
34050 SO_SUFFIX_MODULE="so"
34051 EXEEXT=""
34052 DLLPREFIX=lib
34053 DLLPREFIX_MODULE=
34054
34055 case "${host}" in
34056 *-hp-hpux* )
34057 SO_SUFFIX="sl"
34058 SO_SUFFIX_MODULE="sl"
34059 ;;
34060 *-*-aix* )
34061 SO_SUFFIX="a"
34062 SO_SUFFIX_MODULE="a"
34063 ;;
34064 *-*-cygwin* | *-*-mingw32* )
34065 SO_SUFFIX="dll"
34066 SO_SUFFIX_MODULE="dll"
34067 EXEEXT=".exe"
34068 DLLPREFIX=""
34069 ;;
34070 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34071 EXEEXT=".exe"
34072 DLLPREFIX=""
34073 ;;
34074 powerpc-*-darwin* )
34075 SO_SUFFIX="dylib"
34076 SO_SUFFIX_MODULE="bundle"
34077 ;;
34078 esac
34079
34080
34081
34082
34083
34084
34085
34086
34087 SHARED_LD_CC="\$(CC) -shared -o"
34088 SHARED_LD_CXX="\$(CXX) -shared -o"
34089
34090 if test "x$GCC" = "xyes"; then
34091 PIC_FLAG="-fPIC"
34092 fi
34093
34094 case "${host}" in
34095 *-hp-hpux* )
34096 if test "x$GCC" = "xyes"; then
34097 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34098 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34099 else
34100 LDFLAGS="$LDFLAGS -L/usr/lib"
34101
34102 SHARED_LD_CC="${CC} -b -o"
34103 SHARED_LD_CXX="${CXX} -b -o"
34104 PIC_FLAG="+Z"
34105 fi
34106 ;;
34107
34108 *-*-linux* )
34109 if test "x$GCC" != "xyes"; then
34110 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34111 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34112 if test "${bakefile_cv_prog_icc+set}" = set; then
34113 echo $ECHO_N "(cached) $ECHO_C" >&6
34114 else
34115
34116 cat >conftest.$ac_ext <<_ACEOF
34117 #line $LINENO "configure"
34118 /* confdefs.h. */
34119 _ACEOF
34120 cat confdefs.h >>conftest.$ac_ext
34121 cat >>conftest.$ac_ext <<_ACEOF
34122 /* end confdefs.h. */
34123
34124 int
34125 main ()
34126 {
34127
34128 #ifndef __INTEL_COMPILER
34129 #error Not icc
34130 #endif
34131
34132 ;
34133 return 0;
34134 }
34135 _ACEOF
34136 rm -f conftest.$ac_objext
34137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34138 (eval $ac_compile) 2>&5
34139 ac_status=$?
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); } &&
34142 { ac_try='test -s conftest.$ac_objext'
34143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34144 (eval $ac_try) 2>&5
34145 ac_status=$?
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); }; }; then
34148 bakefile_cv_prog_icc=yes
34149 else
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.$ac_ext >&5
34152
34153 bakefile_cv_prog_icc=no
34154
34155 fi
34156 rm -f conftest.$ac_objext conftest.$ac_ext
34157
34158 fi
34159 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34160 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34161 if test "$bakefile_cv_prog_icc" = "yes"; then
34162 PIC_FLAG="-KPIC"
34163 fi
34164 fi
34165 ;;
34166
34167 *-*-solaris2* )
34168 if test "x$GCC" != xyes ; then
34169 SHARED_LD_CC="${CC} -G -o"
34170 SHARED_LD_CXX="${CXX} -G -o"
34171 PIC_FLAG="-KPIC"
34172 fi
34173 ;;
34174
34175 *-*-darwin* )
34176 CFLAGS="$CFLAGS -fno-common"
34177 CXXFLAGS="$CXXFLAGS -fno-common"
34178
34179
34180 cat <<EOF >shared-ld-sh
34181 #!/bin/sh
34182 #-----------------------------------------------------------------------------
34183 #-- Name: distrib/mac/shared-ld-sh
34184 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34185 #-- Author: Gilles Depeyrot
34186 #-- Copyright: (c) 2002 Gilles Depeyrot
34187 #-- Licence: any use permitted
34188 #-----------------------------------------------------------------------------
34189
34190 verbose=0
34191 args=""
34192 objects=""
34193 linking_flag="-dynamiclib"
34194
34195 while test \${#} -gt 0; do
34196 case \${1} in
34197
34198 -v)
34199 verbose=1
34200 ;;
34201
34202 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34203 # collect these options and values
34204 args="\${args} \${1} \${2}"
34205 shift
34206 ;;
34207
34208 -l*|-L*|-flat_namespace)
34209 # collect these options
34210 args="\${args} \${1}"
34211 ;;
34212
34213 -dynamiclib|-bundle)
34214 linking_flag="\${1}"
34215 ;;
34216
34217 -*)
34218 echo "shared-ld: unhandled option '\${1}'"
34219 exit 1
34220 ;;
34221
34222 *.o | *.a | *.dylib)
34223 # collect object files
34224 objects="\${objects} \${1}"
34225 ;;
34226
34227 *)
34228 echo "shared-ld: unhandled argument '\${1}'"
34229 exit 1
34230 ;;
34231
34232 esac
34233 shift
34234 done
34235
34236 #
34237 # Link one module containing all the others
34238 #
34239 if test \${verbose} = 1; then
34240 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34241 fi
34242 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34243 status=\$?
34244 if test \${status} != 0; then
34245 exit \${status}
34246 fi
34247
34248 #
34249 # Link the shared library from the single module created
34250 #
34251 if test \${verbose} = 1; then
34252 echo "cc \${linking_flag} master.\$\$.o \${args}"
34253 fi
34254 c++ \${linking_flag} master.\$\$.o \${args}
34255 status=\$?
34256 if test \${status} != 0; then
34257 exit \${status}
34258 fi
34259
34260 #
34261 # Remove intermediate module
34262 #
34263 rm -f master.\$\$.o
34264
34265 exit 0
34266 EOF
34267 chmod +x shared-ld-sh
34268
34269 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34270 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34271 SHARED_LD_CXX="$SHARED_LD_CC"
34272 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34273 PIC_FLAG="-dynamic -fPIC"
34274 ;;
34275
34276 *-*-aix* )
34277 if test "x$GCC" != "xyes"; then
34278 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34279 set dummy makeC++SharedLib; ac_word=$2
34280 echo "$as_me:$LINENO: checking for $ac_word" >&5
34281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34282 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34283 echo $ECHO_N "(cached) $ECHO_C" >&6
34284 else
34285 if test -n "$AIX_CXX_LD"; then
34286 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34287 else
34288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34289 for as_dir in $PATH
34290 do
34291 IFS=$as_save_IFS
34292 test -z "$as_dir" && as_dir=.
34293 for ac_exec_ext in '' $ac_executable_extensions; do
34294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34295 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34297 break 2
34298 fi
34299 done
34300 done
34301
34302 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34303 fi
34304 fi
34305 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34306 if test -n "$AIX_CXX_LD"; then
34307 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34308 echo "${ECHO_T}$AIX_CXX_LD" >&6
34309 else
34310 echo "$as_me:$LINENO: result: no" >&5
34311 echo "${ECHO_T}no" >&6
34312 fi
34313
34314 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34315 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34316 fi
34317 ;;
34318
34319 *-*-beos* )
34320 SHARED_LD_CC="${LD} -shared -o"
34321 SHARED_LD_CXX="${LD} -shared -o"
34322 ;;
34323
34324 *-*-irix* )
34325 if test "x$GCC" != "xyes"; then
34326 PIC_FLAG="-KPIC"
34327 fi
34328 ;;
34329
34330 *-*-cygwin* | *-*-mingw32* )
34331 PIC_FLAG=""
34332 ;;
34333
34334 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34335 *-*-sunos4* | \
34336 *-*-osf* | \
34337 *-*-dgux5* | \
34338 *-*-sysv5* )
34339 ;;
34340
34341 *)
34342 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34343 echo "$as_me: error: unknown system type $host." >&2;}
34344 { (exit 1); exit 1; }; }
34345 esac
34346
34347 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34348 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34349 fi
34350 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34351 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34352 fi
34353
34354
34355
34356
34357
34358
34359
34360
34361 USE_SOVERSION=0
34362 USE_SOVERLINUX=0
34363 USE_SOVERSOLARIS=0
34364 USE_SOSYMLINKS=0
34365 USE_MACVERSION=0
34366 SONAME_FLAG=
34367
34368 case "${host}" in
34369 *-*-linux* )
34370 SONAME_FLAG="-Wl,-soname,"
34371 USE_SOVERSION=1
34372 USE_SOVERLINUX=1
34373 USE_SOSYMLINKS=1
34374 ;;
34375
34376 *-*-solaris2* )
34377 SONAME_FLAG="-h "
34378 USE_SOVERSION=1
34379 USE_SOVERSOLARIS=1
34380 USE_SOSYMLINKS=1
34381 ;;
34382
34383 *-*-darwin* )
34384 USE_MACVERSION=1
34385 USE_SOVERSION=1
34386 USE_SOSYMLINKS=1
34387 ;;
34388 esac
34389
34390
34391
34392
34393
34394
34395
34396
34397
34398 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34399 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34400 DEPS_TRACKING=0
34401
34402 if test "x$GCC" = "xyes"; then
34403 DEPSMODE=gcc
34404 DEPS_TRACKING=1
34405 case "${host}" in
34406 powerpc-*-darwin* )
34407 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34408 ;;
34409 * )
34410 DEPSFLAG_GCC="-MMD"
34411 ;;
34412 esac
34413 echo "$as_me:$LINENO: result: gcc" >&5
34414 echo "${ECHO_T}gcc" >&6
34415 else
34416 echo "$as_me:$LINENO: result: none" >&5
34417 echo "${ECHO_T}none" >&6
34418 fi
34419
34420 if test $DEPS_TRACKING = 1 ; then
34421 cat <<EOF >bk-deps
34422 #!/bin/sh
34423
34424 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34425 # script. It is used to track C/C++ files dependencies in portable way.
34426 #
34427 # Permission is given to use this file in any way.
34428
34429 DEPSMODE=$DEPSMODE
34430 DEPSDIR=.deps
34431 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34432
34433 mkdir -p \$DEPSDIR
34434
34435 if test \$DEPSMODE = gcc ; then
34436 \${*} \${DEPSFLAG_GCC}
34437 status=\${?}
34438 if test \${status} != 0 ; then
34439 exit \${status}
34440 fi
34441 # move created file to the location we want it in:
34442 while test \${#} -gt 0; do
34443 case "\${1}" in
34444 -o )
34445 shift
34446 objfile=\${1}
34447 ;;
34448 -* )
34449 ;;
34450 * )
34451 srcfile=\${1}
34452 ;;
34453 esac
34454 shift
34455 done
34456 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34457 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34458 if test -f \$depfile ; then
34459 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34460 rm -f \$depfile
34461 else
34462 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34463 if test -f \$depfile ; then
34464 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34465 rm -f \$depfile
34466 fi
34467 fi
34468 exit 0
34469 else
34470 \${*}
34471 exit \${?}
34472 fi
34473 EOF
34474 chmod +x bk-deps
34475 fi
34476
34477
34478
34479
34480 RESCOMP=
34481 SETFILE=
34482
34483 case ${host} in
34484 *-*-cygwin* | *-*-mingw32* )
34485 if test "$build" != "$host" ; then
34486 RESCOMP=$host_alias-windres
34487 else
34488 # Extract the first word of "windres", so it can be a program name with args.
34489 set dummy windres; ac_word=$2
34490 echo "$as_me:$LINENO: checking for $ac_word" >&5
34491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34492 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34493 echo $ECHO_N "(cached) $ECHO_C" >&6
34494 else
34495 if test -n "$RESCOMP"; then
34496 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34497 else
34498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34499 for as_dir in $PATH
34500 do
34501 IFS=$as_save_IFS
34502 test -z "$as_dir" && as_dir=.
34503 for ac_exec_ext in '' $ac_executable_extensions; do
34504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34505 ac_cv_prog_RESCOMP="windres"
34506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34507 break 2
34508 fi
34509 done
34510 done
34511
34512 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34513 fi
34514 fi
34515 RESCOMP=$ac_cv_prog_RESCOMP
34516 if test -n "$RESCOMP"; then
34517 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34518 echo "${ECHO_T}$RESCOMP" >&6
34519 else
34520 echo "$as_me:$LINENO: result: no" >&5
34521 echo "${ECHO_T}no" >&6
34522 fi
34523
34524 fi
34525 ;;
34526
34527 *-*-darwin* )
34528 # Extract the first word of "Rez", so it can be a program name with args.
34529 set dummy Rez; ac_word=$2
34530 echo "$as_me:$LINENO: checking for $ac_word" >&5
34531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34532 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34533 echo $ECHO_N "(cached) $ECHO_C" >&6
34534 else
34535 if test -n "$RESCOMP"; then
34536 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34537 else
34538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34539 for as_dir in $PATH
34540 do
34541 IFS=$as_save_IFS
34542 test -z "$as_dir" && as_dir=.
34543 for ac_exec_ext in '' $ac_executable_extensions; do
34544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34545 ac_cv_prog_RESCOMP="Rez"
34546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34547 break 2
34548 fi
34549 done
34550 done
34551
34552 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34553 fi
34554 fi
34555 RESCOMP=$ac_cv_prog_RESCOMP
34556 if test -n "$RESCOMP"; then
34557 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34558 echo "${ECHO_T}$RESCOMP" >&6
34559 else
34560 echo "$as_me:$LINENO: result: no" >&5
34561 echo "${ECHO_T}no" >&6
34562 fi
34563
34564 # Extract the first word of "SetFile", so it can be a program name with args.
34565 set dummy SetFile; ac_word=$2
34566 echo "$as_me:$LINENO: checking for $ac_word" >&5
34567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34568 if test "${ac_cv_prog_SETFILE+set}" = set; then
34569 echo $ECHO_N "(cached) $ECHO_C" >&6
34570 else
34571 if test -n "$SETFILE"; then
34572 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34573 else
34574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34575 for as_dir in $PATH
34576 do
34577 IFS=$as_save_IFS
34578 test -z "$as_dir" && as_dir=.
34579 for ac_exec_ext in '' $ac_executable_extensions; do
34580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34581 ac_cv_prog_SETFILE="SetFile"
34582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34583 break 2
34584 fi
34585 done
34586 done
34587
34588 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34589 fi
34590 fi
34591 SETFILE=$ac_cv_prog_SETFILE
34592 if test -n "$SETFILE"; then
34593 echo "$as_me:$LINENO: result: $SETFILE" >&5
34594 echo "${ECHO_T}$SETFILE" >&6
34595 else
34596 echo "$as_me:$LINENO: result: no" >&5
34597 echo "${ECHO_T}no" >&6
34598 fi
34599
34600 ;;
34601 esac
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611
34612 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34613 if test "${enable_precomp_headers+set}" = set; then
34614 enableval="$enable_precomp_headers"
34615 bk_use_pch="$enableval"
34616 fi;
34617
34618 GCC_PCH=0
34619
34620 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34621 if test "x$GCC" = "xyes"; then
34622 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34623 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34624 cat >conftest.$ac_ext <<_ACEOF
34625 #line $LINENO "configure"
34626 /* confdefs.h. */
34627 _ACEOF
34628 cat confdefs.h >>conftest.$ac_ext
34629 cat >>conftest.$ac_ext <<_ACEOF
34630 /* end confdefs.h. */
34631
34632 int
34633 main ()
34634 {
34635
34636 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34637 #error "no pch support"
34638 #endif
34639 #if (__GNUC__ < 3)
34640 #error "no pch support"
34641 #endif
34642 #if (__GNUC__ == 3) && \
34643 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34644 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34645 #error "no pch support"
34646 #endif
34647
34648 ;
34649 return 0;
34650 }
34651 _ACEOF
34652 rm -f conftest.$ac_objext
34653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34654 (eval $ac_compile) 2>&5
34655 ac_status=$?
34656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34657 (exit $ac_status); } &&
34658 { ac_try='test -s conftest.$ac_objext'
34659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34660 (eval $ac_try) 2>&5
34661 ac_status=$?
34662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34663 (exit $ac_status); }; }; then
34664
34665 echo "$as_me:$LINENO: result: yes" >&5
34666 echo "${ECHO_T}yes" >&6
34667 CPPFLAGS="-fpch-deps $CPPFLAGS"
34668 GCC_PCH=1
34669
34670 else
34671 echo "$as_me: failed program was:" >&5
34672 sed 's/^/| /' conftest.$ac_ext >&5
34673
34674
34675 echo "$as_me:$LINENO: result: no" >&5
34676 echo "${ECHO_T}no" >&6
34677
34678 fi
34679 rm -f conftest.$ac_objext conftest.$ac_ext
34680 if test $GCC_PCH = 1 ; then
34681 cat <<EOF >bk-make-pch
34682 #!/bin/sh
34683
34684 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34685 # script. It is used to generated precompiled headers.
34686 #
34687 # Permission is given to use this file in any way.
34688
34689 outfile="\${1}"
34690 header="\${2}"
34691 shift
34692 shift
34693
34694 compiler=
34695 headerfile=
34696 while test \${#} -gt 0; do
34697 case "\${1}" in
34698 -I* )
34699 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34700 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34701 headerfile="\${incdir}/\${header}"
34702 fi
34703 ;;
34704 esac
34705 compiler="\${compiler} \${1}"
34706 shift
34707 done
34708
34709 if test "x\${headerfile}" = "x" ; then
34710 echo "error: can't find header \${header} in include paths" >2
34711 else
34712 if test -f \${outfile} ; then
34713 rm -f \${outfile}
34714 else
34715 mkdir -p \`dirname \${outfile}\`
34716 fi
34717 depsfile=".deps/\`basename \${outfile}\`.d"
34718 mkdir -p .deps
34719 # can do this because gcc is >= 3.4:
34720 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34721 exit \${?}
34722 fi
34723 EOF
34724 chmod +x bk-make-pch
34725 fi
34726 fi
34727 fi
34728
34729
34730
34731
34732
34733 COND_BUILD_DEBUG="#"
34734 if test "x$BUILD" = "xdebug" ; then
34735 COND_BUILD_DEBUG=""
34736 fi
34737
34738 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
34739 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34740 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
34741 fi
34742
34743 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
34744 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34745 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
34746 fi
34747
34748 COND_BUILD_RELEASE="#"
34749 if test "x$BUILD" = "xrelease" ; then
34750 COND_BUILD_RELEASE=""
34751 fi
34752
34753 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
34754 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34755 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
34756 fi
34757
34758 COND_DEBUG_FLAG_1="#"
34759 if test "x$DEBUG_FLAG" = "x1" ; then
34760 COND_DEBUG_FLAG_1=""
34761 fi
34762
34763 COND_DEBUG_INFO_0="#"
34764 if test "x$DEBUG_INFO" = "x0" ; then
34765 COND_DEBUG_INFO_0=""
34766 fi
34767
34768 COND_DEBUG_INFO_1="#"
34769 if test "x$DEBUG_INFO" = "x1" ; then
34770 COND_DEBUG_INFO_1=""
34771 fi
34772
34773 COND_DEPS_TRACKING_0="#"
34774 if test "x$DEPS_TRACKING" = "x0" ; then
34775 COND_DEPS_TRACKING_0=""
34776 fi
34777
34778 COND_DEPS_TRACKING_1="#"
34779 if test "x$DEPS_TRACKING" = "x1" ; then
34780 COND_DEPS_TRACKING_1=""
34781 fi
34782
34783 COND_GCC_PCH_1="#"
34784 if test "x$GCC_PCH" = "x1" ; then
34785 COND_GCC_PCH_1=""
34786 fi
34787
34788 COND_MONOLITHIC_0="#"
34789 if test "x$MONOLITHIC" = "x0" ; then
34790 COND_MONOLITHIC_0=""
34791 fi
34792
34793 COND_MONOLITHIC_0_SHARED_0="#"
34794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34795 COND_MONOLITHIC_0_SHARED_0=""
34796 fi
34797
34798 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34800 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34801 fi
34802
34803 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
34804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34805 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
34806 fi
34807
34808 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
34809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34810 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
34811 fi
34812
34813 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
34814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
34815 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
34816 fi
34817
34818 COND_MONOLITHIC_0_SHARED_1="#"
34819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34820 COND_MONOLITHIC_0_SHARED_1=""
34821 fi
34822
34823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34826 fi
34827
34828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
34829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
34831 fi
34832
34833 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
34834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34835 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
34836 fi
34837
34838 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
34839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
34840 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
34841 fi
34842
34843 COND_MONOLITHIC_1="#"
34844 if test "x$MONOLITHIC" = "x1" ; then
34845 COND_MONOLITHIC_1=""
34846 fi
34847
34848 COND_MONOLITHIC_1_SHARED_0="#"
34849 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34850 COND_MONOLITHIC_1_SHARED_0=""
34851 fi
34852
34853 COND_MONOLITHIC_1_SHARED_1="#"
34854 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34855 COND_MONOLITHIC_1_SHARED_1=""
34856 fi
34857
34858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34859 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34861 fi
34862
34863 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34864 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34866 fi
34867
34868 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34869 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34870 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34871 fi
34872
34873 COND_PLATFORM_MACOSX_1="#"
34874 if test "x$PLATFORM_MACOSX" = "x1" ; then
34875 COND_PLATFORM_MACOSX_1=""
34876 fi
34877
34878 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
34879 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34880 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
34881 fi
34882
34883 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
34884 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34885 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
34886 fi
34887
34888 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
34889 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34890 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
34891 fi
34892
34893 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34894 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34895 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34896 fi
34897
34898 COND_PLATFORM_MAC_1="#"
34899 if test "x$PLATFORM_MAC" = "x1" ; then
34900 COND_PLATFORM_MAC_1=""
34901 fi
34902
34903 COND_PLATFORM_UNIX_0="#"
34904 if test "x$PLATFORM_UNIX" = "x0" ; then
34905 COND_PLATFORM_UNIX_0=""
34906 fi
34907
34908 COND_PLATFORM_UNIX_1="#"
34909 if test "x$PLATFORM_UNIX" = "x1" ; then
34910 COND_PLATFORM_UNIX_1=""
34911 fi
34912
34913 COND_PLATFORM_WIN32_0="#"
34914 if test "x$PLATFORM_WIN32" = "x0" ; then
34915 COND_PLATFORM_WIN32_0=""
34916 fi
34917
34918 COND_PLATFORM_WIN32_1="#"
34919 if test "x$PLATFORM_WIN32" = "x1" ; then
34920 COND_PLATFORM_WIN32_1=""
34921 fi
34922
34923 COND_SHARED_0="#"
34924 if test "x$SHARED" = "x0" ; then
34925 COND_SHARED_0=""
34926 fi
34927
34928 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
34929 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34930 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
34931 fi
34932
34933 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
34934 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34935 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
34936 fi
34937
34938 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
34939 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34940 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
34941 fi
34942
34943 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
34944 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34945 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
34946 fi
34947
34948 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
34949 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
34950 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
34951 fi
34952
34953 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
34954 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
34955 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
34956 fi
34957
34958 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
34959 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
34960 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
34961 fi
34962
34963 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
34964 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
34965 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
34966 fi
34967
34968 COND_SHARED_1="#"
34969 if test "x$SHARED" = "x1" ; then
34970 COND_SHARED_1=""
34971 fi
34972
34973 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
34974 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34975 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
34976 fi
34977
34978 COND_TOOLKIT_COCOA="#"
34979 if test "x$TOOLKIT" = "xCOCOA" ; then
34980 COND_TOOLKIT_COCOA=""
34981 fi
34982
34983 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
34984 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34985 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
34986 fi
34987
34988 COND_TOOLKIT_GTK="#"
34989 if test "x$TOOLKIT" = "xGTK" ; then
34990 COND_TOOLKIT_GTK=""
34991 fi
34992
34993 COND_TOOLKIT_GTK_USE_GUI_1="#"
34994 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34995 COND_TOOLKIT_GTK_USE_GUI_1=""
34996 fi
34997
34998 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
34999 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35000 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35001 fi
35002
35003 COND_TOOLKIT_MAC="#"
35004 if test "x$TOOLKIT" = "xMAC" ; then
35005 COND_TOOLKIT_MAC=""
35006 fi
35007
35008 COND_TOOLKIT_MAC_USE_GUI_1="#"
35009 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35010 COND_TOOLKIT_MAC_USE_GUI_1=""
35011 fi
35012
35013 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35014 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35015 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35016 fi
35017
35018 COND_TOOLKIT_MGL="#"
35019 if test "x$TOOLKIT" = "xMGL" ; then
35020 COND_TOOLKIT_MGL=""
35021 fi
35022
35023 COND_TOOLKIT_MGL_USE_GUI_1="#"
35024 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35025 COND_TOOLKIT_MGL_USE_GUI_1=""
35026 fi
35027
35028 COND_TOOLKIT_MOTIF="#"
35029 if test "x$TOOLKIT" = "xMOTIF" ; then
35030 COND_TOOLKIT_MOTIF=""
35031 fi
35032
35033 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35034 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35035 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35036 fi
35037
35038 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35039 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35040 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35041 fi
35042
35043 COND_TOOLKIT_MSW="#"
35044 if test "x$TOOLKIT" = "xMSW" ; then
35045 COND_TOOLKIT_MSW=""
35046 fi
35047
35048 COND_TOOLKIT_MSW_USE_GUI_1="#"
35049 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35050 COND_TOOLKIT_MSW_USE_GUI_1=""
35051 fi
35052
35053 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35054 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35055 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35056 fi
35057
35058 COND_TOOLKIT_OS2="#"
35059 if test "x$TOOLKIT" = "xOS2" ; then
35060 COND_TOOLKIT_OS2=""
35061 fi
35062
35063 COND_TOOLKIT_OS2_USE_GUI_1="#"
35064 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35065 COND_TOOLKIT_OS2_USE_GUI_1=""
35066 fi
35067
35068 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
35069 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35070 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
35071 fi
35072
35073 COND_TOOLKIT_X11="#"
35074 if test "x$TOOLKIT" = "xX11" ; then
35075 COND_TOOLKIT_X11=""
35076 fi
35077
35078 COND_TOOLKIT_X11_USE_GUI_1="#"
35079 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35080 COND_TOOLKIT_X11_USE_GUI_1=""
35081 fi
35082
35083 COND_UNICODE_1="#"
35084 if test "x$UNICODE" = "x1" ; then
35085 COND_UNICODE_1=""
35086 fi
35087
35088 COND_USE_GUI_0="#"
35089 if test "x$USE_GUI" = "x0" ; then
35090 COND_USE_GUI_0=""
35091 fi
35092
35093 COND_USE_GUI_1="#"
35094 if test "x$USE_GUI" = "x1" ; then
35095 COND_USE_GUI_1=""
35096 fi
35097
35098 COND_USE_GUI_1_WXUNIV_0="#"
35099 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35100 COND_USE_GUI_1_WXUNIV_0=""
35101 fi
35102
35103 COND_USE_GUI_1_WXUNIV_1="#"
35104 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35105 COND_USE_GUI_1_WXUNIV_1=""
35106 fi
35107
35108 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35109 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35110 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35111 fi
35112
35113 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35114 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35115 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35116 fi
35117
35118 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35119 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35120 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35121 fi
35122
35123 COND_USE_SOSYMLINKS_1="#"
35124 if test "x$USE_SOSYMLINKS" = "x1" ; then
35125 COND_USE_SOSYMLINKS_1=""
35126 fi
35127
35128 COND_USE_SOVERLINUX_1="#"
35129 if test "x$USE_SOVERLINUX" = "x1" ; then
35130 COND_USE_SOVERLINUX_1=""
35131 fi
35132
35133 COND_USE_SOVERSION_0="#"
35134 if test "x$USE_SOVERSION" = "x0" ; then
35135 COND_USE_SOVERSION_0=""
35136 fi
35137
35138 COND_USE_SOVERSOLARIS_1="#"
35139 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35140 COND_USE_SOVERSOLARIS_1=""
35141 fi
35142
35143 COND_WXUNIV_1="#"
35144 if test "x$WXUNIV" = "x1" ; then
35145 COND_WXUNIV_1=""
35146 fi
35147
35148 COND_WXUSE_EXPAT_BUILTIN="#"
35149 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35150 COND_WXUSE_EXPAT_BUILTIN=""
35151 fi
35152
35153 COND_WXUSE_LIBJPEG_BUILTIN="#"
35154 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35155 COND_WXUSE_LIBJPEG_BUILTIN=""
35156 fi
35157
35158 COND_WXUSE_LIBPNG_BUILTIN="#"
35159 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35160 COND_WXUSE_LIBPNG_BUILTIN=""
35161 fi
35162
35163 COND_WXUSE_LIBTIFF_BUILTIN="#"
35164 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35165 COND_WXUSE_LIBTIFF_BUILTIN=""
35166 fi
35167
35168 COND_WXUSE_ODBC_BUILTIN="#"
35169 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35170 COND_WXUSE_ODBC_BUILTIN=""
35171 fi
35172
35173 COND_WXUSE_REGEX_BUILTIN="#"
35174 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35175 COND_WXUSE_REGEX_BUILTIN=""
35176 fi
35177
35178 COND_WXUSE_ZLIB_BUILTIN="#"
35179 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35180 COND_WXUSE_ZLIB_BUILTIN=""
35181 fi
35182
35183
35184
35185
35186
35187 if test $GCC_PCH = 1 ; then
35188 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35189 else
35190 case "${host}" in
35191 powerpc-*-darwin* )
35192 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35193 ;;
35194 esac
35195 fi
35196 case "${host}" in
35197 powerpc-*-darwin* )
35198 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35199 ;;
35200 esac
35201
35202
35203 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35204
35205
35206
35207
35208
35209
35210
35211
35212
35213
35214
35215
35216
35217
35218
35219
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35305 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35306 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35307 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35308 echo $ECHO_N "(cached) $ECHO_C" >&6
35309 else
35310 cat >conftest.make <<\_ACEOF
35311 all:
35312 @echo 'ac_maketemp="$(MAKE)"'
35313 _ACEOF
35314 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35315 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35316 if test -n "$ac_maketemp"; then
35317 eval ac_cv_prog_make_${ac_make}_set=yes
35318 else
35319 eval ac_cv_prog_make_${ac_make}_set=no
35320 fi
35321 rm -f conftest.make
35322 fi
35323 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35324 echo "$as_me:$LINENO: result: yes" >&5
35325 echo "${ECHO_T}yes" >&6
35326 SET_MAKE=
35327 else
35328 echo "$as_me:$LINENO: result: no" >&5
35329 echo "${ECHO_T}no" >&6
35330 SET_MAKE="MAKE=${MAKE-make}"
35331 fi
35332
35333
35334 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35335 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35336 fi
35337
35338 ac_config_headers="$ac_config_headers setup.h"
35339
35340
35341 ac_config_files="$ac_config_files wx-config version-script Makefile"
35342
35343
35344 ac_config_commands="$ac_config_commands default"
35345
35346
35347
35348 if test "$wxUSE_GUI" = "yes"; then
35349 SUBDIRS="samples demos utils contrib"
35350 else SUBDIRS="samples utils"
35351 fi
35352
35353 for subdir in `echo $SUBDIRS`; do
35354 if test -d ${srcdir}/${subdir} ; then
35355 if test "$wxUSE_GUI" = "yes"; then
35356 if test ${subdir} = "samples"; then
35357 makefiles="samples/Makefile.in $makefiles"
35358 for sample in `echo $SAMPLES_SUBDIRS`; do
35359 if test -d $srcdir/samples/$sample; then
35360 makefiles="samples/$sample/Makefile.in $makefiles"
35361 fi
35362 done
35363 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35364 fi
35365 else if test ${subdir} = "samples"; then
35366 makefiles="samples/Makefile.in samples/console/Makefile.in"
35367 else makefiles="utils/HelpGen/Makefile.in \
35368 utils/HelpGen/src/Makefile.in \
35369 utils/makegen/Makefile.in"
35370 fi
35371 fi
35372
35373 for mkin in $makefiles ; do
35374 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35375 ac_config_files="$ac_config_files $mk"
35376
35377 done
35378 fi
35379 done
35380
35381
35382 cat >confcache <<\_ACEOF
35383 # This file is a shell script that caches the results of configure
35384 # tests run on this system so they can be shared between configure
35385 # scripts and configure runs, see configure's option --config-cache.
35386 # It is not useful on other systems. If it contains results you don't
35387 # want to keep, you may remove or edit it.
35388 #
35389 # config.status only pays attention to the cache file if you give it
35390 # the --recheck option to rerun configure.
35391 #
35392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35394 # following values.
35395
35396 _ACEOF
35397
35398 # The following way of writing the cache mishandles newlines in values,
35399 # but we know of no workaround that is simple, portable, and efficient.
35400 # So, don't put newlines in cache variables' values.
35401 # Ultrix sh set writes to stderr and can't be redirected directly,
35402 # and sets the high bit in the cache file unless we assign to the vars.
35403 {
35404 (set) 2>&1 |
35405 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35406 *ac_space=\ *)
35407 # `set' does not quote correctly, so add quotes (double-quote
35408 # substitution turns \\\\ into \\, and sed turns \\ into \).
35409 sed -n \
35410 "s/'/'\\\\''/g;
35411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35412 ;;
35413 *)
35414 # `set' quotes correctly as required by POSIX, so do not add quotes.
35415 sed -n \
35416 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35417 ;;
35418 esac;
35419 } |
35420 sed '
35421 t clear
35422 : clear
35423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35424 t end
35425 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35426 : end' >>confcache
35427 if diff $cache_file confcache >/dev/null 2>&1; then :; else
35428 if test -w $cache_file; then
35429 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35430 cat confcache >$cache_file
35431 else
35432 echo "not updating unwritable cache $cache_file"
35433 fi
35434 fi
35435 rm -f confcache
35436
35437 test "x$prefix" = xNONE && prefix=$ac_default_prefix
35438 # Let make expand exec_prefix.
35439 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35440
35441 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35442 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35443 # trailing colons and then remove the whole line if VPATH becomes empty
35444 # (actually we leave an empty line to preserve line numbers).
35445 if test "x$srcdir" = x.; then
35446 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35447 s/:*\$(srcdir):*/:/;
35448 s/:*\${srcdir}:*/:/;
35449 s/:*@srcdir@:*/:/;
35450 s/^\([^=]*=[ ]*\):*/\1/;
35451 s/:*$//;
35452 s/^[^=]*=[ ]*$//;
35453 }'
35454 fi
35455
35456 DEFS=-DHAVE_CONFIG_H
35457
35458 ac_libobjs=
35459 ac_ltlibobjs=
35460 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35461 # 1. Remove the extension, and $U if already installed.
35462 ac_i=`echo "$ac_i" |
35463 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35464 # 2. Add them.
35465 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35466 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35467 done
35468 LIBOBJS=$ac_libobjs
35469
35470 LTLIBOBJS=$ac_ltlibobjs
35471
35472
35473
35474 : ${CONFIG_STATUS=./config.status}
35475 ac_clean_files_save=$ac_clean_files
35476 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35477 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35478 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35479 cat >$CONFIG_STATUS <<_ACEOF
35480 #! $SHELL
35481 # Generated by $as_me.
35482 # Run this file to recreate the current configuration.
35483 # Compiler output produced by configure, useful for debugging
35484 # configure, is in config.log if it exists.
35485
35486 debug=false
35487 ac_cs_recheck=false
35488 ac_cs_silent=false
35489 SHELL=\${CONFIG_SHELL-$SHELL}
35490 _ACEOF
35491
35492 cat >>$CONFIG_STATUS <<\_ACEOF
35493 ## --------------------- ##
35494 ## M4sh Initialization. ##
35495 ## --------------------- ##
35496
35497 # Be Bourne compatible
35498 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35499 emulate sh
35500 NULLCMD=:
35501 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35502 # is contrary to our usage. Disable this feature.
35503 alias -g '${1+"$@"}'='"$@"'
35504 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35505 set -o posix
35506 fi
35507
35508 # Support unset when possible.
35509 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35510 as_unset=unset
35511 else
35512 as_unset=false
35513 fi
35514
35515
35516 # Work around bugs in pre-3.0 UWIN ksh.
35517 $as_unset ENV MAIL MAILPATH
35518 PS1='$ '
35519 PS2='> '
35520 PS4='+ '
35521
35522 # NLS nuisances.
35523 for as_var in \
35524 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35525 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35526 LC_TELEPHONE LC_TIME
35527 do
35528 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35529 eval $as_var=C; export $as_var
35530 else
35531 $as_unset $as_var
35532 fi
35533 done
35534
35535 # Required to use basename.
35536 if expr a : '\(a\)' >/dev/null 2>&1; then
35537 as_expr=expr
35538 else
35539 as_expr=false
35540 fi
35541
35542 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35543 as_basename=basename
35544 else
35545 as_basename=false
35546 fi
35547
35548
35549 # Name of the executable.
35550 as_me=`$as_basename "$0" ||
35551 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35552 X"$0" : 'X\(//\)$' \| \
35553 X"$0" : 'X\(/\)$' \| \
35554 . : '\(.\)' 2>/dev/null ||
35555 echo X/"$0" |
35556 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35557 /^X\/\(\/\/\)$/{ s//\1/; q; }
35558 /^X\/\(\/\).*/{ s//\1/; q; }
35559 s/.*/./; q'`
35560
35561
35562 # PATH needs CR, and LINENO needs CR and PATH.
35563 # Avoid depending upon Character Ranges.
35564 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35565 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35566 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35567 as_cr_digits='0123456789'
35568 as_cr_alnum=$as_cr_Letters$as_cr_digits
35569
35570 # The user is always right.
35571 if test "${PATH_SEPARATOR+set}" != set; then
35572 echo "#! /bin/sh" >conf$$.sh
35573 echo "exit 0" >>conf$$.sh
35574 chmod +x conf$$.sh
35575 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35576 PATH_SEPARATOR=';'
35577 else
35578 PATH_SEPARATOR=:
35579 fi
35580 rm -f conf$$.sh
35581 fi
35582
35583
35584 as_lineno_1=$LINENO
35585 as_lineno_2=$LINENO
35586 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35587 test "x$as_lineno_1" != "x$as_lineno_2" &&
35588 test "x$as_lineno_3" = "x$as_lineno_2" || {
35589 # Find who we are. Look in the path if we contain no path at all
35590 # relative or not.
35591 case $0 in
35592 *[\\/]* ) as_myself=$0 ;;
35593 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35594 for as_dir in $PATH
35595 do
35596 IFS=$as_save_IFS
35597 test -z "$as_dir" && as_dir=.
35598 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35599 done
35600
35601 ;;
35602 esac
35603 # We did not find ourselves, most probably we were run as `sh COMMAND'
35604 # in which case we are not to be found in the path.
35605 if test "x$as_myself" = x; then
35606 as_myself=$0
35607 fi
35608 if test ! -f "$as_myself"; then
35609 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35610 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35611 { (exit 1); exit 1; }; }
35612 fi
35613 case $CONFIG_SHELL in
35614 '')
35615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35616 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35617 do
35618 IFS=$as_save_IFS
35619 test -z "$as_dir" && as_dir=.
35620 for as_base in sh bash ksh sh5; do
35621 case $as_dir in
35622 /*)
35623 if ("$as_dir/$as_base" -c '
35624 as_lineno_1=$LINENO
35625 as_lineno_2=$LINENO
35626 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35627 test "x$as_lineno_1" != "x$as_lineno_2" &&
35628 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35629 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35630 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35631 CONFIG_SHELL=$as_dir/$as_base
35632 export CONFIG_SHELL
35633 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35634 fi;;
35635 esac
35636 done
35637 done
35638 ;;
35639 esac
35640
35641 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35642 # uniformly replaced by the line number. The first 'sed' inserts a
35643 # line-number line before each line; the second 'sed' does the real
35644 # work. The second script uses 'N' to pair each line-number line
35645 # with the numbered line, and appends trailing '-' during
35646 # substitution so that $LINENO is not a special case at line end.
35647 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35648 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35649 sed '=' <$as_myself |
35650 sed '
35651 N
35652 s,$,-,
35653 : loop
35654 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35655 t loop
35656 s,-$,,
35657 s,^['$as_cr_digits']*\n,,
35658 ' >$as_me.lineno &&
35659 chmod +x $as_me.lineno ||
35660 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35661 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35662 { (exit 1); exit 1; }; }
35663
35664 # Don't try to exec as it changes $[0], causing all sort of problems
35665 # (the dirname of $[0] is not the place where we might find the
35666 # original and so on. Autoconf is especially sensible to this).
35667 . ./$as_me.lineno
35668 # Exit status is that of the last command.
35669 exit
35670 }
35671
35672
35673 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35674 *c*,-n*) ECHO_N= ECHO_C='
35675 ' ECHO_T=' ' ;;
35676 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35677 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35678 esac
35679
35680 if expr a : '\(a\)' >/dev/null 2>&1; then
35681 as_expr=expr
35682 else
35683 as_expr=false
35684 fi
35685
35686 rm -f conf$$ conf$$.exe conf$$.file
35687 echo >conf$$.file
35688 if ln -s conf$$.file conf$$ 2>/dev/null; then
35689 # We could just check for DJGPP; but this test a) works b) is more generic
35690 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35691 if test -f conf$$.exe; then
35692 # Don't use ln at all; we don't have any links
35693 as_ln_s='cp -p'
35694 else
35695 as_ln_s='ln -s'
35696 fi
35697 elif ln conf$$.file conf$$ 2>/dev/null; then
35698 as_ln_s=ln
35699 else
35700 as_ln_s='cp -p'
35701 fi
35702 rm -f conf$$ conf$$.exe conf$$.file
35703
35704 if mkdir -p . 2>/dev/null; then
35705 as_mkdir_p=:
35706 else
35707 as_mkdir_p=false
35708 fi
35709
35710 as_executable_p="test -f"
35711
35712 # Sed expression to map a string onto a valid CPP name.
35713 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35714
35715 # Sed expression to map a string onto a valid variable name.
35716 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35717
35718
35719 # IFS
35720 # We need space, tab and new line, in precisely that order.
35721 as_nl='
35722 '
35723 IFS=" $as_nl"
35724
35725 # CDPATH.
35726 $as_unset CDPATH
35727
35728 exec 6>&1
35729
35730 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35731 # report actual input values of CONFIG_FILES etc. instead of their
35732 # values after options handling. Logging --version etc. is OK.
35733 exec 5>>config.log
35734 {
35735 echo
35736 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35737 ## Running $as_me. ##
35738 _ASBOX
35739 } >&5
35740 cat >&5 <<_CSEOF
35741
35742 This file was extended by wxWindows $as_me 2.5.0, which was
35743 generated by GNU Autoconf 2.57. Invocation command line was
35744
35745 CONFIG_FILES = $CONFIG_FILES
35746 CONFIG_HEADERS = $CONFIG_HEADERS
35747 CONFIG_LINKS = $CONFIG_LINKS
35748 CONFIG_COMMANDS = $CONFIG_COMMANDS
35749 $ $0 $@
35750
35751 _CSEOF
35752 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35753 echo >&5
35754 _ACEOF
35755
35756 # Files that config.status was made for.
35757 if test -n "$ac_config_files"; then
35758 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35759 fi
35760
35761 if test -n "$ac_config_headers"; then
35762 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35763 fi
35764
35765 if test -n "$ac_config_links"; then
35766 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35767 fi
35768
35769 if test -n "$ac_config_commands"; then
35770 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35771 fi
35772
35773 cat >>$CONFIG_STATUS <<\_ACEOF
35774
35775 ac_cs_usage="\
35776 \`$as_me' instantiates files from templates according to the
35777 current configuration.
35778
35779 Usage: $0 [OPTIONS] [FILE]...
35780
35781 -h, --help print this help, then exit
35782 -V, --version print version number, then exit
35783 -q, --quiet do not print progress messages
35784 -d, --debug don't remove temporary files
35785 --recheck update $as_me by reconfiguring in the same conditions
35786 --file=FILE[:TEMPLATE]
35787 instantiate the configuration file FILE
35788 --header=FILE[:TEMPLATE]
35789 instantiate the configuration header FILE
35790
35791 Configuration files:
35792 $config_files
35793
35794 Configuration headers:
35795 $config_headers
35796
35797 Configuration commands:
35798 $config_commands
35799
35800 Report bugs to <bug-autoconf@gnu.org>."
35801 _ACEOF
35802
35803 cat >>$CONFIG_STATUS <<_ACEOF
35804 ac_cs_version="\\
35805 wxWindows config.status 2.5.0
35806 configured by $0, generated by GNU Autoconf 2.57,
35807 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35808
35809 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35810 Free Software Foundation, Inc.
35811 This config.status script is free software; the Free Software Foundation
35812 gives unlimited permission to copy, distribute and modify it."
35813 srcdir=$srcdir
35814 INSTALL="$INSTALL"
35815 _ACEOF
35816
35817 cat >>$CONFIG_STATUS <<\_ACEOF
35818 # If no file are specified by the user, then we need to provide default
35819 # value. By we need to know if files were specified by the user.
35820 ac_need_defaults=:
35821 while test $# != 0
35822 do
35823 case $1 in
35824 --*=*)
35825 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35826 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35827 ac_shift=:
35828 ;;
35829 -*)
35830 ac_option=$1
35831 ac_optarg=$2
35832 ac_shift=shift
35833 ;;
35834 *) # This is not an option, so the user has probably given explicit
35835 # arguments.
35836 ac_option=$1
35837 ac_need_defaults=false;;
35838 esac
35839
35840 case $ac_option in
35841 # Handling of the options.
35842 _ACEOF
35843 cat >>$CONFIG_STATUS <<\_ACEOF
35844 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35845 ac_cs_recheck=: ;;
35846 --version | --vers* | -V )
35847 echo "$ac_cs_version"; exit 0 ;;
35848 --he | --h)
35849 # Conflict between --help and --header
35850 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35851 Try \`$0 --help' for more information." >&5
35852 echo "$as_me: error: ambiguous option: $1
35853 Try \`$0 --help' for more information." >&2;}
35854 { (exit 1); exit 1; }; };;
35855 --help | --hel | -h )
35856 echo "$ac_cs_usage"; exit 0 ;;
35857 --debug | --d* | -d )
35858 debug=: ;;
35859 --file | --fil | --fi | --f )
35860 $ac_shift
35861 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35862 ac_need_defaults=false;;
35863 --header | --heade | --head | --hea )
35864 $ac_shift
35865 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35866 ac_need_defaults=false;;
35867 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35868 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35869 ac_cs_silent=: ;;
35870
35871 # This is an error.
35872 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35873 Try \`$0 --help' for more information." >&5
35874 echo "$as_me: error: unrecognized option: $1
35875 Try \`$0 --help' for more information." >&2;}
35876 { (exit 1); exit 1; }; } ;;
35877
35878 *) ac_config_targets="$ac_config_targets $1" ;;
35879
35880 esac
35881 shift
35882 done
35883
35884 ac_configure_extra_args=
35885
35886 if $ac_cs_silent; then
35887 exec 6>/dev/null
35888 ac_configure_extra_args="$ac_configure_extra_args --silent"
35889 fi
35890
35891 _ACEOF
35892 cat >>$CONFIG_STATUS <<_ACEOF
35893 if \$ac_cs_recheck; then
35894 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35895 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35896 fi
35897
35898 _ACEOF
35899
35900 cat >>$CONFIG_STATUS <<_ACEOF
35901 #
35902 # INIT-COMMANDS section.
35903 #
35904
35905
35906 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35907 LN_S="${LN_S}"
35908
35909
35910
35911 _ACEOF
35912
35913
35914
35915 cat >>$CONFIG_STATUS <<\_ACEOF
35916 for ac_config_target in $ac_config_targets
35917 do
35918 case "$ac_config_target" in
35919 # Handling of arguments.
35920 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35921 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35922 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35923 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35924 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35925 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35926 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35927 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35928 { (exit 1); exit 1; }; };;
35929 esac
35930 done
35931
35932 # If the user did not use the arguments to specify the items to instantiate,
35933 # then the envvar interface is used. Set only those that are not.
35934 # We use the long form for the default assignment because of an extremely
35935 # bizarre bug on SunOS 4.1.3.
35936 if $ac_need_defaults; then
35937 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35938 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35939 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35940 fi
35941
35942 # Have a temporary directory for convenience. Make it in the build tree
35943 # simply because there is no reason to put it here, and in addition,
35944 # creating and moving files from /tmp can sometimes cause problems.
35945 # Create a temporary directory, and hook for its removal unless debugging.
35946 $debug ||
35947 {
35948 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35949 trap '{ (exit 1); exit 1; }' 1 2 13 15
35950 }
35951
35952 # Create a (secure) tmp directory for tmp files.
35953
35954 {
35955 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35956 test -n "$tmp" && test -d "$tmp"
35957 } ||
35958 {
35959 tmp=./confstat$$-$RANDOM
35960 (umask 077 && mkdir $tmp)
35961 } ||
35962 {
35963 echo "$me: cannot create a temporary directory in ." >&2
35964 { (exit 1); exit 1; }
35965 }
35966
35967 _ACEOF
35968
35969 cat >>$CONFIG_STATUS <<_ACEOF
35970
35971 #
35972 # CONFIG_FILES section.
35973 #
35974
35975 # No need to generate the scripts if there are no CONFIG_FILES.
35976 # This happens for instance when ./config.status config.h
35977 if test -n "\$CONFIG_FILES"; then
35978 # Protect against being on the right side of a sed subst in config.status.
35979 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35980 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35981 s,@SHELL@,$SHELL,;t t
35982 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35983 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35984 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35985 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35986 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35987 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35988 s,@exec_prefix@,$exec_prefix,;t t
35989 s,@prefix@,$prefix,;t t
35990 s,@program_transform_name@,$program_transform_name,;t t
35991 s,@bindir@,$bindir,;t t
35992 s,@sbindir@,$sbindir,;t t
35993 s,@libexecdir@,$libexecdir,;t t
35994 s,@datadir@,$datadir,;t t
35995 s,@sysconfdir@,$sysconfdir,;t t
35996 s,@sharedstatedir@,$sharedstatedir,;t t
35997 s,@localstatedir@,$localstatedir,;t t
35998 s,@libdir@,$libdir,;t t
35999 s,@includedir@,$includedir,;t t
36000 s,@oldincludedir@,$oldincludedir,;t t
36001 s,@infodir@,$infodir,;t t
36002 s,@mandir@,$mandir,;t t
36003 s,@build_alias@,$build_alias,;t t
36004 s,@host_alias@,$host_alias,;t t
36005 s,@target_alias@,$target_alias,;t t
36006 s,@DEFS@,$DEFS,;t t
36007 s,@ECHO_C@,$ECHO_C,;t t
36008 s,@ECHO_N@,$ECHO_N,;t t
36009 s,@ECHO_T@,$ECHO_T,;t t
36010 s,@LIBS@,$LIBS,;t t
36011 s,@build@,$build,;t t
36012 s,@build_cpu@,$build_cpu,;t t
36013 s,@build_vendor@,$build_vendor,;t t
36014 s,@build_os@,$build_os,;t t
36015 s,@host@,$host,;t t
36016 s,@host_cpu@,$host_cpu,;t t
36017 s,@host_vendor@,$host_vendor,;t t
36018 s,@host_os@,$host_os,;t t
36019 s,@target@,$target,;t t
36020 s,@target_cpu@,$target_cpu,;t t
36021 s,@target_vendor@,$target_vendor,;t t
36022 s,@target_os@,$target_os,;t t
36023 s,@CC@,$CC,;t t
36024 s,@CFLAGS@,$CFLAGS,;t t
36025 s,@LDFLAGS@,$LDFLAGS,;t t
36026 s,@CPPFLAGS@,$CPPFLAGS,;t t
36027 s,@ac_ct_CC@,$ac_ct_CC,;t t
36028 s,@EXEEXT@,$EXEEXT,;t t
36029 s,@OBJEXT@,$OBJEXT,;t t
36030 s,@CPP@,$CPP,;t t
36031 s,@EGREP@,$EGREP,;t t
36032 s,@CXX@,$CXX,;t t
36033 s,@CXXFLAGS@,$CXXFLAGS,;t t
36034 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36035 s,@RANLIB@,$RANLIB,;t t
36036 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36037 s,@AR@,$AR,;t t
36038 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36039 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36040 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36041 s,@STRIP@,$STRIP,;t t
36042 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36043 s,@LN_S@,$LN_S,;t t
36044 s,@CXXCPP@,$CXXCPP,;t t
36045 s,@subdirs@,$subdirs,;t t
36046 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36047 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36048 s,@GTK_LIBS@,$GTK_LIBS,;t t
36049 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36050 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36051 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36052 s,@X_CFLAGS@,$X_CFLAGS,;t t
36053 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36054 s,@X_LIBS@,$X_LIBS,;t t
36055 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36056 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36057 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36058 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36059 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36060 s,@RESCOMP@,$RESCOMP,;t t
36061 s,@DEREZ@,$DEREZ,;t t
36062 s,@SETFILE@,$SETFILE,;t t
36063 s,@LIBICONV@,$LIBICONV,;t t
36064 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36065 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36066 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36067 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36068 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36069 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36070 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36071 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36072 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36073 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36074 s,@VENDOR@,$VENDOR,;t t
36075 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36076 s,@WXUNIV@,$WXUNIV,;t t
36077 s,@MONOLITHIC@,$MONOLITHIC,;t t
36078 s,@EXTRALIBS@,$EXTRALIBS,;t t
36079 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36080 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36081 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36082 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36083 s,@UNICODE@,$UNICODE,;t t
36084 s,@BUILD@,$BUILD,;t t
36085 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36086 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36087 s,@SHARED@,$SHARED,;t t
36088 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36089 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36090 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36091 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36092 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36093 s,@SET_MAKE@,$SET_MAKE,;t t
36094 s,@MAKE_SET@,$MAKE_SET,;t t
36095 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36096 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36097 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36098 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36099 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36100 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36101 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36102 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36103 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36104 s,@DLLPREFIX@,$DLLPREFIX,;t t
36105 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36106 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36107 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36108 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36109 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36110 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36111 s,@PIC_FLAG@,$PIC_FLAG,;t t
36112 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36113 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36114 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36115 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36116 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36117 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36118 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36119 s,@GCC_PCH@,$GCC_PCH,;t t
36120 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36121 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36122 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36123 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36124 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36125 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36126 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36127 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36128 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36129 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36130 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36131 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36132 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36133 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36134 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
36135 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36136 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36137 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36138 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36139 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
36140 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36141 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36142 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36143 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36144 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36145 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36146 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36147 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36148 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36149 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36150 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36151 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36152 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36153 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36154 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36155 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36156 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36157 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36158 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36159 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36160 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36161 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36162 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36163 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36164 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36165 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36166 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36167 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36168 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36169 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36170 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36171 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36172 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36173 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36174 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36175 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36176 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36177 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36178 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36179 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36180 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36181 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36182 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36183 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36184 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36185 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36186 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36187 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36188 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36189 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36190 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36191 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36192 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36193 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36194 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36195 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36196 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36197 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36198 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36199 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36200 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36201 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36202 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36203 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36204 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36205 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36206 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36207 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36208 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36209 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36210 s,@PATH_IFS@,$PATH_IFS,;t t
36211 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36212 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36213 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36214 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36215 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36216 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36217 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36218 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36219 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36220 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36221 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36222 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36223 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36224 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36225 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36226 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36227 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36228 s,@WX_ALL@,$WX_ALL,;t t
36229 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36230 s,@SHARED_LD@,$SHARED_LD,;t t
36231 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36232 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36233 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36234 s,@USE_GUI@,$USE_GUI,;t t
36235 s,@AFMINSTALL@,$AFMINSTALL,;t t
36236 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36237 s,@TOOLKIT@,$TOOLKIT,;t t
36238 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36239 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36240 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36241 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36242 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36243 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36244 s,@cross_compiling@,$cross_compiling,;t t
36245 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36246 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36247 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36248 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36249 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36250 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36251 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36252 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36253 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36254 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36255 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36256 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36257 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36258 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36259 s,@GUIDIST@,$GUIDIST,;t t
36260 s,@PORT_FILES@,$PORT_FILES,;t t
36261 s,@DISTDIR@,$DISTDIR,;t t
36262 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36263 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36264 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36265 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36266 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36267 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36268 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36269 s,@RESFLAGS@,$RESFLAGS,;t t
36270 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36271 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36272 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36273 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36274 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36275 s,@MACRESCOMP@,$MACRESCOMP,;t t
36276 s,@MACSETFILE@,$MACSETFILE,;t t
36277 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36278 s,@GCC@,$GCC,;t t
36279 s,@DLLTOOL@,$DLLTOOL,;t t
36280 s,@AS@,$AS,;t t
36281 s,@NM@,$NM,;t t
36282 s,@LD@,$LD,;t t
36283 s,@MAKEINFO@,$MAKEINFO,;t t
36284 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36285 s,@LIBOBJS@,$LIBOBJS,;t t
36286 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36287 CEOF
36288
36289 _ACEOF
36290
36291 cat >>$CONFIG_STATUS <<\_ACEOF
36292 # Split the substitutions into bite-sized pieces for seds with
36293 # small command number limits, like on Digital OSF/1 and HP-UX.
36294 ac_max_sed_lines=48
36295 ac_sed_frag=1 # Number of current file.
36296 ac_beg=1 # First line for current file.
36297 ac_end=$ac_max_sed_lines # Line after last line for current file.
36298 ac_more_lines=:
36299 ac_sed_cmds=
36300 while $ac_more_lines; do
36301 if test $ac_beg -gt 1; then
36302 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36303 else
36304 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36305 fi
36306 if test ! -s $tmp/subs.frag; then
36307 ac_more_lines=false
36308 else
36309 # The purpose of the label and of the branching condition is to
36310 # speed up the sed processing (if there are no `@' at all, there
36311 # is no need to browse any of the substitutions).
36312 # These are the two extra sed commands mentioned above.
36313 (echo ':t
36314 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36315 if test -z "$ac_sed_cmds"; then
36316 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36317 else
36318 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36319 fi
36320 ac_sed_frag=`expr $ac_sed_frag + 1`
36321 ac_beg=$ac_end
36322 ac_end=`expr $ac_end + $ac_max_sed_lines`
36323 fi
36324 done
36325 if test -z "$ac_sed_cmds"; then
36326 ac_sed_cmds=cat
36327 fi
36328 fi # test -n "$CONFIG_FILES"
36329
36330 _ACEOF
36331 cat >>$CONFIG_STATUS <<\_ACEOF
36332 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36333 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36334 case $ac_file in
36335 - | *:- | *:-:* ) # input from stdin
36336 cat >$tmp/stdin
36337 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36338 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36339 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36340 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36341 * ) ac_file_in=$ac_file.in ;;
36342 esac
36343
36344 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36345 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36346 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36347 X"$ac_file" : 'X\(//\)[^/]' \| \
36348 X"$ac_file" : 'X\(//\)$' \| \
36349 X"$ac_file" : 'X\(/\)' \| \
36350 . : '\(.\)' 2>/dev/null ||
36351 echo X"$ac_file" |
36352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36353 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36354 /^X\(\/\/\)$/{ s//\1/; q; }
36355 /^X\(\/\).*/{ s//\1/; q; }
36356 s/.*/./; q'`
36357 { if $as_mkdir_p; then
36358 mkdir -p "$ac_dir"
36359 else
36360 as_dir="$ac_dir"
36361 as_dirs=
36362 while test ! -d "$as_dir"; do
36363 as_dirs="$as_dir $as_dirs"
36364 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36365 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36366 X"$as_dir" : 'X\(//\)[^/]' \| \
36367 X"$as_dir" : 'X\(//\)$' \| \
36368 X"$as_dir" : 'X\(/\)' \| \
36369 . : '\(.\)' 2>/dev/null ||
36370 echo X"$as_dir" |
36371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36372 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36373 /^X\(\/\/\)$/{ s//\1/; q; }
36374 /^X\(\/\).*/{ s//\1/; q; }
36375 s/.*/./; q'`
36376 done
36377 test ! -n "$as_dirs" || mkdir $as_dirs
36378 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36379 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36380 { (exit 1); exit 1; }; }; }
36381
36382 ac_builddir=.
36383
36384 if test "$ac_dir" != .; then
36385 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36386 # A "../" for each directory in $ac_dir_suffix.
36387 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36388 else
36389 ac_dir_suffix= ac_top_builddir=
36390 fi
36391
36392 case $srcdir in
36393 .) # No --srcdir option. We are building in place.
36394 ac_srcdir=.
36395 if test -z "$ac_top_builddir"; then
36396 ac_top_srcdir=.
36397 else
36398 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36399 fi ;;
36400 [\\/]* | ?:[\\/]* ) # Absolute path.
36401 ac_srcdir=$srcdir$ac_dir_suffix;
36402 ac_top_srcdir=$srcdir ;;
36403 *) # Relative path.
36404 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36405 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36406 esac
36407 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36408 # absolute.
36409 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36410 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36411 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36412 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36413
36414
36415 case $INSTALL in
36416 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36417 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36418 esac
36419
36420 if test x"$ac_file" != x-; then
36421 { echo "$as_me:$LINENO: creating $ac_file" >&5
36422 echo "$as_me: creating $ac_file" >&6;}
36423 rm -f "$ac_file"
36424 fi
36425 # Let's still pretend it is `configure' which instantiates (i.e., don't
36426 # use $as_me), people would be surprised to read:
36427 # /* config.h. Generated by config.status. */
36428 if test x"$ac_file" = x-; then
36429 configure_input=
36430 else
36431 configure_input="$ac_file. "
36432 fi
36433 configure_input=$configure_input"Generated from `echo $ac_file_in |
36434 sed 's,.*/,,'` by configure."
36435
36436 # First look for the input files in the build tree, otherwise in the
36437 # src tree.
36438 ac_file_inputs=`IFS=:
36439 for f in $ac_file_in; do
36440 case $f in
36441 -) echo $tmp/stdin ;;
36442 [\\/$]*)
36443 # Absolute (can't be DOS-style, as IFS=:)
36444 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36445 echo "$as_me: error: cannot find input file: $f" >&2;}
36446 { (exit 1); exit 1; }; }
36447 echo $f;;
36448 *) # Relative
36449 if test -f "$f"; then
36450 # Build tree
36451 echo $f
36452 elif test -f "$srcdir/$f"; then
36453 # Source tree
36454 echo $srcdir/$f
36455 else
36456 # /dev/null tree
36457 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36458 echo "$as_me: error: cannot find input file: $f" >&2;}
36459 { (exit 1); exit 1; }; }
36460 fi;;
36461 esac
36462 done` || { (exit 1); exit 1; }
36463 _ACEOF
36464 cat >>$CONFIG_STATUS <<_ACEOF
36465 sed "$ac_vpsub
36466 $extrasub
36467 _ACEOF
36468 cat >>$CONFIG_STATUS <<\_ACEOF
36469 :t
36470 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36471 s,@configure_input@,$configure_input,;t t
36472 s,@srcdir@,$ac_srcdir,;t t
36473 s,@abs_srcdir@,$ac_abs_srcdir,;t t
36474 s,@top_srcdir@,$ac_top_srcdir,;t t
36475 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36476 s,@builddir@,$ac_builddir,;t t
36477 s,@abs_builddir@,$ac_abs_builddir,;t t
36478 s,@top_builddir@,$ac_top_builddir,;t t
36479 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36480 s,@INSTALL@,$ac_INSTALL,;t t
36481 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36482 rm -f $tmp/stdin
36483 if test x"$ac_file" != x-; then
36484 mv $tmp/out $ac_file
36485 else
36486 cat $tmp/out
36487 rm -f $tmp/out
36488 fi
36489
36490 done
36491 _ACEOF
36492 cat >>$CONFIG_STATUS <<\_ACEOF
36493
36494 #
36495 # CONFIG_HEADER section.
36496 #
36497
36498 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36499 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36500 #
36501 # ac_d sets the value in "#define NAME VALUE" lines.
36502 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36503 ac_dB='[ ].*$,\1#\2'
36504 ac_dC=' '
36505 ac_dD=',;t'
36506 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36507 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36508 ac_uB='$,\1#\2define\3'
36509 ac_uC=' '
36510 ac_uD=',;t'
36511
36512 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36513 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36514 case $ac_file in
36515 - | *:- | *:-:* ) # input from stdin
36516 cat >$tmp/stdin
36517 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36518 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36519 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36520 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36521 * ) ac_file_in=$ac_file.in ;;
36522 esac
36523
36524 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36525 echo "$as_me: creating $ac_file" >&6;}
36526
36527 # First look for the input files in the build tree, otherwise in the
36528 # src tree.
36529 ac_file_inputs=`IFS=:
36530 for f in $ac_file_in; do
36531 case $f in
36532 -) echo $tmp/stdin ;;
36533 [\\/$]*)
36534 # Absolute (can't be DOS-style, as IFS=:)
36535 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36536 echo "$as_me: error: cannot find input file: $f" >&2;}
36537 { (exit 1); exit 1; }; }
36538 echo $f;;
36539 *) # Relative
36540 if test -f "$f"; then
36541 # Build tree
36542 echo $f
36543 elif test -f "$srcdir/$f"; then
36544 # Source tree
36545 echo $srcdir/$f
36546 else
36547 # /dev/null tree
36548 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36549 echo "$as_me: error: cannot find input file: $f" >&2;}
36550 { (exit 1); exit 1; }; }
36551 fi;;
36552 esac
36553 done` || { (exit 1); exit 1; }
36554 # Remove the trailing spaces.
36555 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36556
36557 _ACEOF
36558
36559 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36560 # `conftest.undefs', that substitutes the proper values into
36561 # config.h.in to produce config.h. The first handles `#define'
36562 # templates, and the second `#undef' templates.
36563 # And first: Protect against being on the right side of a sed subst in
36564 # config.status. Protect against being in an unquoted here document
36565 # in config.status.
36566 rm -f conftest.defines conftest.undefs
36567 # Using a here document instead of a string reduces the quoting nightmare.
36568 # Putting comments in sed scripts is not portable.
36569 #
36570 # `end' is used to avoid that the second main sed command (meant for
36571 # 0-ary CPP macros) applies to n-ary macro definitions.
36572 # See the Autoconf documentation for `clear'.
36573 cat >confdef2sed.sed <<\_ACEOF
36574 s/[\\&,]/\\&/g
36575 s,[\\$`],\\&,g
36576 t clear
36577 : clear
36578 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36579 t end
36580 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36581 : end
36582 _ACEOF
36583 # If some macros were called several times there might be several times
36584 # the same #defines, which is useless. Nevertheless, we may not want to
36585 # sort them, since we want the *last* AC-DEFINE to be honored.
36586 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36587 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36588 rm -f confdef2sed.sed
36589
36590 # This sed command replaces #undef with comments. This is necessary, for
36591 # example, in the case of _POSIX_SOURCE, which is predefined and required
36592 # on some systems where configure will not decide to define it.
36593 cat >>conftest.undefs <<\_ACEOF
36594 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36595 _ACEOF
36596
36597 # Break up conftest.defines because some shells have a limit on the size
36598 # of here documents, and old seds have small limits too (100 cmds).
36599 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36600 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36601 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36602 echo ' :' >>$CONFIG_STATUS
36603 rm -f conftest.tail
36604 while grep . conftest.defines >/dev/null
36605 do
36606 # Write a limited-size here document to $tmp/defines.sed.
36607 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36608 # Speed up: don't consider the non `#define' lines.
36609 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36610 # Work around the forget-to-reset-the-flag bug.
36611 echo 't clr' >>$CONFIG_STATUS
36612 echo ': clr' >>$CONFIG_STATUS
36613 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36614 echo 'CEOF
36615 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36616 rm -f $tmp/in
36617 mv $tmp/out $tmp/in
36618 ' >>$CONFIG_STATUS
36619 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36620 rm -f conftest.defines
36621 mv conftest.tail conftest.defines
36622 done
36623 rm -f conftest.defines
36624 echo ' fi # grep' >>$CONFIG_STATUS
36625 echo >>$CONFIG_STATUS
36626
36627 # Break up conftest.undefs because some shells have a limit on the size
36628 # of here documents, and old seds have small limits too (100 cmds).
36629 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36630 rm -f conftest.tail
36631 while grep . conftest.undefs >/dev/null
36632 do
36633 # Write a limited-size here document to $tmp/undefs.sed.
36634 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36635 # Speed up: don't consider the non `#undef'
36636 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36637 # Work around the forget-to-reset-the-flag bug.
36638 echo 't clr' >>$CONFIG_STATUS
36639 echo ': clr' >>$CONFIG_STATUS
36640 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36641 echo 'CEOF
36642 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36643 rm -f $tmp/in
36644 mv $tmp/out $tmp/in
36645 ' >>$CONFIG_STATUS
36646 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36647 rm -f conftest.undefs
36648 mv conftest.tail conftest.undefs
36649 done
36650 rm -f conftest.undefs
36651
36652 cat >>$CONFIG_STATUS <<\_ACEOF
36653 # Let's still pretend it is `configure' which instantiates (i.e., don't
36654 # use $as_me), people would be surprised to read:
36655 # /* config.h. Generated by config.status. */
36656 if test x"$ac_file" = x-; then
36657 echo "/* Generated by configure. */" >$tmp/config.h
36658 else
36659 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36660 fi
36661 cat $tmp/in >>$tmp/config.h
36662 rm -f $tmp/in
36663 if test x"$ac_file" != x-; then
36664 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36665 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36666 echo "$as_me: $ac_file is unchanged" >&6;}
36667 else
36668 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36669 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36670 X"$ac_file" : 'X\(//\)[^/]' \| \
36671 X"$ac_file" : 'X\(//\)$' \| \
36672 X"$ac_file" : 'X\(/\)' \| \
36673 . : '\(.\)' 2>/dev/null ||
36674 echo X"$ac_file" |
36675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36677 /^X\(\/\/\)$/{ s//\1/; q; }
36678 /^X\(\/\).*/{ s//\1/; q; }
36679 s/.*/./; q'`
36680 { if $as_mkdir_p; then
36681 mkdir -p "$ac_dir"
36682 else
36683 as_dir="$ac_dir"
36684 as_dirs=
36685 while test ! -d "$as_dir"; do
36686 as_dirs="$as_dir $as_dirs"
36687 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36689 X"$as_dir" : 'X\(//\)[^/]' \| \
36690 X"$as_dir" : 'X\(//\)$' \| \
36691 X"$as_dir" : 'X\(/\)' \| \
36692 . : '\(.\)' 2>/dev/null ||
36693 echo X"$as_dir" |
36694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36695 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36696 /^X\(\/\/\)$/{ s//\1/; q; }
36697 /^X\(\/\).*/{ s//\1/; q; }
36698 s/.*/./; q'`
36699 done
36700 test ! -n "$as_dirs" || mkdir $as_dirs
36701 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36702 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36703 { (exit 1); exit 1; }; }; }
36704
36705 rm -f $ac_file
36706 mv $tmp/config.h $ac_file
36707 fi
36708 else
36709 cat $tmp/config.h
36710 rm -f $tmp/config.h
36711 fi
36712 done
36713 _ACEOF
36714 cat >>$CONFIG_STATUS <<\_ACEOF
36715
36716 #
36717 # CONFIG_COMMANDS section.
36718 #
36719 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36720 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36721 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36722 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36723 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36724 X"$ac_dest" : 'X\(//\)[^/]' \| \
36725 X"$ac_dest" : 'X\(//\)$' \| \
36726 X"$ac_dest" : 'X\(/\)' \| \
36727 . : '\(.\)' 2>/dev/null ||
36728 echo X"$ac_dest" |
36729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36730 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36731 /^X\(\/\/\)$/{ s//\1/; q; }
36732 /^X\(\/\).*/{ s//\1/; q; }
36733 s/.*/./; q'`
36734 ac_builddir=.
36735
36736 if test "$ac_dir" != .; then
36737 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36738 # A "../" for each directory in $ac_dir_suffix.
36739 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36740 else
36741 ac_dir_suffix= ac_top_builddir=
36742 fi
36743
36744 case $srcdir in
36745 .) # No --srcdir option. We are building in place.
36746 ac_srcdir=.
36747 if test -z "$ac_top_builddir"; then
36748 ac_top_srcdir=.
36749 else
36750 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36751 fi ;;
36752 [\\/]* | ?:[\\/]* ) # Absolute path.
36753 ac_srcdir=$srcdir$ac_dir_suffix;
36754 ac_top_srcdir=$srcdir ;;
36755 *) # Relative path.
36756 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36757 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36758 esac
36759 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36760 # absolute.
36761 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36762 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36763 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36764 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36765
36766
36767 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36768 echo "$as_me: executing $ac_dest commands" >&6;}
36769 case $ac_dest in
36770 default )
36771 if test ! -h wx-config; then
36772 chmod +x wx-config
36773 mv wx-config wx${TOOLCHAIN_NAME}-config
36774 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36775 fi
36776
36777 if test ! -d lib; then
36778 mkdir lib
36779 fi
36780 if test ! -d lib/wx; then
36781 mkdir lib/wx
36782 fi
36783 if test ! -d lib/wx/include; then
36784 mkdir lib/wx/include
36785 fi
36786 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36787 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36788 fi
36789 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36790 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36791 fi
36792 if test -f setup.h; then
36793 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36794 fi
36795 ;;
36796 esac
36797 done
36798 _ACEOF
36799
36800 cat >>$CONFIG_STATUS <<\_ACEOF
36801
36802 { (exit 0); exit 0; }
36803 _ACEOF
36804 chmod +x $CONFIG_STATUS
36805 ac_clean_files=$ac_clean_files_save
36806
36807
36808 # configure is writing to config.log, and then calls config.status.
36809 # config.status does its own redirection, appending to config.log.
36810 # Unfortunately, on DOS this fails, as config.log is still kept open
36811 # by configure, so config.status won't be able to write to it; its
36812 # output is simply discarded. So we exec the FD to /dev/null,
36813 # effectively closing config.log, so it can be properly (re)opened and
36814 # appended to by config.status. When coming back to configure, we
36815 # need to make the FD available again.
36816 if test "$no_create" != yes; then
36817 ac_cs_success=:
36818 ac_config_status_args=
36819 test "$silent" = yes &&
36820 ac_config_status_args="$ac_config_status_args --quiet"
36821 exec 5>/dev/null
36822 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36823 exec 5>>config.log
36824 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36825 # would make configure fail if this is the last instruction.
36826 $ac_cs_success || { (exit 1); exit 1; }
36827 fi
36828
36829 #
36830 # CONFIG_SUBDIRS section.
36831 #
36832 if test "$no_recursion" != yes; then
36833
36834 # Remove --cache-file and --srcdir arguments so they do not pile up.
36835 ac_sub_configure_args=
36836 ac_prev=
36837 for ac_arg in $ac_configure_args; do
36838 if test -n "$ac_prev"; then
36839 ac_prev=
36840 continue
36841 fi
36842 case $ac_arg in
36843 -cache-file | --cache-file | --cache-fil | --cache-fi \
36844 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36845 ac_prev=cache_file ;;
36846 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36847 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36848 | --c=*)
36849 ;;
36850 --config-cache | -C)
36851 ;;
36852 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36853 ac_prev=srcdir ;;
36854 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36855 ;;
36856 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36857 ac_prev=prefix ;;
36858 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36859 ;;
36860 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
36861 esac
36862 done
36863
36864 # Always prepend --prefix to ensure using the same prefix
36865 # in subdir configurations.
36866 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
36867
36868 ac_popdir=`pwd`
36869 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
36870
36871 # Do not complain, so a configure script can configure whichever
36872 # parts of a large source tree are present.
36873 test -d $srcdir/$ac_dir || continue
36874
36875 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36876 echo "$as_me: configuring in $ac_dir" >&6;}
36877 { if $as_mkdir_p; then
36878 mkdir -p "$ac_dir"
36879 else
36880 as_dir="$ac_dir"
36881 as_dirs=
36882 while test ! -d "$as_dir"; do
36883 as_dirs="$as_dir $as_dirs"
36884 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36886 X"$as_dir" : 'X\(//\)[^/]' \| \
36887 X"$as_dir" : 'X\(//\)$' \| \
36888 X"$as_dir" : 'X\(/\)' \| \
36889 . : '\(.\)' 2>/dev/null ||
36890 echo X"$as_dir" |
36891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36893 /^X\(\/\/\)$/{ s//\1/; q; }
36894 /^X\(\/\).*/{ s//\1/; q; }
36895 s/.*/./; q'`
36896 done
36897 test ! -n "$as_dirs" || mkdir $as_dirs
36898 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36899 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36900 { (exit 1); exit 1; }; }; }
36901
36902 ac_builddir=.
36903
36904 if test "$ac_dir" != .; then
36905 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36906 # A "../" for each directory in $ac_dir_suffix.
36907 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36908 else
36909 ac_dir_suffix= ac_top_builddir=
36910 fi
36911
36912 case $srcdir in
36913 .) # No --srcdir option. We are building in place.
36914 ac_srcdir=.
36915 if test -z "$ac_top_builddir"; then
36916 ac_top_srcdir=.
36917 else
36918 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36919 fi ;;
36920 [\\/]* | ?:[\\/]* ) # Absolute path.
36921 ac_srcdir=$srcdir$ac_dir_suffix;
36922 ac_top_srcdir=$srcdir ;;
36923 *) # Relative path.
36924 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36925 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36926 esac
36927 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36928 # absolute.
36929 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36930 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36931 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36932 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36933
36934
36935 cd $ac_dir
36936
36937 # Check for guested configure; otherwise get Cygnus style configure.
36938 if test -f $ac_srcdir/configure.gnu; then
36939 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
36940 elif test -f $ac_srcdir/configure; then
36941 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
36942 elif test -f $ac_srcdir/configure.in; then
36943 ac_sub_configure=$ac_configure
36944 else
36945 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36946 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36947 ac_sub_configure=
36948 fi
36949
36950 # The recursion is here.
36951 if test -n "$ac_sub_configure"; then
36952 # Make the cache file name correct relative to the subdirectory.
36953 case $cache_file in
36954 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
36955 *) # Relative path.
36956 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
36957 esac
36958
36959 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
36960 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
36961 # The eval makes quoting arguments work.
36962 eval $ac_sub_configure $ac_sub_configure_args \
36963 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
36964 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
36965 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
36966 { (exit 1); exit 1; }; }
36967 fi
36968
36969 cd $ac_popdir
36970 done
36971 fi
36972
36973
36974 echo
36975 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36976 echo ""
36977 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36978 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36979
36980 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36981 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36982 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36983
36984 echo " What level of wxWindows compatibility should be enabled?"
36985 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36986 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36987
36988 echo " Which libraries should wxWindows use?"
36989 echo " jpeg ${wxUSE_LIBJPEG-none}"
36990 echo " png ${wxUSE_LIBPNG-none}"
36991 echo " regex ${wxUSE_REGEX}"
36992 echo " tiff ${wxUSE_LIBTIFF-none}"
36993 echo " zlib ${wxUSE_ZLIB}"
36994 echo " odbc ${wxUSE_ODBC}"
36995 echo " expat ${wxUSE_EXPAT}"
36996
36997 echo ""
36998