]> git.saurik.com Git - wxWidgets.git/blob - configure
don't install builtin 3rd party libs with shared version, only with static one
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
7 #
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25 fi
26
27 # Support unset when possible.
28 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='wxWindows'
271 PACKAGE_TARNAME='wxwindows'
272 PACKAGE_VERSION='2.5.0'
273 PACKAGE_STRING='wxWindows 2.5.0'
274 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276 ac_unique_file="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 # include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 # include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 # include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
313
314 ac_subdirs_all="$ac_subdirs_all src/expat"
315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX SO_SUFFIX_MODULE DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN LEX_STEM PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
316 ac_subst_files=''
317
318 # Initialize some variables set by options.
319 ac_init_help=
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
323 cache_file=/dev/null
324 exec_prefix=NONE
325 no_create=
326 no_recursion=
327 prefix=NONE
328 program_prefix=NONE
329 program_suffix=NONE
330 program_transform_name=s,x,x,
331 silent=
332 site=
333 srcdir=
334 verbose=
335 x_includes=NONE
336 x_libraries=NONE
337
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
355
356 ac_prev=
357 for ac_option
358 do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653 done
654
655 if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659 fi
660
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
663 do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670 done
671
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675 do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682 done
683
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
687 build=$build_alias
688 host=$host_alias
689 target=$target_alias
690
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700 fi
701
702 ac_tool_prefix=
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705 test "$silent" = yes && exec 6>/dev/null
706
707
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718 echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728 else
729 ac_srcdir_defaulted=no
730 fi
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739 fi
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
757 ac_env_CC_value=$CC
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
788
789 #
790 # Report the --help message.
791 #
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
797
798 Usage: $0 [OPTION]... [VAR=VALUE]...
799
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
802
803 Defaults for the options are specified in brackets.
804
805 Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815
816 _ACEOF
817
818 cat <<_ACEOF
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
824
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
829
830 For better control, use the options below.
831
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845 _ACEOF
846
847 cat <<\_ACEOF
848
849 X features:
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
852
853 System types:
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
857 _ACEOF
858 fi
859
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWindows 2.5.0:";;
863 esac
864 cat <<\_ACEOF
865
866 Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat20 enable wxWindows 2.0 compatibility
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-cmdline use wxCmdLineParser class
903 --enable-datetime use wxDateTime class
904 --enable-stopwatch use wxStopWatch class
905 --enable-dialupman use dialup network classes
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-timer use wxTimer class
908 --enable-wave use wxWave class
909 --enable-fraction use wxFraction class
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-longlong use wxLongLong class
913 --enable-geometry use geometry class
914 --enable-log use logging system
915 --enable-streams use wxStream etc classes
916 --enable-file use wxFile classes
917 --enable-ffile use wxFFile classes
918 --enable-textbuf use wxTextBuffer class
919 --enable-textfile use wxTextFile class
920 --enable-fontmap use font encodings conversion classes
921 --enable-unicode compile wxString with Unicode support
922 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
923 --enable-wxprintfv use wxWindows implementation of vprintf()
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-filesystem use virtual file systems classes
926 --enable-fs_inet use virtual HTTP/FTP filesystems
927 --enable-fs_zip use virtual ZIP filesystems
928 --enable-zipstream use wxZipInputStream
929 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
930 --enable-snglinst use wxSingleInstanceChecker class
931 --enable-mimetype use wxMimeTypesManager
932 --enable-sysoptions use wxSystemOptions
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --enable-official_build official build of wxWindows (win32 DLL only)
1028 --enable-vendor=VENDOR vendor name (win32 DLL only)
1029 --disable-largefile omit support for large files
1030 --disable-gtktest do not try to compile and run a test GTK+ program
1031 --disable-gtktest Do not try to compile and run a test GTK program
1032 --disable-precomp-headers don't use precompiled headers even if compiler can
1033
1034 Optional Packages:
1035 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1036 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1037 --with-gtk use GTK+
1038 --with-motif use Motif/Lesstif
1039 --with-mac use Mac OS X
1040 --with-cocoa use Cocoa
1041 --with-wine use Wine
1042 --with-msw use MS-Windows
1043 --with-pm use OS/2 Presentation Manager
1044 --with-mgl use SciTech MGL
1045 --with-microwin use MicroWindows
1046 --with-x11 use X11
1047 --with-libpng use libpng (PNG image format)
1048 --with-libjpeg use libjpeg (JPEG file format)
1049 --with-libtiff use libtiff (TIFF file format)
1050 --with-opengl use OpenGL (or Mesa)
1051 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1052 --with-regex enable support for wxRegEx class
1053 --with-zlib use zlib for LZW compression
1054 --with-odbc use the IODBC and wxODBC classes
1055 --with-expat enable XML support using expat parser
1056 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1057 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1058 --with-x use the X Window System
1059 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1060
1061 Some influential environment variables:
1062 CC C compiler command
1063 CFLAGS C compiler flags
1064 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1065 nonstandard directory <lib dir>
1066 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1067 headers in a nonstandard directory <include dir>
1068 CPP C preprocessor
1069 CXX C++ compiler command
1070 CXXFLAGS C++ compiler flags
1071 CXXCPP C++ preprocessor
1072
1073 Use these variables to override the choices made by `configure' or to help
1074 it to find libraries and programs with nonstandard names/locations.
1075
1076 Report bugs to <wx-dev@lists.wxwindows.org>.
1077 _ACEOF
1078 fi
1079
1080 if test "$ac_init_help" = "recursive"; then
1081 # If there are subdirs, report their specific --help.
1082 ac_popdir=`pwd`
1083 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1084 test -d $ac_dir || continue
1085 ac_builddir=.
1086
1087 if test "$ac_dir" != .; then
1088 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1089 # A "../" for each directory in $ac_dir_suffix.
1090 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1091 else
1092 ac_dir_suffix= ac_top_builddir=
1093 fi
1094
1095 case $srcdir in
1096 .) # No --srcdir option. We are building in place.
1097 ac_srcdir=.
1098 if test -z "$ac_top_builddir"; then
1099 ac_top_srcdir=.
1100 else
1101 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1102 fi ;;
1103 [\\/]* | ?:[\\/]* ) # Absolute path.
1104 ac_srcdir=$srcdir$ac_dir_suffix;
1105 ac_top_srcdir=$srcdir ;;
1106 *) # Relative path.
1107 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1108 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1109 esac
1110 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1111 # absolute.
1112 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1113 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1114 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1115 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1116
1117 cd $ac_dir
1118 # Check for guested configure; otherwise get Cygnus style configure.
1119 if test -f $ac_srcdir/configure.gnu; then
1120 echo
1121 $SHELL $ac_srcdir/configure.gnu --help=recursive
1122 elif test -f $ac_srcdir/configure; then
1123 echo
1124 $SHELL $ac_srcdir/configure --help=recursive
1125 elif test -f $ac_srcdir/configure.ac ||
1126 test -f $ac_srcdir/configure.in; then
1127 echo
1128 $ac_configure --help
1129 else
1130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 fi
1132 cd $ac_popdir
1133 done
1134 fi
1135
1136 test -n "$ac_init_help" && exit 0
1137 if $ac_init_version; then
1138 cat <<\_ACEOF
1139 wxWindows configure 2.5.0
1140 generated by GNU Autoconf 2.57
1141
1142 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1143 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1146 _ACEOF
1147 exit 0
1148 fi
1149 exec 5>config.log
1150 cat >&5 <<_ACEOF
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1153
1154 It was created by wxWindows $as_me 2.5.0, which was
1155 generated by GNU Autoconf 2.57. Invocation command line was
1156
1157 $ $0 $@
1158
1159 _ACEOF
1160 {
1161 cat <<_ASUNAME
1162 ## --------- ##
1163 ## Platform. ##
1164 ## --------- ##
1165
1166 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1167 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1168 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1169 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1170 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1171
1172 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1173 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1174
1175 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1176 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1177 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1178 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1179 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1180 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1181 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1182
1183 _ASUNAME
1184
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1186 for as_dir in $PATH
1187 do
1188 IFS=$as_save_IFS
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1191 done
1192
1193 } >&5
1194
1195 cat >&5 <<_ACEOF
1196
1197
1198 ## ----------- ##
1199 ## Core tests. ##
1200 ## ----------- ##
1201
1202 _ACEOF
1203
1204
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1210 ac_configure_args=
1211 ac_configure_args0=
1212 ac_configure_args1=
1213 ac_sep=
1214 ac_must_keep_next=false
1215 for ac_pass in 1 2
1216 do
1217 for ac_arg
1218 do
1219 case $ac_arg in
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1223 continue ;;
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1226 esac
1227 case $ac_pass in
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1229 2)
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1233 else
1234 case $ac_arg in
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1241 esac
1242 ;;
1243 -* ) ac_must_keep_next=true ;;
1244 esac
1245 fi
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1248 ac_sep=" "
1249 ;;
1250 esac
1251 done
1252 done
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1255
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log. We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close' the trap.
1261 trap 'exit_status=$?
1262 # Save into config.log some information that might help in debugging.
1263 {
1264 echo
1265
1266 cat <<\_ASBOX
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1270 _ASBOX
1271 echo
1272 # The following way of writing the cache mishandles newlines in values,
1273 {
1274 (set) 2>&1 |
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1276 *ac_space=\ *)
1277 sed -n \
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 ;;
1281 *)
1282 sed -n \
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1284 ;;
1285 esac;
1286 }
1287 echo
1288
1289 cat <<\_ASBOX
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1293 _ASBOX
1294 echo
1295 for ac_var in $ac_subst_vars
1296 do
1297 eval ac_val=$`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1299 done | sort
1300 echo
1301
1302 if test -n "$ac_subst_files"; then
1303 cat <<\_ASBOX
1304 ## ------------- ##
1305 ## Output files. ##
1306 ## ------------- ##
1307 _ASBOX
1308 echo
1309 for ac_var in $ac_subst_files
1310 do
1311 eval ac_val=$`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1313 done | sort
1314 echo
1315 fi
1316
1317 if test -s confdefs.h; then
1318 cat <<\_ASBOX
1319 ## ----------- ##
1320 ## confdefs.h. ##
1321 ## ----------- ##
1322 _ASBOX
1323 echo
1324 sed "/^$/d" confdefs.h | sort
1325 echo
1326 fi
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1330 } >&5
1331 rm -f core core.* *.core &&
1332 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1333 exit $exit_status
1334 ' 0
1335 for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 done
1338 ac_signal=0
1339
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1343 echo >confdefs.h
1344
1345 # Predefined preprocessor variables.
1346
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 _ACEOF
1350
1351
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 _ACEOF
1355
1356
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 _ACEOF
1360
1361
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 _ACEOF
1365
1366
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 _ACEOF
1370
1371
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1377 else
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1379 fi
1380 fi
1381 for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's/^/| /' "$ac_site_file" >&5
1386 . "$ac_site_file"
1387 fi
1388 done
1389
1390 if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1396 case $cache_file in
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1399 esac
1400 fi
1401 else
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1404 >$cache_file
1405 fi
1406
1407 # Check that the precious variables saved in the cache have kept the same
1408 # value.
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1417 set,)
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1421 ,set)
1422 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1425 ,);;
1426 *)
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1429 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431 echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433 echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1435 fi;;
1436 esac
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1439 case $ac_new_val in
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1443 esac
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1447 esac
1448 fi
1449 done
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1454 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1456 fi
1457
1458 ac_ext=c
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493 ac_aux_dir=
1494 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1495 if test -f $ac_dir/install-sh; then
1496 ac_aux_dir=$ac_dir
1497 ac_install_sh="$ac_aux_dir/install-sh -c"
1498 break
1499 elif test -f $ac_dir/install.sh; then
1500 ac_aux_dir=$ac_dir
1501 ac_install_sh="$ac_aux_dir/install.sh -c"
1502 break
1503 elif test -f $ac_dir/shtool; then
1504 ac_aux_dir=$ac_dir
1505 ac_install_sh="$ac_aux_dir/shtool install -c"
1506 break
1507 fi
1508 done
1509 if test -z "$ac_aux_dir"; then
1510 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1511 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1512 { (exit 1); exit 1; }; }
1513 fi
1514 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1515 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1516 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1517
1518 # Make sure we can run config.sub.
1519 $ac_config_sub sun4 >/dev/null 2>&1 ||
1520 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1521 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1522 { (exit 1); exit 1; }; }
1523
1524 echo "$as_me:$LINENO: checking build system type" >&5
1525 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1526 if test "${ac_cv_build+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 else
1529 ac_cv_build_alias=$build_alias
1530 test -z "$ac_cv_build_alias" &&
1531 ac_cv_build_alias=`$ac_config_guess`
1532 test -z "$ac_cv_build_alias" &&
1533 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1534 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1535 { (exit 1); exit 1; }; }
1536 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1540
1541 fi
1542 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1543 echo "${ECHO_T}$ac_cv_build" >&6
1544 build=$ac_cv_build
1545 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1546 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1547 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1548
1549
1550 echo "$as_me:$LINENO: checking host system type" >&5
1551 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1552 if test "${ac_cv_host+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 else
1555 ac_cv_host_alias=$host_alias
1556 test -z "$ac_cv_host_alias" &&
1557 ac_cv_host_alias=$ac_cv_build_alias
1558 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1562
1563 fi
1564 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1565 echo "${ECHO_T}$ac_cv_host" >&6
1566 host=$ac_cv_host
1567 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1568 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1569 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1570
1571
1572 echo "$as_me:$LINENO: checking target system type" >&5
1573 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1574 if test "${ac_cv_target+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 else
1577 ac_cv_target_alias=$target_alias
1578 test "x$ac_cv_target_alias" = "x" &&
1579 ac_cv_target_alias=$ac_cv_host_alias
1580 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1584
1585 fi
1586 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1587 echo "${ECHO_T}$ac_cv_target" >&6
1588 target=$ac_cv_target
1589 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1590 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1591 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1592
1593
1594 # The aliases save the names the user supplied, while $host etc.
1595 # will get canonicalized.
1596 test -n "$target_alias" &&
1597 test "$program_prefix$program_suffix$program_transform_name" = \
1598 NONENONEs,x,x, &&
1599 program_prefix=${target_alias}-
1600
1601
1602
1603 WX_MAJOR_VERSION_NUMBER=2
1604 WX_MINOR_VERSION_NUMBER=5
1605 WX_RELEASE_NUMBER=0
1606
1607 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1608 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1609
1610 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1611
1612 WX_CURRENT=0
1613 WX_REVISION=0
1614 WX_AGE=0
1615
1616
1617
1618 USE_UNIX=1
1619 USE_WIN32=0
1620 USE_DOS=0
1621 USE_BEOS=0
1622 USE_MAC=0
1623
1624 USE_AIX=
1625 USE_BSD= USE_DARWIN= USE_FREEBSD=
1626 USE_GNU= USE_HPUX=
1627 USE_LINUX=
1628 USE_NETBSD=
1629 USE_OPENBSD=
1630 USE_OSF= USE_SGI=
1631 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1632 USE_ULTRIX=
1633 USE_UNIXWARE=
1634
1635 USE_ALPHA=
1636
1637 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1638
1639 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1640
1641 DEFAULT_wxUSE_COCOA=0
1642 DEFAULT_wxUSE_GTK=0
1643 DEFAULT_wxUSE_MAC=0
1644 DEFAULT_wxUSE_MGL=0
1645 DEFAULT_wxUSE_MICROWIN=0
1646 DEFAULT_wxUSE_MOTIF=0
1647 DEFAULT_wxUSE_MSW=0
1648 DEFAULT_wxUSE_PM=0
1649 DEFAULT_wxUSE_X11=0
1650
1651 DEFAULT_DEFAULT_wxUSE_COCOA=0
1652 DEFAULT_DEFAULT_wxUSE_GTK=0
1653 DEFAULT_DEFAULT_wxUSE_MAC=0
1654 DEFAULT_DEFAULT_wxUSE_MGL=0
1655 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1657 DEFAULT_DEFAULT_wxUSE_MSW=0
1658 DEFAULT_DEFAULT_wxUSE_PM=0
1659 DEFAULT_DEFAULT_wxUSE_X11=0
1660
1661 PROGRAM_EXT=
1662 SO_SUFFIX=so
1663 SAMPLES_RPATH_FLAG=
1664
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 ;;
1894
1895 powerpc-*-darwin* )
1896 USE_BSD=1
1897 USE_DARWIN=1
1898 SO_SUFFIX=dylib
1899 cat >>confdefs.h <<\_ACEOF
1900 #define __BSD__ 1
1901 _ACEOF
1902
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __DARWIN__ 1
1905 _ACEOF
1906
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __POWERPC__ 1
1909 _ACEOF
1910
1911 cat >>confdefs.h <<\_ACEOF
1912 #define TARGET_CARBON 1
1913 _ACEOF
1914
1915 DEFAULT_DEFAULT_wxUSE_MAC=1
1916 ;;
1917
1918 *-*-beos* )
1919 USE_BEOS=1
1920 cat >>confdefs.h <<\_ACEOF
1921 #define __BEOS__ 1
1922 _ACEOF
1923
1924 ;;
1925
1926 *)
1927 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1928 echo "$as_me: error: unknown system type ${host}." >&2;}
1929 { (exit 1); exit 1; }; }
1930 esac
1931
1932
1933
1934
1935 wx_arg_cache_file="configarg.cache"
1936 echo "loading argument cache $wx_arg_cache_file"
1937 rm -f ${wx_arg_cache_file}.tmp
1938 touch ${wx_arg_cache_file}.tmp
1939 touch ${wx_arg_cache_file}
1940
1941
1942 DEBUG_CONFIGURE=0
1943 if test $DEBUG_CONFIGURE = 1; then
1944 DEFAULT_wxUSE_UNIVERSAL=no
1945 DEFAULT_wxUSE_STL=no
1946
1947 DEFAULT_wxUSE_NANOX=no
1948
1949 DEFAULT_wxUSE_THREADS=yes
1950
1951 DEFAULT_wxUSE_SHARED=yes
1952 DEFAULT_wxUSE_OPTIMISE=no
1953 DEFAULT_wxUSE_PROFILE=no
1954 DEFAULT_wxUSE_NO_DEPS=no
1955 DEFAULT_wxUSE_NO_RTTI=no
1956 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1957 DEFAULT_wxUSE_PERMISSIVE=no
1958 DEFAULT_wxUSE_DEBUG_FLAG=yes
1959 DEFAULT_wxUSE_DEBUG_INFO=yes
1960 DEFAULT_wxUSE_DEBUG_GDB=yes
1961 DEFAULT_wxUSE_MEM_TRACING=no
1962 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1963 DEFAULT_wxUSE_DMALLOC=no
1964 DEFAULT_wxUSE_APPLE_IEEE=no
1965
1966 DEFAULT_wxUSE_LOG=yes
1967 DEFAULT_wxUSE_LOGWINDOW=no
1968 DEFAULT_wxUSE_LOGGUI=no
1969 DEFAULT_wxUSE_LOGDIALOG=no
1970
1971 DEFAULT_wxUSE_GUI=yes
1972 DEFAULT_wxUSE_CONTROLS=no
1973
1974 DEFAULT_wxUSE_REGEX=no
1975 DEFAULT_wxUSE_XML=no
1976 DEFAULT_wxUSE_EXPAT=no
1977 DEFAULT_wxUSE_ZLIB=no
1978 DEFAULT_wxUSE_LIBPNG=no
1979 DEFAULT_wxUSE_LIBJPEG=no
1980 DEFAULT_wxUSE_LIBTIFF=no
1981 DEFAULT_wxUSE_ODBC=no
1982 DEFAULT_wxUSE_OPENGL=no
1983
1984 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1985 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1986 DEFAULT_wxUSE_STD_IOSTREAM=no
1987 DEFAULT_wxUSE_CMDLINE_PARSER=no
1988 DEFAULT_wxUSE_DATETIME=no
1989 DEFAULT_wxUSE_TIMER=no
1990 DEFAULT_wxUSE_STOPWATCH=no
1991 DEFAULT_wxUSE_FILE=no
1992 DEFAULT_wxUSE_FFILE=no
1993 DEFAULT_wxUSE_TEXTBUFFER=no
1994 DEFAULT_wxUSE_TEXTFILE=no
1995 DEFAULT_wxUSE_WAVE=no
1996 DEFAULT_wxUSE_INTL=no
1997 DEFAULT_wxUSE_CONFIG=no
1998 DEFAULT_wxUSE_FONTMAP=no
1999 DEFAULT_wxUSE_STREAMS=no
2000 DEFAULT_wxUSE_SOCKETS=no
2001 DEFAULT_wxUSE_OLE=no
2002 DEFAULT_wxUSE_DATAOBJ=no
2003 DEFAULT_wxUSE_DIALUP_MANAGER=no
2004 DEFAULT_wxUSE_JOYSTICK=no
2005 DEFAULT_wxUSE_DYNLIB_CLASS=no
2006 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2007 DEFAULT_wxUSE_LONGLONG=no
2008 DEFAULT_wxUSE_GEOMETRY=no
2009
2010 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2011 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2012 DEFAULT_wxUSE_POSTSCRIPT=no
2013
2014 DEFAULT_wxUSE_CLIPBOARD=no
2015 DEFAULT_wxUSE_TOOLTIPS=no
2016 DEFAULT_wxUSE_DRAG_AND_DROP=no
2017 DEFAULT_wxUSE_DRAGIMAGE=no
2018 DEFAULT_wxUSE_SPLINES=no
2019
2020 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2021 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2022 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2023
2024 DEFAULT_wxUSE_RESOURCES=no
2025 DEFAULT_wxUSE_CONSTRAINTS=no
2026 DEFAULT_wxUSE_IPC=no
2027 DEFAULT_wxUSE_HELP=no
2028 DEFAULT_wxUSE_MS_HTML_HELP=no
2029 DEFAULT_wxUSE_WXHTML_HELP=no
2030 DEFAULT_wxUSE_TREELAYOUT=no
2031 DEFAULT_wxUSE_METAFILE=no
2032 DEFAULT_wxUSE_MIMETYPE=no
2033 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2034 DEFAULT_wxUSE_PROTOCOL=no
2035 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2036 DEFAULT_wxUSE_PROTOCOL_FTP=no
2037 DEFAULT_wxUSE_PROTOCOL_FILE=no
2038 DEFAULT_wxUSE_URL=no
2039
2040 DEFAULT_wxUSE_COMMONDLGS=no
2041 DEFAULT_wxUSE_CHOICEDLG=no
2042 DEFAULT_wxUSE_COLOURDLG=no
2043 DEFAULT_wxUSE_DIRDLG=no
2044 DEFAULT_wxUSE_FILEDLG=no
2045 DEFAULT_wxUSE_FINDREPLDLG=no
2046 DEFAULT_wxUSE_FONTDLG=no
2047 DEFAULT_wxUSE_MSGDLG=no
2048 DEFAULT_wxUSE_NUMBERDLG=no
2049 DEFAULT_wxUSE_TEXTDLG=no
2050 DEFAULT_wxUSE_SPLASH=no
2051 DEFAULT_wxUSE_STARTUP_TIPS=no
2052 DEFAULT_wxUSE_PROGRESSDLG=no
2053 DEFAULT_wxUSE_WIZARDDLG=no
2054
2055 DEFAULT_wxUSE_MENUS=no
2056 DEFAULT_wxUSE_MINIFRAME=no
2057 DEFAULT_wxUSE_HTML=no
2058 DEFAULT_wxUSE_FILESYSTEM=no
2059 DEFAULT_wxUSE_FS_INET=no
2060 DEFAULT_wxUSE_FS_ZIP=no
2061 DEFAULT_wxUSE_BUSYINFO=no
2062 DEFAULT_wxUSE_ZIPSTREAM=no
2063 DEFAULT_wxUSE_VALIDATORS=no
2064
2065 DEFAULT_wxUSE_ACCEL=no
2066 DEFAULT_wxUSE_BUTTON=no
2067 DEFAULT_wxUSE_BMPBUTTON=no
2068 DEFAULT_wxUSE_CALCTRL=no
2069 DEFAULT_wxUSE_CARET=no
2070 DEFAULT_wxUSE_CHECKBOX=no
2071 DEFAULT_wxUSE_CHECKLST=no
2072 DEFAULT_wxUSE_CHOICE=no
2073 DEFAULT_wxUSE_COMBOBOX=no
2074 DEFAULT_wxUSE_DISPLAY=no
2075 DEFAULT_wxUSE_GAUGE=no
2076 DEFAULT_wxUSE_GRID=no
2077 DEFAULT_wxUSE_IMAGLIST=no
2078 DEFAULT_wxUSE_LISTBOX=no
2079 DEFAULT_wxUSE_LISTCTRL=no
2080 DEFAULT_wxUSE_NOTEBOOK=no
2081 DEFAULT_wxUSE_RADIOBOX=no
2082 DEFAULT_wxUSE_RADIOBTN=no
2083 DEFAULT_wxUSE_SASH=no
2084 DEFAULT_wxUSE_SCROLLBAR=no
2085 DEFAULT_wxUSE_SLIDER=no
2086 DEFAULT_wxUSE_SPINBTN=no
2087 DEFAULT_wxUSE_SPINCTRL=no
2088 DEFAULT_wxUSE_SPLITTER=no
2089 DEFAULT_wxUSE_STATBMP=no
2090 DEFAULT_wxUSE_STATBOX=no
2091 DEFAULT_wxUSE_STATLINE=no
2092 DEFAULT_wxUSE_STATTEXT=no
2093 DEFAULT_wxUSE_STATUSBAR=yes
2094 DEFAULT_wxUSE_TABDIALOG=no
2095 DEFAULT_wxUSE_TEXTCTRL=no
2096 DEFAULT_wxUSE_TOGGLEBTN=no
2097 DEFAULT_wxUSE_TOOLBAR=no
2098 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2099 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2100 DEFAULT_wxUSE_TREECTRL=no
2101 DEFAULT_wxUSE_POPUPWIN=no
2102 DEFAULT_wxUSE_TIPWINDOW=no
2103
2104 DEFAULT_wxUSE_UNICODE=no
2105 DEFAULT_wxUSE_UNICODE_MSLU=no
2106 DEFAULT_wxUSE_WCSRTOMBS=no
2107
2108 DEFAULT_wxUSE_PALETTE=no
2109 DEFAULT_wxUSE_IMAGE=no
2110 DEFAULT_wxUSE_GIF=no
2111 DEFAULT_wxUSE_PCX=no
2112 DEFAULT_wxUSE_PNM=no
2113 DEFAULT_wxUSE_IFF=no
2114 DEFAULT_wxUSE_XPM=no
2115 DEFAULT_wxUSE_ICO_CUR=no
2116 DEFAULT_wxUSE_ACCESSIBILITY=no
2117
2118 DEFAULT_wxUSE_MONOLITHIC=no
2119 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2120 else
2121 DEFAULT_wxUSE_UNIVERSAL=no
2122 DEFAULT_wxUSE_STL=no
2123
2124 DEFAULT_wxUSE_NANOX=no
2125
2126 DEFAULT_wxUSE_THREADS=yes
2127
2128 DEFAULT_wxUSE_SHARED=yes
2129 DEFAULT_wxUSE_OPTIMISE=yes
2130 DEFAULT_wxUSE_PROFILE=no
2131 DEFAULT_wxUSE_NO_DEPS=no
2132 DEFAULT_wxUSE_NO_RTTI=no
2133 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2134 DEFAULT_wxUSE_PERMISSIVE=no
2135 DEFAULT_wxUSE_DEBUG_FLAG=no
2136 DEFAULT_wxUSE_DEBUG_INFO=no
2137 DEFAULT_wxUSE_DEBUG_GDB=no
2138 DEFAULT_wxUSE_MEM_TRACING=no
2139 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2140 DEFAULT_wxUSE_DMALLOC=no
2141 DEFAULT_wxUSE_APPLE_IEEE=yes
2142
2143 DEFAULT_wxUSE_LOG=yes
2144 DEFAULT_wxUSE_LOGWINDOW=yes
2145 DEFAULT_wxUSE_LOGGUI=yes
2146 DEFAULT_wxUSE_LOGDIALOG=yes
2147
2148 DEFAULT_wxUSE_GUI=yes
2149
2150 DEFAULT_wxUSE_REGEX=yes
2151 DEFAULT_wxUSE_XML=yes
2152 DEFAULT_wxUSE_EXPAT=yes
2153 DEFAULT_wxUSE_ZLIB=yes
2154 DEFAULT_wxUSE_LIBPNG=yes
2155 DEFAULT_wxUSE_LIBJPEG=yes
2156 DEFAULT_wxUSE_LIBTIFF=yes
2157 DEFAULT_wxUSE_ODBC=no
2158 DEFAULT_wxUSE_OPENGL=no
2159
2160 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2161 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2162 DEFAULT_wxUSE_STD_IOSTREAM=no
2163 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2164 DEFAULT_wxUSE_DATETIME=yes
2165 DEFAULT_wxUSE_TIMER=yes
2166 DEFAULT_wxUSE_STOPWATCH=yes
2167 DEFAULT_wxUSE_FILE=yes
2168 DEFAULT_wxUSE_FFILE=yes
2169 DEFAULT_wxUSE_TEXTBUFFER=yes
2170 DEFAULT_wxUSE_TEXTFILE=yes
2171 DEFAULT_wxUSE_WAVE=no
2172 DEFAULT_wxUSE_INTL=yes
2173 DEFAULT_wxUSE_CONFIG=yes
2174 DEFAULT_wxUSE_FONTMAP=yes
2175 DEFAULT_wxUSE_STREAMS=yes
2176 DEFAULT_wxUSE_SOCKETS=yes
2177 DEFAULT_wxUSE_OLE=yes
2178 DEFAULT_wxUSE_DATAOBJ=yes
2179 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2180 DEFAULT_wxUSE_JOYSTICK=yes
2181 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2182 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2183 DEFAULT_wxUSE_LONGLONG=yes
2184 DEFAULT_wxUSE_GEOMETRY=yes
2185
2186 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2187 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2188 DEFAULT_wxUSE_POSTSCRIPT=yes
2189
2190 DEFAULT_wxUSE_CLIPBOARD=yes
2191 DEFAULT_wxUSE_TOOLTIPS=yes
2192 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2193 DEFAULT_wxUSE_DRAGIMAGE=yes
2194 DEFAULT_wxUSE_SPLINES=yes
2195
2196 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2197 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2198 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2199
2200 DEFAULT_wxUSE_RESOURCES=no
2201 DEFAULT_wxUSE_CONSTRAINTS=yes
2202 DEFAULT_wxUSE_IPC=yes
2203 DEFAULT_wxUSE_HELP=yes
2204 DEFAULT_wxUSE_MS_HTML_HELP=yes
2205 DEFAULT_wxUSE_WXHTML_HELP=yes
2206 DEFAULT_wxUSE_TREELAYOUT=yes
2207 DEFAULT_wxUSE_METAFILE=yes
2208 DEFAULT_wxUSE_MIMETYPE=yes
2209 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2210 DEFAULT_wxUSE_PROTOCOL=yes
2211 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2212 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2213 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2214 DEFAULT_wxUSE_URL=yes
2215
2216 DEFAULT_wxUSE_COMMONDLGS=yes
2217 DEFAULT_wxUSE_CHOICEDLG=yes
2218 DEFAULT_wxUSE_COLOURDLG=yes
2219 DEFAULT_wxUSE_DIRDLG=yes
2220 DEFAULT_wxUSE_FILEDLG=yes
2221 DEFAULT_wxUSE_FINDREPLDLG=yes
2222 DEFAULT_wxUSE_FONTDLG=yes
2223 DEFAULT_wxUSE_MSGDLG=yes
2224 DEFAULT_wxUSE_NUMBERDLG=yes
2225 DEFAULT_wxUSE_TEXTDLG=yes
2226 DEFAULT_wxUSE_SPLASH=yes
2227 DEFAULT_wxUSE_STARTUP_TIPS=yes
2228 DEFAULT_wxUSE_PROGRESSDLG=yes
2229 DEFAULT_wxUSE_WIZARDDLG=yes
2230
2231 DEFAULT_wxUSE_MENUS=yes
2232 DEFAULT_wxUSE_MINIFRAME=yes
2233 DEFAULT_wxUSE_HTML=yes
2234 DEFAULT_wxUSE_FILESYSTEM=yes
2235 DEFAULT_wxUSE_FS_INET=yes
2236 DEFAULT_wxUSE_FS_ZIP=yes
2237 DEFAULT_wxUSE_BUSYINFO=yes
2238 DEFAULT_wxUSE_ZIPSTREAM=yes
2239 DEFAULT_wxUSE_VALIDATORS=yes
2240
2241 DEFAULT_wxUSE_ACCEL=yes
2242 DEFAULT_wxUSE_BUTTON=yes
2243 DEFAULT_wxUSE_BMPBUTTON=yes
2244 DEFAULT_wxUSE_CALCTRL=yes
2245 DEFAULT_wxUSE_CARET=yes
2246 DEFAULT_wxUSE_CHECKBOX=yes
2247 DEFAULT_wxUSE_CHECKLST=yes
2248 DEFAULT_wxUSE_CHOICE=yes
2249 DEFAULT_wxUSE_COMBOBOX=yes
2250 DEFAULT_wxUSE_DISPLAY=no
2251 DEFAULT_wxUSE_GAUGE=yes
2252 DEFAULT_wxUSE_GRID=yes
2253 DEFAULT_wxUSE_IMAGLIST=yes
2254 DEFAULT_wxUSE_LISTBOX=yes
2255 DEFAULT_wxUSE_LISTCTRL=yes
2256 DEFAULT_wxUSE_NOTEBOOK=yes
2257 DEFAULT_wxUSE_RADIOBOX=yes
2258 DEFAULT_wxUSE_RADIOBTN=yes
2259 DEFAULT_wxUSE_SASH=yes
2260 DEFAULT_wxUSE_SCROLLBAR=yes
2261 DEFAULT_wxUSE_SLIDER=yes
2262 DEFAULT_wxUSE_SPINBTN=yes
2263 DEFAULT_wxUSE_SPINCTRL=yes
2264 DEFAULT_wxUSE_SPLITTER=yes
2265 DEFAULT_wxUSE_STATBMP=yes
2266 DEFAULT_wxUSE_STATBOX=yes
2267 DEFAULT_wxUSE_STATLINE=yes
2268 DEFAULT_wxUSE_STATTEXT=yes
2269 DEFAULT_wxUSE_STATUSBAR=yes
2270 DEFAULT_wxUSE_TABDIALOG=no
2271 DEFAULT_wxUSE_TEXTCTRL=yes
2272 DEFAULT_wxUSE_TOGGLEBTN=yes
2273 DEFAULT_wxUSE_TOOLBAR=yes
2274 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2275 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2276 DEFAULT_wxUSE_TREECTRL=yes
2277 DEFAULT_wxUSE_POPUPWIN=yes
2278 DEFAULT_wxUSE_TIPWINDOW=yes
2279
2280 DEFAULT_wxUSE_UNICODE=no
2281 DEFAULT_wxUSE_UNICODE_MSLU=yes
2282 DEFAULT_wxUSE_WCSRTOMBS=no
2283
2284 DEFAULT_wxUSE_PALETTE=yes
2285 DEFAULT_wxUSE_IMAGE=yes
2286 DEFAULT_wxUSE_GIF=yes
2287 DEFAULT_wxUSE_PCX=yes
2288 DEFAULT_wxUSE_IFF=no
2289 DEFAULT_wxUSE_PNM=yes
2290 DEFAULT_wxUSE_XPM=yes
2291 DEFAULT_wxUSE_ICO_CUR=yes
2292 DEFAULT_wxUSE_ACCESSIBILITY=no
2293
2294 DEFAULT_wxUSE_MONOLITHIC=no
2295 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2296 fi
2297
2298
2299
2300 for toolkit in `echo $ALL_TOOLKITS`; do
2301 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2302 if test "x$LINE" != "x" ; then
2303 has_toolkit_in_cache=1
2304 eval "DEFAULT_$LINE"
2305 eval "CACHE_$toolkit=1"
2306 fi
2307 done
2308
2309
2310
2311 enablestring=
2312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2313 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2314 no_cache=0
2315 # Check whether --enable-gui or --disable-gui was given.
2316 if test "${enable_gui+set}" = set; then
2317 enableval="$enable_gui"
2318
2319 if test "$enableval" = yes; then
2320 ac_cv_use_gui='wxUSE_GUI=yes'
2321 else
2322 ac_cv_use_gui='wxUSE_GUI=no'
2323 fi
2324
2325 else
2326
2327 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2328 if test "x$LINE" != x ; then
2329 eval "DEFAULT_$LINE"
2330 else
2331 no_cache=1
2332 fi
2333
2334 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2335
2336 fi;
2337
2338 eval "$ac_cv_use_gui"
2339 if test "$no_cache" != 1; then
2340 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2341 fi
2342
2343 if test "$wxUSE_GUI" = yes; then
2344 echo "$as_me:$LINENO: result: yes" >&5
2345 echo "${ECHO_T}yes" >&6
2346 else
2347 echo "$as_me:$LINENO: result: no" >&5
2348 echo "${ECHO_T}no" >&6
2349 fi
2350
2351
2352 enablestring=
2353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2354 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2355 no_cache=0
2356 # Check whether --enable-monolithic or --disable-monolithic was given.
2357 if test "${enable_monolithic+set}" = set; then
2358 enableval="$enable_monolithic"
2359
2360 if test "$enableval" = yes; then
2361 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2362 else
2363 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2364 fi
2365
2366 else
2367
2368 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2369 if test "x$LINE" != x ; then
2370 eval "DEFAULT_$LINE"
2371 else
2372 no_cache=1
2373 fi
2374
2375 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2376
2377 fi;
2378
2379 eval "$ac_cv_use_monolithic"
2380 if test "$no_cache" != 1; then
2381 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2382 fi
2383
2384 if test "$wxUSE_MONOLITHIC" = yes; then
2385 echo "$as_me:$LINENO: result: yes" >&5
2386 echo "${ECHO_T}yes" >&6
2387 else
2388 echo "$as_me:$LINENO: result: no" >&5
2389 echo "${ECHO_T}no" >&6
2390 fi
2391
2392
2393 if test "$wxUSE_GUI" = "yes"; then
2394
2395
2396 enablestring=
2397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2398 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2399 no_cache=0
2400 # Check whether --enable-universal or --disable-universal was given.
2401 if test "${enable_universal+set}" = set; then
2402 enableval="$enable_universal"
2403
2404 if test "$enableval" = yes; then
2405 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2406 else
2407 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2408 fi
2409
2410 else
2411
2412 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2413 if test "x$LINE" != x ; then
2414 eval "DEFAULT_$LINE"
2415 else
2416 no_cache=1
2417 fi
2418
2419 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2420
2421 fi;
2422
2423 eval "$ac_cv_use_universal"
2424 if test "$no_cache" != 1; then
2425 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2426 fi
2427
2428 if test "$wxUSE_UNIVERSAL" = yes; then
2429 echo "$as_me:$LINENO: result: yes" >&5
2430 echo "${ECHO_T}yes" >&6
2431 else
2432 echo "$as_me:$LINENO: result: no" >&5
2433 echo "${ECHO_T}no" >&6
2434 fi
2435
2436
2437 # Check whether --with-gtk or --without-gtk was given.
2438 if test "${with_gtk+set}" = set; then
2439 withval="$with_gtk"
2440 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2441 fi;
2442
2443 # Check whether --with-motif or --without-motif was given.
2444 if test "${with_motif+set}" = set; then
2445 withval="$with_motif"
2446 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2447 fi;
2448
2449 # Check whether --with-mac or --without-mac was given.
2450 if test "${with_mac+set}" = set; then
2451 withval="$with_mac"
2452 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2453 fi;
2454
2455 # Check whether --with-cocoa or --without-cocoa was given.
2456 if test "${with_cocoa+set}" = set; then
2457 withval="$with_cocoa"
2458 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2459 fi;
2460
2461 # Check whether --with-wine or --without-wine was given.
2462 if test "${with_wine+set}" = set; then
2463 withval="$with_wine"
2464 wxUSE_WINE="$withval" CACHE_WINE=1
2465 fi;
2466
2467 # Check whether --with-msw or --without-msw was given.
2468 if test "${with_msw+set}" = set; then
2469 withval="$with_msw"
2470 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2471 fi;
2472
2473 # Check whether --with-pm or --without-pm was given.
2474 if test "${with_pm+set}" = set; then
2475 withval="$with_pm"
2476 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2477 fi;
2478
2479 # Check whether --with-mgl or --without-mgl was given.
2480 if test "${with_mgl+set}" = set; then
2481 withval="$with_mgl"
2482 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2483 fi;
2484
2485 # Check whether --with-microwin or --without-microwin was given.
2486 if test "${with_microwin+set}" = set; then
2487 withval="$with_microwin"
2488 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2489 fi;
2490
2491 # Check whether --with-x11 or --without-x11 was given.
2492 if test "${with_x11+set}" = set; then
2493 withval="$with_x11"
2494 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2495 fi;
2496
2497 enablestring=
2498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2499 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2500 no_cache=0
2501 # Check whether --enable-nanox or --disable-nanox was given.
2502 if test "${enable_nanox+set}" = set; then
2503 enableval="$enable_nanox"
2504
2505 if test "$enableval" = yes; then
2506 ac_cv_use_nanox='wxUSE_NANOX=yes'
2507 else
2508 ac_cv_use_nanox='wxUSE_NANOX=no'
2509 fi
2510
2511 else
2512
2513 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2514 if test "x$LINE" != x ; then
2515 eval "DEFAULT_$LINE"
2516 else
2517 no_cache=1
2518 fi
2519
2520 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2521
2522 fi;
2523
2524 eval "$ac_cv_use_nanox"
2525 if test "$no_cache" != 1; then
2526 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2527 fi
2528
2529 if test "$wxUSE_NANOX" = yes; then
2530 echo "$as_me:$LINENO: result: yes" >&5
2531 echo "${ECHO_T}yes" >&6
2532 else
2533 echo "$as_me:$LINENO: result: no" >&5
2534 echo "${ECHO_T}no" >&6
2535 fi
2536
2537
2538
2539 enablestring=
2540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2541 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2542 no_cache=0
2543 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2544 if test "${enable_gtk2+set}" = set; then
2545 enableval="$enable_gtk2"
2546
2547 if test "$enableval" = yes; then
2548 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2549 else
2550 ac_cv_use_gtk2='wxUSE_GTK2=no'
2551 fi
2552
2553 else
2554
2555 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2556 if test "x$LINE" != x ; then
2557 eval "DEFAULT_$LINE"
2558 else
2559 no_cache=1
2560 fi
2561
2562 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2563
2564 fi;
2565
2566 eval "$ac_cv_use_gtk2"
2567 if test "$no_cache" != 1; then
2568 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2569 fi
2570
2571 if test "$wxUSE_GTK2" = yes; then
2572 echo "$as_me:$LINENO: result: yes" >&5
2573 echo "${ECHO_T}yes" >&6
2574 else
2575 echo "$as_me:$LINENO: result: no" >&5
2576 echo "${ECHO_T}no" >&6
2577 fi
2578
2579
2580
2581 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2582 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2583 no_cache=0
2584
2585 # Check whether --with-libpng or --without-libpng was given.
2586 if test "${with_libpng+set}" = set; then
2587 withval="$with_libpng"
2588
2589 if test "$withval" = yes; then
2590 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2591 elif test "$withval" = no; then
2592 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2593 elif test "$withval" = sys; then
2594 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2595 elif test "$withval" = builtin; then
2596 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2597 else
2598 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2599 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2600 { (exit 1); exit 1; }; }
2601 fi
2602
2603 else
2604
2605 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2606 if test "x$LINE" != x ; then
2607 eval "DEFAULT_$LINE"
2608 else
2609 no_cache=1
2610 fi
2611
2612 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2613
2614 fi;
2615
2616 eval "$ac_cv_use_libpng"
2617 if test "$no_cache" != 1; then
2618 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2619 fi
2620
2621 if test "$wxUSE_LIBPNG" = yes; then
2622 echo "$as_me:$LINENO: result: yes" >&5
2623 echo "${ECHO_T}yes" >&6
2624 elif test "$wxUSE_LIBPNG" = no; then
2625 echo "$as_me:$LINENO: result: no" >&5
2626 echo "${ECHO_T}no" >&6
2627 elif test "$wxUSE_LIBPNG" = sys; then
2628 echo "$as_me:$LINENO: result: system version" >&5
2629 echo "${ECHO_T}system version" >&6
2630 elif test "$wxUSE_LIBPNG" = builtin; then
2631 echo "$as_me:$LINENO: result: builtin version" >&5
2632 echo "${ECHO_T}builtin version" >&6
2633 else
2634 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2635 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2636 { (exit 1); exit 1; }; }
2637 fi
2638
2639
2640 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2641 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2642 no_cache=0
2643
2644 # Check whether --with-libjpeg or --without-libjpeg was given.
2645 if test "${with_libjpeg+set}" = set; then
2646 withval="$with_libjpeg"
2647
2648 if test "$withval" = yes; then
2649 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2650 elif test "$withval" = no; then
2651 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2652 elif test "$withval" = sys; then
2653 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2654 elif test "$withval" = builtin; then
2655 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2656 else
2657 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2658 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2659 { (exit 1); exit 1; }; }
2660 fi
2661
2662 else
2663
2664 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x ; then
2666 eval "DEFAULT_$LINE"
2667 else
2668 no_cache=1
2669 fi
2670
2671 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2672
2673 fi;
2674
2675 eval "$ac_cv_use_libjpeg"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2678 fi
2679
2680 if test "$wxUSE_LIBJPEG" = yes; then
2681 echo "$as_me:$LINENO: result: yes" >&5
2682 echo "${ECHO_T}yes" >&6
2683 elif test "$wxUSE_LIBJPEG" = no; then
2684 echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6
2686 elif test "$wxUSE_LIBJPEG" = sys; then
2687 echo "$as_me:$LINENO: result: system version" >&5
2688 echo "${ECHO_T}system version" >&6
2689 elif test "$wxUSE_LIBJPEG" = builtin; then
2690 echo "$as_me:$LINENO: result: builtin version" >&5
2691 echo "${ECHO_T}builtin version" >&6
2692 else
2693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2694 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2695 { (exit 1); exit 1; }; }
2696 fi
2697
2698
2699 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2700 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2701 no_cache=0
2702
2703 # Check whether --with-libtiff or --without-libtiff was given.
2704 if test "${with_libtiff+set}" = set; then
2705 withval="$with_libtiff"
2706
2707 if test "$withval" = yes; then
2708 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2709 elif test "$withval" = no; then
2710 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2711 elif test "$withval" = sys; then
2712 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2713 elif test "$withval" = builtin; then
2714 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2715 else
2716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2717 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2718 { (exit 1); exit 1; }; }
2719 fi
2720
2721 else
2722
2723 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2724 if test "x$LINE" != x ; then
2725 eval "DEFAULT_$LINE"
2726 else
2727 no_cache=1
2728 fi
2729
2730 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2731
2732 fi;
2733
2734 eval "$ac_cv_use_libtiff"
2735 if test "$no_cache" != 1; then
2736 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2737 fi
2738
2739 if test "$wxUSE_LIBTIFF" = yes; then
2740 echo "$as_me:$LINENO: result: yes" >&5
2741 echo "${ECHO_T}yes" >&6
2742 elif test "$wxUSE_LIBTIFF" = no; then
2743 echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6
2745 elif test "$wxUSE_LIBTIFF" = sys; then
2746 echo "$as_me:$LINENO: result: system version" >&5
2747 echo "${ECHO_T}system version" >&6
2748 elif test "$wxUSE_LIBTIFF" = builtin; then
2749 echo "$as_me:$LINENO: result: builtin version" >&5
2750 echo "${ECHO_T}builtin version" >&6
2751 else
2752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2753 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2754 { (exit 1); exit 1; }; }
2755 fi
2756
2757
2758 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2759 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2760 no_cache=0
2761
2762 # Check whether --with-opengl or --without-opengl was given.
2763 if test "${with_opengl+set}" = set; then
2764 withval="$with_opengl"
2765
2766 if test "$withval" = yes; then
2767 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2768 else
2769 ac_cv_use_opengl='wxUSE_OPENGL=no'
2770 fi
2771
2772 else
2773
2774 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2775 if test "x$LINE" != x ; then
2776 eval "DEFAULT_$LINE"
2777 else
2778 no_cache=1
2779 fi
2780
2781 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2782
2783 fi;
2784
2785 eval "$ac_cv_use_opengl"
2786 if test "$no_cache" != 1; then
2787 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2788 fi
2789
2790 if test "$wxUSE_OPENGL" = yes; then
2791 echo "$as_me:$LINENO: result: yes" >&5
2792 echo "${ECHO_T}yes" >&6
2793 else
2794 echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6
2796 fi
2797
2798
2799 fi
2800
2801
2802 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2803 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2804 no_cache=0
2805
2806 # Check whether --with-dmalloc or --without-dmalloc was given.
2807 if test "${with_dmalloc+set}" = set; then
2808 withval="$with_dmalloc"
2809
2810 if test "$withval" = yes; then
2811 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2812 else
2813 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2814 fi
2815
2816 else
2817
2818 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x ; then
2820 eval "DEFAULT_$LINE"
2821 else
2822 no_cache=1
2823 fi
2824
2825 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2826
2827 fi;
2828
2829 eval "$ac_cv_use_dmalloc"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2832 fi
2833
2834 if test "$wxUSE_DMALLOC" = yes; then
2835 echo "$as_me:$LINENO: result: yes" >&5
2836 echo "${ECHO_T}yes" >&6
2837 else
2838 echo "$as_me:$LINENO: result: no" >&5
2839 echo "${ECHO_T}no" >&6
2840 fi
2841
2842
2843 echo "$as_me:$LINENO: checking for --with-regex" >&5
2844 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2845 no_cache=0
2846
2847 # Check whether --with-regex or --without-regex was given.
2848 if test "${with_regex+set}" = set; then
2849 withval="$with_regex"
2850
2851 if test "$withval" = yes; then
2852 ac_cv_use_regex='wxUSE_REGEX=yes'
2853 elif test "$withval" = no; then
2854 ac_cv_use_regex='wxUSE_REGEX=no'
2855 elif test "$withval" = sys; then
2856 ac_cv_use_regex='wxUSE_REGEX=sys'
2857 elif test "$withval" = builtin; then
2858 ac_cv_use_regex='wxUSE_REGEX=builtin'
2859 else
2860 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2861 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2862 { (exit 1); exit 1; }; }
2863 fi
2864
2865 else
2866
2867 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2868 if test "x$LINE" != x ; then
2869 eval "DEFAULT_$LINE"
2870 else
2871 no_cache=1
2872 fi
2873
2874 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2875
2876 fi;
2877
2878 eval "$ac_cv_use_regex"
2879 if test "$no_cache" != 1; then
2880 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2881 fi
2882
2883 if test "$wxUSE_REGEX" = yes; then
2884 echo "$as_me:$LINENO: result: yes" >&5
2885 echo "${ECHO_T}yes" >&6
2886 elif test "$wxUSE_REGEX" = no; then
2887 echo "$as_me:$LINENO: result: no" >&5
2888 echo "${ECHO_T}no" >&6
2889 elif test "$wxUSE_REGEX" = sys; then
2890 echo "$as_me:$LINENO: result: system version" >&5
2891 echo "${ECHO_T}system version" >&6
2892 elif test "$wxUSE_REGEX" = builtin; then
2893 echo "$as_me:$LINENO: result: builtin version" >&5
2894 echo "${ECHO_T}builtin version" >&6
2895 else
2896 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2897 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2898 { (exit 1); exit 1; }; }
2899 fi
2900
2901
2902 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2903 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2904 no_cache=0
2905
2906 # Check whether --with-zlib or --without-zlib was given.
2907 if test "${with_zlib+set}" = set; then
2908 withval="$with_zlib"
2909
2910 if test "$withval" = yes; then
2911 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2912 elif test "$withval" = no; then
2913 ac_cv_use_zlib='wxUSE_ZLIB=no'
2914 elif test "$withval" = sys; then
2915 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2916 elif test "$withval" = builtin; then
2917 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2918 else
2919 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2920 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2921 { (exit 1); exit 1; }; }
2922 fi
2923
2924 else
2925
2926 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2927 if test "x$LINE" != x ; then
2928 eval "DEFAULT_$LINE"
2929 else
2930 no_cache=1
2931 fi
2932
2933 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2934
2935 fi;
2936
2937 eval "$ac_cv_use_zlib"
2938 if test "$no_cache" != 1; then
2939 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2940 fi
2941
2942 if test "$wxUSE_ZLIB" = yes; then
2943 echo "$as_me:$LINENO: result: yes" >&5
2944 echo "${ECHO_T}yes" >&6
2945 elif test "$wxUSE_ZLIB" = no; then
2946 echo "$as_me:$LINENO: result: no" >&5
2947 echo "${ECHO_T}no" >&6
2948 elif test "$wxUSE_ZLIB" = sys; then
2949 echo "$as_me:$LINENO: result: system version" >&5
2950 echo "${ECHO_T}system version" >&6
2951 elif test "$wxUSE_ZLIB" = builtin; then
2952 echo "$as_me:$LINENO: result: builtin version" >&5
2953 echo "${ECHO_T}builtin version" >&6
2954 else
2955 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2956 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2957 { (exit 1); exit 1; }; }
2958 fi
2959
2960
2961 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2962 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2963 no_cache=0
2964
2965 # Check whether --with-odbc or --without-odbc was given.
2966 if test "${with_odbc+set}" = set; then
2967 withval="$with_odbc"
2968
2969 if test "$withval" = yes; then
2970 ac_cv_use_odbc='wxUSE_ODBC=yes'
2971 elif test "$withval" = no; then
2972 ac_cv_use_odbc='wxUSE_ODBC=no'
2973 elif test "$withval" = sys; then
2974 ac_cv_use_odbc='wxUSE_ODBC=sys'
2975 elif test "$withval" = builtin; then
2976 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2977 else
2978 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2979 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2980 { (exit 1); exit 1; }; }
2981 fi
2982
2983 else
2984
2985 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2986 if test "x$LINE" != x ; then
2987 eval "DEFAULT_$LINE"
2988 else
2989 no_cache=1
2990 fi
2991
2992 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2993
2994 fi;
2995
2996 eval "$ac_cv_use_odbc"
2997 if test "$no_cache" != 1; then
2998 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2999 fi
3000
3001 if test "$wxUSE_ODBC" = yes; then
3002 echo "$as_me:$LINENO: result: yes" >&5
3003 echo "${ECHO_T}yes" >&6
3004 elif test "$wxUSE_ODBC" = no; then
3005 echo "$as_me:$LINENO: result: no" >&5
3006 echo "${ECHO_T}no" >&6
3007 elif test "$wxUSE_ODBC" = sys; then
3008 echo "$as_me:$LINENO: result: system version" >&5
3009 echo "${ECHO_T}system version" >&6
3010 elif test "$wxUSE_ODBC" = builtin; then
3011 echo "$as_me:$LINENO: result: builtin version" >&5
3012 echo "${ECHO_T}builtin version" >&6
3013 else
3014 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3015 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3016 { (exit 1); exit 1; }; }
3017 fi
3018
3019
3020 echo "$as_me:$LINENO: checking for --with-expat" >&5
3021 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3022 no_cache=0
3023
3024 # Check whether --with-expat or --without-expat was given.
3025 if test "${with_expat+set}" = set; then
3026 withval="$with_expat"
3027
3028 if test "$withval" = yes; then
3029 ac_cv_use_expat='wxUSE_EXPAT=yes'
3030 elif test "$withval" = no; then
3031 ac_cv_use_expat='wxUSE_EXPAT=no'
3032 elif test "$withval" = sys; then
3033 ac_cv_use_expat='wxUSE_EXPAT=sys'
3034 elif test "$withval" = builtin; then
3035 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3036 else
3037 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3038 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3039 { (exit 1); exit 1; }; }
3040 fi
3041
3042 else
3043
3044 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3045 if test "x$LINE" != x ; then
3046 eval "DEFAULT_$LINE"
3047 else
3048 no_cache=1
3049 fi
3050
3051 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3052
3053 fi;
3054
3055 eval "$ac_cv_use_expat"
3056 if test "$no_cache" != 1; then
3057 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3058 fi
3059
3060 if test "$wxUSE_EXPAT" = yes; then
3061 echo "$as_me:$LINENO: result: yes" >&5
3062 echo "${ECHO_T}yes" >&6
3063 elif test "$wxUSE_EXPAT" = no; then
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3066 elif test "$wxUSE_EXPAT" = sys; then
3067 echo "$as_me:$LINENO: result: system version" >&5
3068 echo "${ECHO_T}system version" >&6
3069 elif test "$wxUSE_EXPAT" = builtin; then
3070 echo "$as_me:$LINENO: result: builtin version" >&5
3071 echo "${ECHO_T}builtin version" >&6
3072 else
3073 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3074 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3075 { (exit 1); exit 1; }; }
3076 fi
3077
3078
3079
3080
3081 enablestring=
3082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3083 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3084 no_cache=0
3085 # Check whether --enable-shared or --disable-shared was given.
3086 if test "${enable_shared+set}" = set; then
3087 enableval="$enable_shared"
3088
3089 if test "$enableval" = yes; then
3090 ac_cv_use_shared='wxUSE_SHARED=yes'
3091 else
3092 ac_cv_use_shared='wxUSE_SHARED=no'
3093 fi
3094
3095 else
3096
3097 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x ; then
3099 eval "DEFAULT_$LINE"
3100 else
3101 no_cache=1
3102 fi
3103
3104 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3105
3106 fi;
3107
3108 eval "$ac_cv_use_shared"
3109 if test "$no_cache" != 1; then
3110 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3111 fi
3112
3113 if test "$wxUSE_SHARED" = yes; then
3114 echo "$as_me:$LINENO: result: yes" >&5
3115 echo "${ECHO_T}yes" >&6
3116 else
3117 echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6
3119 fi
3120
3121
3122 enablestring=
3123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3124 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3125 no_cache=0
3126 # Check whether --enable-optimise or --disable-optimise was given.
3127 if test "${enable_optimise+set}" = set; then
3128 enableval="$enable_optimise"
3129
3130 if test "$enableval" = yes; then
3131 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3132 else
3133 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3134 fi
3135
3136 else
3137
3138 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x ; then
3140 eval "DEFAULT_$LINE"
3141 else
3142 no_cache=1
3143 fi
3144
3145 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3146
3147 fi;
3148
3149 eval "$ac_cv_use_optimise"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3152 fi
3153
3154 if test "$wxUSE_OPTIMISE" = yes; then
3155 echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6
3157 else
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3160 fi
3161
3162
3163 enablestring=
3164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3165 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3166 no_cache=0
3167 # Check whether --enable-debug or --disable-debug was given.
3168 if test "${enable_debug+set}" = set; then
3169 enableval="$enable_debug"
3170
3171 if test "$enableval" = yes; then
3172 ac_cv_use_debug='wxUSE_DEBUG=yes'
3173 else
3174 ac_cv_use_debug='wxUSE_DEBUG=no'
3175 fi
3176
3177 else
3178
3179 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3180 if test "x$LINE" != x ; then
3181 eval "DEFAULT_$LINE"
3182 else
3183 no_cache=1
3184 fi
3185
3186 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3187
3188 fi;
3189
3190 eval "$ac_cv_use_debug"
3191 if test "$no_cache" != 1; then
3192 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3193 fi
3194
3195 if test "$wxUSE_DEBUG" = yes; then
3196 echo "$as_me:$LINENO: result: yes" >&5
3197 echo "${ECHO_T}yes" >&6
3198 else
3199 echo "$as_me:$LINENO: result: no" >&5
3200 echo "${ECHO_T}no" >&6
3201 fi
3202
3203
3204 enablestring=
3205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3206 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3207 no_cache=0
3208 # Check whether --enable-stl or --disable-stl was given.
3209 if test "${enable_stl+set}" = set; then
3210 enableval="$enable_stl"
3211
3212 if test "$enableval" = yes; then
3213 ac_cv_use_stl='wxUSE_STL=yes'
3214 else
3215 ac_cv_use_stl='wxUSE_STL=no'
3216 fi
3217
3218 else
3219
3220 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3221 if test "x$LINE" != x ; then
3222 eval "DEFAULT_$LINE"
3223 else
3224 no_cache=1
3225 fi
3226
3227 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3228
3229 fi;
3230
3231 eval "$ac_cv_use_stl"
3232 if test "$no_cache" != 1; then
3233 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3234 fi
3235
3236 if test "$wxUSE_STL" = yes; then
3237 echo "$as_me:$LINENO: result: yes" >&5
3238 echo "${ECHO_T}yes" >&6
3239 else
3240 echo "$as_me:$LINENO: result: no" >&5
3241 echo "${ECHO_T}no" >&6
3242 fi
3243
3244
3245 if test "$wxUSE_DEBUG" = "yes"; then
3246 DEFAULT_wxUSE_DEBUG_FLAG=yes
3247 DEFAULT_wxUSE_DEBUG_INFO=yes
3248 BUILD=debug
3249 elif test "$wxUSE_DEBUG" = "no"; then
3250 DEFAULT_wxUSE_DEBUG_FLAG=no
3251 DEFAULT_wxUSE_DEBUG_INFO=no
3252 BUILD=release
3253 fi
3254
3255
3256 enablestring=
3257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3259 no_cache=0
3260 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3261 if test "${enable_debug_flag+set}" = set; then
3262 enableval="$enable_debug_flag"
3263
3264 if test "$enableval" = yes; then
3265 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3266 else
3267 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3268 fi
3269
3270 else
3271
3272 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3273 if test "x$LINE" != x ; then
3274 eval "DEFAULT_$LINE"
3275 else
3276 no_cache=1
3277 fi
3278
3279 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3280
3281 fi;
3282
3283 eval "$ac_cv_use_debug_flag"
3284 if test "$no_cache" != 1; then
3285 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3286 fi
3287
3288 if test "$wxUSE_DEBUG_FLAG" = yes; then
3289 echo "$as_me:$LINENO: result: yes" >&5
3290 echo "${ECHO_T}yes" >&6
3291 else
3292 echo "$as_me:$LINENO: result: no" >&5
3293 echo "${ECHO_T}no" >&6
3294 fi
3295
3296
3297 enablestring=
3298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3299 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3300 no_cache=0
3301 # Check whether --enable-debug_info or --disable-debug_info was given.
3302 if test "${enable_debug_info+set}" = set; then
3303 enableval="$enable_debug_info"
3304
3305 if test "$enableval" = yes; then
3306 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3307 else
3308 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3309 fi
3310
3311 else
3312
3313 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3314 if test "x$LINE" != x ; then
3315 eval "DEFAULT_$LINE"
3316 else
3317 no_cache=1
3318 fi
3319
3320 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3321
3322 fi;
3323
3324 eval "$ac_cv_use_debug_info"
3325 if test "$no_cache" != 1; then
3326 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3327 fi
3328
3329 if test "$wxUSE_DEBUG_INFO" = yes; then
3330 echo "$as_me:$LINENO: result: yes" >&5
3331 echo "${ECHO_T}yes" >&6
3332 else
3333 echo "$as_me:$LINENO: result: no" >&5
3334 echo "${ECHO_T}no" >&6
3335 fi
3336
3337
3338 enablestring=
3339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3340 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3341 no_cache=0
3342 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3343 if test "${enable_debug_gdb+set}" = set; then
3344 enableval="$enable_debug_gdb"
3345
3346 if test "$enableval" = yes; then
3347 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3348 else
3349 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3350 fi
3351
3352 else
3353
3354 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3357 else
3358 no_cache=1
3359 fi
3360
3361 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3362
3363 fi;
3364
3365 eval "$ac_cv_use_debug_gdb"
3366 if test "$no_cache" != 1; then
3367 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3368 fi
3369
3370 if test "$wxUSE_DEBUG_GDB" = yes; then
3371 echo "$as_me:$LINENO: result: yes" >&5
3372 echo "${ECHO_T}yes" >&6
3373 else
3374 echo "$as_me:$LINENO: result: no" >&5
3375 echo "${ECHO_T}no" >&6
3376 fi
3377
3378
3379 enablestring=
3380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3381 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3382 no_cache=0
3383 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3384 if test "${enable_debug_cntxt+set}" = set; then
3385 enableval="$enable_debug_cntxt"
3386
3387 if test "$enableval" = yes; then
3388 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3389 else
3390 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3391 fi
3392
3393 else
3394
3395 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3396 if test "x$LINE" != x ; then
3397 eval "DEFAULT_$LINE"
3398 else
3399 no_cache=1
3400 fi
3401
3402 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3403
3404 fi;
3405
3406 eval "$ac_cv_use_debug_cntxt"
3407 if test "$no_cache" != 1; then
3408 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3409 fi
3410
3411 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3412 echo "$as_me:$LINENO: result: yes" >&5
3413 echo "${ECHO_T}yes" >&6
3414 else
3415 echo "$as_me:$LINENO: result: no" >&5
3416 echo "${ECHO_T}no" >&6
3417 fi
3418
3419
3420 enablestring=
3421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3422 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3423 no_cache=0
3424 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3425 if test "${enable_mem_tracing+set}" = set; then
3426 enableval="$enable_mem_tracing"
3427
3428 if test "$enableval" = yes; then
3429 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3430 else
3431 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3432 fi
3433
3434 else
3435
3436 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3437 if test "x$LINE" != x ; then
3438 eval "DEFAULT_$LINE"
3439 else
3440 no_cache=1
3441 fi
3442
3443 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3444
3445 fi;
3446
3447 eval "$ac_cv_use_mem_tracing"
3448 if test "$no_cache" != 1; then
3449 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3450 fi
3451
3452 if test "$wxUSE_MEM_TRACING" = yes; then
3453 echo "$as_me:$LINENO: result: yes" >&5
3454 echo "${ECHO_T}yes" >&6
3455 else
3456 echo "$as_me:$LINENO: result: no" >&5
3457 echo "${ECHO_T}no" >&6
3458 fi
3459
3460
3461 enablestring=
3462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3463 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3464 no_cache=0
3465 # Check whether --enable-profile or --disable-profile was given.
3466 if test "${enable_profile+set}" = set; then
3467 enableval="$enable_profile"
3468
3469 if test "$enableval" = yes; then
3470 ac_cv_use_profile='wxUSE_PROFILE=yes'
3471 else
3472 ac_cv_use_profile='wxUSE_PROFILE=no'
3473 fi
3474
3475 else
3476
3477 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3478 if test "x$LINE" != x ; then
3479 eval "DEFAULT_$LINE"
3480 else
3481 no_cache=1
3482 fi
3483
3484 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3485
3486 fi;
3487
3488 eval "$ac_cv_use_profile"
3489 if test "$no_cache" != 1; then
3490 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3491 fi
3492
3493 if test "$wxUSE_PROFILE" = yes; then
3494 echo "$as_me:$LINENO: result: yes" >&5
3495 echo "${ECHO_T}yes" >&6
3496 else
3497 echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6
3499 fi
3500
3501
3502 enablestring=
3503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3504 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3505 no_cache=0
3506 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3507 if test "${enable_no_rtti+set}" = set; then
3508 enableval="$enable_no_rtti"
3509
3510 if test "$enableval" = yes; then
3511 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3512 else
3513 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3514 fi
3515
3516 else
3517
3518 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x ; then
3520 eval "DEFAULT_$LINE"
3521 else
3522 no_cache=1
3523 fi
3524
3525 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3526
3527 fi;
3528
3529 eval "$ac_cv_use_no_rtti"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3532 fi
3533
3534 if test "$wxUSE_NO_RTTI" = yes; then
3535 echo "$as_me:$LINENO: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6
3537 else
3538 echo "$as_me:$LINENO: result: no" >&5
3539 echo "${ECHO_T}no" >&6
3540 fi
3541
3542
3543 enablestring=
3544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3545 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3546 no_cache=0
3547 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3548 if test "${enable_no_exceptions+set}" = set; then
3549 enableval="$enable_no_exceptions"
3550
3551 if test "$enableval" = yes; then
3552 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3553 else
3554 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3555 fi
3556
3557 else
3558
3559 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3560 if test "x$LINE" != x ; then
3561 eval "DEFAULT_$LINE"
3562 else
3563 no_cache=1
3564 fi
3565
3566 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3567
3568 fi;
3569
3570 eval "$ac_cv_use_no_exceptions"
3571 if test "$no_cache" != 1; then
3572 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3573 fi
3574
3575 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3576 echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6
3578 else
3579 echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6
3581 fi
3582
3583
3584 enablestring=
3585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3586 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3587 no_cache=0
3588 # Check whether --enable-permissive or --disable-permissive was given.
3589 if test "${enable_permissive+set}" = set; then
3590 enableval="$enable_permissive"
3591
3592 if test "$enableval" = yes; then
3593 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3594 else
3595 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3596 fi
3597
3598 else
3599
3600 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3601 if test "x$LINE" != x ; then
3602 eval "DEFAULT_$LINE"
3603 else
3604 no_cache=1
3605 fi
3606
3607 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3608
3609 fi;
3610
3611 eval "$ac_cv_use_permissive"
3612 if test "$no_cache" != 1; then
3613 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3614 fi
3615
3616 if test "$wxUSE_PERMISSIVE" = yes; then
3617 echo "$as_me:$LINENO: result: yes" >&5
3618 echo "${ECHO_T}yes" >&6
3619 else
3620 echo "$as_me:$LINENO: result: no" >&5
3621 echo "${ECHO_T}no" >&6
3622 fi
3623
3624
3625 enablestring=
3626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3627 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3628 no_cache=0
3629 # Check whether --enable-no_deps or --disable-no_deps was given.
3630 if test "${enable_no_deps+set}" = set; then
3631 enableval="$enable_no_deps"
3632
3633 if test "$enableval" = yes; then
3634 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3635 else
3636 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3637 fi
3638
3639 else
3640
3641 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x ; then
3643 eval "DEFAULT_$LINE"
3644 else
3645 no_cache=1
3646 fi
3647
3648 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3649
3650 fi;
3651
3652 eval "$ac_cv_use_no_deps"
3653 if test "$no_cache" != 1; then
3654 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3655 fi
3656
3657 if test "$wxUSE_NO_DEPS" = yes; then
3658 echo "$as_me:$LINENO: result: yes" >&5
3659 echo "${ECHO_T}yes" >&6
3660 else
3661 echo "$as_me:$LINENO: result: no" >&5
3662 echo "${ECHO_T}no" >&6
3663 fi
3664
3665
3666
3667 enablestring=
3668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3669 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3670 no_cache=0
3671 # Check whether --enable-compat20 or --disable-compat20 was given.
3672 if test "${enable_compat20+set}" = set; then
3673 enableval="$enable_compat20"
3674
3675 if test "$enableval" = yes; then
3676 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3677 else
3678 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3679 fi
3680
3681 else
3682
3683 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x ; then
3685 eval "DEFAULT_$LINE"
3686 else
3687 no_cache=1
3688 fi
3689
3690 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3691
3692 fi;
3693
3694 eval "$ac_cv_use_compat20"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3697 fi
3698
3699 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3700 echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6
3702 else
3703 echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6
3705 fi
3706
3707
3708 enablestring=
3709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3710 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3711 no_cache=0
3712 # Check whether --enable-compat22 or --disable-compat22 was given.
3713 if test "${enable_compat22+set}" = set; then
3714 enableval="$enable_compat22"
3715
3716 if test "$enableval" = yes; then
3717 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3718 else
3719 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3720 fi
3721
3722 else
3723
3724 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3727 else
3728 no_cache=1
3729 fi
3730
3731 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3732
3733 fi;
3734
3735 eval "$ac_cv_use_compat22"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3738 fi
3739
3740 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3741 echo "$as_me:$LINENO: result: yes" >&5
3742 echo "${ECHO_T}yes" >&6
3743 else
3744 echo "$as_me:$LINENO: result: no" >&5
3745 echo "${ECHO_T}no" >&6
3746 fi
3747
3748
3749 enablestring=disable
3750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3751 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3752 no_cache=0
3753 # Check whether --enable-compat24 or --disable-compat24 was given.
3754 if test "${enable_compat24+set}" = set; then
3755 enableval="$enable_compat24"
3756
3757 if test "$enableval" = yes; then
3758 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3759 else
3760 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3761 fi
3762
3763 else
3764
3765 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3766 if test "x$LINE" != x ; then
3767 eval "DEFAULT_$LINE"
3768 else
3769 no_cache=1
3770 fi
3771
3772 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3773
3774 fi;
3775
3776 eval "$ac_cv_use_compat24"
3777 if test "$no_cache" != 1; then
3778 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3779 fi
3780
3781 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3782 echo "$as_me:$LINENO: result: yes" >&5
3783 echo "${ECHO_T}yes" >&6
3784 else
3785 echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6
3787 fi
3788
3789
3790 # Check whether --enable-rpath or --disable-rpath was given.
3791 if test "${enable_rpath+set}" = set; then
3792 enableval="$enable_rpath"
3793 wxRPATH_DIR="$enableval"
3794 fi;
3795
3796 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3797 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3798 fi
3799
3800
3801
3802
3803 enablestring=
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3806 no_cache=0
3807 # Check whether --enable-intl or --disable-intl was given.
3808 if test "${enable_intl+set}" = set; then
3809 enableval="$enable_intl"
3810
3811 if test "$enableval" = yes; then
3812 ac_cv_use_intl='wxUSE_INTL=yes'
3813 else
3814 ac_cv_use_intl='wxUSE_INTL=no'
3815 fi
3816
3817 else
3818
3819 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3822 else
3823 no_cache=1
3824 fi
3825
3826 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3827
3828 fi;
3829
3830 eval "$ac_cv_use_intl"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3833 fi
3834
3835 if test "$wxUSE_INTL" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3838 else
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3841 fi
3842
3843
3844 enablestring=
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3847 no_cache=0
3848 # Check whether --enable-config or --disable-config was given.
3849 if test "${enable_config+set}" = set; then
3850 enableval="$enable_config"
3851
3852 if test "$enableval" = yes; then
3853 ac_cv_use_config='wxUSE_CONFIG=yes'
3854 else
3855 ac_cv_use_config='wxUSE_CONFIG=no'
3856 fi
3857
3858 else
3859
3860 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3863 else
3864 no_cache=1
3865 fi
3866
3867 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3868
3869 fi;
3870
3871 eval "$ac_cv_use_config"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3874 fi
3875
3876 if test "$wxUSE_CONFIG" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3879 else
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3882 fi
3883
3884
3885
3886 enablestring=
3887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3888 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3889 no_cache=0
3890 # Check whether --enable-protocols or --disable-protocols was given.
3891 if test "${enable_protocols+set}" = set; then
3892 enableval="$enable_protocols"
3893
3894 if test "$enableval" = yes; then
3895 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3896 else
3897 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3898 fi
3899
3900 else
3901
3902 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3903 if test "x$LINE" != x ; then
3904 eval "DEFAULT_$LINE"
3905 else
3906 no_cache=1
3907 fi
3908
3909 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3910
3911 fi;
3912
3913 eval "$ac_cv_use_protocols"
3914 if test "$no_cache" != 1; then
3915 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3916 fi
3917
3918 if test "$wxUSE_PROTOCOL" = yes; then
3919 echo "$as_me:$LINENO: result: yes" >&5
3920 echo "${ECHO_T}yes" >&6
3921 else
3922 echo "$as_me:$LINENO: result: no" >&5
3923 echo "${ECHO_T}no" >&6
3924 fi
3925
3926
3927 enablestring=
3928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3929 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3930 no_cache=0
3931 # Check whether --enable-ftp or --disable-ftp was given.
3932 if test "${enable_ftp+set}" = set; then
3933 enableval="$enable_ftp"
3934
3935 if test "$enableval" = yes; then
3936 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3937 else
3938 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3939 fi
3940
3941 else
3942
3943 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3944 if test "x$LINE" != x ; then
3945 eval "DEFAULT_$LINE"
3946 else
3947 no_cache=1
3948 fi
3949
3950 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3951
3952 fi;
3953
3954 eval "$ac_cv_use_ftp"
3955 if test "$no_cache" != 1; then
3956 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3957 fi
3958
3959 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3960 echo "$as_me:$LINENO: result: yes" >&5
3961 echo "${ECHO_T}yes" >&6
3962 else
3963 echo "$as_me:$LINENO: result: no" >&5
3964 echo "${ECHO_T}no" >&6
3965 fi
3966
3967
3968 enablestring=
3969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3970 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3971 no_cache=0
3972 # Check whether --enable-http or --disable-http was given.
3973 if test "${enable_http+set}" = set; then
3974 enableval="$enable_http"
3975
3976 if test "$enableval" = yes; then
3977 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3978 else
3979 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3980 fi
3981
3982 else
3983
3984 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x ; then
3986 eval "DEFAULT_$LINE"
3987 else
3988 no_cache=1
3989 fi
3990
3991 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3992
3993 fi;
3994
3995 eval "$ac_cv_use_http"
3996 if test "$no_cache" != 1; then
3997 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3998 fi
3999
4000 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4001 echo "$as_me:$LINENO: result: yes" >&5
4002 echo "${ECHO_T}yes" >&6
4003 else
4004 echo "$as_me:$LINENO: result: no" >&5
4005 echo "${ECHO_T}no" >&6
4006 fi
4007
4008
4009 enablestring=
4010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4011 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4012 no_cache=0
4013 # Check whether --enable-fileproto or --disable-fileproto was given.
4014 if test "${enable_fileproto+set}" = set; then
4015 enableval="$enable_fileproto"
4016
4017 if test "$enableval" = yes; then
4018 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4019 else
4020 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4021 fi
4022
4023 else
4024
4025 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4026 if test "x$LINE" != x ; then
4027 eval "DEFAULT_$LINE"
4028 else
4029 no_cache=1
4030 fi
4031
4032 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4033
4034 fi;
4035
4036 eval "$ac_cv_use_fileproto"
4037 if test "$no_cache" != 1; then
4038 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4039 fi
4040
4041 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4042 echo "$as_me:$LINENO: result: yes" >&5
4043 echo "${ECHO_T}yes" >&6
4044 else
4045 echo "$as_me:$LINENO: result: no" >&5
4046 echo "${ECHO_T}no" >&6
4047 fi
4048
4049
4050 enablestring=
4051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4052 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4053 no_cache=0
4054 # Check whether --enable-sockets or --disable-sockets was given.
4055 if test "${enable_sockets+set}" = set; then
4056 enableval="$enable_sockets"
4057
4058 if test "$enableval" = yes; then
4059 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4060 else
4061 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4062 fi
4063
4064 else
4065
4066 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4067 if test "x$LINE" != x ; then
4068 eval "DEFAULT_$LINE"
4069 else
4070 no_cache=1
4071 fi
4072
4073 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4074
4075 fi;
4076
4077 eval "$ac_cv_use_sockets"
4078 if test "$no_cache" != 1; then
4079 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4080 fi
4081
4082 if test "$wxUSE_SOCKETS" = yes; then
4083 echo "$as_me:$LINENO: result: yes" >&5
4084 echo "${ECHO_T}yes" >&6
4085 else
4086 echo "$as_me:$LINENO: result: no" >&5
4087 echo "${ECHO_T}no" >&6
4088 fi
4089
4090
4091 enablestring=
4092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4093 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4094 no_cache=0
4095 # Check whether --enable-ole or --disable-ole was given.
4096 if test "${enable_ole+set}" = set; then
4097 enableval="$enable_ole"
4098
4099 if test "$enableval" = yes; then
4100 ac_cv_use_ole='wxUSE_OLE=yes'
4101 else
4102 ac_cv_use_ole='wxUSE_OLE=no'
4103 fi
4104
4105 else
4106
4107 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4108 if test "x$LINE" != x ; then
4109 eval "DEFAULT_$LINE"
4110 else
4111 no_cache=1
4112 fi
4113
4114 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4115
4116 fi;
4117
4118 eval "$ac_cv_use_ole"
4119 if test "$no_cache" != 1; then
4120 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4121 fi
4122
4123 if test "$wxUSE_OLE" = yes; then
4124 echo "$as_me:$LINENO: result: yes" >&5
4125 echo "${ECHO_T}yes" >&6
4126 else
4127 echo "$as_me:$LINENO: result: no" >&5
4128 echo "${ECHO_T}no" >&6
4129 fi
4130
4131
4132 enablestring=
4133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4134 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4135 no_cache=0
4136 # Check whether --enable-dataobj or --disable-dataobj was given.
4137 if test "${enable_dataobj+set}" = set; then
4138 enableval="$enable_dataobj"
4139
4140 if test "$enableval" = yes; then
4141 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4142 else
4143 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4144 fi
4145
4146 else
4147
4148 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4149 if test "x$LINE" != x ; then
4150 eval "DEFAULT_$LINE"
4151 else
4152 no_cache=1
4153 fi
4154
4155 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4156
4157 fi;
4158
4159 eval "$ac_cv_use_dataobj"
4160 if test "$no_cache" != 1; then
4161 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4162 fi
4163
4164 if test "$wxUSE_DATAOBJ" = yes; then
4165 echo "$as_me:$LINENO: result: yes" >&5
4166 echo "${ECHO_T}yes" >&6
4167 else
4168 echo "$as_me:$LINENO: result: no" >&5
4169 echo "${ECHO_T}no" >&6
4170 fi
4171
4172
4173
4174 enablestring=
4175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4176 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4177 no_cache=0
4178 # Check whether --enable-ipc or --disable-ipc was given.
4179 if test "${enable_ipc+set}" = set; then
4180 enableval="$enable_ipc"
4181
4182 if test "$enableval" = yes; then
4183 ac_cv_use_ipc='wxUSE_IPC=yes'
4184 else
4185 ac_cv_use_ipc='wxUSE_IPC=no'
4186 fi
4187
4188 else
4189
4190 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4191 if test "x$LINE" != x ; then
4192 eval "DEFAULT_$LINE"
4193 else
4194 no_cache=1
4195 fi
4196
4197 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4198
4199 fi;
4200
4201 eval "$ac_cv_use_ipc"
4202 if test "$no_cache" != 1; then
4203 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4204 fi
4205
4206 if test "$wxUSE_IPC" = yes; then
4207 echo "$as_me:$LINENO: result: yes" >&5
4208 echo "${ECHO_T}yes" >&6
4209 else
4210 echo "$as_me:$LINENO: result: no" >&5
4211 echo "${ECHO_T}no" >&6
4212 fi
4213
4214
4215
4216 enablestring=
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4219 no_cache=0
4220 # Check whether --enable-cmdline or --disable-cmdline was given.
4221 if test "${enable_cmdline+set}" = set; then
4222 enableval="$enable_cmdline"
4223
4224 if test "$enableval" = yes; then
4225 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4226 else
4227 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4228 fi
4229
4230 else
4231
4232 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x ; then
4234 eval "DEFAULT_$LINE"
4235 else
4236 no_cache=1
4237 fi
4238
4239 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4240
4241 fi;
4242
4243 eval "$ac_cv_use_cmdline"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4246 fi
4247
4248 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4251 else
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4254 fi
4255
4256
4257 enablestring=
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4260 no_cache=0
4261 # Check whether --enable-datetime or --disable-datetime was given.
4262 if test "${enable_datetime+set}" = set; then
4263 enableval="$enable_datetime"
4264
4265 if test "$enableval" = yes; then
4266 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4267 else
4268 ac_cv_use_datetime='wxUSE_DATETIME=no'
4269 fi
4270
4271 else
4272
4273 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x ; then
4275 eval "DEFAULT_$LINE"
4276 else
4277 no_cache=1
4278 fi
4279
4280 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4281
4282 fi;
4283
4284 eval "$ac_cv_use_datetime"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4287 fi
4288
4289 if test "$wxUSE_DATETIME" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4292 else
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4295 fi
4296
4297
4298 enablestring=
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4301 no_cache=0
4302 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4303 if test "${enable_stopwatch+set}" = set; then
4304 enableval="$enable_stopwatch"
4305
4306 if test "$enableval" = yes; then
4307 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4308 else
4309 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4310 fi
4311
4312 else
4313
4314 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x ; then
4316 eval "DEFAULT_$LINE"
4317 else
4318 no_cache=1
4319 fi
4320
4321 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4322
4323 fi;
4324
4325 eval "$ac_cv_use_stopwatch"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_STOPWATCH" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4333 else
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4336 fi
4337
4338
4339 enablestring=
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4342 no_cache=0
4343 # Check whether --enable-dialupman or --disable-dialupman was given.
4344 if test "${enable_dialupman+set}" = set; then
4345 enableval="$enable_dialupman"
4346
4347 if test "$enableval" = yes; then
4348 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4349 else
4350 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4351 fi
4352
4353 else
4354
4355 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4358 else
4359 no_cache=1
4360 fi
4361
4362 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4363
4364 fi;
4365
4366 eval "$ac_cv_use_dialupman"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4369 fi
4370
4371 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4374 else
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4377 fi
4378
4379
4380 enablestring=
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4383 no_cache=0
4384 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4385 if test "${enable_apple_ieee+set}" = set; then
4386 enableval="$enable_apple_ieee"
4387
4388 if test "$enableval" = yes; then
4389 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4390 else
4391 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4392 fi
4393
4394 else
4395
4396 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4399 else
4400 no_cache=1
4401 fi
4402
4403 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4404
4405 fi;
4406
4407 eval "$ac_cv_use_apple_ieee"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4410 fi
4411
4412 if test "$wxUSE_APPLE_IEEE" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4415 else
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4418 fi
4419
4420
4421 enablestring=
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4424 no_cache=0
4425 # Check whether --enable-timer or --disable-timer was given.
4426 if test "${enable_timer+set}" = set; then
4427 enableval="$enable_timer"
4428
4429 if test "$enableval" = yes; then
4430 ac_cv_use_timer='wxUSE_TIMER=yes'
4431 else
4432 ac_cv_use_timer='wxUSE_TIMER=no'
4433 fi
4434
4435 else
4436
4437 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x ; then
4439 eval "DEFAULT_$LINE"
4440 else
4441 no_cache=1
4442 fi
4443
4444 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4445
4446 fi;
4447
4448 eval "$ac_cv_use_timer"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4451 fi
4452
4453 if test "$wxUSE_TIMER" = yes; then
4454 echo "$as_me:$LINENO: result: yes" >&5
4455 echo "${ECHO_T}yes" >&6
4456 else
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4459 fi
4460
4461
4462 enablestring=
4463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4464 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4465 no_cache=0
4466 # Check whether --enable-wave or --disable-wave was given.
4467 if test "${enable_wave+set}" = set; then
4468 enableval="$enable_wave"
4469
4470 if test "$enableval" = yes; then
4471 ac_cv_use_wave='wxUSE_WAVE=yes'
4472 else
4473 ac_cv_use_wave='wxUSE_WAVE=no'
4474 fi
4475
4476 else
4477
4478 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x ; then
4480 eval "DEFAULT_$LINE"
4481 else
4482 no_cache=1
4483 fi
4484
4485 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4486
4487 fi;
4488
4489 eval "$ac_cv_use_wave"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4492 fi
4493
4494 if test "$wxUSE_WAVE" = yes; then
4495 echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6
4497 else
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4500 fi
4501
4502
4503 enablestring=
4504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4506 no_cache=0
4507 # Check whether --enable-fraction or --disable-fraction was given.
4508 if test "${enable_fraction+set}" = set; then
4509 enableval="$enable_fraction"
4510
4511 if test "$enableval" = yes; then
4512 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4513 else
4514 ac_cv_use_fraction='wxUSE_FRACTION=no'
4515 fi
4516
4517 else
4518
4519 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x ; then
4521 eval "DEFAULT_$LINE"
4522 else
4523 no_cache=1
4524 fi
4525
4526 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4527
4528 fi;
4529
4530 eval "$ac_cv_use_fraction"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4533 fi
4534
4535 if test "$wxUSE_FRACTION" = yes; then
4536 echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6
4538 else
4539 echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6
4541 fi
4542
4543
4544 enablestring=
4545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4547 no_cache=0
4548 # Check whether --enable-dynlib or --disable-dynlib was given.
4549 if test "${enable_dynlib+set}" = set; then
4550 enableval="$enable_dynlib"
4551
4552 if test "$enableval" = yes; then
4553 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4554 else
4555 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4556 fi
4557
4558 else
4559
4560 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x ; then
4562 eval "DEFAULT_$LINE"
4563 else
4564 no_cache=1
4565 fi
4566
4567 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4568
4569 fi;
4570
4571 eval "$ac_cv_use_dynlib"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4574 fi
4575
4576 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4577 echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6
4579 else
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4582 fi
4583
4584
4585 enablestring=
4586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4587 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4588 no_cache=0
4589 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4590 if test "${enable_dynamicloader+set}" = set; then
4591 enableval="$enable_dynamicloader"
4592
4593 if test "$enableval" = yes; then
4594 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4595 else
4596 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4597 fi
4598
4599 else
4600
4601 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4602 if test "x$LINE" != x ; then
4603 eval "DEFAULT_$LINE"
4604 else
4605 no_cache=1
4606 fi
4607
4608 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4609
4610 fi;
4611
4612 eval "$ac_cv_use_dynamicloader"
4613 if test "$no_cache" != 1; then
4614 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4615 fi
4616
4617 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4618 echo "$as_me:$LINENO: result: yes" >&5
4619 echo "${ECHO_T}yes" >&6
4620 else
4621 echo "$as_me:$LINENO: result: no" >&5
4622 echo "${ECHO_T}no" >&6
4623 fi
4624
4625
4626 enablestring=
4627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4628 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4629 no_cache=0
4630 # Check whether --enable-longlong or --disable-longlong was given.
4631 if test "${enable_longlong+set}" = set; then
4632 enableval="$enable_longlong"
4633
4634 if test "$enableval" = yes; then
4635 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4636 else
4637 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4638 fi
4639
4640 else
4641
4642 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4643 if test "x$LINE" != x ; then
4644 eval "DEFAULT_$LINE"
4645 else
4646 no_cache=1
4647 fi
4648
4649 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4650
4651 fi;
4652
4653 eval "$ac_cv_use_longlong"
4654 if test "$no_cache" != 1; then
4655 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4656 fi
4657
4658 if test "$wxUSE_LONGLONG" = yes; then
4659 echo "$as_me:$LINENO: result: yes" >&5
4660 echo "${ECHO_T}yes" >&6
4661 else
4662 echo "$as_me:$LINENO: result: no" >&5
4663 echo "${ECHO_T}no" >&6
4664 fi
4665
4666
4667 enablestring=
4668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4669 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4670 no_cache=0
4671 # Check whether --enable-geometry or --disable-geometry was given.
4672 if test "${enable_geometry+set}" = set; then
4673 enableval="$enable_geometry"
4674
4675 if test "$enableval" = yes; then
4676 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4677 else
4678 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4679 fi
4680
4681 else
4682
4683 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4684 if test "x$LINE" != x ; then
4685 eval "DEFAULT_$LINE"
4686 else
4687 no_cache=1
4688 fi
4689
4690 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4691
4692 fi;
4693
4694 eval "$ac_cv_use_geometry"
4695 if test "$no_cache" != 1; then
4696 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4697 fi
4698
4699 if test "$wxUSE_GEOMETRY" = yes; then
4700 echo "$as_me:$LINENO: result: yes" >&5
4701 echo "${ECHO_T}yes" >&6
4702 else
4703 echo "$as_me:$LINENO: result: no" >&5
4704 echo "${ECHO_T}no" >&6
4705 fi
4706
4707
4708 enablestring=
4709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4710 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4711 no_cache=0
4712 # Check whether --enable-log or --disable-log was given.
4713 if test "${enable_log+set}" = set; then
4714 enableval="$enable_log"
4715
4716 if test "$enableval" = yes; then
4717 ac_cv_use_log='wxUSE_LOG=yes'
4718 else
4719 ac_cv_use_log='wxUSE_LOG=no'
4720 fi
4721
4722 else
4723
4724 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4725 if test "x$LINE" != x ; then
4726 eval "DEFAULT_$LINE"
4727 else
4728 no_cache=1
4729 fi
4730
4731 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4732
4733 fi;
4734
4735 eval "$ac_cv_use_log"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4738 fi
4739
4740 if test "$wxUSE_LOG" = yes; then
4741 echo "$as_me:$LINENO: result: yes" >&5
4742 echo "${ECHO_T}yes" >&6
4743 else
4744 echo "$as_me:$LINENO: result: no" >&5
4745 echo "${ECHO_T}no" >&6
4746 fi
4747
4748
4749 enablestring=
4750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4752 no_cache=0
4753 # Check whether --enable-streams or --disable-streams was given.
4754 if test "${enable_streams+set}" = set; then
4755 enableval="$enable_streams"
4756
4757 if test "$enableval" = yes; then
4758 ac_cv_use_streams='wxUSE_STREAMS=yes'
4759 else
4760 ac_cv_use_streams='wxUSE_STREAMS=no'
4761 fi
4762
4763 else
4764
4765 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4766 if test "x$LINE" != x ; then
4767 eval "DEFAULT_$LINE"
4768 else
4769 no_cache=1
4770 fi
4771
4772 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4773
4774 fi;
4775
4776 eval "$ac_cv_use_streams"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4779 fi
4780
4781 if test "$wxUSE_STREAMS" = yes; then
4782 echo "$as_me:$LINENO: result: yes" >&5
4783 echo "${ECHO_T}yes" >&6
4784 else
4785 echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6
4787 fi
4788
4789
4790 enablestring=
4791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4793 no_cache=0
4794 # Check whether --enable-file or --disable-file was given.
4795 if test "${enable_file+set}" = set; then
4796 enableval="$enable_file"
4797
4798 if test "$enableval" = yes; then
4799 ac_cv_use_file='wxUSE_FILE=yes'
4800 else
4801 ac_cv_use_file='wxUSE_FILE=no'
4802 fi
4803
4804 else
4805
4806 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4809 else
4810 no_cache=1
4811 fi
4812
4813 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4814
4815 fi;
4816
4817 eval "$ac_cv_use_file"
4818 if test "$no_cache" != 1; then
4819 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4820 fi
4821
4822 if test "$wxUSE_FILE" = yes; then
4823 echo "$as_me:$LINENO: result: yes" >&5
4824 echo "${ECHO_T}yes" >&6
4825 else
4826 echo "$as_me:$LINENO: result: no" >&5
4827 echo "${ECHO_T}no" >&6
4828 fi
4829
4830
4831 enablestring=
4832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4834 no_cache=0
4835 # Check whether --enable-ffile or --disable-ffile was given.
4836 if test "${enable_ffile+set}" = set; then
4837 enableval="$enable_ffile"
4838
4839 if test "$enableval" = yes; then
4840 ac_cv_use_ffile='wxUSE_FFILE=yes'
4841 else
4842 ac_cv_use_ffile='wxUSE_FFILE=no'
4843 fi
4844
4845 else
4846
4847 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4848 if test "x$LINE" != x ; then
4849 eval "DEFAULT_$LINE"
4850 else
4851 no_cache=1
4852 fi
4853
4854 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4855
4856 fi;
4857
4858 eval "$ac_cv_use_ffile"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4861 fi
4862
4863 if test "$wxUSE_FFILE" = yes; then
4864 echo "$as_me:$LINENO: result: yes" >&5
4865 echo "${ECHO_T}yes" >&6
4866 else
4867 echo "$as_me:$LINENO: result: no" >&5
4868 echo "${ECHO_T}no" >&6
4869 fi
4870
4871
4872 enablestring=
4873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4874 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4875 no_cache=0
4876 # Check whether --enable-textbuf or --disable-textbuf was given.
4877 if test "${enable_textbuf+set}" = set; then
4878 enableval="$enable_textbuf"
4879
4880 if test "$enableval" = yes; then
4881 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4882 else
4883 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4884 fi
4885
4886 else
4887
4888 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4889 if test "x$LINE" != x ; then
4890 eval "DEFAULT_$LINE"
4891 else
4892 no_cache=1
4893 fi
4894
4895 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4896
4897 fi;
4898
4899 eval "$ac_cv_use_textbuf"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4902 fi
4903
4904 if test "$wxUSE_TEXTBUFFER" = yes; then
4905 echo "$as_me:$LINENO: result: yes" >&5
4906 echo "${ECHO_T}yes" >&6
4907 else
4908 echo "$as_me:$LINENO: result: no" >&5
4909 echo "${ECHO_T}no" >&6
4910 fi
4911
4912
4913 enablestring=
4914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4915 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4916 no_cache=0
4917 # Check whether --enable-textfile or --disable-textfile was given.
4918 if test "${enable_textfile+set}" = set; then
4919 enableval="$enable_textfile"
4920
4921 if test "$enableval" = yes; then
4922 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4923 else
4924 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4925 fi
4926
4927 else
4928
4929 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x ; then
4931 eval "DEFAULT_$LINE"
4932 else
4933 no_cache=1
4934 fi
4935
4936 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4937
4938 fi;
4939
4940 eval "$ac_cv_use_textfile"
4941 if test "$no_cache" != 1; then
4942 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4943 fi
4944
4945 if test "$wxUSE_TEXTFILE" = yes; then
4946 echo "$as_me:$LINENO: result: yes" >&5
4947 echo "${ECHO_T}yes" >&6
4948 else
4949 echo "$as_me:$LINENO: result: no" >&5
4950 echo "${ECHO_T}no" >&6
4951 fi
4952
4953
4954 enablestring=
4955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4956 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4957 no_cache=0
4958 # Check whether --enable-fontmap or --disable-fontmap was given.
4959 if test "${enable_fontmap+set}" = set; then
4960 enableval="$enable_fontmap"
4961
4962 if test "$enableval" = yes; then
4963 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4964 else
4965 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4966 fi
4967
4968 else
4969
4970 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4973 else
4974 no_cache=1
4975 fi
4976
4977 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4978
4979 fi;
4980
4981 eval "$ac_cv_use_fontmap"
4982 if test "$no_cache" != 1; then
4983 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4984 fi
4985
4986 if test "$wxUSE_FONTMAP" = yes; then
4987 echo "$as_me:$LINENO: result: yes" >&5
4988 echo "${ECHO_T}yes" >&6
4989 else
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
4992 fi
4993
4994
4995 enablestring=
4996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4997 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4998 no_cache=0
4999 # Check whether --enable-unicode or --disable-unicode was given.
5000 if test "${enable_unicode+set}" = set; then
5001 enableval="$enable_unicode"
5002
5003 if test "$enableval" = yes; then
5004 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5005 else
5006 ac_cv_use_unicode='wxUSE_UNICODE=no'
5007 fi
5008
5009 else
5010
5011 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5012 if test "x$LINE" != x ; then
5013 eval "DEFAULT_$LINE"
5014 else
5015 no_cache=1
5016 fi
5017
5018 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5019
5020 fi;
5021
5022 eval "$ac_cv_use_unicode"
5023 if test "$no_cache" != 1; then
5024 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5025 fi
5026
5027 if test "$wxUSE_UNICODE" = yes; then
5028 echo "$as_me:$LINENO: result: yes" >&5
5029 echo "${ECHO_T}yes" >&6
5030 else
5031 echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6
5033 fi
5034
5035
5036 enablestring=
5037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5038 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5039 no_cache=0
5040 # Check whether --enable-mslu or --disable-mslu was given.
5041 if test "${enable_mslu+set}" = set; then
5042 enableval="$enable_mslu"
5043
5044 if test "$enableval" = yes; then
5045 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5046 else
5047 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5048 fi
5049
5050 else
5051
5052 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5053 if test "x$LINE" != x ; then
5054 eval "DEFAULT_$LINE"
5055 else
5056 no_cache=1
5057 fi
5058
5059 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5060
5061 fi;
5062
5063 eval "$ac_cv_use_mslu"
5064 if test "$no_cache" != 1; then
5065 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5066 fi
5067
5068 if test "$wxUSE_UNICODE_MSLU" = yes; then
5069 echo "$as_me:$LINENO: result: yes" >&5
5070 echo "${ECHO_T}yes" >&6
5071 else
5072 echo "$as_me:$LINENO: result: no" >&5
5073 echo "${ECHO_T}no" >&6
5074 fi
5075
5076
5077 enablestring=
5078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5079 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5080 no_cache=0
5081 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5082 if test "${enable_wxprintfv+set}" = set; then
5083 enableval="$enable_wxprintfv"
5084
5085 if test "$enableval" = yes; then
5086 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5087 else
5088 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5089 fi
5090
5091 else
5092
5093 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5094 if test "x$LINE" != x ; then
5095 eval "DEFAULT_$LINE"
5096 else
5097 no_cache=1
5098 fi
5099
5100 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5101
5102 fi;
5103
5104 eval "$ac_cv_use_wxprintfv"
5105 if test "$no_cache" != 1; then
5106 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5107 fi
5108
5109 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5110 echo "$as_me:$LINENO: result: yes" >&5
5111 echo "${ECHO_T}yes" >&6
5112 else
5113 echo "$as_me:$LINENO: result: no" >&5
5114 echo "${ECHO_T}no" >&6
5115 fi
5116
5117
5118 enablestring=
5119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5120 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5121 no_cache=0
5122 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5123 if test "${enable_std_iostreams+set}" = set; then
5124 enableval="$enable_std_iostreams"
5125
5126 if test "$enableval" = yes; then
5127 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5128 else
5129 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5130 fi
5131
5132 else
5133
5134 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5135 if test "x$LINE" != x ; then
5136 eval "DEFAULT_$LINE"
5137 else
5138 no_cache=1
5139 fi
5140
5141 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5142
5143 fi;
5144
5145 eval "$ac_cv_use_std_iostreams"
5146 if test "$no_cache" != 1; then
5147 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5148 fi
5149
5150 if test "$wxUSE_STD_IOSTREAM" = yes; then
5151 echo "$as_me:$LINENO: result: yes" >&5
5152 echo "${ECHO_T}yes" >&6
5153 else
5154 echo "$as_me:$LINENO: result: no" >&5
5155 echo "${ECHO_T}no" >&6
5156 fi
5157
5158
5159 enablestring=
5160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5161 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5162 no_cache=0
5163 # Check whether --enable-filesystem or --disable-filesystem was given.
5164 if test "${enable_filesystem+set}" = set; then
5165 enableval="$enable_filesystem"
5166
5167 if test "$enableval" = yes; then
5168 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5169 else
5170 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5171 fi
5172
5173 else
5174
5175 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5176 if test "x$LINE" != x ; then
5177 eval "DEFAULT_$LINE"
5178 else
5179 no_cache=1
5180 fi
5181
5182 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5183
5184 fi;
5185
5186 eval "$ac_cv_use_filesystem"
5187 if test "$no_cache" != 1; then
5188 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5189 fi
5190
5191 if test "$wxUSE_FILESYSTEM" = yes; then
5192 echo "$as_me:$LINENO: result: yes" >&5
5193 echo "${ECHO_T}yes" >&6
5194 else
5195 echo "$as_me:$LINENO: result: no" >&5
5196 echo "${ECHO_T}no" >&6
5197 fi
5198
5199
5200 enablestring=
5201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5202 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5203 no_cache=0
5204 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5205 if test "${enable_fs_inet+set}" = set; then
5206 enableval="$enable_fs_inet"
5207
5208 if test "$enableval" = yes; then
5209 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5210 else
5211 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5212 fi
5213
5214 else
5215
5216 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5217 if test "x$LINE" != x ; then
5218 eval "DEFAULT_$LINE"
5219 else
5220 no_cache=1
5221 fi
5222
5223 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5224
5225 fi;
5226
5227 eval "$ac_cv_use_fs_inet"
5228 if test "$no_cache" != 1; then
5229 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5230 fi
5231
5232 if test "$wxUSE_FS_INET" = yes; then
5233 echo "$as_me:$LINENO: result: yes" >&5
5234 echo "${ECHO_T}yes" >&6
5235 else
5236 echo "$as_me:$LINENO: result: no" >&5
5237 echo "${ECHO_T}no" >&6
5238 fi
5239
5240
5241 enablestring=
5242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5243 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5244 no_cache=0
5245 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5246 if test "${enable_fs_zip+set}" = set; then
5247 enableval="$enable_fs_zip"
5248
5249 if test "$enableval" = yes; then
5250 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5251 else
5252 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5253 fi
5254
5255 else
5256
5257 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5258 if test "x$LINE" != x ; then
5259 eval "DEFAULT_$LINE"
5260 else
5261 no_cache=1
5262 fi
5263
5264 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5265
5266 fi;
5267
5268 eval "$ac_cv_use_fs_zip"
5269 if test "$no_cache" != 1; then
5270 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5271 fi
5272
5273 if test "$wxUSE_FS_ZIP" = yes; then
5274 echo "$as_me:$LINENO: result: yes" >&5
5275 echo "${ECHO_T}yes" >&6
5276 else
5277 echo "$as_me:$LINENO: result: no" >&5
5278 echo "${ECHO_T}no" >&6
5279 fi
5280
5281
5282 enablestring=
5283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5284 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5285 no_cache=0
5286 # Check whether --enable-zipstream or --disable-zipstream was given.
5287 if test "${enable_zipstream+set}" = set; then
5288 enableval="$enable_zipstream"
5289
5290 if test "$enableval" = yes; then
5291 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5292 else
5293 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5294 fi
5295
5296 else
5297
5298 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5299 if test "x$LINE" != x ; then
5300 eval "DEFAULT_$LINE"
5301 else
5302 no_cache=1
5303 fi
5304
5305 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5306
5307 fi;
5308
5309 eval "$ac_cv_use_zipstream"
5310 if test "$no_cache" != 1; then
5311 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5312 fi
5313
5314 if test "$wxUSE_ZIPSTREAM" = yes; then
5315 echo "$as_me:$LINENO: result: yes" >&5
5316 echo "${ECHO_T}yes" >&6
5317 else
5318 echo "$as_me:$LINENO: result: no" >&5
5319 echo "${ECHO_T}no" >&6
5320 fi
5321
5322
5323
5324 enablestring=
5325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5326 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5327 no_cache=0
5328 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5329 if test "${enable_catch_segvs+set}" = set; then
5330 enableval="$enable_catch_segvs"
5331
5332 if test "$enableval" = yes; then
5333 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5334 else
5335 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5336 fi
5337
5338 else
5339
5340 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5341 if test "x$LINE" != x ; then
5342 eval "DEFAULT_$LINE"
5343 else
5344 no_cache=1
5345 fi
5346
5347 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5348
5349 fi;
5350
5351 eval "$ac_cv_use_catch_segvs"
5352 if test "$no_cache" != 1; then
5353 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5354 fi
5355
5356 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5357 echo "$as_me:$LINENO: result: yes" >&5
5358 echo "${ECHO_T}yes" >&6
5359 else
5360 echo "$as_me:$LINENO: result: no" >&5
5361 echo "${ECHO_T}no" >&6
5362 fi
5363
5364
5365 enablestring=
5366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5367 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5368 no_cache=0
5369 # Check whether --enable-snglinst or --disable-snglinst was given.
5370 if test "${enable_snglinst+set}" = set; then
5371 enableval="$enable_snglinst"
5372
5373 if test "$enableval" = yes; then
5374 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5375 else
5376 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5377 fi
5378
5379 else
5380
5381 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5382 if test "x$LINE" != x ; then
5383 eval "DEFAULT_$LINE"
5384 else
5385 no_cache=1
5386 fi
5387
5388 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5389
5390 fi;
5391
5392 eval "$ac_cv_use_snglinst"
5393 if test "$no_cache" != 1; then
5394 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5395 fi
5396
5397 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5398 echo "$as_me:$LINENO: result: yes" >&5
5399 echo "${ECHO_T}yes" >&6
5400 else
5401 echo "$as_me:$LINENO: result: no" >&5
5402 echo "${ECHO_T}no" >&6
5403 fi
5404
5405
5406
5407 enablestring=
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5410 no_cache=0
5411 # Check whether --enable-mimetype or --disable-mimetype was given.
5412 if test "${enable_mimetype+set}" = set; then
5413 enableval="$enable_mimetype"
5414
5415 if test "$enableval" = yes; then
5416 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5417 else
5418 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5419 fi
5420
5421 else
5422
5423 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5426 else
5427 no_cache=1
5428 fi
5429
5430 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5431
5432 fi;
5433
5434 eval "$ac_cv_use_mimetype"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5437 fi
5438
5439 if test "$wxUSE_MIMETYPE" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5442 else
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5445 fi
5446
5447
5448 enablestring=
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5451 no_cache=0
5452 # Check whether --enable-system_options or --disable-system_options was given.
5453 if test "${enable_system_options+set}" = set; then
5454 enableval="$enable_system_options"
5455
5456 if test "$enableval" = yes; then
5457 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5458 else
5459 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5460 fi
5461
5462 else
5463
5464 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5467 else
5468 no_cache=1
5469 fi
5470
5471 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5472
5473 fi;
5474
5475 eval "$ac_cv_use_system_options"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5478 fi
5479
5480 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5483 else
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5486 fi
5487
5488
5489
5490 enablestring=
5491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5492 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5493 no_cache=0
5494 # Check whether --enable-url or --disable-url was given.
5495 if test "${enable_url+set}" = set; then
5496 enableval="$enable_url"
5497
5498 if test "$enableval" = yes; then
5499 ac_cv_use_url='wxUSE_URL=yes'
5500 else
5501 ac_cv_use_url='wxUSE_URL=no'
5502 fi
5503
5504 else
5505
5506 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5507 if test "x$LINE" != x ; then
5508 eval "DEFAULT_$LINE"
5509 else
5510 no_cache=1
5511 fi
5512
5513 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5514
5515 fi;
5516
5517 eval "$ac_cv_use_url"
5518 if test "$no_cache" != 1; then
5519 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5520 fi
5521
5522 if test "$wxUSE_URL" = yes; then
5523 echo "$as_me:$LINENO: result: yes" >&5
5524 echo "${ECHO_T}yes" >&6
5525 else
5526 echo "$as_me:$LINENO: result: no" >&5
5527 echo "${ECHO_T}no" >&6
5528 fi
5529
5530
5531 enablestring=
5532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5533 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5534 no_cache=0
5535 # Check whether --enable-protocol or --disable-protocol was given.
5536 if test "${enable_protocol+set}" = set; then
5537 enableval="$enable_protocol"
5538
5539 if test "$enableval" = yes; then
5540 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5541 else
5542 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5543 fi
5544
5545 else
5546
5547 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5548 if test "x$LINE" != x ; then
5549 eval "DEFAULT_$LINE"
5550 else
5551 no_cache=1
5552 fi
5553
5554 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5555
5556 fi;
5557
5558 eval "$ac_cv_use_protocol"
5559 if test "$no_cache" != 1; then
5560 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5561 fi
5562
5563 if test "$wxUSE_PROTOCOL" = yes; then
5564 echo "$as_me:$LINENO: result: yes" >&5
5565 echo "${ECHO_T}yes" >&6
5566 else
5567 echo "$as_me:$LINENO: result: no" >&5
5568 echo "${ECHO_T}no" >&6
5569 fi
5570
5571
5572 enablestring=
5573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5574 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5575 no_cache=0
5576 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5577 if test "${enable_protocol_http+set}" = set; then
5578 enableval="$enable_protocol_http"
5579
5580 if test "$enableval" = yes; then
5581 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5582 else
5583 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5584 fi
5585
5586 else
5587
5588 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5589 if test "x$LINE" != x ; then
5590 eval "DEFAULT_$LINE"
5591 else
5592 no_cache=1
5593 fi
5594
5595 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5596
5597 fi;
5598
5599 eval "$ac_cv_use_protocol_http"
5600 if test "$no_cache" != 1; then
5601 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5602 fi
5603
5604 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5605 echo "$as_me:$LINENO: result: yes" >&5
5606 echo "${ECHO_T}yes" >&6
5607 else
5608 echo "$as_me:$LINENO: result: no" >&5
5609 echo "${ECHO_T}no" >&6
5610 fi
5611
5612
5613 enablestring=
5614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5615 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5616 no_cache=0
5617 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5618 if test "${enable_protocol_ftp+set}" = set; then
5619 enableval="$enable_protocol_ftp"
5620
5621 if test "$enableval" = yes; then
5622 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5623 else
5624 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5625 fi
5626
5627 else
5628
5629 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5630 if test "x$LINE" != x ; then
5631 eval "DEFAULT_$LINE"
5632 else
5633 no_cache=1
5634 fi
5635
5636 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5637
5638 fi;
5639
5640 eval "$ac_cv_use_protocol_ftp"
5641 if test "$no_cache" != 1; then
5642 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5643 fi
5644
5645 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5646 echo "$as_me:$LINENO: result: yes" >&5
5647 echo "${ECHO_T}yes" >&6
5648 else
5649 echo "$as_me:$LINENO: result: no" >&5
5650 echo "${ECHO_T}no" >&6
5651 fi
5652
5653
5654 enablestring=
5655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5656 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5657 no_cache=0
5658 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5659 if test "${enable_protocol_file+set}" = set; then
5660 enableval="$enable_protocol_file"
5661
5662 if test "$enableval" = yes; then
5663 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5664 else
5665 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5666 fi
5667
5668 else
5669
5670 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5671 if test "x$LINE" != x ; then
5672 eval "DEFAULT_$LINE"
5673 else
5674 no_cache=1
5675 fi
5676
5677 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5678
5679 fi;
5680
5681 eval "$ac_cv_use_protocol_file"
5682 if test "$no_cache" != 1; then
5683 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5684 fi
5685
5686 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5687 echo "$as_me:$LINENO: result: yes" >&5
5688 echo "${ECHO_T}yes" >&6
5689 else
5690 echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6
5692 fi
5693
5694
5695
5696
5697
5698 enablestring=
5699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5700 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5701 no_cache=0
5702 # Check whether --enable-threads or --disable-threads was given.
5703 if test "${enable_threads+set}" = set; then
5704 enableval="$enable_threads"
5705
5706 if test "$enableval" = yes; then
5707 ac_cv_use_threads='wxUSE_THREADS=yes'
5708 else
5709 ac_cv_use_threads='wxUSE_THREADS=no'
5710 fi
5711
5712 else
5713
5714 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5715 if test "x$LINE" != x ; then
5716 eval "DEFAULT_$LINE"
5717 else
5718 no_cache=1
5719 fi
5720
5721 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5722
5723 fi;
5724
5725 eval "$ac_cv_use_threads"
5726 if test "$no_cache" != 1; then
5727 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5728 fi
5729
5730 if test "$wxUSE_THREADS" = yes; then
5731 echo "$as_me:$LINENO: result: yes" >&5
5732 echo "${ECHO_T}yes" >&6
5733 else
5734 echo "$as_me:$LINENO: result: no" >&5
5735 echo "${ECHO_T}no" >&6
5736 fi
5737
5738
5739 if test "$wxUSE_GUI" = "yes"; then
5740
5741
5742
5743 enablestring=
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5746 no_cache=0
5747 # Check whether --enable-docview or --disable-docview was given.
5748 if test "${enable_docview+set}" = set; then
5749 enableval="$enable_docview"
5750
5751 if test "$enableval" = yes; then
5752 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5753 else
5754 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5755 fi
5756
5757 else
5758
5759 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x ; then
5761 eval "DEFAULT_$LINE"
5762 else
5763 no_cache=1
5764 fi
5765
5766 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5767
5768 fi;
5769
5770 eval "$ac_cv_use_docview"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5773 fi
5774
5775 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5778 else
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5781 fi
5782
5783
5784 enablestring=
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5787 no_cache=0
5788 # Check whether --enable-help or --disable-help was given.
5789 if test "${enable_help+set}" = set; then
5790 enableval="$enable_help"
5791
5792 if test "$enableval" = yes; then
5793 ac_cv_use_help='wxUSE_HELP=yes'
5794 else
5795 ac_cv_use_help='wxUSE_HELP=no'
5796 fi
5797
5798 else
5799
5800 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x ; then
5802 eval "DEFAULT_$LINE"
5803 else
5804 no_cache=1
5805 fi
5806
5807 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5808
5809 fi;
5810
5811 eval "$ac_cv_use_help"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5814 fi
5815
5816 if test "$wxUSE_HELP" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5819 else
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5822 fi
5823
5824
5825 enablestring=
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5828 no_cache=0
5829 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5830 if test "${enable_mshtmlhelp+set}" = set; then
5831 enableval="$enable_mshtmlhelp"
5832
5833 if test "$enableval" = yes; then
5834 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5835 else
5836 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5837 fi
5838
5839 else
5840
5841 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x ; then
5843 eval "DEFAULT_$LINE"
5844 else
5845 no_cache=1
5846 fi
5847
5848 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5849
5850 fi;
5851
5852 eval "$ac_cv_use_mshtmlhelp"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5855 fi
5856
5857 if test "$wxUSE_MS_HTML_HELP" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5860 else
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5863 fi
5864
5865
5866 enablestring=
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5869 no_cache=0
5870 # Check whether --enable-html or --disable-html was given.
5871 if test "${enable_html+set}" = set; then
5872 enableval="$enable_html"
5873
5874 if test "$enableval" = yes; then
5875 ac_cv_use_html='wxUSE_HTML=yes'
5876 else
5877 ac_cv_use_html='wxUSE_HTML=no'
5878 fi
5879
5880 else
5881
5882 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x ; then
5884 eval "DEFAULT_$LINE"
5885 else
5886 no_cache=1
5887 fi
5888
5889 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5890
5891 fi;
5892
5893 eval "$ac_cv_use_html"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5896 fi
5897
5898 if test "$wxUSE_HTML" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5901 else
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5904 fi
5905
5906
5907 enablestring=
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5910 no_cache=0
5911 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5912 if test "${enable_htmlhelp+set}" = set; then
5913 enableval="$enable_htmlhelp"
5914
5915 if test "$enableval" = yes; then
5916 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5917 else
5918 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5919 fi
5920
5921 else
5922
5923 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x ; then
5925 eval "DEFAULT_$LINE"
5926 else
5927 no_cache=1
5928 fi
5929
5930 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5931
5932 fi;
5933
5934 eval "$ac_cv_use_htmlhelp"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5937 fi
5938
5939 if test "$wxUSE_WXHTML_HELP" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5942 else
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5945 fi
5946
5947
5948 enablestring=
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5951 no_cache=0
5952 # Check whether --enable-constraints or --disable-constraints was given.
5953 if test "${enable_constraints+set}" = set; then
5954 enableval="$enable_constraints"
5955
5956 if test "$enableval" = yes; then
5957 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5958 else
5959 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5960 fi
5961
5962 else
5963
5964 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x ; then
5966 eval "DEFAULT_$LINE"
5967 else
5968 no_cache=1
5969 fi
5970
5971 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5972
5973 fi;
5974
5975 eval "$ac_cv_use_constraints"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5978 fi
5979
5980 if test "$wxUSE_CONSTRAINTS" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5983 else
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5986 fi
5987
5988
5989 enablestring=
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5992 no_cache=0
5993 # Check whether --enable-printarch or --disable-printarch was given.
5994 if test "${enable_printarch+set}" = set; then
5995 enableval="$enable_printarch"
5996
5997 if test "$enableval" = yes; then
5998 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5999 else
6000 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6001 fi
6002
6003 else
6004
6005 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6008 else
6009 no_cache=1
6010 fi
6011
6012 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6013
6014 fi;
6015
6016 eval "$ac_cv_use_printarch"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6019 fi
6020
6021 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6024 else
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6027 fi
6028
6029
6030 enablestring=
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6033 no_cache=0
6034 # Check whether --enable-mdi or --disable-mdi was given.
6035 if test "${enable_mdi+set}" = set; then
6036 enableval="$enable_mdi"
6037
6038 if test "$enableval" = yes; then
6039 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6040 else
6041 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6042 fi
6043
6044 else
6045
6046 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x ; then
6048 eval "DEFAULT_$LINE"
6049 else
6050 no_cache=1
6051 fi
6052
6053 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6054
6055 fi;
6056
6057 eval "$ac_cv_use_mdi"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6060 fi
6061
6062 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6065 else
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6068 fi
6069
6070
6071 enablestring=
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6074 no_cache=0
6075 # Check whether --enable-loggui or --disable-loggui was given.
6076 if test "${enable_loggui+set}" = set; then
6077 enableval="$enable_loggui"
6078
6079 if test "$enableval" = yes; then
6080 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6081 else
6082 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6083 fi
6084
6085 else
6086
6087 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x ; then
6089 eval "DEFAULT_$LINE"
6090 else
6091 no_cache=1
6092 fi
6093
6094 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6095
6096 fi;
6097
6098 eval "$ac_cv_use_loggui"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6101 fi
6102
6103 if test "$wxUSE_LOGGUI" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6106 else
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6109 fi
6110
6111
6112 enablestring=
6113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6115 no_cache=0
6116 # Check whether --enable-logwin or --disable-logwin was given.
6117 if test "${enable_logwin+set}" = set; then
6118 enableval="$enable_logwin"
6119
6120 if test "$enableval" = yes; then
6121 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6122 else
6123 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6124 fi
6125
6126 else
6127
6128 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x ; then
6130 eval "DEFAULT_$LINE"
6131 else
6132 no_cache=1
6133 fi
6134
6135 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6136
6137 fi;
6138
6139 eval "$ac_cv_use_logwin"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6142 fi
6143
6144 if test "$wxUSE_LOGWINDOW" = yes; then
6145 echo "$as_me:$LINENO: result: yes" >&5
6146 echo "${ECHO_T}yes" >&6
6147 else
6148 echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6
6150 fi
6151
6152
6153 enablestring=
6154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6156 no_cache=0
6157 # Check whether --enable-logdialog or --disable-logdialog was given.
6158 if test "${enable_logdialog+set}" = set; then
6159 enableval="$enable_logdialog"
6160
6161 if test "$enableval" = yes; then
6162 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6163 else
6164 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6165 fi
6166
6167 else
6168
6169 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6170 if test "x$LINE" != x ; then
6171 eval "DEFAULT_$LINE"
6172 else
6173 no_cache=1
6174 fi
6175
6176 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6177
6178 fi;
6179
6180 eval "$ac_cv_use_logdialog"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6183 fi
6184
6185 if test "$wxUSE_LOGDIALOG" = yes; then
6186 echo "$as_me:$LINENO: result: yes" >&5
6187 echo "${ECHO_T}yes" >&6
6188 else
6189 echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6
6191 fi
6192
6193
6194
6195 enablestring=
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6198 no_cache=0
6199 # Check whether --enable-postscript or --disable-postscript was given.
6200 if test "${enable_postscript+set}" = set; then
6201 enableval="$enable_postscript"
6202
6203 if test "$enableval" = yes; then
6204 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6205 else
6206 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6207 fi
6208
6209 else
6210
6211 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x ; then
6213 eval "DEFAULT_$LINE"
6214 else
6215 no_cache=1
6216 fi
6217
6218 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6219
6220 fi;
6221
6222 eval "$ac_cv_use_postscript"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6225 fi
6226
6227 if test "$wxUSE_POSTSCRIPT" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6230 else
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6233 fi
6234
6235
6236
6237
6238
6239 enablestring=
6240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6241 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6242 no_cache=0
6243 # Check whether --enable-prologio or --disable-prologio was given.
6244 if test "${enable_prologio+set}" = set; then
6245 enableval="$enable_prologio"
6246
6247 if test "$enableval" = yes; then
6248 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6249 else
6250 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6251 fi
6252
6253 else
6254
6255 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x ; then
6257 eval "DEFAULT_$LINE"
6258 else
6259 no_cache=1
6260 fi
6261
6262 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6263
6264 fi;
6265
6266 eval "$ac_cv_use_prologio"
6267 if test "$no_cache" != 1; then
6268 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6269 fi
6270
6271 if test "$wxUSE_PROLOGIO" = yes; then
6272 echo "$as_me:$LINENO: result: yes" >&5
6273 echo "${ECHO_T}yes" >&6
6274 else
6275 echo "$as_me:$LINENO: result: no" >&5
6276 echo "${ECHO_T}no" >&6
6277 fi
6278
6279
6280 enablestring=
6281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6282 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6283 no_cache=0
6284 # Check whether --enable-resources or --disable-resources was given.
6285 if test "${enable_resources+set}" = set; then
6286 enableval="$enable_resources"
6287
6288 if test "$enableval" = yes; then
6289 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6290 else
6291 ac_cv_use_resources='wxUSE_RESOURCES=no'
6292 fi
6293
6294 else
6295
6296 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6297 if test "x$LINE" != x ; then
6298 eval "DEFAULT_$LINE"
6299 else
6300 no_cache=1
6301 fi
6302
6303 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6304
6305 fi;
6306
6307 eval "$ac_cv_use_resources"
6308 if test "$no_cache" != 1; then
6309 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6310 fi
6311
6312 if test "$wxUSE_RESOURCES" = yes; then
6313 echo "$as_me:$LINENO: result: yes" >&5
6314 echo "${ECHO_T}yes" >&6
6315 else
6316 echo "$as_me:$LINENO: result: no" >&5
6317 echo "${ECHO_T}no" >&6
6318 fi
6319
6320
6321
6322
6323 enablestring=
6324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6325 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6326 no_cache=0
6327 # Check whether --enable-clipboard or --disable-clipboard was given.
6328 if test "${enable_clipboard+set}" = set; then
6329 enableval="$enable_clipboard"
6330
6331 if test "$enableval" = yes; then
6332 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6333 else
6334 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6335 fi
6336
6337 else
6338
6339 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6340 if test "x$LINE" != x ; then
6341 eval "DEFAULT_$LINE"
6342 else
6343 no_cache=1
6344 fi
6345
6346 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6347
6348 fi;
6349
6350 eval "$ac_cv_use_clipboard"
6351 if test "$no_cache" != 1; then
6352 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6353 fi
6354
6355 if test "$wxUSE_CLIPBOARD" = yes; then
6356 echo "$as_me:$LINENO: result: yes" >&5
6357 echo "${ECHO_T}yes" >&6
6358 else
6359 echo "$as_me:$LINENO: result: no" >&5
6360 echo "${ECHO_T}no" >&6
6361 fi
6362
6363
6364 enablestring=
6365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6367 no_cache=0
6368 # Check whether --enable-dnd or --disable-dnd was given.
6369 if test "${enable_dnd+set}" = set; then
6370 enableval="$enable_dnd"
6371
6372 if test "$enableval" = yes; then
6373 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6374 else
6375 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6376 fi
6377
6378 else
6379
6380 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6381 if test "x$LINE" != x ; then
6382 eval "DEFAULT_$LINE"
6383 else
6384 no_cache=1
6385 fi
6386
6387 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6388
6389 fi;
6390
6391 eval "$ac_cv_use_dnd"
6392 if test "$no_cache" != 1; then
6393 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6394 fi
6395
6396 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6397 echo "$as_me:$LINENO: result: yes" >&5
6398 echo "${ECHO_T}yes" >&6
6399 else
6400 echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6
6402 fi
6403
6404
6405 enablestring=
6406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6407 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6408 no_cache=0
6409 # Check whether --enable-metafile or --disable-metafile was given.
6410 if test "${enable_metafile+set}" = set; then
6411 enableval="$enable_metafile"
6412
6413 if test "$enableval" = yes; then
6414 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6415 else
6416 ac_cv_use_metafile='wxUSE_METAFILE=no'
6417 fi
6418
6419 else
6420
6421 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6422 if test "x$LINE" != x ; then
6423 eval "DEFAULT_$LINE"
6424 else
6425 no_cache=1
6426 fi
6427
6428 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6429
6430 fi;
6431
6432 eval "$ac_cv_use_metafile"
6433 if test "$no_cache" != 1; then
6434 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6435 fi
6436
6437 if test "$wxUSE_METAFILE" = yes; then
6438 echo "$as_me:$LINENO: result: yes" >&5
6439 echo "${ECHO_T}yes" >&6
6440 else
6441 echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6
6443 fi
6444
6445
6446
6447
6448
6449 enablestring=
6450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6451 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6452 no_cache=0
6453 # Check whether --enable-controls or --disable-controls was given.
6454 if test "${enable_controls+set}" = set; then
6455 enableval="$enable_controls"
6456
6457 if test "$enableval" = yes; then
6458 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6459 else
6460 ac_cv_use_controls='wxUSE_CONTROLS=no'
6461 fi
6462
6463 else
6464
6465 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6466 if test "x$LINE" != x ; then
6467 eval "DEFAULT_$LINE"
6468 else
6469 no_cache=1
6470 fi
6471
6472 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6473
6474 fi;
6475
6476 eval "$ac_cv_use_controls"
6477 if test "$no_cache" != 1; then
6478 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6479 fi
6480
6481 if test "$wxUSE_CONTROLS" = yes; then
6482 echo "$as_me:$LINENO: result: yes" >&5
6483 echo "${ECHO_T}yes" >&6
6484 else
6485 echo "$as_me:$LINENO: result: no" >&5
6486 echo "${ECHO_T}no" >&6
6487 fi
6488
6489
6490 if test "$wxUSE_CONTROLS" = "yes"; then
6491 DEFAULT_wxUSE_ACCEL=yes
6492 DEFAULT_wxUSE_BMPBUTTON=yes
6493 DEFAULT_wxUSE_BUTTON=yes
6494 DEFAULT_wxUSE_CALCTRL=no
6495 DEFAULT_wxUSE_CARET=yes
6496 DEFAULT_wxUSE_COMBOBOX=yes
6497 DEFAULT_wxUSE_CHECKBOX=yes
6498 DEFAULT_wxUSE_CHECKLISTBOX=yes
6499 DEFAULT_wxUSE_CHOICE=yes
6500 DEFAULT_wxUSE_GAUGE=yes
6501 DEFAULT_wxUSE_GRID=yes
6502 DEFAULT_wxUSE_IMAGLIST=yes
6503 DEFAULT_wxUSE_LISTBOX=yes
6504 DEFAULT_wxUSE_LISTCTRL=yes
6505 DEFAULT_wxUSE_NOTEBOOK=yes
6506 DEFAULT_wxUSE_RADIOBOX=yes
6507 DEFAULT_wxUSE_RADIOBTN=yes
6508 DEFAULT_wxUSE_SASH=yes
6509 DEFAULT_wxUSE_SCROLLBAR=yes
6510 DEFAULT_wxUSE_SLIDER=yes
6511 DEFAULT_wxUSE_SPINBTN=yes
6512 DEFAULT_wxUSE_SPINCTRL=yes
6513 DEFAULT_wxUSE_SPLITTER=yes
6514 DEFAULT_wxUSE_STATBMP=yes
6515 DEFAULT_wxUSE_STATBOX=yes
6516 DEFAULT_wxUSE_STATLINE=yes
6517 DEFAULT_wxUSE_STATUSBAR=yes
6518 DEFAULT_wxUSE_TAB_DIALOG=yes
6519 DEFAULT_wxUSE_TOGGLEBTN=yes
6520 DEFAULT_wxUSE_TOOLBAR=yes
6521 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6522 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6523 DEFAULT_wxUSE_TOOLTIPS=yes
6524 DEFAULT_wxUSE_TREECTRL=yes
6525 DEFAULT_wxUSE_POPUPWIN=yes
6526 DEFAULT_wxUSE_TIPWINDOW=yes
6527 elif test "$wxUSE_CONTROLS" = "no"; then
6528 DEFAULT_wxUSE_ACCEL=no
6529 DEFAULT_wxUSE_BMPBUTTON=no
6530 DEFAULT_wxUSE_BUTTON=no
6531 DEFAULT_wxUSE_CALCTRL=no
6532 DEFAULT_wxUSE_CARET=no
6533 DEFAULT_wxUSE_COMBOBOX=no
6534 DEFAULT_wxUSE_CHECKBOX=no
6535 DEFAULT_wxUSE_CHECKLISTBOX=no
6536 DEFAULT_wxUSE_CHOICE=no
6537 DEFAULT_wxUSE_GAUGE=no
6538 DEFAULT_wxUSE_GRID=no
6539 DEFAULT_wxUSE_IMAGLIST=no
6540 DEFAULT_wxUSE_LISTBOX=no
6541 DEFAULT_wxUSE_LISTCTRL=no
6542 DEFAULT_wxUSE_NOTEBOOK=no
6543 DEFAULT_wxUSE_RADIOBOX=no
6544 DEFAULT_wxUSE_RADIOBTN=no
6545 DEFAULT_wxUSE_SASH=no
6546 DEFAULT_wxUSE_SCROLLBAR=no
6547 DEFAULT_wxUSE_SLIDER=no
6548 DEFAULT_wxUSE_SPINBTN=no
6549 DEFAULT_wxUSE_SPINCTRL=no
6550 DEFAULT_wxUSE_SPLITTER=no
6551 DEFAULT_wxUSE_STATBMP=no
6552 DEFAULT_wxUSE_STATBOX=no
6553 DEFAULT_wxUSE_STATLINE=no
6554 DEFAULT_wxUSE_STATUSBAR=no
6555 DEFAULT_wxUSE_TAB_DIALOG=no
6556 DEFAULT_wxUSE_TOGGLEBTN=no
6557 DEFAULT_wxUSE_TOOLBAR=no
6558 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6559 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6560 DEFAULT_wxUSE_TOOLTIPS=no
6561 DEFAULT_wxUSE_TREECTRL=no
6562 DEFAULT_wxUSE_POPUPWIN=no
6563 DEFAULT_wxUSE_TIPWINDOW=no
6564 fi
6565
6566 ## FIXME: This is a blatant hack
6567 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6568 wxUSE_PRINTING_ARCHITECTURE=no
6569 wxUSE_DRAG_AND_DROP=no
6570 # Generic notebook requires tab dialog
6571 DEFAULT_wxUSE_TABDIALOG=yes
6572 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6573 DEFAULT_wxUSE_SCROLLBAR=no
6574 DEFAULT_wxUSE_TOOLTIPS=no
6575 DEFAULT_wxUSE_DRAGIMAGE=no
6576 fi
6577
6578
6579 enablestring=
6580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6581 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6582 no_cache=0
6583 # Check whether --enable-accel or --disable-accel was given.
6584 if test "${enable_accel+set}" = set; then
6585 enableval="$enable_accel"
6586
6587 if test "$enableval" = yes; then
6588 ac_cv_use_accel='wxUSE_ACCEL=yes'
6589 else
6590 ac_cv_use_accel='wxUSE_ACCEL=no'
6591 fi
6592
6593 else
6594
6595 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6596 if test "x$LINE" != x ; then
6597 eval "DEFAULT_$LINE"
6598 else
6599 no_cache=1
6600 fi
6601
6602 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6603
6604 fi;
6605
6606 eval "$ac_cv_use_accel"
6607 if test "$no_cache" != 1; then
6608 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6609 fi
6610
6611 if test "$wxUSE_ACCEL" = yes; then
6612 echo "$as_me:$LINENO: result: yes" >&5
6613 echo "${ECHO_T}yes" >&6
6614 else
6615 echo "$as_me:$LINENO: result: no" >&5
6616 echo "${ECHO_T}no" >&6
6617 fi
6618
6619
6620 enablestring=
6621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6622 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6623 no_cache=0
6624 # Check whether --enable-button or --disable-button was given.
6625 if test "${enable_button+set}" = set; then
6626 enableval="$enable_button"
6627
6628 if test "$enableval" = yes; then
6629 ac_cv_use_button='wxUSE_BUTTON=yes'
6630 else
6631 ac_cv_use_button='wxUSE_BUTTON=no'
6632 fi
6633
6634 else
6635
6636 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6637 if test "x$LINE" != x ; then
6638 eval "DEFAULT_$LINE"
6639 else
6640 no_cache=1
6641 fi
6642
6643 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6644
6645 fi;
6646
6647 eval "$ac_cv_use_button"
6648 if test "$no_cache" != 1; then
6649 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6650 fi
6651
6652 if test "$wxUSE_BUTTON" = yes; then
6653 echo "$as_me:$LINENO: result: yes" >&5
6654 echo "${ECHO_T}yes" >&6
6655 else
6656 echo "$as_me:$LINENO: result: no" >&5
6657 echo "${ECHO_T}no" >&6
6658 fi
6659
6660
6661 enablestring=
6662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6663 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6664 no_cache=0
6665 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6666 if test "${enable_bmpbutton+set}" = set; then
6667 enableval="$enable_bmpbutton"
6668
6669 if test "$enableval" = yes; then
6670 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6671 else
6672 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6673 fi
6674
6675 else
6676
6677 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6678 if test "x$LINE" != x ; then
6679 eval "DEFAULT_$LINE"
6680 else
6681 no_cache=1
6682 fi
6683
6684 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6685
6686 fi;
6687
6688 eval "$ac_cv_use_bmpbutton"
6689 if test "$no_cache" != 1; then
6690 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6691 fi
6692
6693 if test "$wxUSE_BMPBUTTON" = yes; then
6694 echo "$as_me:$LINENO: result: yes" >&5
6695 echo "${ECHO_T}yes" >&6
6696 else
6697 echo "$as_me:$LINENO: result: no" >&5
6698 echo "${ECHO_T}no" >&6
6699 fi
6700
6701
6702 enablestring=
6703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6704 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6705 no_cache=0
6706 # Check whether --enable-calendar or --disable-calendar was given.
6707 if test "${enable_calendar+set}" = set; then
6708 enableval="$enable_calendar"
6709
6710 if test "$enableval" = yes; then
6711 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6712 else
6713 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6714 fi
6715
6716 else
6717
6718 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6719 if test "x$LINE" != x ; then
6720 eval "DEFAULT_$LINE"
6721 else
6722 no_cache=1
6723 fi
6724
6725 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6726
6727 fi;
6728
6729 eval "$ac_cv_use_calendar"
6730 if test "$no_cache" != 1; then
6731 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6732 fi
6733
6734 if test "$wxUSE_CALCTRL" = yes; then
6735 echo "$as_me:$LINENO: result: yes" >&5
6736 echo "${ECHO_T}yes" >&6
6737 else
6738 echo "$as_me:$LINENO: result: no" >&5
6739 echo "${ECHO_T}no" >&6
6740 fi
6741
6742
6743 enablestring=
6744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6745 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6746 no_cache=0
6747 # Check whether --enable-caret or --disable-caret was given.
6748 if test "${enable_caret+set}" = set; then
6749 enableval="$enable_caret"
6750
6751 if test "$enableval" = yes; then
6752 ac_cv_use_caret='wxUSE_CARET=yes'
6753 else
6754 ac_cv_use_caret='wxUSE_CARET=no'
6755 fi
6756
6757 else
6758
6759 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6760 if test "x$LINE" != x ; then
6761 eval "DEFAULT_$LINE"
6762 else
6763 no_cache=1
6764 fi
6765
6766 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6767
6768 fi;
6769
6770 eval "$ac_cv_use_caret"
6771 if test "$no_cache" != 1; then
6772 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6773 fi
6774
6775 if test "$wxUSE_CARET" = yes; then
6776 echo "$as_me:$LINENO: result: yes" >&5
6777 echo "${ECHO_T}yes" >&6
6778 else
6779 echo "$as_me:$LINENO: result: no" >&5
6780 echo "${ECHO_T}no" >&6
6781 fi
6782
6783
6784 enablestring=
6785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6787 no_cache=0
6788 # Check whether --enable-checkbox or --disable-checkbox was given.
6789 if test "${enable_checkbox+set}" = set; then
6790 enableval="$enable_checkbox"
6791
6792 if test "$enableval" = yes; then
6793 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6794 else
6795 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6796 fi
6797
6798 else
6799
6800 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6801 if test "x$LINE" != x ; then
6802 eval "DEFAULT_$LINE"
6803 else
6804 no_cache=1
6805 fi
6806
6807 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6808
6809 fi;
6810
6811 eval "$ac_cv_use_checkbox"
6812 if test "$no_cache" != 1; then
6813 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6814 fi
6815
6816 if test "$wxUSE_CHECKBOX" = yes; then
6817 echo "$as_me:$LINENO: result: yes" >&5
6818 echo "${ECHO_T}yes" >&6
6819 else
6820 echo "$as_me:$LINENO: result: no" >&5
6821 echo "${ECHO_T}no" >&6
6822 fi
6823
6824
6825 enablestring=
6826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6827 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6828 no_cache=0
6829 # Check whether --enable-checklst or --disable-checklst was given.
6830 if test "${enable_checklst+set}" = set; then
6831 enableval="$enable_checklst"
6832
6833 if test "$enableval" = yes; then
6834 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6835 else
6836 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6837 fi
6838
6839 else
6840
6841 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6842 if test "x$LINE" != x ; then
6843 eval "DEFAULT_$LINE"
6844 else
6845 no_cache=1
6846 fi
6847
6848 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6849
6850 fi;
6851
6852 eval "$ac_cv_use_checklst"
6853 if test "$no_cache" != 1; then
6854 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6855 fi
6856
6857 if test "$wxUSE_CHECKLST" = yes; then
6858 echo "$as_me:$LINENO: result: yes" >&5
6859 echo "${ECHO_T}yes" >&6
6860 else
6861 echo "$as_me:$LINENO: result: no" >&5
6862 echo "${ECHO_T}no" >&6
6863 fi
6864
6865
6866 enablestring=
6867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6868 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6869 no_cache=0
6870 # Check whether --enable-choice or --disable-choice was given.
6871 if test "${enable_choice+set}" = set; then
6872 enableval="$enable_choice"
6873
6874 if test "$enableval" = yes; then
6875 ac_cv_use_choice='wxUSE_CHOICE=yes'
6876 else
6877 ac_cv_use_choice='wxUSE_CHOICE=no'
6878 fi
6879
6880 else
6881
6882 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6883 if test "x$LINE" != x ; then
6884 eval "DEFAULT_$LINE"
6885 else
6886 no_cache=1
6887 fi
6888
6889 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6890
6891 fi;
6892
6893 eval "$ac_cv_use_choice"
6894 if test "$no_cache" != 1; then
6895 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6896 fi
6897
6898 if test "$wxUSE_CHOICE" = yes; then
6899 echo "$as_me:$LINENO: result: yes" >&5
6900 echo "${ECHO_T}yes" >&6
6901 else
6902 echo "$as_me:$LINENO: result: no" >&5
6903 echo "${ECHO_T}no" >&6
6904 fi
6905
6906
6907 enablestring=
6908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6909 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6910 no_cache=0
6911 # Check whether --enable-combobox or --disable-combobox was given.
6912 if test "${enable_combobox+set}" = set; then
6913 enableval="$enable_combobox"
6914
6915 if test "$enableval" = yes; then
6916 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6917 else
6918 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6919 fi
6920
6921 else
6922
6923 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6924 if test "x$LINE" != x ; then
6925 eval "DEFAULT_$LINE"
6926 else
6927 no_cache=1
6928 fi
6929
6930 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6931
6932 fi;
6933
6934 eval "$ac_cv_use_combobox"
6935 if test "$no_cache" != 1; then
6936 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6937 fi
6938
6939 if test "$wxUSE_COMBOBOX" = yes; then
6940 echo "$as_me:$LINENO: result: yes" >&5
6941 echo "${ECHO_T}yes" >&6
6942 else
6943 echo "$as_me:$LINENO: result: no" >&5
6944 echo "${ECHO_T}no" >&6
6945 fi
6946
6947
6948 enablestring=
6949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6950 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6951 no_cache=0
6952 # Check whether --enable-display or --disable-display was given.
6953 if test "${enable_display+set}" = set; then
6954 enableval="$enable_display"
6955
6956 if test "$enableval" = yes; then
6957 ac_cv_use_display='wxUSE_DISPLAY=yes'
6958 else
6959 ac_cv_use_display='wxUSE_DISPLAY=no'
6960 fi
6961
6962 else
6963
6964 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6965 if test "x$LINE" != x ; then
6966 eval "DEFAULT_$LINE"
6967 else
6968 no_cache=1
6969 fi
6970
6971 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6972
6973 fi;
6974
6975 eval "$ac_cv_use_display"
6976 if test "$no_cache" != 1; then
6977 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6978 fi
6979
6980 if test "$wxUSE_DISPLAY" = yes; then
6981 echo "$as_me:$LINENO: result: yes" >&5
6982 echo "${ECHO_T}yes" >&6
6983 else
6984 echo "$as_me:$LINENO: result: no" >&5
6985 echo "${ECHO_T}no" >&6
6986 fi
6987
6988
6989 enablestring=
6990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6991 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6992 no_cache=0
6993 # Check whether --enable-gauge or --disable-gauge was given.
6994 if test "${enable_gauge+set}" = set; then
6995 enableval="$enable_gauge"
6996
6997 if test "$enableval" = yes; then
6998 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6999 else
7000 ac_cv_use_gauge='wxUSE_GAUGE=no'
7001 fi
7002
7003 else
7004
7005 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7006 if test "x$LINE" != x ; then
7007 eval "DEFAULT_$LINE"
7008 else
7009 no_cache=1
7010 fi
7011
7012 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7013
7014 fi;
7015
7016 eval "$ac_cv_use_gauge"
7017 if test "$no_cache" != 1; then
7018 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7019 fi
7020
7021 if test "$wxUSE_GAUGE" = yes; then
7022 echo "$as_me:$LINENO: result: yes" >&5
7023 echo "${ECHO_T}yes" >&6
7024 else
7025 echo "$as_me:$LINENO: result: no" >&5
7026 echo "${ECHO_T}no" >&6
7027 fi
7028
7029
7030 enablestring=
7031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7032 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7033 no_cache=0
7034 # Check whether --enable-grid or --disable-grid was given.
7035 if test "${enable_grid+set}" = set; then
7036 enableval="$enable_grid"
7037
7038 if test "$enableval" = yes; then
7039 ac_cv_use_grid='wxUSE_GRID=yes'
7040 else
7041 ac_cv_use_grid='wxUSE_GRID=no'
7042 fi
7043
7044 else
7045
7046 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7047 if test "x$LINE" != x ; then
7048 eval "DEFAULT_$LINE"
7049 else
7050 no_cache=1
7051 fi
7052
7053 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7054
7055 fi;
7056
7057 eval "$ac_cv_use_grid"
7058 if test "$no_cache" != 1; then
7059 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7060 fi
7061
7062 if test "$wxUSE_GRID" = yes; then
7063 echo "$as_me:$LINENO: result: yes" >&5
7064 echo "${ECHO_T}yes" >&6
7065 else
7066 echo "$as_me:$LINENO: result: no" >&5
7067 echo "${ECHO_T}no" >&6
7068 fi
7069
7070
7071 enablestring=
7072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7073 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7074 no_cache=0
7075 # Check whether --enable-imaglist or --disable-imaglist was given.
7076 if test "${enable_imaglist+set}" = set; then
7077 enableval="$enable_imaglist"
7078
7079 if test "$enableval" = yes; then
7080 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7081 else
7082 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7083 fi
7084
7085 else
7086
7087 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7088 if test "x$LINE" != x ; then
7089 eval "DEFAULT_$LINE"
7090 else
7091 no_cache=1
7092 fi
7093
7094 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7095
7096 fi;
7097
7098 eval "$ac_cv_use_imaglist"
7099 if test "$no_cache" != 1; then
7100 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7101 fi
7102
7103 if test "$wxUSE_IMAGLIST" = yes; then
7104 echo "$as_me:$LINENO: result: yes" >&5
7105 echo "${ECHO_T}yes" >&6
7106 else
7107 echo "$as_me:$LINENO: result: no" >&5
7108 echo "${ECHO_T}no" >&6
7109 fi
7110
7111
7112 enablestring=
7113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7114 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7115 no_cache=0
7116 # Check whether --enable-listbox or --disable-listbox was given.
7117 if test "${enable_listbox+set}" = set; then
7118 enableval="$enable_listbox"
7119
7120 if test "$enableval" = yes; then
7121 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7122 else
7123 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7124 fi
7125
7126 else
7127
7128 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7129 if test "x$LINE" != x ; then
7130 eval "DEFAULT_$LINE"
7131 else
7132 no_cache=1
7133 fi
7134
7135 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7136
7137 fi;
7138
7139 eval "$ac_cv_use_listbox"
7140 if test "$no_cache" != 1; then
7141 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7142 fi
7143
7144 if test "$wxUSE_LISTBOX" = yes; then
7145 echo "$as_me:$LINENO: result: yes" >&5
7146 echo "${ECHO_T}yes" >&6
7147 else
7148 echo "$as_me:$LINENO: result: no" >&5
7149 echo "${ECHO_T}no" >&6
7150 fi
7151
7152
7153 enablestring=
7154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7155 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7156 no_cache=0
7157 # Check whether --enable-listctrl or --disable-listctrl was given.
7158 if test "${enable_listctrl+set}" = set; then
7159 enableval="$enable_listctrl"
7160
7161 if test "$enableval" = yes; then
7162 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7163 else
7164 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7165 fi
7166
7167 else
7168
7169 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7170 if test "x$LINE" != x ; then
7171 eval "DEFAULT_$LINE"
7172 else
7173 no_cache=1
7174 fi
7175
7176 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7177
7178 fi;
7179
7180 eval "$ac_cv_use_listctrl"
7181 if test "$no_cache" != 1; then
7182 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7183 fi
7184
7185 if test "$wxUSE_LISTCTRL" = yes; then
7186 echo "$as_me:$LINENO: result: yes" >&5
7187 echo "${ECHO_T}yes" >&6
7188 else
7189 echo "$as_me:$LINENO: result: no" >&5
7190 echo "${ECHO_T}no" >&6
7191 fi
7192
7193
7194 enablestring=
7195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7196 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7197 no_cache=0
7198 # Check whether --enable-notebook or --disable-notebook was given.
7199 if test "${enable_notebook+set}" = set; then
7200 enableval="$enable_notebook"
7201
7202 if test "$enableval" = yes; then
7203 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7204 else
7205 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7206 fi
7207
7208 else
7209
7210 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7211 if test "x$LINE" != x ; then
7212 eval "DEFAULT_$LINE"
7213 else
7214 no_cache=1
7215 fi
7216
7217 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7218
7219 fi;
7220
7221 eval "$ac_cv_use_notebook"
7222 if test "$no_cache" != 1; then
7223 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7224 fi
7225
7226 if test "$wxUSE_NOTEBOOK" = yes; then
7227 echo "$as_me:$LINENO: result: yes" >&5
7228 echo "${ECHO_T}yes" >&6
7229 else
7230 echo "$as_me:$LINENO: result: no" >&5
7231 echo "${ECHO_T}no" >&6
7232 fi
7233
7234
7235 enablestring=
7236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7237 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7238 no_cache=0
7239 # Check whether --enable-radiobox or --disable-radiobox was given.
7240 if test "${enable_radiobox+set}" = set; then
7241 enableval="$enable_radiobox"
7242
7243 if test "$enableval" = yes; then
7244 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7245 else
7246 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7247 fi
7248
7249 else
7250
7251 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7252 if test "x$LINE" != x ; then
7253 eval "DEFAULT_$LINE"
7254 else
7255 no_cache=1
7256 fi
7257
7258 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7259
7260 fi;
7261
7262 eval "$ac_cv_use_radiobox"
7263 if test "$no_cache" != 1; then
7264 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7265 fi
7266
7267 if test "$wxUSE_RADIOBOX" = yes; then
7268 echo "$as_me:$LINENO: result: yes" >&5
7269 echo "${ECHO_T}yes" >&6
7270 else
7271 echo "$as_me:$LINENO: result: no" >&5
7272 echo "${ECHO_T}no" >&6
7273 fi
7274
7275
7276 enablestring=
7277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7278 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7279 no_cache=0
7280 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7281 if test "${enable_radiobtn+set}" = set; then
7282 enableval="$enable_radiobtn"
7283
7284 if test "$enableval" = yes; then
7285 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7286 else
7287 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7288 fi
7289
7290 else
7291
7292 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7293 if test "x$LINE" != x ; then
7294 eval "DEFAULT_$LINE"
7295 else
7296 no_cache=1
7297 fi
7298
7299 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7300
7301 fi;
7302
7303 eval "$ac_cv_use_radiobtn"
7304 if test "$no_cache" != 1; then
7305 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7306 fi
7307
7308 if test "$wxUSE_RADIOBTN" = yes; then
7309 echo "$as_me:$LINENO: result: yes" >&5
7310 echo "${ECHO_T}yes" >&6
7311 else
7312 echo "$as_me:$LINENO: result: no" >&5
7313 echo "${ECHO_T}no" >&6
7314 fi
7315
7316
7317 enablestring=
7318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7319 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7320 no_cache=0
7321 # Check whether --enable-sash or --disable-sash was given.
7322 if test "${enable_sash+set}" = set; then
7323 enableval="$enable_sash"
7324
7325 if test "$enableval" = yes; then
7326 ac_cv_use_sash='wxUSE_SASH=yes'
7327 else
7328 ac_cv_use_sash='wxUSE_SASH=no'
7329 fi
7330
7331 else
7332
7333 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7334 if test "x$LINE" != x ; then
7335 eval "DEFAULT_$LINE"
7336 else
7337 no_cache=1
7338 fi
7339
7340 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7341
7342 fi;
7343
7344 eval "$ac_cv_use_sash"
7345 if test "$no_cache" != 1; then
7346 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7347 fi
7348
7349 if test "$wxUSE_SASH" = yes; then
7350 echo "$as_me:$LINENO: result: yes" >&5
7351 echo "${ECHO_T}yes" >&6
7352 else
7353 echo "$as_me:$LINENO: result: no" >&5
7354 echo "${ECHO_T}no" >&6
7355 fi
7356
7357
7358 enablestring=
7359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7360 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7361 no_cache=0
7362 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7363 if test "${enable_scrollbar+set}" = set; then
7364 enableval="$enable_scrollbar"
7365
7366 if test "$enableval" = yes; then
7367 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7368 else
7369 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7370 fi
7371
7372 else
7373
7374 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7375 if test "x$LINE" != x ; then
7376 eval "DEFAULT_$LINE"
7377 else
7378 no_cache=1
7379 fi
7380
7381 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7382
7383 fi;
7384
7385 eval "$ac_cv_use_scrollbar"
7386 if test "$no_cache" != 1; then
7387 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7388 fi
7389
7390 if test "$wxUSE_SCROLLBAR" = yes; then
7391 echo "$as_me:$LINENO: result: yes" >&5
7392 echo "${ECHO_T}yes" >&6
7393 else
7394 echo "$as_me:$LINENO: result: no" >&5
7395 echo "${ECHO_T}no" >&6
7396 fi
7397
7398
7399 enablestring=
7400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7401 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7402 no_cache=0
7403 # Check whether --enable-slider or --disable-slider was given.
7404 if test "${enable_slider+set}" = set; then
7405 enableval="$enable_slider"
7406
7407 if test "$enableval" = yes; then
7408 ac_cv_use_slider='wxUSE_SLIDER=yes'
7409 else
7410 ac_cv_use_slider='wxUSE_SLIDER=no'
7411 fi
7412
7413 else
7414
7415 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7416 if test "x$LINE" != x ; then
7417 eval "DEFAULT_$LINE"
7418 else
7419 no_cache=1
7420 fi
7421
7422 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7423
7424 fi;
7425
7426 eval "$ac_cv_use_slider"
7427 if test "$no_cache" != 1; then
7428 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7429 fi
7430
7431 if test "$wxUSE_SLIDER" = yes; then
7432 echo "$as_me:$LINENO: result: yes" >&5
7433 echo "${ECHO_T}yes" >&6
7434 else
7435 echo "$as_me:$LINENO: result: no" >&5
7436 echo "${ECHO_T}no" >&6
7437 fi
7438
7439
7440 enablestring=
7441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7442 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7443 no_cache=0
7444 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7445 if test "${enable_spinbtn+set}" = set; then
7446 enableval="$enable_spinbtn"
7447
7448 if test "$enableval" = yes; then
7449 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7450 else
7451 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7452 fi
7453
7454 else
7455
7456 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7457 if test "x$LINE" != x ; then
7458 eval "DEFAULT_$LINE"
7459 else
7460 no_cache=1
7461 fi
7462
7463 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7464
7465 fi;
7466
7467 eval "$ac_cv_use_spinbtn"
7468 if test "$no_cache" != 1; then
7469 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7470 fi
7471
7472 if test "$wxUSE_SPINBTN" = yes; then
7473 echo "$as_me:$LINENO: result: yes" >&5
7474 echo "${ECHO_T}yes" >&6
7475 else
7476 echo "$as_me:$LINENO: result: no" >&5
7477 echo "${ECHO_T}no" >&6
7478 fi
7479
7480
7481 enablestring=
7482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7483 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7484 no_cache=0
7485 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7486 if test "${enable_spinctrl+set}" = set; then
7487 enableval="$enable_spinctrl"
7488
7489 if test "$enableval" = yes; then
7490 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7491 else
7492 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7493 fi
7494
7495 else
7496
7497 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7498 if test "x$LINE" != x ; then
7499 eval "DEFAULT_$LINE"
7500 else
7501 no_cache=1
7502 fi
7503
7504 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7505
7506 fi;
7507
7508 eval "$ac_cv_use_spinctrl"
7509 if test "$no_cache" != 1; then
7510 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7511 fi
7512
7513 if test "$wxUSE_SPINCTRL" = yes; then
7514 echo "$as_me:$LINENO: result: yes" >&5
7515 echo "${ECHO_T}yes" >&6
7516 else
7517 echo "$as_me:$LINENO: result: no" >&5
7518 echo "${ECHO_T}no" >&6
7519 fi
7520
7521
7522 enablestring=
7523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7525 no_cache=0
7526 # Check whether --enable-splitter or --disable-splitter was given.
7527 if test "${enable_splitter+set}" = set; then
7528 enableval="$enable_splitter"
7529
7530 if test "$enableval" = yes; then
7531 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7532 else
7533 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7534 fi
7535
7536 else
7537
7538 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7539 if test "x$LINE" != x ; then
7540 eval "DEFAULT_$LINE"
7541 else
7542 no_cache=1
7543 fi
7544
7545 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7546
7547 fi;
7548
7549 eval "$ac_cv_use_splitter"
7550 if test "$no_cache" != 1; then
7551 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7552 fi
7553
7554 if test "$wxUSE_SPLITTER" = yes; then
7555 echo "$as_me:$LINENO: result: yes" >&5
7556 echo "${ECHO_T}yes" >&6
7557 else
7558 echo "$as_me:$LINENO: result: no" >&5
7559 echo "${ECHO_T}no" >&6
7560 fi
7561
7562
7563 enablestring=
7564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7566 no_cache=0
7567 # Check whether --enable-statbmp or --disable-statbmp was given.
7568 if test "${enable_statbmp+set}" = set; then
7569 enableval="$enable_statbmp"
7570
7571 if test "$enableval" = yes; then
7572 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7573 else
7574 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7575 fi
7576
7577 else
7578
7579 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7580 if test "x$LINE" != x ; then
7581 eval "DEFAULT_$LINE"
7582 else
7583 no_cache=1
7584 fi
7585
7586 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7587
7588 fi;
7589
7590 eval "$ac_cv_use_statbmp"
7591 if test "$no_cache" != 1; then
7592 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7593 fi
7594
7595 if test "$wxUSE_STATBMP" = yes; then
7596 echo "$as_me:$LINENO: result: yes" >&5
7597 echo "${ECHO_T}yes" >&6
7598 else
7599 echo "$as_me:$LINENO: result: no" >&5
7600 echo "${ECHO_T}no" >&6
7601 fi
7602
7603
7604 enablestring=
7605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7606 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7607 no_cache=0
7608 # Check whether --enable-statbox or --disable-statbox was given.
7609 if test "${enable_statbox+set}" = set; then
7610 enableval="$enable_statbox"
7611
7612 if test "$enableval" = yes; then
7613 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7614 else
7615 ac_cv_use_statbox='wxUSE_STATBOX=no'
7616 fi
7617
7618 else
7619
7620 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7621 if test "x$LINE" != x ; then
7622 eval "DEFAULT_$LINE"
7623 else
7624 no_cache=1
7625 fi
7626
7627 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7628
7629 fi;
7630
7631 eval "$ac_cv_use_statbox"
7632 if test "$no_cache" != 1; then
7633 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7634 fi
7635
7636 if test "$wxUSE_STATBOX" = yes; then
7637 echo "$as_me:$LINENO: result: yes" >&5
7638 echo "${ECHO_T}yes" >&6
7639 else
7640 echo "$as_me:$LINENO: result: no" >&5
7641 echo "${ECHO_T}no" >&6
7642 fi
7643
7644
7645 enablestring=
7646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7647 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7648 no_cache=0
7649 # Check whether --enable-statline or --disable-statline was given.
7650 if test "${enable_statline+set}" = set; then
7651 enableval="$enable_statline"
7652
7653 if test "$enableval" = yes; then
7654 ac_cv_use_statline='wxUSE_STATLINE=yes'
7655 else
7656 ac_cv_use_statline='wxUSE_STATLINE=no'
7657 fi
7658
7659 else
7660
7661 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7662 if test "x$LINE" != x ; then
7663 eval "DEFAULT_$LINE"
7664 else
7665 no_cache=1
7666 fi
7667
7668 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7669
7670 fi;
7671
7672 eval "$ac_cv_use_statline"
7673 if test "$no_cache" != 1; then
7674 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7675 fi
7676
7677 if test "$wxUSE_STATLINE" = yes; then
7678 echo "$as_me:$LINENO: result: yes" >&5
7679 echo "${ECHO_T}yes" >&6
7680 else
7681 echo "$as_me:$LINENO: result: no" >&5
7682 echo "${ECHO_T}no" >&6
7683 fi
7684
7685
7686 enablestring=
7687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7688 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7689 no_cache=0
7690 # Check whether --enable-stattext or --disable-stattext was given.
7691 if test "${enable_stattext+set}" = set; then
7692 enableval="$enable_stattext"
7693
7694 if test "$enableval" = yes; then
7695 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7696 else
7697 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7698 fi
7699
7700 else
7701
7702 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7703 if test "x$LINE" != x ; then
7704 eval "DEFAULT_$LINE"
7705 else
7706 no_cache=1
7707 fi
7708
7709 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7710
7711 fi;
7712
7713 eval "$ac_cv_use_stattext"
7714 if test "$no_cache" != 1; then
7715 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7716 fi
7717
7718 if test "$wxUSE_STATTEXT" = yes; then
7719 echo "$as_me:$LINENO: result: yes" >&5
7720 echo "${ECHO_T}yes" >&6
7721 else
7722 echo "$as_me:$LINENO: result: no" >&5
7723 echo "${ECHO_T}no" >&6
7724 fi
7725
7726
7727 enablestring=
7728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7729 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7730 no_cache=0
7731 # Check whether --enable-statusbar or --disable-statusbar was given.
7732 if test "${enable_statusbar+set}" = set; then
7733 enableval="$enable_statusbar"
7734
7735 if test "$enableval" = yes; then
7736 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7737 else
7738 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7739 fi
7740
7741 else
7742
7743 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7744 if test "x$LINE" != x ; then
7745 eval "DEFAULT_$LINE"
7746 else
7747 no_cache=1
7748 fi
7749
7750 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7751
7752 fi;
7753
7754 eval "$ac_cv_use_statusbar"
7755 if test "$no_cache" != 1; then
7756 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7757 fi
7758
7759 if test "$wxUSE_STATUSBAR" = yes; then
7760 echo "$as_me:$LINENO: result: yes" >&5
7761 echo "${ECHO_T}yes" >&6
7762 else
7763 echo "$as_me:$LINENO: result: no" >&5
7764 echo "${ECHO_T}no" >&6
7765 fi
7766
7767
7768 enablestring=
7769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7770 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7771 no_cache=0
7772 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7773 if test "${enable_tabdialog+set}" = set; then
7774 enableval="$enable_tabdialog"
7775
7776 if test "$enableval" = yes; then
7777 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7778 else
7779 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7780 fi
7781
7782 else
7783
7784 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7785 if test "x$LINE" != x ; then
7786 eval "DEFAULT_$LINE"
7787 else
7788 no_cache=1
7789 fi
7790
7791 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7792
7793 fi;
7794
7795 eval "$ac_cv_use_tabdialog"
7796 if test "$no_cache" != 1; then
7797 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7798 fi
7799
7800 if test "$wxUSE_TABDIALOG" = yes; then
7801 echo "$as_me:$LINENO: result: yes" >&5
7802 echo "${ECHO_T}yes" >&6
7803 else
7804 echo "$as_me:$LINENO: result: no" >&5
7805 echo "${ECHO_T}no" >&6
7806 fi
7807
7808
7809 enablestring=
7810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7811 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7812 no_cache=0
7813 # Check whether --enable-textctrl or --disable-textctrl was given.
7814 if test "${enable_textctrl+set}" = set; then
7815 enableval="$enable_textctrl"
7816
7817 if test "$enableval" = yes; then
7818 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7819 else
7820 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7821 fi
7822
7823 else
7824
7825 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7826 if test "x$LINE" != x ; then
7827 eval "DEFAULT_$LINE"
7828 else
7829 no_cache=1
7830 fi
7831
7832 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7833
7834 fi;
7835
7836 eval "$ac_cv_use_textctrl"
7837 if test "$no_cache" != 1; then
7838 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7839 fi
7840
7841 if test "$wxUSE_TEXTCTRL" = yes; then
7842 echo "$as_me:$LINENO: result: yes" >&5
7843 echo "${ECHO_T}yes" >&6
7844 else
7845 echo "$as_me:$LINENO: result: no" >&5
7846 echo "${ECHO_T}no" >&6
7847 fi
7848
7849
7850 enablestring=
7851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7852 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7853 no_cache=0
7854 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7855 if test "${enable_togglebtn+set}" = set; then
7856 enableval="$enable_togglebtn"
7857
7858 if test "$enableval" = yes; then
7859 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7860 else
7861 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7862 fi
7863
7864 else
7865
7866 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7867 if test "x$LINE" != x ; then
7868 eval "DEFAULT_$LINE"
7869 else
7870 no_cache=1
7871 fi
7872
7873 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7874
7875 fi;
7876
7877 eval "$ac_cv_use_togglebtn"
7878 if test "$no_cache" != 1; then
7879 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7880 fi
7881
7882 if test "$wxUSE_TOGGLEBTN" = yes; then
7883 echo "$as_me:$LINENO: result: yes" >&5
7884 echo "${ECHO_T}yes" >&6
7885 else
7886 echo "$as_me:$LINENO: result: no" >&5
7887 echo "${ECHO_T}no" >&6
7888 fi
7889
7890
7891 enablestring=
7892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7893 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7894 no_cache=0
7895 # Check whether --enable-toolbar or --disable-toolbar was given.
7896 if test "${enable_toolbar+set}" = set; then
7897 enableval="$enable_toolbar"
7898
7899 if test "$enableval" = yes; then
7900 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7901 else
7902 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7903 fi
7904
7905 else
7906
7907 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7908 if test "x$LINE" != x ; then
7909 eval "DEFAULT_$LINE"
7910 else
7911 no_cache=1
7912 fi
7913
7914 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7915
7916 fi;
7917
7918 eval "$ac_cv_use_toolbar"
7919 if test "$no_cache" != 1; then
7920 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7921 fi
7922
7923 if test "$wxUSE_TOOLBAR" = yes; then
7924 echo "$as_me:$LINENO: result: yes" >&5
7925 echo "${ECHO_T}yes" >&6
7926 else
7927 echo "$as_me:$LINENO: result: no" >&5
7928 echo "${ECHO_T}no" >&6
7929 fi
7930
7931
7932 enablestring=
7933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7934 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7935 no_cache=0
7936 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7937 if test "${enable_tbarnative+set}" = set; then
7938 enableval="$enable_tbarnative"
7939
7940 if test "$enableval" = yes; then
7941 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7942 else
7943 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7944 fi
7945
7946 else
7947
7948 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7949 if test "x$LINE" != x ; then
7950 eval "DEFAULT_$LINE"
7951 else
7952 no_cache=1
7953 fi
7954
7955 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7956
7957 fi;
7958
7959 eval "$ac_cv_use_tbarnative"
7960 if test "$no_cache" != 1; then
7961 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7962 fi
7963
7964 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7965 echo "$as_me:$LINENO: result: yes" >&5
7966 echo "${ECHO_T}yes" >&6
7967 else
7968 echo "$as_me:$LINENO: result: no" >&5
7969 echo "${ECHO_T}no" >&6
7970 fi
7971
7972
7973 enablestring=
7974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7976 no_cache=0
7977 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7978 if test "${enable_tbarsmpl+set}" = set; then
7979 enableval="$enable_tbarsmpl"
7980
7981 if test "$enableval" = yes; then
7982 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7983 else
7984 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7985 fi
7986
7987 else
7988
7989 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7990 if test "x$LINE" != x ; then
7991 eval "DEFAULT_$LINE"
7992 else
7993 no_cache=1
7994 fi
7995
7996 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7997
7998 fi;
7999
8000 eval "$ac_cv_use_tbarsmpl"
8001 if test "$no_cache" != 1; then
8002 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8003 fi
8004
8005 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8006 echo "$as_me:$LINENO: result: yes" >&5
8007 echo "${ECHO_T}yes" >&6
8008 else
8009 echo "$as_me:$LINENO: result: no" >&5
8010 echo "${ECHO_T}no" >&6
8011 fi
8012
8013
8014 enablestring=
8015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8017 no_cache=0
8018 # Check whether --enable-treectrl or --disable-treectrl was given.
8019 if test "${enable_treectrl+set}" = set; then
8020 enableval="$enable_treectrl"
8021
8022 if test "$enableval" = yes; then
8023 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8024 else
8025 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8026 fi
8027
8028 else
8029
8030 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x ; then
8032 eval "DEFAULT_$LINE"
8033 else
8034 no_cache=1
8035 fi
8036
8037 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8038
8039 fi;
8040
8041 eval "$ac_cv_use_treectrl"
8042 if test "$no_cache" != 1; then
8043 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8044 fi
8045
8046 if test "$wxUSE_TREECTRL" = yes; then
8047 echo "$as_me:$LINENO: result: yes" >&5
8048 echo "${ECHO_T}yes" >&6
8049 else
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8052 fi
8053
8054
8055 enablestring=
8056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8057 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8058 no_cache=0
8059 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8060 if test "${enable_tipwindow+set}" = set; then
8061 enableval="$enable_tipwindow"
8062
8063 if test "$enableval" = yes; then
8064 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8065 else
8066 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8067 fi
8068
8069 else
8070
8071 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8072 if test "x$LINE" != x ; then
8073 eval "DEFAULT_$LINE"
8074 else
8075 no_cache=1
8076 fi
8077
8078 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8079
8080 fi;
8081
8082 eval "$ac_cv_use_tipwindow"
8083 if test "$no_cache" != 1; then
8084 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8085 fi
8086
8087 if test "$wxUSE_TIPWINDOW" = yes; then
8088 echo "$as_me:$LINENO: result: yes" >&5
8089 echo "${ECHO_T}yes" >&6
8090 else
8091 echo "$as_me:$LINENO: result: no" >&5
8092 echo "${ECHO_T}no" >&6
8093 fi
8094
8095
8096 enablestring=
8097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8098 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8099 no_cache=0
8100 # Check whether --enable-popupwin or --disable-popupwin was given.
8101 if test "${enable_popupwin+set}" = set; then
8102 enableval="$enable_popupwin"
8103
8104 if test "$enableval" = yes; then
8105 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8106 else
8107 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8108 fi
8109
8110 else
8111
8112 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8113 if test "x$LINE" != x ; then
8114 eval "DEFAULT_$LINE"
8115 else
8116 no_cache=1
8117 fi
8118
8119 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8120
8121 fi;
8122
8123 eval "$ac_cv_use_popupwin"
8124 if test "$no_cache" != 1; then
8125 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8126 fi
8127
8128 if test "$wxUSE_POPUPWIN" = yes; then
8129 echo "$as_me:$LINENO: result: yes" >&5
8130 echo "${ECHO_T}yes" >&6
8131 else
8132 echo "$as_me:$LINENO: result: no" >&5
8133 echo "${ECHO_T}no" >&6
8134 fi
8135
8136
8137
8138
8139 enablestring=
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8142 no_cache=0
8143 # Check whether --enable-commondlg or --disable-commondlg was given.
8144 if test "${enable_commondlg+set}" = set; then
8145 enableval="$enable_commondlg"
8146
8147 if test "$enableval" = yes; then
8148 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8149 else
8150 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8151 fi
8152
8153 else
8154
8155 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8158 else
8159 no_cache=1
8160 fi
8161
8162 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8163
8164 fi;
8165
8166 eval "$ac_cv_use_commondlg"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8169 fi
8170
8171 if test "$wxUSE_COMMONDLGS" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8174 else
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8177 fi
8178
8179
8180 enablestring=
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8183 no_cache=0
8184 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8185 if test "${enable_choicedlg+set}" = set; then
8186 enableval="$enable_choicedlg"
8187
8188 if test "$enableval" = yes; then
8189 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8190 else
8191 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8192 fi
8193
8194 else
8195
8196 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x ; then
8198 eval "DEFAULT_$LINE"
8199 else
8200 no_cache=1
8201 fi
8202
8203 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8204
8205 fi;
8206
8207 eval "$ac_cv_use_choicedlg"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8210 fi
8211
8212 if test "$wxUSE_CHOICEDLG" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8215 else
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8218 fi
8219
8220
8221 enablestring=
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8224 no_cache=0
8225 # Check whether --enable-coldlg or --disable-coldlg was given.
8226 if test "${enable_coldlg+set}" = set; then
8227 enableval="$enable_coldlg"
8228
8229 if test "$enableval" = yes; then
8230 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8231 else
8232 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8233 fi
8234
8235 else
8236
8237 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x ; then
8239 eval "DEFAULT_$LINE"
8240 else
8241 no_cache=1
8242 fi
8243
8244 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8245
8246 fi;
8247
8248 eval "$ac_cv_use_coldlg"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8251 fi
8252
8253 if test "$wxUSE_COLOURDLG" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8256 else
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8259 fi
8260
8261
8262 enablestring=
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8265 no_cache=0
8266 # Check whether --enable-filedlg or --disable-filedlg was given.
8267 if test "${enable_filedlg+set}" = set; then
8268 enableval="$enable_filedlg"
8269
8270 if test "$enableval" = yes; then
8271 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8272 else
8273 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8274 fi
8275
8276 else
8277
8278 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x ; then
8280 eval "DEFAULT_$LINE"
8281 else
8282 no_cache=1
8283 fi
8284
8285 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8286
8287 fi;
8288
8289 eval "$ac_cv_use_filedlg"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8292 fi
8293
8294 if test "$wxUSE_FILEDLG" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8297 else
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8300 fi
8301
8302
8303 enablestring=
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8306 no_cache=0
8307 # Check whether --enable-finddlg or --disable-finddlg was given.
8308 if test "${enable_finddlg+set}" = set; then
8309 enableval="$enable_finddlg"
8310
8311 if test "$enableval" = yes; then
8312 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8313 else
8314 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8315 fi
8316
8317 else
8318
8319 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x ; then
8321 eval "DEFAULT_$LINE"
8322 else
8323 no_cache=1
8324 fi
8325
8326 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8327
8328 fi;
8329
8330 eval "$ac_cv_use_finddlg"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8333 fi
8334
8335 if test "$wxUSE_FINDREPLDLG" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8338 else
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8341 fi
8342
8343
8344 enablestring=
8345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8347 no_cache=0
8348 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8349 if test "${enable_fontdlg+set}" = set; then
8350 enableval="$enable_fontdlg"
8351
8352 if test "$enableval" = yes; then
8353 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8354 else
8355 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8356 fi
8357
8358 else
8359
8360 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x ; then
8362 eval "DEFAULT_$LINE"
8363 else
8364 no_cache=1
8365 fi
8366
8367 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8368
8369 fi;
8370
8371 eval "$ac_cv_use_fontdlg"
8372 if test "$no_cache" != 1; then
8373 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8374 fi
8375
8376 if test "$wxUSE_FONTDLG" = yes; then
8377 echo "$as_me:$LINENO: result: yes" >&5
8378 echo "${ECHO_T}yes" >&6
8379 else
8380 echo "$as_me:$LINENO: result: no" >&5
8381 echo "${ECHO_T}no" >&6
8382 fi
8383
8384
8385 enablestring=
8386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8387 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8388 no_cache=0
8389 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8390 if test "${enable_dirdlg+set}" = set; then
8391 enableval="$enable_dirdlg"
8392
8393 if test "$enableval" = yes; then
8394 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8395 else
8396 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8397 fi
8398
8399 else
8400
8401 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8402 if test "x$LINE" != x ; then
8403 eval "DEFAULT_$LINE"
8404 else
8405 no_cache=1
8406 fi
8407
8408 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8409
8410 fi;
8411
8412 eval "$ac_cv_use_dirdlg"
8413 if test "$no_cache" != 1; then
8414 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8415 fi
8416
8417 if test "$wxUSE_DIRDLG" = yes; then
8418 echo "$as_me:$LINENO: result: yes" >&5
8419 echo "${ECHO_T}yes" >&6
8420 else
8421 echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6
8423 fi
8424
8425
8426 enablestring=
8427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8429 no_cache=0
8430 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8431 if test "${enable_msgdlg+set}" = set; then
8432 enableval="$enable_msgdlg"
8433
8434 if test "$enableval" = yes; then
8435 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8436 else
8437 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8438 fi
8439
8440 else
8441
8442 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8443 if test "x$LINE" != x ; then
8444 eval "DEFAULT_$LINE"
8445 else
8446 no_cache=1
8447 fi
8448
8449 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8450
8451 fi;
8452
8453 eval "$ac_cv_use_msgdlg"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8456 fi
8457
8458 if test "$wxUSE_MSGDLG" = yes; then
8459 echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6
8461 else
8462 echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6
8464 fi
8465
8466
8467 enablestring=
8468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8470 no_cache=0
8471 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8472 if test "${enable_numberdlg+set}" = set; then
8473 enableval="$enable_numberdlg"
8474
8475 if test "$enableval" = yes; then
8476 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8477 else
8478 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8479 fi
8480
8481 else
8482
8483 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x ; then
8485 eval "DEFAULT_$LINE"
8486 else
8487 no_cache=1
8488 fi
8489
8490 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8491
8492 fi;
8493
8494 eval "$ac_cv_use_numberdlg"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8497 fi
8498
8499 if test "$wxUSE_NUMBERDLG" = yes; then
8500 echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6
8502 else
8503 echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6
8505 fi
8506
8507
8508 enablestring=
8509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8511 no_cache=0
8512 # Check whether --enable-splash or --disable-splash was given.
8513 if test "${enable_splash+set}" = set; then
8514 enableval="$enable_splash"
8515
8516 if test "$enableval" = yes; then
8517 ac_cv_use_splash='wxUSE_SPLASH=yes'
8518 else
8519 ac_cv_use_splash='wxUSE_SPLASH=no'
8520 fi
8521
8522 else
8523
8524 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8525 if test "x$LINE" != x ; then
8526 eval "DEFAULT_$LINE"
8527 else
8528 no_cache=1
8529 fi
8530
8531 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8532
8533 fi;
8534
8535 eval "$ac_cv_use_splash"
8536 if test "$no_cache" != 1; then
8537 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8538 fi
8539
8540 if test "$wxUSE_SPLASH" = yes; then
8541 echo "$as_me:$LINENO: result: yes" >&5
8542 echo "${ECHO_T}yes" >&6
8543 else
8544 echo "$as_me:$LINENO: result: no" >&5
8545 echo "${ECHO_T}no" >&6
8546 fi
8547
8548
8549 enablestring=
8550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8552 no_cache=0
8553 # Check whether --enable-textdlg or --disable-textdlg was given.
8554 if test "${enable_textdlg+set}" = set; then
8555 enableval="$enable_textdlg"
8556
8557 if test "$enableval" = yes; then
8558 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8559 else
8560 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8561 fi
8562
8563 else
8564
8565 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8566 if test "x$LINE" != x ; then
8567 eval "DEFAULT_$LINE"
8568 else
8569 no_cache=1
8570 fi
8571
8572 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8573
8574 fi;
8575
8576 eval "$ac_cv_use_textdlg"
8577 if test "$no_cache" != 1; then
8578 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8579 fi
8580
8581 if test "$wxUSE_TEXTDLG" = yes; then
8582 echo "$as_me:$LINENO: result: yes" >&5
8583 echo "${ECHO_T}yes" >&6
8584 else
8585 echo "$as_me:$LINENO: result: no" >&5
8586 echo "${ECHO_T}no" >&6
8587 fi
8588
8589
8590 enablestring=
8591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8593 no_cache=0
8594 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8595 if test "${enable_tipdlg+set}" = set; then
8596 enableval="$enable_tipdlg"
8597
8598 if test "$enableval" = yes; then
8599 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8600 else
8601 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8602 fi
8603
8604 else
8605
8606 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x ; then
8608 eval "DEFAULT_$LINE"
8609 else
8610 no_cache=1
8611 fi
8612
8613 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8614
8615 fi;
8616
8617 eval "$ac_cv_use_tipdlg"
8618 if test "$no_cache" != 1; then
8619 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8620 fi
8621
8622 if test "$wxUSE_STARTUP_TIPS" = yes; then
8623 echo "$as_me:$LINENO: result: yes" >&5
8624 echo "${ECHO_T}yes" >&6
8625 else
8626 echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6
8628 fi
8629
8630
8631 enablestring=
8632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8634 no_cache=0
8635 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8636 if test "${enable_progressdlg+set}" = set; then
8637 enableval="$enable_progressdlg"
8638
8639 if test "$enableval" = yes; then
8640 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8641 else
8642 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8643 fi
8644
8645 else
8646
8647 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x ; then
8649 eval "DEFAULT_$LINE"
8650 else
8651 no_cache=1
8652 fi
8653
8654 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8655
8656 fi;
8657
8658 eval "$ac_cv_use_progressdlg"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8661 fi
8662
8663 if test "$wxUSE_PROGRESSDLG" = yes; then
8664 echo "$as_me:$LINENO: result: yes" >&5
8665 echo "${ECHO_T}yes" >&6
8666 else
8667 echo "$as_me:$LINENO: result: no" >&5
8668 echo "${ECHO_T}no" >&6
8669 fi
8670
8671
8672 enablestring=
8673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8675 no_cache=0
8676 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8677 if test "${enable_wizarddlg+set}" = set; then
8678 enableval="$enable_wizarddlg"
8679
8680 if test "$enableval" = yes; then
8681 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8682 else
8683 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8684 fi
8685
8686 else
8687
8688 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8689 if test "x$LINE" != x ; then
8690 eval "DEFAULT_$LINE"
8691 else
8692 no_cache=1
8693 fi
8694
8695 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8696
8697 fi;
8698
8699 eval "$ac_cv_use_wizarddlg"
8700 if test "$no_cache" != 1; then
8701 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8702 fi
8703
8704 if test "$wxUSE_WIZARDDLG" = yes; then
8705 echo "$as_me:$LINENO: result: yes" >&5
8706 echo "${ECHO_T}yes" >&6
8707 else
8708 echo "$as_me:$LINENO: result: no" >&5
8709 echo "${ECHO_T}no" >&6
8710 fi
8711
8712
8713
8714
8715 enablestring=
8716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8718 no_cache=0
8719 # Check whether --enable-menus or --disable-menus was given.
8720 if test "${enable_menus+set}" = set; then
8721 enableval="$enable_menus"
8722
8723 if test "$enableval" = yes; then
8724 ac_cv_use_menus='wxUSE_MENUS=yes'
8725 else
8726 ac_cv_use_menus='wxUSE_MENUS=no'
8727 fi
8728
8729 else
8730
8731 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8732 if test "x$LINE" != x ; then
8733 eval "DEFAULT_$LINE"
8734 else
8735 no_cache=1
8736 fi
8737
8738 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8739
8740 fi;
8741
8742 eval "$ac_cv_use_menus"
8743 if test "$no_cache" != 1; then
8744 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8745 fi
8746
8747 if test "$wxUSE_MENUS" = yes; then
8748 echo "$as_me:$LINENO: result: yes" >&5
8749 echo "${ECHO_T}yes" >&6
8750 else
8751 echo "$as_me:$LINENO: result: no" >&5
8752 echo "${ECHO_T}no" >&6
8753 fi
8754
8755
8756 enablestring=
8757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8759 no_cache=0
8760 # Check whether --enable-miniframe or --disable-miniframe was given.
8761 if test "${enable_miniframe+set}" = set; then
8762 enableval="$enable_miniframe"
8763
8764 if test "$enableval" = yes; then
8765 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8766 else
8767 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8768 fi
8769
8770 else
8771
8772 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8773 if test "x$LINE" != x ; then
8774 eval "DEFAULT_$LINE"
8775 else
8776 no_cache=1
8777 fi
8778
8779 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8780
8781 fi;
8782
8783 eval "$ac_cv_use_miniframe"
8784 if test "$no_cache" != 1; then
8785 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8786 fi
8787
8788 if test "$wxUSE_MINIFRAME" = yes; then
8789 echo "$as_me:$LINENO: result: yes" >&5
8790 echo "${ECHO_T}yes" >&6
8791 else
8792 echo "$as_me:$LINENO: result: no" >&5
8793 echo "${ECHO_T}no" >&6
8794 fi
8795
8796
8797 enablestring=
8798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8799 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8800 no_cache=0
8801 # Check whether --enable-tooltips or --disable-tooltips was given.
8802 if test "${enable_tooltips+set}" = set; then
8803 enableval="$enable_tooltips"
8804
8805 if test "$enableval" = yes; then
8806 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8807 else
8808 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8809 fi
8810
8811 else
8812
8813 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8814 if test "x$LINE" != x ; then
8815 eval "DEFAULT_$LINE"
8816 else
8817 no_cache=1
8818 fi
8819
8820 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8821
8822 fi;
8823
8824 eval "$ac_cv_use_tooltips"
8825 if test "$no_cache" != 1; then
8826 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8827 fi
8828
8829 if test "$wxUSE_TOOLTIPS" = yes; then
8830 echo "$as_me:$LINENO: result: yes" >&5
8831 echo "${ECHO_T}yes" >&6
8832 else
8833 echo "$as_me:$LINENO: result: no" >&5
8834 echo "${ECHO_T}no" >&6
8835 fi
8836
8837
8838 enablestring=
8839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8840 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8841 no_cache=0
8842 # Check whether --enable-splines or --disable-splines was given.
8843 if test "${enable_splines+set}" = set; then
8844 enableval="$enable_splines"
8845
8846 if test "$enableval" = yes; then
8847 ac_cv_use_splines='wxUSE_SPLINES=yes'
8848 else
8849 ac_cv_use_splines='wxUSE_SPLINES=no'
8850 fi
8851
8852 else
8853
8854 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8855 if test "x$LINE" != x ; then
8856 eval "DEFAULT_$LINE"
8857 else
8858 no_cache=1
8859 fi
8860
8861 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8862
8863 fi;
8864
8865 eval "$ac_cv_use_splines"
8866 if test "$no_cache" != 1; then
8867 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8868 fi
8869
8870 if test "$wxUSE_SPLINES" = yes; then
8871 echo "$as_me:$LINENO: result: yes" >&5
8872 echo "${ECHO_T}yes" >&6
8873 else
8874 echo "$as_me:$LINENO: result: no" >&5
8875 echo "${ECHO_T}no" >&6
8876 fi
8877
8878
8879 enablestring=
8880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8882 no_cache=0
8883 # Check whether --enable-validators or --disable-validators was given.
8884 if test "${enable_validators+set}" = set; then
8885 enableval="$enable_validators"
8886
8887 if test "$enableval" = yes; then
8888 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8889 else
8890 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8891 fi
8892
8893 else
8894
8895 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8896 if test "x$LINE" != x ; then
8897 eval "DEFAULT_$LINE"
8898 else
8899 no_cache=1
8900 fi
8901
8902 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8903
8904 fi;
8905
8906 eval "$ac_cv_use_validators"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8909 fi
8910
8911 if test "$wxUSE_VALIDATORS" = yes; then
8912 echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6
8914 else
8915 echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6
8917 fi
8918
8919
8920 enablestring=
8921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8923 no_cache=0
8924 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8925 if test "${enable_busyinfo+set}" = set; then
8926 enableval="$enable_busyinfo"
8927
8928 if test "$enableval" = yes; then
8929 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8930 else
8931 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8932 fi
8933
8934 else
8935
8936 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8937 if test "x$LINE" != x ; then
8938 eval "DEFAULT_$LINE"
8939 else
8940 no_cache=1
8941 fi
8942
8943 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8944
8945 fi;
8946
8947 eval "$ac_cv_use_busyinfo"
8948 if test "$no_cache" != 1; then
8949 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8950 fi
8951
8952 if test "$wxUSE_BUSYINFO" = yes; then
8953 echo "$as_me:$LINENO: result: yes" >&5
8954 echo "${ECHO_T}yes" >&6
8955 else
8956 echo "$as_me:$LINENO: result: no" >&5
8957 echo "${ECHO_T}no" >&6
8958 fi
8959
8960
8961 enablestring=
8962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8964 no_cache=0
8965 # Check whether --enable-joystick or --disable-joystick was given.
8966 if test "${enable_joystick+set}" = set; then
8967 enableval="$enable_joystick"
8968
8969 if test "$enableval" = yes; then
8970 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8971 else
8972 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8973 fi
8974
8975 else
8976
8977 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8978 if test "x$LINE" != x ; then
8979 eval "DEFAULT_$LINE"
8980 else
8981 no_cache=1
8982 fi
8983
8984 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8985
8986 fi;
8987
8988 eval "$ac_cv_use_joystick"
8989 if test "$no_cache" != 1; then
8990 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8991 fi
8992
8993 if test "$wxUSE_JOYSTICK" = yes; then
8994 echo "$as_me:$LINENO: result: yes" >&5
8995 echo "${ECHO_T}yes" >&6
8996 else
8997 echo "$as_me:$LINENO: result: no" >&5
8998 echo "${ECHO_T}no" >&6
8999 fi
9000
9001
9002 enablestring=
9003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9005 no_cache=0
9006 # Check whether --enable-metafile or --disable-metafile was given.
9007 if test "${enable_metafile+set}" = set; then
9008 enableval="$enable_metafile"
9009
9010 if test "$enableval" = yes; then
9011 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9012 else
9013 ac_cv_use_metafile='wxUSE_METAFILE=no'
9014 fi
9015
9016 else
9017
9018 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9019 if test "x$LINE" != x ; then
9020 eval "DEFAULT_$LINE"
9021 else
9022 no_cache=1
9023 fi
9024
9025 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9026
9027 fi;
9028
9029 eval "$ac_cv_use_metafile"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9032 fi
9033
9034 if test "$wxUSE_METAFILE" = yes; then
9035 echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6
9037 else
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9040 fi
9041
9042
9043 enablestring=
9044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9046 no_cache=0
9047 # Check whether --enable-dragimage or --disable-dragimage was given.
9048 if test "${enable_dragimage+set}" = set; then
9049 enableval="$enable_dragimage"
9050
9051 if test "$enableval" = yes; then
9052 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9053 else
9054 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9055 fi
9056
9057 else
9058
9059 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9060 if test "x$LINE" != x ; then
9061 eval "DEFAULT_$LINE"
9062 else
9063 no_cache=1
9064 fi
9065
9066 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9067
9068 fi;
9069
9070 eval "$ac_cv_use_dragimage"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9073 fi
9074
9075 if test "$wxUSE_DRAGIMAGE" = yes; then
9076 echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6
9078 else
9079 echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6
9081 fi
9082
9083
9084 enablestring=
9085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9087 no_cache=0
9088 # Check whether --enable-accessibility or --disable-accessibility was given.
9089 if test "${enable_accessibility+set}" = set; then
9090 enableval="$enable_accessibility"
9091
9092 if test "$enableval" = yes; then
9093 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9094 else
9095 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9096 fi
9097
9098 else
9099
9100 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9101 if test "x$LINE" != x ; then
9102 eval "DEFAULT_$LINE"
9103 else
9104 no_cache=1
9105 fi
9106
9107 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9108
9109 fi;
9110
9111 eval "$ac_cv_use_accessibility"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9114 fi
9115
9116 if test "$wxUSE_ACCESSIBILITY" = yes; then
9117 echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6
9119 else
9120 echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6
9122 fi
9123
9124
9125
9126
9127 enablestring=
9128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9129 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9130 no_cache=0
9131 # Check whether --enable-palette or --disable-palette was given.
9132 if test "${enable_palette+set}" = set; then
9133 enableval="$enable_palette"
9134
9135 if test "$enableval" = yes; then
9136 ac_cv_use_palette='wxUSE_PALETTE=yes'
9137 else
9138 ac_cv_use_palette='wxUSE_PALETTE=no'
9139 fi
9140
9141 else
9142
9143 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9144 if test "x$LINE" != x ; then
9145 eval "DEFAULT_$LINE"
9146 else
9147 no_cache=1
9148 fi
9149
9150 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9151
9152 fi;
9153
9154 eval "$ac_cv_use_palette"
9155 if test "$no_cache" != 1; then
9156 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9157 fi
9158
9159 if test "$wxUSE_PALETTE" = yes; then
9160 echo "$as_me:$LINENO: result: yes" >&5
9161 echo "${ECHO_T}yes" >&6
9162 else
9163 echo "$as_me:$LINENO: result: no" >&5
9164 echo "${ECHO_T}no" >&6
9165 fi
9166
9167
9168 enablestring=
9169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9170 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9171 no_cache=0
9172 # Check whether --enable-image or --disable-image was given.
9173 if test "${enable_image+set}" = set; then
9174 enableval="$enable_image"
9175
9176 if test "$enableval" = yes; then
9177 ac_cv_use_image='wxUSE_IMAGE=yes'
9178 else
9179 ac_cv_use_image='wxUSE_IMAGE=no'
9180 fi
9181
9182 else
9183
9184 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9185 if test "x$LINE" != x ; then
9186 eval "DEFAULT_$LINE"
9187 else
9188 no_cache=1
9189 fi
9190
9191 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9192
9193 fi;
9194
9195 eval "$ac_cv_use_image"
9196 if test "$no_cache" != 1; then
9197 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9198 fi
9199
9200 if test "$wxUSE_IMAGE" = yes; then
9201 echo "$as_me:$LINENO: result: yes" >&5
9202 echo "${ECHO_T}yes" >&6
9203 else
9204 echo "$as_me:$LINENO: result: no" >&5
9205 echo "${ECHO_T}no" >&6
9206 fi
9207
9208
9209 enablestring=
9210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9211 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9212 no_cache=0
9213 # Check whether --enable-gif or --disable-gif was given.
9214 if test "${enable_gif+set}" = set; then
9215 enableval="$enable_gif"
9216
9217 if test "$enableval" = yes; then
9218 ac_cv_use_gif='wxUSE_GIF=yes'
9219 else
9220 ac_cv_use_gif='wxUSE_GIF=no'
9221 fi
9222
9223 else
9224
9225 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9226 if test "x$LINE" != x ; then
9227 eval "DEFAULT_$LINE"
9228 else
9229 no_cache=1
9230 fi
9231
9232 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9233
9234 fi;
9235
9236 eval "$ac_cv_use_gif"
9237 if test "$no_cache" != 1; then
9238 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9239 fi
9240
9241 if test "$wxUSE_GIF" = yes; then
9242 echo "$as_me:$LINENO: result: yes" >&5
9243 echo "${ECHO_T}yes" >&6
9244 else
9245 echo "$as_me:$LINENO: result: no" >&5
9246 echo "${ECHO_T}no" >&6
9247 fi
9248
9249
9250 enablestring=
9251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9252 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9253 no_cache=0
9254 # Check whether --enable-pcx or --disable-pcx was given.
9255 if test "${enable_pcx+set}" = set; then
9256 enableval="$enable_pcx"
9257
9258 if test "$enableval" = yes; then
9259 ac_cv_use_pcx='wxUSE_PCX=yes'
9260 else
9261 ac_cv_use_pcx='wxUSE_PCX=no'
9262 fi
9263
9264 else
9265
9266 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9267 if test "x$LINE" != x ; then
9268 eval "DEFAULT_$LINE"
9269 else
9270 no_cache=1
9271 fi
9272
9273 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9274
9275 fi;
9276
9277 eval "$ac_cv_use_pcx"
9278 if test "$no_cache" != 1; then
9279 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9280 fi
9281
9282 if test "$wxUSE_PCX" = yes; then
9283 echo "$as_me:$LINENO: result: yes" >&5
9284 echo "${ECHO_T}yes" >&6
9285 else
9286 echo "$as_me:$LINENO: result: no" >&5
9287 echo "${ECHO_T}no" >&6
9288 fi
9289
9290
9291 enablestring=
9292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9293 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9294 no_cache=0
9295 # Check whether --enable-iff or --disable-iff was given.
9296 if test "${enable_iff+set}" = set; then
9297 enableval="$enable_iff"
9298
9299 if test "$enableval" = yes; then
9300 ac_cv_use_iff='wxUSE_IFF=yes'
9301 else
9302 ac_cv_use_iff='wxUSE_IFF=no'
9303 fi
9304
9305 else
9306
9307 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9308 if test "x$LINE" != x ; then
9309 eval "DEFAULT_$LINE"
9310 else
9311 no_cache=1
9312 fi
9313
9314 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9315
9316 fi;
9317
9318 eval "$ac_cv_use_iff"
9319 if test "$no_cache" != 1; then
9320 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9321 fi
9322
9323 if test "$wxUSE_IFF" = yes; then
9324 echo "$as_me:$LINENO: result: yes" >&5
9325 echo "${ECHO_T}yes" >&6
9326 else
9327 echo "$as_me:$LINENO: result: no" >&5
9328 echo "${ECHO_T}no" >&6
9329 fi
9330
9331
9332 enablestring=
9333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9334 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9335 no_cache=0
9336 # Check whether --enable-pnm or --disable-pnm was given.
9337 if test "${enable_pnm+set}" = set; then
9338 enableval="$enable_pnm"
9339
9340 if test "$enableval" = yes; then
9341 ac_cv_use_pnm='wxUSE_PNM=yes'
9342 else
9343 ac_cv_use_pnm='wxUSE_PNM=no'
9344 fi
9345
9346 else
9347
9348 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9349 if test "x$LINE" != x ; then
9350 eval "DEFAULT_$LINE"
9351 else
9352 no_cache=1
9353 fi
9354
9355 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9356
9357 fi;
9358
9359 eval "$ac_cv_use_pnm"
9360 if test "$no_cache" != 1; then
9361 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9362 fi
9363
9364 if test "$wxUSE_PNM" = yes; then
9365 echo "$as_me:$LINENO: result: yes" >&5
9366 echo "${ECHO_T}yes" >&6
9367 else
9368 echo "$as_me:$LINENO: result: no" >&5
9369 echo "${ECHO_T}no" >&6
9370 fi
9371
9372
9373 enablestring=
9374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9375 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9376 no_cache=0
9377 # Check whether --enable-xpm or --disable-xpm was given.
9378 if test "${enable_xpm+set}" = set; then
9379 enableval="$enable_xpm"
9380
9381 if test "$enableval" = yes; then
9382 ac_cv_use_xpm='wxUSE_XPM=yes'
9383 else
9384 ac_cv_use_xpm='wxUSE_XPM=no'
9385 fi
9386
9387 else
9388
9389 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9390 if test "x$LINE" != x ; then
9391 eval "DEFAULT_$LINE"
9392 else
9393 no_cache=1
9394 fi
9395
9396 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9397
9398 fi;
9399
9400 eval "$ac_cv_use_xpm"
9401 if test "$no_cache" != 1; then
9402 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9403 fi
9404
9405 if test "$wxUSE_XPM" = yes; then
9406 echo "$as_me:$LINENO: result: yes" >&5
9407 echo "${ECHO_T}yes" >&6
9408 else
9409 echo "$as_me:$LINENO: result: no" >&5
9410 echo "${ECHO_T}no" >&6
9411 fi
9412
9413
9414 enablestring=
9415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9416 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9417 no_cache=0
9418 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9419 if test "${enable_ico_cur+set}" = set; then
9420 enableval="$enable_ico_cur"
9421
9422 if test "$enableval" = yes; then
9423 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9424 else
9425 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9426 fi
9427
9428 else
9429
9430 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9431 if test "x$LINE" != x ; then
9432 eval "DEFAULT_$LINE"
9433 else
9434 no_cache=1
9435 fi
9436
9437 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9438
9439 fi;
9440
9441 eval "$ac_cv_use_ico_cur"
9442 if test "$no_cache" != 1; then
9443 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9444 fi
9445
9446 if test "$wxUSE_ICO_CUR" = yes; then
9447 echo "$as_me:$LINENO: result: yes" >&5
9448 echo "${ECHO_T}yes" >&6
9449 else
9450 echo "$as_me:$LINENO: result: no" >&5
9451 echo "${ECHO_T}no" >&6
9452 fi
9453
9454
9455 fi
9456
9457
9458
9459 enablestring=
9460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9461 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9462 no_cache=0
9463 # Check whether --enable-official_build or --disable-official_build was given.
9464 if test "${enable_official_build+set}" = set; then
9465 enableval="$enable_official_build"
9466
9467 if test "$enableval" = yes; then
9468 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9469 else
9470 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9471 fi
9472
9473 else
9474
9475 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9476 if test "x$LINE" != x ; then
9477 eval "DEFAULT_$LINE"
9478 else
9479 no_cache=1
9480 fi
9481
9482 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9483
9484 fi;
9485
9486 eval "$ac_cv_use_official_build"
9487 if test "$no_cache" != 1; then
9488 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9489 fi
9490
9491 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9492 echo "$as_me:$LINENO: result: yes" >&5
9493 echo "${ECHO_T}yes" >&6
9494 else
9495 echo "$as_me:$LINENO: result: no" >&5
9496 echo "${ECHO_T}no" >&6
9497 fi
9498
9499 # Check whether --enable-vendor or --disable-vendor was given.
9500 if test "${enable_vendor+set}" = set; then
9501 enableval="$enable_vendor"
9502 VENDOR="$enableval"
9503 fi;
9504 if test "x$VENDOR" = "x"; then
9505 VENDOR="custom"
9506 fi
9507
9508 case "${host}" in
9509 *-pc-os2_emx | *-pc-os2-emx )
9510 PATH_IFS=';'
9511 LEX_STEM="lexyy"
9512 ;;
9513 *)
9514 PATH_IFS=':'
9515 LEX_STEM="lex.yy"
9516 ;;
9517 esac
9518
9519
9520
9521 echo "saving argument cache $wx_arg_cache_file"
9522 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9523
9524
9525
9526 echo "$as_me:$LINENO: checking for toolkit" >&5
9527 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9528
9529 # In Wine, we need to default to MSW, not GTK or MOTIF
9530 if test "$wxUSE_WINE" = "yes"; then
9531 DEFAULT_DEFAULT_wxUSE_GTK=0
9532 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9533 DEFAULT_DEFAULT_wxUSE_MSW=1
9534 fi
9535
9536 if test "$wxUSE_GUI" = "yes"; then
9537
9538 if test "$USE_BEOS" = 1; then
9539 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9540 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9541 { (exit 1); exit 1; }; }
9542 fi
9543
9544 if test "$TOOLKIT_GIVEN" = 1; then
9545 for toolkit in `echo $ALL_TOOLKITS`; do
9546 var=wxUSE_$toolkit
9547 eval "value=\$${var}"
9548 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9549 done
9550 else
9551 for toolkit in `echo $ALL_TOOLKITS`; do
9552 if test "$has_toolkit_in_cache" != 1; then
9553 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9554 else
9555 var=DEFAULT_wxUSE_$toolkit
9556 fi
9557 eval "wxUSE_$toolkit=\$${var}"
9558 done
9559 fi
9560
9561 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9562 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9563 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9564
9565 case "${host}" in
9566 *-pc-os2_emx | *-pc-os2-emx )
9567 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9568 esac
9569
9570 case "$NUM_TOOLKITS" in
9571 1)
9572 ;;
9573 0)
9574 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9575 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9576 { (exit 1); exit 1; }; }
9577 ;;
9578 *)
9579 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9580 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9581 { (exit 1); exit 1; }; }
9582 esac
9583
9584 for toolkit in `echo $ALL_TOOLKITS`; do
9585 var=wxUSE_$toolkit
9586 eval "value=\$${var}"
9587 if test "x$value" != x; then
9588 cache_var=CACHE_$toolkit
9589 eval "cache=\$${cache_var}"
9590 if test "$cache" = 1; then
9591 echo "$var=$value" >> ${wx_arg_cache_file}
9592 fi
9593 if test "$value" = 1; then
9594 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9595 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9596 echo "${ECHO_T}$toolkit_echo" >&6
9597 fi
9598 fi
9599 done
9600 else
9601 if test "x$host_alias" != "x"; then
9602 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9603 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9604 else
9605 echo "$as_me:$LINENO: result: base only" >&5
9606 echo "${ECHO_T}base only" >&6
9607 fi
9608 fi
9609
9610 wants_win32=0
9611 doesnt_want_win32=0
9612 case "${host}" in
9613 *-*-cygwin*)
9614 if test "$wxUSE_MSW" = 1 ; then
9615 wants_win32=1
9616 else
9617 doesnt_want_win32=1
9618 fi
9619 ;;
9620 *-*-mingw*)
9621 wants_win32=1
9622 ;;
9623 esac
9624
9625 if test "$wxUSE_WINE" = "yes"; then
9626 wants_win32=1
9627 CC=winegcc
9628 CXX=wineg++
9629 RESCOMP=wrc
9630 fi
9631
9632 if test "$wants_win32" = 1 ; then
9633 USE_UNIX=0
9634 USE_WIN32=1
9635 cat >>confdefs.h <<\_ACEOF
9636 #define __WIN32__ 1
9637 _ACEOF
9638
9639 cat >>confdefs.h <<\_ACEOF
9640 #define __WIN95__ 1
9641 _ACEOF
9642
9643 cat >>confdefs.h <<\_ACEOF
9644 #define __WINDOWS__ 1
9645 _ACEOF
9646
9647 cat >>confdefs.h <<\_ACEOF
9648 #define __GNUWIN32__ 1
9649 _ACEOF
9650
9651 cat >>confdefs.h <<\_ACEOF
9652 #define STRICT 1
9653 _ACEOF
9654
9655 cat >>confdefs.h <<\_ACEOF
9656 #define WINVER 0x0400
9657 _ACEOF
9658
9659 fi
9660 if test "$doesnt_want_win32" = 1 ; then
9661 USE_UNIX=1
9662 USE_WIN32=0
9663 fi
9664
9665 if test "$USE_UNIX" = 1 ; then
9666 wxUSE_UNIX=yes
9667 cat >>confdefs.h <<\_ACEOF
9668 #define __UNIX__ 1
9669 _ACEOF
9670
9671 fi
9672
9673
9674 cat >confcache <<\_ACEOF
9675 # This file is a shell script that caches the results of configure
9676 # tests run on this system so they can be shared between configure
9677 # scripts and configure runs, see configure's option --config-cache.
9678 # It is not useful on other systems. If it contains results you don't
9679 # want to keep, you may remove or edit it.
9680 #
9681 # config.status only pays attention to the cache file if you give it
9682 # the --recheck option to rerun configure.
9683 #
9684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9686 # following values.
9687
9688 _ACEOF
9689
9690 # The following way of writing the cache mishandles newlines in values,
9691 # but we know of no workaround that is simple, portable, and efficient.
9692 # So, don't put newlines in cache variables' values.
9693 # Ultrix sh set writes to stderr and can't be redirected directly,
9694 # and sets the high bit in the cache file unless we assign to the vars.
9695 {
9696 (set) 2>&1 |
9697 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9698 *ac_space=\ *)
9699 # `set' does not quote correctly, so add quotes (double-quote
9700 # substitution turns \\\\ into \\, and sed turns \\ into \).
9701 sed -n \
9702 "s/'/'\\\\''/g;
9703 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9704 ;;
9705 *)
9706 # `set' quotes correctly as required by POSIX, so do not add quotes.
9707 sed -n \
9708 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9709 ;;
9710 esac;
9711 } |
9712 sed '
9713 t clear
9714 : clear
9715 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9716 t end
9717 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9718 : end' >>confcache
9719 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9720 if test -w $cache_file; then
9721 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9722 cat confcache >$cache_file
9723 else
9724 echo "not updating unwritable cache $cache_file"
9725 fi
9726 fi
9727 rm -f confcache
9728
9729 if test "$build" != "$host" ; then
9730 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9731 CC=$host_alias-gcc
9732 CXX=$host_alias-c++
9733 AR=$host_alias-ar
9734 RANLIB=$host_alias-ranlib
9735 DLLTOOL=$host_alias-dlltool
9736 RESCOMP=$host_alias-windres
9737 LD=$host_alias-ld
9738 NM=$host_alias-nm
9739 STRIP=$host_alias-strip
9740 else
9741 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9742 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9743 { (exit 1); exit 1; }; }
9744 fi
9745 fi
9746
9747 CFLAGS=${CFLAGS:=}
9748 ac_ext=c
9749 ac_cpp='$CPP $CPPFLAGS'
9750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9753 if test -n "$ac_tool_prefix"; then
9754 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9755 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9756 echo "$as_me:$LINENO: checking for $ac_word" >&5
9757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9758 if test "${ac_cv_prog_CC+set}" = set; then
9759 echo $ECHO_N "(cached) $ECHO_C" >&6
9760 else
9761 if test -n "$CC"; then
9762 ac_cv_prog_CC="$CC" # Let the user override the test.
9763 else
9764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9765 for as_dir in $PATH
9766 do
9767 IFS=$as_save_IFS
9768 test -z "$as_dir" && as_dir=.
9769 for ac_exec_ext in '' $ac_executable_extensions; do
9770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9771 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9773 break 2
9774 fi
9775 done
9776 done
9777
9778 fi
9779 fi
9780 CC=$ac_cv_prog_CC
9781 if test -n "$CC"; then
9782 echo "$as_me:$LINENO: result: $CC" >&5
9783 echo "${ECHO_T}$CC" >&6
9784 else
9785 echo "$as_me:$LINENO: result: no" >&5
9786 echo "${ECHO_T}no" >&6
9787 fi
9788
9789 fi
9790 if test -z "$ac_cv_prog_CC"; then
9791 ac_ct_CC=$CC
9792 # Extract the first word of "gcc", so it can be a program name with args.
9793 set dummy gcc; ac_word=$2
9794 echo "$as_me:$LINENO: checking for $ac_word" >&5
9795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9797 echo $ECHO_N "(cached) $ECHO_C" >&6
9798 else
9799 if test -n "$ac_ct_CC"; then
9800 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9801 else
9802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9803 for as_dir in $PATH
9804 do
9805 IFS=$as_save_IFS
9806 test -z "$as_dir" && as_dir=.
9807 for ac_exec_ext in '' $ac_executable_extensions; do
9808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9809 ac_cv_prog_ac_ct_CC="gcc"
9810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9811 break 2
9812 fi
9813 done
9814 done
9815
9816 fi
9817 fi
9818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9819 if test -n "$ac_ct_CC"; then
9820 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9821 echo "${ECHO_T}$ac_ct_CC" >&6
9822 else
9823 echo "$as_me:$LINENO: result: no" >&5
9824 echo "${ECHO_T}no" >&6
9825 fi
9826
9827 CC=$ac_ct_CC
9828 else
9829 CC="$ac_cv_prog_CC"
9830 fi
9831
9832 if test -z "$CC"; then
9833 if test -n "$ac_tool_prefix"; then
9834 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9835 set dummy ${ac_tool_prefix}cc; ac_word=$2
9836 echo "$as_me:$LINENO: checking for $ac_word" >&5
9837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9838 if test "${ac_cv_prog_CC+set}" = set; then
9839 echo $ECHO_N "(cached) $ECHO_C" >&6
9840 else
9841 if test -n "$CC"; then
9842 ac_cv_prog_CC="$CC" # Let the user override the test.
9843 else
9844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9845 for as_dir in $PATH
9846 do
9847 IFS=$as_save_IFS
9848 test -z "$as_dir" && as_dir=.
9849 for ac_exec_ext in '' $ac_executable_extensions; do
9850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9851 ac_cv_prog_CC="${ac_tool_prefix}cc"
9852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9853 break 2
9854 fi
9855 done
9856 done
9857
9858 fi
9859 fi
9860 CC=$ac_cv_prog_CC
9861 if test -n "$CC"; then
9862 echo "$as_me:$LINENO: result: $CC" >&5
9863 echo "${ECHO_T}$CC" >&6
9864 else
9865 echo "$as_me:$LINENO: result: no" >&5
9866 echo "${ECHO_T}no" >&6
9867 fi
9868
9869 fi
9870 if test -z "$ac_cv_prog_CC"; then
9871 ac_ct_CC=$CC
9872 # Extract the first word of "cc", so it can be a program name with args.
9873 set dummy cc; ac_word=$2
9874 echo "$as_me:$LINENO: checking for $ac_word" >&5
9875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9877 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 else
9879 if test -n "$ac_ct_CC"; then
9880 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9881 else
9882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9883 for as_dir in $PATH
9884 do
9885 IFS=$as_save_IFS
9886 test -z "$as_dir" && as_dir=.
9887 for ac_exec_ext in '' $ac_executable_extensions; do
9888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9889 ac_cv_prog_ac_ct_CC="cc"
9890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9891 break 2
9892 fi
9893 done
9894 done
9895
9896 fi
9897 fi
9898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9899 if test -n "$ac_ct_CC"; then
9900 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9901 echo "${ECHO_T}$ac_ct_CC" >&6
9902 else
9903 echo "$as_me:$LINENO: result: no" >&5
9904 echo "${ECHO_T}no" >&6
9905 fi
9906
9907 CC=$ac_ct_CC
9908 else
9909 CC="$ac_cv_prog_CC"
9910 fi
9911
9912 fi
9913 if test -z "$CC"; then
9914 # Extract the first word of "cc", so it can be a program name with args.
9915 set dummy cc; ac_word=$2
9916 echo "$as_me:$LINENO: checking for $ac_word" >&5
9917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9918 if test "${ac_cv_prog_CC+set}" = set; then
9919 echo $ECHO_N "(cached) $ECHO_C" >&6
9920 else
9921 if test -n "$CC"; then
9922 ac_cv_prog_CC="$CC" # Let the user override the test.
9923 else
9924 ac_prog_rejected=no
9925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9926 for as_dir in $PATH
9927 do
9928 IFS=$as_save_IFS
9929 test -z "$as_dir" && as_dir=.
9930 for ac_exec_ext in '' $ac_executable_extensions; do
9931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9932 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9933 ac_prog_rejected=yes
9934 continue
9935 fi
9936 ac_cv_prog_CC="cc"
9937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9938 break 2
9939 fi
9940 done
9941 done
9942
9943 if test $ac_prog_rejected = yes; then
9944 # We found a bogon in the path, so make sure we never use it.
9945 set dummy $ac_cv_prog_CC
9946 shift
9947 if test $# != 0; then
9948 # We chose a different compiler from the bogus one.
9949 # However, it has the same basename, so the bogon will be chosen
9950 # first if we set CC to just the basename; use the full file name.
9951 shift
9952 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9953 fi
9954 fi
9955 fi
9956 fi
9957 CC=$ac_cv_prog_CC
9958 if test -n "$CC"; then
9959 echo "$as_me:$LINENO: result: $CC" >&5
9960 echo "${ECHO_T}$CC" >&6
9961 else
9962 echo "$as_me:$LINENO: result: no" >&5
9963 echo "${ECHO_T}no" >&6
9964 fi
9965
9966 fi
9967 if test -z "$CC"; then
9968 if test -n "$ac_tool_prefix"; then
9969 for ac_prog in cl
9970 do
9971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9972 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9973 echo "$as_me:$LINENO: checking for $ac_word" >&5
9974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9975 if test "${ac_cv_prog_CC+set}" = set; then
9976 echo $ECHO_N "(cached) $ECHO_C" >&6
9977 else
9978 if test -n "$CC"; then
9979 ac_cv_prog_CC="$CC" # Let the user override the test.
9980 else
9981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9982 for as_dir in $PATH
9983 do
9984 IFS=$as_save_IFS
9985 test -z "$as_dir" && as_dir=.
9986 for ac_exec_ext in '' $ac_executable_extensions; do
9987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9988 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9990 break 2
9991 fi
9992 done
9993 done
9994
9995 fi
9996 fi
9997 CC=$ac_cv_prog_CC
9998 if test -n "$CC"; then
9999 echo "$as_me:$LINENO: result: $CC" >&5
10000 echo "${ECHO_T}$CC" >&6
10001 else
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10004 fi
10005
10006 test -n "$CC" && break
10007 done
10008 fi
10009 if test -z "$CC"; then
10010 ac_ct_CC=$CC
10011 for ac_prog in cl
10012 do
10013 # Extract the first word of "$ac_prog", so it can be a program name with args.
10014 set dummy $ac_prog; ac_word=$2
10015 echo "$as_me:$LINENO: checking for $ac_word" >&5
10016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10017 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10018 echo $ECHO_N "(cached) $ECHO_C" >&6
10019 else
10020 if test -n "$ac_ct_CC"; then
10021 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10022 else
10023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10024 for as_dir in $PATH
10025 do
10026 IFS=$as_save_IFS
10027 test -z "$as_dir" && as_dir=.
10028 for ac_exec_ext in '' $ac_executable_extensions; do
10029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10030 ac_cv_prog_ac_ct_CC="$ac_prog"
10031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10032 break 2
10033 fi
10034 done
10035 done
10036
10037 fi
10038 fi
10039 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10040 if test -n "$ac_ct_CC"; then
10041 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10042 echo "${ECHO_T}$ac_ct_CC" >&6
10043 else
10044 echo "$as_me:$LINENO: result: no" >&5
10045 echo "${ECHO_T}no" >&6
10046 fi
10047
10048 test -n "$ac_ct_CC" && break
10049 done
10050
10051 CC=$ac_ct_CC
10052 fi
10053
10054 fi
10055
10056
10057 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10058 See \`config.log' for more details." >&5
10059 echo "$as_me: error: no acceptable C compiler found in \$PATH
10060 See \`config.log' for more details." >&2;}
10061 { (exit 1); exit 1; }; }
10062
10063 # Provide some information about the compiler.
10064 echo "$as_me:$LINENO:" \
10065 "checking for C compiler version" >&5
10066 ac_compiler=`set X $ac_compile; echo $2`
10067 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10068 (eval $ac_compiler --version </dev/null >&5) 2>&5
10069 ac_status=$?
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); }
10072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10073 (eval $ac_compiler -v </dev/null >&5) 2>&5
10074 ac_status=$?
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); }
10077 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10078 (eval $ac_compiler -V </dev/null >&5) 2>&5
10079 ac_status=$?
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); }
10082
10083 cat >conftest.$ac_ext <<_ACEOF
10084 #line $LINENO "configure"
10085 /* confdefs.h. */
10086 _ACEOF
10087 cat confdefs.h >>conftest.$ac_ext
10088 cat >>conftest.$ac_ext <<_ACEOF
10089 /* end confdefs.h. */
10090
10091 int
10092 main ()
10093 {
10094
10095 ;
10096 return 0;
10097 }
10098 _ACEOF
10099 ac_clean_files_save=$ac_clean_files
10100 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10101 # Try to create an executable without -o first, disregard a.out.
10102 # It will help us diagnose broken compilers, and finding out an intuition
10103 # of exeext.
10104 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10105 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10106 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10107 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10108 (eval $ac_link_default) 2>&5
10109 ac_status=$?
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; then
10112 # Find the output, starting from the most likely. This scheme is
10113 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10114 # resort.
10115
10116 # Be careful to initialize this variable, since it used to be cached.
10117 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10118 ac_cv_exeext=
10119 # b.out is created by i960 compilers.
10120 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10121 do
10122 test -f "$ac_file" || continue
10123 case $ac_file in
10124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10125 ;;
10126 conftest.$ac_ext )
10127 # This is the source file.
10128 ;;
10129 [ab].out )
10130 # We found the default executable, but exeext='' is most
10131 # certainly right.
10132 break;;
10133 *.* )
10134 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10135 # FIXME: I believe we export ac_cv_exeext for Libtool,
10136 # but it would be cool to find out if it's true. Does anybody
10137 # maintain Libtool? --akim.
10138 export ac_cv_exeext
10139 break;;
10140 * )
10141 break;;
10142 esac
10143 done
10144 else
10145 echo "$as_me: failed program was:" >&5
10146 sed 's/^/| /' conftest.$ac_ext >&5
10147
10148 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10149 See \`config.log' for more details." >&5
10150 echo "$as_me: error: C compiler cannot create executables
10151 See \`config.log' for more details." >&2;}
10152 { (exit 77); exit 77; }; }
10153 fi
10154
10155 ac_exeext=$ac_cv_exeext
10156 echo "$as_me:$LINENO: result: $ac_file" >&5
10157 echo "${ECHO_T}$ac_file" >&6
10158
10159 # Check the compiler produces executables we can run. If not, either
10160 # the compiler is broken, or we cross compile.
10161 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10162 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10163 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10164 # If not cross compiling, check that we can run a simple program.
10165 if test "$cross_compiling" != yes; then
10166 if { ac_try='./$ac_file'
10167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10168 (eval $ac_try) 2>&5
10169 ac_status=$?
10170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10171 (exit $ac_status); }; }; then
10172 cross_compiling=no
10173 else
10174 if test "$cross_compiling" = maybe; then
10175 cross_compiling=yes
10176 else
10177 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10178 If you meant to cross compile, use \`--host'.
10179 See \`config.log' for more details." >&5
10180 echo "$as_me: error: cannot run C compiled programs.
10181 If you meant to cross compile, use \`--host'.
10182 See \`config.log' for more details." >&2;}
10183 { (exit 1); exit 1; }; }
10184 fi
10185 fi
10186 fi
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10189
10190 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10191 ac_clean_files=$ac_clean_files_save
10192 # Check the compiler produces executables we can run. If not, either
10193 # the compiler is broken, or we cross compile.
10194 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10195 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10196 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10197 echo "${ECHO_T}$cross_compiling" >&6
10198
10199 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10200 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10202 (eval $ac_link) 2>&5
10203 ac_status=$?
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); }; then
10206 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10207 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10208 # work properly (i.e., refer to `conftest.exe'), while it won't with
10209 # `rm'.
10210 for ac_file in conftest.exe conftest conftest.*; do
10211 test -f "$ac_file" || continue
10212 case $ac_file in
10213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10214 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10215 export ac_cv_exeext
10216 break;;
10217 * ) break;;
10218 esac
10219 done
10220 else
10221 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10222 See \`config.log' for more details." >&5
10223 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10224 See \`config.log' for more details." >&2;}
10225 { (exit 1); exit 1; }; }
10226 fi
10227
10228 rm -f conftest$ac_cv_exeext
10229 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10230 echo "${ECHO_T}$ac_cv_exeext" >&6
10231
10232 rm -f conftest.$ac_ext
10233 EXEEXT=$ac_cv_exeext
10234 ac_exeext=$EXEEXT
10235 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10237 if test "${ac_cv_objext+set}" = set; then
10238 echo $ECHO_N "(cached) $ECHO_C" >&6
10239 else
10240 cat >conftest.$ac_ext <<_ACEOF
10241 #line $LINENO "configure"
10242 /* confdefs.h. */
10243 _ACEOF
10244 cat confdefs.h >>conftest.$ac_ext
10245 cat >>conftest.$ac_ext <<_ACEOF
10246 /* end confdefs.h. */
10247
10248 int
10249 main ()
10250 {
10251
10252 ;
10253 return 0;
10254 }
10255 _ACEOF
10256 rm -f conftest.o conftest.obj
10257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10258 (eval $ac_compile) 2>&5
10259 ac_status=$?
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); }; then
10262 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10263 case $ac_file in
10264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10265 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10266 break;;
10267 esac
10268 done
10269 else
10270 echo "$as_me: failed program was:" >&5
10271 sed 's/^/| /' conftest.$ac_ext >&5
10272
10273 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10274 See \`config.log' for more details." >&5
10275 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10276 See \`config.log' for more details." >&2;}
10277 { (exit 1); exit 1; }; }
10278 fi
10279
10280 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10281 fi
10282 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10283 echo "${ECHO_T}$ac_cv_objext" >&6
10284 OBJEXT=$ac_cv_objext
10285 ac_objext=$OBJEXT
10286 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10287 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10288 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10289 echo $ECHO_N "(cached) $ECHO_C" >&6
10290 else
10291 cat >conftest.$ac_ext <<_ACEOF
10292 #line $LINENO "configure"
10293 /* confdefs.h. */
10294 _ACEOF
10295 cat confdefs.h >>conftest.$ac_ext
10296 cat >>conftest.$ac_ext <<_ACEOF
10297 /* end confdefs.h. */
10298
10299 int
10300 main ()
10301 {
10302 #ifndef __GNUC__
10303 choke me
10304 #endif
10305
10306 ;
10307 return 0;
10308 }
10309 _ACEOF
10310 rm -f conftest.$ac_objext
10311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10312 (eval $ac_compile) 2>&5
10313 ac_status=$?
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); } &&
10316 { ac_try='test -s conftest.$ac_objext'
10317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10318 (eval $ac_try) 2>&5
10319 ac_status=$?
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); }; }; then
10322 ac_compiler_gnu=yes
10323 else
10324 echo "$as_me: failed program was:" >&5
10325 sed 's/^/| /' conftest.$ac_ext >&5
10326
10327 ac_compiler_gnu=no
10328 fi
10329 rm -f conftest.$ac_objext conftest.$ac_ext
10330 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10331
10332 fi
10333 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10334 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10335 GCC=`test $ac_compiler_gnu = yes && echo yes`
10336 ac_test_CFLAGS=${CFLAGS+set}
10337 ac_save_CFLAGS=$CFLAGS
10338 CFLAGS="-g"
10339 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10340 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10341 if test "${ac_cv_prog_cc_g+set}" = set; then
10342 echo $ECHO_N "(cached) $ECHO_C" >&6
10343 else
10344 cat >conftest.$ac_ext <<_ACEOF
10345 #line $LINENO "configure"
10346 /* confdefs.h. */
10347 _ACEOF
10348 cat confdefs.h >>conftest.$ac_ext
10349 cat >>conftest.$ac_ext <<_ACEOF
10350 /* end confdefs.h. */
10351
10352 int
10353 main ()
10354 {
10355
10356 ;
10357 return 0;
10358 }
10359 _ACEOF
10360 rm -f conftest.$ac_objext
10361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10362 (eval $ac_compile) 2>&5
10363 ac_status=$?
10364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365 (exit $ac_status); } &&
10366 { ac_try='test -s conftest.$ac_objext'
10367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368 (eval $ac_try) 2>&5
10369 ac_status=$?
10370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 (exit $ac_status); }; }; then
10372 ac_cv_prog_cc_g=yes
10373 else
10374 echo "$as_me: failed program was:" >&5
10375 sed 's/^/| /' conftest.$ac_ext >&5
10376
10377 ac_cv_prog_cc_g=no
10378 fi
10379 rm -f conftest.$ac_objext conftest.$ac_ext
10380 fi
10381 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10382 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10383 if test "$ac_test_CFLAGS" = set; then
10384 CFLAGS=$ac_save_CFLAGS
10385 elif test $ac_cv_prog_cc_g = yes; then
10386 if test "$GCC" = yes; then
10387 CFLAGS="-g -O2"
10388 else
10389 CFLAGS="-g"
10390 fi
10391 else
10392 if test "$GCC" = yes; then
10393 CFLAGS="-O2"
10394 else
10395 CFLAGS=
10396 fi
10397 fi
10398 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10399 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10400 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10401 echo $ECHO_N "(cached) $ECHO_C" >&6
10402 else
10403 ac_cv_prog_cc_stdc=no
10404 ac_save_CC=$CC
10405 cat >conftest.$ac_ext <<_ACEOF
10406 #line $LINENO "configure"
10407 /* confdefs.h. */
10408 _ACEOF
10409 cat confdefs.h >>conftest.$ac_ext
10410 cat >>conftest.$ac_ext <<_ACEOF
10411 /* end confdefs.h. */
10412 #include <stdarg.h>
10413 #include <stdio.h>
10414 #include <sys/types.h>
10415 #include <sys/stat.h>
10416 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10417 struct buf { int x; };
10418 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10419 static char *e (p, i)
10420 char **p;
10421 int i;
10422 {
10423 return p[i];
10424 }
10425 static char *f (char * (*g) (char **, int), char **p, ...)
10426 {
10427 char *s;
10428 va_list v;
10429 va_start (v,p);
10430 s = g (p, va_arg (v,int));
10431 va_end (v);
10432 return s;
10433 }
10434 int test (int i, double x);
10435 struct s1 {int (*f) (int a);};
10436 struct s2 {int (*f) (double a);};
10437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10438 int argc;
10439 char **argv;
10440 int
10441 main ()
10442 {
10443 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10444 ;
10445 return 0;
10446 }
10447 _ACEOF
10448 # Don't try gcc -ansi; that turns off useful extensions and
10449 # breaks some systems' header files.
10450 # AIX -qlanglvl=ansi
10451 # Ultrix and OSF/1 -std1
10452 # HP-UX 10.20 and later -Ae
10453 # HP-UX older versions -Aa -D_HPUX_SOURCE
10454 # SVR4 -Xc -D__EXTENSIONS__
10455 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10456 do
10457 CC="$ac_save_CC $ac_arg"
10458 rm -f conftest.$ac_objext
10459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10460 (eval $ac_compile) 2>&5
10461 ac_status=$?
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); } &&
10464 { ac_try='test -s conftest.$ac_objext'
10465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10466 (eval $ac_try) 2>&5
10467 ac_status=$?
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); }; }; then
10470 ac_cv_prog_cc_stdc=$ac_arg
10471 break
10472 else
10473 echo "$as_me: failed program was:" >&5
10474 sed 's/^/| /' conftest.$ac_ext >&5
10475
10476 fi
10477 rm -f conftest.$ac_objext
10478 done
10479 rm -f conftest.$ac_ext conftest.$ac_objext
10480 CC=$ac_save_CC
10481
10482 fi
10483
10484 case "x$ac_cv_prog_cc_stdc" in
10485 x|xno)
10486 echo "$as_me:$LINENO: result: none needed" >&5
10487 echo "${ECHO_T}none needed" >&6 ;;
10488 *)
10489 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10490 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10491 CC="$CC $ac_cv_prog_cc_stdc" ;;
10492 esac
10493
10494 # Some people use a C++ compiler to compile C. Since we use `exit',
10495 # in C++ we need to declare it. In case someone uses the same compiler
10496 # for both compiling C and C++ we need to have the C++ compiler decide
10497 # the declaration of exit, since it's the most demanding environment.
10498 cat >conftest.$ac_ext <<_ACEOF
10499 #ifndef __cplusplus
10500 choke me
10501 #endif
10502 _ACEOF
10503 rm -f conftest.$ac_objext
10504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10505 (eval $ac_compile) 2>&5
10506 ac_status=$?
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); } &&
10509 { ac_try='test -s conftest.$ac_objext'
10510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10511 (eval $ac_try) 2>&5
10512 ac_status=$?
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); }; }; then
10515 for ac_declaration in \
10516 ''\
10517 '#include <stdlib.h>' \
10518 'extern "C" void std::exit (int) throw (); using std::exit;' \
10519 'extern "C" void std::exit (int); using std::exit;' \
10520 'extern "C" void exit (int) throw ();' \
10521 'extern "C" void exit (int);' \
10522 'void exit (int);'
10523 do
10524 cat >conftest.$ac_ext <<_ACEOF
10525 #line $LINENO "configure"
10526 /* confdefs.h. */
10527 _ACEOF
10528 cat confdefs.h >>conftest.$ac_ext
10529 cat >>conftest.$ac_ext <<_ACEOF
10530 /* end confdefs.h. */
10531 #include <stdlib.h>
10532 $ac_declaration
10533 int
10534 main ()
10535 {
10536 exit (42);
10537 ;
10538 return 0;
10539 }
10540 _ACEOF
10541 rm -f conftest.$ac_objext
10542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10543 (eval $ac_compile) 2>&5
10544 ac_status=$?
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); } &&
10547 { ac_try='test -s conftest.$ac_objext'
10548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10549 (eval $ac_try) 2>&5
10550 ac_status=$?
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); }; }; then
10553 :
10554 else
10555 echo "$as_me: failed program was:" >&5
10556 sed 's/^/| /' conftest.$ac_ext >&5
10557
10558 continue
10559 fi
10560 rm -f conftest.$ac_objext conftest.$ac_ext
10561 cat >conftest.$ac_ext <<_ACEOF
10562 #line $LINENO "configure"
10563 /* confdefs.h. */
10564 _ACEOF
10565 cat confdefs.h >>conftest.$ac_ext
10566 cat >>conftest.$ac_ext <<_ACEOF
10567 /* end confdefs.h. */
10568 $ac_declaration
10569 int
10570 main ()
10571 {
10572 exit (42);
10573 ;
10574 return 0;
10575 }
10576 _ACEOF
10577 rm -f conftest.$ac_objext
10578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10579 (eval $ac_compile) 2>&5
10580 ac_status=$?
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); } &&
10583 { ac_try='test -s conftest.$ac_objext'
10584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10585 (eval $ac_try) 2>&5
10586 ac_status=$?
10587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588 (exit $ac_status); }; }; then
10589 break
10590 else
10591 echo "$as_me: failed program was:" >&5
10592 sed 's/^/| /' conftest.$ac_ext >&5
10593
10594 fi
10595 rm -f conftest.$ac_objext conftest.$ac_ext
10596 done
10597 rm -f conftest*
10598 if test -n "$ac_declaration"; then
10599 echo '#ifdef __cplusplus' >>confdefs.h
10600 echo $ac_declaration >>confdefs.h
10601 echo '#endif' >>confdefs.h
10602 fi
10603
10604 else
10605 echo "$as_me: failed program was:" >&5
10606 sed 's/^/| /' conftest.$ac_ext >&5
10607
10608 fi
10609 rm -f conftest.$ac_objext conftest.$ac_ext
10610 ac_ext=c
10611 ac_cpp='$CPP $CPPFLAGS'
10612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10615
10616
10617
10618 ac_ext=c
10619 ac_cpp='$CPP $CPPFLAGS'
10620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10623 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10624 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10625 # On Suns, sometimes $CPP names a directory.
10626 if test -n "$CPP" && test -d "$CPP"; then
10627 CPP=
10628 fi
10629 if test -z "$CPP"; then
10630 if test "${ac_cv_prog_CPP+set}" = set; then
10631 echo $ECHO_N "(cached) $ECHO_C" >&6
10632 else
10633 # Double quotes because CPP needs to be expanded
10634 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10635 do
10636 ac_preproc_ok=false
10637 for ac_c_preproc_warn_flag in '' yes
10638 do
10639 # Use a header file that comes with gcc, so configuring glibc
10640 # with a fresh cross-compiler works.
10641 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10642 # <limits.h> exists even on freestanding compilers.
10643 # On the NeXT, cc -E runs the code through the compiler's parser,
10644 # not just through cpp. "Syntax error" is here to catch this case.
10645 cat >conftest.$ac_ext <<_ACEOF
10646 #line $LINENO "configure"
10647 /* confdefs.h. */
10648 _ACEOF
10649 cat confdefs.h >>conftest.$ac_ext
10650 cat >>conftest.$ac_ext <<_ACEOF
10651 /* end confdefs.h. */
10652 #ifdef __STDC__
10653 # include <limits.h>
10654 #else
10655 # include <assert.h>
10656 #endif
10657 Syntax error
10658 _ACEOF
10659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10661 ac_status=$?
10662 grep -v '^ *+' conftest.er1 >conftest.err
10663 rm -f conftest.er1
10664 cat conftest.err >&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } >/dev/null; then
10667 if test -s conftest.err; then
10668 ac_cpp_err=$ac_c_preproc_warn_flag
10669 else
10670 ac_cpp_err=
10671 fi
10672 else
10673 ac_cpp_err=yes
10674 fi
10675 if test -z "$ac_cpp_err"; then
10676 :
10677 else
10678 echo "$as_me: failed program was:" >&5
10679 sed 's/^/| /' conftest.$ac_ext >&5
10680
10681 # Broken: fails on valid input.
10682 continue
10683 fi
10684 rm -f conftest.err conftest.$ac_ext
10685
10686 # OK, works on sane cases. Now check whether non-existent headers
10687 # can be detected and how.
10688 cat >conftest.$ac_ext <<_ACEOF
10689 #line $LINENO "configure"
10690 /* confdefs.h. */
10691 _ACEOF
10692 cat confdefs.h >>conftest.$ac_ext
10693 cat >>conftest.$ac_ext <<_ACEOF
10694 /* end confdefs.h. */
10695 #include <ac_nonexistent.h>
10696 _ACEOF
10697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10699 ac_status=$?
10700 grep -v '^ *+' conftest.er1 >conftest.err
10701 rm -f conftest.er1
10702 cat conftest.err >&5
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); } >/dev/null; then
10705 if test -s conftest.err; then
10706 ac_cpp_err=$ac_c_preproc_warn_flag
10707 else
10708 ac_cpp_err=
10709 fi
10710 else
10711 ac_cpp_err=yes
10712 fi
10713 if test -z "$ac_cpp_err"; then
10714 # Broken: success on invalid input.
10715 continue
10716 else
10717 echo "$as_me: failed program was:" >&5
10718 sed 's/^/| /' conftest.$ac_ext >&5
10719
10720 # Passes both tests.
10721 ac_preproc_ok=:
10722 break
10723 fi
10724 rm -f conftest.err conftest.$ac_ext
10725
10726 done
10727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10728 rm -f conftest.err conftest.$ac_ext
10729 if $ac_preproc_ok; then
10730 break
10731 fi
10732
10733 done
10734 ac_cv_prog_CPP=$CPP
10735
10736 fi
10737 CPP=$ac_cv_prog_CPP
10738 else
10739 ac_cv_prog_CPP=$CPP
10740 fi
10741 echo "$as_me:$LINENO: result: $CPP" >&5
10742 echo "${ECHO_T}$CPP" >&6
10743 ac_preproc_ok=false
10744 for ac_c_preproc_warn_flag in '' yes
10745 do
10746 # Use a header file that comes with gcc, so configuring glibc
10747 # with a fresh cross-compiler works.
10748 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10749 # <limits.h> exists even on freestanding compilers.
10750 # On the NeXT, cc -E runs the code through the compiler's parser,
10751 # not just through cpp. "Syntax error" is here to catch this case.
10752 cat >conftest.$ac_ext <<_ACEOF
10753 #line $LINENO "configure"
10754 /* confdefs.h. */
10755 _ACEOF
10756 cat confdefs.h >>conftest.$ac_ext
10757 cat >>conftest.$ac_ext <<_ACEOF
10758 /* end confdefs.h. */
10759 #ifdef __STDC__
10760 # include <limits.h>
10761 #else
10762 # include <assert.h>
10763 #endif
10764 Syntax error
10765 _ACEOF
10766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10767 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10768 ac_status=$?
10769 grep -v '^ *+' conftest.er1 >conftest.err
10770 rm -f conftest.er1
10771 cat conftest.err >&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } >/dev/null; then
10774 if test -s conftest.err; then
10775 ac_cpp_err=$ac_c_preproc_warn_flag
10776 else
10777 ac_cpp_err=
10778 fi
10779 else
10780 ac_cpp_err=yes
10781 fi
10782 if test -z "$ac_cpp_err"; then
10783 :
10784 else
10785 echo "$as_me: failed program was:" >&5
10786 sed 's/^/| /' conftest.$ac_ext >&5
10787
10788 # Broken: fails on valid input.
10789 continue
10790 fi
10791 rm -f conftest.err conftest.$ac_ext
10792
10793 # OK, works on sane cases. Now check whether non-existent headers
10794 # can be detected and how.
10795 cat >conftest.$ac_ext <<_ACEOF
10796 #line $LINENO "configure"
10797 /* confdefs.h. */
10798 _ACEOF
10799 cat confdefs.h >>conftest.$ac_ext
10800 cat >>conftest.$ac_ext <<_ACEOF
10801 /* end confdefs.h. */
10802 #include <ac_nonexistent.h>
10803 _ACEOF
10804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10806 ac_status=$?
10807 grep -v '^ *+' conftest.er1 >conftest.err
10808 rm -f conftest.er1
10809 cat conftest.err >&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } >/dev/null; then
10812 if test -s conftest.err; then
10813 ac_cpp_err=$ac_c_preproc_warn_flag
10814 else
10815 ac_cpp_err=
10816 fi
10817 else
10818 ac_cpp_err=yes
10819 fi
10820 if test -z "$ac_cpp_err"; then
10821 # Broken: success on invalid input.
10822 continue
10823 else
10824 echo "$as_me: failed program was:" >&5
10825 sed 's/^/| /' conftest.$ac_ext >&5
10826
10827 # Passes both tests.
10828 ac_preproc_ok=:
10829 break
10830 fi
10831 rm -f conftest.err conftest.$ac_ext
10832
10833 done
10834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10835 rm -f conftest.err conftest.$ac_ext
10836 if $ac_preproc_ok; then
10837 :
10838 else
10839 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10840 See \`config.log' for more details." >&5
10841 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10842 See \`config.log' for more details." >&2;}
10843 { (exit 1); exit 1; }; }
10844 fi
10845
10846 ac_ext=c
10847 ac_cpp='$CPP $CPPFLAGS'
10848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10851
10852
10853 echo "$as_me:$LINENO: checking for egrep" >&5
10854 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10855 if test "${ac_cv_prog_egrep+set}" = set; then
10856 echo $ECHO_N "(cached) $ECHO_C" >&6
10857 else
10858 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10859 then ac_cv_prog_egrep='grep -E'
10860 else ac_cv_prog_egrep='egrep'
10861 fi
10862 fi
10863 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10864 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10865 EGREP=$ac_cv_prog_egrep
10866
10867
10868 if test $ac_cv_c_compiler_gnu = yes; then
10869 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10870 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10871 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 else
10874 ac_pattern="Autoconf.*'x'"
10875 cat >conftest.$ac_ext <<_ACEOF
10876 #line $LINENO "configure"
10877 /* confdefs.h. */
10878 _ACEOF
10879 cat confdefs.h >>conftest.$ac_ext
10880 cat >>conftest.$ac_ext <<_ACEOF
10881 /* end confdefs.h. */
10882 #include <sgtty.h>
10883 Autoconf TIOCGETP
10884 _ACEOF
10885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10886 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10887 ac_cv_prog_gcc_traditional=yes
10888 else
10889 ac_cv_prog_gcc_traditional=no
10890 fi
10891 rm -f conftest*
10892
10893
10894 if test $ac_cv_prog_gcc_traditional = no; then
10895 cat >conftest.$ac_ext <<_ACEOF
10896 #line $LINENO "configure"
10897 /* confdefs.h. */
10898 _ACEOF
10899 cat confdefs.h >>conftest.$ac_ext
10900 cat >>conftest.$ac_ext <<_ACEOF
10901 /* end confdefs.h. */
10902 #include <termio.h>
10903 Autoconf TCGETA
10904 _ACEOF
10905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10906 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10907 ac_cv_prog_gcc_traditional=yes
10908 fi
10909 rm -f conftest*
10910
10911 fi
10912 fi
10913 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10914 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10915 if test $ac_cv_prog_gcc_traditional = yes; then
10916 CC="$CC -traditional"
10917 fi
10918 fi
10919
10920
10921
10922
10923 ac_ext=cc
10924 ac_cpp='$CXXCPP $CPPFLAGS'
10925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10928
10929
10930 CXXFLAGS=${CXXFLAGS:=}
10931 ac_ext=cc
10932 ac_cpp='$CXXCPP $CPPFLAGS'
10933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10936 if test -n "$ac_tool_prefix"; then
10937 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10938 do
10939 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10940 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10941 echo "$as_me:$LINENO: checking for $ac_word" >&5
10942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10943 if test "${ac_cv_prog_CXX+set}" = set; then
10944 echo $ECHO_N "(cached) $ECHO_C" >&6
10945 else
10946 if test -n "$CXX"; then
10947 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10948 else
10949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10950 for as_dir in $PATH
10951 do
10952 IFS=$as_save_IFS
10953 test -z "$as_dir" && as_dir=.
10954 for ac_exec_ext in '' $ac_executable_extensions; do
10955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10956 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10958 break 2
10959 fi
10960 done
10961 done
10962
10963 fi
10964 fi
10965 CXX=$ac_cv_prog_CXX
10966 if test -n "$CXX"; then
10967 echo "$as_me:$LINENO: result: $CXX" >&5
10968 echo "${ECHO_T}$CXX" >&6
10969 else
10970 echo "$as_me:$LINENO: result: no" >&5
10971 echo "${ECHO_T}no" >&6
10972 fi
10973
10974 test -n "$CXX" && break
10975 done
10976 fi
10977 if test -z "$CXX"; then
10978 ac_ct_CXX=$CXX
10979 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10980 do
10981 # Extract the first word of "$ac_prog", so it can be a program name with args.
10982 set dummy $ac_prog; ac_word=$2
10983 echo "$as_me:$LINENO: checking for $ac_word" >&5
10984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10985 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10987 else
10988 if test -n "$ac_ct_CXX"; then
10989 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10990 else
10991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10992 for as_dir in $PATH
10993 do
10994 IFS=$as_save_IFS
10995 test -z "$as_dir" && as_dir=.
10996 for ac_exec_ext in '' $ac_executable_extensions; do
10997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10998 ac_cv_prog_ac_ct_CXX="$ac_prog"
10999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11000 break 2
11001 fi
11002 done
11003 done
11004
11005 fi
11006 fi
11007 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11008 if test -n "$ac_ct_CXX"; then
11009 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11010 echo "${ECHO_T}$ac_ct_CXX" >&6
11011 else
11012 echo "$as_me:$LINENO: result: no" >&5
11013 echo "${ECHO_T}no" >&6
11014 fi
11015
11016 test -n "$ac_ct_CXX" && break
11017 done
11018 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11019
11020 CXX=$ac_ct_CXX
11021 fi
11022
11023
11024 # Provide some information about the compiler.
11025 echo "$as_me:$LINENO:" \
11026 "checking for C++ compiler version" >&5
11027 ac_compiler=`set X $ac_compile; echo $2`
11028 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11029 (eval $ac_compiler --version </dev/null >&5) 2>&5
11030 ac_status=$?
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }
11033 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11034 (eval $ac_compiler -v </dev/null >&5) 2>&5
11035 ac_status=$?
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }
11038 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11039 (eval $ac_compiler -V </dev/null >&5) 2>&5
11040 ac_status=$?
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }
11043
11044 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11045 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11046 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11047 echo $ECHO_N "(cached) $ECHO_C" >&6
11048 else
11049 cat >conftest.$ac_ext <<_ACEOF
11050 #line $LINENO "configure"
11051 /* confdefs.h. */
11052 _ACEOF
11053 cat confdefs.h >>conftest.$ac_ext
11054 cat >>conftest.$ac_ext <<_ACEOF
11055 /* end confdefs.h. */
11056
11057 int
11058 main ()
11059 {
11060 #ifndef __GNUC__
11061 choke me
11062 #endif
11063
11064 ;
11065 return 0;
11066 }
11067 _ACEOF
11068 rm -f conftest.$ac_objext
11069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11070 (eval $ac_compile) 2>&5
11071 ac_status=$?
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); } &&
11074 { ac_try='test -s conftest.$ac_objext'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11077 ac_status=$?
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; }; then
11080 ac_compiler_gnu=yes
11081 else
11082 echo "$as_me: failed program was:" >&5
11083 sed 's/^/| /' conftest.$ac_ext >&5
11084
11085 ac_compiler_gnu=no
11086 fi
11087 rm -f conftest.$ac_objext conftest.$ac_ext
11088 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11089
11090 fi
11091 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11092 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11093 GXX=`test $ac_compiler_gnu = yes && echo yes`
11094 ac_test_CXXFLAGS=${CXXFLAGS+set}
11095 ac_save_CXXFLAGS=$CXXFLAGS
11096 CXXFLAGS="-g"
11097 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11098 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11099 if test "${ac_cv_prog_cxx_g+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11101 else
11102 cat >conftest.$ac_ext <<_ACEOF
11103 #line $LINENO "configure"
11104 /* confdefs.h. */
11105 _ACEOF
11106 cat confdefs.h >>conftest.$ac_ext
11107 cat >>conftest.$ac_ext <<_ACEOF
11108 /* end confdefs.h. */
11109
11110 int
11111 main ()
11112 {
11113
11114 ;
11115 return 0;
11116 }
11117 _ACEOF
11118 rm -f conftest.$ac_objext
11119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11120 (eval $ac_compile) 2>&5
11121 ac_status=$?
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); } &&
11124 { ac_try='test -s conftest.$ac_objext'
11125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11126 (eval $ac_try) 2>&5
11127 ac_status=$?
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); }; }; then
11130 ac_cv_prog_cxx_g=yes
11131 else
11132 echo "$as_me: failed program was:" >&5
11133 sed 's/^/| /' conftest.$ac_ext >&5
11134
11135 ac_cv_prog_cxx_g=no
11136 fi
11137 rm -f conftest.$ac_objext conftest.$ac_ext
11138 fi
11139 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11140 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11141 if test "$ac_test_CXXFLAGS" = set; then
11142 CXXFLAGS=$ac_save_CXXFLAGS
11143 elif test $ac_cv_prog_cxx_g = yes; then
11144 if test "$GXX" = yes; then
11145 CXXFLAGS="-g -O2"
11146 else
11147 CXXFLAGS="-g"
11148 fi
11149 else
11150 if test "$GXX" = yes; then
11151 CXXFLAGS="-O2"
11152 else
11153 CXXFLAGS=
11154 fi
11155 fi
11156 for ac_declaration in \
11157 ''\
11158 '#include <stdlib.h>' \
11159 'extern "C" void std::exit (int) throw (); using std::exit;' \
11160 'extern "C" void std::exit (int); using std::exit;' \
11161 'extern "C" void exit (int) throw ();' \
11162 'extern "C" void exit (int);' \
11163 'void exit (int);'
11164 do
11165 cat >conftest.$ac_ext <<_ACEOF
11166 #line $LINENO "configure"
11167 /* confdefs.h. */
11168 _ACEOF
11169 cat confdefs.h >>conftest.$ac_ext
11170 cat >>conftest.$ac_ext <<_ACEOF
11171 /* end confdefs.h. */
11172 #include <stdlib.h>
11173 $ac_declaration
11174 int
11175 main ()
11176 {
11177 exit (42);
11178 ;
11179 return 0;
11180 }
11181 _ACEOF
11182 rm -f conftest.$ac_objext
11183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11184 (eval $ac_compile) 2>&5
11185 ac_status=$?
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); } &&
11188 { ac_try='test -s conftest.$ac_objext'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11191 ac_status=$?
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; }; then
11194 :
11195 else
11196 echo "$as_me: failed program was:" >&5
11197 sed 's/^/| /' conftest.$ac_ext >&5
11198
11199 continue
11200 fi
11201 rm -f conftest.$ac_objext conftest.$ac_ext
11202 cat >conftest.$ac_ext <<_ACEOF
11203 #line $LINENO "configure"
11204 /* confdefs.h. */
11205 _ACEOF
11206 cat confdefs.h >>conftest.$ac_ext
11207 cat >>conftest.$ac_ext <<_ACEOF
11208 /* end confdefs.h. */
11209 $ac_declaration
11210 int
11211 main ()
11212 {
11213 exit (42);
11214 ;
11215 return 0;
11216 }
11217 _ACEOF
11218 rm -f conftest.$ac_objext
11219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11220 (eval $ac_compile) 2>&5
11221 ac_status=$?
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); } &&
11224 { ac_try='test -s conftest.$ac_objext'
11225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11226 (eval $ac_try) 2>&5
11227 ac_status=$?
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); }; }; then
11230 break
11231 else
11232 echo "$as_me: failed program was:" >&5
11233 sed 's/^/| /' conftest.$ac_ext >&5
11234
11235 fi
11236 rm -f conftest.$ac_objext conftest.$ac_ext
11237 done
11238 rm -f conftest*
11239 if test -n "$ac_declaration"; then
11240 echo '#ifdef __cplusplus' >>confdefs.h
11241 echo $ac_declaration >>confdefs.h
11242 echo '#endif' >>confdefs.h
11243 fi
11244
11245 ac_ext=cc
11246 ac_cpp='$CXXCPP $CPPFLAGS'
11247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11250
11251
11252 ac_ext=c
11253 ac_cpp='$CPP $CPPFLAGS'
11254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11257
11258
11259 if test -n "$ac_tool_prefix"; then
11260 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11261 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11262 echo "$as_me:$LINENO: checking for $ac_word" >&5
11263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11264 if test "${ac_cv_prog_RANLIB+set}" = set; then
11265 echo $ECHO_N "(cached) $ECHO_C" >&6
11266 else
11267 if test -n "$RANLIB"; then
11268 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11269 else
11270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11271 for as_dir in $PATH
11272 do
11273 IFS=$as_save_IFS
11274 test -z "$as_dir" && as_dir=.
11275 for ac_exec_ext in '' $ac_executable_extensions; do
11276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11277 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11279 break 2
11280 fi
11281 done
11282 done
11283
11284 fi
11285 fi
11286 RANLIB=$ac_cv_prog_RANLIB
11287 if test -n "$RANLIB"; then
11288 echo "$as_me:$LINENO: result: $RANLIB" >&5
11289 echo "${ECHO_T}$RANLIB" >&6
11290 else
11291 echo "$as_me:$LINENO: result: no" >&5
11292 echo "${ECHO_T}no" >&6
11293 fi
11294
11295 fi
11296 if test -z "$ac_cv_prog_RANLIB"; then
11297 ac_ct_RANLIB=$RANLIB
11298 # Extract the first word of "ranlib", so it can be a program name with args.
11299 set dummy ranlib; ac_word=$2
11300 echo "$as_me:$LINENO: checking for $ac_word" >&5
11301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11302 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11304 else
11305 if test -n "$ac_ct_RANLIB"; then
11306 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11307 else
11308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11309 for as_dir in $PATH
11310 do
11311 IFS=$as_save_IFS
11312 test -z "$as_dir" && as_dir=.
11313 for ac_exec_ext in '' $ac_executable_extensions; do
11314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11315 ac_cv_prog_ac_ct_RANLIB="ranlib"
11316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11317 break 2
11318 fi
11319 done
11320 done
11321
11322 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11323 fi
11324 fi
11325 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11326 if test -n "$ac_ct_RANLIB"; then
11327 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11328 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11329 else
11330 echo "$as_me:$LINENO: result: no" >&5
11331 echo "${ECHO_T}no" >&6
11332 fi
11333
11334 RANLIB=$ac_ct_RANLIB
11335 else
11336 RANLIB="$ac_cv_prog_RANLIB"
11337 fi
11338
11339
11340 # Extract the first word of "ar", so it can be a program name with args.
11341 set dummy ar; ac_word=$2
11342 echo "$as_me:$LINENO: checking for $ac_word" >&5
11343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11344 if test "${ac_cv_prog_AR+set}" = set; then
11345 echo $ECHO_N "(cached) $ECHO_C" >&6
11346 else
11347 if test -n "$AR"; then
11348 ac_cv_prog_AR="$AR" # Let the user override the test.
11349 else
11350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11351 for as_dir in $PATH
11352 do
11353 IFS=$as_save_IFS
11354 test -z "$as_dir" && as_dir=.
11355 for ac_exec_ext in '' $ac_executable_extensions; do
11356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11357 ac_cv_prog_AR="ar"
11358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11359 break 2
11360 fi
11361 done
11362 done
11363
11364 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11365 fi
11366 fi
11367 AR=$ac_cv_prog_AR
11368 if test -n "$AR"; then
11369 echo "$as_me:$LINENO: result: $AR" >&5
11370 echo "${ECHO_T}$AR" >&6
11371 else
11372 echo "$as_me:$LINENO: result: no" >&5
11373 echo "${ECHO_T}no" >&6
11374 fi
11375
11376
11377 # Find a good install program. We prefer a C program (faster),
11378 # so one script is as good as another. But avoid the broken or
11379 # incompatible versions:
11380 # SysV /etc/install, /usr/sbin/install
11381 # SunOS /usr/etc/install
11382 # IRIX /sbin/install
11383 # AIX /bin/install
11384 # AmigaOS /C/install, which installs bootblocks on floppy discs
11385 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11386 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11387 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11388 # ./install, which can be erroneously created by make from ./install.sh.
11389 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11390 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11391 if test -z "$INSTALL"; then
11392 if test "${ac_cv_path_install+set}" = set; then
11393 echo $ECHO_N "(cached) $ECHO_C" >&6
11394 else
11395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11396 for as_dir in $PATH
11397 do
11398 IFS=$as_save_IFS
11399 test -z "$as_dir" && as_dir=.
11400 # Account for people who put trailing slashes in PATH elements.
11401 case $as_dir/ in
11402 ./ | .// | /cC/* | \
11403 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11404 /usr/ucb/* ) ;;
11405 *)
11406 # OSF1 and SCO ODT 3.0 have their own names for install.
11407 # Don't use installbsd from OSF since it installs stuff as root
11408 # by default.
11409 for ac_prog in ginstall scoinst install; do
11410 for ac_exec_ext in '' $ac_executable_extensions; do
11411 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11412 if test $ac_prog = install &&
11413 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11414 # AIX install. It has an incompatible calling convention.
11415 :
11416 elif test $ac_prog = install &&
11417 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11418 # program-specific install script used by HP pwplus--don't use.
11419 :
11420 else
11421 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11422 break 3
11423 fi
11424 fi
11425 done
11426 done
11427 ;;
11428 esac
11429 done
11430
11431
11432 fi
11433 if test "${ac_cv_path_install+set}" = set; then
11434 INSTALL=$ac_cv_path_install
11435 else
11436 # As a last resort, use the slow shell script. We don't cache a
11437 # path for INSTALL within a source directory, because that will
11438 # break other packages using the cache if that directory is
11439 # removed, or if the path is relative.
11440 INSTALL=$ac_install_sh
11441 fi
11442 fi
11443 echo "$as_me:$LINENO: result: $INSTALL" >&5
11444 echo "${ECHO_T}$INSTALL" >&6
11445
11446 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11447 # It thinks the first close brace ends the variable substitution.
11448 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11449
11450 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11451
11452 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11453
11454
11455 case ${INSTALL} in
11456 /* ) # Absolute
11457 ;;
11458 ?:* ) # Drive letter, considered as absolute.
11459 ;;
11460 *)
11461 INSTALL=`pwd`/${INSTALL} ;;
11462 esac
11463
11464 case ${host} in
11465 *-hp-hpux* )
11466 INSTALL_DIR="mkdir"
11467 ;;
11468
11469 *) INSTALL_DIR="$INSTALL -d"
11470 ;;
11471 esac
11472
11473
11474 case "${host}" in
11475
11476 powerpc-*-darwin* )
11477 INSTALL_PROGRAM="cp -fp"
11478 INSTALL_DATA="cp -fp"
11479 ;;
11480 *)
11481 ;;
11482 esac
11483
11484 # Extract the first word of "strip", so it can be a program name with args.
11485 set dummy strip; ac_word=$2
11486 echo "$as_me:$LINENO: checking for $ac_word" >&5
11487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11488 if test "${ac_cv_prog_STRIP+set}" = set; then
11489 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 else
11491 if test -n "$STRIP"; then
11492 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11493 else
11494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11495 for as_dir in $PATH
11496 do
11497 IFS=$as_save_IFS
11498 test -z "$as_dir" && as_dir=.
11499 for ac_exec_ext in '' $ac_executable_extensions; do
11500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11501 ac_cv_prog_STRIP="strip"
11502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11503 break 2
11504 fi
11505 done
11506 done
11507
11508 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11509 fi
11510 fi
11511 STRIP=$ac_cv_prog_STRIP
11512 if test -n "$STRIP"; then
11513 echo "$as_me:$LINENO: result: $STRIP" >&5
11514 echo "${ECHO_T}$STRIP" >&6
11515 else
11516 echo "$as_me:$LINENO: result: no" >&5
11517 echo "${ECHO_T}no" >&6
11518 fi
11519
11520
11521 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11522 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11523 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11524 echo $ECHO_N "(cached) $ECHO_C" >&6
11525 else
11526
11527 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11528 egrep -s GNU > /dev/null); then
11529 wx_cv_prog_makeisgnu="yes"
11530 else
11531 wx_cv_prog_makeisgnu="no"
11532 fi
11533
11534 fi
11535 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11536 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11537
11538 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11539 IF_GNU_MAKE=""
11540 else
11541 IF_GNU_MAKE="#"
11542 fi
11543
11544
11545
11546 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11547 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11548 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11549 if test "${wx_cv_prog_makevpath+set}" = set; then
11550 echo $ECHO_N "(cached) $ECHO_C" >&6
11551 else
11552
11553 cat - << EOF > confMake
11554 check : file
11555 cp \$? \$@
11556 cp \$? final_file
11557 EOF
11558
11559 if test ! -d sub ; then
11560 mkdir sub
11561 fi
11562 echo dummy > sub/file
11563 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11564 RESULT=$?
11565 rm -f sub/file check final_file confMake
11566 rmdir sub
11567 if test "$RESULT" = 0; then
11568 wx_cv_prog_makevpath="yes"
11569 else
11570 wx_cv_prog_makevpath="no"
11571 fi
11572
11573 fi
11574 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11575 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11576
11577 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11578 { { echo "$as_me:$LINENO: error:
11579 You need a make-utility that is able to use the variable
11580 VPATH correctly.
11581 If your version of make does not support VPATH correctly,
11582 please install GNU-make (possibly as gmake), and start
11583 configure with the following command:
11584 export MAKE=gmake; ./configure for sh-type shells
11585 setenv MAKE gmake; ./configure for csh-type shells
11586 Also please do remember to use gmake in this case every time
11587 you are trying to compile.
11588 " >&5
11589 echo "$as_me: error:
11590 You need a make-utility that is able to use the variable
11591 VPATH correctly.
11592 If your version of make does not support VPATH correctly,
11593 please install GNU-make (possibly as gmake), and start
11594 configure with the following command:
11595 export MAKE=gmake; ./configure for sh-type shells
11596 setenv MAKE gmake; ./configure for csh-type shells
11597 Also please do remember to use gmake in this case every time
11598 you are trying to compile.
11599 " >&2;}
11600 { (exit 1); exit 1; }; }
11601 fi fi
11602 for ac_prog in 'bison -y' byacc
11603 do
11604 # Extract the first word of "$ac_prog", so it can be a program name with args.
11605 set dummy $ac_prog; ac_word=$2
11606 echo "$as_me:$LINENO: checking for $ac_word" >&5
11607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11608 if test "${ac_cv_prog_YACC+set}" = set; then
11609 echo $ECHO_N "(cached) $ECHO_C" >&6
11610 else
11611 if test -n "$YACC"; then
11612 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11613 else
11614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11615 for as_dir in $PATH
11616 do
11617 IFS=$as_save_IFS
11618 test -z "$as_dir" && as_dir=.
11619 for ac_exec_ext in '' $ac_executable_extensions; do
11620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11621 ac_cv_prog_YACC="$ac_prog"
11622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11623 break 2
11624 fi
11625 done
11626 done
11627
11628 fi
11629 fi
11630 YACC=$ac_cv_prog_YACC
11631 if test -n "$YACC"; then
11632 echo "$as_me:$LINENO: result: $YACC" >&5
11633 echo "${ECHO_T}$YACC" >&6
11634 else
11635 echo "$as_me:$LINENO: result: no" >&5
11636 echo "${ECHO_T}no" >&6
11637 fi
11638
11639 test -n "$YACC" && break
11640 done
11641 test -n "$YACC" || YACC="yacc"
11642
11643
11644 for ac_prog in flex lex
11645 do
11646 # Extract the first word of "$ac_prog", so it can be a program name with args.
11647 set dummy $ac_prog; ac_word=$2
11648 echo "$as_me:$LINENO: checking for $ac_word" >&5
11649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11650 if test "${ac_cv_prog_LEX+set}" = set; then
11651 echo $ECHO_N "(cached) $ECHO_C" >&6
11652 else
11653 if test -n "$LEX"; then
11654 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11655 else
11656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11657 for as_dir in $PATH
11658 do
11659 IFS=$as_save_IFS
11660 test -z "$as_dir" && as_dir=.
11661 for ac_exec_ext in '' $ac_executable_extensions; do
11662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11663 ac_cv_prog_LEX="$ac_prog"
11664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11665 break 2
11666 fi
11667 done
11668 done
11669
11670 fi
11671 fi
11672 LEX=$ac_cv_prog_LEX
11673 if test -n "$LEX"; then
11674 echo "$as_me:$LINENO: result: $LEX" >&5
11675 echo "${ECHO_T}$LEX" >&6
11676 else
11677 echo "$as_me:$LINENO: result: no" >&5
11678 echo "${ECHO_T}no" >&6
11679 fi
11680
11681 test -n "$LEX" && break
11682 done
11683 test -n "$LEX" || LEX=":"
11684
11685 if test -z "$LEXLIB"
11686 then
11687 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11688 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11689 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11691 else
11692 ac_check_lib_save_LIBS=$LIBS
11693 LIBS="-lfl $LIBS"
11694 cat >conftest.$ac_ext <<_ACEOF
11695 #line $LINENO "configure"
11696 /* confdefs.h. */
11697 _ACEOF
11698 cat confdefs.h >>conftest.$ac_ext
11699 cat >>conftest.$ac_ext <<_ACEOF
11700 /* end confdefs.h. */
11701
11702 /* Override any gcc2 internal prototype to avoid an error. */
11703 #ifdef __cplusplus
11704 extern "C"
11705 #endif
11706 /* We use char because int might match the return type of a gcc2
11707 builtin and then its argument prototype would still apply. */
11708 char yywrap ();
11709 int
11710 main ()
11711 {
11712 yywrap ();
11713 ;
11714 return 0;
11715 }
11716 _ACEOF
11717 rm -f conftest.$ac_objext conftest$ac_exeext
11718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11719 (eval $ac_link) 2>&5
11720 ac_status=$?
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); } &&
11723 { ac_try='test -s conftest$ac_exeext'
11724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11725 (eval $ac_try) 2>&5
11726 ac_status=$?
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }; }; then
11729 ac_cv_lib_fl_yywrap=yes
11730 else
11731 echo "$as_me: failed program was:" >&5
11732 sed 's/^/| /' conftest.$ac_ext >&5
11733
11734 ac_cv_lib_fl_yywrap=no
11735 fi
11736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11737 LIBS=$ac_check_lib_save_LIBS
11738 fi
11739 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11740 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11741 if test $ac_cv_lib_fl_yywrap = yes; then
11742 LEXLIB="-lfl"
11743 else
11744 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11745 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11746 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11748 else
11749 ac_check_lib_save_LIBS=$LIBS
11750 LIBS="-ll $LIBS"
11751 cat >conftest.$ac_ext <<_ACEOF
11752 #line $LINENO "configure"
11753 /* confdefs.h. */
11754 _ACEOF
11755 cat confdefs.h >>conftest.$ac_ext
11756 cat >>conftest.$ac_ext <<_ACEOF
11757 /* end confdefs.h. */
11758
11759 /* Override any gcc2 internal prototype to avoid an error. */
11760 #ifdef __cplusplus
11761 extern "C"
11762 #endif
11763 /* We use char because int might match the return type of a gcc2
11764 builtin and then its argument prototype would still apply. */
11765 char yywrap ();
11766 int
11767 main ()
11768 {
11769 yywrap ();
11770 ;
11771 return 0;
11772 }
11773 _ACEOF
11774 rm -f conftest.$ac_objext conftest$ac_exeext
11775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11776 (eval $ac_link) 2>&5
11777 ac_status=$?
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } &&
11780 { ac_try='test -s conftest$ac_exeext'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11783 ac_status=$?
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; }; then
11786 ac_cv_lib_l_yywrap=yes
11787 else
11788 echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.$ac_ext >&5
11790
11791 ac_cv_lib_l_yywrap=no
11792 fi
11793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_lib_save_LIBS
11795 fi
11796 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11797 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11798 if test $ac_cv_lib_l_yywrap = yes; then
11799 LEXLIB="-ll"
11800 fi
11801
11802 fi
11803
11804 fi
11805
11806 if test "x$LEX" != "x:"; then
11807 echo "$as_me:$LINENO: checking lex output file root" >&5
11808 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11809 if test "${ac_cv_prog_lex_root+set}" = set; then
11810 echo $ECHO_N "(cached) $ECHO_C" >&6
11811 else
11812 # The minimal lex program is just a single line: %%. But some broken lexes
11813 # (Solaris, I think it was) want two %% lines, so accommodate them.
11814 cat >conftest.l <<_ACEOF
11815 %%
11816 %%
11817 _ACEOF
11818 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11819 (eval $LEX conftest.l) 2>&5
11820 ac_status=$?
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); }
11823 if test -f lex.yy.c; then
11824 ac_cv_prog_lex_root=lex.yy
11825 elif test -f lexyy.c; then
11826 ac_cv_prog_lex_root=lexyy
11827 else
11828 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11829 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11830 { (exit 1); exit 1; }; }
11831 fi
11832 fi
11833 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11834 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11835 rm -f conftest.l
11836 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11837
11838 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11839 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11840 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11841 echo $ECHO_N "(cached) $ECHO_C" >&6
11842 else
11843 # POSIX says lex can declare yytext either as a pointer or an array; the
11844 # default is implementation-dependent. Figure out which it is, since
11845 # not all implementations provide the %pointer and %array declarations.
11846 ac_cv_prog_lex_yytext_pointer=no
11847 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11848 ac_save_LIBS=$LIBS
11849 LIBS="$LIBS $LEXLIB"
11850 cat >conftest.$ac_ext <<_ACEOF
11851 `cat $LEX_OUTPUT_ROOT.c`
11852 _ACEOF
11853 rm -f conftest.$ac_objext conftest$ac_exeext
11854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11855 (eval $ac_link) 2>&5
11856 ac_status=$?
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); } &&
11859 { ac_try='test -s conftest$ac_exeext'
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 ac_cv_prog_lex_yytext_pointer=yes
11866 else
11867 echo "$as_me: failed program was:" >&5
11868 sed 's/^/| /' conftest.$ac_ext >&5
11869
11870 fi
11871 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_save_LIBS
11873 rm -f "${LEX_OUTPUT_ROOT}.c"
11874
11875 fi
11876 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11877 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11878 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11879
11880 cat >>confdefs.h <<\_ACEOF
11881 #define YYTEXT_POINTER 1
11882 _ACEOF
11883
11884 fi
11885
11886 fi
11887
11888 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11889 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11890 LN_S=$as_ln_s
11891 if test "$LN_S" = "ln -s"; then
11892 echo "$as_me:$LINENO: result: yes" >&5
11893 echo "${ECHO_T}yes" >&6
11894 else
11895 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11896 echo "${ECHO_T}no, using $LN_S" >&6
11897 fi
11898
11899
11900 case "${host}" in
11901 *-pc-os2_emx | *-pc-os2-emx )
11902 LIBS="$LIBS -lstdcpp"
11903 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11904 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11905 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11906 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11907 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 else
11909 ac_check_lib_save_LIBS=$LIBS
11910 LIBS="-lcExt $LIBS"
11911 cat >conftest.$ac_ext <<_ACEOF
11912 #line $LINENO "configure"
11913 /* confdefs.h. */
11914 _ACEOF
11915 cat confdefs.h >>conftest.$ac_ext
11916 cat >>conftest.$ac_ext <<_ACEOF
11917 /* end confdefs.h. */
11918
11919 /* Override any gcc2 internal prototype to avoid an error. */
11920 #ifdef __cplusplus
11921 extern "C"
11922 #endif
11923 /* We use char because int might match the return type of a gcc2
11924 builtin and then its argument prototype would still apply. */
11925 char drand48 ();
11926 int
11927 main ()
11928 {
11929 drand48 ();
11930 ;
11931 return 0;
11932 }
11933 _ACEOF
11934 rm -f conftest.$ac_objext conftest$ac_exeext
11935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11936 (eval $ac_link) 2>&5
11937 ac_status=$?
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try='test -s conftest$ac_exeext'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11943 ac_status=$?
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; }; then
11946 ac_cv_lib_cExt_drand48=yes
11947 else
11948 echo "$as_me: failed program was:" >&5
11949 sed 's/^/| /' conftest.$ac_ext >&5
11950
11951 ac_cv_lib_cExt_drand48=no
11952 fi
11953 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_lib_save_LIBS
11955 fi
11956 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11957 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11958 if test $ac_cv_lib_cExt_drand48 = yes; then
11959 LIBS="$LIBS -lcExt"
11960 fi
11961
11962 else
11963 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11964 fi
11965 ;;
11966 esac
11967
11968
11969 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11970 echo "$as_me:$LINENO: checking for strings.h" >&5
11971 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11972 if test "${ac_cv_header_strings_h+set}" = set; then
11973 echo $ECHO_N "(cached) $ECHO_C" >&6
11974 else
11975 ac_cv_header_strings_h=no
11976 fi
11977 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11978 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11979 if test "$ac_cv_header_strings_h" = "no"; then
11980 echo "$as_me:$LINENO: result: forced no into cache" >&5
11981 echo "${ECHO_T}forced no into cache" >&6
11982 else
11983 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11984 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11985 fi
11986 fi
11987 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11988 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11989 if test "${ac_cv_header_stdc+set}" = set; then
11990 echo $ECHO_N "(cached) $ECHO_C" >&6
11991 else
11992 cat >conftest.$ac_ext <<_ACEOF
11993 #line $LINENO "configure"
11994 /* confdefs.h. */
11995 _ACEOF
11996 cat confdefs.h >>conftest.$ac_ext
11997 cat >>conftest.$ac_ext <<_ACEOF
11998 /* end confdefs.h. */
11999 #include <stdlib.h>
12000 #include <stdarg.h>
12001 #include <string.h>
12002 #include <float.h>
12003
12004 int
12005 main ()
12006 {
12007
12008 ;
12009 return 0;
12010 }
12011 _ACEOF
12012 rm -f conftest.$ac_objext
12013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12014 (eval $ac_compile) 2>&5
12015 ac_status=$?
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); } &&
12018 { ac_try='test -s conftest.$ac_objext'
12019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12020 (eval $ac_try) 2>&5
12021 ac_status=$?
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); }; }; then
12024 ac_cv_header_stdc=yes
12025 else
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.$ac_ext >&5
12028
12029 ac_cv_header_stdc=no
12030 fi
12031 rm -f conftest.$ac_objext conftest.$ac_ext
12032
12033 if test $ac_cv_header_stdc = yes; then
12034 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12035 cat >conftest.$ac_ext <<_ACEOF
12036 #line $LINENO "configure"
12037 /* confdefs.h. */
12038 _ACEOF
12039 cat confdefs.h >>conftest.$ac_ext
12040 cat >>conftest.$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12042 #include <string.h>
12043
12044 _ACEOF
12045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12046 $EGREP "memchr" >/dev/null 2>&1; then
12047 :
12048 else
12049 ac_cv_header_stdc=no
12050 fi
12051 rm -f conftest*
12052
12053 fi
12054
12055 if test $ac_cv_header_stdc = yes; then
12056 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12057 cat >conftest.$ac_ext <<_ACEOF
12058 #line $LINENO "configure"
12059 /* confdefs.h. */
12060 _ACEOF
12061 cat confdefs.h >>conftest.$ac_ext
12062 cat >>conftest.$ac_ext <<_ACEOF
12063 /* end confdefs.h. */
12064 #include <stdlib.h>
12065
12066 _ACEOF
12067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12068 $EGREP "free" >/dev/null 2>&1; then
12069 :
12070 else
12071 ac_cv_header_stdc=no
12072 fi
12073 rm -f conftest*
12074
12075 fi
12076
12077 if test $ac_cv_header_stdc = yes; then
12078 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12079 if test "$cross_compiling" = yes; then
12080 :
12081 else
12082 cat >conftest.$ac_ext <<_ACEOF
12083 #line $LINENO "configure"
12084 /* confdefs.h. */
12085 _ACEOF
12086 cat confdefs.h >>conftest.$ac_ext
12087 cat >>conftest.$ac_ext <<_ACEOF
12088 /* end confdefs.h. */
12089 #include <ctype.h>
12090 #if ((' ' & 0x0FF) == 0x020)
12091 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12092 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12093 #else
12094 # define ISLOWER(c) \
12095 (('a' <= (c) && (c) <= 'i') \
12096 || ('j' <= (c) && (c) <= 'r') \
12097 || ('s' <= (c) && (c) <= 'z'))
12098 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12099 #endif
12100
12101 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12102 int
12103 main ()
12104 {
12105 int i;
12106 for (i = 0; i < 256; i++)
12107 if (XOR (islower (i), ISLOWER (i))
12108 || toupper (i) != TOUPPER (i))
12109 exit(2);
12110 exit (0);
12111 }
12112 _ACEOF
12113 rm -f conftest$ac_exeext
12114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12115 (eval $ac_link) 2>&5
12116 ac_status=$?
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12121 ac_status=$?
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 :
12125 else
12126 echo "$as_me: program exited with status $ac_status" >&5
12127 echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.$ac_ext >&5
12129
12130 ( exit $ac_status )
12131 ac_cv_header_stdc=no
12132 fi
12133 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12134 fi
12135 fi
12136 fi
12137 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12138 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12139 if test $ac_cv_header_stdc = yes; then
12140
12141 cat >>confdefs.h <<\_ACEOF
12142 #define STDC_HEADERS 1
12143 _ACEOF
12144
12145 fi
12146
12147 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12158 inttypes.h stdint.h unistd.h
12159 do
12160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12161 echo "$as_me:$LINENO: checking for $ac_header" >&5
12162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12164 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 else
12166 cat >conftest.$ac_ext <<_ACEOF
12167 #line $LINENO "configure"
12168 /* confdefs.h. */
12169 _ACEOF
12170 cat confdefs.h >>conftest.$ac_ext
12171 cat >>conftest.$ac_ext <<_ACEOF
12172 /* end confdefs.h. */
12173 $ac_includes_default
12174
12175 #include <$ac_header>
12176 _ACEOF
12177 rm -f conftest.$ac_objext
12178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12179 (eval $ac_compile) 2>&5
12180 ac_status=$?
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); } &&
12183 { ac_try='test -s conftest.$ac_objext'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5
12186 ac_status=$?
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; }; then
12189 eval "$as_ac_Header=yes"
12190 else
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.$ac_ext >&5
12193
12194 eval "$as_ac_Header=no"
12195 fi
12196 rm -f conftest.$ac_objext conftest.$ac_ext
12197 fi
12198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12201 cat >>confdefs.h <<_ACEOF
12202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12203 _ACEOF
12204
12205 fi
12206
12207 done
12208
12209
12210
12211 for ac_header in strings.h
12212 do
12213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12215 echo "$as_me:$LINENO: checking for $ac_header" >&5
12216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12218 echo $ECHO_N "(cached) $ECHO_C" >&6
12219 fi
12220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12222 else
12223 # Is the header compilable?
12224 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12226 cat >conftest.$ac_ext <<_ACEOF
12227 #line $LINENO "configure"
12228 /* confdefs.h. */
12229 _ACEOF
12230 cat confdefs.h >>conftest.$ac_ext
12231 cat >>conftest.$ac_ext <<_ACEOF
12232 /* end confdefs.h. */
12233 $ac_includes_default
12234 #include <$ac_header>
12235 _ACEOF
12236 rm -f conftest.$ac_objext
12237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12238 (eval $ac_compile) 2>&5
12239 ac_status=$?
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); } &&
12242 { ac_try='test -s conftest.$ac_objext'
12243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244 (eval $ac_try) 2>&5
12245 ac_status=$?
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; }; then
12248 ac_header_compiler=yes
12249 else
12250 echo "$as_me: failed program was:" >&5
12251 sed 's/^/| /' conftest.$ac_ext >&5
12252
12253 ac_header_compiler=no
12254 fi
12255 rm -f conftest.$ac_objext conftest.$ac_ext
12256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12257 echo "${ECHO_T}$ac_header_compiler" >&6
12258
12259 # Is the header present?
12260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12262 cat >conftest.$ac_ext <<_ACEOF
12263 #line $LINENO "configure"
12264 /* confdefs.h. */
12265 _ACEOF
12266 cat confdefs.h >>conftest.$ac_ext
12267 cat >>conftest.$ac_ext <<_ACEOF
12268 /* end confdefs.h. */
12269 #include <$ac_header>
12270 _ACEOF
12271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12273 ac_status=$?
12274 grep -v '^ *+' conftest.er1 >conftest.err
12275 rm -f conftest.er1
12276 cat conftest.err >&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); } >/dev/null; then
12279 if test -s conftest.err; then
12280 ac_cpp_err=$ac_c_preproc_warn_flag
12281 else
12282 ac_cpp_err=
12283 fi
12284 else
12285 ac_cpp_err=yes
12286 fi
12287 if test -z "$ac_cpp_err"; then
12288 ac_header_preproc=yes
12289 else
12290 echo "$as_me: failed program was:" >&5
12291 sed 's/^/| /' conftest.$ac_ext >&5
12292
12293 ac_header_preproc=no
12294 fi
12295 rm -f conftest.err conftest.$ac_ext
12296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12297 echo "${ECHO_T}$ac_header_preproc" >&6
12298
12299 # So? What about this header?
12300 case $ac_header_compiler:$ac_header_preproc in
12301 yes:no )
12302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12306 (
12307 cat <<\_ASBOX
12308 ## ------------------------------------ ##
12309 ## Report this to bug-autoconf@gnu.org. ##
12310 ## ------------------------------------ ##
12311 _ASBOX
12312 ) |
12313 sed "s/^/$as_me: WARNING: /" >&2
12314 ;;
12315 no:yes )
12316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12317 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12319 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12322 (
12323 cat <<\_ASBOX
12324 ## ------------------------------------ ##
12325 ## Report this to bug-autoconf@gnu.org. ##
12326 ## ------------------------------------ ##
12327 _ASBOX
12328 ) |
12329 sed "s/^/$as_me: WARNING: /" >&2
12330 ;;
12331 esac
12332 echo "$as_me:$LINENO: checking for $ac_header" >&5
12333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12335 echo $ECHO_N "(cached) $ECHO_C" >&6
12336 else
12337 eval "$as_ac_Header=$ac_header_preproc"
12338 fi
12339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12341
12342 fi
12343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12344 cat >>confdefs.h <<_ACEOF
12345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12346 _ACEOF
12347
12348 fi
12349
12350 done
12351
12352
12353
12354 for ac_header in stdlib.h
12355 do
12356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12358 echo "$as_me:$LINENO: checking for $ac_header" >&5
12359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12361 echo $ECHO_N "(cached) $ECHO_C" >&6
12362 fi
12363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12365 else
12366 # Is the header compilable?
12367 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12368 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12369 cat >conftest.$ac_ext <<_ACEOF
12370 #line $LINENO "configure"
12371 /* confdefs.h. */
12372 _ACEOF
12373 cat confdefs.h >>conftest.$ac_ext
12374 cat >>conftest.$ac_ext <<_ACEOF
12375 /* end confdefs.h. */
12376 $ac_includes_default
12377 #include <$ac_header>
12378 _ACEOF
12379 rm -f conftest.$ac_objext
12380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12381 (eval $ac_compile) 2>&5
12382 ac_status=$?
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try='test -s conftest.$ac_objext'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12388 ac_status=$?
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; }; then
12391 ac_header_compiler=yes
12392 else
12393 echo "$as_me: failed program was:" >&5
12394 sed 's/^/| /' conftest.$ac_ext >&5
12395
12396 ac_header_compiler=no
12397 fi
12398 rm -f conftest.$ac_objext conftest.$ac_ext
12399 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12400 echo "${ECHO_T}$ac_header_compiler" >&6
12401
12402 # Is the header present?
12403 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12404 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12405 cat >conftest.$ac_ext <<_ACEOF
12406 #line $LINENO "configure"
12407 /* confdefs.h. */
12408 _ACEOF
12409 cat confdefs.h >>conftest.$ac_ext
12410 cat >>conftest.$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12412 #include <$ac_header>
12413 _ACEOF
12414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12416 ac_status=$?
12417 grep -v '^ *+' conftest.er1 >conftest.err
12418 rm -f conftest.er1
12419 cat conftest.err >&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); } >/dev/null; then
12422 if test -s conftest.err; then
12423 ac_cpp_err=$ac_c_preproc_warn_flag
12424 else
12425 ac_cpp_err=
12426 fi
12427 else
12428 ac_cpp_err=yes
12429 fi
12430 if test -z "$ac_cpp_err"; then
12431 ac_header_preproc=yes
12432 else
12433 echo "$as_me: failed program was:" >&5
12434 sed 's/^/| /' conftest.$ac_ext >&5
12435
12436 ac_header_preproc=no
12437 fi
12438 rm -f conftest.err conftest.$ac_ext
12439 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12440 echo "${ECHO_T}$ac_header_preproc" >&6
12441
12442 # So? What about this header?
12443 case $ac_header_compiler:$ac_header_preproc in
12444 yes:no )
12445 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12446 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12449 (
12450 cat <<\_ASBOX
12451 ## ------------------------------------ ##
12452 ## Report this to bug-autoconf@gnu.org. ##
12453 ## ------------------------------------ ##
12454 _ASBOX
12455 ) |
12456 sed "s/^/$as_me: WARNING: /" >&2
12457 ;;
12458 no:yes )
12459 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12460 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12461 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12462 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12465 (
12466 cat <<\_ASBOX
12467 ## ------------------------------------ ##
12468 ## Report this to bug-autoconf@gnu.org. ##
12469 ## ------------------------------------ ##
12470 _ASBOX
12471 ) |
12472 sed "s/^/$as_me: WARNING: /" >&2
12473 ;;
12474 esac
12475 echo "$as_me:$LINENO: checking for $ac_header" >&5
12476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 else
12480 eval "$as_ac_Header=$ac_header_preproc"
12481 fi
12482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12484
12485 fi
12486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12487 cat >>confdefs.h <<_ACEOF
12488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12489 _ACEOF
12490
12491 fi
12492
12493 done
12494
12495
12496 for ac_header in malloc.h
12497 do
12498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12500 echo "$as_me:$LINENO: checking for $ac_header" >&5
12501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12503 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 fi
12505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12507 else
12508 # Is the header compilable?
12509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12511 cat >conftest.$ac_ext <<_ACEOF
12512 #line $LINENO "configure"
12513 /* confdefs.h. */
12514 _ACEOF
12515 cat confdefs.h >>conftest.$ac_ext
12516 cat >>conftest.$ac_ext <<_ACEOF
12517 /* end confdefs.h. */
12518 $ac_includes_default
12519 #include <$ac_header>
12520 _ACEOF
12521 rm -f conftest.$ac_objext
12522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12523 (eval $ac_compile) 2>&5
12524 ac_status=$?
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); } &&
12527 { ac_try='test -s conftest.$ac_objext'
12528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12529 (eval $ac_try) 2>&5
12530 ac_status=$?
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); }; }; then
12533 ac_header_compiler=yes
12534 else
12535 echo "$as_me: failed program was:" >&5
12536 sed 's/^/| /' conftest.$ac_ext >&5
12537
12538 ac_header_compiler=no
12539 fi
12540 rm -f conftest.$ac_objext conftest.$ac_ext
12541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12542 echo "${ECHO_T}$ac_header_compiler" >&6
12543
12544 # Is the header present?
12545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12547 cat >conftest.$ac_ext <<_ACEOF
12548 #line $LINENO "configure"
12549 /* confdefs.h. */
12550 _ACEOF
12551 cat confdefs.h >>conftest.$ac_ext
12552 cat >>conftest.$ac_ext <<_ACEOF
12553 /* end confdefs.h. */
12554 #include <$ac_header>
12555 _ACEOF
12556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12558 ac_status=$?
12559 grep -v '^ *+' conftest.er1 >conftest.err
12560 rm -f conftest.er1
12561 cat conftest.err >&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } >/dev/null; then
12564 if test -s conftest.err; then
12565 ac_cpp_err=$ac_c_preproc_warn_flag
12566 else
12567 ac_cpp_err=
12568 fi
12569 else
12570 ac_cpp_err=yes
12571 fi
12572 if test -z "$ac_cpp_err"; then
12573 ac_header_preproc=yes
12574 else
12575 echo "$as_me: failed program was:" >&5
12576 sed 's/^/| /' conftest.$ac_ext >&5
12577
12578 ac_header_preproc=no
12579 fi
12580 rm -f conftest.err conftest.$ac_ext
12581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12582 echo "${ECHO_T}$ac_header_preproc" >&6
12583
12584 # So? What about this header?
12585 case $ac_header_compiler:$ac_header_preproc in
12586 yes:no )
12587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12591 (
12592 cat <<\_ASBOX
12593 ## ------------------------------------ ##
12594 ## Report this to bug-autoconf@gnu.org. ##
12595 ## ------------------------------------ ##
12596 _ASBOX
12597 ) |
12598 sed "s/^/$as_me: WARNING: /" >&2
12599 ;;
12600 no:yes )
12601 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12602 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12603 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12604 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12607 (
12608 cat <<\_ASBOX
12609 ## ------------------------------------ ##
12610 ## Report this to bug-autoconf@gnu.org. ##
12611 ## ------------------------------------ ##
12612 _ASBOX
12613 ) |
12614 sed "s/^/$as_me: WARNING: /" >&2
12615 ;;
12616 esac
12617 echo "$as_me:$LINENO: checking for $ac_header" >&5
12618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12620 echo $ECHO_N "(cached) $ECHO_C" >&6
12621 else
12622 eval "$as_ac_Header=$ac_header_preproc"
12623 fi
12624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12626
12627 fi
12628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12629 cat >>confdefs.h <<_ACEOF
12630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12631 _ACEOF
12632
12633 fi
12634
12635 done
12636
12637
12638 for ac_header in unistd.h
12639 do
12640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12642 echo "$as_me:$LINENO: checking for $ac_header" >&5
12643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 fi
12647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12649 else
12650 # Is the header compilable?
12651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12653 cat >conftest.$ac_ext <<_ACEOF
12654 #line $LINENO "configure"
12655 /* confdefs.h. */
12656 _ACEOF
12657 cat confdefs.h >>conftest.$ac_ext
12658 cat >>conftest.$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12660 $ac_includes_default
12661 #include <$ac_header>
12662 _ACEOF
12663 rm -f conftest.$ac_objext
12664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12665 (eval $ac_compile) 2>&5
12666 ac_status=$?
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } &&
12669 { ac_try='test -s conftest.$ac_objext'
12670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12671 (eval $ac_try) 2>&5
12672 ac_status=$?
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); }; }; then
12675 ac_header_compiler=yes
12676 else
12677 echo "$as_me: failed program was:" >&5
12678 sed 's/^/| /' conftest.$ac_ext >&5
12679
12680 ac_header_compiler=no
12681 fi
12682 rm -f conftest.$ac_objext conftest.$ac_ext
12683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12684 echo "${ECHO_T}$ac_header_compiler" >&6
12685
12686 # Is the header present?
12687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12689 cat >conftest.$ac_ext <<_ACEOF
12690 #line $LINENO "configure"
12691 /* confdefs.h. */
12692 _ACEOF
12693 cat confdefs.h >>conftest.$ac_ext
12694 cat >>conftest.$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12696 #include <$ac_header>
12697 _ACEOF
12698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12699 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12700 ac_status=$?
12701 grep -v '^ *+' conftest.er1 >conftest.err
12702 rm -f conftest.er1
12703 cat conftest.err >&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); } >/dev/null; then
12706 if test -s conftest.err; then
12707 ac_cpp_err=$ac_c_preproc_warn_flag
12708 else
12709 ac_cpp_err=
12710 fi
12711 else
12712 ac_cpp_err=yes
12713 fi
12714 if test -z "$ac_cpp_err"; then
12715 ac_header_preproc=yes
12716 else
12717 echo "$as_me: failed program was:" >&5
12718 sed 's/^/| /' conftest.$ac_ext >&5
12719
12720 ac_header_preproc=no
12721 fi
12722 rm -f conftest.err conftest.$ac_ext
12723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12724 echo "${ECHO_T}$ac_header_preproc" >&6
12725
12726 # So? What about this header?
12727 case $ac_header_compiler:$ac_header_preproc in
12728 yes:no )
12729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12733 (
12734 cat <<\_ASBOX
12735 ## ------------------------------------ ##
12736 ## Report this to bug-autoconf@gnu.org. ##
12737 ## ------------------------------------ ##
12738 _ASBOX
12739 ) |
12740 sed "s/^/$as_me: WARNING: /" >&2
12741 ;;
12742 no:yes )
12743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12749 (
12750 cat <<\_ASBOX
12751 ## ------------------------------------ ##
12752 ## Report this to bug-autoconf@gnu.org. ##
12753 ## ------------------------------------ ##
12754 _ASBOX
12755 ) |
12756 sed "s/^/$as_me: WARNING: /" >&2
12757 ;;
12758 esac
12759 echo "$as_me:$LINENO: checking for $ac_header" >&5
12760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12762 echo $ECHO_N "(cached) $ECHO_C" >&6
12763 else
12764 eval "$as_ac_Header=$ac_header_preproc"
12765 fi
12766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12768
12769 fi
12770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12771 cat >>confdefs.h <<_ACEOF
12772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12773 _ACEOF
12774
12775 fi
12776
12777 done
12778
12779
12780 for ac_header in wchar.h
12781 do
12782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12784 echo "$as_me:$LINENO: checking for $ac_header" >&5
12785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12788 fi
12789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12791 else
12792 # Is the header compilable?
12793 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12794 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
12803 #include <$ac_header>
12804 _ACEOF
12805 rm -f conftest.$ac_objext
12806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12807 (eval $ac_compile) 2>&5
12808 ac_status=$?
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); } &&
12811 { ac_try='test -s conftest.$ac_objext'
12812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12813 (eval $ac_try) 2>&5
12814 ac_status=$?
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); }; }; then
12817 ac_header_compiler=yes
12818 else
12819 echo "$as_me: failed program was:" >&5
12820 sed 's/^/| /' conftest.$ac_ext >&5
12821
12822 ac_header_compiler=no
12823 fi
12824 rm -f conftest.$ac_objext conftest.$ac_ext
12825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12826 echo "${ECHO_T}$ac_header_compiler" >&6
12827
12828 # Is the header present?
12829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12831 cat >conftest.$ac_ext <<_ACEOF
12832 #line $LINENO "configure"
12833 /* confdefs.h. */
12834 _ACEOF
12835 cat confdefs.h >>conftest.$ac_ext
12836 cat >>conftest.$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12838 #include <$ac_header>
12839 _ACEOF
12840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12841 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12842 ac_status=$?
12843 grep -v '^ *+' conftest.er1 >conftest.err
12844 rm -f conftest.er1
12845 cat conftest.err >&5
12846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 (exit $ac_status); } >/dev/null; then
12848 if test -s conftest.err; then
12849 ac_cpp_err=$ac_c_preproc_warn_flag
12850 else
12851 ac_cpp_err=
12852 fi
12853 else
12854 ac_cpp_err=yes
12855 fi
12856 if test -z "$ac_cpp_err"; then
12857 ac_header_preproc=yes
12858 else
12859 echo "$as_me: failed program was:" >&5
12860 sed 's/^/| /' conftest.$ac_ext >&5
12861
12862 ac_header_preproc=no
12863 fi
12864 rm -f conftest.err conftest.$ac_ext
12865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12866 echo "${ECHO_T}$ac_header_preproc" >&6
12867
12868 # So? What about this header?
12869 case $ac_header_compiler:$ac_header_preproc in
12870 yes:no )
12871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12875 (
12876 cat <<\_ASBOX
12877 ## ------------------------------------ ##
12878 ## Report this to bug-autoconf@gnu.org. ##
12879 ## ------------------------------------ ##
12880 _ASBOX
12881 ) |
12882 sed "s/^/$as_me: WARNING: /" >&2
12883 ;;
12884 no:yes )
12885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12891 (
12892 cat <<\_ASBOX
12893 ## ------------------------------------ ##
12894 ## Report this to bug-autoconf@gnu.org. ##
12895 ## ------------------------------------ ##
12896 _ASBOX
12897 ) |
12898 sed "s/^/$as_me: WARNING: /" >&2
12899 ;;
12900 esac
12901 echo "$as_me:$LINENO: checking for $ac_header" >&5
12902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12904 echo $ECHO_N "(cached) $ECHO_C" >&6
12905 else
12906 eval "$as_ac_Header=$ac_header_preproc"
12907 fi
12908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12910
12911 fi
12912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12913 cat >>confdefs.h <<_ACEOF
12914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12915 _ACEOF
12916
12917 fi
12918
12919 done
12920
12921
12922 if test "$ac_cv_header_wchar_h" != "yes"; then
12923
12924 for ac_header in wcstr.h
12925 do
12926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12928 echo "$as_me:$LINENO: checking for $ac_header" >&5
12929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12932 fi
12933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12935 else
12936 # Is the header compilable?
12937 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12939 cat >conftest.$ac_ext <<_ACEOF
12940 #line $LINENO "configure"
12941 /* confdefs.h. */
12942 _ACEOF
12943 cat confdefs.h >>conftest.$ac_ext
12944 cat >>conftest.$ac_ext <<_ACEOF
12945 /* end confdefs.h. */
12946 $ac_includes_default
12947 #include <$ac_header>
12948 _ACEOF
12949 rm -f conftest.$ac_objext
12950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12951 (eval $ac_compile) 2>&5
12952 ac_status=$?
12953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 (exit $ac_status); } &&
12955 { ac_try='test -s conftest.$ac_objext'
12956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12957 (eval $ac_try) 2>&5
12958 ac_status=$?
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); }; }; then
12961 ac_header_compiler=yes
12962 else
12963 echo "$as_me: failed program was:" >&5
12964 sed 's/^/| /' conftest.$ac_ext >&5
12965
12966 ac_header_compiler=no
12967 fi
12968 rm -f conftest.$ac_objext conftest.$ac_ext
12969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12970 echo "${ECHO_T}$ac_header_compiler" >&6
12971
12972 # Is the header present?
12973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12975 cat >conftest.$ac_ext <<_ACEOF
12976 #line $LINENO "configure"
12977 /* confdefs.h. */
12978 _ACEOF
12979 cat confdefs.h >>conftest.$ac_ext
12980 cat >>conftest.$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12982 #include <$ac_header>
12983 _ACEOF
12984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12986 ac_status=$?
12987 grep -v '^ *+' conftest.er1 >conftest.err
12988 rm -f conftest.er1
12989 cat conftest.err >&5
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); } >/dev/null; then
12992 if test -s conftest.err; then
12993 ac_cpp_err=$ac_c_preproc_warn_flag
12994 else
12995 ac_cpp_err=
12996 fi
12997 else
12998 ac_cpp_err=yes
12999 fi
13000 if test -z "$ac_cpp_err"; then
13001 ac_header_preproc=yes
13002 else
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.$ac_ext >&5
13005
13006 ac_header_preproc=no
13007 fi
13008 rm -f conftest.err conftest.$ac_ext
13009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13010 echo "${ECHO_T}$ac_header_preproc" >&6
13011
13012 # So? What about this header?
13013 case $ac_header_compiler:$ac_header_preproc in
13014 yes:no )
13015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13018 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13019 (
13020 cat <<\_ASBOX
13021 ## ------------------------------------ ##
13022 ## Report this to bug-autoconf@gnu.org. ##
13023 ## ------------------------------------ ##
13024 _ASBOX
13025 ) |
13026 sed "s/^/$as_me: WARNING: /" >&2
13027 ;;
13028 no:yes )
13029 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13030 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13031 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13032 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13035 (
13036 cat <<\_ASBOX
13037 ## ------------------------------------ ##
13038 ## Report this to bug-autoconf@gnu.org. ##
13039 ## ------------------------------------ ##
13040 _ASBOX
13041 ) |
13042 sed "s/^/$as_me: WARNING: /" >&2
13043 ;;
13044 esac
13045 echo "$as_me:$LINENO: checking for $ac_header" >&5
13046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13048 echo $ECHO_N "(cached) $ECHO_C" >&6
13049 else
13050 eval "$as_ac_Header=$ac_header_preproc"
13051 fi
13052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13054
13055 fi
13056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13057 cat >>confdefs.h <<_ACEOF
13058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13059 _ACEOF
13060
13061 fi
13062
13063 done
13064
13065 fi
13066
13067
13068 for ac_header in fnmatch.h
13069 do
13070 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13072 echo "$as_me:$LINENO: checking for $ac_header" >&5
13073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13075 echo $ECHO_N "(cached) $ECHO_C" >&6
13076 fi
13077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13079 else
13080 # Is the header compilable?
13081 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13082 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13083 cat >conftest.$ac_ext <<_ACEOF
13084 #line $LINENO "configure"
13085 /* confdefs.h. */
13086 _ACEOF
13087 cat confdefs.h >>conftest.$ac_ext
13088 cat >>conftest.$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13090 $ac_includes_default
13091 #include <$ac_header>
13092 _ACEOF
13093 rm -f conftest.$ac_objext
13094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13095 (eval $ac_compile) 2>&5
13096 ac_status=$?
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); } &&
13099 { ac_try='test -s conftest.$ac_objext'
13100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13101 (eval $ac_try) 2>&5
13102 ac_status=$?
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); }; }; then
13105 ac_header_compiler=yes
13106 else
13107 echo "$as_me: failed program was:" >&5
13108 sed 's/^/| /' conftest.$ac_ext >&5
13109
13110 ac_header_compiler=no
13111 fi
13112 rm -f conftest.$ac_objext conftest.$ac_ext
13113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13114 echo "${ECHO_T}$ac_header_compiler" >&6
13115
13116 # Is the header present?
13117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13119 cat >conftest.$ac_ext <<_ACEOF
13120 #line $LINENO "configure"
13121 /* confdefs.h. */
13122 _ACEOF
13123 cat confdefs.h >>conftest.$ac_ext
13124 cat >>conftest.$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13126 #include <$ac_header>
13127 _ACEOF
13128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13130 ac_status=$?
13131 grep -v '^ *+' conftest.er1 >conftest.err
13132 rm -f conftest.er1
13133 cat conftest.err >&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } >/dev/null; then
13136 if test -s conftest.err; then
13137 ac_cpp_err=$ac_c_preproc_warn_flag
13138 else
13139 ac_cpp_err=
13140 fi
13141 else
13142 ac_cpp_err=yes
13143 fi
13144 if test -z "$ac_cpp_err"; then
13145 ac_header_preproc=yes
13146 else
13147 echo "$as_me: failed program was:" >&5
13148 sed 's/^/| /' conftest.$ac_ext >&5
13149
13150 ac_header_preproc=no
13151 fi
13152 rm -f conftest.err conftest.$ac_ext
13153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13154 echo "${ECHO_T}$ac_header_preproc" >&6
13155
13156 # So? What about this header?
13157 case $ac_header_compiler:$ac_header_preproc in
13158 yes:no )
13159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13163 (
13164 cat <<\_ASBOX
13165 ## ------------------------------------ ##
13166 ## Report this to bug-autoconf@gnu.org. ##
13167 ## ------------------------------------ ##
13168 _ASBOX
13169 ) |
13170 sed "s/^/$as_me: WARNING: /" >&2
13171 ;;
13172 no:yes )
13173 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13174 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13175 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13176 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13179 (
13180 cat <<\_ASBOX
13181 ## ------------------------------------ ##
13182 ## Report this to bug-autoconf@gnu.org. ##
13183 ## ------------------------------------ ##
13184 _ASBOX
13185 ) |
13186 sed "s/^/$as_me: WARNING: /" >&2
13187 ;;
13188 esac
13189 echo "$as_me:$LINENO: checking for $ac_header" >&5
13190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 else
13194 eval "$as_ac_Header=$ac_header_preproc"
13195 fi
13196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13198
13199 fi
13200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13201 cat >>confdefs.h <<_ACEOF
13202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13203 _ACEOF
13204
13205 fi
13206
13207 done
13208
13209
13210 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13211
13212 for ac_func in fnmatch
13213 do
13214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13215 echo "$as_me:$LINENO: checking for $ac_func" >&5
13216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13217 if eval "test \"\${$as_ac_var+set}\" = set"; then
13218 echo $ECHO_N "(cached) $ECHO_C" >&6
13219 else
13220 cat >conftest.$ac_ext <<_ACEOF
13221 #line $LINENO "configure"
13222 /* confdefs.h. */
13223 _ACEOF
13224 cat confdefs.h >>conftest.$ac_ext
13225 cat >>conftest.$ac_ext <<_ACEOF
13226 /* end confdefs.h. */
13227 /* System header to define __stub macros and hopefully few prototypes,
13228 which can conflict with char $ac_func (); below.
13229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13230 <limits.h> exists even on freestanding compilers. */
13231 #ifdef __STDC__
13232 # include <limits.h>
13233 #else
13234 # include <assert.h>
13235 #endif
13236 /* Override any gcc2 internal prototype to avoid an error. */
13237 #ifdef __cplusplus
13238 extern "C"
13239 {
13240 #endif
13241 /* We use char because int might match the return type of a gcc2
13242 builtin and then its argument prototype would still apply. */
13243 char $ac_func ();
13244 /* The GNU C library defines this for functions which it implements
13245 to always fail with ENOSYS. Some functions are actually named
13246 something starting with __ and the normal name is an alias. */
13247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13248 choke me
13249 #else
13250 char (*f) () = $ac_func;
13251 #endif
13252 #ifdef __cplusplus
13253 }
13254 #endif
13255
13256 int
13257 main ()
13258 {
13259 return f != $ac_func;
13260 ;
13261 return 0;
13262 }
13263 _ACEOF
13264 rm -f conftest.$ac_objext conftest$ac_exeext
13265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13266 (eval $ac_link) 2>&5
13267 ac_status=$?
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); } &&
13270 { ac_try='test -s conftest$ac_exeext'
13271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13272 (eval $ac_try) 2>&5
13273 ac_status=$?
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); }; }; then
13276 eval "$as_ac_var=yes"
13277 else
13278 echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.$ac_ext >&5
13280
13281 eval "$as_ac_var=no"
13282 fi
13283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13284 fi
13285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13287 if test `eval echo '${'$as_ac_var'}'` = yes; then
13288 cat >>confdefs.h <<_ACEOF
13289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13290 _ACEOF
13291
13292 fi
13293 done
13294
13295 fi
13296
13297
13298 for ac_header in langinfo.h
13299 do
13300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13302 echo "$as_me:$LINENO: checking for $ac_header" >&5
13303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 fi
13307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13309 else
13310 # Is the header compilable?
13311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13313 cat >conftest.$ac_ext <<_ACEOF
13314 #line $LINENO "configure"
13315 /* confdefs.h. */
13316 _ACEOF
13317 cat confdefs.h >>conftest.$ac_ext
13318 cat >>conftest.$ac_ext <<_ACEOF
13319 /* end confdefs.h. */
13320 $ac_includes_default
13321 #include <$ac_header>
13322 _ACEOF
13323 rm -f conftest.$ac_objext
13324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13325 (eval $ac_compile) 2>&5
13326 ac_status=$?
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } &&
13329 { ac_try='test -s conftest.$ac_objext'
13330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 (eval $ac_try) 2>&5
13332 ac_status=$?
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; }; then
13335 ac_header_compiler=yes
13336 else
13337 echo "$as_me: failed program was:" >&5
13338 sed 's/^/| /' conftest.$ac_ext >&5
13339
13340 ac_header_compiler=no
13341 fi
13342 rm -f conftest.$ac_objext conftest.$ac_ext
13343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13344 echo "${ECHO_T}$ac_header_compiler" >&6
13345
13346 # Is the header present?
13347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13349 cat >conftest.$ac_ext <<_ACEOF
13350 #line $LINENO "configure"
13351 /* confdefs.h. */
13352 _ACEOF
13353 cat confdefs.h >>conftest.$ac_ext
13354 cat >>conftest.$ac_ext <<_ACEOF
13355 /* end confdefs.h. */
13356 #include <$ac_header>
13357 _ACEOF
13358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13360 ac_status=$?
13361 grep -v '^ *+' conftest.er1 >conftest.err
13362 rm -f conftest.er1
13363 cat conftest.err >&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); } >/dev/null; then
13366 if test -s conftest.err; then
13367 ac_cpp_err=$ac_c_preproc_warn_flag
13368 else
13369 ac_cpp_err=
13370 fi
13371 else
13372 ac_cpp_err=yes
13373 fi
13374 if test -z "$ac_cpp_err"; then
13375 ac_header_preproc=yes
13376 else
13377 echo "$as_me: failed program was:" >&5
13378 sed 's/^/| /' conftest.$ac_ext >&5
13379
13380 ac_header_preproc=no
13381 fi
13382 rm -f conftest.err conftest.$ac_ext
13383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13384 echo "${ECHO_T}$ac_header_preproc" >&6
13385
13386 # So? What about this header?
13387 case $ac_header_compiler:$ac_header_preproc in
13388 yes:no )
13389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13393 (
13394 cat <<\_ASBOX
13395 ## ------------------------------------ ##
13396 ## Report this to bug-autoconf@gnu.org. ##
13397 ## ------------------------------------ ##
13398 _ASBOX
13399 ) |
13400 sed "s/^/$as_me: WARNING: /" >&2
13401 ;;
13402 no:yes )
13403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13409 (
13410 cat <<\_ASBOX
13411 ## ------------------------------------ ##
13412 ## Report this to bug-autoconf@gnu.org. ##
13413 ## ------------------------------------ ##
13414 _ASBOX
13415 ) |
13416 sed "s/^/$as_me: WARNING: /" >&2
13417 ;;
13418 esac
13419 echo "$as_me:$LINENO: checking for $ac_header" >&5
13420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13423 else
13424 eval "$as_ac_Header=$ac_header_preproc"
13425 fi
13426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13428
13429 fi
13430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13431 cat >>confdefs.h <<_ACEOF
13432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13433 _ACEOF
13434
13435 fi
13436
13437 done
13438
13439
13440 case "${host}" in
13441 *-pc-os2_emx | *-pc-os2-emx )
13442 if test $ac_cv_header_langinfo_h = "yes"; then
13443 LIBS="$LIBS -lintl"
13444 fi
13445 ;;
13446 esac
13447
13448 if test "$wxUSE_GUI" = "yes"; then
13449 if test "$wxUSE_UNIX" = "yes"; then
13450
13451 for ac_header in X11/XKBlib.h
13452 do
13453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13455 echo "$as_me:$LINENO: checking for $ac_header" >&5
13456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13458 echo $ECHO_N "(cached) $ECHO_C" >&6
13459 fi
13460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13462 else
13463 # Is the header compilable?
13464 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13466 cat >conftest.$ac_ext <<_ACEOF
13467 #line $LINENO "configure"
13468 /* confdefs.h. */
13469 _ACEOF
13470 cat confdefs.h >>conftest.$ac_ext
13471 cat >>conftest.$ac_ext <<_ACEOF
13472 /* end confdefs.h. */
13473 $ac_includes_default
13474 #include <$ac_header>
13475 _ACEOF
13476 rm -f conftest.$ac_objext
13477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13478 (eval $ac_compile) 2>&5
13479 ac_status=$?
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); } &&
13482 { ac_try='test -s conftest.$ac_objext'
13483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13484 (eval $ac_try) 2>&5
13485 ac_status=$?
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); }; }; then
13488 ac_header_compiler=yes
13489 else
13490 echo "$as_me: failed program was:" >&5
13491 sed 's/^/| /' conftest.$ac_ext >&5
13492
13493 ac_header_compiler=no
13494 fi
13495 rm -f conftest.$ac_objext conftest.$ac_ext
13496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13497 echo "${ECHO_T}$ac_header_compiler" >&6
13498
13499 # Is the header present?
13500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13502 cat >conftest.$ac_ext <<_ACEOF
13503 #line $LINENO "configure"
13504 /* confdefs.h. */
13505 _ACEOF
13506 cat confdefs.h >>conftest.$ac_ext
13507 cat >>conftest.$ac_ext <<_ACEOF
13508 /* end confdefs.h. */
13509 #include <$ac_header>
13510 _ACEOF
13511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13513 ac_status=$?
13514 grep -v '^ *+' conftest.er1 >conftest.err
13515 rm -f conftest.er1
13516 cat conftest.err >&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); } >/dev/null; then
13519 if test -s conftest.err; then
13520 ac_cpp_err=$ac_c_preproc_warn_flag
13521 else
13522 ac_cpp_err=
13523 fi
13524 else
13525 ac_cpp_err=yes
13526 fi
13527 if test -z "$ac_cpp_err"; then
13528 ac_header_preproc=yes
13529 else
13530 echo "$as_me: failed program was:" >&5
13531 sed 's/^/| /' conftest.$ac_ext >&5
13532
13533 ac_header_preproc=no
13534 fi
13535 rm -f conftest.err conftest.$ac_ext
13536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13537 echo "${ECHO_T}$ac_header_preproc" >&6
13538
13539 # So? What about this header?
13540 case $ac_header_compiler:$ac_header_preproc in
13541 yes:no )
13542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13546 (
13547 cat <<\_ASBOX
13548 ## ------------------------------------ ##
13549 ## Report this to bug-autoconf@gnu.org. ##
13550 ## ------------------------------------ ##
13551 _ASBOX
13552 ) |
13553 sed "s/^/$as_me: WARNING: /" >&2
13554 ;;
13555 no:yes )
13556 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13557 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13558 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13559 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13562 (
13563 cat <<\_ASBOX
13564 ## ------------------------------------ ##
13565 ## Report this to bug-autoconf@gnu.org. ##
13566 ## ------------------------------------ ##
13567 _ASBOX
13568 ) |
13569 sed "s/^/$as_me: WARNING: /" >&2
13570 ;;
13571 esac
13572 echo "$as_me:$LINENO: checking for $ac_header" >&5
13573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13575 echo $ECHO_N "(cached) $ECHO_C" >&6
13576 else
13577 eval "$as_ac_Header=$ac_header_preproc"
13578 fi
13579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13581
13582 fi
13583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13584 cat >>confdefs.h <<_ACEOF
13585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13586 _ACEOF
13587
13588 fi
13589
13590 done
13591
13592 fi
13593 fi
13594
13595
13596 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13597 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13598 if test "${ac_cv_c_const+set}" = set; then
13599 echo $ECHO_N "(cached) $ECHO_C" >&6
13600 else
13601 cat >conftest.$ac_ext <<_ACEOF
13602 #line $LINENO "configure"
13603 /* confdefs.h. */
13604 _ACEOF
13605 cat confdefs.h >>conftest.$ac_ext
13606 cat >>conftest.$ac_ext <<_ACEOF
13607 /* end confdefs.h. */
13608
13609 int
13610 main ()
13611 {
13612 /* FIXME: Include the comments suggested by Paul. */
13613 #ifndef __cplusplus
13614 /* Ultrix mips cc rejects this. */
13615 typedef int charset[2];
13616 const charset x;
13617 /* SunOS 4.1.1 cc rejects this. */
13618 char const *const *ccp;
13619 char **p;
13620 /* NEC SVR4.0.2 mips cc rejects this. */
13621 struct point {int x, y;};
13622 static struct point const zero = {0,0};
13623 /* AIX XL C 1.02.0.0 rejects this.
13624 It does not let you subtract one const X* pointer from another in
13625 an arm of an if-expression whose if-part is not a constant
13626 expression */
13627 const char *g = "string";
13628 ccp = &g + (g ? g-g : 0);
13629 /* HPUX 7.0 cc rejects these. */
13630 ++ccp;
13631 p = (char**) ccp;
13632 ccp = (char const *const *) p;
13633 { /* SCO 3.2v4 cc rejects this. */
13634 char *t;
13635 char const *s = 0 ? (char *) 0 : (char const *) 0;
13636
13637 *t++ = 0;
13638 }
13639 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13640 int x[] = {25, 17};
13641 const int *foo = &x[0];
13642 ++foo;
13643 }
13644 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13645 typedef const int *iptr;
13646 iptr p = 0;
13647 ++p;
13648 }
13649 { /* AIX XL C 1.02.0.0 rejects this saying
13650 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13651 struct s { int j; const int *ap[3]; };
13652 struct s *b; b->j = 5;
13653 }
13654 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13655 const int foo = 10;
13656 }
13657 #endif
13658
13659 ;
13660 return 0;
13661 }
13662 _ACEOF
13663 rm -f conftest.$ac_objext
13664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13665 (eval $ac_compile) 2>&5
13666 ac_status=$?
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); } &&
13669 { ac_try='test -s conftest.$ac_objext'
13670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671 (eval $ac_try) 2>&5
13672 ac_status=$?
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; }; then
13675 ac_cv_c_const=yes
13676 else
13677 echo "$as_me: failed program was:" >&5
13678 sed 's/^/| /' conftest.$ac_ext >&5
13679
13680 ac_cv_c_const=no
13681 fi
13682 rm -f conftest.$ac_objext conftest.$ac_ext
13683 fi
13684 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13685 echo "${ECHO_T}$ac_cv_c_const" >&6
13686 if test $ac_cv_c_const = no; then
13687
13688 cat >>confdefs.h <<\_ACEOF
13689 #define const
13690 _ACEOF
13691
13692 fi
13693
13694 echo "$as_me:$LINENO: checking for inline" >&5
13695 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13696 if test "${ac_cv_c_inline+set}" = set; then
13697 echo $ECHO_N "(cached) $ECHO_C" >&6
13698 else
13699 ac_cv_c_inline=no
13700 for ac_kw in inline __inline__ __inline; do
13701 cat >conftest.$ac_ext <<_ACEOF
13702 #line $LINENO "configure"
13703 /* confdefs.h. */
13704 _ACEOF
13705 cat confdefs.h >>conftest.$ac_ext
13706 cat >>conftest.$ac_ext <<_ACEOF
13707 /* end confdefs.h. */
13708 #ifndef __cplusplus
13709 typedef int foo_t;
13710 static $ac_kw foo_t static_foo () {return 0; }
13711 $ac_kw foo_t foo () {return 0; }
13712 #endif
13713
13714 _ACEOF
13715 rm -f conftest.$ac_objext
13716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13717 (eval $ac_compile) 2>&5
13718 ac_status=$?
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); } &&
13721 { ac_try='test -s conftest.$ac_objext'
13722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13723 (eval $ac_try) 2>&5
13724 ac_status=$?
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); }; }; then
13727 ac_cv_c_inline=$ac_kw; break
13728 else
13729 echo "$as_me: failed program was:" >&5
13730 sed 's/^/| /' conftest.$ac_ext >&5
13731
13732 fi
13733 rm -f conftest.$ac_objext conftest.$ac_ext
13734 done
13735
13736 fi
13737 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13738 echo "${ECHO_T}$ac_cv_c_inline" >&6
13739 case $ac_cv_c_inline in
13740 inline | yes) ;;
13741 no)
13742 cat >>confdefs.h <<\_ACEOF
13743 #define inline
13744 _ACEOF
13745 ;;
13746 *) cat >>confdefs.h <<_ACEOF
13747 #define inline $ac_cv_c_inline
13748 _ACEOF
13749 ;;
13750 esac
13751
13752
13753 echo "$as_me:$LINENO: checking for char" >&5
13754 echo $ECHO_N "checking for char... $ECHO_C" >&6
13755 if test "${ac_cv_type_char+set}" = set; then
13756 echo $ECHO_N "(cached) $ECHO_C" >&6
13757 else
13758 cat >conftest.$ac_ext <<_ACEOF
13759 #line $LINENO "configure"
13760 /* confdefs.h. */
13761 _ACEOF
13762 cat confdefs.h >>conftest.$ac_ext
13763 cat >>conftest.$ac_ext <<_ACEOF
13764 /* end confdefs.h. */
13765 $ac_includes_default
13766 int
13767 main ()
13768 {
13769 if ((char *) 0)
13770 return 0;
13771 if (sizeof (char))
13772 return 0;
13773 ;
13774 return 0;
13775 }
13776 _ACEOF
13777 rm -f conftest.$ac_objext
13778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13779 (eval $ac_compile) 2>&5
13780 ac_status=$?
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } &&
13783 { ac_try='test -s conftest.$ac_objext'
13784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13785 (eval $ac_try) 2>&5
13786 ac_status=$?
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); }; }; then
13789 ac_cv_type_char=yes
13790 else
13791 echo "$as_me: failed program was:" >&5
13792 sed 's/^/| /' conftest.$ac_ext >&5
13793
13794 ac_cv_type_char=no
13795 fi
13796 rm -f conftest.$ac_objext conftest.$ac_ext
13797 fi
13798 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13799 echo "${ECHO_T}$ac_cv_type_char" >&6
13800
13801 echo "$as_me:$LINENO: checking size of char" >&5
13802 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13803 if test "${ac_cv_sizeof_char+set}" = set; then
13804 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 else
13806 if test "$ac_cv_type_char" = yes; then
13807 # The cast to unsigned long works around a bug in the HP C Compiler
13808 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13809 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13810 # This bug is HP SR number 8606223364.
13811 if test "$cross_compiling" = yes; then
13812 # Depending upon the size, compute the lo and hi bounds.
13813 cat >conftest.$ac_ext <<_ACEOF
13814 #line $LINENO "configure"
13815 /* confdefs.h. */
13816 _ACEOF
13817 cat confdefs.h >>conftest.$ac_ext
13818 cat >>conftest.$ac_ext <<_ACEOF
13819 /* end confdefs.h. */
13820 $ac_includes_default
13821 int
13822 main ()
13823 {
13824 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13825 test_array [0] = 0
13826
13827 ;
13828 return 0;
13829 }
13830 _ACEOF
13831 rm -f conftest.$ac_objext
13832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13833 (eval $ac_compile) 2>&5
13834 ac_status=$?
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); } &&
13837 { ac_try='test -s conftest.$ac_objext'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13840 ac_status=$?
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; }; then
13843 ac_lo=0 ac_mid=0
13844 while :; do
13845 cat >conftest.$ac_ext <<_ACEOF
13846 #line $LINENO "configure"
13847 /* confdefs.h. */
13848 _ACEOF
13849 cat confdefs.h >>conftest.$ac_ext
13850 cat >>conftest.$ac_ext <<_ACEOF
13851 /* end confdefs.h. */
13852 $ac_includes_default
13853 int
13854 main ()
13855 {
13856 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13857 test_array [0] = 0
13858
13859 ;
13860 return 0;
13861 }
13862 _ACEOF
13863 rm -f conftest.$ac_objext
13864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13865 (eval $ac_compile) 2>&5
13866 ac_status=$?
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); } &&
13869 { ac_try='test -s conftest.$ac_objext'
13870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13871 (eval $ac_try) 2>&5
13872 ac_status=$?
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); }; }; then
13875 ac_hi=$ac_mid; break
13876 else
13877 echo "$as_me: failed program was:" >&5
13878 sed 's/^/| /' conftest.$ac_ext >&5
13879
13880 ac_lo=`expr $ac_mid + 1`
13881 if test $ac_lo -le $ac_mid; then
13882 ac_lo= ac_hi=
13883 break
13884 fi
13885 ac_mid=`expr 2 '*' $ac_mid + 1`
13886 fi
13887 rm -f conftest.$ac_objext conftest.$ac_ext
13888 done
13889 else
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13892
13893 cat >conftest.$ac_ext <<_ACEOF
13894 #line $LINENO "configure"
13895 /* confdefs.h. */
13896 _ACEOF
13897 cat confdefs.h >>conftest.$ac_ext
13898 cat >>conftest.$ac_ext <<_ACEOF
13899 /* end confdefs.h. */
13900 $ac_includes_default
13901 int
13902 main ()
13903 {
13904 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13905 test_array [0] = 0
13906
13907 ;
13908 return 0;
13909 }
13910 _ACEOF
13911 rm -f conftest.$ac_objext
13912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13913 (eval $ac_compile) 2>&5
13914 ac_status=$?
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); } &&
13917 { ac_try='test -s conftest.$ac_objext'
13918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13919 (eval $ac_try) 2>&5
13920 ac_status=$?
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); }; }; then
13923 ac_hi=-1 ac_mid=-1
13924 while :; do
13925 cat >conftest.$ac_ext <<_ACEOF
13926 #line $LINENO "configure"
13927 /* confdefs.h. */
13928 _ACEOF
13929 cat confdefs.h >>conftest.$ac_ext
13930 cat >>conftest.$ac_ext <<_ACEOF
13931 /* end confdefs.h. */
13932 $ac_includes_default
13933 int
13934 main ()
13935 {
13936 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13937 test_array [0] = 0
13938
13939 ;
13940 return 0;
13941 }
13942 _ACEOF
13943 rm -f conftest.$ac_objext
13944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13945 (eval $ac_compile) 2>&5
13946 ac_status=$?
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); } &&
13949 { ac_try='test -s conftest.$ac_objext'
13950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13951 (eval $ac_try) 2>&5
13952 ac_status=$?
13953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13954 (exit $ac_status); }; }; then
13955 ac_lo=$ac_mid; break
13956 else
13957 echo "$as_me: failed program was:" >&5
13958 sed 's/^/| /' conftest.$ac_ext >&5
13959
13960 ac_hi=`expr '(' $ac_mid ')' - 1`
13961 if test $ac_mid -le $ac_hi; then
13962 ac_lo= ac_hi=
13963 break
13964 fi
13965 ac_mid=`expr 2 '*' $ac_mid`
13966 fi
13967 rm -f conftest.$ac_objext conftest.$ac_ext
13968 done
13969 else
13970 echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.$ac_ext >&5
13972
13973 ac_lo= ac_hi=
13974 fi
13975 rm -f conftest.$ac_objext conftest.$ac_ext
13976 fi
13977 rm -f conftest.$ac_objext conftest.$ac_ext
13978 # Binary search between lo and hi bounds.
13979 while test "x$ac_lo" != "x$ac_hi"; do
13980 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13981 cat >conftest.$ac_ext <<_ACEOF
13982 #line $LINENO "configure"
13983 /* confdefs.h. */
13984 _ACEOF
13985 cat confdefs.h >>conftest.$ac_ext
13986 cat >>conftest.$ac_ext <<_ACEOF
13987 /* end confdefs.h. */
13988 $ac_includes_default
13989 int
13990 main ()
13991 {
13992 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13993 test_array [0] = 0
13994
13995 ;
13996 return 0;
13997 }
13998 _ACEOF
13999 rm -f conftest.$ac_objext
14000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14001 (eval $ac_compile) 2>&5
14002 ac_status=$?
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); } &&
14005 { ac_try='test -s conftest.$ac_objext'
14006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14007 (eval $ac_try) 2>&5
14008 ac_status=$?
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); }; }; then
14011 ac_hi=$ac_mid
14012 else
14013 echo "$as_me: failed program was:" >&5
14014 sed 's/^/| /' conftest.$ac_ext >&5
14015
14016 ac_lo=`expr '(' $ac_mid ')' + 1`
14017 fi
14018 rm -f conftest.$ac_objext conftest.$ac_ext
14019 done
14020 case $ac_lo in
14021 ?*) ac_cv_sizeof_char=$ac_lo;;
14022 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14023 See \`config.log' for more details." >&5
14024 echo "$as_me: error: cannot compute sizeof (char), 77
14025 See \`config.log' for more details." >&2;}
14026 { (exit 1); exit 1; }; } ;;
14027 esac
14028 else
14029 if test "$cross_compiling" = yes; then
14030 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14031 See \`config.log' for more details." >&5
14032 echo "$as_me: error: cannot run test program while cross compiling
14033 See \`config.log' for more details." >&2;}
14034 { (exit 1); exit 1; }; }
14035 else
14036 cat >conftest.$ac_ext <<_ACEOF
14037 #line $LINENO "configure"
14038 /* confdefs.h. */
14039 _ACEOF
14040 cat confdefs.h >>conftest.$ac_ext
14041 cat >>conftest.$ac_ext <<_ACEOF
14042 /* end confdefs.h. */
14043 $ac_includes_default
14044 long longval () { return (long) (sizeof (char)); }
14045 unsigned long ulongval () { return (long) (sizeof (char)); }
14046 #include <stdio.h>
14047 #include <stdlib.h>
14048 int
14049 main ()
14050 {
14051
14052 FILE *f = fopen ("conftest.val", "w");
14053 if (! f)
14054 exit (1);
14055 if (((long) (sizeof (char))) < 0)
14056 {
14057 long i = longval ();
14058 if (i != ((long) (sizeof (char))))
14059 exit (1);
14060 fprintf (f, "%ld\n", i);
14061 }
14062 else
14063 {
14064 unsigned long i = ulongval ();
14065 if (i != ((long) (sizeof (char))))
14066 exit (1);
14067 fprintf (f, "%lu\n", i);
14068 }
14069 exit (ferror (f) || fclose (f) != 0);
14070
14071 ;
14072 return 0;
14073 }
14074 _ACEOF
14075 rm -f conftest$ac_exeext
14076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14077 (eval $ac_link) 2>&5
14078 ac_status=$?
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14082 (eval $ac_try) 2>&5
14083 ac_status=$?
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }; }; then
14086 ac_cv_sizeof_char=`cat conftest.val`
14087 else
14088 echo "$as_me: program exited with status $ac_status" >&5
14089 echo "$as_me: failed program was:" >&5
14090 sed 's/^/| /' conftest.$ac_ext >&5
14091
14092 ( exit $ac_status )
14093 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14094 See \`config.log' for more details." >&5
14095 echo "$as_me: error: cannot compute sizeof (char), 77
14096 See \`config.log' for more details." >&2;}
14097 { (exit 1); exit 1; }; }
14098 fi
14099 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14100 fi
14101 fi
14102 rm -f conftest.val
14103 else
14104 ac_cv_sizeof_char=0
14105 fi
14106 fi
14107 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14108 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14109 cat >>confdefs.h <<_ACEOF
14110 #define SIZEOF_CHAR $ac_cv_sizeof_char
14111 _ACEOF
14112
14113
14114 echo "$as_me:$LINENO: checking for short" >&5
14115 echo $ECHO_N "checking for short... $ECHO_C" >&6
14116 if test "${ac_cv_type_short+set}" = set; then
14117 echo $ECHO_N "(cached) $ECHO_C" >&6
14118 else
14119 cat >conftest.$ac_ext <<_ACEOF
14120 #line $LINENO "configure"
14121 /* confdefs.h. */
14122 _ACEOF
14123 cat confdefs.h >>conftest.$ac_ext
14124 cat >>conftest.$ac_ext <<_ACEOF
14125 /* end confdefs.h. */
14126 $ac_includes_default
14127 int
14128 main ()
14129 {
14130 if ((short *) 0)
14131 return 0;
14132 if (sizeof (short))
14133 return 0;
14134 ;
14135 return 0;
14136 }
14137 _ACEOF
14138 rm -f conftest.$ac_objext
14139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14140 (eval $ac_compile) 2>&5
14141 ac_status=$?
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); } &&
14144 { ac_try='test -s conftest.$ac_objext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 ac_cv_type_short=yes
14151 else
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.$ac_ext >&5
14154
14155 ac_cv_type_short=no
14156 fi
14157 rm -f conftest.$ac_objext conftest.$ac_ext
14158 fi
14159 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14160 echo "${ECHO_T}$ac_cv_type_short" >&6
14161
14162 echo "$as_me:$LINENO: checking size of short" >&5
14163 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14164 if test "${ac_cv_sizeof_short+set}" = set; then
14165 echo $ECHO_N "(cached) $ECHO_C" >&6
14166 else
14167 if test "$ac_cv_type_short" = yes; then
14168 # The cast to unsigned long works around a bug in the HP C Compiler
14169 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14170 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14171 # This bug is HP SR number 8606223364.
14172 if test "$cross_compiling" = yes; then
14173 # Depending upon the size, compute the lo and hi bounds.
14174 cat >conftest.$ac_ext <<_ACEOF
14175 #line $LINENO "configure"
14176 /* confdefs.h. */
14177 _ACEOF
14178 cat confdefs.h >>conftest.$ac_ext
14179 cat >>conftest.$ac_ext <<_ACEOF
14180 /* end confdefs.h. */
14181 $ac_includes_default
14182 int
14183 main ()
14184 {
14185 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14186 test_array [0] = 0
14187
14188 ;
14189 return 0;
14190 }
14191 _ACEOF
14192 rm -f conftest.$ac_objext
14193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14194 (eval $ac_compile) 2>&5
14195 ac_status=$?
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); } &&
14198 { ac_try='test -s conftest.$ac_objext'
14199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14200 (eval $ac_try) 2>&5
14201 ac_status=$?
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); }; }; then
14204 ac_lo=0 ac_mid=0
14205 while :; do
14206 cat >conftest.$ac_ext <<_ACEOF
14207 #line $LINENO "configure"
14208 /* confdefs.h. */
14209 _ACEOF
14210 cat confdefs.h >>conftest.$ac_ext
14211 cat >>conftest.$ac_ext <<_ACEOF
14212 /* end confdefs.h. */
14213 $ac_includes_default
14214 int
14215 main ()
14216 {
14217 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14218 test_array [0] = 0
14219
14220 ;
14221 return 0;
14222 }
14223 _ACEOF
14224 rm -f conftest.$ac_objext
14225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14226 (eval $ac_compile) 2>&5
14227 ac_status=$?
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } &&
14230 { ac_try='test -s conftest.$ac_objext'
14231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14232 (eval $ac_try) 2>&5
14233 ac_status=$?
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); }; }; then
14236 ac_hi=$ac_mid; break
14237 else
14238 echo "$as_me: failed program was:" >&5
14239 sed 's/^/| /' conftest.$ac_ext >&5
14240
14241 ac_lo=`expr $ac_mid + 1`
14242 if test $ac_lo -le $ac_mid; then
14243 ac_lo= ac_hi=
14244 break
14245 fi
14246 ac_mid=`expr 2 '*' $ac_mid + 1`
14247 fi
14248 rm -f conftest.$ac_objext conftest.$ac_ext
14249 done
14250 else
14251 echo "$as_me: failed program was:" >&5
14252 sed 's/^/| /' conftest.$ac_ext >&5
14253
14254 cat >conftest.$ac_ext <<_ACEOF
14255 #line $LINENO "configure"
14256 /* confdefs.h. */
14257 _ACEOF
14258 cat confdefs.h >>conftest.$ac_ext
14259 cat >>conftest.$ac_ext <<_ACEOF
14260 /* end confdefs.h. */
14261 $ac_includes_default
14262 int
14263 main ()
14264 {
14265 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14266 test_array [0] = 0
14267
14268 ;
14269 return 0;
14270 }
14271 _ACEOF
14272 rm -f conftest.$ac_objext
14273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14274 (eval $ac_compile) 2>&5
14275 ac_status=$?
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); } &&
14278 { ac_try='test -s conftest.$ac_objext'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14281 ac_status=$?
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; }; then
14284 ac_hi=-1 ac_mid=-1
14285 while :; do
14286 cat >conftest.$ac_ext <<_ACEOF
14287 #line $LINENO "configure"
14288 /* confdefs.h. */
14289 _ACEOF
14290 cat confdefs.h >>conftest.$ac_ext
14291 cat >>conftest.$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14293 $ac_includes_default
14294 int
14295 main ()
14296 {
14297 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14298 test_array [0] = 0
14299
14300 ;
14301 return 0;
14302 }
14303 _ACEOF
14304 rm -f conftest.$ac_objext
14305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14306 (eval $ac_compile) 2>&5
14307 ac_status=$?
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); } &&
14310 { ac_try='test -s conftest.$ac_objext'
14311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312 (eval $ac_try) 2>&5
14313 ac_status=$?
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }; }; then
14316 ac_lo=$ac_mid; break
14317 else
14318 echo "$as_me: failed program was:" >&5
14319 sed 's/^/| /' conftest.$ac_ext >&5
14320
14321 ac_hi=`expr '(' $ac_mid ')' - 1`
14322 if test $ac_mid -le $ac_hi; then
14323 ac_lo= ac_hi=
14324 break
14325 fi
14326 ac_mid=`expr 2 '*' $ac_mid`
14327 fi
14328 rm -f conftest.$ac_objext conftest.$ac_ext
14329 done
14330 else
14331 echo "$as_me: failed program was:" >&5
14332 sed 's/^/| /' conftest.$ac_ext >&5
14333
14334 ac_lo= ac_hi=
14335 fi
14336 rm -f conftest.$ac_objext conftest.$ac_ext
14337 fi
14338 rm -f conftest.$ac_objext conftest.$ac_ext
14339 # Binary search between lo and hi bounds.
14340 while test "x$ac_lo" != "x$ac_hi"; do
14341 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14342 cat >conftest.$ac_ext <<_ACEOF
14343 #line $LINENO "configure"
14344 /* confdefs.h. */
14345 _ACEOF
14346 cat confdefs.h >>conftest.$ac_ext
14347 cat >>conftest.$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14349 $ac_includes_default
14350 int
14351 main ()
14352 {
14353 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14354 test_array [0] = 0
14355
14356 ;
14357 return 0;
14358 }
14359 _ACEOF
14360 rm -f conftest.$ac_objext
14361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14362 (eval $ac_compile) 2>&5
14363 ac_status=$?
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); } &&
14366 { ac_try='test -s conftest.$ac_objext'
14367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14368 (eval $ac_try) 2>&5
14369 ac_status=$?
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); }; }; then
14372 ac_hi=$ac_mid
14373 else
14374 echo "$as_me: failed program was:" >&5
14375 sed 's/^/| /' conftest.$ac_ext >&5
14376
14377 ac_lo=`expr '(' $ac_mid ')' + 1`
14378 fi
14379 rm -f conftest.$ac_objext conftest.$ac_ext
14380 done
14381 case $ac_lo in
14382 ?*) ac_cv_sizeof_short=$ac_lo;;
14383 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14384 See \`config.log' for more details." >&5
14385 echo "$as_me: error: cannot compute sizeof (short), 77
14386 See \`config.log' for more details." >&2;}
14387 { (exit 1); exit 1; }; } ;;
14388 esac
14389 else
14390 if test "$cross_compiling" = yes; then
14391 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14392 See \`config.log' for more details." >&5
14393 echo "$as_me: error: cannot run test program while cross compiling
14394 See \`config.log' for more details." >&2;}
14395 { (exit 1); exit 1; }; }
14396 else
14397 cat >conftest.$ac_ext <<_ACEOF
14398 #line $LINENO "configure"
14399 /* confdefs.h. */
14400 _ACEOF
14401 cat confdefs.h >>conftest.$ac_ext
14402 cat >>conftest.$ac_ext <<_ACEOF
14403 /* end confdefs.h. */
14404 $ac_includes_default
14405 long longval () { return (long) (sizeof (short)); }
14406 unsigned long ulongval () { return (long) (sizeof (short)); }
14407 #include <stdio.h>
14408 #include <stdlib.h>
14409 int
14410 main ()
14411 {
14412
14413 FILE *f = fopen ("conftest.val", "w");
14414 if (! f)
14415 exit (1);
14416 if (((long) (sizeof (short))) < 0)
14417 {
14418 long i = longval ();
14419 if (i != ((long) (sizeof (short))))
14420 exit (1);
14421 fprintf (f, "%ld\n", i);
14422 }
14423 else
14424 {
14425 unsigned long i = ulongval ();
14426 if (i != ((long) (sizeof (short))))
14427 exit (1);
14428 fprintf (f, "%lu\n", i);
14429 }
14430 exit (ferror (f) || fclose (f) != 0);
14431
14432 ;
14433 return 0;
14434 }
14435 _ACEOF
14436 rm -f conftest$ac_exeext
14437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14438 (eval $ac_link) 2>&5
14439 ac_status=$?
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14444 ac_status=$?
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; }; then
14447 ac_cv_sizeof_short=`cat conftest.val`
14448 else
14449 echo "$as_me: program exited with status $ac_status" >&5
14450 echo "$as_me: failed program was:" >&5
14451 sed 's/^/| /' conftest.$ac_ext >&5
14452
14453 ( exit $ac_status )
14454 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14455 See \`config.log' for more details." >&5
14456 echo "$as_me: error: cannot compute sizeof (short), 77
14457 See \`config.log' for more details." >&2;}
14458 { (exit 1); exit 1; }; }
14459 fi
14460 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14461 fi
14462 fi
14463 rm -f conftest.val
14464 else
14465 ac_cv_sizeof_short=0
14466 fi
14467 fi
14468 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14469 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14470 cat >>confdefs.h <<_ACEOF
14471 #define SIZEOF_SHORT $ac_cv_sizeof_short
14472 _ACEOF
14473
14474
14475 echo "$as_me:$LINENO: checking for void *" >&5
14476 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14477 if test "${ac_cv_type_void_p+set}" = set; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 else
14480 cat >conftest.$ac_ext <<_ACEOF
14481 #line $LINENO "configure"
14482 /* confdefs.h. */
14483 _ACEOF
14484 cat confdefs.h >>conftest.$ac_ext
14485 cat >>conftest.$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14487 $ac_includes_default
14488 int
14489 main ()
14490 {
14491 if ((void * *) 0)
14492 return 0;
14493 if (sizeof (void *))
14494 return 0;
14495 ;
14496 return 0;
14497 }
14498 _ACEOF
14499 rm -f conftest.$ac_objext
14500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14501 (eval $ac_compile) 2>&5
14502 ac_status=$?
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); } &&
14505 { ac_try='test -s conftest.$ac_objext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14508 ac_status=$?
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 ac_cv_type_void_p=yes
14512 else
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.$ac_ext >&5
14515
14516 ac_cv_type_void_p=no
14517 fi
14518 rm -f conftest.$ac_objext conftest.$ac_ext
14519 fi
14520 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14521 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14522
14523 echo "$as_me:$LINENO: checking size of void *" >&5
14524 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14525 if test "${ac_cv_sizeof_void_p+set}" = set; then
14526 echo $ECHO_N "(cached) $ECHO_C" >&6
14527 else
14528 if test "$ac_cv_type_void_p" = yes; then
14529 # The cast to unsigned long works around a bug in the HP C Compiler
14530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14532 # This bug is HP SR number 8606223364.
14533 if test "$cross_compiling" = yes; then
14534 # Depending upon the size, compute the lo and hi bounds.
14535 cat >conftest.$ac_ext <<_ACEOF
14536 #line $LINENO "configure"
14537 /* confdefs.h. */
14538 _ACEOF
14539 cat confdefs.h >>conftest.$ac_ext
14540 cat >>conftest.$ac_ext <<_ACEOF
14541 /* end confdefs.h. */
14542 $ac_includes_default
14543 int
14544 main ()
14545 {
14546 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14547 test_array [0] = 0
14548
14549 ;
14550 return 0;
14551 }
14552 _ACEOF
14553 rm -f conftest.$ac_objext
14554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14555 (eval $ac_compile) 2>&5
14556 ac_status=$?
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); } &&
14559 { ac_try='test -s conftest.$ac_objext'
14560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14561 (eval $ac_try) 2>&5
14562 ac_status=$?
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); }; }; then
14565 ac_lo=0 ac_mid=0
14566 while :; do
14567 cat >conftest.$ac_ext <<_ACEOF
14568 #line $LINENO "configure"
14569 /* confdefs.h. */
14570 _ACEOF
14571 cat confdefs.h >>conftest.$ac_ext
14572 cat >>conftest.$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14574 $ac_includes_default
14575 int
14576 main ()
14577 {
14578 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14579 test_array [0] = 0
14580
14581 ;
14582 return 0;
14583 }
14584 _ACEOF
14585 rm -f conftest.$ac_objext
14586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14587 (eval $ac_compile) 2>&5
14588 ac_status=$?
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); } &&
14591 { ac_try='test -s conftest.$ac_objext'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14594 ac_status=$?
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; }; then
14597 ac_hi=$ac_mid; break
14598 else
14599 echo "$as_me: failed program was:" >&5
14600 sed 's/^/| /' conftest.$ac_ext >&5
14601
14602 ac_lo=`expr $ac_mid + 1`
14603 if test $ac_lo -le $ac_mid; then
14604 ac_lo= ac_hi=
14605 break
14606 fi
14607 ac_mid=`expr 2 '*' $ac_mid + 1`
14608 fi
14609 rm -f conftest.$ac_objext conftest.$ac_ext
14610 done
14611 else
14612 echo "$as_me: failed program was:" >&5
14613 sed 's/^/| /' conftest.$ac_ext >&5
14614
14615 cat >conftest.$ac_ext <<_ACEOF
14616 #line $LINENO "configure"
14617 /* confdefs.h. */
14618 _ACEOF
14619 cat confdefs.h >>conftest.$ac_ext
14620 cat >>conftest.$ac_ext <<_ACEOF
14621 /* end confdefs.h. */
14622 $ac_includes_default
14623 int
14624 main ()
14625 {
14626 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14627 test_array [0] = 0
14628
14629 ;
14630 return 0;
14631 }
14632 _ACEOF
14633 rm -f conftest.$ac_objext
14634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14635 (eval $ac_compile) 2>&5
14636 ac_status=$?
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); } &&
14639 { ac_try='test -s conftest.$ac_objext'
14640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641 (eval $ac_try) 2>&5
14642 ac_status=$?
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; }; then
14645 ac_hi=-1 ac_mid=-1
14646 while :; do
14647 cat >conftest.$ac_ext <<_ACEOF
14648 #line $LINENO "configure"
14649 /* confdefs.h. */
14650 _ACEOF
14651 cat confdefs.h >>conftest.$ac_ext
14652 cat >>conftest.$ac_ext <<_ACEOF
14653 /* end confdefs.h. */
14654 $ac_includes_default
14655 int
14656 main ()
14657 {
14658 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14659 test_array [0] = 0
14660
14661 ;
14662 return 0;
14663 }
14664 _ACEOF
14665 rm -f conftest.$ac_objext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14667 (eval $ac_compile) 2>&5
14668 ac_status=$?
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); } &&
14671 { ac_try='test -s conftest.$ac_objext'
14672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673 (eval $ac_try) 2>&5
14674 ac_status=$?
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); }; }; then
14677 ac_lo=$ac_mid; break
14678 else
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.$ac_ext >&5
14681
14682 ac_hi=`expr '(' $ac_mid ')' - 1`
14683 if test $ac_mid -le $ac_hi; then
14684 ac_lo= ac_hi=
14685 break
14686 fi
14687 ac_mid=`expr 2 '*' $ac_mid`
14688 fi
14689 rm -f conftest.$ac_objext conftest.$ac_ext
14690 done
14691 else
14692 echo "$as_me: failed program was:" >&5
14693 sed 's/^/| /' conftest.$ac_ext >&5
14694
14695 ac_lo= ac_hi=
14696 fi
14697 rm -f conftest.$ac_objext conftest.$ac_ext
14698 fi
14699 rm -f conftest.$ac_objext conftest.$ac_ext
14700 # Binary search between lo and hi bounds.
14701 while test "x$ac_lo" != "x$ac_hi"; do
14702 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14703 cat >conftest.$ac_ext <<_ACEOF
14704 #line $LINENO "configure"
14705 /* confdefs.h. */
14706 _ACEOF
14707 cat confdefs.h >>conftest.$ac_ext
14708 cat >>conftest.$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14710 $ac_includes_default
14711 int
14712 main ()
14713 {
14714 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14715 test_array [0] = 0
14716
14717 ;
14718 return 0;
14719 }
14720 _ACEOF
14721 rm -f conftest.$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>&5
14724 ac_status=$?
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } &&
14727 { ac_try='test -s conftest.$ac_objext'
14728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14729 (eval $ac_try) 2>&5
14730 ac_status=$?
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); }; }; then
14733 ac_hi=$ac_mid
14734 else
14735 echo "$as_me: failed program was:" >&5
14736 sed 's/^/| /' conftest.$ac_ext >&5
14737
14738 ac_lo=`expr '(' $ac_mid ')' + 1`
14739 fi
14740 rm -f conftest.$ac_objext conftest.$ac_ext
14741 done
14742 case $ac_lo in
14743 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14744 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14745 See \`config.log' for more details." >&5
14746 echo "$as_me: error: cannot compute sizeof (void *), 77
14747 See \`config.log' for more details." >&2;}
14748 { (exit 1); exit 1; }; } ;;
14749 esac
14750 else
14751 if test "$cross_compiling" = yes; then
14752 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14753 See \`config.log' for more details." >&5
14754 echo "$as_me: error: cannot run test program while cross compiling
14755 See \`config.log' for more details." >&2;}
14756 { (exit 1); exit 1; }; }
14757 else
14758 cat >conftest.$ac_ext <<_ACEOF
14759 #line $LINENO "configure"
14760 /* confdefs.h. */
14761 _ACEOF
14762 cat confdefs.h >>conftest.$ac_ext
14763 cat >>conftest.$ac_ext <<_ACEOF
14764 /* end confdefs.h. */
14765 $ac_includes_default
14766 long longval () { return (long) (sizeof (void *)); }
14767 unsigned long ulongval () { return (long) (sizeof (void *)); }
14768 #include <stdio.h>
14769 #include <stdlib.h>
14770 int
14771 main ()
14772 {
14773
14774 FILE *f = fopen ("conftest.val", "w");
14775 if (! f)
14776 exit (1);
14777 if (((long) (sizeof (void *))) < 0)
14778 {
14779 long i = longval ();
14780 if (i != ((long) (sizeof (void *))))
14781 exit (1);
14782 fprintf (f, "%ld\n", i);
14783 }
14784 else
14785 {
14786 unsigned long i = ulongval ();
14787 if (i != ((long) (sizeof (void *))))
14788 exit (1);
14789 fprintf (f, "%lu\n", i);
14790 }
14791 exit (ferror (f) || fclose (f) != 0);
14792
14793 ;
14794 return 0;
14795 }
14796 _ACEOF
14797 rm -f conftest$ac_exeext
14798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14799 (eval $ac_link) 2>&5
14800 ac_status=$?
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14804 (eval $ac_try) 2>&5
14805 ac_status=$?
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); }; }; then
14808 ac_cv_sizeof_void_p=`cat conftest.val`
14809 else
14810 echo "$as_me: program exited with status $ac_status" >&5
14811 echo "$as_me: failed program was:" >&5
14812 sed 's/^/| /' conftest.$ac_ext >&5
14813
14814 ( exit $ac_status )
14815 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14816 See \`config.log' for more details." >&5
14817 echo "$as_me: error: cannot compute sizeof (void *), 77
14818 See \`config.log' for more details." >&2;}
14819 { (exit 1); exit 1; }; }
14820 fi
14821 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14822 fi
14823 fi
14824 rm -f conftest.val
14825 else
14826 ac_cv_sizeof_void_p=0
14827 fi
14828 fi
14829 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14830 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14831 cat >>confdefs.h <<_ACEOF
14832 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14833 _ACEOF
14834
14835
14836 echo "$as_me:$LINENO: checking for int" >&5
14837 echo $ECHO_N "checking for int... $ECHO_C" >&6
14838 if test "${ac_cv_type_int+set}" = set; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 else
14841 cat >conftest.$ac_ext <<_ACEOF
14842 #line $LINENO "configure"
14843 /* confdefs.h. */
14844 _ACEOF
14845 cat confdefs.h >>conftest.$ac_ext
14846 cat >>conftest.$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14848 $ac_includes_default
14849 int
14850 main ()
14851 {
14852 if ((int *) 0)
14853 return 0;
14854 if (sizeof (int))
14855 return 0;
14856 ;
14857 return 0;
14858 }
14859 _ACEOF
14860 rm -f conftest.$ac_objext
14861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14862 (eval $ac_compile) 2>&5
14863 ac_status=$?
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); } &&
14866 { ac_try='test -s conftest.$ac_objext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14869 ac_status=$?
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14872 ac_cv_type_int=yes
14873 else
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14876
14877 ac_cv_type_int=no
14878 fi
14879 rm -f conftest.$ac_objext conftest.$ac_ext
14880 fi
14881 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14882 echo "${ECHO_T}$ac_cv_type_int" >&6
14883
14884 echo "$as_me:$LINENO: checking size of int" >&5
14885 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14886 if test "${ac_cv_sizeof_int+set}" = set; then
14887 echo $ECHO_N "(cached) $ECHO_C" >&6
14888 else
14889 if test "$ac_cv_type_int" = yes; then
14890 # The cast to unsigned long works around a bug in the HP C Compiler
14891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14893 # This bug is HP SR number 8606223364.
14894 if test "$cross_compiling" = yes; then
14895 # Depending upon the size, compute the lo and hi bounds.
14896 cat >conftest.$ac_ext <<_ACEOF
14897 #line $LINENO "configure"
14898 /* confdefs.h. */
14899 _ACEOF
14900 cat confdefs.h >>conftest.$ac_ext
14901 cat >>conftest.$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14903 $ac_includes_default
14904 int
14905 main ()
14906 {
14907 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14908 test_array [0] = 0
14909
14910 ;
14911 return 0;
14912 }
14913 _ACEOF
14914 rm -f conftest.$ac_objext
14915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14916 (eval $ac_compile) 2>&5
14917 ac_status=$?
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); } &&
14920 { ac_try='test -s conftest.$ac_objext'
14921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14922 (eval $ac_try) 2>&5
14923 ac_status=$?
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }; }; then
14926 ac_lo=0 ac_mid=0
14927 while :; do
14928 cat >conftest.$ac_ext <<_ACEOF
14929 #line $LINENO "configure"
14930 /* confdefs.h. */
14931 _ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14935 $ac_includes_default
14936 int
14937 main ()
14938 {
14939 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14940 test_array [0] = 0
14941
14942 ;
14943 return 0;
14944 }
14945 _ACEOF
14946 rm -f conftest.$ac_objext
14947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14948 (eval $ac_compile) 2>&5
14949 ac_status=$?
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); } &&
14952 { ac_try='test -s conftest.$ac_objext'
14953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14954 (eval $ac_try) 2>&5
14955 ac_status=$?
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); }; }; then
14958 ac_hi=$ac_mid; break
14959 else
14960 echo "$as_me: failed program was:" >&5
14961 sed 's/^/| /' conftest.$ac_ext >&5
14962
14963 ac_lo=`expr $ac_mid + 1`
14964 if test $ac_lo -le $ac_mid; then
14965 ac_lo= ac_hi=
14966 break
14967 fi
14968 ac_mid=`expr 2 '*' $ac_mid + 1`
14969 fi
14970 rm -f conftest.$ac_objext conftest.$ac_ext
14971 done
14972 else
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14975
14976 cat >conftest.$ac_ext <<_ACEOF
14977 #line $LINENO "configure"
14978 /* confdefs.h. */
14979 _ACEOF
14980 cat confdefs.h >>conftest.$ac_ext
14981 cat >>conftest.$ac_ext <<_ACEOF
14982 /* end confdefs.h. */
14983 $ac_includes_default
14984 int
14985 main ()
14986 {
14987 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14988 test_array [0] = 0
14989
14990 ;
14991 return 0;
14992 }
14993 _ACEOF
14994 rm -f conftest.$ac_objext
14995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14996 (eval $ac_compile) 2>&5
14997 ac_status=$?
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); } &&
15000 { ac_try='test -s conftest.$ac_objext'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; }; then
15006 ac_hi=-1 ac_mid=-1
15007 while :; do
15008 cat >conftest.$ac_ext <<_ACEOF
15009 #line $LINENO "configure"
15010 /* confdefs.h. */
15011 _ACEOF
15012 cat confdefs.h >>conftest.$ac_ext
15013 cat >>conftest.$ac_ext <<_ACEOF
15014 /* end confdefs.h. */
15015 $ac_includes_default
15016 int
15017 main ()
15018 {
15019 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15020 test_array [0] = 0
15021
15022 ;
15023 return 0;
15024 }
15025 _ACEOF
15026 rm -f conftest.$ac_objext
15027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15028 (eval $ac_compile) 2>&5
15029 ac_status=$?
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); } &&
15032 { ac_try='test -s conftest.$ac_objext'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15035 ac_status=$?
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; }; then
15038 ac_lo=$ac_mid; break
15039 else
15040 echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.$ac_ext >&5
15042
15043 ac_hi=`expr '(' $ac_mid ')' - 1`
15044 if test $ac_mid -le $ac_hi; then
15045 ac_lo= ac_hi=
15046 break
15047 fi
15048 ac_mid=`expr 2 '*' $ac_mid`
15049 fi
15050 rm -f conftest.$ac_objext conftest.$ac_ext
15051 done
15052 else
15053 echo "$as_me: failed program was:" >&5
15054 sed 's/^/| /' conftest.$ac_ext >&5
15055
15056 ac_lo= ac_hi=
15057 fi
15058 rm -f conftest.$ac_objext conftest.$ac_ext
15059 fi
15060 rm -f conftest.$ac_objext conftest.$ac_ext
15061 # Binary search between lo and hi bounds.
15062 while test "x$ac_lo" != "x$ac_hi"; do
15063 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15064 cat >conftest.$ac_ext <<_ACEOF
15065 #line $LINENO "configure"
15066 /* confdefs.h. */
15067 _ACEOF
15068 cat confdefs.h >>conftest.$ac_ext
15069 cat >>conftest.$ac_ext <<_ACEOF
15070 /* end confdefs.h. */
15071 $ac_includes_default
15072 int
15073 main ()
15074 {
15075 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15076 test_array [0] = 0
15077
15078 ;
15079 return 0;
15080 }
15081 _ACEOF
15082 rm -f conftest.$ac_objext
15083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15084 (eval $ac_compile) 2>&5
15085 ac_status=$?
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); } &&
15088 { ac_try='test -s conftest.$ac_objext'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15091 ac_status=$?
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; }; then
15094 ac_hi=$ac_mid
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15098
15099 ac_lo=`expr '(' $ac_mid ')' + 1`
15100 fi
15101 rm -f conftest.$ac_objext conftest.$ac_ext
15102 done
15103 case $ac_lo in
15104 ?*) ac_cv_sizeof_int=$ac_lo;;
15105 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15106 See \`config.log' for more details." >&5
15107 echo "$as_me: error: cannot compute sizeof (int), 77
15108 See \`config.log' for more details." >&2;}
15109 { (exit 1); exit 1; }; } ;;
15110 esac
15111 else
15112 if test "$cross_compiling" = yes; then
15113 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15114 See \`config.log' for more details." >&5
15115 echo "$as_me: error: cannot run test program while cross compiling
15116 See \`config.log' for more details." >&2;}
15117 { (exit 1); exit 1; }; }
15118 else
15119 cat >conftest.$ac_ext <<_ACEOF
15120 #line $LINENO "configure"
15121 /* confdefs.h. */
15122 _ACEOF
15123 cat confdefs.h >>conftest.$ac_ext
15124 cat >>conftest.$ac_ext <<_ACEOF
15125 /* end confdefs.h. */
15126 $ac_includes_default
15127 long longval () { return (long) (sizeof (int)); }
15128 unsigned long ulongval () { return (long) (sizeof (int)); }
15129 #include <stdio.h>
15130 #include <stdlib.h>
15131 int
15132 main ()
15133 {
15134
15135 FILE *f = fopen ("conftest.val", "w");
15136 if (! f)
15137 exit (1);
15138 if (((long) (sizeof (int))) < 0)
15139 {
15140 long i = longval ();
15141 if (i != ((long) (sizeof (int))))
15142 exit (1);
15143 fprintf (f, "%ld\n", i);
15144 }
15145 else
15146 {
15147 unsigned long i = ulongval ();
15148 if (i != ((long) (sizeof (int))))
15149 exit (1);
15150 fprintf (f, "%lu\n", i);
15151 }
15152 exit (ferror (f) || fclose (f) != 0);
15153
15154 ;
15155 return 0;
15156 }
15157 _ACEOF
15158 rm -f conftest$ac_exeext
15159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15160 (eval $ac_link) 2>&5
15161 ac_status=$?
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15165 (eval $ac_try) 2>&5
15166 ac_status=$?
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); }; }; then
15169 ac_cv_sizeof_int=`cat conftest.val`
15170 else
15171 echo "$as_me: program exited with status $ac_status" >&5
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.$ac_ext >&5
15174
15175 ( exit $ac_status )
15176 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15177 See \`config.log' for more details." >&5
15178 echo "$as_me: error: cannot compute sizeof (int), 77
15179 See \`config.log' for more details." >&2;}
15180 { (exit 1); exit 1; }; }
15181 fi
15182 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15183 fi
15184 fi
15185 rm -f conftest.val
15186 else
15187 ac_cv_sizeof_int=0
15188 fi
15189 fi
15190 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15191 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15192 cat >>confdefs.h <<_ACEOF
15193 #define SIZEOF_INT $ac_cv_sizeof_int
15194 _ACEOF
15195
15196
15197 echo "$as_me:$LINENO: checking for long" >&5
15198 echo $ECHO_N "checking for long... $ECHO_C" >&6
15199 if test "${ac_cv_type_long+set}" = set; then
15200 echo $ECHO_N "(cached) $ECHO_C" >&6
15201 else
15202 cat >conftest.$ac_ext <<_ACEOF
15203 #line $LINENO "configure"
15204 /* confdefs.h. */
15205 _ACEOF
15206 cat confdefs.h >>conftest.$ac_ext
15207 cat >>conftest.$ac_ext <<_ACEOF
15208 /* end confdefs.h. */
15209 $ac_includes_default
15210 int
15211 main ()
15212 {
15213 if ((long *) 0)
15214 return 0;
15215 if (sizeof (long))
15216 return 0;
15217 ;
15218 return 0;
15219 }
15220 _ACEOF
15221 rm -f conftest.$ac_objext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15223 (eval $ac_compile) 2>&5
15224 ac_status=$?
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); } &&
15227 { ac_try='test -s conftest.$ac_objext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15230 ac_status=$?
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15233 ac_cv_type_long=yes
15234 else
15235 echo "$as_me: failed program was:" >&5
15236 sed 's/^/| /' conftest.$ac_ext >&5
15237
15238 ac_cv_type_long=no
15239 fi
15240 rm -f conftest.$ac_objext conftest.$ac_ext
15241 fi
15242 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15243 echo "${ECHO_T}$ac_cv_type_long" >&6
15244
15245 echo "$as_me:$LINENO: checking size of long" >&5
15246 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15247 if test "${ac_cv_sizeof_long+set}" = set; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15249 else
15250 if test "$ac_cv_type_long" = yes; then
15251 # The cast to unsigned long works around a bug in the HP C Compiler
15252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15254 # This bug is HP SR number 8606223364.
15255 if test "$cross_compiling" = yes; then
15256 # Depending upon the size, compute the lo and hi bounds.
15257 cat >conftest.$ac_ext <<_ACEOF
15258 #line $LINENO "configure"
15259 /* confdefs.h. */
15260 _ACEOF
15261 cat confdefs.h >>conftest.$ac_ext
15262 cat >>conftest.$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15264 $ac_includes_default
15265 int
15266 main ()
15267 {
15268 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15269 test_array [0] = 0
15270
15271 ;
15272 return 0;
15273 }
15274 _ACEOF
15275 rm -f conftest.$ac_objext
15276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15277 (eval $ac_compile) 2>&5
15278 ac_status=$?
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } &&
15281 { ac_try='test -s conftest.$ac_objext'
15282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283 (eval $ac_try) 2>&5
15284 ac_status=$?
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }; }; then
15287 ac_lo=0 ac_mid=0
15288 while :; do
15289 cat >conftest.$ac_ext <<_ACEOF
15290 #line $LINENO "configure"
15291 /* confdefs.h. */
15292 _ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15296 $ac_includes_default
15297 int
15298 main ()
15299 {
15300 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15301 test_array [0] = 0
15302
15303 ;
15304 return 0;
15305 }
15306 _ACEOF
15307 rm -f conftest.$ac_objext
15308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15309 (eval $ac_compile) 2>&5
15310 ac_status=$?
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); } &&
15313 { ac_try='test -s conftest.$ac_objext'
15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15316 ac_status=$?
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); }; }; then
15319 ac_hi=$ac_mid; break
15320 else
15321 echo "$as_me: failed program was:" >&5
15322 sed 's/^/| /' conftest.$ac_ext >&5
15323
15324 ac_lo=`expr $ac_mid + 1`
15325 if test $ac_lo -le $ac_mid; then
15326 ac_lo= ac_hi=
15327 break
15328 fi
15329 ac_mid=`expr 2 '*' $ac_mid + 1`
15330 fi
15331 rm -f conftest.$ac_objext conftest.$ac_ext
15332 done
15333 else
15334 echo "$as_me: failed program was:" >&5
15335 sed 's/^/| /' conftest.$ac_ext >&5
15336
15337 cat >conftest.$ac_ext <<_ACEOF
15338 #line $LINENO "configure"
15339 /* confdefs.h. */
15340 _ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15344 $ac_includes_default
15345 int
15346 main ()
15347 {
15348 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15349 test_array [0] = 0
15350
15351 ;
15352 return 0;
15353 }
15354 _ACEOF
15355 rm -f conftest.$ac_objext
15356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15357 (eval $ac_compile) 2>&5
15358 ac_status=$?
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); } &&
15361 { ac_try='test -s conftest.$ac_objext'
15362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363 (eval $ac_try) 2>&5
15364 ac_status=$?
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }; }; then
15367 ac_hi=-1 ac_mid=-1
15368 while :; do
15369 cat >conftest.$ac_ext <<_ACEOF
15370 #line $LINENO "configure"
15371 /* confdefs.h. */
15372 _ACEOF
15373 cat confdefs.h >>conftest.$ac_ext
15374 cat >>conftest.$ac_ext <<_ACEOF
15375 /* end confdefs.h. */
15376 $ac_includes_default
15377 int
15378 main ()
15379 {
15380 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15381 test_array [0] = 0
15382
15383 ;
15384 return 0;
15385 }
15386 _ACEOF
15387 rm -f conftest.$ac_objext
15388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15389 (eval $ac_compile) 2>&5
15390 ac_status=$?
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try='test -s conftest.$ac_objext'
15394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15395 (eval $ac_try) 2>&5
15396 ac_status=$?
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); }; }; then
15399 ac_lo=$ac_mid; break
15400 else
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.$ac_ext >&5
15403
15404 ac_hi=`expr '(' $ac_mid ')' - 1`
15405 if test $ac_mid -le $ac_hi; then
15406 ac_lo= ac_hi=
15407 break
15408 fi
15409 ac_mid=`expr 2 '*' $ac_mid`
15410 fi
15411 rm -f conftest.$ac_objext conftest.$ac_ext
15412 done
15413 else
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.$ac_ext >&5
15416
15417 ac_lo= ac_hi=
15418 fi
15419 rm -f conftest.$ac_objext conftest.$ac_ext
15420 fi
15421 rm -f conftest.$ac_objext conftest.$ac_ext
15422 # Binary search between lo and hi bounds.
15423 while test "x$ac_lo" != "x$ac_hi"; do
15424 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15425 cat >conftest.$ac_ext <<_ACEOF
15426 #line $LINENO "configure"
15427 /* confdefs.h. */
15428 _ACEOF
15429 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432 $ac_includes_default
15433 int
15434 main ()
15435 {
15436 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15437 test_array [0] = 0
15438
15439 ;
15440 return 0;
15441 }
15442 _ACEOF
15443 rm -f conftest.$ac_objext
15444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15445 (eval $ac_compile) 2>&5
15446 ac_status=$?
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); } &&
15449 { ac_try='test -s conftest.$ac_objext'
15450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15451 (eval $ac_try) 2>&5
15452 ac_status=$?
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); }; }; then
15455 ac_hi=$ac_mid
15456 else
15457 echo "$as_me: failed program was:" >&5
15458 sed 's/^/| /' conftest.$ac_ext >&5
15459
15460 ac_lo=`expr '(' $ac_mid ')' + 1`
15461 fi
15462 rm -f conftest.$ac_objext conftest.$ac_ext
15463 done
15464 case $ac_lo in
15465 ?*) ac_cv_sizeof_long=$ac_lo;;
15466 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15467 See \`config.log' for more details." >&5
15468 echo "$as_me: error: cannot compute sizeof (long), 77
15469 See \`config.log' for more details." >&2;}
15470 { (exit 1); exit 1; }; } ;;
15471 esac
15472 else
15473 if test "$cross_compiling" = yes; then
15474 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15475 See \`config.log' for more details." >&5
15476 echo "$as_me: error: cannot run test program while cross compiling
15477 See \`config.log' for more details." >&2;}
15478 { (exit 1); exit 1; }; }
15479 else
15480 cat >conftest.$ac_ext <<_ACEOF
15481 #line $LINENO "configure"
15482 /* confdefs.h. */
15483 _ACEOF
15484 cat confdefs.h >>conftest.$ac_ext
15485 cat >>conftest.$ac_ext <<_ACEOF
15486 /* end confdefs.h. */
15487 $ac_includes_default
15488 long longval () { return (long) (sizeof (long)); }
15489 unsigned long ulongval () { return (long) (sizeof (long)); }
15490 #include <stdio.h>
15491 #include <stdlib.h>
15492 int
15493 main ()
15494 {
15495
15496 FILE *f = fopen ("conftest.val", "w");
15497 if (! f)
15498 exit (1);
15499 if (((long) (sizeof (long))) < 0)
15500 {
15501 long i = longval ();
15502 if (i != ((long) (sizeof (long))))
15503 exit (1);
15504 fprintf (f, "%ld\n", i);
15505 }
15506 else
15507 {
15508 unsigned long i = ulongval ();
15509 if (i != ((long) (sizeof (long))))
15510 exit (1);
15511 fprintf (f, "%lu\n", i);
15512 }
15513 exit (ferror (f) || fclose (f) != 0);
15514
15515 ;
15516 return 0;
15517 }
15518 _ACEOF
15519 rm -f conftest$ac_exeext
15520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15521 (eval $ac_link) 2>&5
15522 ac_status=$?
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15526 (eval $ac_try) 2>&5
15527 ac_status=$?
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); }; }; then
15530 ac_cv_sizeof_long=`cat conftest.val`
15531 else
15532 echo "$as_me: program exited with status $ac_status" >&5
15533 echo "$as_me: failed program was:" >&5
15534 sed 's/^/| /' conftest.$ac_ext >&5
15535
15536 ( exit $ac_status )
15537 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15538 See \`config.log' for more details." >&5
15539 echo "$as_me: error: cannot compute sizeof (long), 77
15540 See \`config.log' for more details." >&2;}
15541 { (exit 1); exit 1; }; }
15542 fi
15543 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15544 fi
15545 fi
15546 rm -f conftest.val
15547 else
15548 ac_cv_sizeof_long=0
15549 fi
15550 fi
15551 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15552 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15553 cat >>confdefs.h <<_ACEOF
15554 #define SIZEOF_LONG $ac_cv_sizeof_long
15555 _ACEOF
15556
15557
15558
15559 case "${host}" in
15560 arm-*-linux* )
15561 echo "$as_me:$LINENO: checking for long long" >&5
15562 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15563 if test "${ac_cv_type_long_long+set}" = set; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15565 else
15566 cat >conftest.$ac_ext <<_ACEOF
15567 #line $LINENO "configure"
15568 /* confdefs.h. */
15569 _ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h. */
15573 $ac_includes_default
15574 int
15575 main ()
15576 {
15577 if ((long long *) 0)
15578 return 0;
15579 if (sizeof (long long))
15580 return 0;
15581 ;
15582 return 0;
15583 }
15584 _ACEOF
15585 rm -f conftest.$ac_objext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>&5
15588 ac_status=$?
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } &&
15591 { ac_try='test -s conftest.$ac_objext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15594 ac_status=$?
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15597 ac_cv_type_long_long=yes
15598 else
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.$ac_ext >&5
15601
15602 ac_cv_type_long_long=no
15603 fi
15604 rm -f conftest.$ac_objext conftest.$ac_ext
15605 fi
15606 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15607 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15608
15609 echo "$as_me:$LINENO: checking size of long long" >&5
15610 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15611 if test "${ac_cv_sizeof_long_long+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15613 else
15614 if test "$ac_cv_type_long_long" = yes; then
15615 # The cast to unsigned long works around a bug in the HP C Compiler
15616 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15617 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15618 # This bug is HP SR number 8606223364.
15619 if test "$cross_compiling" = yes; then
15620 # Depending upon the size, compute the lo and hi bounds.
15621 cat >conftest.$ac_ext <<_ACEOF
15622 #line $LINENO "configure"
15623 /* confdefs.h. */
15624 _ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15628 $ac_includes_default
15629 int
15630 main ()
15631 {
15632 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15633 test_array [0] = 0
15634
15635 ;
15636 return 0;
15637 }
15638 _ACEOF
15639 rm -f conftest.$ac_objext
15640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15641 (eval $ac_compile) 2>&5
15642 ac_status=$?
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); } &&
15645 { ac_try='test -s conftest.$ac_objext'
15646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15647 (eval $ac_try) 2>&5
15648 ac_status=$?
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; }; then
15651 ac_lo=0 ac_mid=0
15652 while :; do
15653 cat >conftest.$ac_ext <<_ACEOF
15654 #line $LINENO "configure"
15655 /* confdefs.h. */
15656 _ACEOF
15657 cat confdefs.h >>conftest.$ac_ext
15658 cat >>conftest.$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15660 $ac_includes_default
15661 int
15662 main ()
15663 {
15664 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15665 test_array [0] = 0
15666
15667 ;
15668 return 0;
15669 }
15670 _ACEOF
15671 rm -f conftest.$ac_objext
15672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15673 (eval $ac_compile) 2>&5
15674 ac_status=$?
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } &&
15677 { ac_try='test -s conftest.$ac_objext'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15680 ac_status=$?
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; }; then
15683 ac_hi=$ac_mid; break
15684 else
15685 echo "$as_me: failed program was:" >&5
15686 sed 's/^/| /' conftest.$ac_ext >&5
15687
15688 ac_lo=`expr $ac_mid + 1`
15689 if test $ac_lo -le $ac_mid; then
15690 ac_lo= ac_hi=
15691 break
15692 fi
15693 ac_mid=`expr 2 '*' $ac_mid + 1`
15694 fi
15695 rm -f conftest.$ac_objext conftest.$ac_ext
15696 done
15697 else
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.$ac_ext >&5
15700
15701 cat >conftest.$ac_ext <<_ACEOF
15702 #line $LINENO "configure"
15703 /* confdefs.h. */
15704 _ACEOF
15705 cat confdefs.h >>conftest.$ac_ext
15706 cat >>conftest.$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15708 $ac_includes_default
15709 int
15710 main ()
15711 {
15712 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15713 test_array [0] = 0
15714
15715 ;
15716 return 0;
15717 }
15718 _ACEOF
15719 rm -f conftest.$ac_objext
15720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15721 (eval $ac_compile) 2>&5
15722 ac_status=$?
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); } &&
15725 { ac_try='test -s conftest.$ac_objext'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15728 ac_status=$?
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; }; then
15731 ac_hi=-1 ac_mid=-1
15732 while :; do
15733 cat >conftest.$ac_ext <<_ACEOF
15734 #line $LINENO "configure"
15735 /* confdefs.h. */
15736 _ACEOF
15737 cat confdefs.h >>conftest.$ac_ext
15738 cat >>conftest.$ac_ext <<_ACEOF
15739 /* end confdefs.h. */
15740 $ac_includes_default
15741 int
15742 main ()
15743 {
15744 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15745 test_array [0] = 0
15746
15747 ;
15748 return 0;
15749 }
15750 _ACEOF
15751 rm -f conftest.$ac_objext
15752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15753 (eval $ac_compile) 2>&5
15754 ac_status=$?
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try='test -s conftest.$ac_objext'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15760 ac_status=$?
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; }; then
15763 ac_lo=$ac_mid; break
15764 else
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.$ac_ext >&5
15767
15768 ac_hi=`expr '(' $ac_mid ')' - 1`
15769 if test $ac_mid -le $ac_hi; then
15770 ac_lo= ac_hi=
15771 break
15772 fi
15773 ac_mid=`expr 2 '*' $ac_mid`
15774 fi
15775 rm -f conftest.$ac_objext conftest.$ac_ext
15776 done
15777 else
15778 echo "$as_me: failed program was:" >&5
15779 sed 's/^/| /' conftest.$ac_ext >&5
15780
15781 ac_lo= ac_hi=
15782 fi
15783 rm -f conftest.$ac_objext conftest.$ac_ext
15784 fi
15785 rm -f conftest.$ac_objext conftest.$ac_ext
15786 # Binary search between lo and hi bounds.
15787 while test "x$ac_lo" != "x$ac_hi"; do
15788 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15789 cat >conftest.$ac_ext <<_ACEOF
15790 #line $LINENO "configure"
15791 /* confdefs.h. */
15792 _ACEOF
15793 cat confdefs.h >>conftest.$ac_ext
15794 cat >>conftest.$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15796 $ac_includes_default
15797 int
15798 main ()
15799 {
15800 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15801 test_array [0] = 0
15802
15803 ;
15804 return 0;
15805 }
15806 _ACEOF
15807 rm -f conftest.$ac_objext
15808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15809 (eval $ac_compile) 2>&5
15810 ac_status=$?
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } &&
15813 { ac_try='test -s conftest.$ac_objext'
15814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15815 (eval $ac_try) 2>&5
15816 ac_status=$?
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); }; }; then
15819 ac_hi=$ac_mid
15820 else
15821 echo "$as_me: failed program was:" >&5
15822 sed 's/^/| /' conftest.$ac_ext >&5
15823
15824 ac_lo=`expr '(' $ac_mid ')' + 1`
15825 fi
15826 rm -f conftest.$ac_objext conftest.$ac_ext
15827 done
15828 case $ac_lo in
15829 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15830 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15831 See \`config.log' for more details." >&5
15832 echo "$as_me: error: cannot compute sizeof (long long), 77
15833 See \`config.log' for more details." >&2;}
15834 { (exit 1); exit 1; }; } ;;
15835 esac
15836 else
15837 if test "$cross_compiling" = yes; then
15838 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15839 See \`config.log' for more details." >&5
15840 echo "$as_me: error: cannot run test program while cross compiling
15841 See \`config.log' for more details." >&2;}
15842 { (exit 1); exit 1; }; }
15843 else
15844 cat >conftest.$ac_ext <<_ACEOF
15845 #line $LINENO "configure"
15846 /* confdefs.h. */
15847 _ACEOF
15848 cat confdefs.h >>conftest.$ac_ext
15849 cat >>conftest.$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15851 $ac_includes_default
15852 long longval () { return (long) (sizeof (long long)); }
15853 unsigned long ulongval () { return (long) (sizeof (long long)); }
15854 #include <stdio.h>
15855 #include <stdlib.h>
15856 int
15857 main ()
15858 {
15859
15860 FILE *f = fopen ("conftest.val", "w");
15861 if (! f)
15862 exit (1);
15863 if (((long) (sizeof (long long))) < 0)
15864 {
15865 long i = longval ();
15866 if (i != ((long) (sizeof (long long))))
15867 exit (1);
15868 fprintf (f, "%ld\n", i);
15869 }
15870 else
15871 {
15872 unsigned long i = ulongval ();
15873 if (i != ((long) (sizeof (long long))))
15874 exit (1);
15875 fprintf (f, "%lu\n", i);
15876 }
15877 exit (ferror (f) || fclose (f) != 0);
15878
15879 ;
15880 return 0;
15881 }
15882 _ACEOF
15883 rm -f conftest$ac_exeext
15884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15885 (eval $ac_link) 2>&5
15886 ac_status=$?
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890 (eval $ac_try) 2>&5
15891 ac_status=$?
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; }; then
15894 ac_cv_sizeof_long_long=`cat conftest.val`
15895 else
15896 echo "$as_me: program exited with status $ac_status" >&5
15897 echo "$as_me: failed program was:" >&5
15898 sed 's/^/| /' conftest.$ac_ext >&5
15899
15900 ( exit $ac_status )
15901 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15902 See \`config.log' for more details." >&5
15903 echo "$as_me: error: cannot compute sizeof (long long), 77
15904 See \`config.log' for more details." >&2;}
15905 { (exit 1); exit 1; }; }
15906 fi
15907 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15908 fi
15909 fi
15910 rm -f conftest.val
15911 else
15912 ac_cv_sizeof_long_long=0
15913 fi
15914 fi
15915 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15916 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15917 cat >>confdefs.h <<_ACEOF
15918 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15919 _ACEOF
15920
15921
15922 ;;
15923 *-hp-hpux* )
15924 echo "$as_me:$LINENO: checking for long long" >&5
15925 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15926 if test "${ac_cv_type_long_long+set}" = set; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15928 else
15929 cat >conftest.$ac_ext <<_ACEOF
15930 #line $LINENO "configure"
15931 /* confdefs.h. */
15932 _ACEOF
15933 cat confdefs.h >>conftest.$ac_ext
15934 cat >>conftest.$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15936 $ac_includes_default
15937 int
15938 main ()
15939 {
15940 if ((long long *) 0)
15941 return 0;
15942 if (sizeof (long long))
15943 return 0;
15944 ;
15945 return 0;
15946 }
15947 _ACEOF
15948 rm -f conftest.$ac_objext
15949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15950 (eval $ac_compile) 2>&5
15951 ac_status=$?
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try='test -s conftest.$ac_objext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15957 ac_status=$?
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15960 ac_cv_type_long_long=yes
15961 else
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.$ac_ext >&5
15964
15965 ac_cv_type_long_long=no
15966 fi
15967 rm -f conftest.$ac_objext conftest.$ac_ext
15968 fi
15969 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15970 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15971
15972 echo "$as_me:$LINENO: checking size of long long" >&5
15973 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15974 if test "${ac_cv_sizeof_long_long+set}" = set; then
15975 echo $ECHO_N "(cached) $ECHO_C" >&6
15976 else
15977 if test "$ac_cv_type_long_long" = yes; then
15978 # The cast to unsigned long works around a bug in the HP C Compiler
15979 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15980 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15981 # This bug is HP SR number 8606223364.
15982 if test "$cross_compiling" = yes; then
15983 # Depending upon the size, compute the lo and hi bounds.
15984 cat >conftest.$ac_ext <<_ACEOF
15985 #line $LINENO "configure"
15986 /* confdefs.h. */
15987 _ACEOF
15988 cat confdefs.h >>conftest.$ac_ext
15989 cat >>conftest.$ac_ext <<_ACEOF
15990 /* end confdefs.h. */
15991 $ac_includes_default
15992 int
15993 main ()
15994 {
15995 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15996 test_array [0] = 0
15997
15998 ;
15999 return 0;
16000 }
16001 _ACEOF
16002 rm -f conftest.$ac_objext
16003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16004 (eval $ac_compile) 2>&5
16005 ac_status=$?
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); } &&
16008 { ac_try='test -s conftest.$ac_objext'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16011 ac_status=$?
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; }; then
16014 ac_lo=0 ac_mid=0
16015 while :; do
16016 cat >conftest.$ac_ext <<_ACEOF
16017 #line $LINENO "configure"
16018 /* confdefs.h. */
16019 _ACEOF
16020 cat confdefs.h >>conftest.$ac_ext
16021 cat >>conftest.$ac_ext <<_ACEOF
16022 /* end confdefs.h. */
16023 $ac_includes_default
16024 int
16025 main ()
16026 {
16027 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16028 test_array [0] = 0
16029
16030 ;
16031 return 0;
16032 }
16033 _ACEOF
16034 rm -f conftest.$ac_objext
16035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16036 (eval $ac_compile) 2>&5
16037 ac_status=$?
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } &&
16040 { ac_try='test -s conftest.$ac_objext'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16043 ac_status=$?
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; }; then
16046 ac_hi=$ac_mid; break
16047 else
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.$ac_ext >&5
16050
16051 ac_lo=`expr $ac_mid + 1`
16052 if test $ac_lo -le $ac_mid; then
16053 ac_lo= ac_hi=
16054 break
16055 fi
16056 ac_mid=`expr 2 '*' $ac_mid + 1`
16057 fi
16058 rm -f conftest.$ac_objext conftest.$ac_ext
16059 done
16060 else
16061 echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.$ac_ext >&5
16063
16064 cat >conftest.$ac_ext <<_ACEOF
16065 #line $LINENO "configure"
16066 /* confdefs.h. */
16067 _ACEOF
16068 cat confdefs.h >>conftest.$ac_ext
16069 cat >>conftest.$ac_ext <<_ACEOF
16070 /* end confdefs.h. */
16071 $ac_includes_default
16072 int
16073 main ()
16074 {
16075 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16076 test_array [0] = 0
16077
16078 ;
16079 return 0;
16080 }
16081 _ACEOF
16082 rm -f conftest.$ac_objext
16083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16084 (eval $ac_compile) 2>&5
16085 ac_status=$?
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); } &&
16088 { ac_try='test -s conftest.$ac_objext'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16091 ac_status=$?
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; }; then
16094 ac_hi=-1 ac_mid=-1
16095 while :; do
16096 cat >conftest.$ac_ext <<_ACEOF
16097 #line $LINENO "configure"
16098 /* confdefs.h. */
16099 _ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103 $ac_includes_default
16104 int
16105 main ()
16106 {
16107 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16108 test_array [0] = 0
16109
16110 ;
16111 return 0;
16112 }
16113 _ACEOF
16114 rm -f conftest.$ac_objext
16115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16116 (eval $ac_compile) 2>&5
16117 ac_status=$?
16118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119 (exit $ac_status); } &&
16120 { ac_try='test -s conftest.$ac_objext'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16123 ac_status=$?
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; }; then
16126 ac_lo=$ac_mid; break
16127 else
16128 echo "$as_me: failed program was:" >&5
16129 sed 's/^/| /' conftest.$ac_ext >&5
16130
16131 ac_hi=`expr '(' $ac_mid ')' - 1`
16132 if test $ac_mid -le $ac_hi; then
16133 ac_lo= ac_hi=
16134 break
16135 fi
16136 ac_mid=`expr 2 '*' $ac_mid`
16137 fi
16138 rm -f conftest.$ac_objext conftest.$ac_ext
16139 done
16140 else
16141 echo "$as_me: failed program was:" >&5
16142 sed 's/^/| /' conftest.$ac_ext >&5
16143
16144 ac_lo= ac_hi=
16145 fi
16146 rm -f conftest.$ac_objext conftest.$ac_ext
16147 fi
16148 rm -f conftest.$ac_objext conftest.$ac_ext
16149 # Binary search between lo and hi bounds.
16150 while test "x$ac_lo" != "x$ac_hi"; do
16151 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16152 cat >conftest.$ac_ext <<_ACEOF
16153 #line $LINENO "configure"
16154 /* confdefs.h. */
16155 _ACEOF
16156 cat confdefs.h >>conftest.$ac_ext
16157 cat >>conftest.$ac_ext <<_ACEOF
16158 /* end confdefs.h. */
16159 $ac_includes_default
16160 int
16161 main ()
16162 {
16163 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16164 test_array [0] = 0
16165
16166 ;
16167 return 0;
16168 }
16169 _ACEOF
16170 rm -f conftest.$ac_objext
16171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16172 (eval $ac_compile) 2>&5
16173 ac_status=$?
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } &&
16176 { ac_try='test -s conftest.$ac_objext'
16177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16178 (eval $ac_try) 2>&5
16179 ac_status=$?
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); }; }; then
16182 ac_hi=$ac_mid
16183 else
16184 echo "$as_me: failed program was:" >&5
16185 sed 's/^/| /' conftest.$ac_ext >&5
16186
16187 ac_lo=`expr '(' $ac_mid ')' + 1`
16188 fi
16189 rm -f conftest.$ac_objext conftest.$ac_ext
16190 done
16191 case $ac_lo in
16192 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16193 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16194 See \`config.log' for more details." >&5
16195 echo "$as_me: error: cannot compute sizeof (long long), 77
16196 See \`config.log' for more details." >&2;}
16197 { (exit 1); exit 1; }; } ;;
16198 esac
16199 else
16200 if test "$cross_compiling" = yes; then
16201 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16202 See \`config.log' for more details." >&5
16203 echo "$as_me: error: cannot run test program while cross compiling
16204 See \`config.log' for more details." >&2;}
16205 { (exit 1); exit 1; }; }
16206 else
16207 cat >conftest.$ac_ext <<_ACEOF
16208 #line $LINENO "configure"
16209 /* confdefs.h. */
16210 _ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16214 $ac_includes_default
16215 long longval () { return (long) (sizeof (long long)); }
16216 unsigned long ulongval () { return (long) (sizeof (long long)); }
16217 #include <stdio.h>
16218 #include <stdlib.h>
16219 int
16220 main ()
16221 {
16222
16223 FILE *f = fopen ("conftest.val", "w");
16224 if (! f)
16225 exit (1);
16226 if (((long) (sizeof (long long))) < 0)
16227 {
16228 long i = longval ();
16229 if (i != ((long) (sizeof (long long))))
16230 exit (1);
16231 fprintf (f, "%ld\n", i);
16232 }
16233 else
16234 {
16235 unsigned long i = ulongval ();
16236 if (i != ((long) (sizeof (long long))))
16237 exit (1);
16238 fprintf (f, "%lu\n", i);
16239 }
16240 exit (ferror (f) || fclose (f) != 0);
16241
16242 ;
16243 return 0;
16244 }
16245 _ACEOF
16246 rm -f conftest$ac_exeext
16247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16248 (eval $ac_link) 2>&5
16249 ac_status=$?
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16253 (eval $ac_try) 2>&5
16254 ac_status=$?
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); }; }; then
16257 ac_cv_sizeof_long_long=`cat conftest.val`
16258 else
16259 echo "$as_me: program exited with status $ac_status" >&5
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16262
16263 ( exit $ac_status )
16264 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16265 See \`config.log' for more details." >&5
16266 echo "$as_me: error: cannot compute sizeof (long long), 77
16267 See \`config.log' for more details." >&2;}
16268 { (exit 1); exit 1; }; }
16269 fi
16270 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16271 fi
16272 fi
16273 rm -f conftest.val
16274 else
16275 ac_cv_sizeof_long_long=0
16276 fi
16277 fi
16278 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16279 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16280 cat >>confdefs.h <<_ACEOF
16281 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16282 _ACEOF
16283
16284
16285 if test "$ac_cv_sizeof_long_long" != "0"; then
16286 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16287 fi
16288 ;;
16289 * )
16290 echo "$as_me:$LINENO: checking for long long" >&5
16291 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16292 if test "${ac_cv_type_long_long+set}" = set; then
16293 echo $ECHO_N "(cached) $ECHO_C" >&6
16294 else
16295 cat >conftest.$ac_ext <<_ACEOF
16296 #line $LINENO "configure"
16297 /* confdefs.h. */
16298 _ACEOF
16299 cat confdefs.h >>conftest.$ac_ext
16300 cat >>conftest.$ac_ext <<_ACEOF
16301 /* end confdefs.h. */
16302 $ac_includes_default
16303 int
16304 main ()
16305 {
16306 if ((long long *) 0)
16307 return 0;
16308 if (sizeof (long long))
16309 return 0;
16310 ;
16311 return 0;
16312 }
16313 _ACEOF
16314 rm -f conftest.$ac_objext
16315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16316 (eval $ac_compile) 2>&5
16317 ac_status=$?
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } &&
16320 { ac_try='test -s conftest.$ac_objext'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16323 ac_status=$?
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; }; then
16326 ac_cv_type_long_long=yes
16327 else
16328 echo "$as_me: failed program was:" >&5
16329 sed 's/^/| /' conftest.$ac_ext >&5
16330
16331 ac_cv_type_long_long=no
16332 fi
16333 rm -f conftest.$ac_objext conftest.$ac_ext
16334 fi
16335 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16336 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16337
16338 echo "$as_me:$LINENO: checking size of long long" >&5
16339 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16340 if test "${ac_cv_sizeof_long_long+set}" = set; then
16341 echo $ECHO_N "(cached) $ECHO_C" >&6
16342 else
16343 if test "$ac_cv_type_long_long" = yes; then
16344 # The cast to unsigned long works around a bug in the HP C Compiler
16345 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16346 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16347 # This bug is HP SR number 8606223364.
16348 if test "$cross_compiling" = yes; then
16349 # Depending upon the size, compute the lo and hi bounds.
16350 cat >conftest.$ac_ext <<_ACEOF
16351 #line $LINENO "configure"
16352 /* confdefs.h. */
16353 _ACEOF
16354 cat confdefs.h >>conftest.$ac_ext
16355 cat >>conftest.$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16357 $ac_includes_default
16358 int
16359 main ()
16360 {
16361 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16362 test_array [0] = 0
16363
16364 ;
16365 return 0;
16366 }
16367 _ACEOF
16368 rm -f conftest.$ac_objext
16369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16370 (eval $ac_compile) 2>&5
16371 ac_status=$?
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); } &&
16374 { ac_try='test -s conftest.$ac_objext'
16375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16376 (eval $ac_try) 2>&5
16377 ac_status=$?
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); }; }; then
16380 ac_lo=0 ac_mid=0
16381 while :; do
16382 cat >conftest.$ac_ext <<_ACEOF
16383 #line $LINENO "configure"
16384 /* confdefs.h. */
16385 _ACEOF
16386 cat confdefs.h >>conftest.$ac_ext
16387 cat >>conftest.$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16389 $ac_includes_default
16390 int
16391 main ()
16392 {
16393 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16394 test_array [0] = 0
16395
16396 ;
16397 return 0;
16398 }
16399 _ACEOF
16400 rm -f conftest.$ac_objext
16401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16402 (eval $ac_compile) 2>&5
16403 ac_status=$?
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try='test -s conftest.$ac_objext'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16409 ac_status=$?
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; }; then
16412 ac_hi=$ac_mid; break
16413 else
16414 echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.$ac_ext >&5
16416
16417 ac_lo=`expr $ac_mid + 1`
16418 if test $ac_lo -le $ac_mid; then
16419 ac_lo= ac_hi=
16420 break
16421 fi
16422 ac_mid=`expr 2 '*' $ac_mid + 1`
16423 fi
16424 rm -f conftest.$ac_objext conftest.$ac_ext
16425 done
16426 else
16427 echo "$as_me: failed program was:" >&5
16428 sed 's/^/| /' conftest.$ac_ext >&5
16429
16430 cat >conftest.$ac_ext <<_ACEOF
16431 #line $LINENO "configure"
16432 /* confdefs.h. */
16433 _ACEOF
16434 cat confdefs.h >>conftest.$ac_ext
16435 cat >>conftest.$ac_ext <<_ACEOF
16436 /* end confdefs.h. */
16437 $ac_includes_default
16438 int
16439 main ()
16440 {
16441 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16442 test_array [0] = 0
16443
16444 ;
16445 return 0;
16446 }
16447 _ACEOF
16448 rm -f conftest.$ac_objext
16449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16450 (eval $ac_compile) 2>&5
16451 ac_status=$?
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } &&
16454 { ac_try='test -s conftest.$ac_objext'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16457 ac_status=$?
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; }; then
16460 ac_hi=-1 ac_mid=-1
16461 while :; do
16462 cat >conftest.$ac_ext <<_ACEOF
16463 #line $LINENO "configure"
16464 /* confdefs.h. */
16465 _ACEOF
16466 cat confdefs.h >>conftest.$ac_ext
16467 cat >>conftest.$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 $ac_includes_default
16470 int
16471 main ()
16472 {
16473 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16474 test_array [0] = 0
16475
16476 ;
16477 return 0;
16478 }
16479 _ACEOF
16480 rm -f conftest.$ac_objext
16481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16482 (eval $ac_compile) 2>&5
16483 ac_status=$?
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } &&
16486 { ac_try='test -s conftest.$ac_objext'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16489 ac_status=$?
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; }; then
16492 ac_lo=$ac_mid; break
16493 else
16494 echo "$as_me: failed program was:" >&5
16495 sed 's/^/| /' conftest.$ac_ext >&5
16496
16497 ac_hi=`expr '(' $ac_mid ')' - 1`
16498 if test $ac_mid -le $ac_hi; then
16499 ac_lo= ac_hi=
16500 break
16501 fi
16502 ac_mid=`expr 2 '*' $ac_mid`
16503 fi
16504 rm -f conftest.$ac_objext conftest.$ac_ext
16505 done
16506 else
16507 echo "$as_me: failed program was:" >&5
16508 sed 's/^/| /' conftest.$ac_ext >&5
16509
16510 ac_lo= ac_hi=
16511 fi
16512 rm -f conftest.$ac_objext conftest.$ac_ext
16513 fi
16514 rm -f conftest.$ac_objext conftest.$ac_ext
16515 # Binary search between lo and hi bounds.
16516 while test "x$ac_lo" != "x$ac_hi"; do
16517 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16518 cat >conftest.$ac_ext <<_ACEOF
16519 #line $LINENO "configure"
16520 /* confdefs.h. */
16521 _ACEOF
16522 cat confdefs.h >>conftest.$ac_ext
16523 cat >>conftest.$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16525 $ac_includes_default
16526 int
16527 main ()
16528 {
16529 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16530 test_array [0] = 0
16531
16532 ;
16533 return 0;
16534 }
16535 _ACEOF
16536 rm -f conftest.$ac_objext
16537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16538 (eval $ac_compile) 2>&5
16539 ac_status=$?
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); } &&
16542 { ac_try='test -s conftest.$ac_objext'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16545 ac_status=$?
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; }; then
16548 ac_hi=$ac_mid
16549 else
16550 echo "$as_me: failed program was:" >&5
16551 sed 's/^/| /' conftest.$ac_ext >&5
16552
16553 ac_lo=`expr '(' $ac_mid ')' + 1`
16554 fi
16555 rm -f conftest.$ac_objext conftest.$ac_ext
16556 done
16557 case $ac_lo in
16558 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16559 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16560 See \`config.log' for more details." >&5
16561 echo "$as_me: error: cannot compute sizeof (long long), 77
16562 See \`config.log' for more details." >&2;}
16563 { (exit 1); exit 1; }; } ;;
16564 esac
16565 else
16566 if test "$cross_compiling" = yes; then
16567 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16568 See \`config.log' for more details." >&5
16569 echo "$as_me: error: cannot run test program while cross compiling
16570 See \`config.log' for more details." >&2;}
16571 { (exit 1); exit 1; }; }
16572 else
16573 cat >conftest.$ac_ext <<_ACEOF
16574 #line $LINENO "configure"
16575 /* confdefs.h. */
16576 _ACEOF
16577 cat confdefs.h >>conftest.$ac_ext
16578 cat >>conftest.$ac_ext <<_ACEOF
16579 /* end confdefs.h. */
16580 $ac_includes_default
16581 long longval () { return (long) (sizeof (long long)); }
16582 unsigned long ulongval () { return (long) (sizeof (long long)); }
16583 #include <stdio.h>
16584 #include <stdlib.h>
16585 int
16586 main ()
16587 {
16588
16589 FILE *f = fopen ("conftest.val", "w");
16590 if (! f)
16591 exit (1);
16592 if (((long) (sizeof (long long))) < 0)
16593 {
16594 long i = longval ();
16595 if (i != ((long) (sizeof (long long))))
16596 exit (1);
16597 fprintf (f, "%ld\n", i);
16598 }
16599 else
16600 {
16601 unsigned long i = ulongval ();
16602 if (i != ((long) (sizeof (long long))))
16603 exit (1);
16604 fprintf (f, "%lu\n", i);
16605 }
16606 exit (ferror (f) || fclose (f) != 0);
16607
16608 ;
16609 return 0;
16610 }
16611 _ACEOF
16612 rm -f conftest$ac_exeext
16613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16614 (eval $ac_link) 2>&5
16615 ac_status=$?
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619 (eval $ac_try) 2>&5
16620 ac_status=$?
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); }; }; then
16623 ac_cv_sizeof_long_long=`cat conftest.val`
16624 else
16625 echo "$as_me: program exited with status $ac_status" >&5
16626 echo "$as_me: failed program was:" >&5
16627 sed 's/^/| /' conftest.$ac_ext >&5
16628
16629 ( exit $ac_status )
16630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16631 See \`config.log' for more details." >&5
16632 echo "$as_me: error: cannot compute sizeof (long long), 77
16633 See \`config.log' for more details." >&2;}
16634 { (exit 1); exit 1; }; }
16635 fi
16636 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16637 fi
16638 fi
16639 rm -f conftest.val
16640 else
16641 ac_cv_sizeof_long_long=0
16642 fi
16643 fi
16644 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16645 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16646 cat >>confdefs.h <<_ACEOF
16647 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16648 _ACEOF
16649
16650
16651 esac
16652
16653 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16654 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16655 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16656 echo $ECHO_N "(cached) $ECHO_C" >&6
16657 else
16658
16659 if test "$cross_compiling" = yes; then
16660
16661 case "${host}" in
16662 *-pc-msdosdjgpp )
16663 wx_cv_sizeof_wchar_t=0
16664 ;;
16665 * )
16666 wx_cv_sizeof_wchar_t=4
16667 ;;
16668 esac
16669
16670
16671 else
16672 cat >conftest.$ac_ext <<_ACEOF
16673 #line $LINENO "configure"
16674 /* confdefs.h. */
16675 _ACEOF
16676 cat confdefs.h >>conftest.$ac_ext
16677 cat >>conftest.$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16679
16680 /* DJGPP only has fake wchar_t: */
16681 #ifdef __DJGPP__
16682 # error "fake wchar_t"
16683 #endif
16684 #ifdef HAVE_WCHAR_H
16685 # ifdef __CYGWIN__
16686 # include <stddef.h>
16687 # endif
16688 # include <wchar.h>
16689 #endif
16690 #ifdef HAVE_STDLIB_H
16691 # include <stdlib.h>
16692 #endif
16693 #include <stdio.h>
16694 int main()
16695 {
16696 FILE *f=fopen("conftestval", "w");
16697 if (!f) exit(1);
16698 fprintf(f, "%i", sizeof(wchar_t));
16699 exit(0);
16700 }
16701
16702 _ACEOF
16703 rm -f conftest$ac_exeext
16704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16705 (eval $ac_link) 2>&5
16706 ac_status=$?
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16711 ac_status=$?
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; }; then
16714 wx_cv_sizeof_wchar_t=`cat conftestval`
16715 else
16716 echo "$as_me: program exited with status $ac_status" >&5
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.$ac_ext >&5
16719
16720 ( exit $ac_status )
16721 wx_cv_sizeof_wchar_t=0
16722 fi
16723 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16724 fi
16725
16726 fi
16727 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16728 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16729
16730 cat >>confdefs.h <<_ACEOF
16731 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16732 _ACEOF
16733
16734
16735 # Check whether --enable-largefile or --disable-largefile was given.
16736 if test "${enable_largefile+set}" = set; then
16737 enableval="$enable_largefile"
16738
16739 fi;
16740 if test "$enable_largefile" != no; then
16741 wx_largefile=no
16742
16743 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16744 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16745 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16746 echo $ECHO_N "(cached) $ECHO_C" >&6
16747 else
16748
16749 cat >conftest.$ac_ext <<_ACEOF
16750 #line $LINENO "configure"
16751 /* confdefs.h. */
16752 _ACEOF
16753 cat confdefs.h >>conftest.$ac_ext
16754 cat >>conftest.$ac_ext <<_ACEOF
16755 /* end confdefs.h. */
16756 #define _FILE_OFFSET_BITS 64
16757 #include <sys/types.h>
16758 int
16759 main ()
16760 {
16761 typedef struct {
16762 unsigned int field: sizeof(off_t) == 8;
16763 } wxlf;
16764
16765 ;
16766 return 0;
16767 }
16768 _ACEOF
16769 rm -f conftest.$ac_objext
16770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16771 (eval $ac_compile) 2>&5
16772 ac_status=$?
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } &&
16775 { ac_try='test -s conftest.$ac_objext'
16776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16777 (eval $ac_try) 2>&5
16778 ac_status=$?
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); }; }; then
16781 ac_cv_sys_file_offset_bits=64
16782 else
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.$ac_ext >&5
16785
16786 ac_cv_sys_file_offset_bits=no
16787 fi
16788 rm -f conftest.$ac_objext conftest.$ac_ext
16789
16790
16791 fi
16792 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16793 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16794
16795 if test "$ac_cv_sys_file_offset_bits" != no; then
16796 wx_largefile=yes
16797 cat >>confdefs.h <<_ACEOF
16798 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16799 _ACEOF
16800
16801 fi
16802
16803 if test "x$wx_largefile" != "xyes"; then
16804
16805 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16806 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16807 if test "${ac_cv_sys_large_files+set}" = set; then
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16809 else
16810
16811 cat >conftest.$ac_ext <<_ACEOF
16812 #line $LINENO "configure"
16813 /* confdefs.h. */
16814 _ACEOF
16815 cat confdefs.h >>conftest.$ac_ext
16816 cat >>conftest.$ac_ext <<_ACEOF
16817 /* end confdefs.h. */
16818 #define _LARGE_FILES 1
16819 #include <sys/types.h>
16820 int
16821 main ()
16822 {
16823 typedef struct {
16824 unsigned int field: sizeof(off_t) == 8;
16825 } wxlf;
16826
16827 ;
16828 return 0;
16829 }
16830 _ACEOF
16831 rm -f conftest.$ac_objext
16832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16833 (eval $ac_compile) 2>&5
16834 ac_status=$?
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try='test -s conftest.$ac_objext'
16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839 (eval $ac_try) 2>&5
16840 ac_status=$?
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; }; then
16843 ac_cv_sys_large_files=1
16844 else
16845 echo "$as_me: failed program was:" >&5
16846 sed 's/^/| /' conftest.$ac_ext >&5
16847
16848 ac_cv_sys_large_files=no
16849 fi
16850 rm -f conftest.$ac_objext conftest.$ac_ext
16851
16852
16853 fi
16854 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16855 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16856
16857 if test "$ac_cv_sys_large_files" != no; then
16858 wx_largefile=yes
16859 cat >>confdefs.h <<_ACEOF
16860 #define _LARGE_FILES $ac_cv_sys_large_files
16861 _ACEOF
16862
16863 fi
16864
16865 fi
16866
16867 echo "$as_me:$LINENO: checking if large file support is available" >&5
16868 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16869 if test "x$wx_largefile" = "xyes"; then
16870 cat >>confdefs.h <<\_ACEOF
16871 #define HAVE_LARGEFILE_SUPPORT 1
16872 _ACEOF
16873
16874 fi
16875 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16876 echo "${ECHO_T}$wx_largefile" >&6
16877 fi
16878
16879
16880 if test "x$wx_largefile" = "xyes"; then
16881 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16882 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16883 else
16884 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16885 fi
16886 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16887 fi
16888
16889 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16890 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16891 if test "${ac_cv_c_bigendian+set}" = set; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 else
16894 ac_cv_c_bigendian=unknown
16895 # See if sys/param.h defines the BYTE_ORDER macro.
16896 cat >conftest.$ac_ext <<_ACEOF
16897 #line $LINENO "configure"
16898 /* confdefs.h. */
16899 _ACEOF
16900 cat confdefs.h >>conftest.$ac_ext
16901 cat >>conftest.$ac_ext <<_ACEOF
16902 /* end confdefs.h. */
16903 #include <sys/types.h>
16904 #include <sys/param.h>
16905 int
16906 main ()
16907 {
16908
16909 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16910 bogus endian macros
16911 #endif
16912 ;
16913 return 0;
16914 }
16915 _ACEOF
16916 rm -f conftest.$ac_objext
16917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16918 (eval $ac_compile) 2>&5
16919 ac_status=$?
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); } &&
16922 { ac_try='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16925 ac_status=$?
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16928 # It does; now see whether it defined to BIG_ENDIAN or not.
16929 cat >conftest.$ac_ext <<_ACEOF
16930 #line $LINENO "configure"
16931 /* confdefs.h. */
16932 _ACEOF
16933 cat confdefs.h >>conftest.$ac_ext
16934 cat >>conftest.$ac_ext <<_ACEOF
16935 /* end confdefs.h. */
16936 #include <sys/types.h>
16937 #include <sys/param.h>
16938 int
16939 main ()
16940 {
16941
16942 #if BYTE_ORDER != BIG_ENDIAN
16943 not big endian
16944 #endif
16945 ;
16946 return 0;
16947 }
16948 _ACEOF
16949 rm -f conftest.$ac_objext
16950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16951 (eval $ac_compile) 2>&5
16952 ac_status=$?
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } &&
16955 { ac_try='test -s conftest.$ac_objext'
16956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16957 (eval $ac_try) 2>&5
16958 ac_status=$?
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); }; }; then
16961 ac_cv_c_bigendian=yes
16962 else
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.$ac_ext >&5
16965
16966 ac_cv_c_bigendian=no
16967 fi
16968 rm -f conftest.$ac_objext conftest.$ac_ext
16969 else
16970 echo "$as_me: failed program was:" >&5
16971 sed 's/^/| /' conftest.$ac_ext >&5
16972
16973 fi
16974 rm -f conftest.$ac_objext conftest.$ac_ext
16975 if test $ac_cv_c_bigendian = unknown; then
16976 if test "$cross_compiling" = yes; then
16977 ac_cv_c_bigendian=unknown
16978 else
16979 cat >conftest.$ac_ext <<_ACEOF
16980 #line $LINENO "configure"
16981 /* confdefs.h. */
16982 _ACEOF
16983 cat confdefs.h >>conftest.$ac_ext
16984 cat >>conftest.$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16986 main () {
16987 /* Are we little or big endian? From Harbison&Steele. */
16988 union
16989 {
16990 long l;
16991 char c[sizeof (long)];
16992 } u;
16993 u.l = 1;
16994 exit (u.c[sizeof (long) - 1] == 1);
16995 }
16996 _ACEOF
16997 rm -f conftest$ac_exeext
16998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16999 (eval $ac_link) 2>&5
17000 ac_status=$?
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004 (eval $ac_try) 2>&5
17005 ac_status=$?
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; }; then
17008 ac_cv_c_bigendian=no
17009 else
17010 echo "$as_me: program exited with status $ac_status" >&5
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.$ac_ext >&5
17013
17014 ( exit $ac_status )
17015 ac_cv_c_bigendian=yes
17016 fi
17017 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17018 fi
17019 fi
17020 fi
17021 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17022 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17023 if test $ac_cv_c_bigendian = unknown; then
17024 { 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
17025 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;}
17026 fi
17027 if test $ac_cv_c_bigendian = yes; then
17028 cat >>confdefs.h <<\_ACEOF
17029 #define WORDS_BIGENDIAN 1
17030 _ACEOF
17031
17032 fi
17033
17034
17035
17036 ac_ext=cc
17037 ac_cpp='$CXXCPP $CPPFLAGS'
17038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17041 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17042 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17043 if test -z "$CXXCPP"; then
17044 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 else
17047 # Double quotes because CXXCPP needs to be expanded
17048 for CXXCPP in "$CXX -E" "/lib/cpp"
17049 do
17050 ac_preproc_ok=false
17051 for ac_cxx_preproc_warn_flag in '' yes
17052 do
17053 # Use a header file that comes with gcc, so configuring glibc
17054 # with a fresh cross-compiler works.
17055 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17056 # <limits.h> exists even on freestanding compilers.
17057 # On the NeXT, cc -E runs the code through the compiler's parser,
17058 # not just through cpp. "Syntax error" is here to catch this case.
17059 cat >conftest.$ac_ext <<_ACEOF
17060 #line $LINENO "configure"
17061 /* confdefs.h. */
17062 _ACEOF
17063 cat confdefs.h >>conftest.$ac_ext
17064 cat >>conftest.$ac_ext <<_ACEOF
17065 /* end confdefs.h. */
17066 #ifdef __STDC__
17067 # include <limits.h>
17068 #else
17069 # include <assert.h>
17070 #endif
17071 Syntax error
17072 _ACEOF
17073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17074 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17075 ac_status=$?
17076 grep -v '^ *+' conftest.er1 >conftest.err
17077 rm -f conftest.er1
17078 cat conftest.err >&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); } >/dev/null; then
17081 if test -s conftest.err; then
17082 ac_cpp_err=$ac_cxx_preproc_warn_flag
17083 else
17084 ac_cpp_err=
17085 fi
17086 else
17087 ac_cpp_err=yes
17088 fi
17089 if test -z "$ac_cpp_err"; then
17090 :
17091 else
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.$ac_ext >&5
17094
17095 # Broken: fails on valid input.
17096 continue
17097 fi
17098 rm -f conftest.err conftest.$ac_ext
17099
17100 # OK, works on sane cases. Now check whether non-existent headers
17101 # can be detected and how.
17102 cat >conftest.$ac_ext <<_ACEOF
17103 #line $LINENO "configure"
17104 /* confdefs.h. */
17105 _ACEOF
17106 cat confdefs.h >>conftest.$ac_ext
17107 cat >>conftest.$ac_ext <<_ACEOF
17108 /* end confdefs.h. */
17109 #include <ac_nonexistent.h>
17110 _ACEOF
17111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17113 ac_status=$?
17114 grep -v '^ *+' conftest.er1 >conftest.err
17115 rm -f conftest.er1
17116 cat conftest.err >&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } >/dev/null; then
17119 if test -s conftest.err; then
17120 ac_cpp_err=$ac_cxx_preproc_warn_flag
17121 else
17122 ac_cpp_err=
17123 fi
17124 else
17125 ac_cpp_err=yes
17126 fi
17127 if test -z "$ac_cpp_err"; then
17128 # Broken: success on invalid input.
17129 continue
17130 else
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.$ac_ext >&5
17133
17134 # Passes both tests.
17135 ac_preproc_ok=:
17136 break
17137 fi
17138 rm -f conftest.err conftest.$ac_ext
17139
17140 done
17141 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17142 rm -f conftest.err conftest.$ac_ext
17143 if $ac_preproc_ok; then
17144 break
17145 fi
17146
17147 done
17148 ac_cv_prog_CXXCPP=$CXXCPP
17149
17150 fi
17151 CXXCPP=$ac_cv_prog_CXXCPP
17152 else
17153 ac_cv_prog_CXXCPP=$CXXCPP
17154 fi
17155 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17156 echo "${ECHO_T}$CXXCPP" >&6
17157 ac_preproc_ok=false
17158 for ac_cxx_preproc_warn_flag in '' yes
17159 do
17160 # Use a header file that comes with gcc, so configuring glibc
17161 # with a fresh cross-compiler works.
17162 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17163 # <limits.h> exists even on freestanding compilers.
17164 # On the NeXT, cc -E runs the code through the compiler's parser,
17165 # not just through cpp. "Syntax error" is here to catch this case.
17166 cat >conftest.$ac_ext <<_ACEOF
17167 #line $LINENO "configure"
17168 /* confdefs.h. */
17169 _ACEOF
17170 cat confdefs.h >>conftest.$ac_ext
17171 cat >>conftest.$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 #ifdef __STDC__
17174 # include <limits.h>
17175 #else
17176 # include <assert.h>
17177 #endif
17178 Syntax error
17179 _ACEOF
17180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17182 ac_status=$?
17183 grep -v '^ *+' conftest.er1 >conftest.err
17184 rm -f conftest.er1
17185 cat conftest.err >&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } >/dev/null; then
17188 if test -s conftest.err; then
17189 ac_cpp_err=$ac_cxx_preproc_warn_flag
17190 else
17191 ac_cpp_err=
17192 fi
17193 else
17194 ac_cpp_err=yes
17195 fi
17196 if test -z "$ac_cpp_err"; then
17197 :
17198 else
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17201
17202 # Broken: fails on valid input.
17203 continue
17204 fi
17205 rm -f conftest.err conftest.$ac_ext
17206
17207 # OK, works on sane cases. Now check whether non-existent headers
17208 # can be detected and how.
17209 cat >conftest.$ac_ext <<_ACEOF
17210 #line $LINENO "configure"
17211 /* confdefs.h. */
17212 _ACEOF
17213 cat confdefs.h >>conftest.$ac_ext
17214 cat >>conftest.$ac_ext <<_ACEOF
17215 /* end confdefs.h. */
17216 #include <ac_nonexistent.h>
17217 _ACEOF
17218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17220 ac_status=$?
17221 grep -v '^ *+' conftest.er1 >conftest.err
17222 rm -f conftest.er1
17223 cat conftest.err >&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } >/dev/null; then
17226 if test -s conftest.err; then
17227 ac_cpp_err=$ac_cxx_preproc_warn_flag
17228 else
17229 ac_cpp_err=
17230 fi
17231 else
17232 ac_cpp_err=yes
17233 fi
17234 if test -z "$ac_cpp_err"; then
17235 # Broken: success on invalid input.
17236 continue
17237 else
17238 echo "$as_me: failed program was:" >&5
17239 sed 's/^/| /' conftest.$ac_ext >&5
17240
17241 # Passes both tests.
17242 ac_preproc_ok=:
17243 break
17244 fi
17245 rm -f conftest.err conftest.$ac_ext
17246
17247 done
17248 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17249 rm -f conftest.err conftest.$ac_ext
17250 if $ac_preproc_ok; then
17251 :
17252 else
17253 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17254 See \`config.log' for more details." >&5
17255 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17256 See \`config.log' for more details." >&2;}
17257 { (exit 1); exit 1; }; }
17258 fi
17259
17260 ac_ext=cc
17261 ac_cpp='$CXXCPP $CPPFLAGS'
17262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17265
17266
17267
17268 if test "$cross_compiling" = "yes"; then
17269 cat >>confdefs.h <<\_ACEOF
17270 #define wxUSE_IOSTREAMH 1
17271 _ACEOF
17272
17273 else
17274
17275
17276 ac_ext=cc
17277 ac_cpp='$CXXCPP $CPPFLAGS'
17278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17281
17282
17283
17284 for ac_header in iostream
17285 do
17286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17288 echo "$as_me:$LINENO: checking for $ac_header" >&5
17289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17291 echo $ECHO_N "(cached) $ECHO_C" >&6
17292 fi
17293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17295 else
17296 # Is the header compilable?
17297 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17299 cat >conftest.$ac_ext <<_ACEOF
17300 #line $LINENO "configure"
17301 /* confdefs.h. */
17302 _ACEOF
17303 cat confdefs.h >>conftest.$ac_ext
17304 cat >>conftest.$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 $ac_includes_default
17307 #include <$ac_header>
17308 _ACEOF
17309 rm -f conftest.$ac_objext
17310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17311 (eval $ac_compile) 2>&5
17312 ac_status=$?
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } &&
17315 { ac_try='test -s conftest.$ac_objext'
17316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17317 (eval $ac_try) 2>&5
17318 ac_status=$?
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); }; }; then
17321 ac_header_compiler=yes
17322 else
17323 echo "$as_me: failed program was:" >&5
17324 sed 's/^/| /' conftest.$ac_ext >&5
17325
17326 ac_header_compiler=no
17327 fi
17328 rm -f conftest.$ac_objext conftest.$ac_ext
17329 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17330 echo "${ECHO_T}$ac_header_compiler" >&6
17331
17332 # Is the header present?
17333 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17334 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17335 cat >conftest.$ac_ext <<_ACEOF
17336 #line $LINENO "configure"
17337 /* confdefs.h. */
17338 _ACEOF
17339 cat confdefs.h >>conftest.$ac_ext
17340 cat >>conftest.$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342 #include <$ac_header>
17343 _ACEOF
17344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17346 ac_status=$?
17347 grep -v '^ *+' conftest.er1 >conftest.err
17348 rm -f conftest.er1
17349 cat conftest.err >&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); } >/dev/null; then
17352 if test -s conftest.err; then
17353 ac_cpp_err=$ac_cxx_preproc_warn_flag
17354 else
17355 ac_cpp_err=
17356 fi
17357 else
17358 ac_cpp_err=yes
17359 fi
17360 if test -z "$ac_cpp_err"; then
17361 ac_header_preproc=yes
17362 else
17363 echo "$as_me: failed program was:" >&5
17364 sed 's/^/| /' conftest.$ac_ext >&5
17365
17366 ac_header_preproc=no
17367 fi
17368 rm -f conftest.err conftest.$ac_ext
17369 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17370 echo "${ECHO_T}$ac_header_preproc" >&6
17371
17372 # So? What about this header?
17373 case $ac_header_compiler:$ac_header_preproc in
17374 yes:no )
17375 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17376 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17378 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17379 (
17380 cat <<\_ASBOX
17381 ## ------------------------------------ ##
17382 ## Report this to bug-autoconf@gnu.org. ##
17383 ## ------------------------------------ ##
17384 _ASBOX
17385 ) |
17386 sed "s/^/$as_me: WARNING: /" >&2
17387 ;;
17388 no:yes )
17389 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17390 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17391 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17392 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17395 (
17396 cat <<\_ASBOX
17397 ## ------------------------------------ ##
17398 ## Report this to bug-autoconf@gnu.org. ##
17399 ## ------------------------------------ ##
17400 _ASBOX
17401 ) |
17402 sed "s/^/$as_me: WARNING: /" >&2
17403 ;;
17404 esac
17405 echo "$as_me:$LINENO: checking for $ac_header" >&5
17406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17408 echo $ECHO_N "(cached) $ECHO_C" >&6
17409 else
17410 eval "$as_ac_Header=$ac_header_preproc"
17411 fi
17412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17414
17415 fi
17416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17417 cat >>confdefs.h <<_ACEOF
17418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17419 _ACEOF
17420
17421 fi
17422
17423 done
17424
17425
17426 if test "$ac_cv_header_iostream" = "yes" ; then
17427 :
17428 else
17429 cat >>confdefs.h <<\_ACEOF
17430 #define wxUSE_IOSTREAMH 1
17431 _ACEOF
17432
17433 fi
17434
17435 ac_ext=c
17436 ac_cpp='$CPP $CPPFLAGS'
17437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17440
17441 fi
17442
17443
17444
17445 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17446 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17447 if test "${wx_cv_cpp_bool+set}" = set; then
17448 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 else
17450
17451
17452
17453 ac_ext=cc
17454 ac_cpp='$CXXCPP $CPPFLAGS'
17455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17458
17459
17460 cat >conftest.$ac_ext <<_ACEOF
17461 #line $LINENO "configure"
17462 /* confdefs.h. */
17463 _ACEOF
17464 cat confdefs.h >>conftest.$ac_ext
17465 cat >>conftest.$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17467
17468
17469 int
17470 main ()
17471 {
17472
17473 bool b = true;
17474
17475 return 0;
17476
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
17494 wx_cv_cpp_bool=yes
17495
17496 else
17497 echo "$as_me: failed program was:" >&5
17498 sed 's/^/| /' conftest.$ac_ext >&5
17499
17500
17501 wx_cv_cpp_bool=no
17502
17503
17504 fi
17505 rm -f conftest.$ac_objext conftest.$ac_ext
17506
17507 ac_ext=c
17508 ac_cpp='$CPP $CPPFLAGS'
17509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17512
17513
17514 fi
17515 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17516 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17517
17518 if test "$wx_cv_cpp_bool" = "yes"; then
17519 cat >>confdefs.h <<\_ACEOF
17520 #define HAVE_BOOL 1
17521 _ACEOF
17522
17523 fi
17524
17525
17526
17527 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17528 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17529 if test "${wx_cv_explicit+set}" = set; then
17530 echo $ECHO_N "(cached) $ECHO_C" >&6
17531 else
17532
17533
17534
17535 ac_ext=cc
17536 ac_cpp='$CXXCPP $CPPFLAGS'
17537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17540
17541
17542 cat >conftest.$ac_ext <<_ACEOF
17543 #line $LINENO "configure"
17544 /* confdefs.h. */
17545 _ACEOF
17546 cat confdefs.h >>conftest.$ac_ext
17547 cat >>conftest.$ac_ext <<_ACEOF
17548 /* end confdefs.h. */
17549
17550 class Foo { public: explicit Foo(int) {} };
17551
17552 int
17553 main ()
17554 {
17555
17556 return 0;
17557
17558 ;
17559 return 0;
17560 }
17561 _ACEOF
17562 rm -f conftest.$ac_objext
17563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17564 (eval $ac_compile) 2>&5
17565 ac_status=$?
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try='test -s conftest.$ac_objext'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17571 ac_status=$?
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; }; then
17574
17575 cat >conftest.$ac_ext <<_ACEOF
17576 #line $LINENO "configure"
17577 /* confdefs.h. */
17578 _ACEOF
17579 cat confdefs.h >>conftest.$ac_ext
17580 cat >>conftest.$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17582
17583 class Foo { public: explicit Foo(int) {} };
17584 static void TakeFoo(const Foo& foo) { }
17585
17586 int
17587 main ()
17588 {
17589
17590 TakeFoo(17);
17591 return 0;
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>&5
17600 ac_status=$?
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); } &&
17603 { ac_try='test -s conftest.$ac_objext'
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605 (eval $ac_try) 2>&5
17606 ac_status=$?
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; }; then
17609 wx_cv_explicit=no
17610 else
17611 echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.$ac_ext >&5
17613
17614 wx_cv_explicit=yes
17615
17616 fi
17617 rm -f conftest.$ac_objext conftest.$ac_ext
17618
17619 else
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.$ac_ext >&5
17622
17623 wx_cv_explicit=no
17624
17625 fi
17626 rm -f conftest.$ac_objext conftest.$ac_ext
17627
17628 ac_ext=c
17629 ac_cpp='$CPP $CPPFLAGS'
17630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17633
17634
17635 fi
17636 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17637 echo "${ECHO_T}$wx_cv_explicit" >&6
17638
17639 if test "$wx_cv_explicit" = "yes"; then
17640 cat >>confdefs.h <<\_ACEOF
17641 #define HAVE_EXPLICIT 1
17642 _ACEOF
17643
17644 fi
17645
17646
17647 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17648 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17649 if test "${ac_cv_cxx_const_cast+set}" = set; then
17650 echo $ECHO_N "(cached) $ECHO_C" >&6
17651 else
17652
17653
17654 ac_ext=cc
17655 ac_cpp='$CXXCPP $CPPFLAGS'
17656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17659
17660 cat >conftest.$ac_ext <<_ACEOF
17661 #line $LINENO "configure"
17662 /* confdefs.h. */
17663 _ACEOF
17664 cat confdefs.h >>conftest.$ac_ext
17665 cat >>conftest.$ac_ext <<_ACEOF
17666 /* end confdefs.h. */
17667
17668 int
17669 main ()
17670 {
17671 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17672 ;
17673 return 0;
17674 }
17675 _ACEOF
17676 rm -f conftest.$ac_objext
17677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17678 (eval $ac_compile) 2>&5
17679 ac_status=$?
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); } &&
17682 { ac_try='test -s conftest.$ac_objext'
17683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17684 (eval $ac_try) 2>&5
17685 ac_status=$?
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; }; then
17688 ac_cv_cxx_const_cast=yes
17689 else
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.$ac_ext >&5
17692
17693 ac_cv_cxx_const_cast=no
17694 fi
17695 rm -f conftest.$ac_objext conftest.$ac_ext
17696 ac_ext=c
17697 ac_cpp='$CPP $CPPFLAGS'
17698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17701
17702
17703 fi
17704 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17705 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17706 if test "$ac_cv_cxx_const_cast" = yes; then
17707
17708 cat >>confdefs.h <<\_ACEOF
17709 #define HAVE_CONST_CAST
17710 _ACEOF
17711
17712 fi
17713
17714
17715 if test "$wxUSE_STL" = "yes"; then
17716 ac_ext=cc
17717 ac_cpp='$CXXCPP $CPPFLAGS'
17718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17721
17722
17723 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17724 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17725 cat >conftest.$ac_ext <<_ACEOF
17726 #line $LINENO "configure"
17727 /* confdefs.h. */
17728 _ACEOF
17729 cat confdefs.h >>conftest.$ac_ext
17730 cat >>conftest.$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17732 #include <string>
17733 #include <functional>
17734 #include <algorithm>
17735 #include <vector>
17736 #include <list>
17737 int
17738 main ()
17739 {
17740 std::vector<int> moo;
17741 std::list<int> foo;
17742 std::vector<int>::iterator it =
17743 std::find_if(moo.begin(), moo.end(),
17744 std::bind2nd(std::less<int>(), 3));
17745 ;
17746 return 0;
17747 }
17748 _ACEOF
17749 rm -f conftest.$ac_objext
17750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17751 (eval $ac_compile) 2>&5
17752 ac_status=$?
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } &&
17755 { ac_try='test -s conftest.$ac_objext'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17758 ac_status=$?
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; }; then
17761 echo "$as_me:$LINENO: result: yes" >&5
17762 echo "${ECHO_T}yes" >&6
17763 else
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.$ac_ext >&5
17766
17767 echo "$as_me:$LINENO: result: no" >&5
17768 echo "${ECHO_T}no" >&6
17769 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17770 echo "$as_me: error: Basic STL functionality missing" >&2;}
17771 { (exit 1); exit 1; }; }
17772 fi
17773 rm -f conftest.$ac_objext conftest.$ac_ext
17774
17775 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17776 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17777 cat >conftest.$ac_ext <<_ACEOF
17778 #line $LINENO "configure"
17779 /* confdefs.h. */
17780 _ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17784 #include <string>
17785 int
17786 main ()
17787 {
17788 std::wstring foo;
17789 ;
17790 return 0;
17791 }
17792 _ACEOF
17793 rm -f conftest.$ac_objext
17794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17795 (eval $ac_compile) 2>&5
17796 ac_status=$?
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); } &&
17799 { ac_try='test -s conftest.$ac_objext'
17800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17801 (eval $ac_try) 2>&5
17802 ac_status=$?
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); }; }; then
17805 echo "$as_me:$LINENO: result: yes" >&5
17806 echo "${ECHO_T}yes" >&6
17807 cat >>confdefs.h <<\_ACEOF
17808 #define HAVE_STD_WSTRING 1
17809 _ACEOF
17810
17811 else
17812 echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.$ac_ext >&5
17814
17815 echo "$as_me:$LINENO: result: no" >&5
17816 echo "${ECHO_T}no" >&6
17817 fi
17818 rm -f conftest.$ac_objext conftest.$ac_ext
17819
17820 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17821 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17822 cat >conftest.$ac_ext <<_ACEOF
17823 #line $LINENO "configure"
17824 /* confdefs.h. */
17825 _ACEOF
17826 cat confdefs.h >>conftest.$ac_ext
17827 cat >>conftest.$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17829 #include <string>
17830 int
17831 main ()
17832 {
17833 std::string foo, bar;
17834 foo.compare(bar);
17835 foo.compare(1, 1, bar);
17836 foo.compare(1, 1, bar, 1, 1);
17837 foo.compare("");
17838 foo.compare(1, 1, "");
17839 foo.compare(1, 1, "", 2);
17840 ;
17841 return 0;
17842 }
17843 _ACEOF
17844 rm -f conftest.$ac_objext
17845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17846 (eval $ac_compile) 2>&5
17847 ac_status=$?
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try='test -s conftest.$ac_objext'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17853 ac_status=$?
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; }; then
17856 echo "$as_me:$LINENO: result: yes" >&5
17857 echo "${ECHO_T}yes" >&6
17858 cat >>confdefs.h <<\_ACEOF
17859 #define HAVE_STD_STRING_COMPARE 1
17860 _ACEOF
17861
17862 else
17863 echo "$as_me: failed program was:" >&5
17864 sed 's/^/| /' conftest.$ac_ext >&5
17865
17866 echo "$as_me:$LINENO: result: no" >&5
17867 echo "${ECHO_T}no" >&6
17868 fi
17869 rm -f conftest.$ac_objext conftest.$ac_ext
17870
17871 ac_ext=c
17872 ac_cpp='$CPP $CPPFLAGS'
17873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17876
17877 fi
17878
17879
17880 SEARCH_INCLUDE="\
17881 /usr/local/include \
17882 \
17883 /usr/Motif-1.2/include \
17884 /usr/Motif-2.1/include \
17885 \
17886 /usr/include/Motif1.2 \
17887 /opt/xpm/include/X11 \
17888 /opt/GBxpm/include/ \
17889 /opt/GBxpm/X11/include/ \
17890 \
17891 /usr/Motif1.2/include \
17892 /usr/dt/include \
17893 /usr/openwin/include \
17894 \
17895 /usr/include/Xm \
17896 \
17897 /usr/X11R6/include \
17898 /usr/X11R6.4/include \
17899 /usr/X11R5/include \
17900 /usr/X11R4/include \
17901 \
17902 /usr/include/X11R6 \
17903 /usr/include/X11R5 \
17904 /usr/include/X11R4 \
17905 \
17906 /usr/local/X11R6/include \
17907 /usr/local/X11R5/include \
17908 /usr/local/X11R4/include \
17909 \
17910 /usr/local/include/X11R6 \
17911 /usr/local/include/X11R5 \
17912 /usr/local/include/X11R4 \
17913 \
17914 /usr/X11/include \
17915 /usr/include/X11 \
17916 /usr/local/X11/include \
17917 /usr/local/include/X11 \
17918 \
17919 /usr/X386/include \
17920 /usr/x386/include \
17921 /usr/XFree86/include/X11 \
17922 \
17923 X:/XFree86/include \
17924 X:/XFree86/include/X11 \
17925 \
17926 /usr/include/gtk \
17927 /usr/local/include/gtk \
17928 /usr/include/glib \
17929 /usr/local/include/glib \
17930 \
17931 /usr/include/qt \
17932 /usr/local/include/qt \
17933 \
17934 /usr/include/windows \
17935 /usr/include/wine \
17936 /usr/local/include/wine \
17937 \
17938 /usr/unsupported/include \
17939 /usr/athena/include \
17940 /usr/local/x11r5/include \
17941 /usr/lpp/Xamples/include \
17942 \
17943 /usr/openwin/share/include"
17944
17945 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17946
17947
17948 cat >confcache <<\_ACEOF
17949 # This file is a shell script that caches the results of configure
17950 # tests run on this system so they can be shared between configure
17951 # scripts and configure runs, see configure's option --config-cache.
17952 # It is not useful on other systems. If it contains results you don't
17953 # want to keep, you may remove or edit it.
17954 #
17955 # config.status only pays attention to the cache file if you give it
17956 # the --recheck option to rerun configure.
17957 #
17958 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17959 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17960 # following values.
17961
17962 _ACEOF
17963
17964 # The following way of writing the cache mishandles newlines in values,
17965 # but we know of no workaround that is simple, portable, and efficient.
17966 # So, don't put newlines in cache variables' values.
17967 # Ultrix sh set writes to stderr and can't be redirected directly,
17968 # and sets the high bit in the cache file unless we assign to the vars.
17969 {
17970 (set) 2>&1 |
17971 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17972 *ac_space=\ *)
17973 # `set' does not quote correctly, so add quotes (double-quote
17974 # substitution turns \\\\ into \\, and sed turns \\ into \).
17975 sed -n \
17976 "s/'/'\\\\''/g;
17977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17978 ;;
17979 *)
17980 # `set' quotes correctly as required by POSIX, so do not add quotes.
17981 sed -n \
17982 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17983 ;;
17984 esac;
17985 } |
17986 sed '
17987 t clear
17988 : clear
17989 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17990 t end
17991 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17992 : end' >>confcache
17993 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17994 if test -w $cache_file; then
17995 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17996 cat confcache >$cache_file
17997 else
17998 echo "not updating unwritable cache $cache_file"
17999 fi
18000 fi
18001 rm -f confcache
18002
18003 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18004 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18005 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18006 if test "${wx_cv_lib_glibc21+set}" = set; then
18007 echo $ECHO_N "(cached) $ECHO_C" >&6
18008 else
18009
18010 cat >conftest.$ac_ext <<_ACEOF
18011 #line $LINENO "configure"
18012 /* confdefs.h. */
18013 _ACEOF
18014 cat confdefs.h >>conftest.$ac_ext
18015 cat >>conftest.$ac_ext <<_ACEOF
18016 /* end confdefs.h. */
18017 #include <features.h>
18018 int
18019 main ()
18020 {
18021
18022 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18023 #error not glibc2.1
18024 #endif
18025
18026 ;
18027 return 0;
18028 }
18029 _ACEOF
18030 rm -f conftest.$ac_objext
18031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18032 (eval $ac_compile) 2>&5
18033 ac_status=$?
18034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035 (exit $ac_status); } &&
18036 { ac_try='test -s conftest.$ac_objext'
18037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18038 (eval $ac_try) 2>&5
18039 ac_status=$?
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); }; }; then
18042
18043 wx_cv_lib_glibc21=yes
18044
18045 else
18046 echo "$as_me: failed program was:" >&5
18047 sed 's/^/| /' conftest.$ac_ext >&5
18048
18049
18050 wx_cv_lib_glibc21=no
18051
18052
18053 fi
18054 rm -f conftest.$ac_objext conftest.$ac_ext
18055
18056 fi
18057 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18058 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18059 if test "$wx_cv_lib_glibc21" = "yes"; then
18060 cat >>confdefs.h <<\_ACEOF
18061 #define wxHAVE_GLIBC2 1
18062 _ACEOF
18063
18064 fi
18065 fi
18066
18067 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18068 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18069 cat >>confdefs.h <<\_ACEOF
18070 #define _GNU_SOURCE 1
18071 _ACEOF
18072
18073 fi
18074 fi
18075
18076
18077
18078 REGEX_INCLUDE=
18079 if test "$wxUSE_REGEX" != "no"; then
18080 cat >>confdefs.h <<\_ACEOF
18081 #define wxUSE_REGEX 1
18082 _ACEOF
18083
18084
18085 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18086 if test "${ac_cv_header_regex_h+set}" = set; then
18087 echo "$as_me:$LINENO: checking for regex.h" >&5
18088 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18089 if test "${ac_cv_header_regex_h+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 fi
18092 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18093 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18094 else
18095 # Is the header compilable?
18096 echo "$as_me:$LINENO: checking regex.h usability" >&5
18097 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18098 cat >conftest.$ac_ext <<_ACEOF
18099 #line $LINENO "configure"
18100 /* confdefs.h. */
18101 _ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 $ac_includes_default
18106 #include <regex.h>
18107 _ACEOF
18108 rm -f conftest.$ac_objext
18109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18110 (eval $ac_compile) 2>&5
18111 ac_status=$?
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); } &&
18114 { ac_try='test -s conftest.$ac_objext'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18117 ac_status=$?
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; }; then
18120 ac_header_compiler=yes
18121 else
18122 echo "$as_me: failed program was:" >&5
18123 sed 's/^/| /' conftest.$ac_ext >&5
18124
18125 ac_header_compiler=no
18126 fi
18127 rm -f conftest.$ac_objext conftest.$ac_ext
18128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18129 echo "${ECHO_T}$ac_header_compiler" >&6
18130
18131 # Is the header present?
18132 echo "$as_me:$LINENO: checking regex.h presence" >&5
18133 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18134 cat >conftest.$ac_ext <<_ACEOF
18135 #line $LINENO "configure"
18136 /* confdefs.h. */
18137 _ACEOF
18138 cat confdefs.h >>conftest.$ac_ext
18139 cat >>conftest.$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18141 #include <regex.h>
18142 _ACEOF
18143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18145 ac_status=$?
18146 grep -v '^ *+' conftest.er1 >conftest.err
18147 rm -f conftest.er1
18148 cat conftest.err >&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } >/dev/null; then
18151 if test -s conftest.err; then
18152 ac_cpp_err=$ac_c_preproc_warn_flag
18153 else
18154 ac_cpp_err=
18155 fi
18156 else
18157 ac_cpp_err=yes
18158 fi
18159 if test -z "$ac_cpp_err"; then
18160 ac_header_preproc=yes
18161 else
18162 echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.$ac_ext >&5
18164
18165 ac_header_preproc=no
18166 fi
18167 rm -f conftest.err conftest.$ac_ext
18168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18169 echo "${ECHO_T}$ac_header_preproc" >&6
18170
18171 # So? What about this header?
18172 case $ac_header_compiler:$ac_header_preproc in
18173 yes:no )
18174 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18175 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18176 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18177 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18178 (
18179 cat <<\_ASBOX
18180 ## ------------------------------------ ##
18181 ## Report this to bug-autoconf@gnu.org. ##
18182 ## ------------------------------------ ##
18183 _ASBOX
18184 ) |
18185 sed "s/^/$as_me: WARNING: /" >&2
18186 ;;
18187 no:yes )
18188 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18189 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18190 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18191 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18192 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18193 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18194 (
18195 cat <<\_ASBOX
18196 ## ------------------------------------ ##
18197 ## Report this to bug-autoconf@gnu.org. ##
18198 ## ------------------------------------ ##
18199 _ASBOX
18200 ) |
18201 sed "s/^/$as_me: WARNING: /" >&2
18202 ;;
18203 esac
18204 echo "$as_me:$LINENO: checking for regex.h" >&5
18205 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18206 if test "${ac_cv_header_regex_h+set}" = set; then
18207 echo $ECHO_N "(cached) $ECHO_C" >&6
18208 else
18209 ac_cv_header_regex_h=$ac_header_preproc
18210 fi
18211 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18212 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18213
18214 fi
18215 if test $ac_cv_header_regex_h = yes; then
18216
18217 for ac_func in regcomp
18218 do
18219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18220 echo "$as_me:$LINENO: checking for $ac_func" >&5
18221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18222 if eval "test \"\${$as_ac_var+set}\" = set"; then
18223 echo $ECHO_N "(cached) $ECHO_C" >&6
18224 else
18225 cat >conftest.$ac_ext <<_ACEOF
18226 #line $LINENO "configure"
18227 /* confdefs.h. */
18228 _ACEOF
18229 cat confdefs.h >>conftest.$ac_ext
18230 cat >>conftest.$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 /* System header to define __stub macros and hopefully few prototypes,
18233 which can conflict with char $ac_func (); below.
18234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18235 <limits.h> exists even on freestanding compilers. */
18236 #ifdef __STDC__
18237 # include <limits.h>
18238 #else
18239 # include <assert.h>
18240 #endif
18241 /* Override any gcc2 internal prototype to avoid an error. */
18242 #ifdef __cplusplus
18243 extern "C"
18244 {
18245 #endif
18246 /* We use char because int might match the return type of a gcc2
18247 builtin and then its argument prototype would still apply. */
18248 char $ac_func ();
18249 /* The GNU C library defines this for functions which it implements
18250 to always fail with ENOSYS. Some functions are actually named
18251 something starting with __ and the normal name is an alias. */
18252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18253 choke me
18254 #else
18255 char (*f) () = $ac_func;
18256 #endif
18257 #ifdef __cplusplus
18258 }
18259 #endif
18260
18261 int
18262 main ()
18263 {
18264 return f != $ac_func;
18265 ;
18266 return 0;
18267 }
18268 _ACEOF
18269 rm -f conftest.$ac_objext conftest$ac_exeext
18270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18271 (eval $ac_link) 2>&5
18272 ac_status=$?
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); } &&
18275 { ac_try='test -s conftest$ac_exeext'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18278 ac_status=$?
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; }; then
18281 eval "$as_ac_var=yes"
18282 else
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.$ac_ext >&5
18285
18286 eval "$as_ac_var=no"
18287 fi
18288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18289 fi
18290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18292 if test `eval echo '${'$as_ac_var'}'` = yes; then
18293 cat >>confdefs.h <<_ACEOF
18294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18295 _ACEOF
18296
18297 fi
18298 done
18299
18300 fi
18301
18302
18303
18304 if test "x$ac_cv_func_regcomp" != "xyes"; then
18305 if test "$wxUSE_REGEX" = "sys" ; then
18306 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18307 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18308 { (exit 1); exit 1; }; }
18309 else
18310 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18311 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18312 wxUSE_REGEX=builtin
18313 fi
18314 else
18315 wxUSE_REGEX=sys
18316 fi
18317 fi
18318
18319 if test "$wxUSE_REGEX" = "builtin" ; then
18320 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18321 fi
18322 fi
18323
18324
18325 ZLIB_INCLUDE=
18326 ZLIB_LINK=
18327 if test "$wxUSE_ZLIB" != "no" ; then
18328 cat >>confdefs.h <<\_ACEOF
18329 #define wxUSE_ZLIB 1
18330 _ACEOF
18331
18332
18333 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18334 if test "$USE_DARWIN" = 1; then
18335 system_zlib_h_ok="yes"
18336 else
18337 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18338 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18339 if test "${ac_cv_header_zlib_h+set}" = set; then
18340 echo $ECHO_N "(cached) $ECHO_C" >&6
18341 else
18342 if test "$cross_compiling" = yes; then
18343 unset ac_cv_header_zlib_h
18344
18345 else
18346 cat >conftest.$ac_ext <<_ACEOF
18347 #line $LINENO "configure"
18348 /* confdefs.h. */
18349 _ACEOF
18350 cat confdefs.h >>conftest.$ac_ext
18351 cat >>conftest.$ac_ext <<_ACEOF
18352 /* end confdefs.h. */
18353
18354 #include <zlib.h>
18355 #include <stdio.h>
18356
18357 int main()
18358 {
18359 FILE *f=fopen("conftestval", "w");
18360 if (!f) exit(1);
18361 fprintf(f, "%s",
18362 ZLIB_VERSION[0] == '1' &&
18363 (ZLIB_VERSION[2] > '1' ||
18364 (ZLIB_VERSION[2] == '1' &&
18365 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18366 exit(0);
18367 }
18368
18369 _ACEOF
18370 rm -f conftest$ac_exeext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18372 (eval $ac_link) 2>&5
18373 ac_status=$?
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18377 (eval $ac_try) 2>&5
18378 ac_status=$?
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); }; }; then
18381 ac_cv_header_zlib_h=`cat conftestval`
18382 else
18383 echo "$as_me: program exited with status $ac_status" >&5
18384 echo "$as_me: failed program was:" >&5
18385 sed 's/^/| /' conftest.$ac_ext >&5
18386
18387 ( exit $ac_status )
18388 ac_cv_header_zlib_h=no
18389 fi
18390 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18391 fi
18392
18393 fi
18394 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18395 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18396 if test "${ac_cv_header_zlib_h+set}" = set; then
18397 echo "$as_me:$LINENO: checking for zlib.h" >&5
18398 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18399 if test "${ac_cv_header_zlib_h+set}" = set; then
18400 echo $ECHO_N "(cached) $ECHO_C" >&6
18401 fi
18402 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18403 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18404 else
18405 # Is the header compilable?
18406 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18407 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18408 cat >conftest.$ac_ext <<_ACEOF
18409 #line $LINENO "configure"
18410 /* confdefs.h. */
18411 _ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 $ac_includes_default
18416 #include <zlib.h>
18417 _ACEOF
18418 rm -f conftest.$ac_objext
18419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18420 (eval $ac_compile) 2>&5
18421 ac_status=$?
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try='test -s conftest.$ac_objext'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18427 ac_status=$?
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; }; then
18430 ac_header_compiler=yes
18431 else
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18434
18435 ac_header_compiler=no
18436 fi
18437 rm -f conftest.$ac_objext conftest.$ac_ext
18438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18439 echo "${ECHO_T}$ac_header_compiler" >&6
18440
18441 # Is the header present?
18442 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18443 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18444 cat >conftest.$ac_ext <<_ACEOF
18445 #line $LINENO "configure"
18446 /* confdefs.h. */
18447 _ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 #include <zlib.h>
18452 _ACEOF
18453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18455 ac_status=$?
18456 grep -v '^ *+' conftest.er1 >conftest.err
18457 rm -f conftest.er1
18458 cat conftest.err >&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); } >/dev/null; then
18461 if test -s conftest.err; then
18462 ac_cpp_err=$ac_c_preproc_warn_flag
18463 else
18464 ac_cpp_err=
18465 fi
18466 else
18467 ac_cpp_err=yes
18468 fi
18469 if test -z "$ac_cpp_err"; then
18470 ac_header_preproc=yes
18471 else
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18474
18475 ac_header_preproc=no
18476 fi
18477 rm -f conftest.err conftest.$ac_ext
18478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18479 echo "${ECHO_T}$ac_header_preproc" >&6
18480
18481 # So? What about this header?
18482 case $ac_header_compiler:$ac_header_preproc in
18483 yes:no )
18484 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18485 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18486 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18487 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18488 (
18489 cat <<\_ASBOX
18490 ## ------------------------------------ ##
18491 ## Report this to bug-autoconf@gnu.org. ##
18492 ## ------------------------------------ ##
18493 _ASBOX
18494 ) |
18495 sed "s/^/$as_me: WARNING: /" >&2
18496 ;;
18497 no:yes )
18498 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18499 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18500 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18501 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18502 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18503 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18504 (
18505 cat <<\_ASBOX
18506 ## ------------------------------------ ##
18507 ## Report this to bug-autoconf@gnu.org. ##
18508 ## ------------------------------------ ##
18509 _ASBOX
18510 ) |
18511 sed "s/^/$as_me: WARNING: /" >&2
18512 ;;
18513 esac
18514 echo "$as_me:$LINENO: checking for zlib.h" >&5
18515 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18516 if test "${ac_cv_header_zlib_h+set}" = set; then
18517 echo $ECHO_N "(cached) $ECHO_C" >&6
18518 else
18519 ac_cv_header_zlib_h=$ac_header_preproc
18520 fi
18521 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18522 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18523
18524 fi
18525
18526
18527
18528 system_zlib_h_ok=$ac_cv_header_zlib_h
18529 fi
18530
18531 if test "$system_zlib_h_ok" = "yes"; then
18532 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18533 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18534 if test "${ac_cv_lib_z_deflate+set}" = set; then
18535 echo $ECHO_N "(cached) $ECHO_C" >&6
18536 else
18537 ac_check_lib_save_LIBS=$LIBS
18538 LIBS="-lz $LIBS"
18539 cat >conftest.$ac_ext <<_ACEOF
18540 #line $LINENO "configure"
18541 /* confdefs.h. */
18542 _ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546
18547 /* Override any gcc2 internal prototype to avoid an error. */
18548 #ifdef __cplusplus
18549 extern "C"
18550 #endif
18551 /* We use char because int might match the return type of a gcc2
18552 builtin and then its argument prototype would still apply. */
18553 char deflate ();
18554 int
18555 main ()
18556 {
18557 deflate ();
18558 ;
18559 return 0;
18560 }
18561 _ACEOF
18562 rm -f conftest.$ac_objext conftest$ac_exeext
18563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18564 (eval $ac_link) 2>&5
18565 ac_status=$?
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); } &&
18568 { ac_try='test -s conftest$ac_exeext'
18569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570 (eval $ac_try) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; }; then
18574 ac_cv_lib_z_deflate=yes
18575 else
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.$ac_ext >&5
18578
18579 ac_cv_lib_z_deflate=no
18580 fi
18581 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18582 LIBS=$ac_check_lib_save_LIBS
18583 fi
18584 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18585 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18586 if test $ac_cv_lib_z_deflate = yes; then
18587 ZLIB_LINK=" -lz"
18588 fi
18589
18590 fi
18591
18592 if test "x$ZLIB_LINK" = "x" ; then
18593 if test "$wxUSE_ZLIB" = "sys" ; then
18594 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18595 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18596 { (exit 1); exit 1; }; }
18597 else
18598 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18599 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18600 wxUSE_ZLIB=builtin
18601 fi
18602 else
18603 wxUSE_ZLIB=sys
18604 fi
18605 fi
18606
18607 if test "$wxUSE_ZLIB" = "builtin" ; then
18608 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18609 fi
18610 fi
18611
18612
18613 PNG_INCLUDE=
18614 PNG_LINK=
18615 if test "$wxUSE_LIBPNG" != "no" ; then
18616 cat >>confdefs.h <<\_ACEOF
18617 #define wxUSE_LIBPNG 1
18618 _ACEOF
18619
18620
18621 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18622 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18623 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18624 wxUSE_LIBPNG=sys
18625 fi
18626
18627 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18628 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18629 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18630 wxUSE_LIBPNG=builtin
18631 fi
18632
18633 if test "$wxUSE_MGL" != 1 ; then
18634 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18635 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18636 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18637 if test "${ac_cv_header_png_h+set}" = set; then
18638 echo $ECHO_N "(cached) $ECHO_C" >&6
18639 else
18640 if test "$cross_compiling" = yes; then
18641 unset ac_cv_header_png_h
18642
18643 else
18644 cat >conftest.$ac_ext <<_ACEOF
18645 #line $LINENO "configure"
18646 /* confdefs.h. */
18647 _ACEOF
18648 cat confdefs.h >>conftest.$ac_ext
18649 cat >>conftest.$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18651
18652 #include <png.h>
18653 #include <stdio.h>
18654
18655 int main()
18656 {
18657 FILE *f=fopen("conftestval", "w");
18658 if (!f) exit(1);
18659 fprintf(f, "%s",
18660 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18661 exit(0);
18662 }
18663
18664 _ACEOF
18665 rm -f conftest$ac_exeext
18666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18667 (eval $ac_link) 2>&5
18668 ac_status=$?
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18673 ac_status=$?
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; }; then
18676 ac_cv_header_png_h=`cat conftestval`
18677 else
18678 echo "$as_me: program exited with status $ac_status" >&5
18679 echo "$as_me: failed program was:" >&5
18680 sed 's/^/| /' conftest.$ac_ext >&5
18681
18682 ( exit $ac_status )
18683 ac_cv_header_png_h=no
18684 fi
18685 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18686 fi
18687
18688 fi
18689 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18690 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18691 if test "${ac_cv_header_png_h+set}" = set; then
18692 echo "$as_me:$LINENO: checking for png.h" >&5
18693 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18694 if test "${ac_cv_header_png_h+set}" = set; then
18695 echo $ECHO_N "(cached) $ECHO_C" >&6
18696 fi
18697 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18698 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18699 else
18700 # Is the header compilable?
18701 echo "$as_me:$LINENO: checking png.h usability" >&5
18702 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18703 cat >conftest.$ac_ext <<_ACEOF
18704 #line $LINENO "configure"
18705 /* confdefs.h. */
18706 _ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h. */
18710 $ac_includes_default
18711 #include <png.h>
18712 _ACEOF
18713 rm -f conftest.$ac_objext
18714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18715 (eval $ac_compile) 2>&5
18716 ac_status=$?
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } &&
18719 { ac_try='test -s conftest.$ac_objext'
18720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18721 (eval $ac_try) 2>&5
18722 ac_status=$?
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; }; then
18725 ac_header_compiler=yes
18726 else
18727 echo "$as_me: failed program was:" >&5
18728 sed 's/^/| /' conftest.$ac_ext >&5
18729
18730 ac_header_compiler=no
18731 fi
18732 rm -f conftest.$ac_objext conftest.$ac_ext
18733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18734 echo "${ECHO_T}$ac_header_compiler" >&6
18735
18736 # Is the header present?
18737 echo "$as_me:$LINENO: checking png.h presence" >&5
18738 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18739 cat >conftest.$ac_ext <<_ACEOF
18740 #line $LINENO "configure"
18741 /* confdefs.h. */
18742 _ACEOF
18743 cat confdefs.h >>conftest.$ac_ext
18744 cat >>conftest.$ac_ext <<_ACEOF
18745 /* end confdefs.h. */
18746 #include <png.h>
18747 _ACEOF
18748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18750 ac_status=$?
18751 grep -v '^ *+' conftest.er1 >conftest.err
18752 rm -f conftest.er1
18753 cat conftest.err >&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } >/dev/null; then
18756 if test -s conftest.err; then
18757 ac_cpp_err=$ac_c_preproc_warn_flag
18758 else
18759 ac_cpp_err=
18760 fi
18761 else
18762 ac_cpp_err=yes
18763 fi
18764 if test -z "$ac_cpp_err"; then
18765 ac_header_preproc=yes
18766 else
18767 echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.$ac_ext >&5
18769
18770 ac_header_preproc=no
18771 fi
18772 rm -f conftest.err conftest.$ac_ext
18773 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18774 echo "${ECHO_T}$ac_header_preproc" >&6
18775
18776 # So? What about this header?
18777 case $ac_header_compiler:$ac_header_preproc in
18778 yes:no )
18779 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18780 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18781 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18782 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18783 (
18784 cat <<\_ASBOX
18785 ## ------------------------------------ ##
18786 ## Report this to bug-autoconf@gnu.org. ##
18787 ## ------------------------------------ ##
18788 _ASBOX
18789 ) |
18790 sed "s/^/$as_me: WARNING: /" >&2
18791 ;;
18792 no:yes )
18793 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18794 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18795 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18796 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18797 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18798 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18799 (
18800 cat <<\_ASBOX
18801 ## ------------------------------------ ##
18802 ## Report this to bug-autoconf@gnu.org. ##
18803 ## ------------------------------------ ##
18804 _ASBOX
18805 ) |
18806 sed "s/^/$as_me: WARNING: /" >&2
18807 ;;
18808 esac
18809 echo "$as_me:$LINENO: checking for png.h" >&5
18810 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18811 if test "${ac_cv_header_png_h+set}" = set; then
18812 echo $ECHO_N "(cached) $ECHO_C" >&6
18813 else
18814 ac_cv_header_png_h=$ac_header_preproc
18815 fi
18816 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18817 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18818
18819 fi
18820
18821
18822
18823 if test "$ac_cv_header_png_h" = "yes"; then
18824 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18825 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18826 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 else
18829 ac_check_lib_save_LIBS=$LIBS
18830 LIBS="-lpng -lz -lm $LIBS"
18831 cat >conftest.$ac_ext <<_ACEOF
18832 #line $LINENO "configure"
18833 /* confdefs.h. */
18834 _ACEOF
18835 cat confdefs.h >>conftest.$ac_ext
18836 cat >>conftest.$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18838
18839 /* Override any gcc2 internal prototype to avoid an error. */
18840 #ifdef __cplusplus
18841 extern "C"
18842 #endif
18843 /* We use char because int might match the return type of a gcc2
18844 builtin and then its argument prototype would still apply. */
18845 char png_check_sig ();
18846 int
18847 main ()
18848 {
18849 png_check_sig ();
18850 ;
18851 return 0;
18852 }
18853 _ACEOF
18854 rm -f conftest.$ac_objext conftest$ac_exeext
18855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18856 (eval $ac_link) 2>&5
18857 ac_status=$?
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } &&
18860 { ac_try='test -s conftest$ac_exeext'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18863 ac_status=$?
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; }; then
18866 ac_cv_lib_png_png_check_sig=yes
18867 else
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.$ac_ext >&5
18870
18871 ac_cv_lib_png_png_check_sig=no
18872 fi
18873 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18874 LIBS=$ac_check_lib_save_LIBS
18875 fi
18876 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18877 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18878 if test $ac_cv_lib_png_png_check_sig = yes; then
18879 PNG_LINK=" -lpng"
18880 fi
18881
18882 fi
18883
18884 if test "x$PNG_LINK" = "x" ; then
18885 if test "$wxUSE_LIBPNG" = "sys" ; then
18886 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18887 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18888 { (exit 1); exit 1; }; }
18889 else
18890 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18891 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18892 wxUSE_LIBPNG=builtin
18893 fi
18894 else
18895 wxUSE_LIBPNG=sys
18896 fi
18897 fi
18898 fi
18899
18900 if test "$wxUSE_LIBPNG" = "builtin" ; then
18901 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18902 fi
18903
18904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18905 fi
18906
18907
18908 JPEG_INCLUDE=
18909 JPEG_LINK=
18910 if test "$wxUSE_LIBJPEG" != "no" ; then
18911 cat >>confdefs.h <<\_ACEOF
18912 #define wxUSE_LIBJPEG 1
18913 _ACEOF
18914
18915
18916 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18917 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18918 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18919 wxUSE_LIBJPEG=sys
18920 fi
18921
18922 if test "$wxUSE_MGL" != 1 ; then
18923 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18924 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18925 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18926 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18928 else
18929 cat >conftest.$ac_ext <<_ACEOF
18930 #line $LINENO "configure"
18931 /* confdefs.h. */
18932 _ACEOF
18933 cat confdefs.h >>conftest.$ac_ext
18934 cat >>conftest.$ac_ext <<_ACEOF
18935 /* end confdefs.h. */
18936
18937 #undef HAVE_STDLIB_H
18938 #include <stdio.h>
18939 #include <jpeglib.h>
18940
18941 int
18942 main ()
18943 {
18944
18945
18946 ;
18947 return 0;
18948 }
18949 _ACEOF
18950 rm -f conftest.$ac_objext
18951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18952 (eval $ac_compile) 2>&5
18953 ac_status=$?
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); } &&
18956 { ac_try='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18959 ac_status=$?
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18962 ac_cv_header_jpeglib_h=yes
18963 else
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.$ac_ext >&5
18966
18967 ac_cv_header_jpeglib_h=no
18968
18969 fi
18970 rm -f conftest.$ac_objext conftest.$ac_ext
18971
18972 fi
18973
18974 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18975 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18976
18977 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18978 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18979 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18980 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 else
18983 ac_check_lib_save_LIBS=$LIBS
18984 LIBS="-ljpeg $LIBS"
18985 cat >conftest.$ac_ext <<_ACEOF
18986 #line $LINENO "configure"
18987 /* confdefs.h. */
18988 _ACEOF
18989 cat confdefs.h >>conftest.$ac_ext
18990 cat >>conftest.$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18992
18993 /* Override any gcc2 internal prototype to avoid an error. */
18994 #ifdef __cplusplus
18995 extern "C"
18996 #endif
18997 /* We use char because int might match the return type of a gcc2
18998 builtin and then its argument prototype would still apply. */
18999 char jpeg_read_header ();
19000 int
19001 main ()
19002 {
19003 jpeg_read_header ();
19004 ;
19005 return 0;
19006 }
19007 _ACEOF
19008 rm -f conftest.$ac_objext conftest$ac_exeext
19009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19010 (eval $ac_link) 2>&5
19011 ac_status=$?
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); } &&
19014 { ac_try='test -s conftest$ac_exeext'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19017 ac_status=$?
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; }; then
19020 ac_cv_lib_jpeg_jpeg_read_header=yes
19021 else
19022 echo "$as_me: failed program was:" >&5
19023 sed 's/^/| /' conftest.$ac_ext >&5
19024
19025 ac_cv_lib_jpeg_jpeg_read_header=no
19026 fi
19027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19028 LIBS=$ac_check_lib_save_LIBS
19029 fi
19030 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19031 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19032 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19033 JPEG_LINK=" -ljpeg"
19034 fi
19035
19036 fi
19037
19038 if test "x$JPEG_LINK" = "x" ; then
19039 if test "$wxUSE_LIBJPEG" = "sys" ; then
19040 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19041 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19042 { (exit 1); exit 1; }; }
19043 else
19044 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19045 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19046 wxUSE_LIBJPEG=builtin
19047 fi
19048 else
19049 wxUSE_LIBJPEG=sys
19050 fi
19051 fi
19052 fi
19053
19054 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19055 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
19056 fi
19057 fi
19058
19059
19060 TIFF_INCLUDE=
19061 TIFF_LINK=
19062 TIFF_PREREQ_LINKS=-lm
19063 if test "$wxUSE_LIBTIFF" != "no" ; then
19064 cat >>confdefs.h <<\_ACEOF
19065 #define wxUSE_LIBTIFF 1
19066 _ACEOF
19067
19068
19069 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19070 if test "$wxUSE_LIBJPEG" = "sys"; then
19071 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19072 fi
19073 if test "$wxUSE_ZLIB" = "sys"; then
19074 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19075 fi
19076 if test "${ac_cv_header_tiffio_h+set}" = set; then
19077 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19078 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19079 if test "${ac_cv_header_tiffio_h+set}" = set; then
19080 echo $ECHO_N "(cached) $ECHO_C" >&6
19081 fi
19082 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19083 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19084 else
19085 # Is the header compilable?
19086 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19087 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19088 cat >conftest.$ac_ext <<_ACEOF
19089 #line $LINENO "configure"
19090 /* confdefs.h. */
19091 _ACEOF
19092 cat confdefs.h >>conftest.$ac_ext
19093 cat >>conftest.$ac_ext <<_ACEOF
19094 /* end confdefs.h. */
19095 $ac_includes_default
19096 #include <tiffio.h>
19097 _ACEOF
19098 rm -f conftest.$ac_objext
19099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19100 (eval $ac_compile) 2>&5
19101 ac_status=$?
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } &&
19104 { ac_try='test -s conftest.$ac_objext'
19105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19106 (eval $ac_try) 2>&5
19107 ac_status=$?
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); }; }; then
19110 ac_header_compiler=yes
19111 else
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.$ac_ext >&5
19114
19115 ac_header_compiler=no
19116 fi
19117 rm -f conftest.$ac_objext conftest.$ac_ext
19118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19119 echo "${ECHO_T}$ac_header_compiler" >&6
19120
19121 # Is the header present?
19122 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19123 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19124 cat >conftest.$ac_ext <<_ACEOF
19125 #line $LINENO "configure"
19126 /* confdefs.h. */
19127 _ACEOF
19128 cat confdefs.h >>conftest.$ac_ext
19129 cat >>conftest.$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 #include <tiffio.h>
19132 _ACEOF
19133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19134 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19135 ac_status=$?
19136 grep -v '^ *+' conftest.er1 >conftest.err
19137 rm -f conftest.er1
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } >/dev/null; then
19141 if test -s conftest.err; then
19142 ac_cpp_err=$ac_c_preproc_warn_flag
19143 else
19144 ac_cpp_err=
19145 fi
19146 else
19147 ac_cpp_err=yes
19148 fi
19149 if test -z "$ac_cpp_err"; then
19150 ac_header_preproc=yes
19151 else
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.$ac_ext >&5
19154
19155 ac_header_preproc=no
19156 fi
19157 rm -f conftest.err conftest.$ac_ext
19158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19159 echo "${ECHO_T}$ac_header_preproc" >&6
19160
19161 # So? What about this header?
19162 case $ac_header_compiler:$ac_header_preproc in
19163 yes:no )
19164 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19165 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19166 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19167 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19168 (
19169 cat <<\_ASBOX
19170 ## ------------------------------------ ##
19171 ## Report this to bug-autoconf@gnu.org. ##
19172 ## ------------------------------------ ##
19173 _ASBOX
19174 ) |
19175 sed "s/^/$as_me: WARNING: /" >&2
19176 ;;
19177 no:yes )
19178 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19179 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19180 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19181 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19182 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19183 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19184 (
19185 cat <<\_ASBOX
19186 ## ------------------------------------ ##
19187 ## Report this to bug-autoconf@gnu.org. ##
19188 ## ------------------------------------ ##
19189 _ASBOX
19190 ) |
19191 sed "s/^/$as_me: WARNING: /" >&2
19192 ;;
19193 esac
19194 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19195 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19196 if test "${ac_cv_header_tiffio_h+set}" = set; then
19197 echo $ECHO_N "(cached) $ECHO_C" >&6
19198 else
19199 ac_cv_header_tiffio_h=$ac_header_preproc
19200 fi
19201 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19202 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19203
19204 fi
19205 if test $ac_cv_header_tiffio_h = yes; then
19206 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19207 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19208 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19209 echo $ECHO_N "(cached) $ECHO_C" >&6
19210 else
19211 ac_check_lib_save_LIBS=$LIBS
19212 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19213 cat >conftest.$ac_ext <<_ACEOF
19214 #line $LINENO "configure"
19215 /* confdefs.h. */
19216 _ACEOF
19217 cat confdefs.h >>conftest.$ac_ext
19218 cat >>conftest.$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19220
19221 /* Override any gcc2 internal prototype to avoid an error. */
19222 #ifdef __cplusplus
19223 extern "C"
19224 #endif
19225 /* We use char because int might match the return type of a gcc2
19226 builtin and then its argument prototype would still apply. */
19227 char TIFFError ();
19228 int
19229 main ()
19230 {
19231 TIFFError ();
19232 ;
19233 return 0;
19234 }
19235 _ACEOF
19236 rm -f conftest.$ac_objext conftest$ac_exeext
19237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19238 (eval $ac_link) 2>&5
19239 ac_status=$?
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } &&
19242 { ac_try='test -s conftest$ac_exeext'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19245 ac_status=$?
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; }; then
19248 ac_cv_lib_tiff_TIFFError=yes
19249 else
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.$ac_ext >&5
19252
19253 ac_cv_lib_tiff_TIFFError=no
19254 fi
19255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19256 LIBS=$ac_check_lib_save_LIBS
19257 fi
19258 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19259 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19260 if test $ac_cv_lib_tiff_TIFFError = yes; then
19261 TIFF_LINK=" -ltiff"
19262 fi
19263
19264
19265 fi
19266
19267
19268
19269 if test "x$TIFF_LINK" = "x" ; then
19270 if test "$wxUSE_LIBTIFF" = "sys" ; then
19271 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19272 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19273 { (exit 1); exit 1; }; }
19274 else
19275 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19276 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19277 wxUSE_LIBTIFF=builtin
19278 fi
19279 else
19280 wxUSE_LIBTIFF=sys
19281 fi
19282 fi
19283
19284 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19285 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19286 fi
19287 fi
19288
19289
19290 if test "$wxUSE_EXPAT" != "no"; then
19291 wxUSE_XML=1
19292 cat >>confdefs.h <<\_ACEOF
19293 #define wxUSE_EXPAT 1
19294 _ACEOF
19295
19296 cat >>confdefs.h <<\_ACEOF
19297 #define wxUSE_XML 1
19298 _ACEOF
19299
19300
19301 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19302 if test "${ac_cv_header_expat_h+set}" = set; then
19303 echo "$as_me:$LINENO: checking for expat.h" >&5
19304 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19305 if test "${ac_cv_header_expat_h+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 fi
19308 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19309 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19310 else
19311 # Is the header compilable?
19312 echo "$as_me:$LINENO: checking expat.h usability" >&5
19313 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19314 cat >conftest.$ac_ext <<_ACEOF
19315 #line $LINENO "configure"
19316 /* confdefs.h. */
19317 _ACEOF
19318 cat confdefs.h >>conftest.$ac_ext
19319 cat >>conftest.$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 $ac_includes_default
19322 #include <expat.h>
19323 _ACEOF
19324 rm -f conftest.$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>&5
19327 ac_status=$?
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try='test -s conftest.$ac_objext'
19331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19332 (eval $ac_try) 2>&5
19333 ac_status=$?
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); }; }; then
19336 ac_header_compiler=yes
19337 else
19338 echo "$as_me: failed program was:" >&5
19339 sed 's/^/| /' conftest.$ac_ext >&5
19340
19341 ac_header_compiler=no
19342 fi
19343 rm -f conftest.$ac_objext conftest.$ac_ext
19344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19345 echo "${ECHO_T}$ac_header_compiler" >&6
19346
19347 # Is the header present?
19348 echo "$as_me:$LINENO: checking expat.h presence" >&5
19349 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19350 cat >conftest.$ac_ext <<_ACEOF
19351 #line $LINENO "configure"
19352 /* confdefs.h. */
19353 _ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 #include <expat.h>
19358 _ACEOF
19359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19361 ac_status=$?
19362 grep -v '^ *+' conftest.er1 >conftest.err
19363 rm -f conftest.er1
19364 cat conftest.err >&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); } >/dev/null; then
19367 if test -s conftest.err; then
19368 ac_cpp_err=$ac_c_preproc_warn_flag
19369 else
19370 ac_cpp_err=
19371 fi
19372 else
19373 ac_cpp_err=yes
19374 fi
19375 if test -z "$ac_cpp_err"; then
19376 ac_header_preproc=yes
19377 else
19378 echo "$as_me: failed program was:" >&5
19379 sed 's/^/| /' conftest.$ac_ext >&5
19380
19381 ac_header_preproc=no
19382 fi
19383 rm -f conftest.err conftest.$ac_ext
19384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19385 echo "${ECHO_T}$ac_header_preproc" >&6
19386
19387 # So? What about this header?
19388 case $ac_header_compiler:$ac_header_preproc in
19389 yes:no )
19390 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19391 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19392 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19393 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19394 (
19395 cat <<\_ASBOX
19396 ## ------------------------------------ ##
19397 ## Report this to bug-autoconf@gnu.org. ##
19398 ## ------------------------------------ ##
19399 _ASBOX
19400 ) |
19401 sed "s/^/$as_me: WARNING: /" >&2
19402 ;;
19403 no:yes )
19404 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19405 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19406 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19407 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19408 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19409 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19410 (
19411 cat <<\_ASBOX
19412 ## ------------------------------------ ##
19413 ## Report this to bug-autoconf@gnu.org. ##
19414 ## ------------------------------------ ##
19415 _ASBOX
19416 ) |
19417 sed "s/^/$as_me: WARNING: /" >&2
19418 ;;
19419 esac
19420 echo "$as_me:$LINENO: checking for expat.h" >&5
19421 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19422 if test "${ac_cv_header_expat_h+set}" = set; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19424 else
19425 ac_cv_header_expat_h=$ac_header_preproc
19426 fi
19427 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19428 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19429
19430 fi
19431 if test $ac_cv_header_expat_h = yes; then
19432 found_expat_h=1
19433 fi
19434
19435
19436 if test "x$found_expat_h" = "x1"; then
19437 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19438 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19439 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19441 else
19442
19443
19444
19445 ac_ext=cc
19446 ac_cpp='$CXXCPP $CPPFLAGS'
19447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19450
19451 cat >conftest.$ac_ext <<_ACEOF
19452 #line $LINENO "configure"
19453 /* confdefs.h. */
19454 _ACEOF
19455 cat confdefs.h >>conftest.$ac_ext
19456 cat >>conftest.$ac_ext <<_ACEOF
19457 /* end confdefs.h. */
19458 #include <expat.h>
19459 int
19460 main ()
19461 {
19462
19463 ;
19464 return 0;
19465 }
19466 _ACEOF
19467 rm -f conftest.$ac_objext
19468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19469 (eval $ac_compile) 2>&5
19470 ac_status=$?
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } &&
19473 { ac_try='test -s conftest.$ac_objext'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19476 ac_status=$?
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; }; then
19479 wx_cv_expat_is_not_broken=yes
19480 else
19481 echo "$as_me: failed program was:" >&5
19482 sed 's/^/| /' conftest.$ac_ext >&5
19483
19484 wx_cv_expat_is_not_broken=no
19485
19486 fi
19487 rm -f conftest.$ac_objext conftest.$ac_ext
19488 ac_ext=c
19489 ac_cpp='$CPP $CPPFLAGS'
19490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19493
19494
19495
19496 fi
19497 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19498 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19499 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19500 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19501 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19502 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19503 echo $ECHO_N "(cached) $ECHO_C" >&6
19504 else
19505 ac_check_lib_save_LIBS=$LIBS
19506 LIBS="-lexpat $LIBS"
19507 cat >conftest.$ac_ext <<_ACEOF
19508 #line $LINENO "configure"
19509 /* confdefs.h. */
19510 _ACEOF
19511 cat confdefs.h >>conftest.$ac_ext
19512 cat >>conftest.$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514
19515 /* Override any gcc2 internal prototype to avoid an error. */
19516 #ifdef __cplusplus
19517 extern "C"
19518 #endif
19519 /* We use char because int might match the return type of a gcc2
19520 builtin and then its argument prototype would still apply. */
19521 char XML_ParserCreate ();
19522 int
19523 main ()
19524 {
19525 XML_ParserCreate ();
19526 ;
19527 return 0;
19528 }
19529 _ACEOF
19530 rm -f conftest.$ac_objext conftest$ac_exeext
19531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19532 (eval $ac_link) 2>&5
19533 ac_status=$?
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } &&
19536 { ac_try='test -s conftest$ac_exeext'
19537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538 (eval $ac_try) 2>&5
19539 ac_status=$?
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); }; }; then
19542 ac_cv_lib_expat_XML_ParserCreate=yes
19543 else
19544 echo "$as_me: failed program was:" >&5
19545 sed 's/^/| /' conftest.$ac_ext >&5
19546
19547 ac_cv_lib_expat_XML_ParserCreate=no
19548 fi
19549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19550 LIBS=$ac_check_lib_save_LIBS
19551 fi
19552 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19553 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19554 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19555 EXPAT_LINK=" -lexpat"
19556 fi
19557
19558 fi
19559 fi
19560 if test "x$EXPAT_LINK" = "x" ; then
19561 if test "$wxUSE_EXPAT" = "sys" ; then
19562 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19563 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19564 { (exit 1); exit 1; }; }
19565 else
19566 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19567 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19568 wxUSE_EXPAT=builtin
19569 fi
19570 else
19571 wxUSE_EXPAT=sys
19572 fi
19573 fi
19574 if test "$wxUSE_EXPAT" = "builtin" ; then
19575
19576
19577 subdirs="$subdirs src/expat"
19578
19579 fi
19580 fi
19581
19582
19583
19584 AFMINSTALL=
19585 WIN32INSTALL=
19586
19587 TOOLKIT=
19588 TOOLKIT_INCLUDE=
19589 WIDGET_SET=
19590
19591 if test "$USE_WIN32" = 1 ; then
19592
19593 for ac_header in w32api.h
19594 do
19595 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19597 echo "$as_me:$LINENO: checking for $ac_header" >&5
19598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 fi
19602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19604 else
19605 # Is the header compilable?
19606 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19607 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19608 cat >conftest.$ac_ext <<_ACEOF
19609 #line $LINENO "configure"
19610 /* confdefs.h. */
19611 _ACEOF
19612 cat confdefs.h >>conftest.$ac_ext
19613 cat >>conftest.$ac_ext <<_ACEOF
19614 /* end confdefs.h. */
19615 $ac_includes_default
19616 #include <$ac_header>
19617 _ACEOF
19618 rm -f conftest.$ac_objext
19619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19620 (eval $ac_compile) 2>&5
19621 ac_status=$?
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } &&
19624 { ac_try='test -s conftest.$ac_objext'
19625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626 (eval $ac_try) 2>&5
19627 ac_status=$?
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); }; }; then
19630 ac_header_compiler=yes
19631 else
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.$ac_ext >&5
19634
19635 ac_header_compiler=no
19636 fi
19637 rm -f conftest.$ac_objext conftest.$ac_ext
19638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19639 echo "${ECHO_T}$ac_header_compiler" >&6
19640
19641 # Is the header present?
19642 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19643 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19644 cat >conftest.$ac_ext <<_ACEOF
19645 #line $LINENO "configure"
19646 /* confdefs.h. */
19647 _ACEOF
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 #include <$ac_header>
19652 _ACEOF
19653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19655 ac_status=$?
19656 grep -v '^ *+' conftest.er1 >conftest.err
19657 rm -f conftest.er1
19658 cat conftest.err >&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } >/dev/null; then
19661 if test -s conftest.err; then
19662 ac_cpp_err=$ac_c_preproc_warn_flag
19663 else
19664 ac_cpp_err=
19665 fi
19666 else
19667 ac_cpp_err=yes
19668 fi
19669 if test -z "$ac_cpp_err"; then
19670 ac_header_preproc=yes
19671 else
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19674
19675 ac_header_preproc=no
19676 fi
19677 rm -f conftest.err conftest.$ac_ext
19678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19679 echo "${ECHO_T}$ac_header_preproc" >&6
19680
19681 # So? What about this header?
19682 case $ac_header_compiler:$ac_header_preproc in
19683 yes:no )
19684 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19685 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19688 (
19689 cat <<\_ASBOX
19690 ## ------------------------------------ ##
19691 ## Report this to bug-autoconf@gnu.org. ##
19692 ## ------------------------------------ ##
19693 _ASBOX
19694 ) |
19695 sed "s/^/$as_me: WARNING: /" >&2
19696 ;;
19697 no:yes )
19698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19704 (
19705 cat <<\_ASBOX
19706 ## ------------------------------------ ##
19707 ## Report this to bug-autoconf@gnu.org. ##
19708 ## ------------------------------------ ##
19709 _ASBOX
19710 ) |
19711 sed "s/^/$as_me: WARNING: /" >&2
19712 ;;
19713 esac
19714 echo "$as_me:$LINENO: checking for $ac_header" >&5
19715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 else
19719 eval "$as_ac_Header=$ac_header_preproc"
19720 fi
19721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19723
19724 fi
19725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19726 cat >>confdefs.h <<_ACEOF
19727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19728 _ACEOF
19729
19730 fi
19731
19732 done
19733
19734 if test "${ac_cv_header_windows_h+set}" = set; then
19735 echo "$as_me:$LINENO: checking for windows.h" >&5
19736 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19737 if test "${ac_cv_header_windows_h+set}" = set; then
19738 echo $ECHO_N "(cached) $ECHO_C" >&6
19739 fi
19740 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19741 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19742 else
19743 # Is the header compilable?
19744 echo "$as_me:$LINENO: checking windows.h usability" >&5
19745 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19746 cat >conftest.$ac_ext <<_ACEOF
19747 #line $LINENO "configure"
19748 /* confdefs.h. */
19749 _ACEOF
19750 cat confdefs.h >>conftest.$ac_ext
19751 cat >>conftest.$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753 $ac_includes_default
19754 #include <windows.h>
19755 _ACEOF
19756 rm -f conftest.$ac_objext
19757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19758 (eval $ac_compile) 2>&5
19759 ac_status=$?
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } &&
19762 { ac_try='test -s conftest.$ac_objext'
19763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19764 (eval $ac_try) 2>&5
19765 ac_status=$?
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); }; }; then
19768 ac_header_compiler=yes
19769 else
19770 echo "$as_me: failed program was:" >&5
19771 sed 's/^/| /' conftest.$ac_ext >&5
19772
19773 ac_header_compiler=no
19774 fi
19775 rm -f conftest.$ac_objext conftest.$ac_ext
19776 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19777 echo "${ECHO_T}$ac_header_compiler" >&6
19778
19779 # Is the header present?
19780 echo "$as_me:$LINENO: checking windows.h presence" >&5
19781 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19782 cat >conftest.$ac_ext <<_ACEOF
19783 #line $LINENO "configure"
19784 /* confdefs.h. */
19785 _ACEOF
19786 cat confdefs.h >>conftest.$ac_ext
19787 cat >>conftest.$ac_ext <<_ACEOF
19788 /* end confdefs.h. */
19789 #include <windows.h>
19790 _ACEOF
19791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19793 ac_status=$?
19794 grep -v '^ *+' conftest.er1 >conftest.err
19795 rm -f conftest.er1
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } >/dev/null; then
19799 if test -s conftest.err; then
19800 ac_cpp_err=$ac_c_preproc_warn_flag
19801 else
19802 ac_cpp_err=
19803 fi
19804 else
19805 ac_cpp_err=yes
19806 fi
19807 if test -z "$ac_cpp_err"; then
19808 ac_header_preproc=yes
19809 else
19810 echo "$as_me: failed program was:" >&5
19811 sed 's/^/| /' conftest.$ac_ext >&5
19812
19813 ac_header_preproc=no
19814 fi
19815 rm -f conftest.err conftest.$ac_ext
19816 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19817 echo "${ECHO_T}$ac_header_preproc" >&6
19818
19819 # So? What about this header?
19820 case $ac_header_compiler:$ac_header_preproc in
19821 yes:no )
19822 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19823 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19824 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19825 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19826 (
19827 cat <<\_ASBOX
19828 ## ------------------------------------ ##
19829 ## Report this to bug-autoconf@gnu.org. ##
19830 ## ------------------------------------ ##
19831 _ASBOX
19832 ) |
19833 sed "s/^/$as_me: WARNING: /" >&2
19834 ;;
19835 no:yes )
19836 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19837 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19838 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19839 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19840 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19841 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19842 (
19843 cat <<\_ASBOX
19844 ## ------------------------------------ ##
19845 ## Report this to bug-autoconf@gnu.org. ##
19846 ## ------------------------------------ ##
19847 _ASBOX
19848 ) |
19849 sed "s/^/$as_me: WARNING: /" >&2
19850 ;;
19851 esac
19852 echo "$as_me:$LINENO: checking for windows.h" >&5
19853 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19854 if test "${ac_cv_header_windows_h+set}" = set; then
19855 echo $ECHO_N "(cached) $ECHO_C" >&6
19856 else
19857 ac_cv_header_windows_h=$ac_header_preproc
19858 fi
19859 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19860 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19861
19862 fi
19863 if test $ac_cv_header_windows_h = yes; then
19864 :
19865 else
19866
19867 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19868 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19869 { (exit 1); exit 1; }; }
19870
19871 fi
19872
19873
19874
19875 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19876
19877 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19878 LIBS="$LIBS -loleacc"
19879 fi
19880
19881 case "${host}" in
19882 *-*-cygwin* )
19883 LIBS="$LIBS -lkernel32 -luser32"
19884 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19885 esac
19886
19887 if test "$wxUSE_ODBC" = "sys" ; then
19888 wxUSE_ODBC = "yes"
19889 fi
19890 if test "$wxUSE_ODBC" = "yes" ; then
19891 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19892 cat >>confdefs.h <<\_ACEOF
19893 #define wxUSE_ODBC 1
19894 _ACEOF
19895
19896 fi
19897
19898 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19899 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19900
19901 WIN32INSTALL=win32install
19902 fi
19903
19904 if test "$wxUSE_GUI" = "yes"; then
19905 USE_GUI=1
19906
19907 GUI_TK_LIBRARY=
19908
19909 WXGTK12=
19910 WXGTK127=
19911 WXGTK20=
19912
19913 if test "$wxUSE_MSW" = 1 ; then
19914 TOOLKIT=MSW
19915 GUIDIST=MSW_DIST
19916 fi
19917
19918 if test "$wxUSE_GTK" = 1; then
19919 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19920 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19921
19922 gtk_version_cached=1
19923 if test "${wx_cv_lib_gtk+set}" = set; then
19924 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 else
19926
19927 gtk_version_cached=0
19928 echo "$as_me:$LINENO: result: " >&5
19929 echo "${ECHO_T}" >&6
19930
19931 GTK_MODULES=
19932 if test "$wxUSE_THREADS" = "yes"; then
19933 GTK_MODULES=gthread
19934 fi
19935
19936 wx_cv_lib_gtk=
19937 if test "x$wxUSE_GTK2" = "xyes"; then
19938 # Check whether --enable-gtktest or --disable-gtktest was given.
19939 if test "${enable_gtktest+set}" = set; then
19940 enableval="$enable_gtktest"
19941
19942 else
19943 enable_gtktest=yes
19944 fi;
19945
19946 pkg_config_args=gtk+-2.0
19947 for module in . $GTK_MODULES
19948 do
19949 case "$module" in
19950 gthread)
19951 pkg_config_args="$pkg_config_args gthread-2.0"
19952 ;;
19953 esac
19954 done
19955
19956 no_gtk=""
19957
19958 # Extract the first word of "pkg-config", so it can be a program name with args.
19959 set dummy pkg-config; ac_word=$2
19960 echo "$as_me:$LINENO: checking for $ac_word" >&5
19961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19962 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19963 echo $ECHO_N "(cached) $ECHO_C" >&6
19964 else
19965 case $PKG_CONFIG in
19966 [\\/]* | ?:[\\/]*)
19967 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19968 ;;
19969 *)
19970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19971 for as_dir in $PATH
19972 do
19973 IFS=$as_save_IFS
19974 test -z "$as_dir" && as_dir=.
19975 for ac_exec_ext in '' $ac_executable_extensions; do
19976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19977 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19979 break 2
19980 fi
19981 done
19982 done
19983
19984 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19985 ;;
19986 esac
19987 fi
19988 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19989
19990 if test -n "$PKG_CONFIG"; then
19991 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19992 echo "${ECHO_T}$PKG_CONFIG" >&6
19993 else
19994 echo "$as_me:$LINENO: result: no" >&5
19995 echo "${ECHO_T}no" >&6
19996 fi
19997
19998
19999 if test x$PKG_CONFIG != xno ; then
20000 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20001 :
20002 else
20003 echo *** pkg-config too old; version 0.7 or better required.
20004 no_gtk=yes
20005 PKG_CONFIG=no
20006 fi
20007 else
20008 no_gtk=yes
20009 fi
20010
20011 min_gtk_version=2.0.0
20012 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20013 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20014
20015 if test x$PKG_CONFIG != xno ; then
20016 ## don't try to run the test against uninstalled libtool libs
20017 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20018 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20019 enable_gtktest=no
20020 fi
20021
20022 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20023 :
20024 else
20025 no_gtk=yes
20026 fi
20027 fi
20028
20029 if test x"$no_gtk" = x ; then
20030 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20031 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20032 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20034 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20036 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20038 if test "x$enable_gtktest" = "xyes" ; then
20039 ac_save_CFLAGS="$CFLAGS"
20040 ac_save_LIBS="$LIBS"
20041 CFLAGS="$CFLAGS $GTK_CFLAGS"
20042 LIBS="$GTK_LIBS $LIBS"
20043 rm -f conf.gtktest
20044 if test "$cross_compiling" = yes; then
20045 echo $ac_n "cross compiling; assumed OK... $ac_c"
20046 else
20047 cat >conftest.$ac_ext <<_ACEOF
20048 #line $LINENO "configure"
20049 /* confdefs.h. */
20050 _ACEOF
20051 cat confdefs.h >>conftest.$ac_ext
20052 cat >>conftest.$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20054
20055 #include <gtk/gtk.h>
20056 #include <stdio.h>
20057 #include <stdlib.h>
20058
20059 int
20060 main ()
20061 {
20062 int major, minor, micro;
20063 char *tmp_version;
20064
20065 system ("touch conf.gtktest");
20066
20067 /* HP/UX 9 (%@#!) writes to sscanf strings */
20068 tmp_version = g_strdup("$min_gtk_version");
20069 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20070 printf("%s, bad version string\n", "$min_gtk_version");
20071 exit(1);
20072 }
20073
20074 if ((gtk_major_version != $gtk_config_major_version) ||
20075 (gtk_minor_version != $gtk_config_minor_version) ||
20076 (gtk_micro_version != $gtk_config_micro_version))
20077 {
20078 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20079 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20080 gtk_major_version, gtk_minor_version, gtk_micro_version);
20081 printf ("*** was found! If pkg-config was correct, then it is best\n");
20082 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20083 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20084 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20085 printf("*** required on your system.\n");
20086 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20087 printf("*** to point to the correct configuration files\n");
20088 }
20089 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20090 (gtk_minor_version != GTK_MINOR_VERSION) ||
20091 (gtk_micro_version != GTK_MICRO_VERSION))
20092 {
20093 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20094 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20095 printf("*** library (version %d.%d.%d)\n",
20096 gtk_major_version, gtk_minor_version, gtk_micro_version);
20097 }
20098 else
20099 {
20100 if ((gtk_major_version > major) ||
20101 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20102 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20103 {
20104 return 0;
20105 }
20106 else
20107 {
20108 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20109 gtk_major_version, gtk_minor_version, gtk_micro_version);
20110 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20111 major, minor, micro);
20112 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20113 printf("***\n");
20114 printf("*** If you have already installed a sufficiently new version, this error\n");
20115 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20116 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20117 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20118 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20119 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20120 printf("*** so that the correct libraries are found at run-time))\n");
20121 }
20122 }
20123 return 1;
20124 }
20125
20126 _ACEOF
20127 rm -f conftest$ac_exeext
20128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20129 (eval $ac_link) 2>&5
20130 ac_status=$?
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20134 (eval $ac_try) 2>&5
20135 ac_status=$?
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); }; }; then
20138 :
20139 else
20140 echo "$as_me: program exited with status $ac_status" >&5
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.$ac_ext >&5
20143
20144 ( exit $ac_status )
20145 no_gtk=yes
20146 fi
20147 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20148 fi
20149 CFLAGS="$ac_save_CFLAGS"
20150 LIBS="$ac_save_LIBS"
20151 fi
20152 fi
20153 if test "x$no_gtk" = x ; then
20154 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20155 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20156 wx_cv_lib_gtk=2.0
20157 else
20158 echo "$as_me:$LINENO: result: no" >&5
20159 echo "${ECHO_T}no" >&6
20160 if test "$PKG_CONFIG" = "no" ; then
20161 echo "*** A new enough version of pkg-config was not found."
20162 echo "*** See http://pkgconfig.sourceforge.net"
20163 else
20164 if test -f conf.gtktest ; then
20165 :
20166 else
20167 echo "*** Could not run GTK+ test program, checking why..."
20168 ac_save_CFLAGS="$CFLAGS"
20169 ac_save_LIBS="$LIBS"
20170 CFLAGS="$CFLAGS $GTK_CFLAGS"
20171 LIBS="$LIBS $GTK_LIBS"
20172 cat >conftest.$ac_ext <<_ACEOF
20173 #line $LINENO "configure"
20174 /* confdefs.h. */
20175 _ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179
20180 #include <gtk/gtk.h>
20181 #include <stdio.h>
20182
20183 int
20184 main ()
20185 {
20186 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20187 ;
20188 return 0;
20189 }
20190 _ACEOF
20191 rm -f conftest.$ac_objext conftest$ac_exeext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20193 (eval $ac_link) 2>&5
20194 ac_status=$?
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } &&
20197 { ac_try='test -s conftest$ac_exeext'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20200 ac_status=$?
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; }; then
20203 echo "*** The test program compiled, but did not run. This usually means"
20204 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20205 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20206 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20207 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20208 echo "*** is required on your system"
20209 echo "***"
20210 echo "*** If you have an old version installed, it is best to remove it, although"
20211 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20212 else
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.$ac_ext >&5
20215
20216 echo "*** The test program failed to compile or link. See the file config.log for the"
20217 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20218 fi
20219 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20220 CFLAGS="$ac_save_CFLAGS"
20221 LIBS="$ac_save_LIBS"
20222 fi
20223 fi
20224 GTK_CFLAGS=""
20225 GTK_LIBS=""
20226 :
20227 fi
20228
20229
20230 rm -f conf.gtktest
20231
20232 else
20233
20234 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20235 if test "${with_gtk_prefix+set}" = set; then
20236 withval="$with_gtk_prefix"
20237 gtk_config_prefix="$withval"
20238 else
20239 gtk_config_prefix=""
20240 fi;
20241
20242 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20243 if test "${with_gtk_exec_prefix+set}" = set; then
20244 withval="$with_gtk_exec_prefix"
20245 gtk_config_exec_prefix="$withval"
20246 else
20247 gtk_config_exec_prefix=""
20248 fi;
20249 # Check whether --enable-gtktest or --disable-gtktest was given.
20250 if test "${enable_gtktest+set}" = set; then
20251 enableval="$enable_gtktest"
20252
20253 else
20254 enable_gtktest=yes
20255 fi;
20256
20257 for module in . $GTK_MODULES
20258 do
20259 case "$module" in
20260 gthread)
20261 gtk_config_args="$gtk_config_args gthread"
20262 ;;
20263 esac
20264 done
20265
20266 if test x$gtk_config_exec_prefix != x ; then
20267 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20268 if test x${GTK_CONFIG+set} != xset ; then
20269 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20270 fi
20271 fi
20272 if test x$gtk_config_prefix != x ; then
20273 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20274 if test x${GTK_CONFIG+set} != xset ; then
20275 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20276 fi
20277 fi
20278
20279 # Extract the first word of "gtk-config", so it can be a program name with args.
20280 set dummy gtk-config; ac_word=$2
20281 echo "$as_me:$LINENO: checking for $ac_word" >&5
20282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20283 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20284 echo $ECHO_N "(cached) $ECHO_C" >&6
20285 else
20286 case $GTK_CONFIG in
20287 [\\/]* | ?:[\\/]*)
20288 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20289 ;;
20290 *)
20291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20292 for as_dir in $PATH
20293 do
20294 IFS=$as_save_IFS
20295 test -z "$as_dir" && as_dir=.
20296 for ac_exec_ext in '' $ac_executable_extensions; do
20297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20298 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20300 break 2
20301 fi
20302 done
20303 done
20304
20305 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20306 ;;
20307 esac
20308 fi
20309 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20310
20311 if test -n "$GTK_CONFIG"; then
20312 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20313 echo "${ECHO_T}$GTK_CONFIG" >&6
20314 else
20315 echo "$as_me:$LINENO: result: no" >&5
20316 echo "${ECHO_T}no" >&6
20317 fi
20318
20319 min_gtk_version=1.2.7
20320 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20321 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20322 no_gtk=""
20323 if test "$GTK_CONFIG" = "no" ; then
20324 no_gtk=yes
20325 else
20326 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20327 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20328 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20329 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20330 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20331 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20332 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20333 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20334 if test "x$enable_gtktest" = "xyes" ; then
20335 ac_save_CFLAGS="$CFLAGS"
20336 ac_save_LIBS="$LIBS"
20337 CFLAGS="$CFLAGS $GTK_CFLAGS"
20338 LIBS="$GTK_LIBS $LIBS"
20339 rm -f conf.gtktest
20340 if test "$cross_compiling" = yes; then
20341 echo $ac_n "cross compiling; assumed OK... $ac_c"
20342 else
20343 cat >conftest.$ac_ext <<_ACEOF
20344 #line $LINENO "configure"
20345 /* confdefs.h. */
20346 _ACEOF
20347 cat confdefs.h >>conftest.$ac_ext
20348 cat >>conftest.$ac_ext <<_ACEOF
20349 /* end confdefs.h. */
20350
20351 #include <gtk/gtk.h>
20352 #include <stdio.h>
20353 #include <stdlib.h>
20354
20355 int
20356 main ()
20357 {
20358 int major, minor, micro;
20359 char *tmp_version;
20360
20361 system ("touch conf.gtktest");
20362
20363 /* HP/UX 9 (%@#!) writes to sscanf strings */
20364 tmp_version = g_strdup("$min_gtk_version");
20365 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20366 printf("%s, bad version string\n", "$min_gtk_version");
20367 exit(1);
20368 }
20369
20370 if ((gtk_major_version != $gtk_config_major_version) ||
20371 (gtk_minor_version != $gtk_config_minor_version) ||
20372 (gtk_micro_version != $gtk_config_micro_version))
20373 {
20374 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20375 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20376 gtk_major_version, gtk_minor_version, gtk_micro_version);
20377 printf ("*** was found! If gtk-config was correct, then it is best\n");
20378 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20379 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20380 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20381 printf("*** required on your system.\n");
20382 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20383 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20384 printf("*** before re-running configure\n");
20385 }
20386 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20387 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20388 (gtk_minor_version != GTK_MINOR_VERSION) ||
20389 (gtk_micro_version != GTK_MICRO_VERSION))
20390 {
20391 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20392 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20393 printf("*** library (version %d.%d.%d)\n",
20394 gtk_major_version, gtk_minor_version, gtk_micro_version);
20395 }
20396 #endif /* defined (GTK_MAJOR_VERSION) ... */
20397 else
20398 {
20399 if ((gtk_major_version > major) ||
20400 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20401 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20402 {
20403 return 0;
20404 }
20405 else
20406 {
20407 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20408 gtk_major_version, gtk_minor_version, gtk_micro_version);
20409 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20410 major, minor, micro);
20411 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20412 printf("***\n");
20413 printf("*** If you have already installed a sufficiently new version, this error\n");
20414 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20415 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20416 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20417 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20418 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20419 printf("*** so that the correct libraries are found at run-time))\n");
20420 }
20421 }
20422 return 1;
20423 }
20424
20425 _ACEOF
20426 rm -f conftest$ac_exeext
20427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20428 (eval $ac_link) 2>&5
20429 ac_status=$?
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20433 (eval $ac_try) 2>&5
20434 ac_status=$?
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); }; }; then
20437 :
20438 else
20439 echo "$as_me: program exited with status $ac_status" >&5
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20442
20443 ( exit $ac_status )
20444 no_gtk=yes
20445 fi
20446 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20447 fi
20448 CFLAGS="$ac_save_CFLAGS"
20449 LIBS="$ac_save_LIBS"
20450 fi
20451 fi
20452 if test "x$no_gtk" = x ; then
20453 echo "$as_me:$LINENO: result: yes" >&5
20454 echo "${ECHO_T}yes" >&6
20455 wx_cv_lib_gtk=1.2.7
20456 else
20457 echo "$as_me:$LINENO: result: no" >&5
20458 echo "${ECHO_T}no" >&6
20459 if test "$GTK_CONFIG" = "no" ; then
20460 echo "*** The gtk-config script installed by GTK could not be found"
20461 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20462 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20463 echo "*** full path to gtk-config."
20464 else
20465 if test -f conf.gtktest ; then
20466 :
20467 else
20468 echo "*** Could not run GTK test program, checking why..."
20469 CFLAGS="$CFLAGS $GTK_CFLAGS"
20470 LIBS="$LIBS $GTK_LIBS"
20471 cat >conftest.$ac_ext <<_ACEOF
20472 #line $LINENO "configure"
20473 /* confdefs.h. */
20474 _ACEOF
20475 cat confdefs.h >>conftest.$ac_ext
20476 cat >>conftest.$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478
20479 #include <gtk/gtk.h>
20480 #include <stdio.h>
20481
20482 int
20483 main ()
20484 {
20485 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20486 ;
20487 return 0;
20488 }
20489 _ACEOF
20490 rm -f conftest.$ac_objext conftest$ac_exeext
20491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20492 (eval $ac_link) 2>&5
20493 ac_status=$?
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } &&
20496 { ac_try='test -s conftest$ac_exeext'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20499 ac_status=$?
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; }; then
20502 echo "*** The test program compiled, but did not run. This usually means"
20503 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20504 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20505 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20506 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20507 echo "*** is required on your system"
20508 echo "***"
20509 echo "*** If you have an old version installed, it is best to remove it, although"
20510 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20511 echo "***"
20512 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20513 echo "*** came with the system with the command"
20514 echo "***"
20515 echo "*** rpm --erase --nodeps gtk gtk-devel"
20516 else
20517 echo "$as_me: failed program was:" >&5
20518 sed 's/^/| /' conftest.$ac_ext >&5
20519
20520 echo "*** The test program failed to compile or link. See the file config.log for the"
20521 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20522 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20523 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20524 fi
20525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20526 CFLAGS="$ac_save_CFLAGS"
20527 LIBS="$ac_save_LIBS"
20528 fi
20529 fi
20530 GTK_CFLAGS=""
20531 GTK_LIBS=""
20532 :
20533 fi
20534
20535
20536 rm -f conf.gtktest
20537
20538
20539 if test -z "$wx_cv_lib_gtk"; then
20540
20541 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20542 if test "${with_gtk_prefix+set}" = set; then
20543 withval="$with_gtk_prefix"
20544 gtk_config_prefix="$withval"
20545 else
20546 gtk_config_prefix=""
20547 fi;
20548
20549 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20550 if test "${with_gtk_exec_prefix+set}" = set; then
20551 withval="$with_gtk_exec_prefix"
20552 gtk_config_exec_prefix="$withval"
20553 else
20554 gtk_config_exec_prefix=""
20555 fi;
20556 # Check whether --enable-gtktest or --disable-gtktest was given.
20557 if test "${enable_gtktest+set}" = set; then
20558 enableval="$enable_gtktest"
20559
20560 else
20561 enable_gtktest=yes
20562 fi;
20563
20564 for module in . $GTK_MODULES
20565 do
20566 case "$module" in
20567 gthread)
20568 gtk_config_args="$gtk_config_args gthread"
20569 ;;
20570 esac
20571 done
20572
20573 if test x$gtk_config_exec_prefix != x ; then
20574 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20575 if test x${GTK_CONFIG+set} != xset ; then
20576 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20577 fi
20578 fi
20579 if test x$gtk_config_prefix != x ; then
20580 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20581 if test x${GTK_CONFIG+set} != xset ; then
20582 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20583 fi
20584 fi
20585
20586 # Extract the first word of "gtk-config", so it can be a program name with args.
20587 set dummy gtk-config; ac_word=$2
20588 echo "$as_me:$LINENO: checking for $ac_word" >&5
20589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20590 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20591 echo $ECHO_N "(cached) $ECHO_C" >&6
20592 else
20593 case $GTK_CONFIG in
20594 [\\/]* | ?:[\\/]*)
20595 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20596 ;;
20597 *)
20598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20599 for as_dir in $PATH
20600 do
20601 IFS=$as_save_IFS
20602 test -z "$as_dir" && as_dir=.
20603 for ac_exec_ext in '' $ac_executable_extensions; do
20604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20605 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20607 break 2
20608 fi
20609 done
20610 done
20611
20612 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20613 ;;
20614 esac
20615 fi
20616 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20617
20618 if test -n "$GTK_CONFIG"; then
20619 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20620 echo "${ECHO_T}$GTK_CONFIG" >&6
20621 else
20622 echo "$as_me:$LINENO: result: no" >&5
20623 echo "${ECHO_T}no" >&6
20624 fi
20625
20626 min_gtk_version=1.2.3
20627 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20628 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20629 no_gtk=""
20630 if test "$GTK_CONFIG" = "no" ; then
20631 no_gtk=yes
20632 else
20633 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20634 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20635 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20636 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20637 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20638 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20639 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20640 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20641 if test "x$enable_gtktest" = "xyes" ; then
20642 ac_save_CFLAGS="$CFLAGS"
20643 ac_save_LIBS="$LIBS"
20644 CFLAGS="$CFLAGS $GTK_CFLAGS"
20645 LIBS="$GTK_LIBS $LIBS"
20646 rm -f conf.gtktest
20647 if test "$cross_compiling" = yes; then
20648 echo $ac_n "cross compiling; assumed OK... $ac_c"
20649 else
20650 cat >conftest.$ac_ext <<_ACEOF
20651 #line $LINENO "configure"
20652 /* confdefs.h. */
20653 _ACEOF
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20657
20658 #include <gtk/gtk.h>
20659 #include <stdio.h>
20660 #include <stdlib.h>
20661
20662 int
20663 main ()
20664 {
20665 int major, minor, micro;
20666 char *tmp_version;
20667
20668 system ("touch conf.gtktest");
20669
20670 /* HP/UX 9 (%@#!) writes to sscanf strings */
20671 tmp_version = g_strdup("$min_gtk_version");
20672 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20673 printf("%s, bad version string\n", "$min_gtk_version");
20674 exit(1);
20675 }
20676
20677 if ((gtk_major_version != $gtk_config_major_version) ||
20678 (gtk_minor_version != $gtk_config_minor_version) ||
20679 (gtk_micro_version != $gtk_config_micro_version))
20680 {
20681 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20682 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20683 gtk_major_version, gtk_minor_version, gtk_micro_version);
20684 printf ("*** was found! If gtk-config was correct, then it is best\n");
20685 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20686 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20687 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20688 printf("*** required on your system.\n");
20689 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20690 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20691 printf("*** before re-running configure\n");
20692 }
20693 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20694 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20695 (gtk_minor_version != GTK_MINOR_VERSION) ||
20696 (gtk_micro_version != GTK_MICRO_VERSION))
20697 {
20698 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20699 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20700 printf("*** library (version %d.%d.%d)\n",
20701 gtk_major_version, gtk_minor_version, gtk_micro_version);
20702 }
20703 #endif /* defined (GTK_MAJOR_VERSION) ... */
20704 else
20705 {
20706 if ((gtk_major_version > major) ||
20707 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20708 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20709 {
20710 return 0;
20711 }
20712 else
20713 {
20714 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20715 gtk_major_version, gtk_minor_version, gtk_micro_version);
20716 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20717 major, minor, micro);
20718 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20719 printf("***\n");
20720 printf("*** If you have already installed a sufficiently new version, this error\n");
20721 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20722 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20723 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20724 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20725 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20726 printf("*** so that the correct libraries are found at run-time))\n");
20727 }
20728 }
20729 return 1;
20730 }
20731
20732 _ACEOF
20733 rm -f conftest$ac_exeext
20734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20735 (eval $ac_link) 2>&5
20736 ac_status=$?
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20740 (eval $ac_try) 2>&5
20741 ac_status=$?
20742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 (exit $ac_status); }; }; then
20744 :
20745 else
20746 echo "$as_me: program exited with status $ac_status" >&5
20747 echo "$as_me: failed program was:" >&5
20748 sed 's/^/| /' conftest.$ac_ext >&5
20749
20750 ( exit $ac_status )
20751 no_gtk=yes
20752 fi
20753 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20754 fi
20755 CFLAGS="$ac_save_CFLAGS"
20756 LIBS="$ac_save_LIBS"
20757 fi
20758 fi
20759 if test "x$no_gtk" = x ; then
20760 echo "$as_me:$LINENO: result: yes" >&5
20761 echo "${ECHO_T}yes" >&6
20762 wx_cv_lib_gtk=1.2.3
20763 else
20764 echo "$as_me:$LINENO: result: no" >&5
20765 echo "${ECHO_T}no" >&6
20766 if test "$GTK_CONFIG" = "no" ; then
20767 echo "*** The gtk-config script installed by GTK could not be found"
20768 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20769 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20770 echo "*** full path to gtk-config."
20771 else
20772 if test -f conf.gtktest ; then
20773 :
20774 else
20775 echo "*** Could not run GTK test program, checking why..."
20776 CFLAGS="$CFLAGS $GTK_CFLAGS"
20777 LIBS="$LIBS $GTK_LIBS"
20778 cat >conftest.$ac_ext <<_ACEOF
20779 #line $LINENO "configure"
20780 /* confdefs.h. */
20781 _ACEOF
20782 cat confdefs.h >>conftest.$ac_ext
20783 cat >>conftest.$ac_ext <<_ACEOF
20784 /* end confdefs.h. */
20785
20786 #include <gtk/gtk.h>
20787 #include <stdio.h>
20788
20789 int
20790 main ()
20791 {
20792 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20793 ;
20794 return 0;
20795 }
20796 _ACEOF
20797 rm -f conftest.$ac_objext conftest$ac_exeext
20798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20799 (eval $ac_link) 2>&5
20800 ac_status=$?
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); } &&
20803 { ac_try='test -s conftest$ac_exeext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20806 ac_status=$?
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20809 echo "*** The test program compiled, but did not run. This usually means"
20810 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20811 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20812 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20813 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20814 echo "*** is required on your system"
20815 echo "***"
20816 echo "*** If you have an old version installed, it is best to remove it, although"
20817 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20818 echo "***"
20819 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20820 echo "*** came with the system with the command"
20821 echo "***"
20822 echo "*** rpm --erase --nodeps gtk gtk-devel"
20823 else
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.$ac_ext >&5
20826
20827 echo "*** The test program failed to compile or link. See the file config.log for the"
20828 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20829 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20830 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20831 fi
20832 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20833 CFLAGS="$ac_save_CFLAGS"
20834 LIBS="$ac_save_LIBS"
20835 fi
20836 fi
20837 GTK_CFLAGS=""
20838 GTK_LIBS=""
20839 :
20840 fi
20841
20842
20843 rm -f conf.gtktest
20844
20845 fi
20846 fi
20847
20848 if test -z "$wx_cv_lib_gtk"; then
20849 wx_cv_lib_gtk=none
20850 else
20851 wx_cv_cflags_gtk=$GTK_CFLAGS
20852 wx_cv_libs_gtk=$GTK_LIBS
20853 fi
20854
20855
20856 fi
20857
20858
20859 if test "$gtk_version_cached" = 1; then
20860 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20861 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20862 fi
20863
20864 case "$wx_cv_lib_gtk" in
20865 2.0) WXGTK20=1
20866 TOOLKIT_VERSION=2
20867 ;;
20868 1.2.7) WXGTK127=1
20869 WXGTK12=1
20870 ;;
20871 1.2.3) WXGTK12=1
20872 ;;
20873 *) { { echo "$as_me:$LINENO: error:
20874 Please check that gtk-config is in path, the directory
20875 where GTK+ libraries are installed (returned by
20876 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20877 equivalent variable and GTK+ is version 1.2.3 or above.
20878 " >&5
20879 echo "$as_me: error:
20880 Please check that gtk-config is in path, the directory
20881 where GTK+ libraries are installed (returned by
20882 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20883 equivalent variable and GTK+ is version 1.2.3 or above.
20884 " >&2;}
20885 { (exit 1); exit 1; }; }
20886 ;;
20887 esac
20888
20889 if test "$WXGTK20" = 1; then
20890 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20891
20892 succeeded=no
20893
20894 if test -z "$PKG_CONFIG"; then
20895 # Extract the first word of "pkg-config", so it can be a program name with args.
20896 set dummy pkg-config; ac_word=$2
20897 echo "$as_me:$LINENO: checking for $ac_word" >&5
20898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20899 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20900 echo $ECHO_N "(cached) $ECHO_C" >&6
20901 else
20902 case $PKG_CONFIG in
20903 [\\/]* | ?:[\\/]*)
20904 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20905 ;;
20906 *)
20907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20908 for as_dir in $PATH
20909 do
20910 IFS=$as_save_IFS
20911 test -z "$as_dir" && as_dir=.
20912 for ac_exec_ext in '' $ac_executable_extensions; do
20913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20914 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20916 break 2
20917 fi
20918 done
20919 done
20920
20921 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20922 ;;
20923 esac
20924 fi
20925 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20926
20927 if test -n "$PKG_CONFIG"; then
20928 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20929 echo "${ECHO_T}$PKG_CONFIG" >&6
20930 else
20931 echo "$as_me:$LINENO: result: no" >&5
20932 echo "${ECHO_T}no" >&6
20933 fi
20934
20935 fi
20936
20937 if test "$PKG_CONFIG" = "no" ; then
20938 echo "*** The pkg-config script could not be found. Make sure it is"
20939 echo "*** in your path, or set the PKG_CONFIG environment variable"
20940 echo "*** to the full path to pkg-config."
20941 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20942 else
20943 PKG_CONFIG_MIN_VERSION=0.9.0
20944 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20945 echo "$as_me:$LINENO: checking for pangoft2" >&5
20946 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20947
20948 if $PKG_CONFIG --exists "pangoft2" ; then
20949 echo "$as_me:$LINENO: result: yes" >&5
20950 echo "${ECHO_T}yes" >&6
20951 succeeded=yes
20952
20953 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20954 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20955 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20956 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20957 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20958
20959 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20960 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20961 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20962 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20963 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20964 else
20965 PANGOFT2_CFLAGS=""
20966 PANGOFT2_LIBS=""
20967 ## If we have a custom action on failure, don't print errors, but
20968 ## do set a variable so people can do so.
20969 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20970
20971 fi
20972
20973
20974
20975 else
20976 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20977 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20978 fi
20979 fi
20980
20981 if test $succeeded = yes; then
20982
20983 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20984 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20985
20986 else
20987
20988 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20989 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20990 wxUSE_PRINTING_ARCHITECTURE="no"
20991
20992
20993 fi
20994
20995 fi
20996 else
20997 if test "$wxUSE_UNICODE" = "yes"; then
20998 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20999 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21000 wxUSE_UNICODE=no
21001 fi
21002 fi
21003
21004 if test "$USE_DARWIN" != 1; then
21005
21006 for ac_func in poll
21007 do
21008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21009 echo "$as_me:$LINENO: checking for $ac_func" >&5
21010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21011 if eval "test \"\${$as_ac_var+set}\" = set"; then
21012 echo $ECHO_N "(cached) $ECHO_C" >&6
21013 else
21014 cat >conftest.$ac_ext <<_ACEOF
21015 #line $LINENO "configure"
21016 /* confdefs.h. */
21017 _ACEOF
21018 cat confdefs.h >>conftest.$ac_ext
21019 cat >>conftest.$ac_ext <<_ACEOF
21020 /* end confdefs.h. */
21021 /* System header to define __stub macros and hopefully few prototypes,
21022 which can conflict with char $ac_func (); below.
21023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21024 <limits.h> exists even on freestanding compilers. */
21025 #ifdef __STDC__
21026 # include <limits.h>
21027 #else
21028 # include <assert.h>
21029 #endif
21030 /* Override any gcc2 internal prototype to avoid an error. */
21031 #ifdef __cplusplus
21032 extern "C"
21033 {
21034 #endif
21035 /* We use char because int might match the return type of a gcc2
21036 builtin and then its argument prototype would still apply. */
21037 char $ac_func ();
21038 /* The GNU C library defines this for functions which it implements
21039 to always fail with ENOSYS. Some functions are actually named
21040 something starting with __ and the normal name is an alias. */
21041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21042 choke me
21043 #else
21044 char (*f) () = $ac_func;
21045 #endif
21046 #ifdef __cplusplus
21047 }
21048 #endif
21049
21050 int
21051 main ()
21052 {
21053 return f != $ac_func;
21054 ;
21055 return 0;
21056 }
21057 _ACEOF
21058 rm -f conftest.$ac_objext conftest$ac_exeext
21059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21060 (eval $ac_link) 2>&5
21061 ac_status=$?
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); } &&
21064 { ac_try='test -s conftest$ac_exeext'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21067 ac_status=$?
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; }; then
21070 eval "$as_ac_var=yes"
21071 else
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.$ac_ext >&5
21074
21075 eval "$as_ac_var=no"
21076 fi
21077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21078 fi
21079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21081 if test `eval echo '${'$as_ac_var'}'` = yes; then
21082 cat >>confdefs.h <<_ACEOF
21083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21084 _ACEOF
21085
21086 fi
21087 done
21088
21089 fi
21090
21091 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21092 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21093
21094 AFMINSTALL=afminstall
21095 TOOLKIT=GTK
21096 GUIDIST=GTK_DIST
21097
21098 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21099 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21100 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21101 echo $ECHO_N "(cached) $ECHO_C" >&6
21102 else
21103 ac_check_lib_save_LIBS=$LIBS
21104 LIBS="-lgdk $LIBS"
21105 cat >conftest.$ac_ext <<_ACEOF
21106 #line $LINENO "configure"
21107 /* confdefs.h. */
21108 _ACEOF
21109 cat confdefs.h >>conftest.$ac_ext
21110 cat >>conftest.$ac_ext <<_ACEOF
21111 /* end confdefs.h. */
21112
21113 /* Override any gcc2 internal prototype to avoid an error. */
21114 #ifdef __cplusplus
21115 extern "C"
21116 #endif
21117 /* We use char because int might match the return type of a gcc2
21118 builtin and then its argument prototype would still apply. */
21119 char gdk_im_open ();
21120 int
21121 main ()
21122 {
21123 gdk_im_open ();
21124 ;
21125 return 0;
21126 }
21127 _ACEOF
21128 rm -f conftest.$ac_objext conftest$ac_exeext
21129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21130 (eval $ac_link) 2>&5
21131 ac_status=$?
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); } &&
21134 { ac_try='test -s conftest$ac_exeext'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21137 ac_status=$?
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; }; then
21140 ac_cv_lib_gdk_gdk_im_open=yes
21141 else
21142 echo "$as_me: failed program was:" >&5
21143 sed 's/^/| /' conftest.$ac_ext >&5
21144
21145 ac_cv_lib_gdk_gdk_im_open=no
21146 fi
21147 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21148 LIBS=$ac_check_lib_save_LIBS
21149 fi
21150 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21151 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21152 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21153 cat >>confdefs.h <<\_ACEOF
21154 #define HAVE_XIM 1
21155 _ACEOF
21156
21157 fi
21158
21159 fi
21160
21161 if test "$wxUSE_MGL" = 1; then
21162 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21163 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21164 if test "x$MGL_ROOT" = x ; then
21165 echo "$as_me:$LINENO: result: not found" >&5
21166 echo "${ECHO_T}not found" >&6
21167 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21168 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21169 { (exit 1); exit 1; }; }
21170 else
21171 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21172 echo "${ECHO_T}$MGL_ROOT" >&6
21173 fi
21174
21175 echo "$as_me:$LINENO: checking for libmgl location" >&5
21176 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21177 case "${host}" in
21178 *-*-linux* )
21179 if test "x$wxUSE_SHARED" = xyes ; then
21180 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
21181 else
21182 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
21183 fi
21184 ;;
21185 *-pc-msdosdjgpp )
21186 mgl_os_candidates="dos32/dj2"
21187 ;;
21188 *)
21189 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21190 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21191 { (exit 1); exit 1; }; }
21192 esac
21193
21194 mgl_lib_type=""
21195 mgl_os=""
21196
21197 for mgl_os_i in $mgl_os_candidates ; do
21198 if test "x$mgl_os" = x ; then
21199 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21200 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21201 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21202 mgl_lib_type=debug
21203 mgl_os=$mgl_os_i
21204 fi
21205 fi
21206 if test "x$mgl_lib_type" = x ; then
21207 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21208 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21209 mgl_lib_type=release
21210 mgl_os=$mgl_os_i
21211 fi
21212 fi
21213 fi
21214 done
21215
21216 if test "x$mgl_os" = x ; then
21217 echo "$as_me:$LINENO: result: not found" >&5
21218 echo "${ECHO_T}not found" >&6
21219 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21220 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21221 { (exit 1); exit 1; }; }
21222 fi
21223 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21224 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21225
21226 wxUSE_UNIVERSAL="yes"
21227
21228 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21229 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21230
21231 AFMINSTALL=afminstall
21232 TOOLKIT=MGL
21233 GUIDIST=MGL_DIST
21234 fi
21235
21236 if test "$wxUSE_MICROWIN" = 1; then
21237 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21238 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21239 if test "x$MICROWINDOWS" = x ; then
21240 echo "$as_me:$LINENO: result: not found" >&5
21241 echo "${ECHO_T}not found" >&6
21242 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21243 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21244 { (exit 1); exit 1; }; }
21245 else
21246 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21247 echo "${ECHO_T}$MICROWINDOWS" >&6
21248 fi
21249
21250 if test -f $MICROWINDOWS/lib/libmwin.a; then
21251 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21252 echo "${ECHO_T}MicroWindows' libraries found." >&6
21253 else
21254 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21255 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21256 { (exit 1); exit 1; }; }
21257 fi
21258
21259 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21260 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21261
21262 wxUSE_UNIVERSAL="yes"
21263
21264 AFMINSTALL=afminstall
21265 TOOLKIT=MICROWIN
21266 GUIDIST=MICROWIN_DIST
21267
21268 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21269 fi
21270
21271 if test "$wxUSE_X11" = 1; then
21272 echo "$as_me:$LINENO: checking for X" >&5
21273 echo $ECHO_N "checking for X... $ECHO_C" >&6
21274
21275
21276 # Check whether --with-x or --without-x was given.
21277 if test "${with_x+set}" = set; then
21278 withval="$with_x"
21279
21280 fi;
21281 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21282 if test "x$with_x" = xno; then
21283 # The user explicitly disabled X.
21284 have_x=disabled
21285 else
21286 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21287 # Both variables are already set.
21288 have_x=yes
21289 else
21290 if test "${ac_cv_have_x+set}" = set; then
21291 echo $ECHO_N "(cached) $ECHO_C" >&6
21292 else
21293 # One or both of the vars are not set, and there is no cached value.
21294 ac_x_includes=no ac_x_libraries=no
21295 rm -fr conftest.dir
21296 if mkdir conftest.dir; then
21297 cd conftest.dir
21298 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21299 cat >Imakefile <<'_ACEOF'
21300 acfindx:
21301 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21302 _ACEOF
21303 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21304 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21305 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21306 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21307 for ac_extension in a so sl; do
21308 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21309 test -f $ac_im_libdir/libX11.$ac_extension; then
21310 ac_im_usrlibdir=$ac_im_libdir; break
21311 fi
21312 done
21313 # Screen out bogus values from the imake configuration. They are
21314 # bogus both because they are the default anyway, and because
21315 # using them would break gcc on systems where it needs fixed includes.
21316 case $ac_im_incroot in
21317 /usr/include) ;;
21318 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21319 esac
21320 case $ac_im_usrlibdir in
21321 /usr/lib | /lib) ;;
21322 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21323 esac
21324 fi
21325 cd ..
21326 rm -fr conftest.dir
21327 fi
21328
21329 # Standard set of common directories for X headers.
21330 # Check X11 before X11Rn because it is often a symlink to the current release.
21331 ac_x_header_dirs='
21332 /usr/X11/include
21333 /usr/X11R6/include
21334 /usr/X11R5/include
21335 /usr/X11R4/include
21336
21337 /usr/include/X11
21338 /usr/include/X11R6
21339 /usr/include/X11R5
21340 /usr/include/X11R4
21341
21342 /usr/local/X11/include
21343 /usr/local/X11R6/include
21344 /usr/local/X11R5/include
21345 /usr/local/X11R4/include
21346
21347 /usr/local/include/X11
21348 /usr/local/include/X11R6
21349 /usr/local/include/X11R5
21350 /usr/local/include/X11R4
21351
21352 /usr/X386/include
21353 /usr/x386/include
21354 /usr/XFree86/include/X11
21355
21356 /usr/include
21357 /usr/local/include
21358 /usr/unsupported/include
21359 /usr/athena/include
21360 /usr/local/x11r5/include
21361 /usr/lpp/Xamples/include
21362
21363 /usr/openwin/include
21364 /usr/openwin/share/include'
21365
21366 if test "$ac_x_includes" = no; then
21367 # Guess where to find include files, by looking for Intrinsic.h.
21368 # First, try using that file with no special directory specified.
21369 cat >conftest.$ac_ext <<_ACEOF
21370 #line $LINENO "configure"
21371 /* confdefs.h. */
21372 _ACEOF
21373 cat confdefs.h >>conftest.$ac_ext
21374 cat >>conftest.$ac_ext <<_ACEOF
21375 /* end confdefs.h. */
21376 #include <X11/Intrinsic.h>
21377 _ACEOF
21378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21380 ac_status=$?
21381 grep -v '^ *+' conftest.er1 >conftest.err
21382 rm -f conftest.er1
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } >/dev/null; then
21386 if test -s conftest.err; then
21387 ac_cpp_err=$ac_c_preproc_warn_flag
21388 else
21389 ac_cpp_err=
21390 fi
21391 else
21392 ac_cpp_err=yes
21393 fi
21394 if test -z "$ac_cpp_err"; then
21395 # We can compile using X headers with no special include directory.
21396 ac_x_includes=
21397 else
21398 echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.$ac_ext >&5
21400
21401 for ac_dir in $ac_x_header_dirs; do
21402 if test -r "$ac_dir/X11/Intrinsic.h"; then
21403 ac_x_includes=$ac_dir
21404 break
21405 fi
21406 done
21407 fi
21408 rm -f conftest.err conftest.$ac_ext
21409 fi # $ac_x_includes = no
21410
21411 if test "$ac_x_libraries" = no; then
21412 # Check for the libraries.
21413 # See if we find them without any special options.
21414 # Don't add to $LIBS permanently.
21415 ac_save_LIBS=$LIBS
21416 LIBS="-lXt $LIBS"
21417 cat >conftest.$ac_ext <<_ACEOF
21418 #line $LINENO "configure"
21419 /* confdefs.h. */
21420 _ACEOF
21421 cat confdefs.h >>conftest.$ac_ext
21422 cat >>conftest.$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21424 #include <X11/Intrinsic.h>
21425 int
21426 main ()
21427 {
21428 XtMalloc (0)
21429 ;
21430 return 0;
21431 }
21432 _ACEOF
21433 rm -f conftest.$ac_objext conftest$ac_exeext
21434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21435 (eval $ac_link) 2>&5
21436 ac_status=$?
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); } &&
21439 { ac_try='test -s conftest$ac_exeext'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21442 ac_status=$?
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; }; then
21445 LIBS=$ac_save_LIBS
21446 # We can link X programs with no special library path.
21447 ac_x_libraries=
21448 else
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.$ac_ext >&5
21451
21452 LIBS=$ac_save_LIBS
21453 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21454 do
21455 # Don't even attempt the hair of trying to link an X program!
21456 for ac_extension in a so sl; do
21457 if test -r $ac_dir/libXt.$ac_extension; then
21458 ac_x_libraries=$ac_dir
21459 break 2
21460 fi
21461 done
21462 done
21463 fi
21464 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21465 fi # $ac_x_libraries = no
21466
21467 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21468 # Didn't find X anywhere. Cache the known absence of X.
21469 ac_cv_have_x="have_x=no"
21470 else
21471 # Record where we found X for the cache.
21472 ac_cv_have_x="have_x=yes \
21473 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21474 fi
21475 fi
21476
21477 fi
21478 eval "$ac_cv_have_x"
21479 fi # $with_x != no
21480
21481 if test "$have_x" != yes; then
21482 echo "$as_me:$LINENO: result: $have_x" >&5
21483 echo "${ECHO_T}$have_x" >&6
21484 no_x=yes
21485 else
21486 # If each of the values was on the command line, it overrides each guess.
21487 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21488 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21489 # Update the cache value to reflect the command line values.
21490 ac_cv_have_x="have_x=yes \
21491 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21492 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21493 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21494 fi
21495
21496 if test "$no_x" = yes; then
21497 # Not all programs may use this symbol, but it does not hurt to define it.
21498
21499 cat >>confdefs.h <<\_ACEOF
21500 #define X_DISPLAY_MISSING 1
21501 _ACEOF
21502
21503 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21504 else
21505 if test -n "$x_includes"; then
21506 X_CFLAGS="$X_CFLAGS -I$x_includes"
21507 fi
21508
21509 # It would also be nice to do this for all -L options, not just this one.
21510 if test -n "$x_libraries"; then
21511 X_LIBS="$X_LIBS -L$x_libraries"
21512 # For Solaris; some versions of Sun CC require a space after -R and
21513 # others require no space. Words are not sufficient . . . .
21514 case `(uname -sr) 2>/dev/null` in
21515 "SunOS 5"*)
21516 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21517 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21518 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21519 cat >conftest.$ac_ext <<_ACEOF
21520 #line $LINENO "configure"
21521 /* confdefs.h. */
21522 _ACEOF
21523 cat confdefs.h >>conftest.$ac_ext
21524 cat >>conftest.$ac_ext <<_ACEOF
21525 /* end confdefs.h. */
21526
21527 int
21528 main ()
21529 {
21530
21531 ;
21532 return 0;
21533 }
21534 _ACEOF
21535 rm -f conftest.$ac_objext conftest$ac_exeext
21536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21537 (eval $ac_link) 2>&5
21538 ac_status=$?
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); } &&
21541 { ac_try='test -s conftest$ac_exeext'
21542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21543 (eval $ac_try) 2>&5
21544 ac_status=$?
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); }; }; then
21547 ac_R_nospace=yes
21548 else
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.$ac_ext >&5
21551
21552 ac_R_nospace=no
21553 fi
21554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21555 if test $ac_R_nospace = yes; then
21556 echo "$as_me:$LINENO: result: no" >&5
21557 echo "${ECHO_T}no" >&6
21558 X_LIBS="$X_LIBS -R$x_libraries"
21559 else
21560 LIBS="$ac_xsave_LIBS -R $x_libraries"
21561 cat >conftest.$ac_ext <<_ACEOF
21562 #line $LINENO "configure"
21563 /* confdefs.h. */
21564 _ACEOF
21565 cat confdefs.h >>conftest.$ac_ext
21566 cat >>conftest.$ac_ext <<_ACEOF
21567 /* end confdefs.h. */
21568
21569 int
21570 main ()
21571 {
21572
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_R_space=yes
21590 else
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.$ac_ext >&5
21593
21594 ac_R_space=no
21595 fi
21596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21597 if test $ac_R_space = yes; then
21598 echo "$as_me:$LINENO: result: yes" >&5
21599 echo "${ECHO_T}yes" >&6
21600 X_LIBS="$X_LIBS -R $x_libraries"
21601 else
21602 echo "$as_me:$LINENO: result: neither works" >&5
21603 echo "${ECHO_T}neither works" >&6
21604 fi
21605 fi
21606 LIBS=$ac_xsave_LIBS
21607 esac
21608 fi
21609
21610 # Check for system-dependent libraries X programs must link with.
21611 # Do this before checking for the system-independent R6 libraries
21612 # (-lICE), since we may need -lsocket or whatever for X linking.
21613
21614 if test "$ISC" = yes; then
21615 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21616 else
21617 # Martyn Johnson says this is needed for Ultrix, if the X
21618 # libraries were built with DECnet support. And Karl Berry says
21619 # the Alpha needs dnet_stub (dnet does not exist).
21620 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21621 cat >conftest.$ac_ext <<_ACEOF
21622 #line $LINENO "configure"
21623 /* confdefs.h. */
21624 _ACEOF
21625 cat confdefs.h >>conftest.$ac_ext
21626 cat >>conftest.$ac_ext <<_ACEOF
21627 /* end confdefs.h. */
21628
21629 /* Override any gcc2 internal prototype to avoid an error. */
21630 #ifdef __cplusplus
21631 extern "C"
21632 #endif
21633 /* We use char because int might match the return type of a gcc2
21634 builtin and then its argument prototype would still apply. */
21635 char XOpenDisplay ();
21636 int
21637 main ()
21638 {
21639 XOpenDisplay ();
21640 ;
21641 return 0;
21642 }
21643 _ACEOF
21644 rm -f conftest.$ac_objext conftest$ac_exeext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21646 (eval $ac_link) 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } &&
21650 { ac_try='test -s conftest$ac_exeext'
21651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21652 (eval $ac_try) 2>&5
21653 ac_status=$?
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); }; }; then
21656 :
21657 else
21658 echo "$as_me: failed program was:" >&5
21659 sed 's/^/| /' conftest.$ac_ext >&5
21660
21661 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21662 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21663 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21664 echo $ECHO_N "(cached) $ECHO_C" >&6
21665 else
21666 ac_check_lib_save_LIBS=$LIBS
21667 LIBS="-ldnet $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 dnet_ntoa ();
21683 int
21684 main ()
21685 {
21686 dnet_ntoa ();
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_dnet_dnet_ntoa=yes
21704 else
21705 echo "$as_me: failed program was:" >&5
21706 sed 's/^/| /' conftest.$ac_ext >&5
21707
21708 ac_cv_lib_dnet_dnet_ntoa=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_dnet_dnet_ntoa" >&5
21714 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21715 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21716 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21717 fi
21718
21719 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21720 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21721 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21722 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21723 echo $ECHO_N "(cached) $ECHO_C" >&6
21724 else
21725 ac_check_lib_save_LIBS=$LIBS
21726 LIBS="-ldnet_stub $LIBS"
21727 cat >conftest.$ac_ext <<_ACEOF
21728 #line $LINENO "configure"
21729 /* confdefs.h. */
21730 _ACEOF
21731 cat confdefs.h >>conftest.$ac_ext
21732 cat >>conftest.$ac_ext <<_ACEOF
21733 /* end confdefs.h. */
21734
21735 /* Override any gcc2 internal prototype to avoid an error. */
21736 #ifdef __cplusplus
21737 extern "C"
21738 #endif
21739 /* We use char because int might match the return type of a gcc2
21740 builtin and then its argument prototype would still apply. */
21741 char dnet_ntoa ();
21742 int
21743 main ()
21744 {
21745 dnet_ntoa ();
21746 ;
21747 return 0;
21748 }
21749 _ACEOF
21750 rm -f conftest.$ac_objext conftest$ac_exeext
21751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21752 (eval $ac_link) 2>&5
21753 ac_status=$?
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); } &&
21756 { ac_try='test -s conftest$ac_exeext'
21757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21758 (eval $ac_try) 2>&5
21759 ac_status=$?
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); }; }; then
21762 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21763 else
21764 echo "$as_me: failed program was:" >&5
21765 sed 's/^/| /' conftest.$ac_ext >&5
21766
21767 ac_cv_lib_dnet_stub_dnet_ntoa=no
21768 fi
21769 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21770 LIBS=$ac_check_lib_save_LIBS
21771 fi
21772 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21773 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21774 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21775 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21776 fi
21777
21778 fi
21779 fi
21780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21781 LIBS="$ac_xsave_LIBS"
21782
21783 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21784 # to get the SysV transport functions.
21785 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21786 # needs -lnsl.
21787 # The nsl library prevents programs from opening the X display
21788 # on Irix 5.2, according to T.E. Dickey.
21789 # The functions gethostbyname, getservbyname, and inet_addr are
21790 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21791 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21792 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21793 if test "${ac_cv_func_gethostbyname+set}" = set; then
21794 echo $ECHO_N "(cached) $ECHO_C" >&6
21795 else
21796 cat >conftest.$ac_ext <<_ACEOF
21797 #line $LINENO "configure"
21798 /* confdefs.h. */
21799 _ACEOF
21800 cat confdefs.h >>conftest.$ac_ext
21801 cat >>conftest.$ac_ext <<_ACEOF
21802 /* end confdefs.h. */
21803 /* System header to define __stub macros and hopefully few prototypes,
21804 which can conflict with char gethostbyname (); below.
21805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21806 <limits.h> exists even on freestanding compilers. */
21807 #ifdef __STDC__
21808 # include <limits.h>
21809 #else
21810 # include <assert.h>
21811 #endif
21812 /* Override any gcc2 internal prototype to avoid an error. */
21813 #ifdef __cplusplus
21814 extern "C"
21815 {
21816 #endif
21817 /* We use char because int might match the return type of a gcc2
21818 builtin and then its argument prototype would still apply. */
21819 char gethostbyname ();
21820 /* The GNU C library defines this for functions which it implements
21821 to always fail with ENOSYS. Some functions are actually named
21822 something starting with __ and the normal name is an alias. */
21823 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21824 choke me
21825 #else
21826 char (*f) () = gethostbyname;
21827 #endif
21828 #ifdef __cplusplus
21829 }
21830 #endif
21831
21832 int
21833 main ()
21834 {
21835 return f != gethostbyname;
21836 ;
21837 return 0;
21838 }
21839 _ACEOF
21840 rm -f conftest.$ac_objext conftest$ac_exeext
21841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21842 (eval $ac_link) 2>&5
21843 ac_status=$?
21844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21845 (exit $ac_status); } &&
21846 { ac_try='test -s conftest$ac_exeext'
21847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21848 (eval $ac_try) 2>&5
21849 ac_status=$?
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); }; }; then
21852 ac_cv_func_gethostbyname=yes
21853 else
21854 echo "$as_me: failed program was:" >&5
21855 sed 's/^/| /' conftest.$ac_ext >&5
21856
21857 ac_cv_func_gethostbyname=no
21858 fi
21859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21860 fi
21861 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21862 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21863
21864 if test $ac_cv_func_gethostbyname = no; then
21865 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21866 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21867 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21868 echo $ECHO_N "(cached) $ECHO_C" >&6
21869 else
21870 ac_check_lib_save_LIBS=$LIBS
21871 LIBS="-lnsl $LIBS"
21872 cat >conftest.$ac_ext <<_ACEOF
21873 #line $LINENO "configure"
21874 /* confdefs.h. */
21875 _ACEOF
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21879
21880 /* Override any gcc2 internal prototype to avoid an error. */
21881 #ifdef __cplusplus
21882 extern "C"
21883 #endif
21884 /* We use char because int might match the return type of a gcc2
21885 builtin and then its argument prototype would still apply. */
21886 char gethostbyname ();
21887 int
21888 main ()
21889 {
21890 gethostbyname ();
21891 ;
21892 return 0;
21893 }
21894 _ACEOF
21895 rm -f conftest.$ac_objext conftest$ac_exeext
21896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21897 (eval $ac_link) 2>&5
21898 ac_status=$?
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); } &&
21901 { ac_try='test -s conftest$ac_exeext'
21902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21903 (eval $ac_try) 2>&5
21904 ac_status=$?
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; }; then
21907 ac_cv_lib_nsl_gethostbyname=yes
21908 else
21909 echo "$as_me: failed program was:" >&5
21910 sed 's/^/| /' conftest.$ac_ext >&5
21911
21912 ac_cv_lib_nsl_gethostbyname=no
21913 fi
21914 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21915 LIBS=$ac_check_lib_save_LIBS
21916 fi
21917 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21918 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21919 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21920 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21921 fi
21922
21923 if test $ac_cv_lib_nsl_gethostbyname = no; then
21924 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21925 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21926 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21927 echo $ECHO_N "(cached) $ECHO_C" >&6
21928 else
21929 ac_check_lib_save_LIBS=$LIBS
21930 LIBS="-lbsd $LIBS"
21931 cat >conftest.$ac_ext <<_ACEOF
21932 #line $LINENO "configure"
21933 /* confdefs.h. */
21934 _ACEOF
21935 cat confdefs.h >>conftest.$ac_ext
21936 cat >>conftest.$ac_ext <<_ACEOF
21937 /* end confdefs.h. */
21938
21939 /* Override any gcc2 internal prototype to avoid an error. */
21940 #ifdef __cplusplus
21941 extern "C"
21942 #endif
21943 /* We use char because int might match the return type of a gcc2
21944 builtin and then its argument prototype would still apply. */
21945 char gethostbyname ();
21946 int
21947 main ()
21948 {
21949 gethostbyname ();
21950 ;
21951 return 0;
21952 }
21953 _ACEOF
21954 rm -f conftest.$ac_objext conftest$ac_exeext
21955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21956 (eval $ac_link) 2>&5
21957 ac_status=$?
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } &&
21960 { ac_try='test -s conftest$ac_exeext'
21961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21962 (eval $ac_try) 2>&5
21963 ac_status=$?
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); }; }; then
21966 ac_cv_lib_bsd_gethostbyname=yes
21967 else
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21970
21971 ac_cv_lib_bsd_gethostbyname=no
21972 fi
21973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21974 LIBS=$ac_check_lib_save_LIBS
21975 fi
21976 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21977 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21978 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21979 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21980 fi
21981
21982 fi
21983 fi
21984
21985 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21986 # socket/setsockopt and other routines are undefined under SCO ODT
21987 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21988 # on later versions), says Simon Leinen: it contains gethostby*
21989 # variants that don't use the name server (or something). -lsocket
21990 # must be given before -lnsl if both are needed. We assume that
21991 # if connect needs -lnsl, so does gethostbyname.
21992 echo "$as_me:$LINENO: checking for connect" >&5
21993 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21994 if test "${ac_cv_func_connect+set}" = set; then
21995 echo $ECHO_N "(cached) $ECHO_C" >&6
21996 else
21997 cat >conftest.$ac_ext <<_ACEOF
21998 #line $LINENO "configure"
21999 /* confdefs.h. */
22000 _ACEOF
22001 cat confdefs.h >>conftest.$ac_ext
22002 cat >>conftest.$ac_ext <<_ACEOF
22003 /* end confdefs.h. */
22004 /* System header to define __stub macros and hopefully few prototypes,
22005 which can conflict with char connect (); below.
22006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22007 <limits.h> exists even on freestanding compilers. */
22008 #ifdef __STDC__
22009 # include <limits.h>
22010 #else
22011 # include <assert.h>
22012 #endif
22013 /* Override any gcc2 internal prototype to avoid an error. */
22014 #ifdef __cplusplus
22015 extern "C"
22016 {
22017 #endif
22018 /* We use char because int might match the return type of a gcc2
22019 builtin and then its argument prototype would still apply. */
22020 char connect ();
22021 /* The GNU C library defines this for functions which it implements
22022 to always fail with ENOSYS. Some functions are actually named
22023 something starting with __ and the normal name is an alias. */
22024 #if defined (__stub_connect) || defined (__stub___connect)
22025 choke me
22026 #else
22027 char (*f) () = connect;
22028 #endif
22029 #ifdef __cplusplus
22030 }
22031 #endif
22032
22033 int
22034 main ()
22035 {
22036 return f != connect;
22037 ;
22038 return 0;
22039 }
22040 _ACEOF
22041 rm -f conftest.$ac_objext conftest$ac_exeext
22042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22043 (eval $ac_link) 2>&5
22044 ac_status=$?
22045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046 (exit $ac_status); } &&
22047 { ac_try='test -s conftest$ac_exeext'
22048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22049 (eval $ac_try) 2>&5
22050 ac_status=$?
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); }; }; then
22053 ac_cv_func_connect=yes
22054 else
22055 echo "$as_me: failed program was:" >&5
22056 sed 's/^/| /' conftest.$ac_ext >&5
22057
22058 ac_cv_func_connect=no
22059 fi
22060 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22061 fi
22062 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22063 echo "${ECHO_T}$ac_cv_func_connect" >&6
22064
22065 if test $ac_cv_func_connect = no; then
22066 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22067 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22068 if test "${ac_cv_lib_socket_connect+set}" = set; then
22069 echo $ECHO_N "(cached) $ECHO_C" >&6
22070 else
22071 ac_check_lib_save_LIBS=$LIBS
22072 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22073 cat >conftest.$ac_ext <<_ACEOF
22074 #line $LINENO "configure"
22075 /* confdefs.h. */
22076 _ACEOF
22077 cat confdefs.h >>conftest.$ac_ext
22078 cat >>conftest.$ac_ext <<_ACEOF
22079 /* end confdefs.h. */
22080
22081 /* Override any gcc2 internal prototype to avoid an error. */
22082 #ifdef __cplusplus
22083 extern "C"
22084 #endif
22085 /* We use char because int might match the return type of a gcc2
22086 builtin and then its argument prototype would still apply. */
22087 char connect ();
22088 int
22089 main ()
22090 {
22091 connect ();
22092 ;
22093 return 0;
22094 }
22095 _ACEOF
22096 rm -f conftest.$ac_objext conftest$ac_exeext
22097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22098 (eval $ac_link) 2>&5
22099 ac_status=$?
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } &&
22102 { ac_try='test -s conftest$ac_exeext'
22103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104 (eval $ac_try) 2>&5
22105 ac_status=$?
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); }; }; then
22108 ac_cv_lib_socket_connect=yes
22109 else
22110 echo "$as_me: failed program was:" >&5
22111 sed 's/^/| /' conftest.$ac_ext >&5
22112
22113 ac_cv_lib_socket_connect=no
22114 fi
22115 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22116 LIBS=$ac_check_lib_save_LIBS
22117 fi
22118 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22119 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22120 if test $ac_cv_lib_socket_connect = yes; then
22121 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22122 fi
22123
22124 fi
22125
22126 # Guillermo Gomez says -lposix is necessary on A/UX.
22127 echo "$as_me:$LINENO: checking for remove" >&5
22128 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22129 if test "${ac_cv_func_remove+set}" = set; then
22130 echo $ECHO_N "(cached) $ECHO_C" >&6
22131 else
22132 cat >conftest.$ac_ext <<_ACEOF
22133 #line $LINENO "configure"
22134 /* confdefs.h. */
22135 _ACEOF
22136 cat confdefs.h >>conftest.$ac_ext
22137 cat >>conftest.$ac_ext <<_ACEOF
22138 /* end confdefs.h. */
22139 /* System header to define __stub macros and hopefully few prototypes,
22140 which can conflict with char remove (); below.
22141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22142 <limits.h> exists even on freestanding compilers. */
22143 #ifdef __STDC__
22144 # include <limits.h>
22145 #else
22146 # include <assert.h>
22147 #endif
22148 /* Override any gcc2 internal prototype to avoid an error. */
22149 #ifdef __cplusplus
22150 extern "C"
22151 {
22152 #endif
22153 /* We use char because int might match the return type of a gcc2
22154 builtin and then its argument prototype would still apply. */
22155 char remove ();
22156 /* The GNU C library defines this for functions which it implements
22157 to always fail with ENOSYS. Some functions are actually named
22158 something starting with __ and the normal name is an alias. */
22159 #if defined (__stub_remove) || defined (__stub___remove)
22160 choke me
22161 #else
22162 char (*f) () = remove;
22163 #endif
22164 #ifdef __cplusplus
22165 }
22166 #endif
22167
22168 int
22169 main ()
22170 {
22171 return f != remove;
22172 ;
22173 return 0;
22174 }
22175 _ACEOF
22176 rm -f conftest.$ac_objext conftest$ac_exeext
22177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22178 (eval $ac_link) 2>&5
22179 ac_status=$?
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); } &&
22182 { ac_try='test -s conftest$ac_exeext'
22183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22184 (eval $ac_try) 2>&5
22185 ac_status=$?
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); }; }; then
22188 ac_cv_func_remove=yes
22189 else
22190 echo "$as_me: failed program was:" >&5
22191 sed 's/^/| /' conftest.$ac_ext >&5
22192
22193 ac_cv_func_remove=no
22194 fi
22195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22196 fi
22197 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22198 echo "${ECHO_T}$ac_cv_func_remove" >&6
22199
22200 if test $ac_cv_func_remove = no; then
22201 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22202 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22203 if test "${ac_cv_lib_posix_remove+set}" = set; then
22204 echo $ECHO_N "(cached) $ECHO_C" >&6
22205 else
22206 ac_check_lib_save_LIBS=$LIBS
22207 LIBS="-lposix $LIBS"
22208 cat >conftest.$ac_ext <<_ACEOF
22209 #line $LINENO "configure"
22210 /* confdefs.h. */
22211 _ACEOF
22212 cat confdefs.h >>conftest.$ac_ext
22213 cat >>conftest.$ac_ext <<_ACEOF
22214 /* end confdefs.h. */
22215
22216 /* Override any gcc2 internal prototype to avoid an error. */
22217 #ifdef __cplusplus
22218 extern "C"
22219 #endif
22220 /* We use char because int might match the return type of a gcc2
22221 builtin and then its argument prototype would still apply. */
22222 char remove ();
22223 int
22224 main ()
22225 {
22226 remove ();
22227 ;
22228 return 0;
22229 }
22230 _ACEOF
22231 rm -f conftest.$ac_objext conftest$ac_exeext
22232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22233 (eval $ac_link) 2>&5
22234 ac_status=$?
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } &&
22237 { ac_try='test -s conftest$ac_exeext'
22238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22239 (eval $ac_try) 2>&5
22240 ac_status=$?
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); }; }; then
22243 ac_cv_lib_posix_remove=yes
22244 else
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.$ac_ext >&5
22247
22248 ac_cv_lib_posix_remove=no
22249 fi
22250 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22251 LIBS=$ac_check_lib_save_LIBS
22252 fi
22253 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22254 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22255 if test $ac_cv_lib_posix_remove = yes; then
22256 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22257 fi
22258
22259 fi
22260
22261 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22262 echo "$as_me:$LINENO: checking for shmat" >&5
22263 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22264 if test "${ac_cv_func_shmat+set}" = set; then
22265 echo $ECHO_N "(cached) $ECHO_C" >&6
22266 else
22267 cat >conftest.$ac_ext <<_ACEOF
22268 #line $LINENO "configure"
22269 /* confdefs.h. */
22270 _ACEOF
22271 cat confdefs.h >>conftest.$ac_ext
22272 cat >>conftest.$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22274 /* System header to define __stub macros and hopefully few prototypes,
22275 which can conflict with char shmat (); below.
22276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22277 <limits.h> exists even on freestanding compilers. */
22278 #ifdef __STDC__
22279 # include <limits.h>
22280 #else
22281 # include <assert.h>
22282 #endif
22283 /* Override any gcc2 internal prototype to avoid an error. */
22284 #ifdef __cplusplus
22285 extern "C"
22286 {
22287 #endif
22288 /* We use char because int might match the return type of a gcc2
22289 builtin and then its argument prototype would still apply. */
22290 char shmat ();
22291 /* The GNU C library defines this for functions which it implements
22292 to always fail with ENOSYS. Some functions are actually named
22293 something starting with __ and the normal name is an alias. */
22294 #if defined (__stub_shmat) || defined (__stub___shmat)
22295 choke me
22296 #else
22297 char (*f) () = shmat;
22298 #endif
22299 #ifdef __cplusplus
22300 }
22301 #endif
22302
22303 int
22304 main ()
22305 {
22306 return f != shmat;
22307 ;
22308 return 0;
22309 }
22310 _ACEOF
22311 rm -f conftest.$ac_objext conftest$ac_exeext
22312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22313 (eval $ac_link) 2>&5
22314 ac_status=$?
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); } &&
22317 { ac_try='test -s conftest$ac_exeext'
22318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22319 (eval $ac_try) 2>&5
22320 ac_status=$?
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); }; }; then
22323 ac_cv_func_shmat=yes
22324 else
22325 echo "$as_me: failed program was:" >&5
22326 sed 's/^/| /' conftest.$ac_ext >&5
22327
22328 ac_cv_func_shmat=no
22329 fi
22330 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22331 fi
22332 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22333 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22334
22335 if test $ac_cv_func_shmat = no; then
22336 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22337 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22338 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22339 echo $ECHO_N "(cached) $ECHO_C" >&6
22340 else
22341 ac_check_lib_save_LIBS=$LIBS
22342 LIBS="-lipc $LIBS"
22343 cat >conftest.$ac_ext <<_ACEOF
22344 #line $LINENO "configure"
22345 /* confdefs.h. */
22346 _ACEOF
22347 cat confdefs.h >>conftest.$ac_ext
22348 cat >>conftest.$ac_ext <<_ACEOF
22349 /* end confdefs.h. */
22350
22351 /* Override any gcc2 internal prototype to avoid an error. */
22352 #ifdef __cplusplus
22353 extern "C"
22354 #endif
22355 /* We use char because int might match the return type of a gcc2
22356 builtin and then its argument prototype would still apply. */
22357 char shmat ();
22358 int
22359 main ()
22360 {
22361 shmat ();
22362 ;
22363 return 0;
22364 }
22365 _ACEOF
22366 rm -f conftest.$ac_objext conftest$ac_exeext
22367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22368 (eval $ac_link) 2>&5
22369 ac_status=$?
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); } &&
22372 { ac_try='test -s conftest$ac_exeext'
22373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22374 (eval $ac_try) 2>&5
22375 ac_status=$?
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; }; then
22378 ac_cv_lib_ipc_shmat=yes
22379 else
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.$ac_ext >&5
22382
22383 ac_cv_lib_ipc_shmat=no
22384 fi
22385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22386 LIBS=$ac_check_lib_save_LIBS
22387 fi
22388 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22389 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22390 if test $ac_cv_lib_ipc_shmat = yes; then
22391 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22392 fi
22393
22394 fi
22395 fi
22396
22397 # Check for libraries that X11R6 Xt/Xaw programs need.
22398 ac_save_LDFLAGS=$LDFLAGS
22399 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22400 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22401 # check for ICE first), but we must link in the order -lSM -lICE or
22402 # we get undefined symbols. So assume we have SM if we have ICE.
22403 # These have to be linked with before -lX11, unlike the other
22404 # libraries we check for below, so use a different variable.
22405 # John Interrante, Karl Berry
22406 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22407 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22408 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22409 echo $ECHO_N "(cached) $ECHO_C" >&6
22410 else
22411 ac_check_lib_save_LIBS=$LIBS
22412 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22413 cat >conftest.$ac_ext <<_ACEOF
22414 #line $LINENO "configure"
22415 /* confdefs.h. */
22416 _ACEOF
22417 cat confdefs.h >>conftest.$ac_ext
22418 cat >>conftest.$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420
22421 /* Override any gcc2 internal prototype to avoid an error. */
22422 #ifdef __cplusplus
22423 extern "C"
22424 #endif
22425 /* We use char because int might match the return type of a gcc2
22426 builtin and then its argument prototype would still apply. */
22427 char IceConnectionNumber ();
22428 int
22429 main ()
22430 {
22431 IceConnectionNumber ();
22432 ;
22433 return 0;
22434 }
22435 _ACEOF
22436 rm -f conftest.$ac_objext conftest$ac_exeext
22437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22438 (eval $ac_link) 2>&5
22439 ac_status=$?
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } &&
22442 { ac_try='test -s conftest$ac_exeext'
22443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444 (eval $ac_try) 2>&5
22445 ac_status=$?
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); }; }; then
22448 ac_cv_lib_ICE_IceConnectionNumber=yes
22449 else
22450 echo "$as_me: failed program was:" >&5
22451 sed 's/^/| /' conftest.$ac_ext >&5
22452
22453 ac_cv_lib_ICE_IceConnectionNumber=no
22454 fi
22455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22456 LIBS=$ac_check_lib_save_LIBS
22457 fi
22458 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22459 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22460 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22461 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22462 fi
22463
22464 LDFLAGS=$ac_save_LDFLAGS
22465
22466 fi
22467
22468
22469 if test "$no_x" = "yes"; then
22470 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22471 echo "$as_me: error: X11 not found" >&2;}
22472 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22473 fi
22474
22475 GUI_TK_LIBRARY="$X_LIBS"
22476 TOOLKIT_INCLUDE="$X_CFLAGS"
22477 AFMINSTALL=afminstall
22478 COMPILED_X_PROGRAM=0
22479
22480 if test "$wxUSE_NANOX" = "yes"; then
22481 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22482 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22483 if test "x$MICROWIN" = x ; then
22484 echo "$as_me:$LINENO: result: not found" >&5
22485 echo "${ECHO_T}not found" >&6
22486 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22487 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22488 { (exit 1); exit 1; }; }
22489 else
22490 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22491 echo "${ECHO_T}$MICROWIN" >&6
22492 cat >>confdefs.h <<\_ACEOF
22493 #define wxUSE_NANOX 1
22494 _ACEOF
22495
22496 fi
22497 fi
22498
22499 xpm_link=
22500 echo "$as_me:$LINENO: checking for Xpm library" >&5
22501 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22502
22503 ac_find_libraries=
22504 for ac_dir in $SEARCH_LIB /usr/lib;
22505 do
22506 for ac_extension in a so sl dylib; do
22507 if test -f "$ac_dir/libXpm.$ac_extension"; then
22508 ac_find_libraries=$ac_dir
22509 break 2
22510 fi
22511 done
22512 done
22513
22514 if test "$ac_find_libraries" != "" ; then
22515
22516 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22517 result=$?
22518 if test $result = 0; then
22519 ac_path_to_link=""
22520 else
22521 ac_path_to_link=" -L$ac_find_libraries"
22522 fi
22523
22524 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22525 xpm_link=" -lXpm"
22526 cat >>confdefs.h <<\_ACEOF
22527 #define wxHAVE_LIB_XPM 1
22528 _ACEOF
22529
22530 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22531 echo "${ECHO_T}found at $ac_find_libraries" >&6
22532 else
22533 cat >conftest.$ac_ext <<_ACEOF
22534 #line $LINENO "configure"
22535 /* confdefs.h. */
22536 _ACEOF
22537 cat confdefs.h >>conftest.$ac_ext
22538 cat >>conftest.$ac_ext <<_ACEOF
22539 /* end confdefs.h. */
22540
22541 #include <X11/xpm.h>
22542
22543 int
22544 main ()
22545 {
22546
22547 int version;
22548 version = XpmLibraryVersion();
22549
22550 ;
22551 return 0;
22552 }
22553 _ACEOF
22554 rm -f conftest.$ac_objext
22555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22556 (eval $ac_compile) 2>&5
22557 ac_status=$?
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); } &&
22560 { ac_try='test -s conftest.$ac_objext'
22561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22562 (eval $ac_try) 2>&5
22563 ac_status=$?
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); }; }; then
22566
22567 xpm_link=" -lXpm"
22568 cat >>confdefs.h <<\_ACEOF
22569 #define wxHAVE_LIB_XPM 1
22570 _ACEOF
22571
22572 echo "$as_me:$LINENO: result: found in default search path" >&5
22573 echo "${ECHO_T}found in default search path" >&6
22574 COMPILED_X_PROGRAM=0
22575
22576 else
22577 echo "$as_me: failed program was:" >&5
22578 sed 's/^/| /' conftest.$ac_ext >&5
22579
22580
22581 echo "$as_me:$LINENO: result: no" >&5
22582 echo "${ECHO_T}no" >&6
22583 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22584 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22585
22586
22587 fi
22588 rm -f conftest.$ac_objext conftest.$ac_ext
22589 fi
22590
22591 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22592 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22593 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22594 echo $ECHO_N "(cached) $ECHO_C" >&6
22595 else
22596 ac_check_lib_save_LIBS=$LIBS
22597 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22598 cat >conftest.$ac_ext <<_ACEOF
22599 #line $LINENO "configure"
22600 /* confdefs.h. */
22601 _ACEOF
22602 cat confdefs.h >>conftest.$ac_ext
22603 cat >>conftest.$ac_ext <<_ACEOF
22604 /* end confdefs.h. */
22605
22606 /* Override any gcc2 internal prototype to avoid an error. */
22607 #ifdef __cplusplus
22608 extern "C"
22609 #endif
22610 /* We use char because int might match the return type of a gcc2
22611 builtin and then its argument prototype would still apply. */
22612 char XShapeQueryExtension ();
22613 int
22614 main ()
22615 {
22616 XShapeQueryExtension ();
22617 ;
22618 return 0;
22619 }
22620 _ACEOF
22621 rm -f conftest.$ac_objext conftest$ac_exeext
22622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22623 (eval $ac_link) 2>&5
22624 ac_status=$?
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); } &&
22627 { ac_try='test -s conftest$ac_exeext'
22628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22629 (eval $ac_try) 2>&5
22630 ac_status=$?
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); }; }; then
22633 ac_cv_lib_Xext_XShapeQueryExtension=yes
22634 else
22635 echo "$as_me: failed program was:" >&5
22636 sed 's/^/| /' conftest.$ac_ext >&5
22637
22638 ac_cv_lib_Xext_XShapeQueryExtension=no
22639 fi
22640 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22641 LIBS=$ac_check_lib_save_LIBS
22642 fi
22643 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22644 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22645 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22646
22647 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22648 wxHAVE_XEXT_LIB=1
22649
22650 fi
22651
22652
22653 if test "$wxUSE_UNICODE" = "yes"; then
22654
22655 succeeded=no
22656
22657 if test -z "$PKG_CONFIG"; then
22658 # Extract the first word of "pkg-config", so it can be a program name with args.
22659 set dummy pkg-config; ac_word=$2
22660 echo "$as_me:$LINENO: checking for $ac_word" >&5
22661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22662 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22663 echo $ECHO_N "(cached) $ECHO_C" >&6
22664 else
22665 case $PKG_CONFIG in
22666 [\\/]* | ?:[\\/]*)
22667 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22668 ;;
22669 *)
22670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22671 for as_dir in $PATH
22672 do
22673 IFS=$as_save_IFS
22674 test -z "$as_dir" && as_dir=.
22675 for ac_exec_ext in '' $ac_executable_extensions; do
22676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22677 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22679 break 2
22680 fi
22681 done
22682 done
22683
22684 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22685 ;;
22686 esac
22687 fi
22688 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22689
22690 if test -n "$PKG_CONFIG"; then
22691 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22692 echo "${ECHO_T}$PKG_CONFIG" >&6
22693 else
22694 echo "$as_me:$LINENO: result: no" >&5
22695 echo "${ECHO_T}no" >&6
22696 fi
22697
22698 fi
22699
22700 if test "$PKG_CONFIG" = "no" ; then
22701 echo "*** The pkg-config script could not be found. Make sure it is"
22702 echo "*** in your path, or set the PKG_CONFIG environment variable"
22703 echo "*** to the full path to pkg-config."
22704 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22705 else
22706 PKG_CONFIG_MIN_VERSION=0.9.0
22707 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22708 echo "$as_me:$LINENO: checking for pangox" >&5
22709 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22710
22711 if $PKG_CONFIG --exists "pangox" ; then
22712 echo "$as_me:$LINENO: result: yes" >&5
22713 echo "${ECHO_T}yes" >&6
22714 succeeded=yes
22715
22716 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22717 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22718 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22719 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22720 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22721
22722 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22723 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22724 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22725 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22726 echo "${ECHO_T}$PANGOX_LIBS" >&6
22727 else
22728 PANGOX_CFLAGS=""
22729 PANGOX_LIBS=""
22730 ## If we have a custom action on failure, don't print errors, but
22731 ## do set a variable so people can do so.
22732 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22733
22734 fi
22735
22736
22737
22738 else
22739 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22740 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22741 fi
22742 fi
22743
22744 if test $succeeded = yes; then
22745
22746 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22747 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22748
22749 else
22750
22751 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22752 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22753 { (exit 1); exit 1; }; }
22754
22755
22756 fi
22757
22758
22759 succeeded=no
22760
22761 if test -z "$PKG_CONFIG"; then
22762 # Extract the first word of "pkg-config", so it can be a program name with args.
22763 set dummy pkg-config; ac_word=$2
22764 echo "$as_me:$LINENO: checking for $ac_word" >&5
22765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22766 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22767 echo $ECHO_N "(cached) $ECHO_C" >&6
22768 else
22769 case $PKG_CONFIG in
22770 [\\/]* | ?:[\\/]*)
22771 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22772 ;;
22773 *)
22774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22775 for as_dir in $PATH
22776 do
22777 IFS=$as_save_IFS
22778 test -z "$as_dir" && as_dir=.
22779 for ac_exec_ext in '' $ac_executable_extensions; do
22780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22781 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22783 break 2
22784 fi
22785 done
22786 done
22787
22788 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22789 ;;
22790 esac
22791 fi
22792 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22793
22794 if test -n "$PKG_CONFIG"; then
22795 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22796 echo "${ECHO_T}$PKG_CONFIG" >&6
22797 else
22798 echo "$as_me:$LINENO: result: no" >&5
22799 echo "${ECHO_T}no" >&6
22800 fi
22801
22802 fi
22803
22804 if test "$PKG_CONFIG" = "no" ; then
22805 echo "*** The pkg-config script could not be found. Make sure it is"
22806 echo "*** in your path, or set the PKG_CONFIG environment variable"
22807 echo "*** to the full path to pkg-config."
22808 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22809 else
22810 PKG_CONFIG_MIN_VERSION=0.9.0
22811 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22812 echo "$as_me:$LINENO: checking for pangoft2" >&5
22813 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22814
22815 if $PKG_CONFIG --exists "pangoft2" ; then
22816 echo "$as_me:$LINENO: result: yes" >&5
22817 echo "${ECHO_T}yes" >&6
22818 succeeded=yes
22819
22820 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22821 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22822 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22823 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22824 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22825
22826 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22827 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22828 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22829 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22830 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22831 else
22832 PANGOFT2_CFLAGS=""
22833 PANGOFT2_LIBS=""
22834 ## If we have a custom action on failure, don't print errors, but
22835 ## do set a variable so people can do so.
22836 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22837
22838 fi
22839
22840
22841
22842 else
22843 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22844 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22845 fi
22846 fi
22847
22848 if test $succeeded = yes; then
22849
22850 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22851 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22852
22853 else
22854
22855 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22856 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22857 wxUSE_PRINTING_ARCHITECTURE="no"
22858
22859
22860 fi
22861
22862
22863 succeeded=no
22864
22865 if test -z "$PKG_CONFIG"; then
22866 # Extract the first word of "pkg-config", so it can be a program name with args.
22867 set dummy pkg-config; ac_word=$2
22868 echo "$as_me:$LINENO: checking for $ac_word" >&5
22869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22870 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22871 echo $ECHO_N "(cached) $ECHO_C" >&6
22872 else
22873 case $PKG_CONFIG in
22874 [\\/]* | ?:[\\/]*)
22875 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22876 ;;
22877 *)
22878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22879 for as_dir in $PATH
22880 do
22881 IFS=$as_save_IFS
22882 test -z "$as_dir" && as_dir=.
22883 for ac_exec_ext in '' $ac_executable_extensions; do
22884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22885 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22887 break 2
22888 fi
22889 done
22890 done
22891
22892 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22893 ;;
22894 esac
22895 fi
22896 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22897
22898 if test -n "$PKG_CONFIG"; then
22899 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22900 echo "${ECHO_T}$PKG_CONFIG" >&6
22901 else
22902 echo "$as_me:$LINENO: result: no" >&5
22903 echo "${ECHO_T}no" >&6
22904 fi
22905
22906 fi
22907
22908 if test "$PKG_CONFIG" = "no" ; then
22909 echo "*** The pkg-config script could not be found. Make sure it is"
22910 echo "*** in your path, or set the PKG_CONFIG environment variable"
22911 echo "*** to the full path to pkg-config."
22912 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22913 else
22914 PKG_CONFIG_MIN_VERSION=0.9.0
22915 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22916 echo "$as_me:$LINENO: checking for pangoxft" >&5
22917 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22918
22919 if $PKG_CONFIG --exists "pangoxft" ; then
22920 echo "$as_me:$LINENO: result: yes" >&5
22921 echo "${ECHO_T}yes" >&6
22922 succeeded=yes
22923
22924 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22925 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22926 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22927 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22928 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22929
22930 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22931 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22932 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22933 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22934 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22935 else
22936 PANGOXFT_CFLAGS=""
22937 PANGOXFT_LIBS=""
22938 ## If we have a custom action on failure, don't print errors, but
22939 ## do set a variable so people can do so.
22940 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22941
22942 fi
22943
22944
22945
22946 else
22947 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22948 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22949 fi
22950 fi
22951
22952 if test $succeeded = yes; then
22953
22954 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22955 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22956
22957 else
22958
22959 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22960 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22961
22962
22963 fi
22964
22965 fi
22966
22967 wxUSE_UNIVERSAL="yes"
22968
22969 if test "$wxUSE_NANOX" = "yes"; then
22970 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22971 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"
22972 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22973 else
22974 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22975 fi
22976
22977 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22978 TOOLKIT=X11
22979 GUIDIST=X11_DIST
22980 fi
22981
22982 if test "$wxUSE_MOTIF" = 1; then
22983 if test "$no_x" = yes; then
22984 # Not all programs may use this symbol, but it does not hurt to define it.
22985
22986 cat >>confdefs.h <<\_ACEOF
22987 #define X_DISPLAY_MISSING 1
22988 _ACEOF
22989
22990 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22991 else
22992 if test -n "$x_includes"; then
22993 X_CFLAGS="$X_CFLAGS -I$x_includes"
22994 fi
22995
22996 # It would also be nice to do this for all -L options, not just this one.
22997 if test -n "$x_libraries"; then
22998 X_LIBS="$X_LIBS -L$x_libraries"
22999 # For Solaris; some versions of Sun CC require a space after -R and
23000 # others require no space. Words are not sufficient . . . .
23001 case `(uname -sr) 2>/dev/null` in
23002 "SunOS 5"*)
23003 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23004 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23005 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23006 cat >conftest.$ac_ext <<_ACEOF
23007 #line $LINENO "configure"
23008 /* confdefs.h. */
23009 _ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23013
23014 int
23015 main ()
23016 {
23017
23018 ;
23019 return 0;
23020 }
23021 _ACEOF
23022 rm -f conftest.$ac_objext conftest$ac_exeext
23023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23024 (eval $ac_link) 2>&5
23025 ac_status=$?
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); } &&
23028 { ac_try='test -s conftest$ac_exeext'
23029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23030 (eval $ac_try) 2>&5
23031 ac_status=$?
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); }; }; then
23034 ac_R_nospace=yes
23035 else
23036 echo "$as_me: failed program was:" >&5
23037 sed 's/^/| /' conftest.$ac_ext >&5
23038
23039 ac_R_nospace=no
23040 fi
23041 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23042 if test $ac_R_nospace = yes; then
23043 echo "$as_me:$LINENO: result: no" >&5
23044 echo "${ECHO_T}no" >&6
23045 X_LIBS="$X_LIBS -R$x_libraries"
23046 else
23047 LIBS="$ac_xsave_LIBS -R $x_libraries"
23048 cat >conftest.$ac_ext <<_ACEOF
23049 #line $LINENO "configure"
23050 /* confdefs.h. */
23051 _ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055
23056 int
23057 main ()
23058 {
23059
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_R_space=yes
23077 else
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.$ac_ext >&5
23080
23081 ac_R_space=no
23082 fi
23083 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23084 if test $ac_R_space = yes; then
23085 echo "$as_me:$LINENO: result: yes" >&5
23086 echo "${ECHO_T}yes" >&6
23087 X_LIBS="$X_LIBS -R $x_libraries"
23088 else
23089 echo "$as_me:$LINENO: result: neither works" >&5
23090 echo "${ECHO_T}neither works" >&6
23091 fi
23092 fi
23093 LIBS=$ac_xsave_LIBS
23094 esac
23095 fi
23096
23097 # Check for system-dependent libraries X programs must link with.
23098 # Do this before checking for the system-independent R6 libraries
23099 # (-lICE), since we may need -lsocket or whatever for X linking.
23100
23101 if test "$ISC" = yes; then
23102 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23103 else
23104 # Martyn Johnson says this is needed for Ultrix, if the X
23105 # libraries were built with DECnet support. And Karl Berry says
23106 # the Alpha needs dnet_stub (dnet does not exist).
23107 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23108 cat >conftest.$ac_ext <<_ACEOF
23109 #line $LINENO "configure"
23110 /* confdefs.h. */
23111 _ACEOF
23112 cat confdefs.h >>conftest.$ac_ext
23113 cat >>conftest.$ac_ext <<_ACEOF
23114 /* end confdefs.h. */
23115
23116 /* Override any gcc2 internal prototype to avoid an error. */
23117 #ifdef __cplusplus
23118 extern "C"
23119 #endif
23120 /* We use char because int might match the return type of a gcc2
23121 builtin and then its argument prototype would still apply. */
23122 char XOpenDisplay ();
23123 int
23124 main ()
23125 {
23126 XOpenDisplay ();
23127 ;
23128 return 0;
23129 }
23130 _ACEOF
23131 rm -f conftest.$ac_objext conftest$ac_exeext
23132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23133 (eval $ac_link) 2>&5
23134 ac_status=$?
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } &&
23137 { ac_try='test -s conftest$ac_exeext'
23138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23139 (eval $ac_try) 2>&5
23140 ac_status=$?
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); }; }; then
23143 :
23144 else
23145 echo "$as_me: failed program was:" >&5
23146 sed 's/^/| /' conftest.$ac_ext >&5
23147
23148 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23149 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23150 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23151 echo $ECHO_N "(cached) $ECHO_C" >&6
23152 else
23153 ac_check_lib_save_LIBS=$LIBS
23154 LIBS="-ldnet $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 dnet_ntoa ();
23170 int
23171 main ()
23172 {
23173 dnet_ntoa ();
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_dnet_dnet_ntoa=yes
23191 else
23192 echo "$as_me: failed program was:" >&5
23193 sed 's/^/| /' conftest.$ac_ext >&5
23194
23195 ac_cv_lib_dnet_dnet_ntoa=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_dnet_dnet_ntoa" >&5
23201 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23202 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23203 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23204 fi
23205
23206 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23207 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23208 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23209 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23210 echo $ECHO_N "(cached) $ECHO_C" >&6
23211 else
23212 ac_check_lib_save_LIBS=$LIBS
23213 LIBS="-ldnet_stub $LIBS"
23214 cat >conftest.$ac_ext <<_ACEOF
23215 #line $LINENO "configure"
23216 /* confdefs.h. */
23217 _ACEOF
23218 cat confdefs.h >>conftest.$ac_ext
23219 cat >>conftest.$ac_ext <<_ACEOF
23220 /* end confdefs.h. */
23221
23222 /* Override any gcc2 internal prototype to avoid an error. */
23223 #ifdef __cplusplus
23224 extern "C"
23225 #endif
23226 /* We use char because int might match the return type of a gcc2
23227 builtin and then its argument prototype would still apply. */
23228 char dnet_ntoa ();
23229 int
23230 main ()
23231 {
23232 dnet_ntoa ();
23233 ;
23234 return 0;
23235 }
23236 _ACEOF
23237 rm -f conftest.$ac_objext conftest$ac_exeext
23238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23239 (eval $ac_link) 2>&5
23240 ac_status=$?
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } &&
23243 { ac_try='test -s conftest$ac_exeext'
23244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23245 (eval $ac_try) 2>&5
23246 ac_status=$?
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; }; then
23249 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23250 else
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.$ac_ext >&5
23253
23254 ac_cv_lib_dnet_stub_dnet_ntoa=no
23255 fi
23256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23257 LIBS=$ac_check_lib_save_LIBS
23258 fi
23259 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23260 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23261 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23262 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23263 fi
23264
23265 fi
23266 fi
23267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23268 LIBS="$ac_xsave_LIBS"
23269
23270 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23271 # to get the SysV transport functions.
23272 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23273 # needs -lnsl.
23274 # The nsl library prevents programs from opening the X display
23275 # on Irix 5.2, according to T.E. Dickey.
23276 # The functions gethostbyname, getservbyname, and inet_addr are
23277 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23278 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23279 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23280 if test "${ac_cv_func_gethostbyname+set}" = set; then
23281 echo $ECHO_N "(cached) $ECHO_C" >&6
23282 else
23283 cat >conftest.$ac_ext <<_ACEOF
23284 #line $LINENO "configure"
23285 /* confdefs.h. */
23286 _ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23290 /* System header to define __stub macros and hopefully few prototypes,
23291 which can conflict with char gethostbyname (); below.
23292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23293 <limits.h> exists even on freestanding compilers. */
23294 #ifdef __STDC__
23295 # include <limits.h>
23296 #else
23297 # include <assert.h>
23298 #endif
23299 /* Override any gcc2 internal prototype to avoid an error. */
23300 #ifdef __cplusplus
23301 extern "C"
23302 {
23303 #endif
23304 /* We use char because int might match the return type of a gcc2
23305 builtin and then its argument prototype would still apply. */
23306 char gethostbyname ();
23307 /* The GNU C library defines this for functions which it implements
23308 to always fail with ENOSYS. Some functions are actually named
23309 something starting with __ and the normal name is an alias. */
23310 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23311 choke me
23312 #else
23313 char (*f) () = gethostbyname;
23314 #endif
23315 #ifdef __cplusplus
23316 }
23317 #endif
23318
23319 int
23320 main ()
23321 {
23322 return f != gethostbyname;
23323 ;
23324 return 0;
23325 }
23326 _ACEOF
23327 rm -f conftest.$ac_objext conftest$ac_exeext
23328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23329 (eval $ac_link) 2>&5
23330 ac_status=$?
23331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23332 (exit $ac_status); } &&
23333 { ac_try='test -s conftest$ac_exeext'
23334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23335 (eval $ac_try) 2>&5
23336 ac_status=$?
23337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338 (exit $ac_status); }; }; then
23339 ac_cv_func_gethostbyname=yes
23340 else
23341 echo "$as_me: failed program was:" >&5
23342 sed 's/^/| /' conftest.$ac_ext >&5
23343
23344 ac_cv_func_gethostbyname=no
23345 fi
23346 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23347 fi
23348 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23349 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23350
23351 if test $ac_cv_func_gethostbyname = no; then
23352 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23353 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23354 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23355 echo $ECHO_N "(cached) $ECHO_C" >&6
23356 else
23357 ac_check_lib_save_LIBS=$LIBS
23358 LIBS="-lnsl $LIBS"
23359 cat >conftest.$ac_ext <<_ACEOF
23360 #line $LINENO "configure"
23361 /* confdefs.h. */
23362 _ACEOF
23363 cat confdefs.h >>conftest.$ac_ext
23364 cat >>conftest.$ac_ext <<_ACEOF
23365 /* end confdefs.h. */
23366
23367 /* Override any gcc2 internal prototype to avoid an error. */
23368 #ifdef __cplusplus
23369 extern "C"
23370 #endif
23371 /* We use char because int might match the return type of a gcc2
23372 builtin and then its argument prototype would still apply. */
23373 char gethostbyname ();
23374 int
23375 main ()
23376 {
23377 gethostbyname ();
23378 ;
23379 return 0;
23380 }
23381 _ACEOF
23382 rm -f conftest.$ac_objext conftest$ac_exeext
23383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23384 (eval $ac_link) 2>&5
23385 ac_status=$?
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); } &&
23388 { ac_try='test -s conftest$ac_exeext'
23389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23390 (eval $ac_try) 2>&5
23391 ac_status=$?
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); }; }; then
23394 ac_cv_lib_nsl_gethostbyname=yes
23395 else
23396 echo "$as_me: failed program was:" >&5
23397 sed 's/^/| /' conftest.$ac_ext >&5
23398
23399 ac_cv_lib_nsl_gethostbyname=no
23400 fi
23401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23402 LIBS=$ac_check_lib_save_LIBS
23403 fi
23404 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23405 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23406 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23407 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23408 fi
23409
23410 if test $ac_cv_lib_nsl_gethostbyname = no; then
23411 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23412 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23413 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23414 echo $ECHO_N "(cached) $ECHO_C" >&6
23415 else
23416 ac_check_lib_save_LIBS=$LIBS
23417 LIBS="-lbsd $LIBS"
23418 cat >conftest.$ac_ext <<_ACEOF
23419 #line $LINENO "configure"
23420 /* confdefs.h. */
23421 _ACEOF
23422 cat confdefs.h >>conftest.$ac_ext
23423 cat >>conftest.$ac_ext <<_ACEOF
23424 /* end confdefs.h. */
23425
23426 /* Override any gcc2 internal prototype to avoid an error. */
23427 #ifdef __cplusplus
23428 extern "C"
23429 #endif
23430 /* We use char because int might match the return type of a gcc2
23431 builtin and then its argument prototype would still apply. */
23432 char gethostbyname ();
23433 int
23434 main ()
23435 {
23436 gethostbyname ();
23437 ;
23438 return 0;
23439 }
23440 _ACEOF
23441 rm -f conftest.$ac_objext conftest$ac_exeext
23442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23443 (eval $ac_link) 2>&5
23444 ac_status=$?
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); } &&
23447 { ac_try='test -s conftest$ac_exeext'
23448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23449 (eval $ac_try) 2>&5
23450 ac_status=$?
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; }; then
23453 ac_cv_lib_bsd_gethostbyname=yes
23454 else
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23457
23458 ac_cv_lib_bsd_gethostbyname=no
23459 fi
23460 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23461 LIBS=$ac_check_lib_save_LIBS
23462 fi
23463 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23464 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23465 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23466 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23467 fi
23468
23469 fi
23470 fi
23471
23472 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23473 # socket/setsockopt and other routines are undefined under SCO ODT
23474 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23475 # on later versions), says Simon Leinen: it contains gethostby*
23476 # variants that don't use the name server (or something). -lsocket
23477 # must be given before -lnsl if both are needed. We assume that
23478 # if connect needs -lnsl, so does gethostbyname.
23479 echo "$as_me:$LINENO: checking for connect" >&5
23480 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23481 if test "${ac_cv_func_connect+set}" = set; then
23482 echo $ECHO_N "(cached) $ECHO_C" >&6
23483 else
23484 cat >conftest.$ac_ext <<_ACEOF
23485 #line $LINENO "configure"
23486 /* confdefs.h. */
23487 _ACEOF
23488 cat confdefs.h >>conftest.$ac_ext
23489 cat >>conftest.$ac_ext <<_ACEOF
23490 /* end confdefs.h. */
23491 /* System header to define __stub macros and hopefully few prototypes,
23492 which can conflict with char connect (); below.
23493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23494 <limits.h> exists even on freestanding compilers. */
23495 #ifdef __STDC__
23496 # include <limits.h>
23497 #else
23498 # include <assert.h>
23499 #endif
23500 /* Override any gcc2 internal prototype to avoid an error. */
23501 #ifdef __cplusplus
23502 extern "C"
23503 {
23504 #endif
23505 /* We use char because int might match the return type of a gcc2
23506 builtin and then its argument prototype would still apply. */
23507 char connect ();
23508 /* The GNU C library defines this for functions which it implements
23509 to always fail with ENOSYS. Some functions are actually named
23510 something starting with __ and the normal name is an alias. */
23511 #if defined (__stub_connect) || defined (__stub___connect)
23512 choke me
23513 #else
23514 char (*f) () = connect;
23515 #endif
23516 #ifdef __cplusplus
23517 }
23518 #endif
23519
23520 int
23521 main ()
23522 {
23523 return f != connect;
23524 ;
23525 return 0;
23526 }
23527 _ACEOF
23528 rm -f conftest.$ac_objext conftest$ac_exeext
23529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23530 (eval $ac_link) 2>&5
23531 ac_status=$?
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); } &&
23534 { ac_try='test -s conftest$ac_exeext'
23535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23536 (eval $ac_try) 2>&5
23537 ac_status=$?
23538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539 (exit $ac_status); }; }; then
23540 ac_cv_func_connect=yes
23541 else
23542 echo "$as_me: failed program was:" >&5
23543 sed 's/^/| /' conftest.$ac_ext >&5
23544
23545 ac_cv_func_connect=no
23546 fi
23547 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23548 fi
23549 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23550 echo "${ECHO_T}$ac_cv_func_connect" >&6
23551
23552 if test $ac_cv_func_connect = no; then
23553 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23554 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23555 if test "${ac_cv_lib_socket_connect+set}" = set; then
23556 echo $ECHO_N "(cached) $ECHO_C" >&6
23557 else
23558 ac_check_lib_save_LIBS=$LIBS
23559 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23560 cat >conftest.$ac_ext <<_ACEOF
23561 #line $LINENO "configure"
23562 /* confdefs.h. */
23563 _ACEOF
23564 cat confdefs.h >>conftest.$ac_ext
23565 cat >>conftest.$ac_ext <<_ACEOF
23566 /* end confdefs.h. */
23567
23568 /* Override any gcc2 internal prototype to avoid an error. */
23569 #ifdef __cplusplus
23570 extern "C"
23571 #endif
23572 /* We use char because int might match the return type of a gcc2
23573 builtin and then its argument prototype would still apply. */
23574 char connect ();
23575 int
23576 main ()
23577 {
23578 connect ();
23579 ;
23580 return 0;
23581 }
23582 _ACEOF
23583 rm -f conftest.$ac_objext conftest$ac_exeext
23584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23585 (eval $ac_link) 2>&5
23586 ac_status=$?
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); } &&
23589 { ac_try='test -s conftest$ac_exeext'
23590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23591 (eval $ac_try) 2>&5
23592 ac_status=$?
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); }; }; then
23595 ac_cv_lib_socket_connect=yes
23596 else
23597 echo "$as_me: failed program was:" >&5
23598 sed 's/^/| /' conftest.$ac_ext >&5
23599
23600 ac_cv_lib_socket_connect=no
23601 fi
23602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23603 LIBS=$ac_check_lib_save_LIBS
23604 fi
23605 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23607 if test $ac_cv_lib_socket_connect = yes; then
23608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23609 fi
23610
23611 fi
23612
23613 # Guillermo Gomez says -lposix is necessary on A/UX.
23614 echo "$as_me:$LINENO: checking for remove" >&5
23615 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23616 if test "${ac_cv_func_remove+set}" = set; then
23617 echo $ECHO_N "(cached) $ECHO_C" >&6
23618 else
23619 cat >conftest.$ac_ext <<_ACEOF
23620 #line $LINENO "configure"
23621 /* confdefs.h. */
23622 _ACEOF
23623 cat confdefs.h >>conftest.$ac_ext
23624 cat >>conftest.$ac_ext <<_ACEOF
23625 /* end confdefs.h. */
23626 /* System header to define __stub macros and hopefully few prototypes,
23627 which can conflict with char remove (); below.
23628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23629 <limits.h> exists even on freestanding compilers. */
23630 #ifdef __STDC__
23631 # include <limits.h>
23632 #else
23633 # include <assert.h>
23634 #endif
23635 /* Override any gcc2 internal prototype to avoid an error. */
23636 #ifdef __cplusplus
23637 extern "C"
23638 {
23639 #endif
23640 /* We use char because int might match the return type of a gcc2
23641 builtin and then its argument prototype would still apply. */
23642 char remove ();
23643 /* The GNU C library defines this for functions which it implements
23644 to always fail with ENOSYS. Some functions are actually named
23645 something starting with __ and the normal name is an alias. */
23646 #if defined (__stub_remove) || defined (__stub___remove)
23647 choke me
23648 #else
23649 char (*f) () = remove;
23650 #endif
23651 #ifdef __cplusplus
23652 }
23653 #endif
23654
23655 int
23656 main ()
23657 {
23658 return f != remove;
23659 ;
23660 return 0;
23661 }
23662 _ACEOF
23663 rm -f conftest.$ac_objext conftest$ac_exeext
23664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23665 (eval $ac_link) 2>&5
23666 ac_status=$?
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); } &&
23669 { ac_try='test -s conftest$ac_exeext'
23670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23671 (eval $ac_try) 2>&5
23672 ac_status=$?
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); }; }; then
23675 ac_cv_func_remove=yes
23676 else
23677 echo "$as_me: failed program was:" >&5
23678 sed 's/^/| /' conftest.$ac_ext >&5
23679
23680 ac_cv_func_remove=no
23681 fi
23682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23683 fi
23684 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23685 echo "${ECHO_T}$ac_cv_func_remove" >&6
23686
23687 if test $ac_cv_func_remove = no; then
23688 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23689 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23690 if test "${ac_cv_lib_posix_remove+set}" = set; then
23691 echo $ECHO_N "(cached) $ECHO_C" >&6
23692 else
23693 ac_check_lib_save_LIBS=$LIBS
23694 LIBS="-lposix $LIBS"
23695 cat >conftest.$ac_ext <<_ACEOF
23696 #line $LINENO "configure"
23697 /* confdefs.h. */
23698 _ACEOF
23699 cat confdefs.h >>conftest.$ac_ext
23700 cat >>conftest.$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702
23703 /* Override any gcc2 internal prototype to avoid an error. */
23704 #ifdef __cplusplus
23705 extern "C"
23706 #endif
23707 /* We use char because int might match the return type of a gcc2
23708 builtin and then its argument prototype would still apply. */
23709 char remove ();
23710 int
23711 main ()
23712 {
23713 remove ();
23714 ;
23715 return 0;
23716 }
23717 _ACEOF
23718 rm -f conftest.$ac_objext conftest$ac_exeext
23719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23720 (eval $ac_link) 2>&5
23721 ac_status=$?
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } &&
23724 { ac_try='test -s conftest$ac_exeext'
23725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23726 (eval $ac_try) 2>&5
23727 ac_status=$?
23728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23729 (exit $ac_status); }; }; then
23730 ac_cv_lib_posix_remove=yes
23731 else
23732 echo "$as_me: failed program was:" >&5
23733 sed 's/^/| /' conftest.$ac_ext >&5
23734
23735 ac_cv_lib_posix_remove=no
23736 fi
23737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23738 LIBS=$ac_check_lib_save_LIBS
23739 fi
23740 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23741 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23742 if test $ac_cv_lib_posix_remove = yes; then
23743 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23744 fi
23745
23746 fi
23747
23748 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23749 echo "$as_me:$LINENO: checking for shmat" >&5
23750 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23751 if test "${ac_cv_func_shmat+set}" = set; then
23752 echo $ECHO_N "(cached) $ECHO_C" >&6
23753 else
23754 cat >conftest.$ac_ext <<_ACEOF
23755 #line $LINENO "configure"
23756 /* confdefs.h. */
23757 _ACEOF
23758 cat confdefs.h >>conftest.$ac_ext
23759 cat >>conftest.$ac_ext <<_ACEOF
23760 /* end confdefs.h. */
23761 /* System header to define __stub macros and hopefully few prototypes,
23762 which can conflict with char shmat (); below.
23763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23764 <limits.h> exists even on freestanding compilers. */
23765 #ifdef __STDC__
23766 # include <limits.h>
23767 #else
23768 # include <assert.h>
23769 #endif
23770 /* Override any gcc2 internal prototype to avoid an error. */
23771 #ifdef __cplusplus
23772 extern "C"
23773 {
23774 #endif
23775 /* We use char because int might match the return type of a gcc2
23776 builtin and then its argument prototype would still apply. */
23777 char shmat ();
23778 /* The GNU C library defines this for functions which it implements
23779 to always fail with ENOSYS. Some functions are actually named
23780 something starting with __ and the normal name is an alias. */
23781 #if defined (__stub_shmat) || defined (__stub___shmat)
23782 choke me
23783 #else
23784 char (*f) () = shmat;
23785 #endif
23786 #ifdef __cplusplus
23787 }
23788 #endif
23789
23790 int
23791 main ()
23792 {
23793 return f != shmat;
23794 ;
23795 return 0;
23796 }
23797 _ACEOF
23798 rm -f conftest.$ac_objext conftest$ac_exeext
23799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23800 (eval $ac_link) 2>&5
23801 ac_status=$?
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } &&
23804 { ac_try='test -s conftest$ac_exeext'
23805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23806 (eval $ac_try) 2>&5
23807 ac_status=$?
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; }; then
23810 ac_cv_func_shmat=yes
23811 else
23812 echo "$as_me: failed program was:" >&5
23813 sed 's/^/| /' conftest.$ac_ext >&5
23814
23815 ac_cv_func_shmat=no
23816 fi
23817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23818 fi
23819 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23820 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23821
23822 if test $ac_cv_func_shmat = no; then
23823 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23824 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23825 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23826 echo $ECHO_N "(cached) $ECHO_C" >&6
23827 else
23828 ac_check_lib_save_LIBS=$LIBS
23829 LIBS="-lipc $LIBS"
23830 cat >conftest.$ac_ext <<_ACEOF
23831 #line $LINENO "configure"
23832 /* confdefs.h. */
23833 _ACEOF
23834 cat confdefs.h >>conftest.$ac_ext
23835 cat >>conftest.$ac_ext <<_ACEOF
23836 /* end confdefs.h. */
23837
23838 /* Override any gcc2 internal prototype to avoid an error. */
23839 #ifdef __cplusplus
23840 extern "C"
23841 #endif
23842 /* We use char because int might match the return type of a gcc2
23843 builtin and then its argument prototype would still apply. */
23844 char shmat ();
23845 int
23846 main ()
23847 {
23848 shmat ();
23849 ;
23850 return 0;
23851 }
23852 _ACEOF
23853 rm -f conftest.$ac_objext conftest$ac_exeext
23854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23855 (eval $ac_link) 2>&5
23856 ac_status=$?
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } &&
23859 { ac_try='test -s conftest$ac_exeext'
23860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23861 (eval $ac_try) 2>&5
23862 ac_status=$?
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); }; }; then
23865 ac_cv_lib_ipc_shmat=yes
23866 else
23867 echo "$as_me: failed program was:" >&5
23868 sed 's/^/| /' conftest.$ac_ext >&5
23869
23870 ac_cv_lib_ipc_shmat=no
23871 fi
23872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23873 LIBS=$ac_check_lib_save_LIBS
23874 fi
23875 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23876 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23877 if test $ac_cv_lib_ipc_shmat = yes; then
23878 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23879 fi
23880
23881 fi
23882 fi
23883
23884 # Check for libraries that X11R6 Xt/Xaw programs need.
23885 ac_save_LDFLAGS=$LDFLAGS
23886 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23887 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23888 # check for ICE first), but we must link in the order -lSM -lICE or
23889 # we get undefined symbols. So assume we have SM if we have ICE.
23890 # These have to be linked with before -lX11, unlike the other
23891 # libraries we check for below, so use a different variable.
23892 # John Interrante, Karl Berry
23893 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23894 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23895 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23896 echo $ECHO_N "(cached) $ECHO_C" >&6
23897 else
23898 ac_check_lib_save_LIBS=$LIBS
23899 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23900 cat >conftest.$ac_ext <<_ACEOF
23901 #line $LINENO "configure"
23902 /* confdefs.h. */
23903 _ACEOF
23904 cat confdefs.h >>conftest.$ac_ext
23905 cat >>conftest.$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23907
23908 /* Override any gcc2 internal prototype to avoid an error. */
23909 #ifdef __cplusplus
23910 extern "C"
23911 #endif
23912 /* We use char because int might match the return type of a gcc2
23913 builtin and then its argument prototype would still apply. */
23914 char IceConnectionNumber ();
23915 int
23916 main ()
23917 {
23918 IceConnectionNumber ();
23919 ;
23920 return 0;
23921 }
23922 _ACEOF
23923 rm -f conftest.$ac_objext conftest$ac_exeext
23924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23925 (eval $ac_link) 2>&5
23926 ac_status=$?
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); } &&
23929 { ac_try='test -s conftest$ac_exeext'
23930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23931 (eval $ac_try) 2>&5
23932 ac_status=$?
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); }; }; then
23935 ac_cv_lib_ICE_IceConnectionNumber=yes
23936 else
23937 echo "$as_me: failed program was:" >&5
23938 sed 's/^/| /' conftest.$ac_ext >&5
23939
23940 ac_cv_lib_ICE_IceConnectionNumber=no
23941 fi
23942 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23943 LIBS=$ac_check_lib_save_LIBS
23944 fi
23945 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23946 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23947 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23948 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23949 fi
23950
23951 LDFLAGS=$ac_save_LDFLAGS
23952
23953 fi
23954
23955
23956 if test "$no_x" = "yes"; then
23957 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23958 echo "$as_me: error: X11 not found" >&2;}
23959 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23960 fi
23961
23962 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23963 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23964 AFMINSTALL=afminstall
23965 COMPILED_X_PROGRAM=0
23966
23967 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23968 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23969
23970 ac_find_includes=
23971 for ac_dir in $SEARCH_INCLUDE /usr/include;
23972 do
23973 if test -f "$ac_dir/Xm/Xm.h"; then
23974 ac_find_includes=$ac_dir
23975 break
23976 fi
23977 done
23978
23979 if test "$ac_find_includes" != "" ; then
23980 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23981 echo "${ECHO_T}found in $ac_find_includes" >&6
23982
23983 if test "x$ac_find_includes" = "x/usr/include"; then
23984 ac_path_to_include=""
23985 else
23986 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23987 result=$?
23988 if test $result = 0; then
23989 ac_path_to_include=""
23990 else
23991 ac_path_to_include=" -I$ac_find_includes"
23992 fi
23993 fi
23994
23995 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23996 else
23997 cat >conftest.$ac_ext <<_ACEOF
23998 #line $LINENO "configure"
23999 /* confdefs.h. */
24000 _ACEOF
24001 cat confdefs.h >>conftest.$ac_ext
24002 cat >>conftest.$ac_ext <<_ACEOF
24003 /* end confdefs.h. */
24004
24005 #include <Xm/Xm.h>
24006
24007 int
24008 main ()
24009 {
24010
24011 int version;
24012 version = xmUseVersion;
24013
24014 ;
24015 return 0;
24016 }
24017 _ACEOF
24018 rm -f conftest.$ac_objext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24020 (eval $ac_compile) 2>&5
24021 ac_status=$?
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); } &&
24024 { ac_try='test -s conftest.$ac_objext'
24025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24026 (eval $ac_try) 2>&5
24027 ac_status=$?
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); }; }; then
24030
24031 echo "$as_me:$LINENO: result: found in default search path" >&5
24032 echo "${ECHO_T}found in default search path" >&6
24033 COMPILED_X_PROGRAM=1
24034
24035 else
24036 echo "$as_me: failed program was:" >&5
24037 sed 's/^/| /' conftest.$ac_ext >&5
24038
24039
24040 echo "$as_me:$LINENO: result: no" >&5
24041 echo "${ECHO_T}no" >&6
24042 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24043 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24044 { (exit 1); exit 1; }; }
24045
24046
24047 fi
24048 rm -f conftest.$ac_objext conftest.$ac_ext
24049 fi
24050
24051 if test "$COMPILED_X_PROGRAM" = 0; then
24052 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24053 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24054
24055 ac_find_libraries=
24056 for ac_dir in $SEARCH_LIB /usr/lib;
24057 do
24058 for ac_extension in a so sl dylib; do
24059 if test -f "$ac_dir/libXm.$ac_extension"; then
24060 ac_find_libraries=$ac_dir
24061 break 2
24062 fi
24063 done
24064 done
24065
24066 if test "$ac_find_libraries" != "" ; then
24067 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24068 echo "${ECHO_T}found at $ac_find_libraries" >&6
24069
24070
24071 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24072 result=$?
24073 if test $result = 0; then
24074 ac_path_to_link=""
24075 else
24076 ac_path_to_link=" -L$ac_find_libraries"
24077 fi
24078
24079 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24080 else
24081 save_CFLAGS=$CFLAGS
24082 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24083
24084 cat >conftest.$ac_ext <<_ACEOF
24085 #line $LINENO "configure"
24086 /* confdefs.h. */
24087 _ACEOF
24088 cat confdefs.h >>conftest.$ac_ext
24089 cat >>conftest.$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24091
24092 #include <Xm/Xm.h>
24093
24094 int
24095 main ()
24096 {
24097
24098 int version;
24099 version = xmUseVersion;
24100
24101 ;
24102 return 0;
24103 }
24104 _ACEOF
24105 rm -f conftest.$ac_objext
24106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24107 (eval $ac_compile) 2>&5
24108 ac_status=$?
24109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24110 (exit $ac_status); } &&
24111 { ac_try='test -s conftest.$ac_objext'
24112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24113 (eval $ac_try) 2>&5
24114 ac_status=$?
24115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24116 (exit $ac_status); }; }; then
24117
24118 echo "$as_me:$LINENO: result: found in default search path" >&5
24119 echo "${ECHO_T}found in default search path" >&6
24120 COMPILED_X_PROGRAM=1
24121
24122 else
24123 echo "$as_me: failed program was:" >&5
24124 sed 's/^/| /' conftest.$ac_ext >&5
24125
24126
24127 echo "$as_me:$LINENO: result: no" >&5
24128 echo "${ECHO_T}no" >&6
24129 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24130 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24131 { (exit 1); exit 1; }; }
24132
24133
24134 fi
24135 rm -f conftest.$ac_objext conftest.$ac_ext
24136
24137 CFLAGS=$save_CFLAGS
24138 fi
24139 fi
24140
24141 xpm_link=
24142 echo "$as_me:$LINENO: checking for Xpm library" >&5
24143 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24144
24145 ac_find_libraries=
24146 for ac_dir in $SEARCH_LIB /usr/lib;
24147 do
24148 for ac_extension in a so sl dylib; do
24149 if test -f "$ac_dir/libXpm.$ac_extension"; then
24150 ac_find_libraries=$ac_dir
24151 break 2
24152 fi
24153 done
24154 done
24155
24156 if test "$ac_find_libraries" != "" ; then
24157
24158 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24159 result=$?
24160 if test $result = 0; then
24161 ac_path_to_link=""
24162 else
24163 ac_path_to_link=" -L$ac_find_libraries"
24164 fi
24165
24166 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24167
24168 xpm_link=" -lXpm"
24169 cat >>confdefs.h <<\_ACEOF
24170 #define wxHAVE_LIB_XPM 1
24171 _ACEOF
24172
24173 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24174 echo "${ECHO_T}found at $ac_find_libraries" >&6
24175 else
24176 save_CFLAGS=$CFLAGS
24177 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24178
24179 cat >conftest.$ac_ext <<_ACEOF
24180 #line $LINENO "configure"
24181 /* confdefs.h. */
24182 _ACEOF
24183 cat confdefs.h >>conftest.$ac_ext
24184 cat >>conftest.$ac_ext <<_ACEOF
24185 /* end confdefs.h. */
24186
24187 #include <X11/xpm.h>
24188
24189 int
24190 main ()
24191 {
24192
24193 int version;
24194 version = XpmLibraryVersion();
24195
24196 ;
24197 return 0;
24198 }
24199 _ACEOF
24200 rm -f conftest.$ac_objext
24201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24202 (eval $ac_compile) 2>&5
24203 ac_status=$?
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); } &&
24206 { ac_try='test -s conftest.$ac_objext'
24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24209 ac_status=$?
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); }; }; then
24212
24213 xpm_link=" -lXpm"
24214 cat >>confdefs.h <<\_ACEOF
24215 #define wxHAVE_LIB_XPM 1
24216 _ACEOF
24217
24218 echo "$as_me:$LINENO: result: found in default search path" >&5
24219 echo "${ECHO_T}found in default search path" >&6
24220 COMPILED_X_PROGRAM=0
24221
24222 else
24223 echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.$ac_ext >&5
24225
24226
24227 echo "$as_me:$LINENO: result: no" >&5
24228 echo "${ECHO_T}no" >&6
24229 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24230 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24231
24232
24233 fi
24234 rm -f conftest.$ac_objext conftest.$ac_ext
24235
24236 CFLAGS=$save_CFLAGS
24237 fi
24238
24239 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24240 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24241 libp_link=""
24242 libsm_ice_link=""
24243 libs_found=0
24244 for libp in "" " -lXp"; do
24245 if test "$libs_found" = "0"; then
24246 for libsm_ice in " -lSM -lICE"; do
24247 if test "$libs_found" = "0"; then
24248 save_LIBS="$LIBS"
24249 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24250 save_CFLAGS=$CFLAGS
24251 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24252
24253 cat >conftest.$ac_ext <<_ACEOF
24254 #line $LINENO "configure"
24255 /* confdefs.h. */
24256 _ACEOF
24257 cat confdefs.h >>conftest.$ac_ext
24258 cat >>conftest.$ac_ext <<_ACEOF
24259 /* end confdefs.h. */
24260
24261 #include <Xm/Xm.h>
24262 #include <Xm/List.h>
24263
24264 int
24265 main ()
24266 {
24267
24268 XmString string = NULL;
24269 Widget w = NULL;
24270 int position = 0;
24271 XmListAddItem(w, string, position);
24272
24273 ;
24274 return 0;
24275 }
24276 _ACEOF
24277 rm -f conftest.$ac_objext conftest$ac_exeext
24278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24279 (eval $ac_link) 2>&5
24280 ac_status=$?
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); } &&
24283 { ac_try='test -s conftest$ac_exeext'
24284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24285 (eval $ac_try) 2>&5
24286 ac_status=$?
24287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24288 (exit $ac_status); }; }; then
24289
24290 libp_link="$libp"
24291 libsm_ice_link="$libsm_ice"
24292 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24293 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24294 libs_found=1
24295
24296 else
24297 echo "$as_me: failed program was:" >&5
24298 sed 's/^/| /' conftest.$ac_ext >&5
24299
24300
24301
24302 fi
24303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24304
24305 LIBS="$save_LIBS"
24306 CFLAGS=$save_CFLAGS
24307 fi
24308 done
24309 fi
24310 done
24311
24312 if test "$libs_found" = "0"; then
24313 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24314 echo "${ECHO_T}can't find the right libraries" >&6
24315 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24316 echo "$as_me: error: can't link a simple motif program" >&2;}
24317 { (exit 1); exit 1; }; }
24318 fi
24319
24320 save_CFLAGS=$CFLAGS
24321 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24322 echo "$as_me:$LINENO: checking for Motif 2" >&5
24323 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24324 cat >conftest.$ac_ext <<_ACEOF
24325 #line $LINENO "configure"
24326 /* confdefs.h. */
24327 _ACEOF
24328 cat confdefs.h >>conftest.$ac_ext
24329 cat >>conftest.$ac_ext <<_ACEOF
24330 /* end confdefs.h. */
24331
24332 #include <Xm/Xm.h>
24333
24334 int
24335 main ()
24336 {
24337
24338 #if XmVersion < 2000
24339 #error "Not Motif 2"
24340 #endif
24341
24342 ;
24343 return 0;
24344 }
24345 _ACEOF
24346 rm -f conftest.$ac_objext
24347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24348 (eval $ac_compile) 2>&5
24349 ac_status=$?
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } &&
24352 { ac_try='test -s conftest.$ac_objext'
24353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354 (eval $ac_try) 2>&5
24355 ac_status=$?
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); }; }; then
24358
24359 cat >>confdefs.h <<\_ACEOF
24360 #define __WXMOTIF20__ 1
24361 _ACEOF
24362
24363 echo "$as_me:$LINENO: result: found" >&5
24364 echo "${ECHO_T}found" >&6
24365
24366 else
24367 echo "$as_me: failed program was:" >&5
24368 sed 's/^/| /' conftest.$ac_ext >&5
24369
24370
24371 cat >>confdefs.h <<\_ACEOF
24372 #define __WXMOTIF20__ 0
24373 _ACEOF
24374
24375 echo "$as_me:$LINENO: result: not found" >&5
24376 echo "${ECHO_T}not found" >&6
24377
24378 fi
24379 rm -f conftest.$ac_objext conftest.$ac_ext
24380 CFLAGS=$save_CFLAGS
24381
24382 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24383 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24384 TOOLKIT=MOTIF
24385 GUIDIST=MOTIF_DIST
24386 wxHAVE_XEXT_LIB=1
24387 fi
24388
24389 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24390 test "$wxHAVE_XEXT_LIB" = 1; then
24391 save_CFLAGS="$CFLAGS"
24392 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24393
24394 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24395 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24396 cat >conftest.$ac_ext <<_ACEOF
24397 #line $LINENO "configure"
24398 /* confdefs.h. */
24399 _ACEOF
24400 cat confdefs.h >>conftest.$ac_ext
24401 cat >>conftest.$ac_ext <<_ACEOF
24402 /* end confdefs.h. */
24403
24404 #include <X11/Xlib.h>
24405 #include <X11/extensions/shape.h>
24406
24407 int
24408 main ()
24409 {
24410
24411 int dummy1, dummy2;
24412 XShapeQueryExtension((Display*)NULL,
24413 (int*)NULL, (int*)NULL);
24414
24415 ;
24416 return 0;
24417 }
24418 _ACEOF
24419 rm -f conftest.$ac_objext
24420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24421 (eval $ac_compile) 2>&5
24422 ac_status=$?
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } &&
24425 { ac_try='test -s conftest.$ac_objext'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24428 ac_status=$?
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; }; then
24431
24432 cat >>confdefs.h <<\_ACEOF
24433 #define HAVE_XSHAPE 1
24434 _ACEOF
24435
24436 echo "$as_me:$LINENO: result: found" >&5
24437 echo "${ECHO_T}found" >&6
24438
24439 else
24440 echo "$as_me: failed program was:" >&5
24441 sed 's/^/| /' conftest.$ac_ext >&5
24442
24443
24444 echo "$as_me:$LINENO: result: not found" >&5
24445 echo "${ECHO_T}not found" >&6
24446
24447 fi
24448 rm -f conftest.$ac_objext conftest.$ac_ext
24449 CFLAGS="$save_CFLAGS"
24450 fi
24451
24452 if test "$wxUSE_MAC" = 1; then
24453 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24454
24455 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24456 TOOLKIT=MAC
24457 GUIDIST=MACX_DIST
24458 WXBASEPORT="_carbon"
24459 fi
24460
24461 if test "$wxUSE_COCOA" = 1; then
24462 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24463 TOOLKIT=COCOA
24464 GUIDIST=COCOA_DIST
24465 fi
24466
24467 if test "$wxUSE_PM" = 1; then
24468 TOOLKIT=PM
24469 GUIDIST=GTK_DIST
24470 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24471 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24472 wxUSE_THREADS="no"
24473 fi
24474
24475 if test "$TOOLKIT" = "PM" ; then
24476 TOOLKIT_DIR="os2"
24477 else
24478 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24479 fi
24480
24481 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24482
24483 if test "$wxUSE_UNIVERSAL" = "yes"; then
24484 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24485
24486 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24487 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24488
24489 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24490 if test "$wxUSE_X11" = 1; then
24491 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24492 else
24493 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24494 fi
24495 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24496 WIDGET_SET=univ
24497 else
24498 ALL_OBJECTS="\$(GUIOBJS)"
24499 ALL_SOURCES="\$(ALL_SOURCES)"
24500 ALL_HEADERS="\$(ALL_HEADERS)"
24501 fi
24502
24503 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24504
24505 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24506 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24507 fi
24508
24509 if test "$wxUSE_HTML" = "yes"; then
24510 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24511 fi
24512
24513 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24514 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24515 fi
24516 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24517 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24518 fi
24519 if test "$wxUSE_LIBPNG" = "builtin" ; then
24520 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24521 fi
24522
24523 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24524 DISTDIR="wx\$(TOOLKIT)"
24525 else
24526 USE_GUI=0
24527
24528 TOOLKIT_DIR="base"
24529
24530 if test "$USE_WIN32" = 1 ; then
24531 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24532 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24533
24534 TOOLKIT="MSW"
24535 else
24536 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24537 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24538 fi
24539
24540 ALL_SOURCES="\$(ALL_SOURCES)"
24541 ALL_HEADERS="\$(ALL_HEADERS)"
24542
24543 PORT_FILES="\${top_srcdir}/src/files.lst"
24544
24545 GUIDIST="BASE_DIST"
24546 DISTDIR="wxBase"
24547 fi
24548
24549
24550
24551
24552 IODBC_C_SRC=""
24553
24554
24555 if test "$TOOLKIT" != "MSW" ; then
24556
24557 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24558
24559 if test "${ac_cv_header_sql_h+set}" = set; then
24560 echo "$as_me:$LINENO: checking for sql.h" >&5
24561 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24562 if test "${ac_cv_header_sql_h+set}" = set; then
24563 echo $ECHO_N "(cached) $ECHO_C" >&6
24564 fi
24565 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24566 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24567 else
24568 # Is the header compilable?
24569 echo "$as_me:$LINENO: checking sql.h usability" >&5
24570 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24571 cat >conftest.$ac_ext <<_ACEOF
24572 #line $LINENO "configure"
24573 /* confdefs.h. */
24574 _ACEOF
24575 cat confdefs.h >>conftest.$ac_ext
24576 cat >>conftest.$ac_ext <<_ACEOF
24577 /* end confdefs.h. */
24578 $ac_includes_default
24579 #include <sql.h>
24580 _ACEOF
24581 rm -f conftest.$ac_objext
24582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24583 (eval $ac_compile) 2>&5
24584 ac_status=$?
24585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24586 (exit $ac_status); } &&
24587 { ac_try='test -s conftest.$ac_objext'
24588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24589 (eval $ac_try) 2>&5
24590 ac_status=$?
24591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24592 (exit $ac_status); }; }; then
24593 ac_header_compiler=yes
24594 else
24595 echo "$as_me: failed program was:" >&5
24596 sed 's/^/| /' conftest.$ac_ext >&5
24597
24598 ac_header_compiler=no
24599 fi
24600 rm -f conftest.$ac_objext conftest.$ac_ext
24601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24602 echo "${ECHO_T}$ac_header_compiler" >&6
24603
24604 # Is the header present?
24605 echo "$as_me:$LINENO: checking sql.h presence" >&5
24606 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24607 cat >conftest.$ac_ext <<_ACEOF
24608 #line $LINENO "configure"
24609 /* confdefs.h. */
24610 _ACEOF
24611 cat confdefs.h >>conftest.$ac_ext
24612 cat >>conftest.$ac_ext <<_ACEOF
24613 /* end confdefs.h. */
24614 #include <sql.h>
24615 _ACEOF
24616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24617 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24618 ac_status=$?
24619 grep -v '^ *+' conftest.er1 >conftest.err
24620 rm -f conftest.er1
24621 cat conftest.err >&5
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); } >/dev/null; then
24624 if test -s conftest.err; then
24625 ac_cpp_err=$ac_c_preproc_warn_flag
24626 else
24627 ac_cpp_err=
24628 fi
24629 else
24630 ac_cpp_err=yes
24631 fi
24632 if test -z "$ac_cpp_err"; then
24633 ac_header_preproc=yes
24634 else
24635 echo "$as_me: failed program was:" >&5
24636 sed 's/^/| /' conftest.$ac_ext >&5
24637
24638 ac_header_preproc=no
24639 fi
24640 rm -f conftest.err conftest.$ac_ext
24641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24642 echo "${ECHO_T}$ac_header_preproc" >&6
24643
24644 # So? What about this header?
24645 case $ac_header_compiler:$ac_header_preproc in
24646 yes:no )
24647 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24648 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24649 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24650 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24651 (
24652 cat <<\_ASBOX
24653 ## ------------------------------------ ##
24654 ## Report this to bug-autoconf@gnu.org. ##
24655 ## ------------------------------------ ##
24656 _ASBOX
24657 ) |
24658 sed "s/^/$as_me: WARNING: /" >&2
24659 ;;
24660 no:yes )
24661 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24662 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24663 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24664 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24665 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24666 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24667 (
24668 cat <<\_ASBOX
24669 ## ------------------------------------ ##
24670 ## Report this to bug-autoconf@gnu.org. ##
24671 ## ------------------------------------ ##
24672 _ASBOX
24673 ) |
24674 sed "s/^/$as_me: WARNING: /" >&2
24675 ;;
24676 esac
24677 echo "$as_me:$LINENO: checking for sql.h" >&5
24678 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24679 if test "${ac_cv_header_sql_h+set}" = set; then
24680 echo $ECHO_N "(cached) $ECHO_C" >&6
24681 else
24682 ac_cv_header_sql_h=$ac_header_preproc
24683 fi
24684 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24685 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24686
24687 fi
24688 if test $ac_cv_header_sql_h = yes; then
24689 found_sql_h=1
24690 fi
24691
24692
24693 if test "x$found_sql_h" = "x1" ; then
24694 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24695 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24696 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24697 echo $ECHO_N "(cached) $ECHO_C" >&6
24698 else
24699 ac_check_lib_save_LIBS=$LIBS
24700 LIBS="-lSQLAllocEnv $LIBS"
24701 cat >conftest.$ac_ext <<_ACEOF
24702 #line $LINENO "configure"
24703 /* confdefs.h. */
24704 _ACEOF
24705 cat confdefs.h >>conftest.$ac_ext
24706 cat >>conftest.$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24708
24709 /* Override any gcc2 internal prototype to avoid an error. */
24710 #ifdef __cplusplus
24711 extern "C"
24712 #endif
24713 /* We use char because int might match the return type of a gcc2
24714 builtin and then its argument prototype would still apply. */
24715 char iodbc ();
24716 int
24717 main ()
24718 {
24719 iodbc ();
24720 ;
24721 return 0;
24722 }
24723 _ACEOF
24724 rm -f conftest.$ac_objext conftest$ac_exeext
24725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24726 (eval $ac_link) 2>&5
24727 ac_status=$?
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); } &&
24730 { ac_try='test -s conftest$ac_exeext'
24731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732 (eval $ac_try) 2>&5
24733 ac_status=$?
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; }; then
24736 ac_cv_lib_SQLAllocEnv_iodbc=yes
24737 else
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.$ac_ext >&5
24740
24741 ac_cv_lib_SQLAllocEnv_iodbc=no
24742 fi
24743 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24744 LIBS=$ac_check_lib_save_LIBS
24745 fi
24746 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24747 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24748 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24749 ODBC_LINK=" -liodbc"
24750 else
24751
24752 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24753 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24754 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24756 else
24757 ac_check_lib_save_LIBS=$LIBS
24758 LIBS="-lSQLAllocEnv $LIBS"
24759 cat >conftest.$ac_ext <<_ACEOF
24760 #line $LINENO "configure"
24761 /* confdefs.h. */
24762 _ACEOF
24763 cat confdefs.h >>conftest.$ac_ext
24764 cat >>conftest.$ac_ext <<_ACEOF
24765 /* end confdefs.h. */
24766
24767 /* Override any gcc2 internal prototype to avoid an error. */
24768 #ifdef __cplusplus
24769 extern "C"
24770 #endif
24771 /* We use char because int might match the return type of a gcc2
24772 builtin and then its argument prototype would still apply. */
24773 char unixodbc ();
24774 int
24775 main ()
24776 {
24777 unixodbc ();
24778 ;
24779 return 0;
24780 }
24781 _ACEOF
24782 rm -f conftest.$ac_objext conftest$ac_exeext
24783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24784 (eval $ac_link) 2>&5
24785 ac_status=$?
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); } &&
24788 { ac_try='test -s conftest$ac_exeext'
24789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24790 (eval $ac_try) 2>&5
24791 ac_status=$?
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); }; }; then
24794 ac_cv_lib_SQLAllocEnv_unixodbc=yes
24795 else
24796 echo "$as_me: failed program was:" >&5
24797 sed 's/^/| /' conftest.$ac_ext >&5
24798
24799 ac_cv_lib_SQLAllocEnv_unixodbc=no
24800 fi
24801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24802 LIBS=$ac_check_lib_save_LIBS
24803 fi
24804 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24805 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24806 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24807 ODBC_LINK=" -lunixodbc"
24808 else
24809
24810 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24811 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24812 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24813 echo $ECHO_N "(cached) $ECHO_C" >&6
24814 else
24815 ac_check_lib_save_LIBS=$LIBS
24816 LIBS="-lSQLAllocEnv $LIBS"
24817 cat >conftest.$ac_ext <<_ACEOF
24818 #line $LINENO "configure"
24819 /* confdefs.h. */
24820 _ACEOF
24821 cat confdefs.h >>conftest.$ac_ext
24822 cat >>conftest.$ac_ext <<_ACEOF
24823 /* end confdefs.h. */
24824
24825 /* Override any gcc2 internal prototype to avoid an error. */
24826 #ifdef __cplusplus
24827 extern "C"
24828 #endif
24829 /* We use char because int might match the return type of a gcc2
24830 builtin and then its argument prototype would still apply. */
24831 char odbc ();
24832 int
24833 main ()
24834 {
24835 odbc ();
24836 ;
24837 return 0;
24838 }
24839 _ACEOF
24840 rm -f conftest.$ac_objext conftest$ac_exeext
24841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24842 (eval $ac_link) 2>&5
24843 ac_status=$?
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); } &&
24846 { ac_try='test -s conftest$ac_exeext'
24847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24848 (eval $ac_try) 2>&5
24849 ac_status=$?
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); }; }; then
24852 ac_cv_lib_SQLAllocEnv_odbc=yes
24853 else
24854 echo "$as_me: failed program was:" >&5
24855 sed 's/^/| /' conftest.$ac_ext >&5
24856
24857 ac_cv_lib_SQLAllocEnv_odbc=no
24858 fi
24859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24860 LIBS=$ac_check_lib_save_LIBS
24861 fi
24862 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24863 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24864 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24865 ODBC_LINK=" -lodbc"
24866 fi
24867
24868
24869 fi
24870
24871
24872 fi
24873
24874 fi
24875 if test "x$ODBC_LINK" = "x" ; then
24876 if test "$wxUSE_ODBC" = "sys" ; then
24877 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24878 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24879 { (exit 1); exit 1; }; }
24880 else
24881 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24882 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24883 wxUSE_ODBC=builtin
24884 fi
24885 else
24886 wxUSE_ODBC=sys
24887 fi
24888 fi
24889 if test "$wxUSE_ODBC" != "no" ; then
24890 cat >>confdefs.h <<\_ACEOF
24891 #define wxUSE_ODBC 1
24892 _ACEOF
24893
24894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24895
24896 WXODBCFLAG="-D_IODBC_"
24897 fi
24898 fi
24899
24900 if test "$wxUSE_REGEX" = "builtin" ; then
24901 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24902 fi
24903 if test "$wxUSE_ZLIB" = "builtin" ; then
24904 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24905 fi
24906
24907
24908 USE_OPENGL=0
24909 if test "$wxUSE_OPENGL" = "yes"; then
24910 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24911 OPENGL_LIBS="-framework OpenGL -framework AGL"
24912 elif test "$wxUSE_MSW" = 1; then
24913 OPENGL_LIBS="-lopengl32 -lglu32"
24914 else
24915
24916
24917 ac_find_includes=
24918 for ac_dir in $SEARCH_INCLUDE /usr/include;
24919 do
24920 if test -f "$ac_dir/GL/gl.h"; then
24921 ac_find_includes=$ac_dir
24922 break
24923 fi
24924 done
24925
24926 if test "$ac_find_includes" != "" ; then
24927 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24928 echo "${ECHO_T}found in $ac_find_includes" >&6
24929
24930 if test "x$ac_find_includes" = "x/usr/include"; then
24931 ac_path_to_include=""
24932 else
24933 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24934 result=$?
24935 if test $result = 0; then
24936 ac_path_to_include=""
24937 else
24938 ac_path_to_include=" -I$ac_find_includes"
24939 fi
24940 fi
24941
24942 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24943 fi
24944
24945 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24946 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24947 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24948 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24949 echo $ECHO_N "(cached) $ECHO_C" >&6
24950 fi
24951 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24952 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24953 else
24954 # Is the header compilable?
24955 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24956 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24957 cat >conftest.$ac_ext <<_ACEOF
24958 #line $LINENO "configure"
24959 /* confdefs.h. */
24960 _ACEOF
24961 cat confdefs.h >>conftest.$ac_ext
24962 cat >>conftest.$ac_ext <<_ACEOF
24963 /* end confdefs.h. */
24964 $ac_includes_default
24965 #include <GL/gl.h>
24966 _ACEOF
24967 rm -f conftest.$ac_objext
24968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24969 (eval $ac_compile) 2>&5
24970 ac_status=$?
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); } &&
24973 { ac_try='test -s conftest.$ac_objext'
24974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24975 (eval $ac_try) 2>&5
24976 ac_status=$?
24977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24978 (exit $ac_status); }; }; then
24979 ac_header_compiler=yes
24980 else
24981 echo "$as_me: failed program was:" >&5
24982 sed 's/^/| /' conftest.$ac_ext >&5
24983
24984 ac_header_compiler=no
24985 fi
24986 rm -f conftest.$ac_objext conftest.$ac_ext
24987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24988 echo "${ECHO_T}$ac_header_compiler" >&6
24989
24990 # Is the header present?
24991 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24992 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24993 cat >conftest.$ac_ext <<_ACEOF
24994 #line $LINENO "configure"
24995 /* confdefs.h. */
24996 _ACEOF
24997 cat confdefs.h >>conftest.$ac_ext
24998 cat >>conftest.$ac_ext <<_ACEOF
24999 /* end confdefs.h. */
25000 #include <GL/gl.h>
25001 _ACEOF
25002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25004 ac_status=$?
25005 grep -v '^ *+' conftest.er1 >conftest.err
25006 rm -f conftest.er1
25007 cat conftest.err >&5
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); } >/dev/null; then
25010 if test -s conftest.err; then
25011 ac_cpp_err=$ac_c_preproc_warn_flag
25012 else
25013 ac_cpp_err=
25014 fi
25015 else
25016 ac_cpp_err=yes
25017 fi
25018 if test -z "$ac_cpp_err"; then
25019 ac_header_preproc=yes
25020 else
25021 echo "$as_me: failed program was:" >&5
25022 sed 's/^/| /' conftest.$ac_ext >&5
25023
25024 ac_header_preproc=no
25025 fi
25026 rm -f conftest.err conftest.$ac_ext
25027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25028 echo "${ECHO_T}$ac_header_preproc" >&6
25029
25030 # So? What about this header?
25031 case $ac_header_compiler:$ac_header_preproc in
25032 yes:no )
25033 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25034 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25035 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25036 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25037 (
25038 cat <<\_ASBOX
25039 ## ------------------------------------ ##
25040 ## Report this to bug-autoconf@gnu.org. ##
25041 ## ------------------------------------ ##
25042 _ASBOX
25043 ) |
25044 sed "s/^/$as_me: WARNING: /" >&2
25045 ;;
25046 no:yes )
25047 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25048 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25049 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25050 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25051 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25052 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25053 (
25054 cat <<\_ASBOX
25055 ## ------------------------------------ ##
25056 ## Report this to bug-autoconf@gnu.org. ##
25057 ## ------------------------------------ ##
25058 _ASBOX
25059 ) |
25060 sed "s/^/$as_me: WARNING: /" >&2
25061 ;;
25062 esac
25063 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25064 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25065 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25066 echo $ECHO_N "(cached) $ECHO_C" >&6
25067 else
25068 ac_cv_header_GL_gl_h=$ac_header_preproc
25069 fi
25070 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25071 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25072
25073 fi
25074 if test $ac_cv_header_GL_gl_h = yes; then
25075
25076 found_gl=0
25077
25078 echo "$as_me:$LINENO: checking for -lGL" >&5
25079 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25080
25081 ac_find_libraries=
25082 for ac_dir in $SEARCH_LIB /usr/lib;
25083 do
25084 for ac_extension in a so sl dylib; do
25085 if test -f "$ac_dir/libGL.$ac_extension"; then
25086 ac_find_libraries=$ac_dir
25087 break 2
25088 fi
25089 done
25090 done
25091
25092 if test "$ac_find_libraries" != "" ; then
25093
25094 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25095 result=$?
25096 if test $result = 0; then
25097 ac_path_to_link=""
25098 else
25099 ac_path_to_link=" -L$ac_find_libraries"
25100 fi
25101
25102 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25103 LDFLAGS_GL="$ac_path_to_link"
25104 fi
25105
25106
25107 ac_find_libraries=
25108 for ac_dir in $SEARCH_LIB /usr/lib;
25109 do
25110 for ac_extension in a so sl dylib; do
25111 if test -f "$ac_dir/libGLU.$ac_extension"; then
25112 ac_find_libraries=$ac_dir
25113 break 2
25114 fi
25115 done
25116 done
25117
25118 if test "$ac_find_libraries" != "" ; then
25119
25120 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25121 result=$?
25122 if test $result = 0; then
25123 ac_path_to_link=""
25124 else
25125 ac_path_to_link=" -L$ac_find_libraries"
25126 fi
25127
25128 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25129 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25130 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25131 fi
25132
25133 found_gl=1
25134 OPENGL_LIBS="-lGL -lGLU"
25135 echo "$as_me:$LINENO: result: yes" >&5
25136 echo "${ECHO_T}yes" >&6
25137 fi
25138 fi
25139
25140 if test "$found_gl" != 1; then
25141 echo "$as_me:$LINENO: result: no" >&5
25142 echo "${ECHO_T}no" >&6
25143 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25144 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25145
25146 ac_find_libraries=
25147 for ac_dir in $SEARCH_LIB /usr/lib;
25148 do
25149 for ac_extension in a so sl dylib; do
25150 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25151 ac_find_libraries=$ac_dir
25152 break 2
25153 fi
25154 done
25155 done
25156
25157 if test "$ac_find_libraries" != "" ; then
25158
25159 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25160 result=$?
25161 if test $result = 0; then
25162 ac_path_to_link=""
25163 else
25164 ac_path_to_link=" -L$ac_find_libraries"
25165 fi
25166
25167 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25168 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25169 echo "$as_me:$LINENO: result: yes" >&5
25170 echo "${ECHO_T}yes" >&6
25171 else
25172 echo "$as_me:$LINENO: result: no" >&5
25173 echo "${ECHO_T}no" >&6
25174 fi
25175 fi
25176
25177 fi
25178
25179
25180
25181 if test "x$OPENGL_LIBS" = "x"; then
25182 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25183 echo "$as_me: error: OpenGL libraries not available" >&2;}
25184 { (exit 1); exit 1; }; }
25185 fi
25186 fi
25187
25188 if test "$wxUSE_OPENGL" = "yes"; then
25189 USE_OPENGL=1
25190 cat >>confdefs.h <<\_ACEOF
25191 #define wxUSE_OPENGL 1
25192 _ACEOF
25193
25194 cat >>confdefs.h <<\_ACEOF
25195 #define wxUSE_GLCANVAS 1
25196 _ACEOF
25197
25198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25199 fi
25200 fi
25201
25202 if test -z "$TOOLKIT_VPATH" ; then
25203 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25204 fi
25205
25206 if test -n "$TOOLKIT" ; then
25207 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25208 fi
25209
25210 UNICODE=0
25211 lib_unicode_suffix=
25212 if test "$wxUSE_UNICODE" = "yes"; then
25213 lib_unicode_suffix=u
25214 UNICODE=1
25215 fi
25216
25217 lib_debug_suffix=
25218 DEBUG_FLAG=0
25219 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25220 lib_debug_suffix=d
25221 DEBUG_FLAG=1
25222 fi
25223
25224 DEBUG_INFO=0
25225 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25226 DEBUG_INFO=1
25227 fi
25228
25229 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25230
25231 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25232 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25233
25234 if test "$cross_compiling" = "yes"; then
25235 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25236 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25237 HOST_SUFFIX="-${host_alias}"
25238 fi
25239
25240 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25241 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25242 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25243 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25244
25245 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25246 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25247
25248 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25249 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25250 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25251 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25252
25253 case "${host}" in
25254 *-*-cygwin* | *-*-mingw32* )
25255 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25256 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25257 ;;
25258
25259 *-*-darwin* )
25260
25261 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25262 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25263
25264 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25265 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25266 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25267 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25268
25269 if test "$wxUSE_MAC" = 1; then
25270 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25271 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25272 fi
25273 ;;
25274 esac
25275
25276 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25277 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25278
25279 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25280 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25281
25282 if test "$wxUSE_OPENGL" = "yes"; then
25283 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25284 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25285 fi
25286
25287
25288
25289 if test "$wxUSE_SHARED" = "yes"; then
25290 case "${host}" in
25291 *-pc-os2_emx | *-pc-os2-emx | \
25292 *-pc-msdosdjgpp )
25293 wxUSE_SHARED=no
25294 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25295 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25296 ;;
25297 esac
25298 fi
25299
25300 SHARED=0
25301 if test "$wxUSE_SHARED" = "yes"; then
25302 SHARED=1
25303
25304
25305 found_versioning=no
25306
25307
25308 if test $found_versioning = no ; then
25309 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25310 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25311 if test "${wx_cv_version_script+set}" = set; then
25312 echo $ECHO_N "(cached) $ECHO_C" >&6
25313 else
25314
25315 echo "VER_1 { *; };" >conftest.sym
25316 echo "int main() { return 0; }" >conftest.cpp
25317
25318 if { ac_try='
25319 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25320 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25322 (eval $ac_try) 2>&5
25323 ac_status=$?
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); }; } ; then
25326 if test -s conftest.stderr ; then
25327 wx_cv_version_script=no
25328 else
25329 wx_cv_version_script=yes
25330 fi
25331 else
25332 wx_cv_version_script=no
25333 fi
25334 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25335
25336 fi
25337 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25338 echo "${ECHO_T}$wx_cv_version_script" >&6
25339 if test $wx_cv_version_script = yes ; then
25340 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25341 fi
25342 fi
25343
25344
25345 case "${host}" in
25346 *-*-linux* | *-*-gnu* )
25347 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25348 ;;
25349
25350 *-*-solaris2* )
25351 if test "$GCC" = yes ; then
25352 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25353
25354 saveLdflags="$LDFLAGS"
25355 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25356 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25357 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25358 cat >conftest.$ac_ext <<_ACEOF
25359 #line $LINENO "configure"
25360 /* confdefs.h. */
25361 _ACEOF
25362 cat confdefs.h >>conftest.$ac_ext
25363 cat >>conftest.$ac_ext <<_ACEOF
25364 /* end confdefs.h. */
25365
25366 int
25367 main ()
25368 {
25369
25370 ;
25371 return 0;
25372 }
25373 _ACEOF
25374 rm -f conftest.$ac_objext conftest$ac_exeext
25375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25376 (eval $ac_link) 2>&5
25377 ac_status=$?
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); } &&
25380 { ac_try='test -s conftest$ac_exeext'
25381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25382 (eval $ac_try) 2>&5
25383 ac_status=$?
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); }; }; then
25386
25387 echo "$as_me:$LINENO: result: yes" >&5
25388 echo "${ECHO_T}yes" >&6
25389 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25390
25391 else
25392 echo "$as_me: failed program was:" >&5
25393 sed 's/^/| /' conftest.$ac_ext >&5
25394
25395
25396 echo "$as_me:$LINENO: result: no" >&5
25397 echo "${ECHO_T}no" >&6
25398 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25399 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25400 LDFLAGS="$saveLdflags -Wl,-R,/"
25401 cat >conftest.$ac_ext <<_ACEOF
25402 #line $LINENO "configure"
25403 /* confdefs.h. */
25404 _ACEOF
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25408
25409 int
25410 main ()
25411 {
25412
25413 ;
25414 return 0;
25415 }
25416 _ACEOF
25417 rm -f conftest.$ac_objext conftest$ac_exeext
25418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25419 (eval $ac_link) 2>&5
25420 ac_status=$?
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); } &&
25423 { ac_try='test -s conftest$ac_exeext'
25424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25425 (eval $ac_try) 2>&5
25426 ac_status=$?
25427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25428 (exit $ac_status); }; }; then
25429
25430 echo "$as_me:$LINENO: result: yes" >&5
25431 echo "${ECHO_T}yes" >&6
25432 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25433 else
25434 echo "$as_me: failed program was:" >&5
25435 sed 's/^/| /' conftest.$ac_ext >&5
25436
25437
25438 echo "$as_me:$LINENO: result: no" >&5
25439 echo "${ECHO_T}no" >&6
25440
25441 fi
25442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25443
25444 fi
25445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25446 LDFLAGS="$saveLdflags"
25447 else
25448 SHARED_LD="${CXX} -G -o"
25449 PIC_FLAG="-KPIC"
25450 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25451 fi
25452 ;;
25453 esac
25454
25455 if test "x$WX_TARGET_LIBRARY" = "x"; then
25456 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25457 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25458 fi
25459
25460 WX_TARGET_LIBRARY_TYPE="so"
25461 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25462 fi
25463
25464 if test "$wxUSE_SHARED" = "no"; then
25465
25466 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25467 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25468 fi
25469
25470 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25471 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25472 fi
25473
25474 if test "$wxUSE_OPENGL" = "yes"; then
25475 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25476 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25477 else
25478 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25479 fi
25480
25481 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25482 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25483
25484 WX_TARGET_LIBRARY_TYPE="a"
25485 INSTALL_LIBRARY='$(INSTALL_DATA)'
25486
25487 STATIC_FLAG="yes"
25488 else
25489 STATIC_FLAG="no"
25490 fi
25491
25492 MACRESCOMP="@#"
25493 MACSETFILE="@#"
25494 MACRESWXCONFIG="#"
25495 if test "$wxUSE_MAC" = 1; then
25496 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25497 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25498 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25499 # Extract the first word of "Rez", so it can be a program name with args.
25500 set dummy Rez; ac_word=$2
25501 echo "$as_me:$LINENO: checking for $ac_word" >&5
25502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25503 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25504 echo $ECHO_N "(cached) $ECHO_C" >&6
25505 else
25506 if test -n "$RESCOMP"; then
25507 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25508 else
25509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25510 for as_dir in $PATH
25511 do
25512 IFS=$as_save_IFS
25513 test -z "$as_dir" && as_dir=.
25514 for ac_exec_ext in '' $ac_executable_extensions; do
25515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25516 ac_cv_prog_RESCOMP="Rez"
25517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25518 break 2
25519 fi
25520 done
25521 done
25522
25523 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25524 fi
25525 fi
25526 RESCOMP=$ac_cv_prog_RESCOMP
25527 if test -n "$RESCOMP"; then
25528 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25529 echo "${ECHO_T}$RESCOMP" >&6
25530 else
25531 echo "$as_me:$LINENO: result: no" >&5
25532 echo "${ECHO_T}no" >&6
25533 fi
25534
25535 # Extract the first word of "DeRez", so it can be a program name with args.
25536 set dummy DeRez; ac_word=$2
25537 echo "$as_me:$LINENO: checking for $ac_word" >&5
25538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25539 if test "${ac_cv_prog_DEREZ+set}" = set; then
25540 echo $ECHO_N "(cached) $ECHO_C" >&6
25541 else
25542 if test -n "$DEREZ"; then
25543 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25544 else
25545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25546 for as_dir in $PATH
25547 do
25548 IFS=$as_save_IFS
25549 test -z "$as_dir" && as_dir=.
25550 for ac_exec_ext in '' $ac_executable_extensions; do
25551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25552 ac_cv_prog_DEREZ="DeRez"
25553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25554 break 2
25555 fi
25556 done
25557 done
25558
25559 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25560 fi
25561 fi
25562 DEREZ=$ac_cv_prog_DEREZ
25563 if test -n "$DEREZ"; then
25564 echo "$as_me:$LINENO: result: $DEREZ" >&5
25565 echo "${ECHO_T}$DEREZ" >&6
25566 else
25567 echo "$as_me:$LINENO: result: no" >&5
25568 echo "${ECHO_T}no" >&6
25569 fi
25570
25571 # Extract the first word of "SetFile", so it can be a program name with args.
25572 set dummy SetFile; ac_word=$2
25573 echo "$as_me:$LINENO: checking for $ac_word" >&5
25574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25575 if test "${ac_cv_prog_SETFILE+set}" = set; then
25576 echo $ECHO_N "(cached) $ECHO_C" >&6
25577 else
25578 if test -n "$SETFILE"; then
25579 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25580 else
25581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25582 for as_dir in $PATH
25583 do
25584 IFS=$as_save_IFS
25585 test -z "$as_dir" && as_dir=.
25586 for ac_exec_ext in '' $ac_executable_extensions; do
25587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25588 ac_cv_prog_SETFILE="SetFile"
25589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25590 break 2
25591 fi
25592 done
25593 done
25594
25595 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25596 fi
25597 fi
25598 SETFILE=$ac_cv_prog_SETFILE
25599 if test -n "$SETFILE"; then
25600 echo "$as_me:$LINENO: result: $SETFILE" >&5
25601 echo "${ECHO_T}$SETFILE" >&6
25602 else
25603 echo "$as_me:$LINENO: result: no" >&5
25604 echo "${ECHO_T}no" >&6
25605 fi
25606
25607 MACOSX_BUNDLE="bundle"
25608 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25609 MACSETFILE="\$(SETFILE)"
25610 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25611 elif test "$wxUSE_COCOA" = 1; then
25612 # Extract the first word of "Rez", so it can be a program name with args.
25613 set dummy Rez; ac_word=$2
25614 echo "$as_me:$LINENO: checking for $ac_word" >&5
25615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25616 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 else
25619 if test -n "$RESCOMP"; then
25620 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25621 else
25622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25623 for as_dir in $PATH
25624 do
25625 IFS=$as_save_IFS
25626 test -z "$as_dir" && as_dir=.
25627 for ac_exec_ext in '' $ac_executable_extensions; do
25628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25629 ac_cv_prog_RESCOMP="Rez"
25630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25631 break 2
25632 fi
25633 done
25634 done
25635
25636 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25637 fi
25638 fi
25639 RESCOMP=$ac_cv_prog_RESCOMP
25640 if test -n "$RESCOMP"; then
25641 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25642 echo "${ECHO_T}$RESCOMP" >&6
25643 else
25644 echo "$as_me:$LINENO: result: no" >&5
25645 echo "${ECHO_T}no" >&6
25646 fi
25647
25648 # Extract the first word of "DeRez", so it can be a program name with args.
25649 set dummy DeRez; ac_word=$2
25650 echo "$as_me:$LINENO: checking for $ac_word" >&5
25651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25652 if test "${ac_cv_prog_DEREZ+set}" = set; then
25653 echo $ECHO_N "(cached) $ECHO_C" >&6
25654 else
25655 if test -n "$DEREZ"; then
25656 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25657 else
25658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25659 for as_dir in $PATH
25660 do
25661 IFS=$as_save_IFS
25662 test -z "$as_dir" && as_dir=.
25663 for ac_exec_ext in '' $ac_executable_extensions; do
25664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25665 ac_cv_prog_DEREZ="DeRez"
25666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25667 break 2
25668 fi
25669 done
25670 done
25671
25672 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25673 fi
25674 fi
25675 DEREZ=$ac_cv_prog_DEREZ
25676 if test -n "$DEREZ"; then
25677 echo "$as_me:$LINENO: result: $DEREZ" >&5
25678 echo "${ECHO_T}$DEREZ" >&6
25679 else
25680 echo "$as_me:$LINENO: result: no" >&5
25681 echo "${ECHO_T}no" >&6
25682 fi
25683
25684 # Extract the first word of "SetFile", so it can be a program name with args.
25685 set dummy SetFile; ac_word=$2
25686 echo "$as_me:$LINENO: checking for $ac_word" >&5
25687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25688 if test "${ac_cv_prog_SETFILE+set}" = set; then
25689 echo $ECHO_N "(cached) $ECHO_C" >&6
25690 else
25691 if test -n "$SETFILE"; then
25692 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25693 else
25694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25695 for as_dir in $PATH
25696 do
25697 IFS=$as_save_IFS
25698 test -z "$as_dir" && as_dir=.
25699 for ac_exec_ext in '' $ac_executable_extensions; do
25700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25701 ac_cv_prog_SETFILE="SetFile"
25702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25703 break 2
25704 fi
25705 done
25706 done
25707
25708 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25709 fi
25710 fi
25711 SETFILE=$ac_cv_prog_SETFILE
25712 if test -n "$SETFILE"; then
25713 echo "$as_me:$LINENO: result: $SETFILE" >&5
25714 echo "${ECHO_T}$SETFILE" >&6
25715 else
25716 echo "$as_me:$LINENO: result: no" >&5
25717 echo "${ECHO_T}no" >&6
25718 fi
25719
25720 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25721 MACSETFILE="\$(SETFILE)"
25722 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25723 else
25724 if test "$wxUSE_PM" = 1; then
25725 MACRESCOMP="emxbind -ep"
25726 fi
25727 fi
25728
25729
25730 echo "$as_me:$LINENO: checking for mode_t" >&5
25731 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25732 if test "${ac_cv_type_mode_t+set}" = set; then
25733 echo $ECHO_N "(cached) $ECHO_C" >&6
25734 else
25735 cat >conftest.$ac_ext <<_ACEOF
25736 #line $LINENO "configure"
25737 /* confdefs.h. */
25738 _ACEOF
25739 cat confdefs.h >>conftest.$ac_ext
25740 cat >>conftest.$ac_ext <<_ACEOF
25741 /* end confdefs.h. */
25742 $ac_includes_default
25743 int
25744 main ()
25745 {
25746 if ((mode_t *) 0)
25747 return 0;
25748 if (sizeof (mode_t))
25749 return 0;
25750 ;
25751 return 0;
25752 }
25753 _ACEOF
25754 rm -f conftest.$ac_objext
25755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25756 (eval $ac_compile) 2>&5
25757 ac_status=$?
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); } &&
25760 { ac_try='test -s conftest.$ac_objext'
25761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762 (eval $ac_try) 2>&5
25763 ac_status=$?
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); }; }; then
25766 ac_cv_type_mode_t=yes
25767 else
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.$ac_ext >&5
25770
25771 ac_cv_type_mode_t=no
25772 fi
25773 rm -f conftest.$ac_objext conftest.$ac_ext
25774 fi
25775 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25776 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25777 if test $ac_cv_type_mode_t = yes; then
25778 :
25779 else
25780
25781 cat >>confdefs.h <<_ACEOF
25782 #define mode_t int
25783 _ACEOF
25784
25785 fi
25786
25787 echo "$as_me:$LINENO: checking for off_t" >&5
25788 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25789 if test "${ac_cv_type_off_t+set}" = set; then
25790 echo $ECHO_N "(cached) $ECHO_C" >&6
25791 else
25792 cat >conftest.$ac_ext <<_ACEOF
25793 #line $LINENO "configure"
25794 /* confdefs.h. */
25795 _ACEOF
25796 cat confdefs.h >>conftest.$ac_ext
25797 cat >>conftest.$ac_ext <<_ACEOF
25798 /* end confdefs.h. */
25799 $ac_includes_default
25800 int
25801 main ()
25802 {
25803 if ((off_t *) 0)
25804 return 0;
25805 if (sizeof (off_t))
25806 return 0;
25807 ;
25808 return 0;
25809 }
25810 _ACEOF
25811 rm -f conftest.$ac_objext
25812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25813 (eval $ac_compile) 2>&5
25814 ac_status=$?
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); } &&
25817 { ac_try='test -s conftest.$ac_objext'
25818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25819 (eval $ac_try) 2>&5
25820 ac_status=$?
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); }; }; then
25823 ac_cv_type_off_t=yes
25824 else
25825 echo "$as_me: failed program was:" >&5
25826 sed 's/^/| /' conftest.$ac_ext >&5
25827
25828 ac_cv_type_off_t=no
25829 fi
25830 rm -f conftest.$ac_objext conftest.$ac_ext
25831 fi
25832 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25833 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25834 if test $ac_cv_type_off_t = yes; then
25835 :
25836 else
25837
25838 cat >>confdefs.h <<_ACEOF
25839 #define off_t long
25840 _ACEOF
25841
25842 fi
25843
25844 echo "$as_me:$LINENO: checking for pid_t" >&5
25845 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25846 if test "${ac_cv_type_pid_t+set}" = set; then
25847 echo $ECHO_N "(cached) $ECHO_C" >&6
25848 else
25849 cat >conftest.$ac_ext <<_ACEOF
25850 #line $LINENO "configure"
25851 /* confdefs.h. */
25852 _ACEOF
25853 cat confdefs.h >>conftest.$ac_ext
25854 cat >>conftest.$ac_ext <<_ACEOF
25855 /* end confdefs.h. */
25856 $ac_includes_default
25857 int
25858 main ()
25859 {
25860 if ((pid_t *) 0)
25861 return 0;
25862 if (sizeof (pid_t))
25863 return 0;
25864 ;
25865 return 0;
25866 }
25867 _ACEOF
25868 rm -f conftest.$ac_objext
25869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25870 (eval $ac_compile) 2>&5
25871 ac_status=$?
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); } &&
25874 { ac_try='test -s conftest.$ac_objext'
25875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25876 (eval $ac_try) 2>&5
25877 ac_status=$?
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); }; }; then
25880 ac_cv_type_pid_t=yes
25881 else
25882 echo "$as_me: failed program was:" >&5
25883 sed 's/^/| /' conftest.$ac_ext >&5
25884
25885 ac_cv_type_pid_t=no
25886 fi
25887 rm -f conftest.$ac_objext conftest.$ac_ext
25888 fi
25889 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25890 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25891 if test $ac_cv_type_pid_t = yes; then
25892 :
25893 else
25894
25895 cat >>confdefs.h <<_ACEOF
25896 #define pid_t int
25897 _ACEOF
25898
25899 fi
25900
25901 echo "$as_me:$LINENO: checking for size_t" >&5
25902 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25903 if test "${ac_cv_type_size_t+set}" = set; then
25904 echo $ECHO_N "(cached) $ECHO_C" >&6
25905 else
25906 cat >conftest.$ac_ext <<_ACEOF
25907 #line $LINENO "configure"
25908 /* confdefs.h. */
25909 _ACEOF
25910 cat confdefs.h >>conftest.$ac_ext
25911 cat >>conftest.$ac_ext <<_ACEOF
25912 /* end confdefs.h. */
25913 $ac_includes_default
25914 int
25915 main ()
25916 {
25917 if ((size_t *) 0)
25918 return 0;
25919 if (sizeof (size_t))
25920 return 0;
25921 ;
25922 return 0;
25923 }
25924 _ACEOF
25925 rm -f conftest.$ac_objext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25927 (eval $ac_compile) 2>&5
25928 ac_status=$?
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); } &&
25931 { ac_try='test -s conftest.$ac_objext'
25932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25933 (eval $ac_try) 2>&5
25934 ac_status=$?
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); }; }; then
25937 ac_cv_type_size_t=yes
25938 else
25939 echo "$as_me: failed program was:" >&5
25940 sed 's/^/| /' conftest.$ac_ext >&5
25941
25942 ac_cv_type_size_t=no
25943 fi
25944 rm -f conftest.$ac_objext conftest.$ac_ext
25945 fi
25946 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25947 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25948 if test $ac_cv_type_size_t = yes; then
25949 :
25950 else
25951
25952 cat >>confdefs.h <<_ACEOF
25953 #define size_t unsigned
25954 _ACEOF
25955
25956 fi
25957
25958 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25959 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25960 if test "${ac_cv_type_uid_t+set}" = set; then
25961 echo $ECHO_N "(cached) $ECHO_C" >&6
25962 else
25963 cat >conftest.$ac_ext <<_ACEOF
25964 #line $LINENO "configure"
25965 /* confdefs.h. */
25966 _ACEOF
25967 cat confdefs.h >>conftest.$ac_ext
25968 cat >>conftest.$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25970 #include <sys/types.h>
25971
25972 _ACEOF
25973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25974 $EGREP "uid_t" >/dev/null 2>&1; then
25975 ac_cv_type_uid_t=yes
25976 else
25977 ac_cv_type_uid_t=no
25978 fi
25979 rm -f conftest*
25980
25981 fi
25982 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25983 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25984 if test $ac_cv_type_uid_t = no; then
25985
25986 cat >>confdefs.h <<\_ACEOF
25987 #define uid_t int
25988 _ACEOF
25989
25990
25991 cat >>confdefs.h <<\_ACEOF
25992 #define gid_t int
25993 _ACEOF
25994
25995 fi
25996
25997
25998
25999
26000 ac_ext=cc
26001 ac_cpp='$CXXCPP $CPPFLAGS'
26002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26005
26006 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26007 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26008 if test "${wx_cv_size_t_is_uint+set}" = set; then
26009 echo $ECHO_N "(cached) $ECHO_C" >&6
26010 else
26011
26012 cat >conftest.$ac_ext <<_ACEOF
26013 #line $LINENO "configure"
26014 /* confdefs.h. */
26015 _ACEOF
26016 cat confdefs.h >>conftest.$ac_ext
26017 cat >>conftest.$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019 #include <stddef.h>
26020 int
26021 main ()
26022 {
26023
26024 return 0; }
26025
26026 struct Foo { void foo(size_t); void foo(unsigned int); };
26027
26028 int bar() {
26029
26030 ;
26031 return 0;
26032 }
26033 _ACEOF
26034 rm -f conftest.$ac_objext
26035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26036 (eval $ac_compile) 2>&5
26037 ac_status=$?
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); } &&
26040 { ac_try='test -s conftest.$ac_objext'
26041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26042 (eval $ac_try) 2>&5
26043 ac_status=$?
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); }; }; then
26046 wx_cv_size_t_is_uint=no
26047 else
26048 echo "$as_me: failed program was:" >&5
26049 sed 's/^/| /' conftest.$ac_ext >&5
26050
26051 wx_cv_size_t_is_uint=yes
26052
26053 fi
26054 rm -f conftest.$ac_objext conftest.$ac_ext
26055
26056
26057 fi
26058 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26059 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26060
26061 if test "$wx_cv_size_t_is_uint" = "yes"; then
26062 cat >>confdefs.h <<\_ACEOF
26063 #define wxSIZE_T_IS_UINT 1
26064 _ACEOF
26065
26066 else
26067 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26068 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26069 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26070 echo $ECHO_N "(cached) $ECHO_C" >&6
26071 else
26072 cat >conftest.$ac_ext <<_ACEOF
26073 #line $LINENO "configure"
26074 /* confdefs.h. */
26075 _ACEOF
26076 cat confdefs.h >>conftest.$ac_ext
26077 cat >>conftest.$ac_ext <<_ACEOF
26078 /* end confdefs.h. */
26079 #include <stddef.h>
26080 int
26081 main ()
26082 {
26083
26084 return 0; }
26085
26086 struct Foo { void foo(size_t); void foo(unsigned long); };
26087
26088 int bar() {
26089
26090 ;
26091 return 0;
26092 }
26093 _ACEOF
26094 rm -f conftest.$ac_objext
26095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26096 (eval $ac_compile) 2>&5
26097 ac_status=$?
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try='test -s conftest.$ac_objext'
26101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26102 (eval $ac_try) 2>&5
26103 ac_status=$?
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); }; }; then
26106 wx_cv_size_t_is_ulong=no
26107 else
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.$ac_ext >&5
26110
26111 wx_cv_size_t_is_ulong=yes
26112
26113 fi
26114 rm -f conftest.$ac_objext conftest.$ac_ext
26115
26116 fi
26117 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26118 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26119
26120 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26121 cat >>confdefs.h <<\_ACEOF
26122 #define wxSIZE_T_IS_ULONG 1
26123 _ACEOF
26124
26125 fi
26126 fi
26127
26128 ac_ext=c
26129 ac_cpp='$CPP $CPPFLAGS'
26130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26133
26134
26135
26136 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26137 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26138 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26139 echo $ECHO_N "(cached) $ECHO_C" >&6
26140 else
26141
26142 cat >conftest.$ac_ext <<_ACEOF
26143 #line $LINENO "configure"
26144 /* confdefs.h. */
26145 _ACEOF
26146 cat confdefs.h >>conftest.$ac_ext
26147 cat >>conftest.$ac_ext <<_ACEOF
26148 /* end confdefs.h. */
26149 #include <pwd.h>
26150 int
26151 main ()
26152 {
26153
26154 char *p;
26155 struct passwd *pw;
26156 p = pw->pw_gecos;
26157
26158 ;
26159 return 0;
26160 }
26161 _ACEOF
26162 rm -f conftest.$ac_objext
26163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26164 (eval $ac_compile) 2>&5
26165 ac_status=$?
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); } &&
26168 { ac_try='test -s conftest.$ac_objext'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26171 ac_status=$?
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; }; then
26174
26175 wx_cv_struct_pw_gecos=yes
26176
26177 else
26178 echo "$as_me: failed program was:" >&5
26179 sed 's/^/| /' conftest.$ac_ext >&5
26180
26181
26182 wx_cv_struct_pw_gecos=no
26183
26184
26185 fi
26186 rm -f conftest.$ac_objext conftest.$ac_ext
26187
26188
26189 fi
26190 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26191 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26192
26193 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26194 cat >>confdefs.h <<\_ACEOF
26195 #define HAVE_PW_GECOS 1
26196 _ACEOF
26197
26198 fi
26199
26200
26201 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26202 cat >>confdefs.h <<\_ACEOF
26203 #define wxUSE_WCHAR_T 1
26204 _ACEOF
26205
26206
26207 WCSLEN_FOUND=0
26208 WCHAR_LINK=
26209
26210 for ac_func in wcslen
26211 do
26212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26213 echo "$as_me:$LINENO: checking for $ac_func" >&5
26214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26215 if eval "test \"\${$as_ac_var+set}\" = set"; then
26216 echo $ECHO_N "(cached) $ECHO_C" >&6
26217 else
26218 cat >conftest.$ac_ext <<_ACEOF
26219 #line $LINENO "configure"
26220 /* confdefs.h. */
26221 _ACEOF
26222 cat confdefs.h >>conftest.$ac_ext
26223 cat >>conftest.$ac_ext <<_ACEOF
26224 /* end confdefs.h. */
26225 /* System header to define __stub macros and hopefully few prototypes,
26226 which can conflict with char $ac_func (); below.
26227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26228 <limits.h> exists even on freestanding compilers. */
26229 #ifdef __STDC__
26230 # include <limits.h>
26231 #else
26232 # include <assert.h>
26233 #endif
26234 /* Override any gcc2 internal prototype to avoid an error. */
26235 #ifdef __cplusplus
26236 extern "C"
26237 {
26238 #endif
26239 /* We use char because int might match the return type of a gcc2
26240 builtin and then its argument prototype would still apply. */
26241 char $ac_func ();
26242 /* The GNU C library defines this for functions which it implements
26243 to always fail with ENOSYS. Some functions are actually named
26244 something starting with __ and the normal name is an alias. */
26245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26246 choke me
26247 #else
26248 char (*f) () = $ac_func;
26249 #endif
26250 #ifdef __cplusplus
26251 }
26252 #endif
26253
26254 int
26255 main ()
26256 {
26257 return f != $ac_func;
26258 ;
26259 return 0;
26260 }
26261 _ACEOF
26262 rm -f conftest.$ac_objext conftest$ac_exeext
26263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26264 (eval $ac_link) 2>&5
26265 ac_status=$?
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } &&
26268 { ac_try='test -s conftest$ac_exeext'
26269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26270 (eval $ac_try) 2>&5
26271 ac_status=$?
26272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26273 (exit $ac_status); }; }; then
26274 eval "$as_ac_var=yes"
26275 else
26276 echo "$as_me: failed program was:" >&5
26277 sed 's/^/| /' conftest.$ac_ext >&5
26278
26279 eval "$as_ac_var=no"
26280 fi
26281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26282 fi
26283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26285 if test `eval echo '${'$as_ac_var'}'` = yes; then
26286 cat >>confdefs.h <<_ACEOF
26287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26288 _ACEOF
26289 WCSLEN_FOUND=1
26290 fi
26291 done
26292
26293
26294 if test "$WCSLEN_FOUND" = 0; then
26295 if test "$TOOLKIT" = "MSW"; then
26296 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26297 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26298 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26300 else
26301 ac_check_lib_save_LIBS=$LIBS
26302 LIBS="-lmsvcrt $LIBS"
26303 cat >conftest.$ac_ext <<_ACEOF
26304 #line $LINENO "configure"
26305 /* confdefs.h. */
26306 _ACEOF
26307 cat confdefs.h >>conftest.$ac_ext
26308 cat >>conftest.$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26310
26311 /* Override any gcc2 internal prototype to avoid an error. */
26312 #ifdef __cplusplus
26313 extern "C"
26314 #endif
26315 /* We use char because int might match the return type of a gcc2
26316 builtin and then its argument prototype would still apply. */
26317 char wcslen ();
26318 int
26319 main ()
26320 {
26321 wcslen ();
26322 ;
26323 return 0;
26324 }
26325 _ACEOF
26326 rm -f conftest.$ac_objext conftest$ac_exeext
26327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26328 (eval $ac_link) 2>&5
26329 ac_status=$?
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); } &&
26332 { ac_try='test -s conftest$ac_exeext'
26333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26334 (eval $ac_try) 2>&5
26335 ac_status=$?
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); }; }; then
26338 ac_cv_lib_msvcrt_wcslen=yes
26339 else
26340 echo "$as_me: failed program was:" >&5
26341 sed 's/^/| /' conftest.$ac_ext >&5
26342
26343 ac_cv_lib_msvcrt_wcslen=no
26344 fi
26345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26346 LIBS=$ac_check_lib_save_LIBS
26347 fi
26348 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26349 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26350 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26351 WCHAR_OK=1
26352 fi
26353
26354 else
26355 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26356 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26357 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26358 echo $ECHO_N "(cached) $ECHO_C" >&6
26359 else
26360 ac_check_lib_save_LIBS=$LIBS
26361 LIBS="-lw $LIBS"
26362 cat >conftest.$ac_ext <<_ACEOF
26363 #line $LINENO "configure"
26364 /* confdefs.h. */
26365 _ACEOF
26366 cat confdefs.h >>conftest.$ac_ext
26367 cat >>conftest.$ac_ext <<_ACEOF
26368 /* end confdefs.h. */
26369
26370 /* Override any gcc2 internal prototype to avoid an error. */
26371 #ifdef __cplusplus
26372 extern "C"
26373 #endif
26374 /* We use char because int might match the return type of a gcc2
26375 builtin and then its argument prototype would still apply. */
26376 char wcslen ();
26377 int
26378 main ()
26379 {
26380 wcslen ();
26381 ;
26382 return 0;
26383 }
26384 _ACEOF
26385 rm -f conftest.$ac_objext conftest$ac_exeext
26386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26387 (eval $ac_link) 2>&5
26388 ac_status=$?
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); } &&
26391 { ac_try='test -s conftest$ac_exeext'
26392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26393 (eval $ac_try) 2>&5
26394 ac_status=$?
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); }; }; then
26397 ac_cv_lib_w_wcslen=yes
26398 else
26399 echo "$as_me: failed program was:" >&5
26400 sed 's/^/| /' conftest.$ac_ext >&5
26401
26402 ac_cv_lib_w_wcslen=no
26403 fi
26404 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26405 LIBS=$ac_check_lib_save_LIBS
26406 fi
26407 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26408 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26409 if test $ac_cv_lib_w_wcslen = yes; then
26410
26411 WCHAR_LINK=" -lw"
26412 WCSLEN_FOUND=1
26413
26414 fi
26415
26416 fi
26417 fi
26418
26419 if test "$WCSLEN_FOUND" = 1; then
26420 cat >>confdefs.h <<\_ACEOF
26421 #define HAVE_WCSLEN 1
26422 _ACEOF
26423
26424 fi
26425
26426
26427 for ac_func in wcsrtombs
26428 do
26429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26430 echo "$as_me:$LINENO: checking for $ac_func" >&5
26431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26432 if eval "test \"\${$as_ac_var+set}\" = set"; then
26433 echo $ECHO_N "(cached) $ECHO_C" >&6
26434 else
26435 cat >conftest.$ac_ext <<_ACEOF
26436 #line $LINENO "configure"
26437 /* confdefs.h. */
26438 _ACEOF
26439 cat confdefs.h >>conftest.$ac_ext
26440 cat >>conftest.$ac_ext <<_ACEOF
26441 /* end confdefs.h. */
26442 /* System header to define __stub macros and hopefully few prototypes,
26443 which can conflict with char $ac_func (); below.
26444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26445 <limits.h> exists even on freestanding compilers. */
26446 #ifdef __STDC__
26447 # include <limits.h>
26448 #else
26449 # include <assert.h>
26450 #endif
26451 /* Override any gcc2 internal prototype to avoid an error. */
26452 #ifdef __cplusplus
26453 extern "C"
26454 {
26455 #endif
26456 /* We use char because int might match the return type of a gcc2
26457 builtin and then its argument prototype would still apply. */
26458 char $ac_func ();
26459 /* The GNU C library defines this for functions which it implements
26460 to always fail with ENOSYS. Some functions are actually named
26461 something starting with __ and the normal name is an alias. */
26462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26463 choke me
26464 #else
26465 char (*f) () = $ac_func;
26466 #endif
26467 #ifdef __cplusplus
26468 }
26469 #endif
26470
26471 int
26472 main ()
26473 {
26474 return f != $ac_func;
26475 ;
26476 return 0;
26477 }
26478 _ACEOF
26479 rm -f conftest.$ac_objext conftest$ac_exeext
26480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26481 (eval $ac_link) 2>&5
26482 ac_status=$?
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } &&
26485 { ac_try='test -s conftest$ac_exeext'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26488 ac_status=$?
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; }; then
26491 eval "$as_ac_var=yes"
26492 else
26493 echo "$as_me: failed program was:" >&5
26494 sed 's/^/| /' conftest.$ac_ext >&5
26495
26496 eval "$as_ac_var=no"
26497 fi
26498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26499 fi
26500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26502 if test `eval echo '${'$as_ac_var'}'` = yes; then
26503 cat >>confdefs.h <<_ACEOF
26504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26505 _ACEOF
26506
26507 fi
26508 done
26509
26510 else
26511 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26512 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26513 fi
26514
26515
26516
26517 ac_ext=cc
26518 ac_cpp='$CXXCPP $CPPFLAGS'
26519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26522
26523
26524
26525 for ac_func in vsnprintf
26526 do
26527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26528 echo "$as_me:$LINENO: checking for $ac_func" >&5
26529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26530 if eval "test \"\${$as_ac_var+set}\" = set"; then
26531 echo $ECHO_N "(cached) $ECHO_C" >&6
26532 else
26533 cat >conftest.$ac_ext <<_ACEOF
26534 #line $LINENO "configure"
26535 /* confdefs.h. */
26536 _ACEOF
26537 cat confdefs.h >>conftest.$ac_ext
26538 cat >>conftest.$ac_ext <<_ACEOF
26539 /* end confdefs.h. */
26540 /* System header to define __stub macros and hopefully few prototypes,
26541 which can conflict with char $ac_func (); below.
26542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26543 <limits.h> exists even on freestanding compilers. */
26544 #ifdef __STDC__
26545 # include <limits.h>
26546 #else
26547 # include <assert.h>
26548 #endif
26549 /* Override any gcc2 internal prototype to avoid an error. */
26550 #ifdef __cplusplus
26551 extern "C"
26552 {
26553 #endif
26554 /* We use char because int might match the return type of a gcc2
26555 builtin and then its argument prototype would still apply. */
26556 char $ac_func ();
26557 /* The GNU C library defines this for functions which it implements
26558 to always fail with ENOSYS. Some functions are actually named
26559 something starting with __ and the normal name is an alias. */
26560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26561 choke me
26562 #else
26563 char (*f) () = $ac_func;
26564 #endif
26565 #ifdef __cplusplus
26566 }
26567 #endif
26568
26569 int
26570 main ()
26571 {
26572 return f != $ac_func;
26573 ;
26574 return 0;
26575 }
26576 _ACEOF
26577 rm -f conftest.$ac_objext conftest$ac_exeext
26578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26579 (eval $ac_link) 2>&5
26580 ac_status=$?
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); } &&
26583 { ac_try='test -s conftest$ac_exeext'
26584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26585 (eval $ac_try) 2>&5
26586 ac_status=$?
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); }; }; then
26589 eval "$as_ac_var=yes"
26590 else
26591 echo "$as_me: failed program was:" >&5
26592 sed 's/^/| /' conftest.$ac_ext >&5
26593
26594 eval "$as_ac_var=no"
26595 fi
26596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26597 fi
26598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26600 if test `eval echo '${'$as_ac_var'}'` = yes; then
26601 cat >>confdefs.h <<_ACEOF
26602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26603 _ACEOF
26604
26605 fi
26606 done
26607
26608
26609 if test "$ac_cv_func_vsnprintf" = "yes"; then
26610 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26611 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26612 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26613 echo $ECHO_N "(cached) $ECHO_C" >&6
26614 else
26615
26616 cat >conftest.$ac_ext <<_ACEOF
26617 #line $LINENO "configure"
26618 /* confdefs.h. */
26619 _ACEOF
26620 cat confdefs.h >>conftest.$ac_ext
26621 cat >>conftest.$ac_ext <<_ACEOF
26622 /* end confdefs.h. */
26623
26624 #include <stdio.h>
26625 #include <stdarg.h>
26626
26627 int
26628 main ()
26629 {
26630
26631 char *buf;
26632 va_list ap;
26633 vsnprintf(buf, 10u, "%s", ap);
26634
26635 ;
26636 return 0;
26637 }
26638 _ACEOF
26639 rm -f conftest.$ac_objext
26640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26641 (eval $ac_compile) 2>&5
26642 ac_status=$?
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); } &&
26645 { ac_try='test -s conftest.$ac_objext'
26646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26647 (eval $ac_try) 2>&5
26648 ac_status=$?
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); }; }; then
26651 wx_cv_func_vsnprintf_decl=yes
26652 else
26653 echo "$as_me: failed program was:" >&5
26654 sed 's/^/| /' conftest.$ac_ext >&5
26655
26656 wx_cv_func_vsnprintf_decl=no
26657
26658 fi
26659 rm -f conftest.$ac_objext conftest.$ac_ext
26660
26661
26662 fi
26663 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26664 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26665
26666 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26667 cat >>confdefs.h <<\_ACEOF
26668 #define HAVE_VSNPRINTF_DECL 1
26669 _ACEOF
26670
26671 fi
26672 fi
26673
26674 if test "$wxUSE_UNICODE" = yes; then
26675
26676
26677
26678 for ac_func in fputwc wprintf vswprintf
26679 do
26680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26681 echo "$as_me:$LINENO: checking for $ac_func" >&5
26682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26683 if eval "test \"\${$as_ac_var+set}\" = set"; then
26684 echo $ECHO_N "(cached) $ECHO_C" >&6
26685 else
26686 cat >conftest.$ac_ext <<_ACEOF
26687 #line $LINENO "configure"
26688 /* confdefs.h. */
26689 _ACEOF
26690 cat confdefs.h >>conftest.$ac_ext
26691 cat >>conftest.$ac_ext <<_ACEOF
26692 /* end confdefs.h. */
26693 /* System header to define __stub macros and hopefully few prototypes,
26694 which can conflict with char $ac_func (); below.
26695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26696 <limits.h> exists even on freestanding compilers. */
26697 #ifdef __STDC__
26698 # include <limits.h>
26699 #else
26700 # include <assert.h>
26701 #endif
26702 /* Override any gcc2 internal prototype to avoid an error. */
26703 #ifdef __cplusplus
26704 extern "C"
26705 {
26706 #endif
26707 /* We use char because int might match the return type of a gcc2
26708 builtin and then its argument prototype would still apply. */
26709 char $ac_func ();
26710 /* The GNU C library defines this for functions which it implements
26711 to always fail with ENOSYS. Some functions are actually named
26712 something starting with __ and the normal name is an alias. */
26713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26714 choke me
26715 #else
26716 char (*f) () = $ac_func;
26717 #endif
26718 #ifdef __cplusplus
26719 }
26720 #endif
26721
26722 int
26723 main ()
26724 {
26725 return f != $ac_func;
26726 ;
26727 return 0;
26728 }
26729 _ACEOF
26730 rm -f conftest.$ac_objext conftest$ac_exeext
26731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26732 (eval $ac_link) 2>&5
26733 ac_status=$?
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } &&
26736 { ac_try='test -s conftest$ac_exeext'
26737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26738 (eval $ac_try) 2>&5
26739 ac_status=$?
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); }; }; then
26742 eval "$as_ac_var=yes"
26743 else
26744 echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.$ac_ext >&5
26746
26747 eval "$as_ac_var=no"
26748 fi
26749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26750 fi
26751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26753 if test `eval echo '${'$as_ac_var'}'` = yes; then
26754 cat >>confdefs.h <<_ACEOF
26755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26756 _ACEOF
26757
26758 fi
26759 done
26760
26761
26762 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26763 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26764 cat >conftest.$ac_ext <<_ACEOF
26765 #line $LINENO "configure"
26766 /* confdefs.h. */
26767 _ACEOF
26768 cat confdefs.h >>conftest.$ac_ext
26769 cat >>conftest.$ac_ext <<_ACEOF
26770 /* end confdefs.h. */
26771 #include <wchar.h>
26772 int
26773 main ()
26774 {
26775 &_vsnwprintf;
26776 ;
26777 return 0;
26778 }
26779 _ACEOF
26780 rm -f conftest.$ac_objext
26781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26782 (eval $ac_compile) 2>&5
26783 ac_status=$?
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } &&
26786 { ac_try='test -s conftest.$ac_objext'
26787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26788 (eval $ac_try) 2>&5
26789 ac_status=$?
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); }; }; then
26792 echo "$as_me:$LINENO: result: yes" >&5
26793 echo "${ECHO_T}yes" >&6
26794 cat >>confdefs.h <<\_ACEOF
26795 #define HAVE__VSNWPRINTF 1
26796 _ACEOF
26797
26798 else
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.$ac_ext >&5
26801
26802 echo "$as_me:$LINENO: result: no" >&5
26803 echo "${ECHO_T}no" >&6
26804 fi
26805 rm -f conftest.$ac_objext conftest.$ac_ext;
26806 fi
26807
26808 ac_ext=c
26809 ac_cpp='$CPP $CPPFLAGS'
26810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26813
26814
26815
26816
26817 if test "$TOOLKIT" != "MSW"; then
26818
26819
26820
26821
26822 ac_ext=cc
26823 ac_cpp='$CXXCPP $CPPFLAGS'
26824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26827
26828
26829
26830
26831 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26832 if test "${with_libiconv_prefix+set}" = set; then
26833 withval="$with_libiconv_prefix"
26834
26835 for dir in `echo "$withval" | tr : ' '`; do
26836 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26837 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26838 done
26839
26840 fi;
26841
26842 echo "$as_me:$LINENO: checking for iconv" >&5
26843 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26844 if test "${am_cv_func_iconv+set}" = set; then
26845 echo $ECHO_N "(cached) $ECHO_C" >&6
26846 else
26847
26848 am_cv_func_iconv="no, consider installing GNU libiconv"
26849 am_cv_lib_iconv=no
26850 cat >conftest.$ac_ext <<_ACEOF
26851 #line $LINENO "configure"
26852 /* confdefs.h. */
26853 _ACEOF
26854 cat confdefs.h >>conftest.$ac_ext
26855 cat >>conftest.$ac_ext <<_ACEOF
26856 /* end confdefs.h. */
26857 #include <stdlib.h>
26858 #include <iconv.h>
26859 int
26860 main ()
26861 {
26862 iconv_t cd = iconv_open("","");
26863 iconv(cd,NULL,NULL,NULL,NULL);
26864 iconv_close(cd);
26865 ;
26866 return 0;
26867 }
26868 _ACEOF
26869 rm -f conftest.$ac_objext conftest$ac_exeext
26870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26871 (eval $ac_link) 2>&5
26872 ac_status=$?
26873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874 (exit $ac_status); } &&
26875 { ac_try='test -s conftest$ac_exeext'
26876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26877 (eval $ac_try) 2>&5
26878 ac_status=$?
26879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880 (exit $ac_status); }; }; then
26881 am_cv_func_iconv=yes
26882 else
26883 echo "$as_me: failed program was:" >&5
26884 sed 's/^/| /' conftest.$ac_ext >&5
26885
26886 fi
26887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26888 if test "$am_cv_func_iconv" != yes; then
26889 am_save_LIBS="$LIBS"
26890 LIBS="$LIBS -liconv"
26891 cat >conftest.$ac_ext <<_ACEOF
26892 #line $LINENO "configure"
26893 /* confdefs.h. */
26894 _ACEOF
26895 cat confdefs.h >>conftest.$ac_ext
26896 cat >>conftest.$ac_ext <<_ACEOF
26897 /* end confdefs.h. */
26898 #include <stdlib.h>
26899 #include <iconv.h>
26900 int
26901 main ()
26902 {
26903 iconv_t cd = iconv_open("","");
26904 iconv(cd,NULL,NULL,NULL,NULL);
26905 iconv_close(cd);
26906 ;
26907 return 0;
26908 }
26909 _ACEOF
26910 rm -f conftest.$ac_objext conftest$ac_exeext
26911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26912 (eval $ac_link) 2>&5
26913 ac_status=$?
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); } &&
26916 { ac_try='test -s conftest$ac_exeext'
26917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26918 (eval $ac_try) 2>&5
26919 ac_status=$?
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); }; }; then
26922 am_cv_lib_iconv=yes
26923 am_cv_func_iconv=yes
26924 else
26925 echo "$as_me: failed program was:" >&5
26926 sed 's/^/| /' conftest.$ac_ext >&5
26927
26928 fi
26929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26930 LIBS="$am_save_LIBS"
26931 fi
26932
26933 fi
26934 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26935 echo "${ECHO_T}$am_cv_func_iconv" >&6
26936 if test "$am_cv_func_iconv" = yes; then
26937
26938 cat >>confdefs.h <<\_ACEOF
26939 #define HAVE_ICONV 1
26940 _ACEOF
26941
26942 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26943 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26944 if test "${wx_cv_func_iconv_const+set}" = set; then
26945 echo $ECHO_N "(cached) $ECHO_C" >&6
26946 else
26947 cat >conftest.$ac_ext <<_ACEOF
26948 #line $LINENO "configure"
26949 /* confdefs.h. */
26950 _ACEOF
26951 cat confdefs.h >>conftest.$ac_ext
26952 cat >>conftest.$ac_ext <<_ACEOF
26953 /* end confdefs.h. */
26954
26955 #include <stdlib.h>
26956 #include <iconv.h>
26957 extern
26958 #ifdef __cplusplus
26959 "C"
26960 #endif
26961 #if defined(__STDC__) || defined(__cplusplus)
26962 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26963 #else
26964 size_t iconv();
26965 #endif
26966
26967 int
26968 main ()
26969 {
26970
26971 ;
26972 return 0;
26973 }
26974 _ACEOF
26975 rm -f conftest.$ac_objext
26976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26977 (eval $ac_compile) 2>&5
26978 ac_status=$?
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); } &&
26981 { ac_try='test -s conftest.$ac_objext'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26984 ac_status=$?
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; }; then
26987 wx_cv_func_iconv_const="no"
26988 else
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.$ac_ext >&5
26991
26992 wx_cv_func_iconv_const="yes"
26993
26994 fi
26995 rm -f conftest.$ac_objext conftest.$ac_ext
26996
26997 fi
26998 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26999 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27000
27001 iconv_const=
27002 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27003 iconv_const="const"
27004 fi
27005
27006
27007 cat >>confdefs.h <<_ACEOF
27008 #define ICONV_CONST $iconv_const
27009 _ACEOF
27010
27011 fi
27012 LIBICONV=
27013 if test "$am_cv_lib_iconv" = yes; then
27014 LIBICONV="-liconv"
27015 fi
27016
27017
27018 LIBS="$LIBICONV $LIBS"
27019 ac_ext=c
27020 ac_cpp='$CPP $CPPFLAGS'
27021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27024
27025
27026 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27027
27028 for ac_func in sigaction
27029 do
27030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27031 echo "$as_me:$LINENO: checking for $ac_func" >&5
27032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27033 if eval "test \"\${$as_ac_var+set}\" = set"; then
27034 echo $ECHO_N "(cached) $ECHO_C" >&6
27035 else
27036 cat >conftest.$ac_ext <<_ACEOF
27037 #line $LINENO "configure"
27038 /* confdefs.h. */
27039 _ACEOF
27040 cat confdefs.h >>conftest.$ac_ext
27041 cat >>conftest.$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27043 /* System header to define __stub macros and hopefully few prototypes,
27044 which can conflict with char $ac_func (); below.
27045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27046 <limits.h> exists even on freestanding compilers. */
27047 #ifdef __STDC__
27048 # include <limits.h>
27049 #else
27050 # include <assert.h>
27051 #endif
27052 /* Override any gcc2 internal prototype to avoid an error. */
27053 #ifdef __cplusplus
27054 extern "C"
27055 {
27056 #endif
27057 /* We use char because int might match the return type of a gcc2
27058 builtin and then its argument prototype would still apply. */
27059 char $ac_func ();
27060 /* The GNU C library defines this for functions which it implements
27061 to always fail with ENOSYS. Some functions are actually named
27062 something starting with __ and the normal name is an alias. */
27063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27064 choke me
27065 #else
27066 char (*f) () = $ac_func;
27067 #endif
27068 #ifdef __cplusplus
27069 }
27070 #endif
27071
27072 int
27073 main ()
27074 {
27075 return f != $ac_func;
27076 ;
27077 return 0;
27078 }
27079 _ACEOF
27080 rm -f conftest.$ac_objext conftest$ac_exeext
27081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27082 (eval $ac_link) 2>&5
27083 ac_status=$?
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); } &&
27086 { ac_try='test -s conftest$ac_exeext'
27087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27088 (eval $ac_try) 2>&5
27089 ac_status=$?
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; }; then
27092 eval "$as_ac_var=yes"
27093 else
27094 echo "$as_me: failed program was:" >&5
27095 sed 's/^/| /' conftest.$ac_ext >&5
27096
27097 eval "$as_ac_var=no"
27098 fi
27099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27100 fi
27101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27103 if test `eval echo '${'$as_ac_var'}'` = yes; then
27104 cat >>confdefs.h <<_ACEOF
27105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27106 _ACEOF
27107
27108 fi
27109 done
27110
27111
27112 if test "$ac_cv_func_sigaction" = "no"; then
27113 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27114 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27115 wxUSE_ON_FATAL_EXCEPTION=no
27116 fi
27117
27118 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27119
27120
27121 ac_ext=cc
27122 ac_cpp='$CXXCPP $CPPFLAGS'
27123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27126
27127
27128 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27129 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27130 if test "${wx_cv_type_sa_handler+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27132 else
27133
27134 cat >conftest.$ac_ext <<_ACEOF
27135 #line $LINENO "configure"
27136 /* confdefs.h. */
27137 _ACEOF
27138 cat confdefs.h >>conftest.$ac_ext
27139 cat >>conftest.$ac_ext <<_ACEOF
27140 /* end confdefs.h. */
27141 #include <signal.h>
27142 int
27143 main ()
27144 {
27145
27146 extern void testSigHandler(int);
27147
27148 struct sigaction sa;
27149 sa.sa_handler = testSigHandler;
27150
27151 ;
27152 return 0;
27153 }
27154 _ACEOF
27155 rm -f conftest.$ac_objext
27156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27157 (eval $ac_compile) 2>&5
27158 ac_status=$?
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); } &&
27161 { ac_try='test -s conftest.$ac_objext'
27162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27163 (eval $ac_try) 2>&5
27164 ac_status=$?
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); }; }; then
27167
27168 wx_cv_type_sa_handler=int
27169
27170 else
27171 echo "$as_me: failed program was:" >&5
27172 sed 's/^/| /' conftest.$ac_ext >&5
27173
27174
27175 wx_cv_type_sa_handler=void
27176
27177 fi
27178 rm -f conftest.$ac_objext conftest.$ac_ext
27179
27180 fi
27181 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27182 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27183
27184 ac_ext=c
27185 ac_cpp='$CPP $CPPFLAGS'
27186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27189
27190
27191 cat >>confdefs.h <<_ACEOF
27192 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27193 _ACEOF
27194
27195 fi
27196 fi
27197
27198
27199
27200 for ac_func in mkstemp mktemp
27201 do
27202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27203 echo "$as_me:$LINENO: checking for $ac_func" >&5
27204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27205 if eval "test \"\${$as_ac_var+set}\" = set"; then
27206 echo $ECHO_N "(cached) $ECHO_C" >&6
27207 else
27208 cat >conftest.$ac_ext <<_ACEOF
27209 #line $LINENO "configure"
27210 /* confdefs.h. */
27211 _ACEOF
27212 cat confdefs.h >>conftest.$ac_ext
27213 cat >>conftest.$ac_ext <<_ACEOF
27214 /* end confdefs.h. */
27215 /* System header to define __stub macros and hopefully few prototypes,
27216 which can conflict with char $ac_func (); below.
27217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27218 <limits.h> exists even on freestanding compilers. */
27219 #ifdef __STDC__
27220 # include <limits.h>
27221 #else
27222 # include <assert.h>
27223 #endif
27224 /* Override any gcc2 internal prototype to avoid an error. */
27225 #ifdef __cplusplus
27226 extern "C"
27227 {
27228 #endif
27229 /* We use char because int might match the return type of a gcc2
27230 builtin and then its argument prototype would still apply. */
27231 char $ac_func ();
27232 /* The GNU C library defines this for functions which it implements
27233 to always fail with ENOSYS. Some functions are actually named
27234 something starting with __ and the normal name is an alias. */
27235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27236 choke me
27237 #else
27238 char (*f) () = $ac_func;
27239 #endif
27240 #ifdef __cplusplus
27241 }
27242 #endif
27243
27244 int
27245 main ()
27246 {
27247 return f != $ac_func;
27248 ;
27249 return 0;
27250 }
27251 _ACEOF
27252 rm -f conftest.$ac_objext conftest$ac_exeext
27253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27254 (eval $ac_link) 2>&5
27255 ac_status=$?
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } &&
27258 { ac_try='test -s conftest$ac_exeext'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27261 ac_status=$?
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; }; then
27264 eval "$as_ac_var=yes"
27265 else
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27268
27269 eval "$as_ac_var=no"
27270 fi
27271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27272 fi
27273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27275 if test `eval echo '${'$as_ac_var'}'` = yes; then
27276 cat >>confdefs.h <<_ACEOF
27277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27278 _ACEOF
27279 break
27280 fi
27281 done
27282
27283
27284 echo "$as_me:$LINENO: checking for statfs" >&5
27285 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27286 if test "${wx_cv_func_statfs+set}" = set; then
27287 echo $ECHO_N "(cached) $ECHO_C" >&6
27288 else
27289 cat >conftest.$ac_ext <<_ACEOF
27290 #line $LINENO "configure"
27291 /* confdefs.h. */
27292 _ACEOF
27293 cat confdefs.h >>conftest.$ac_ext
27294 cat >>conftest.$ac_ext <<_ACEOF
27295 /* end confdefs.h. */
27296
27297 #if defined(__BSD__)
27298 #include <sys/param.h>
27299 #include <sys/mount.h>
27300 #else
27301 #include <sys/vfs.h>
27302 #endif
27303
27304 int
27305 main ()
27306 {
27307
27308 long l;
27309 struct statfs fs;
27310 statfs("/", &fs);
27311 l = fs.f_bsize;
27312 l += fs.f_blocks;
27313 l += fs.f_bavail;
27314
27315 ;
27316 return 0;
27317 }
27318 _ACEOF
27319 rm -f conftest.$ac_objext
27320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27321 (eval $ac_compile) 2>&5
27322 ac_status=$?
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); } &&
27325 { ac_try='test -s conftest.$ac_objext'
27326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27327 (eval $ac_try) 2>&5
27328 ac_status=$?
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); }; }; then
27331
27332 wx_cv_func_statfs=yes
27333
27334 else
27335 echo "$as_me: failed program was:" >&5
27336 sed 's/^/| /' conftest.$ac_ext >&5
27337
27338
27339 wx_cv_func_statfs=no
27340
27341
27342 fi
27343 rm -f conftest.$ac_objext conftest.$ac_ext
27344
27345 fi
27346 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27347 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27348
27349 if test "$wx_cv_func_statfs" = "yes"; then
27350 wx_cv_type_statvfs_t="struct statfs"
27351 cat >>confdefs.h <<\_ACEOF
27352 #define HAVE_STATFS 1
27353 _ACEOF
27354
27355 else
27356 echo "$as_me:$LINENO: checking for statvfs" >&5
27357 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27358 if test "${wx_cv_func_statvfs+set}" = set; then
27359 echo $ECHO_N "(cached) $ECHO_C" >&6
27360 else
27361 cat >conftest.$ac_ext <<_ACEOF
27362 #line $LINENO "configure"
27363 /* confdefs.h. */
27364 _ACEOF
27365 cat confdefs.h >>conftest.$ac_ext
27366 cat >>conftest.$ac_ext <<_ACEOF
27367 /* end confdefs.h. */
27368
27369 #include <stddef.h>
27370 #include <sys/statvfs.h>
27371
27372 int
27373 main ()
27374 {
27375
27376 statvfs("/", NULL);
27377
27378 ;
27379 return 0;
27380 }
27381 _ACEOF
27382 rm -f conftest.$ac_objext
27383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27384 (eval $ac_compile) 2>&5
27385 ac_status=$?
27386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27387 (exit $ac_status); } &&
27388 { ac_try='test -s conftest.$ac_objext'
27389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27390 (eval $ac_try) 2>&5
27391 ac_status=$?
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); }; }; then
27394 wx_cv_func_statvfs=yes
27395 else
27396 echo "$as_me: failed program was:" >&5
27397 sed 's/^/| /' conftest.$ac_ext >&5
27398
27399 wx_cv_func_statvfs=no
27400
27401 fi
27402 rm -f conftest.$ac_objext conftest.$ac_ext
27403
27404 fi
27405 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27406 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27407
27408 if test "$wx_cv_func_statvfs" = "yes"; then
27409
27410
27411 ac_ext=cc
27412 ac_cpp='$CXXCPP $CPPFLAGS'
27413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27416
27417
27418 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27419 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27420 if test "${wx_cv_type_statvfs_t+set}" = set; then
27421 echo $ECHO_N "(cached) $ECHO_C" >&6
27422 else
27423 cat >conftest.$ac_ext <<_ACEOF
27424 #line $LINENO "configure"
27425 /* confdefs.h. */
27426 _ACEOF
27427 cat confdefs.h >>conftest.$ac_ext
27428 cat >>conftest.$ac_ext <<_ACEOF
27429 /* end confdefs.h. */
27430
27431 #include <sys/statvfs.h>
27432
27433 int
27434 main ()
27435 {
27436
27437 long l;
27438 statvfs_t fs;
27439 statvfs("/", &fs);
27440 l = fs.f_bsize;
27441 l += fs.f_blocks;
27442 l += fs.f_bavail;
27443
27444 ;
27445 return 0;
27446 }
27447 _ACEOF
27448 rm -f conftest.$ac_objext
27449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27450 (eval $ac_compile) 2>&5
27451 ac_status=$?
27452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 (exit $ac_status); } &&
27454 { ac_try='test -s conftest.$ac_objext'
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 wx_cv_type_statvfs_t=statvfs_t
27461 else
27462 echo "$as_me: failed program was:" >&5
27463 sed 's/^/| /' conftest.$ac_ext >&5
27464
27465
27466 cat >conftest.$ac_ext <<_ACEOF
27467 #line $LINENO "configure"
27468 /* confdefs.h. */
27469 _ACEOF
27470 cat confdefs.h >>conftest.$ac_ext
27471 cat >>conftest.$ac_ext <<_ACEOF
27472 /* end confdefs.h. */
27473
27474 #include <sys/statvfs.h>
27475
27476 int
27477 main ()
27478 {
27479
27480 long l;
27481 struct statvfs fs;
27482 statvfs("/", &fs);
27483 l = fs.f_bsize;
27484 l += fs.f_blocks;
27485 l += fs.f_bavail;
27486
27487 ;
27488 return 0;
27489 }
27490 _ACEOF
27491 rm -f conftest.$ac_objext
27492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27493 (eval $ac_compile) 2>&5
27494 ac_status=$?
27495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27496 (exit $ac_status); } &&
27497 { ac_try='test -s conftest.$ac_objext'
27498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27499 (eval $ac_try) 2>&5
27500 ac_status=$?
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); }; }; then
27503 wx_cv_type_statvfs_t="struct statvfs"
27504 else
27505 echo "$as_me: failed program was:" >&5
27506 sed 's/^/| /' conftest.$ac_ext >&5
27507
27508 wx_cv_type_statvfs_t="unknown"
27509
27510 fi
27511 rm -f conftest.$ac_objext conftest.$ac_ext
27512
27513
27514 fi
27515 rm -f conftest.$ac_objext conftest.$ac_ext
27516
27517 fi
27518 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27519 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27520
27521 ac_ext=c
27522 ac_cpp='$CPP $CPPFLAGS'
27523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27526
27527
27528 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27529 cat >>confdefs.h <<\_ACEOF
27530 #define HAVE_STATVFS 1
27531 _ACEOF
27532
27533 fi
27534 else
27535 wx_cv_type_statvfs_t="unknown"
27536 fi
27537 fi
27538
27539 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27540 cat >>confdefs.h <<_ACEOF
27541 #define WX_STATFS_T $wx_cv_type_statvfs_t
27542 _ACEOF
27543
27544 else
27545 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27546 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27547 fi
27548
27549 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27550
27551
27552 for ac_func in fcntl flock
27553 do
27554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27555 echo "$as_me:$LINENO: checking for $ac_func" >&5
27556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27557 if eval "test \"\${$as_ac_var+set}\" = set"; then
27558 echo $ECHO_N "(cached) $ECHO_C" >&6
27559 else
27560 cat >conftest.$ac_ext <<_ACEOF
27561 #line $LINENO "configure"
27562 /* confdefs.h. */
27563 _ACEOF
27564 cat confdefs.h >>conftest.$ac_ext
27565 cat >>conftest.$ac_ext <<_ACEOF
27566 /* end confdefs.h. */
27567 /* System header to define __stub macros and hopefully few prototypes,
27568 which can conflict with char $ac_func (); below.
27569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27570 <limits.h> exists even on freestanding compilers. */
27571 #ifdef __STDC__
27572 # include <limits.h>
27573 #else
27574 # include <assert.h>
27575 #endif
27576 /* Override any gcc2 internal prototype to avoid an error. */
27577 #ifdef __cplusplus
27578 extern "C"
27579 {
27580 #endif
27581 /* We use char because int might match the return type of a gcc2
27582 builtin and then its argument prototype would still apply. */
27583 char $ac_func ();
27584 /* The GNU C library defines this for functions which it implements
27585 to always fail with ENOSYS. Some functions are actually named
27586 something starting with __ and the normal name is an alias. */
27587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27588 choke me
27589 #else
27590 char (*f) () = $ac_func;
27591 #endif
27592 #ifdef __cplusplus
27593 }
27594 #endif
27595
27596 int
27597 main ()
27598 {
27599 return f != $ac_func;
27600 ;
27601 return 0;
27602 }
27603 _ACEOF
27604 rm -f conftest.$ac_objext conftest$ac_exeext
27605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27606 (eval $ac_link) 2>&5
27607 ac_status=$?
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); } &&
27610 { ac_try='test -s conftest$ac_exeext'
27611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27612 (eval $ac_try) 2>&5
27613 ac_status=$?
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); }; }; then
27616 eval "$as_ac_var=yes"
27617 else
27618 echo "$as_me: failed program was:" >&5
27619 sed 's/^/| /' conftest.$ac_ext >&5
27620
27621 eval "$as_ac_var=no"
27622 fi
27623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27624 fi
27625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27627 if test `eval echo '${'$as_ac_var'}'` = yes; then
27628 cat >>confdefs.h <<_ACEOF
27629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27630 _ACEOF
27631 break
27632 fi
27633 done
27634
27635
27636 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27637 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27638 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27639 wxUSE_SNGLINST_CHECKER=no
27640 fi
27641 fi
27642
27643
27644 for ac_func in timegm
27645 do
27646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27647 echo "$as_me:$LINENO: checking for $ac_func" >&5
27648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27649 if eval "test \"\${$as_ac_var+set}\" = set"; then
27650 echo $ECHO_N "(cached) $ECHO_C" >&6
27651 else
27652 cat >conftest.$ac_ext <<_ACEOF
27653 #line $LINENO "configure"
27654 /* confdefs.h. */
27655 _ACEOF
27656 cat confdefs.h >>conftest.$ac_ext
27657 cat >>conftest.$ac_ext <<_ACEOF
27658 /* end confdefs.h. */
27659 /* System header to define __stub macros and hopefully few prototypes,
27660 which can conflict with char $ac_func (); below.
27661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27662 <limits.h> exists even on freestanding compilers. */
27663 #ifdef __STDC__
27664 # include <limits.h>
27665 #else
27666 # include <assert.h>
27667 #endif
27668 /* Override any gcc2 internal prototype to avoid an error. */
27669 #ifdef __cplusplus
27670 extern "C"
27671 {
27672 #endif
27673 /* We use char because int might match the return type of a gcc2
27674 builtin and then its argument prototype would still apply. */
27675 char $ac_func ();
27676 /* The GNU C library defines this for functions which it implements
27677 to always fail with ENOSYS. Some functions are actually named
27678 something starting with __ and the normal name is an alias. */
27679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27680 choke me
27681 #else
27682 char (*f) () = $ac_func;
27683 #endif
27684 #ifdef __cplusplus
27685 }
27686 #endif
27687
27688 int
27689 main ()
27690 {
27691 return f != $ac_func;
27692 ;
27693 return 0;
27694 }
27695 _ACEOF
27696 rm -f conftest.$ac_objext conftest$ac_exeext
27697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27698 (eval $ac_link) 2>&5
27699 ac_status=$?
27700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27701 (exit $ac_status); } &&
27702 { ac_try='test -s conftest$ac_exeext'
27703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27704 (eval $ac_try) 2>&5
27705 ac_status=$?
27706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27707 (exit $ac_status); }; }; then
27708 eval "$as_ac_var=yes"
27709 else
27710 echo "$as_me: failed program was:" >&5
27711 sed 's/^/| /' conftest.$ac_ext >&5
27712
27713 eval "$as_ac_var=no"
27714 fi
27715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27716 fi
27717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27719 if test `eval echo '${'$as_ac_var'}'` = yes; then
27720 cat >>confdefs.h <<_ACEOF
27721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27722 _ACEOF
27723
27724 fi
27725 done
27726
27727
27728
27729
27730 for ac_func in putenv setenv
27731 do
27732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27733 echo "$as_me:$LINENO: checking for $ac_func" >&5
27734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27735 if eval "test \"\${$as_ac_var+set}\" = set"; then
27736 echo $ECHO_N "(cached) $ECHO_C" >&6
27737 else
27738 cat >conftest.$ac_ext <<_ACEOF
27739 #line $LINENO "configure"
27740 /* confdefs.h. */
27741 _ACEOF
27742 cat confdefs.h >>conftest.$ac_ext
27743 cat >>conftest.$ac_ext <<_ACEOF
27744 /* end confdefs.h. */
27745 /* System header to define __stub macros and hopefully few prototypes,
27746 which can conflict with char $ac_func (); below.
27747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27748 <limits.h> exists even on freestanding compilers. */
27749 #ifdef __STDC__
27750 # include <limits.h>
27751 #else
27752 # include <assert.h>
27753 #endif
27754 /* Override any gcc2 internal prototype to avoid an error. */
27755 #ifdef __cplusplus
27756 extern "C"
27757 {
27758 #endif
27759 /* We use char because int might match the return type of a gcc2
27760 builtin and then its argument prototype would still apply. */
27761 char $ac_func ();
27762 /* The GNU C library defines this for functions which it implements
27763 to always fail with ENOSYS. Some functions are actually named
27764 something starting with __ and the normal name is an alias. */
27765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27766 choke me
27767 #else
27768 char (*f) () = $ac_func;
27769 #endif
27770 #ifdef __cplusplus
27771 }
27772 #endif
27773
27774 int
27775 main ()
27776 {
27777 return f != $ac_func;
27778 ;
27779 return 0;
27780 }
27781 _ACEOF
27782 rm -f conftest.$ac_objext conftest$ac_exeext
27783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27784 (eval $ac_link) 2>&5
27785 ac_status=$?
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); } &&
27788 { ac_try='test -s conftest$ac_exeext'
27789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27790 (eval $ac_try) 2>&5
27791 ac_status=$?
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); }; }; then
27794 eval "$as_ac_var=yes"
27795 else
27796 echo "$as_me: failed program was:" >&5
27797 sed 's/^/| /' conftest.$ac_ext >&5
27798
27799 eval "$as_ac_var=no"
27800 fi
27801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27802 fi
27803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27805 if test `eval echo '${'$as_ac_var'}'` = yes; then
27806 cat >>confdefs.h <<_ACEOF
27807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27808 _ACEOF
27809 break
27810 fi
27811 done
27812
27813
27814 HAVE_SOME_SLEEP_FUNC=0
27815 if test "$USE_BEOS" = 1; then
27816 cat >>confdefs.h <<\_ACEOF
27817 #define HAVE_SLEEP 1
27818 _ACEOF
27819
27820 HAVE_SOME_SLEEP_FUNC=1
27821 fi
27822
27823 if test "$USE_DARWIN" = 1; then
27824 cat >>confdefs.h <<\_ACEOF
27825 #define HAVE_USLEEP 1
27826 _ACEOF
27827
27828 HAVE_SOME_SLEEP_FUNC=1
27829 fi
27830
27831 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27832 POSIX4_LINK=
27833
27834 for ac_func in nanosleep
27835 do
27836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27837 echo "$as_me:$LINENO: checking for $ac_func" >&5
27838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27839 if eval "test \"\${$as_ac_var+set}\" = set"; then
27840 echo $ECHO_N "(cached) $ECHO_C" >&6
27841 else
27842 cat >conftest.$ac_ext <<_ACEOF
27843 #line $LINENO "configure"
27844 /* confdefs.h. */
27845 _ACEOF
27846 cat confdefs.h >>conftest.$ac_ext
27847 cat >>conftest.$ac_ext <<_ACEOF
27848 /* end confdefs.h. */
27849 /* System header to define __stub macros and hopefully few prototypes,
27850 which can conflict with char $ac_func (); below.
27851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27852 <limits.h> exists even on freestanding compilers. */
27853 #ifdef __STDC__
27854 # include <limits.h>
27855 #else
27856 # include <assert.h>
27857 #endif
27858 /* Override any gcc2 internal prototype to avoid an error. */
27859 #ifdef __cplusplus
27860 extern "C"
27861 {
27862 #endif
27863 /* We use char because int might match the return type of a gcc2
27864 builtin and then its argument prototype would still apply. */
27865 char $ac_func ();
27866 /* The GNU C library defines this for functions which it implements
27867 to always fail with ENOSYS. Some functions are actually named
27868 something starting with __ and the normal name is an alias. */
27869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27870 choke me
27871 #else
27872 char (*f) () = $ac_func;
27873 #endif
27874 #ifdef __cplusplus
27875 }
27876 #endif
27877
27878 int
27879 main ()
27880 {
27881 return f != $ac_func;
27882 ;
27883 return 0;
27884 }
27885 _ACEOF
27886 rm -f conftest.$ac_objext conftest$ac_exeext
27887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27888 (eval $ac_link) 2>&5
27889 ac_status=$?
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); } &&
27892 { ac_try='test -s conftest$ac_exeext'
27893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27894 (eval $ac_try) 2>&5
27895 ac_status=$?
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); }; }; then
27898 eval "$as_ac_var=yes"
27899 else
27900 echo "$as_me: failed program was:" >&5
27901 sed 's/^/| /' conftest.$ac_ext >&5
27902
27903 eval "$as_ac_var=no"
27904 fi
27905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27906 fi
27907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27909 if test `eval echo '${'$as_ac_var'}'` = yes; then
27910 cat >>confdefs.h <<_ACEOF
27911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27912 _ACEOF
27913 cat >>confdefs.h <<\_ACEOF
27914 #define HAVE_NANOSLEEP 1
27915 _ACEOF
27916
27917 else
27918
27919 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27920 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27921 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27922 echo $ECHO_N "(cached) $ECHO_C" >&6
27923 else
27924 ac_check_lib_save_LIBS=$LIBS
27925 LIBS="-lposix4 $LIBS"
27926 cat >conftest.$ac_ext <<_ACEOF
27927 #line $LINENO "configure"
27928 /* confdefs.h. */
27929 _ACEOF
27930 cat confdefs.h >>conftest.$ac_ext
27931 cat >>conftest.$ac_ext <<_ACEOF
27932 /* end confdefs.h. */
27933
27934 /* Override any gcc2 internal prototype to avoid an error. */
27935 #ifdef __cplusplus
27936 extern "C"
27937 #endif
27938 /* We use char because int might match the return type of a gcc2
27939 builtin and then its argument prototype would still apply. */
27940 char nanosleep ();
27941 int
27942 main ()
27943 {
27944 nanosleep ();
27945 ;
27946 return 0;
27947 }
27948 _ACEOF
27949 rm -f conftest.$ac_objext conftest$ac_exeext
27950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27951 (eval $ac_link) 2>&5
27952 ac_status=$?
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); } &&
27955 { ac_try='test -s conftest$ac_exeext'
27956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27957 (eval $ac_try) 2>&5
27958 ac_status=$?
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); }; }; then
27961 ac_cv_lib_posix4_nanosleep=yes
27962 else
27963 echo "$as_me: failed program was:" >&5
27964 sed 's/^/| /' conftest.$ac_ext >&5
27965
27966 ac_cv_lib_posix4_nanosleep=no
27967 fi
27968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27969 LIBS=$ac_check_lib_save_LIBS
27970 fi
27971 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27972 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27973 if test $ac_cv_lib_posix4_nanosleep = yes; then
27974
27975 cat >>confdefs.h <<\_ACEOF
27976 #define HAVE_NANOSLEEP 1
27977 _ACEOF
27978
27979 POSIX4_LINK=" -lposix4"
27980
27981 else
27982
27983
27984 for ac_func in usleep
27985 do
27986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27987 echo "$as_me:$LINENO: checking for $ac_func" >&5
27988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27989 if eval "test \"\${$as_ac_var+set}\" = set"; then
27990 echo $ECHO_N "(cached) $ECHO_C" >&6
27991 else
27992 cat >conftest.$ac_ext <<_ACEOF
27993 #line $LINENO "configure"
27994 /* confdefs.h. */
27995 _ACEOF
27996 cat confdefs.h >>conftest.$ac_ext
27997 cat >>conftest.$ac_ext <<_ACEOF
27998 /* end confdefs.h. */
27999 /* System header to define __stub macros and hopefully few prototypes,
28000 which can conflict with char $ac_func (); below.
28001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28002 <limits.h> exists even on freestanding compilers. */
28003 #ifdef __STDC__
28004 # include <limits.h>
28005 #else
28006 # include <assert.h>
28007 #endif
28008 /* Override any gcc2 internal prototype to avoid an error. */
28009 #ifdef __cplusplus
28010 extern "C"
28011 {
28012 #endif
28013 /* We use char because int might match the return type of a gcc2
28014 builtin and then its argument prototype would still apply. */
28015 char $ac_func ();
28016 /* The GNU C library defines this for functions which it implements
28017 to always fail with ENOSYS. Some functions are actually named
28018 something starting with __ and the normal name is an alias. */
28019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28020 choke me
28021 #else
28022 char (*f) () = $ac_func;
28023 #endif
28024 #ifdef __cplusplus
28025 }
28026 #endif
28027
28028 int
28029 main ()
28030 {
28031 return f != $ac_func;
28032 ;
28033 return 0;
28034 }
28035 _ACEOF
28036 rm -f conftest.$ac_objext conftest$ac_exeext
28037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28038 (eval $ac_link) 2>&5
28039 ac_status=$?
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); } &&
28042 { ac_try='test -s conftest$ac_exeext'
28043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28044 (eval $ac_try) 2>&5
28045 ac_status=$?
28046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 (exit $ac_status); }; }; then
28048 eval "$as_ac_var=yes"
28049 else
28050 echo "$as_me: failed program was:" >&5
28051 sed 's/^/| /' conftest.$ac_ext >&5
28052
28053 eval "$as_ac_var=no"
28054 fi
28055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28056 fi
28057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28059 if test `eval echo '${'$as_ac_var'}'` = yes; then
28060 cat >>confdefs.h <<_ACEOF
28061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28062 _ACEOF
28063 cat >>confdefs.h <<\_ACEOF
28064 #define HAVE_USLEEP 1
28065 _ACEOF
28066
28067 else
28068 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28069 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28070
28071 fi
28072 done
28073
28074
28075
28076 fi
28077
28078
28079
28080 fi
28081 done
28082
28083 fi
28084
28085
28086
28087 for ac_func in uname gethostname
28088 do
28089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28090 echo "$as_me:$LINENO: checking for $ac_func" >&5
28091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28092 if eval "test \"\${$as_ac_var+set}\" = set"; then
28093 echo $ECHO_N "(cached) $ECHO_C" >&6
28094 else
28095 cat >conftest.$ac_ext <<_ACEOF
28096 #line $LINENO "configure"
28097 /* confdefs.h. */
28098 _ACEOF
28099 cat confdefs.h >>conftest.$ac_ext
28100 cat >>conftest.$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28102 /* System header to define __stub macros and hopefully few prototypes,
28103 which can conflict with char $ac_func (); below.
28104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28105 <limits.h> exists even on freestanding compilers. */
28106 #ifdef __STDC__
28107 # include <limits.h>
28108 #else
28109 # include <assert.h>
28110 #endif
28111 /* Override any gcc2 internal prototype to avoid an error. */
28112 #ifdef __cplusplus
28113 extern "C"
28114 {
28115 #endif
28116 /* We use char because int might match the return type of a gcc2
28117 builtin and then its argument prototype would still apply. */
28118 char $ac_func ();
28119 /* The GNU C library defines this for functions which it implements
28120 to always fail with ENOSYS. Some functions are actually named
28121 something starting with __ and the normal name is an alias. */
28122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28123 choke me
28124 #else
28125 char (*f) () = $ac_func;
28126 #endif
28127 #ifdef __cplusplus
28128 }
28129 #endif
28130
28131 int
28132 main ()
28133 {
28134 return f != $ac_func;
28135 ;
28136 return 0;
28137 }
28138 _ACEOF
28139 rm -f conftest.$ac_objext conftest$ac_exeext
28140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28141 (eval $ac_link) 2>&5
28142 ac_status=$?
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); } &&
28145 { ac_try='test -s conftest$ac_exeext'
28146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28147 (eval $ac_try) 2>&5
28148 ac_status=$?
28149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150 (exit $ac_status); }; }; then
28151 eval "$as_ac_var=yes"
28152 else
28153 echo "$as_me: failed program was:" >&5
28154 sed 's/^/| /' conftest.$ac_ext >&5
28155
28156 eval "$as_ac_var=no"
28157 fi
28158 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28159 fi
28160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28162 if test `eval echo '${'$as_ac_var'}'` = yes; then
28163 cat >>confdefs.h <<_ACEOF
28164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28165 _ACEOF
28166 break
28167 fi
28168 done
28169
28170
28171
28172
28173 ac_ext=cc
28174 ac_cpp='$CXXCPP $CPPFLAGS'
28175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28178
28179
28180
28181 for ac_func in strtok_r
28182 do
28183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28184 echo "$as_me:$LINENO: checking for $ac_func" >&5
28185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28186 if eval "test \"\${$as_ac_var+set}\" = set"; then
28187 echo $ECHO_N "(cached) $ECHO_C" >&6
28188 else
28189 cat >conftest.$ac_ext <<_ACEOF
28190 #line $LINENO "configure"
28191 /* confdefs.h. */
28192 _ACEOF
28193 cat confdefs.h >>conftest.$ac_ext
28194 cat >>conftest.$ac_ext <<_ACEOF
28195 /* end confdefs.h. */
28196 /* System header to define __stub macros and hopefully few prototypes,
28197 which can conflict with char $ac_func (); below.
28198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28199 <limits.h> exists even on freestanding compilers. */
28200 #ifdef __STDC__
28201 # include <limits.h>
28202 #else
28203 # include <assert.h>
28204 #endif
28205 /* Override any gcc2 internal prototype to avoid an error. */
28206 #ifdef __cplusplus
28207 extern "C"
28208 {
28209 #endif
28210 /* We use char because int might match the return type of a gcc2
28211 builtin and then its argument prototype would still apply. */
28212 char $ac_func ();
28213 /* The GNU C library defines this for functions which it implements
28214 to always fail with ENOSYS. Some functions are actually named
28215 something starting with __ and the normal name is an alias. */
28216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28217 choke me
28218 #else
28219 char (*f) () = $ac_func;
28220 #endif
28221 #ifdef __cplusplus
28222 }
28223 #endif
28224
28225 int
28226 main ()
28227 {
28228 return f != $ac_func;
28229 ;
28230 return 0;
28231 }
28232 _ACEOF
28233 rm -f conftest.$ac_objext conftest$ac_exeext
28234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28235 (eval $ac_link) 2>&5
28236 ac_status=$?
28237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238 (exit $ac_status); } &&
28239 { ac_try='test -s conftest$ac_exeext'
28240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28241 (eval $ac_try) 2>&5
28242 ac_status=$?
28243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244 (exit $ac_status); }; }; then
28245 eval "$as_ac_var=yes"
28246 else
28247 echo "$as_me: failed program was:" >&5
28248 sed 's/^/| /' conftest.$ac_ext >&5
28249
28250 eval "$as_ac_var=no"
28251 fi
28252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28253 fi
28254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28256 if test `eval echo '${'$as_ac_var'}'` = yes; then
28257 cat >>confdefs.h <<_ACEOF
28258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28259 _ACEOF
28260
28261 fi
28262 done
28263
28264
28265 ac_ext=c
28266 ac_cpp='$CPP $CPPFLAGS'
28267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28270
28271
28272 INET_LINK=
28273
28274 for ac_func in inet_addr
28275 do
28276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28277 echo "$as_me:$LINENO: checking for $ac_func" >&5
28278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28279 if eval "test \"\${$as_ac_var+set}\" = set"; then
28280 echo $ECHO_N "(cached) $ECHO_C" >&6
28281 else
28282 cat >conftest.$ac_ext <<_ACEOF
28283 #line $LINENO "configure"
28284 /* confdefs.h. */
28285 _ACEOF
28286 cat confdefs.h >>conftest.$ac_ext
28287 cat >>conftest.$ac_ext <<_ACEOF
28288 /* end confdefs.h. */
28289 /* System header to define __stub macros and hopefully few prototypes,
28290 which can conflict with char $ac_func (); below.
28291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28292 <limits.h> exists even on freestanding compilers. */
28293 #ifdef __STDC__
28294 # include <limits.h>
28295 #else
28296 # include <assert.h>
28297 #endif
28298 /* Override any gcc2 internal prototype to avoid an error. */
28299 #ifdef __cplusplus
28300 extern "C"
28301 {
28302 #endif
28303 /* We use char because int might match the return type of a gcc2
28304 builtin and then its argument prototype would still apply. */
28305 char $ac_func ();
28306 /* The GNU C library defines this for functions which it implements
28307 to always fail with ENOSYS. Some functions are actually named
28308 something starting with __ and the normal name is an alias. */
28309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28310 choke me
28311 #else
28312 char (*f) () = $ac_func;
28313 #endif
28314 #ifdef __cplusplus
28315 }
28316 #endif
28317
28318 int
28319 main ()
28320 {
28321 return f != $ac_func;
28322 ;
28323 return 0;
28324 }
28325 _ACEOF
28326 rm -f conftest.$ac_objext conftest$ac_exeext
28327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28328 (eval $ac_link) 2>&5
28329 ac_status=$?
28330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 (exit $ac_status); } &&
28332 { ac_try='test -s conftest$ac_exeext'
28333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28334 (eval $ac_try) 2>&5
28335 ac_status=$?
28336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28337 (exit $ac_status); }; }; then
28338 eval "$as_ac_var=yes"
28339 else
28340 echo "$as_me: failed program was:" >&5
28341 sed 's/^/| /' conftest.$ac_ext >&5
28342
28343 eval "$as_ac_var=no"
28344 fi
28345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28346 fi
28347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28349 if test `eval echo '${'$as_ac_var'}'` = yes; then
28350 cat >>confdefs.h <<_ACEOF
28351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28352 _ACEOF
28353 cat >>confdefs.h <<\_ACEOF
28354 #define HAVE_INET_ADDR 1
28355 _ACEOF
28356
28357 else
28358
28359 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28360 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28361 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28362 echo $ECHO_N "(cached) $ECHO_C" >&6
28363 else
28364 ac_check_lib_save_LIBS=$LIBS
28365 LIBS="-lnsl $LIBS"
28366 cat >conftest.$ac_ext <<_ACEOF
28367 #line $LINENO "configure"
28368 /* confdefs.h. */
28369 _ACEOF
28370 cat confdefs.h >>conftest.$ac_ext
28371 cat >>conftest.$ac_ext <<_ACEOF
28372 /* end confdefs.h. */
28373
28374 /* Override any gcc2 internal prototype to avoid an error. */
28375 #ifdef __cplusplus
28376 extern "C"
28377 #endif
28378 /* We use char because int might match the return type of a gcc2
28379 builtin and then its argument prototype would still apply. */
28380 char inet_addr ();
28381 int
28382 main ()
28383 {
28384 inet_addr ();
28385 ;
28386 return 0;
28387 }
28388 _ACEOF
28389 rm -f conftest.$ac_objext conftest$ac_exeext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28391 (eval $ac_link) 2>&5
28392 ac_status=$?
28393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28394 (exit $ac_status); } &&
28395 { ac_try='test -s conftest$ac_exeext'
28396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28397 (eval $ac_try) 2>&5
28398 ac_status=$?
28399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28400 (exit $ac_status); }; }; then
28401 ac_cv_lib_nsl_inet_addr=yes
28402 else
28403 echo "$as_me: failed program was:" >&5
28404 sed 's/^/| /' conftest.$ac_ext >&5
28405
28406 ac_cv_lib_nsl_inet_addr=no
28407 fi
28408 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28409 LIBS=$ac_check_lib_save_LIBS
28410 fi
28411 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28412 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28413 if test $ac_cv_lib_nsl_inet_addr = yes; then
28414 INET_LINK="nsl"
28415 else
28416 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28417 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28418 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28419 echo $ECHO_N "(cached) $ECHO_C" >&6
28420 else
28421 ac_check_lib_save_LIBS=$LIBS
28422 LIBS="-lresolv $LIBS"
28423 cat >conftest.$ac_ext <<_ACEOF
28424 #line $LINENO "configure"
28425 /* confdefs.h. */
28426 _ACEOF
28427 cat confdefs.h >>conftest.$ac_ext
28428 cat >>conftest.$ac_ext <<_ACEOF
28429 /* end confdefs.h. */
28430
28431 /* Override any gcc2 internal prototype to avoid an error. */
28432 #ifdef __cplusplus
28433 extern "C"
28434 #endif
28435 /* We use char because int might match the return type of a gcc2
28436 builtin and then its argument prototype would still apply. */
28437 char inet_addr ();
28438 int
28439 main ()
28440 {
28441 inet_addr ();
28442 ;
28443 return 0;
28444 }
28445 _ACEOF
28446 rm -f conftest.$ac_objext conftest$ac_exeext
28447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28448 (eval $ac_link) 2>&5
28449 ac_status=$?
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); } &&
28452 { ac_try='test -s conftest$ac_exeext'
28453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28454 (eval $ac_try) 2>&5
28455 ac_status=$?
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); }; }; then
28458 ac_cv_lib_resolv_inet_addr=yes
28459 else
28460 echo "$as_me: failed program was:" >&5
28461 sed 's/^/| /' conftest.$ac_ext >&5
28462
28463 ac_cv_lib_resolv_inet_addr=no
28464 fi
28465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28466 LIBS=$ac_check_lib_save_LIBS
28467 fi
28468 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28469 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28470 if test $ac_cv_lib_resolv_inet_addr = yes; then
28471 INET_LINK="resolv"
28472 else
28473 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28474 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28475 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28476 echo $ECHO_N "(cached) $ECHO_C" >&6
28477 else
28478 ac_check_lib_save_LIBS=$LIBS
28479 LIBS="-lsocket $LIBS"
28480 cat >conftest.$ac_ext <<_ACEOF
28481 #line $LINENO "configure"
28482 /* confdefs.h. */
28483 _ACEOF
28484 cat confdefs.h >>conftest.$ac_ext
28485 cat >>conftest.$ac_ext <<_ACEOF
28486 /* end confdefs.h. */
28487
28488 /* Override any gcc2 internal prototype to avoid an error. */
28489 #ifdef __cplusplus
28490 extern "C"
28491 #endif
28492 /* We use char because int might match the return type of a gcc2
28493 builtin and then its argument prototype would still apply. */
28494 char inet_addr ();
28495 int
28496 main ()
28497 {
28498 inet_addr ();
28499 ;
28500 return 0;
28501 }
28502 _ACEOF
28503 rm -f conftest.$ac_objext conftest$ac_exeext
28504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28505 (eval $ac_link) 2>&5
28506 ac_status=$?
28507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28508 (exit $ac_status); } &&
28509 { ac_try='test -s conftest$ac_exeext'
28510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28511 (eval $ac_try) 2>&5
28512 ac_status=$?
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); }; }; then
28515 ac_cv_lib_socket_inet_addr=yes
28516 else
28517 echo "$as_me: failed program was:" >&5
28518 sed 's/^/| /' conftest.$ac_ext >&5
28519
28520 ac_cv_lib_socket_inet_addr=no
28521 fi
28522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28523 LIBS=$ac_check_lib_save_LIBS
28524 fi
28525 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28526 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28527 if test $ac_cv_lib_socket_inet_addr = yes; then
28528 INET_LINK="socket"
28529
28530 fi
28531
28532
28533 fi
28534
28535
28536 fi
28537
28538
28539
28540 fi
28541 done
28542
28543
28544
28545 for ac_func in inet_aton
28546 do
28547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28548 echo "$as_me:$LINENO: checking for $ac_func" >&5
28549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28550 if eval "test \"\${$as_ac_var+set}\" = set"; then
28551 echo $ECHO_N "(cached) $ECHO_C" >&6
28552 else
28553 cat >conftest.$ac_ext <<_ACEOF
28554 #line $LINENO "configure"
28555 /* confdefs.h. */
28556 _ACEOF
28557 cat confdefs.h >>conftest.$ac_ext
28558 cat >>conftest.$ac_ext <<_ACEOF
28559 /* end confdefs.h. */
28560 /* System header to define __stub macros and hopefully few prototypes,
28561 which can conflict with char $ac_func (); below.
28562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28563 <limits.h> exists even on freestanding compilers. */
28564 #ifdef __STDC__
28565 # include <limits.h>
28566 #else
28567 # include <assert.h>
28568 #endif
28569 /* Override any gcc2 internal prototype to avoid an error. */
28570 #ifdef __cplusplus
28571 extern "C"
28572 {
28573 #endif
28574 /* We use char because int might match the return type of a gcc2
28575 builtin and then its argument prototype would still apply. */
28576 char $ac_func ();
28577 /* The GNU C library defines this for functions which it implements
28578 to always fail with ENOSYS. Some functions are actually named
28579 something starting with __ and the normal name is an alias. */
28580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28581 choke me
28582 #else
28583 char (*f) () = $ac_func;
28584 #endif
28585 #ifdef __cplusplus
28586 }
28587 #endif
28588
28589 int
28590 main ()
28591 {
28592 return f != $ac_func;
28593 ;
28594 return 0;
28595 }
28596 _ACEOF
28597 rm -f conftest.$ac_objext conftest$ac_exeext
28598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28599 (eval $ac_link) 2>&5
28600 ac_status=$?
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); } &&
28603 { ac_try='test -s conftest$ac_exeext'
28604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28605 (eval $ac_try) 2>&5
28606 ac_status=$?
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); }; }; then
28609 eval "$as_ac_var=yes"
28610 else
28611 echo "$as_me: failed program was:" >&5
28612 sed 's/^/| /' conftest.$ac_ext >&5
28613
28614 eval "$as_ac_var=no"
28615 fi
28616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28617 fi
28618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28620 if test `eval echo '${'$as_ac_var'}'` = yes; then
28621 cat >>confdefs.h <<_ACEOF
28622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28623 _ACEOF
28624 cat >>confdefs.h <<\_ACEOF
28625 #define HAVE_INET_ATON 1
28626 _ACEOF
28627
28628 else
28629
28630 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28631 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28632 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28633 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28634 echo $ECHO_N "(cached) $ECHO_C" >&6
28635 else
28636 ac_check_lib_save_LIBS=$LIBS
28637 LIBS="-l$INET_LINK $LIBS"
28638 cat >conftest.$ac_ext <<_ACEOF
28639 #line $LINENO "configure"
28640 /* confdefs.h. */
28641 _ACEOF
28642 cat confdefs.h >>conftest.$ac_ext
28643 cat >>conftest.$ac_ext <<_ACEOF
28644 /* end confdefs.h. */
28645
28646 /* Override any gcc2 internal prototype to avoid an error. */
28647 #ifdef __cplusplus
28648 extern "C"
28649 #endif
28650 /* We use char because int might match the return type of a gcc2
28651 builtin and then its argument prototype would still apply. */
28652 char inet_aton ();
28653 int
28654 main ()
28655 {
28656 inet_aton ();
28657 ;
28658 return 0;
28659 }
28660 _ACEOF
28661 rm -f conftest.$ac_objext conftest$ac_exeext
28662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28663 (eval $ac_link) 2>&5
28664 ac_status=$?
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); } &&
28667 { ac_try='test -s conftest$ac_exeext'
28668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28669 (eval $ac_try) 2>&5
28670 ac_status=$?
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); }; }; then
28673 eval "$as_ac_Lib=yes"
28674 else
28675 echo "$as_me: failed program was:" >&5
28676 sed 's/^/| /' conftest.$ac_ext >&5
28677
28678 eval "$as_ac_Lib=no"
28679 fi
28680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28681 LIBS=$ac_check_lib_save_LIBS
28682 fi
28683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28684 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28685 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28686 cat >>confdefs.h <<\_ACEOF
28687 #define HAVE_INET_ATON 1
28688 _ACEOF
28689
28690 fi
28691
28692
28693 fi
28694 done
28695
28696
28697 if test "x$INET_LINK" != "x"; then
28698 cat >>confdefs.h <<\_ACEOF
28699 #define HAVE_INET_ADDR 1
28700 _ACEOF
28701
28702 INET_LINK=" -l$INET_LINK"
28703 fi
28704
28705 fi
28706
28707
28708
28709 EXTRALIBS_ESD=
28710 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28711 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28712 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28713 echo $ECHO_N "(cached) $ECHO_C" >&6
28714 else
28715 ac_check_lib_save_LIBS=$LIBS
28716 LIBS="-lesd $LIBS"
28717 cat >conftest.$ac_ext <<_ACEOF
28718 #line $LINENO "configure"
28719 /* confdefs.h. */
28720 _ACEOF
28721 cat confdefs.h >>conftest.$ac_ext
28722 cat >>conftest.$ac_ext <<_ACEOF
28723 /* end confdefs.h. */
28724
28725 /* Override any gcc2 internal prototype to avoid an error. */
28726 #ifdef __cplusplus
28727 extern "C"
28728 #endif
28729 /* We use char because int might match the return type of a gcc2
28730 builtin and then its argument prototype would still apply. */
28731 char esd_close ();
28732 int
28733 main ()
28734 {
28735 esd_close ();
28736 ;
28737 return 0;
28738 }
28739 _ACEOF
28740 rm -f conftest.$ac_objext conftest$ac_exeext
28741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28742 (eval $ac_link) 2>&5
28743 ac_status=$?
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); } &&
28746 { ac_try='test -s conftest$ac_exeext'
28747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28748 (eval $ac_try) 2>&5
28749 ac_status=$?
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); }; }; then
28752 ac_cv_lib_esd_esd_close=yes
28753 else
28754 echo "$as_me: failed program was:" >&5
28755 sed 's/^/| /' conftest.$ac_ext >&5
28756
28757 ac_cv_lib_esd_esd_close=no
28758 fi
28759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28760 LIBS=$ac_check_lib_save_LIBS
28761 fi
28762 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28763 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28764 if test $ac_cv_lib_esd_esd_close = yes; then
28765
28766
28767 for ac_header in esd.h
28768 do
28769 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28771 echo "$as_me:$LINENO: checking for $ac_header" >&5
28772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28774 echo $ECHO_N "(cached) $ECHO_C" >&6
28775 fi
28776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28778 else
28779 # Is the header compilable?
28780 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28781 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28782 cat >conftest.$ac_ext <<_ACEOF
28783 #line $LINENO "configure"
28784 /* confdefs.h. */
28785 _ACEOF
28786 cat confdefs.h >>conftest.$ac_ext
28787 cat >>conftest.$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28789 $ac_includes_default
28790 #include <$ac_header>
28791 _ACEOF
28792 rm -f conftest.$ac_objext
28793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28794 (eval $ac_compile) 2>&5
28795 ac_status=$?
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); } &&
28798 { ac_try='test -s conftest.$ac_objext'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28801 ac_status=$?
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; }; then
28804 ac_header_compiler=yes
28805 else
28806 echo "$as_me: failed program was:" >&5
28807 sed 's/^/| /' conftest.$ac_ext >&5
28808
28809 ac_header_compiler=no
28810 fi
28811 rm -f conftest.$ac_objext conftest.$ac_ext
28812 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28813 echo "${ECHO_T}$ac_header_compiler" >&6
28814
28815 # Is the header present?
28816 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28818 cat >conftest.$ac_ext <<_ACEOF
28819 #line $LINENO "configure"
28820 /* confdefs.h. */
28821 _ACEOF
28822 cat confdefs.h >>conftest.$ac_ext
28823 cat >>conftest.$ac_ext <<_ACEOF
28824 /* end confdefs.h. */
28825 #include <$ac_header>
28826 _ACEOF
28827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28828 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28829 ac_status=$?
28830 grep -v '^ *+' conftest.er1 >conftest.err
28831 rm -f conftest.er1
28832 cat conftest.err >&5
28833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834 (exit $ac_status); } >/dev/null; then
28835 if test -s conftest.err; then
28836 ac_cpp_err=$ac_c_preproc_warn_flag
28837 else
28838 ac_cpp_err=
28839 fi
28840 else
28841 ac_cpp_err=yes
28842 fi
28843 if test -z "$ac_cpp_err"; then
28844 ac_header_preproc=yes
28845 else
28846 echo "$as_me: failed program was:" >&5
28847 sed 's/^/| /' conftest.$ac_ext >&5
28848
28849 ac_header_preproc=no
28850 fi
28851 rm -f conftest.err conftest.$ac_ext
28852 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28853 echo "${ECHO_T}$ac_header_preproc" >&6
28854
28855 # So? What about this header?
28856 case $ac_header_compiler:$ac_header_preproc in
28857 yes:no )
28858 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28862 (
28863 cat <<\_ASBOX
28864 ## ------------------------------------ ##
28865 ## Report this to bug-autoconf@gnu.org. ##
28866 ## ------------------------------------ ##
28867 _ASBOX
28868 ) |
28869 sed "s/^/$as_me: WARNING: /" >&2
28870 ;;
28871 no:yes )
28872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28877 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28878 (
28879 cat <<\_ASBOX
28880 ## ------------------------------------ ##
28881 ## Report this to bug-autoconf@gnu.org. ##
28882 ## ------------------------------------ ##
28883 _ASBOX
28884 ) |
28885 sed "s/^/$as_me: WARNING: /" >&2
28886 ;;
28887 esac
28888 echo "$as_me:$LINENO: checking for $ac_header" >&5
28889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28891 echo $ECHO_N "(cached) $ECHO_C" >&6
28892 else
28893 eval "$as_ac_Header=$ac_header_preproc"
28894 fi
28895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28897
28898 fi
28899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28900 cat >>confdefs.h <<_ACEOF
28901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28902 _ACEOF
28903
28904 EXTRALIBS_ESD="-lesd"
28905
28906 fi
28907
28908 done
28909
28910
28911 fi
28912
28913
28914
28915
28916
28917 cat >confcache <<\_ACEOF
28918 # This file is a shell script that caches the results of configure
28919 # tests run on this system so they can be shared between configure
28920 # scripts and configure runs, see configure's option --config-cache.
28921 # It is not useful on other systems. If it contains results you don't
28922 # want to keep, you may remove or edit it.
28923 #
28924 # config.status only pays attention to the cache file if you give it
28925 # the --recheck option to rerun configure.
28926 #
28927 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28928 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28929 # following values.
28930
28931 _ACEOF
28932
28933 # The following way of writing the cache mishandles newlines in values,
28934 # but we know of no workaround that is simple, portable, and efficient.
28935 # So, don't put newlines in cache variables' values.
28936 # Ultrix sh set writes to stderr and can't be redirected directly,
28937 # and sets the high bit in the cache file unless we assign to the vars.
28938 {
28939 (set) 2>&1 |
28940 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28941 *ac_space=\ *)
28942 # `set' does not quote correctly, so add quotes (double-quote
28943 # substitution turns \\\\ into \\, and sed turns \\ into \).
28944 sed -n \
28945 "s/'/'\\\\''/g;
28946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28947 ;;
28948 *)
28949 # `set' quotes correctly as required by POSIX, so do not add quotes.
28950 sed -n \
28951 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28952 ;;
28953 esac;
28954 } |
28955 sed '
28956 t clear
28957 : clear
28958 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28959 t end
28960 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28961 : end' >>confcache
28962 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28963 if test -w $cache_file; then
28964 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28965 cat confcache >$cache_file
28966 else
28967 echo "not updating unwritable cache $cache_file"
28968 fi
28969 fi
28970 rm -f confcache
28971
28972
28973 CPP_MT_FLAG=
28974 if test "$TOOLKIT" != "MSW"; then
28975
28976
28977 THREADS_LINK=
28978 THREADS_CFLAGS=
28979
28980 if test "$wxUSE_THREADS" = "yes" ; then
28981 if test "$USE_BEOS" = 1; then
28982 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28983 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28984 wxUSE_THREADS="no"
28985 fi
28986 fi
28987
28988 if test "$wxUSE_THREADS" = "yes" ; then
28989
28990
28991 THREAD_OPTS="-pthread"
28992 case "${host}" in
28993 *-*-solaris2* | *-*-sunos4* )
28994 if test "x$GCC" = "xyes"; then
28995 THREAD_OPTS="-pthreads $THREAD_OPTS"
28996 else
28997 THREAD_OPTS="-mt $THREAD_OPTS"
28998 fi
28999 ;;
29000 *-*-freebsd*)
29001 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29002 ;;
29003 *-*-darwin* | *-*-cygwin* )
29004 THREAD_OPTS=""
29005 ;;
29006 *-*-aix*)
29007 THREAD_OPTS="pthreads"
29008 ;;
29009 *-hp-hpux* )
29010 if test "x$GCC" != "xyes"; then
29011 THREAD_OPTS=""
29012 fi
29013 ;;
29014
29015 *-*-irix* )
29016 if test "x$GCC" = "xyes"; then
29017 THREAD_OPTS=""
29018 fi
29019 ;;
29020
29021 *-*-*UnixWare*)
29022 if test "x$GCC" != "xyes"; then
29023 THREAD_OPTS="-Ethread"
29024 fi
29025 ;;
29026 esac
29027
29028 THREAD_OPTS="$THREAD_OPTS pthread none"
29029
29030 THREADS_OK=no
29031 for flag in $THREAD_OPTS; do
29032 case $flag in
29033 none)
29034 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29035 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29036 ;;
29037
29038 -*)
29039 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29040 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29041 THREADS_CFLAGS="$flag"
29042 ;;
29043
29044 *)
29045 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29046 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29047 THREADS_LINK="-l$flag"
29048 ;;
29049 esac
29050
29051 save_LIBS="$LIBS"
29052 save_CFLAGS="$CFLAGS"
29053 LIBS="$THREADS_LINK $LIBS"
29054 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29055
29056 cat >conftest.$ac_ext <<_ACEOF
29057 #line $LINENO "configure"
29058 /* confdefs.h. */
29059 _ACEOF
29060 cat confdefs.h >>conftest.$ac_ext
29061 cat >>conftest.$ac_ext <<_ACEOF
29062 /* end confdefs.h. */
29063 #include <pthread.h>
29064 int
29065 main ()
29066 {
29067 pthread_create(0,0,0,0);
29068 ;
29069 return 0;
29070 }
29071 _ACEOF
29072 rm -f conftest.$ac_objext conftest$ac_exeext
29073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29074 (eval $ac_link) 2>&5
29075 ac_status=$?
29076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29077 (exit $ac_status); } &&
29078 { ac_try='test -s conftest$ac_exeext'
29079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29080 (eval $ac_try) 2>&5
29081 ac_status=$?
29082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083 (exit $ac_status); }; }; then
29084 THREADS_OK=yes
29085 else
29086 echo "$as_me: failed program was:" >&5
29087 sed 's/^/| /' conftest.$ac_ext >&5
29088
29089 fi
29090 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29091
29092 LIBS="$save_LIBS"
29093 CFLAGS="$save_CFLAGS"
29094
29095 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29096 echo "${ECHO_T}$THREADS_OK" >&6
29097 if test "x$THREADS_OK" = "xyes"; then
29098 break;
29099 fi
29100
29101 THREADS_LINK=""
29102 THREADS_CFLAGS=""
29103 done
29104
29105 if test "x$THREADS_OK" != "xyes"; then
29106 wxUSE_THREADS=no
29107 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29108 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29109 else
29110 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29111 LIBS="$THREADS_LINK $LIBS"
29112
29113 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29114 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29115 flag=no
29116 case "${host}" in
29117 *-aix*)
29118 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29119 flag="-D_THREAD_SAFE"
29120 ;;
29121 *-freebsd*)
29122 flag="-D_THREAD_SAFE"
29123 ;;
29124 *-hp-hpux* )
29125 flag="-D_REENTRANT"
29126 if test "x$GCC" != "xyes"; then
29127 flag="$flag -D_RWSTD_MULTI_THREAD"
29128 fi
29129 ;;
29130 *solaris* | alpha*-osf*)
29131 flag="-D_REENTRANT"
29132 ;;
29133 esac
29134 echo "$as_me:$LINENO: result: ${flag}" >&5
29135 echo "${ECHO_T}${flag}" >&6
29136 if test "x$flag" != xno; then
29137 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29138 fi
29139
29140 if test "x$THREADS_CFLAGS" != "x"; then
29141 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29142 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29143 fi
29144 fi
29145 fi
29146
29147 if test "$wxUSE_THREADS" = "yes" ; then
29148
29149 for ac_func in thr_setconcurrency
29150 do
29151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29152 echo "$as_me:$LINENO: checking for $ac_func" >&5
29153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29154 if eval "test \"\${$as_ac_var+set}\" = set"; then
29155 echo $ECHO_N "(cached) $ECHO_C" >&6
29156 else
29157 cat >conftest.$ac_ext <<_ACEOF
29158 #line $LINENO "configure"
29159 /* confdefs.h. */
29160 _ACEOF
29161 cat confdefs.h >>conftest.$ac_ext
29162 cat >>conftest.$ac_ext <<_ACEOF
29163 /* end confdefs.h. */
29164 /* System header to define __stub macros and hopefully few prototypes,
29165 which can conflict with char $ac_func (); below.
29166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29167 <limits.h> exists even on freestanding compilers. */
29168 #ifdef __STDC__
29169 # include <limits.h>
29170 #else
29171 # include <assert.h>
29172 #endif
29173 /* Override any gcc2 internal prototype to avoid an error. */
29174 #ifdef __cplusplus
29175 extern "C"
29176 {
29177 #endif
29178 /* We use char because int might match the return type of a gcc2
29179 builtin and then its argument prototype would still apply. */
29180 char $ac_func ();
29181 /* The GNU C library defines this for functions which it implements
29182 to always fail with ENOSYS. Some functions are actually named
29183 something starting with __ and the normal name is an alias. */
29184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29185 choke me
29186 #else
29187 char (*f) () = $ac_func;
29188 #endif
29189 #ifdef __cplusplus
29190 }
29191 #endif
29192
29193 int
29194 main ()
29195 {
29196 return f != $ac_func;
29197 ;
29198 return 0;
29199 }
29200 _ACEOF
29201 rm -f conftest.$ac_objext conftest$ac_exeext
29202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29203 (eval $ac_link) 2>&5
29204 ac_status=$?
29205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29206 (exit $ac_status); } &&
29207 { ac_try='test -s conftest$ac_exeext'
29208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29209 (eval $ac_try) 2>&5
29210 ac_status=$?
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); }; }; then
29213 eval "$as_ac_var=yes"
29214 else
29215 echo "$as_me: failed program was:" >&5
29216 sed 's/^/| /' conftest.$ac_ext >&5
29217
29218 eval "$as_ac_var=no"
29219 fi
29220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29221 fi
29222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29224 if test `eval echo '${'$as_ac_var'}'` = yes; then
29225 cat >>confdefs.h <<_ACEOF
29226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29227 _ACEOF
29228
29229 fi
29230 done
29231
29232
29233
29234 for ac_header in sched.h
29235 do
29236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29238 echo "$as_me:$LINENO: checking for $ac_header" >&5
29239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29241 echo $ECHO_N "(cached) $ECHO_C" >&6
29242 fi
29243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29245 else
29246 # Is the header compilable?
29247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29249 cat >conftest.$ac_ext <<_ACEOF
29250 #line $LINENO "configure"
29251 /* confdefs.h. */
29252 _ACEOF
29253 cat confdefs.h >>conftest.$ac_ext
29254 cat >>conftest.$ac_ext <<_ACEOF
29255 /* end confdefs.h. */
29256 $ac_includes_default
29257 #include <$ac_header>
29258 _ACEOF
29259 rm -f conftest.$ac_objext
29260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29261 (eval $ac_compile) 2>&5
29262 ac_status=$?
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); } &&
29265 { ac_try='test -s conftest.$ac_objext'
29266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29267 (eval $ac_try) 2>&5
29268 ac_status=$?
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); }; }; then
29271 ac_header_compiler=yes
29272 else
29273 echo "$as_me: failed program was:" >&5
29274 sed 's/^/| /' conftest.$ac_ext >&5
29275
29276 ac_header_compiler=no
29277 fi
29278 rm -f conftest.$ac_objext conftest.$ac_ext
29279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29280 echo "${ECHO_T}$ac_header_compiler" >&6
29281
29282 # Is the header present?
29283 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29284 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29285 cat >conftest.$ac_ext <<_ACEOF
29286 #line $LINENO "configure"
29287 /* confdefs.h. */
29288 _ACEOF
29289 cat confdefs.h >>conftest.$ac_ext
29290 cat >>conftest.$ac_ext <<_ACEOF
29291 /* end confdefs.h. */
29292 #include <$ac_header>
29293 _ACEOF
29294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29296 ac_status=$?
29297 grep -v '^ *+' conftest.er1 >conftest.err
29298 rm -f conftest.er1
29299 cat conftest.err >&5
29300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29301 (exit $ac_status); } >/dev/null; then
29302 if test -s conftest.err; then
29303 ac_cpp_err=$ac_c_preproc_warn_flag
29304 else
29305 ac_cpp_err=
29306 fi
29307 else
29308 ac_cpp_err=yes
29309 fi
29310 if test -z "$ac_cpp_err"; then
29311 ac_header_preproc=yes
29312 else
29313 echo "$as_me: failed program was:" >&5
29314 sed 's/^/| /' conftest.$ac_ext >&5
29315
29316 ac_header_preproc=no
29317 fi
29318 rm -f conftest.err conftest.$ac_ext
29319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29320 echo "${ECHO_T}$ac_header_preproc" >&6
29321
29322 # So? What about this header?
29323 case $ac_header_compiler:$ac_header_preproc in
29324 yes:no )
29325 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29326 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29329 (
29330 cat <<\_ASBOX
29331 ## ------------------------------------ ##
29332 ## Report this to bug-autoconf@gnu.org. ##
29333 ## ------------------------------------ ##
29334 _ASBOX
29335 ) |
29336 sed "s/^/$as_me: WARNING: /" >&2
29337 ;;
29338 no:yes )
29339 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29340 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29341 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29342 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29345 (
29346 cat <<\_ASBOX
29347 ## ------------------------------------ ##
29348 ## Report this to bug-autoconf@gnu.org. ##
29349 ## ------------------------------------ ##
29350 _ASBOX
29351 ) |
29352 sed "s/^/$as_me: WARNING: /" >&2
29353 ;;
29354 esac
29355 echo "$as_me:$LINENO: checking for $ac_header" >&5
29356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29358 echo $ECHO_N "(cached) $ECHO_C" >&6
29359 else
29360 eval "$as_ac_Header=$ac_header_preproc"
29361 fi
29362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29364
29365 fi
29366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29367 cat >>confdefs.h <<_ACEOF
29368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29369 _ACEOF
29370
29371 fi
29372
29373 done
29374
29375 if test "$ac_cv_header_sched_h" = "yes"; then
29376 echo "$as_me:$LINENO: checking for sched_yield" >&5
29377 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29378 if test "${ac_cv_func_sched_yield+set}" = set; then
29379 echo $ECHO_N "(cached) $ECHO_C" >&6
29380 else
29381 cat >conftest.$ac_ext <<_ACEOF
29382 #line $LINENO "configure"
29383 /* confdefs.h. */
29384 _ACEOF
29385 cat confdefs.h >>conftest.$ac_ext
29386 cat >>conftest.$ac_ext <<_ACEOF
29387 /* end confdefs.h. */
29388 /* System header to define __stub macros and hopefully few prototypes,
29389 which can conflict with char sched_yield (); below.
29390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29391 <limits.h> exists even on freestanding compilers. */
29392 #ifdef __STDC__
29393 # include <limits.h>
29394 #else
29395 # include <assert.h>
29396 #endif
29397 /* Override any gcc2 internal prototype to avoid an error. */
29398 #ifdef __cplusplus
29399 extern "C"
29400 {
29401 #endif
29402 /* We use char because int might match the return type of a gcc2
29403 builtin and then its argument prototype would still apply. */
29404 char sched_yield ();
29405 /* The GNU C library defines this for functions which it implements
29406 to always fail with ENOSYS. Some functions are actually named
29407 something starting with __ and the normal name is an alias. */
29408 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29409 choke me
29410 #else
29411 char (*f) () = sched_yield;
29412 #endif
29413 #ifdef __cplusplus
29414 }
29415 #endif
29416
29417 int
29418 main ()
29419 {
29420 return f != sched_yield;
29421 ;
29422 return 0;
29423 }
29424 _ACEOF
29425 rm -f conftest.$ac_objext conftest$ac_exeext
29426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29427 (eval $ac_link) 2>&5
29428 ac_status=$?
29429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29430 (exit $ac_status); } &&
29431 { ac_try='test -s conftest$ac_exeext'
29432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29433 (eval $ac_try) 2>&5
29434 ac_status=$?
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); }; }; then
29437 ac_cv_func_sched_yield=yes
29438 else
29439 echo "$as_me: failed program was:" >&5
29440 sed 's/^/| /' conftest.$ac_ext >&5
29441
29442 ac_cv_func_sched_yield=no
29443 fi
29444 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29445 fi
29446 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29447 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29448 if test $ac_cv_func_sched_yield = yes; then
29449 cat >>confdefs.h <<\_ACEOF
29450 #define HAVE_SCHED_YIELD 1
29451 _ACEOF
29452
29453 else
29454
29455 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29456 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29457 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29458 echo $ECHO_N "(cached) $ECHO_C" >&6
29459 else
29460 ac_check_lib_save_LIBS=$LIBS
29461 LIBS="-lposix4 $LIBS"
29462 cat >conftest.$ac_ext <<_ACEOF
29463 #line $LINENO "configure"
29464 /* confdefs.h. */
29465 _ACEOF
29466 cat confdefs.h >>conftest.$ac_ext
29467 cat >>conftest.$ac_ext <<_ACEOF
29468 /* end confdefs.h. */
29469
29470 /* Override any gcc2 internal prototype to avoid an error. */
29471 #ifdef __cplusplus
29472 extern "C"
29473 #endif
29474 /* We use char because int might match the return type of a gcc2
29475 builtin and then its argument prototype would still apply. */
29476 char sched_yield ();
29477 int
29478 main ()
29479 {
29480 sched_yield ();
29481 ;
29482 return 0;
29483 }
29484 _ACEOF
29485 rm -f conftest.$ac_objext conftest$ac_exeext
29486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29487 (eval $ac_link) 2>&5
29488 ac_status=$?
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); } &&
29491 { ac_try='test -s conftest$ac_exeext'
29492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29493 (eval $ac_try) 2>&5
29494 ac_status=$?
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); }; }; then
29497 ac_cv_lib_posix4_sched_yield=yes
29498 else
29499 echo "$as_me: failed program was:" >&5
29500 sed 's/^/| /' conftest.$ac_ext >&5
29501
29502 ac_cv_lib_posix4_sched_yield=no
29503 fi
29504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29505 LIBS=$ac_check_lib_save_LIBS
29506 fi
29507 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29508 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29509 if test $ac_cv_lib_posix4_sched_yield = yes; then
29510 cat >>confdefs.h <<\_ACEOF
29511 #define HAVE_SCHED_YIELD 1
29512 _ACEOF
29513 POSIX4_LINK=" -lposix4"
29514 else
29515 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29516 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29517
29518 fi
29519
29520
29521
29522 fi
29523
29524 fi
29525
29526 HAVE_PRIOR_FUNCS=0
29527 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29528 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29529 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29530 echo $ECHO_N "(cached) $ECHO_C" >&6
29531 else
29532 cat >conftest.$ac_ext <<_ACEOF
29533 #line $LINENO "configure"
29534 /* confdefs.h. */
29535 _ACEOF
29536 cat confdefs.h >>conftest.$ac_ext
29537 cat >>conftest.$ac_ext <<_ACEOF
29538 /* end confdefs.h. */
29539 /* System header to define __stub macros and hopefully few prototypes,
29540 which can conflict with char pthread_attr_getschedpolicy (); below.
29541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29542 <limits.h> exists even on freestanding compilers. */
29543 #ifdef __STDC__
29544 # include <limits.h>
29545 #else
29546 # include <assert.h>
29547 #endif
29548 /* Override any gcc2 internal prototype to avoid an error. */
29549 #ifdef __cplusplus
29550 extern "C"
29551 {
29552 #endif
29553 /* We use char because int might match the return type of a gcc2
29554 builtin and then its argument prototype would still apply. */
29555 char pthread_attr_getschedpolicy ();
29556 /* The GNU C library defines this for functions which it implements
29557 to always fail with ENOSYS. Some functions are actually named
29558 something starting with __ and the normal name is an alias. */
29559 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29560 choke me
29561 #else
29562 char (*f) () = pthread_attr_getschedpolicy;
29563 #endif
29564 #ifdef __cplusplus
29565 }
29566 #endif
29567
29568 int
29569 main ()
29570 {
29571 return f != pthread_attr_getschedpolicy;
29572 ;
29573 return 0;
29574 }
29575 _ACEOF
29576 rm -f conftest.$ac_objext conftest$ac_exeext
29577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29578 (eval $ac_link) 2>&5
29579 ac_status=$?
29580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29581 (exit $ac_status); } &&
29582 { ac_try='test -s conftest$ac_exeext'
29583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29584 (eval $ac_try) 2>&5
29585 ac_status=$?
29586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29587 (exit $ac_status); }; }; then
29588 ac_cv_func_pthread_attr_getschedpolicy=yes
29589 else
29590 echo "$as_me: failed program was:" >&5
29591 sed 's/^/| /' conftest.$ac_ext >&5
29592
29593 ac_cv_func_pthread_attr_getschedpolicy=no
29594 fi
29595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29596 fi
29597 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29598 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29599 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29600 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29601 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29602 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29603 echo $ECHO_N "(cached) $ECHO_C" >&6
29604 else
29605 cat >conftest.$ac_ext <<_ACEOF
29606 #line $LINENO "configure"
29607 /* confdefs.h. */
29608 _ACEOF
29609 cat confdefs.h >>conftest.$ac_ext
29610 cat >>conftest.$ac_ext <<_ACEOF
29611 /* end confdefs.h. */
29612 /* System header to define __stub macros and hopefully few prototypes,
29613 which can conflict with char pthread_attr_setschedparam (); below.
29614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29615 <limits.h> exists even on freestanding compilers. */
29616 #ifdef __STDC__
29617 # include <limits.h>
29618 #else
29619 # include <assert.h>
29620 #endif
29621 /* Override any gcc2 internal prototype to avoid an error. */
29622 #ifdef __cplusplus
29623 extern "C"
29624 {
29625 #endif
29626 /* We use char because int might match the return type of a gcc2
29627 builtin and then its argument prototype would still apply. */
29628 char pthread_attr_setschedparam ();
29629 /* The GNU C library defines this for functions which it implements
29630 to always fail with ENOSYS. Some functions are actually named
29631 something starting with __ and the normal name is an alias. */
29632 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29633 choke me
29634 #else
29635 char (*f) () = pthread_attr_setschedparam;
29636 #endif
29637 #ifdef __cplusplus
29638 }
29639 #endif
29640
29641 int
29642 main ()
29643 {
29644 return f != pthread_attr_setschedparam;
29645 ;
29646 return 0;
29647 }
29648 _ACEOF
29649 rm -f conftest.$ac_objext conftest$ac_exeext
29650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29651 (eval $ac_link) 2>&5
29652 ac_status=$?
29653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29654 (exit $ac_status); } &&
29655 { ac_try='test -s conftest$ac_exeext'
29656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29657 (eval $ac_try) 2>&5
29658 ac_status=$?
29659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29660 (exit $ac_status); }; }; then
29661 ac_cv_func_pthread_attr_setschedparam=yes
29662 else
29663 echo "$as_me: failed program was:" >&5
29664 sed 's/^/| /' conftest.$ac_ext >&5
29665
29666 ac_cv_func_pthread_attr_setschedparam=no
29667 fi
29668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29669 fi
29670 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29671 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29672 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29673 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29674 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29675 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29676 echo $ECHO_N "(cached) $ECHO_C" >&6
29677 else
29678 cat >conftest.$ac_ext <<_ACEOF
29679 #line $LINENO "configure"
29680 /* confdefs.h. */
29681 _ACEOF
29682 cat confdefs.h >>conftest.$ac_ext
29683 cat >>conftest.$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29685 /* System header to define __stub macros and hopefully few prototypes,
29686 which can conflict with char sched_get_priority_max (); below.
29687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29688 <limits.h> exists even on freestanding compilers. */
29689 #ifdef __STDC__
29690 # include <limits.h>
29691 #else
29692 # include <assert.h>
29693 #endif
29694 /* Override any gcc2 internal prototype to avoid an error. */
29695 #ifdef __cplusplus
29696 extern "C"
29697 {
29698 #endif
29699 /* We use char because int might match the return type of a gcc2
29700 builtin and then its argument prototype would still apply. */
29701 char sched_get_priority_max ();
29702 /* The GNU C library defines this for functions which it implements
29703 to always fail with ENOSYS. Some functions are actually named
29704 something starting with __ and the normal name is an alias. */
29705 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29706 choke me
29707 #else
29708 char (*f) () = sched_get_priority_max;
29709 #endif
29710 #ifdef __cplusplus
29711 }
29712 #endif
29713
29714 int
29715 main ()
29716 {
29717 return f != sched_get_priority_max;
29718 ;
29719 return 0;
29720 }
29721 _ACEOF
29722 rm -f conftest.$ac_objext conftest$ac_exeext
29723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29724 (eval $ac_link) 2>&5
29725 ac_status=$?
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); } &&
29728 { ac_try='test -s conftest$ac_exeext'
29729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29730 (eval $ac_try) 2>&5
29731 ac_status=$?
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); }; }; then
29734 ac_cv_func_sched_get_priority_max=yes
29735 else
29736 echo "$as_me: failed program was:" >&5
29737 sed 's/^/| /' conftest.$ac_ext >&5
29738
29739 ac_cv_func_sched_get_priority_max=no
29740 fi
29741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29742 fi
29743 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29744 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29745 if test $ac_cv_func_sched_get_priority_max = yes; then
29746 HAVE_PRIOR_FUNCS=1
29747 else
29748 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29749 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29750 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29751 echo $ECHO_N "(cached) $ECHO_C" >&6
29752 else
29753 ac_check_lib_save_LIBS=$LIBS
29754 LIBS="-lposix4 $LIBS"
29755 cat >conftest.$ac_ext <<_ACEOF
29756 #line $LINENO "configure"
29757 /* confdefs.h. */
29758 _ACEOF
29759 cat confdefs.h >>conftest.$ac_ext
29760 cat >>conftest.$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29762
29763 /* Override any gcc2 internal prototype to avoid an error. */
29764 #ifdef __cplusplus
29765 extern "C"
29766 #endif
29767 /* We use char because int might match the return type of a gcc2
29768 builtin and then its argument prototype would still apply. */
29769 char sched_get_priority_max ();
29770 int
29771 main ()
29772 {
29773 sched_get_priority_max ();
29774 ;
29775 return 0;
29776 }
29777 _ACEOF
29778 rm -f conftest.$ac_objext conftest$ac_exeext
29779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29780 (eval $ac_link) 2>&5
29781 ac_status=$?
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } &&
29784 { ac_try='test -s conftest$ac_exeext'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29787 ac_status=$?
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; }; then
29790 ac_cv_lib_posix4_sched_get_priority_max=yes
29791 else
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.$ac_ext >&5
29794
29795 ac_cv_lib_posix4_sched_get_priority_max=no
29796 fi
29797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29798 LIBS=$ac_check_lib_save_LIBS
29799 fi
29800 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29801 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29802 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29803
29804 HAVE_PRIOR_FUNCS=1
29805 POSIX4_LINK=" -lposix4"
29806
29807 fi
29808
29809
29810 fi
29811
29812
29813 fi
29814
29815
29816 fi
29817
29818
29819 if test "$HAVE_PRIOR_FUNCS" = 1; then
29820 cat >>confdefs.h <<\_ACEOF
29821 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29822 _ACEOF
29823
29824 else
29825 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29826 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29827 fi
29828
29829 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29830 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29831 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29832 echo $ECHO_N "(cached) $ECHO_C" >&6
29833 else
29834 cat >conftest.$ac_ext <<_ACEOF
29835 #line $LINENO "configure"
29836 /* confdefs.h. */
29837 _ACEOF
29838 cat confdefs.h >>conftest.$ac_ext
29839 cat >>conftest.$ac_ext <<_ACEOF
29840 /* end confdefs.h. */
29841 /* System header to define __stub macros and hopefully few prototypes,
29842 which can conflict with char pthread_cancel (); below.
29843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29844 <limits.h> exists even on freestanding compilers. */
29845 #ifdef __STDC__
29846 # include <limits.h>
29847 #else
29848 # include <assert.h>
29849 #endif
29850 /* Override any gcc2 internal prototype to avoid an error. */
29851 #ifdef __cplusplus
29852 extern "C"
29853 {
29854 #endif
29855 /* We use char because int might match the return type of a gcc2
29856 builtin and then its argument prototype would still apply. */
29857 char pthread_cancel ();
29858 /* The GNU C library defines this for functions which it implements
29859 to always fail with ENOSYS. Some functions are actually named
29860 something starting with __ and the normal name is an alias. */
29861 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29862 choke me
29863 #else
29864 char (*f) () = pthread_cancel;
29865 #endif
29866 #ifdef __cplusplus
29867 }
29868 #endif
29869
29870 int
29871 main ()
29872 {
29873 return f != pthread_cancel;
29874 ;
29875 return 0;
29876 }
29877 _ACEOF
29878 rm -f conftest.$ac_objext conftest$ac_exeext
29879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29880 (eval $ac_link) 2>&5
29881 ac_status=$?
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); } &&
29884 { ac_try='test -s conftest$ac_exeext'
29885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29886 (eval $ac_try) 2>&5
29887 ac_status=$?
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; }; then
29890 ac_cv_func_pthread_cancel=yes
29891 else
29892 echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.$ac_ext >&5
29894
29895 ac_cv_func_pthread_cancel=no
29896 fi
29897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29898 fi
29899 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29900 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29901 if test $ac_cv_func_pthread_cancel = yes; then
29902 cat >>confdefs.h <<\_ACEOF
29903 #define HAVE_PTHREAD_CANCEL 1
29904 _ACEOF
29905
29906 else
29907 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29908 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29909 fi
29910
29911
29912 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29913 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29914 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29915 echo $ECHO_N "(cached) $ECHO_C" >&6
29916 else
29917
29918 cat >conftest.$ac_ext <<_ACEOF
29919 #line $LINENO "configure"
29920 /* confdefs.h. */
29921 _ACEOF
29922 cat confdefs.h >>conftest.$ac_ext
29923 cat >>conftest.$ac_ext <<_ACEOF
29924 /* end confdefs.h. */
29925 #include <pthread.h>
29926 int
29927 main ()
29928 {
29929
29930 pthread_cleanup_push(NULL, NULL);
29931 pthread_cleanup_pop(0);
29932
29933 ;
29934 return 0;
29935 }
29936 _ACEOF
29937 rm -f conftest.$ac_objext
29938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29939 (eval $ac_compile) 2>&5
29940 ac_status=$?
29941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29942 (exit $ac_status); } &&
29943 { ac_try='test -s conftest.$ac_objext'
29944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29945 (eval $ac_try) 2>&5
29946 ac_status=$?
29947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29948 (exit $ac_status); }; }; then
29949
29950 wx_cv_func_pthread_cleanup_push=yes
29951
29952 else
29953 echo "$as_me: failed program was:" >&5
29954 sed 's/^/| /' conftest.$ac_ext >&5
29955
29956
29957 wx_cv_func_pthread_cleanup_push=no
29958
29959 fi
29960 rm -f conftest.$ac_objext conftest.$ac_ext
29961
29962 fi
29963 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29964 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29965
29966 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29967 cat >>confdefs.h <<\_ACEOF
29968 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29969 _ACEOF
29970
29971 fi
29972
29973
29974 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29975 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29976 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29977 echo $ECHO_N "(cached) $ECHO_C" >&6
29978 else
29979
29980 cat >conftest.$ac_ext <<_ACEOF
29981 #line $LINENO "configure"
29982 /* confdefs.h. */
29983 _ACEOF
29984 cat confdefs.h >>conftest.$ac_ext
29985 cat >>conftest.$ac_ext <<_ACEOF
29986 /* end confdefs.h. */
29987 #include <pthread.h>
29988 int
29989 main ()
29990 {
29991
29992 pthread_mutexattr_t attr;
29993 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29994
29995 ;
29996 return 0;
29997 }
29998 _ACEOF
29999 rm -f conftest.$ac_objext
30000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30001 (eval $ac_compile) 2>&5
30002 ac_status=$?
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); } &&
30005 { ac_try='test -s conftest.$ac_objext'
30006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30007 (eval $ac_try) 2>&5
30008 ac_status=$?
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); }; }; then
30011
30012 wx_cv_type_pthread_mutexattr_t=yes
30013
30014 else
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.$ac_ext >&5
30017
30018
30019 wx_cv_type_pthread_mutexattr_t=no
30020
30021
30022 fi
30023 rm -f conftest.$ac_objext conftest.$ac_ext
30024
30025 fi
30026 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30027 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30028
30029 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30030 cat >>confdefs.h <<\_ACEOF
30031 #define HAVE_PTHREAD_MUTEXATTR_T 1
30032 _ACEOF
30033
30034 else
30035 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30036 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30037 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30038 echo $ECHO_N "(cached) $ECHO_C" >&6
30039 else
30040
30041 cat >conftest.$ac_ext <<_ACEOF
30042 #line $LINENO "configure"
30043 /* confdefs.h. */
30044 _ACEOF
30045 cat confdefs.h >>conftest.$ac_ext
30046 cat >>conftest.$ac_ext <<_ACEOF
30047 /* end confdefs.h. */
30048 #include <pthread.h>
30049 int
30050 main ()
30051 {
30052
30053 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30054
30055 ;
30056 return 0;
30057 }
30058 _ACEOF
30059 rm -f conftest.$ac_objext
30060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30061 (eval $ac_compile) 2>&5
30062 ac_status=$?
30063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064 (exit $ac_status); } &&
30065 { ac_try='test -s conftest.$ac_objext'
30066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30067 (eval $ac_try) 2>&5
30068 ac_status=$?
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); }; }; then
30071
30072 wx_cv_type_pthread_rec_mutex_init=yes
30073
30074 else
30075 echo "$as_me: failed program was:" >&5
30076 sed 's/^/| /' conftest.$ac_ext >&5
30077
30078
30079 wx_cv_type_pthread_rec_mutex_init=no
30080
30081
30082 fi
30083 rm -f conftest.$ac_objext conftest.$ac_ext
30084
30085 fi
30086 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30087 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30088 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30089 cat >>confdefs.h <<\_ACEOF
30090 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30091 _ACEOF
30092
30093 else
30094 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30095 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30096 fi
30097 fi
30098 fi
30099
30100 else
30101 if test "$wxUSE_THREADS" = "yes" ; then
30102 case "${host}" in
30103 *-*-mingw32* )
30104 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30105 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30106 if test "${wx_cv_cflags_mthread+set}" = set; then
30107 echo $ECHO_N "(cached) $ECHO_C" >&6
30108 else
30109
30110 CFLAGS_OLD="$CFLAGS"
30111 CFLAGS="$CFLAGS -mthreads"
30112 cat >conftest.$ac_ext <<_ACEOF
30113 #line $LINENO "configure"
30114 /* confdefs.h. */
30115 _ACEOF
30116 cat confdefs.h >>conftest.$ac_ext
30117 cat >>conftest.$ac_ext <<_ACEOF
30118 /* end confdefs.h. */
30119
30120 int
30121 main ()
30122 {
30123
30124 ;
30125 return 0;
30126 }
30127 _ACEOF
30128 rm -f conftest.$ac_objext
30129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30130 (eval $ac_compile) 2>&5
30131 ac_status=$?
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); } &&
30134 { ac_try='test -s conftest.$ac_objext'
30135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30136 (eval $ac_try) 2>&5
30137 ac_status=$?
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); }; }; then
30140 wx_cv_cflags_mthread=yes
30141 else
30142 echo "$as_me: failed program was:" >&5
30143 sed 's/^/| /' conftest.$ac_ext >&5
30144
30145 wx_cv_cflags_mthread=no
30146
30147 fi
30148 rm -f conftest.$ac_objext conftest.$ac_ext
30149
30150
30151 fi
30152 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30153 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30154
30155 if test "$wx_cv_cflags_mthread" = "yes"; then
30156 CXXFLAGS="$CXXFLAGS -mthreads"
30157 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30158 LDFLAGS="$LDFLAGS -mthreads"
30159 else
30160 CFLAGS="$CFLAGS_OLD"
30161 fi
30162 ;;
30163 esac
30164 fi
30165 fi
30166
30167 if test "$wxUSE_THREADS" = "yes"; then
30168 cat >>confdefs.h <<\_ACEOF
30169 #define wxUSE_THREADS 1
30170 _ACEOF
30171
30172
30173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30174 else
30175 if test "$ac_cv_func_strtok_r" = "yes"; then
30176 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30177 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30178 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30179 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30180 echo "$as_me:$LINENO: result: yes" >&5
30181 echo "${ECHO_T}yes" >&6
30182 else
30183 echo "$as_me:$LINENO: result: no" >&5
30184 echo "${ECHO_T}no" >&6
30185 fi
30186 fi
30187 fi
30188
30189 if test "$WXGTK20" = 1 ; then
30190 cat >>confdefs.h <<_ACEOF
30191 #define __WXGTK20__ $WXGTK20
30192 _ACEOF
30193
30194 WXGTK12=1
30195 fi
30196
30197 if test "$WXGTK12" = 1 ; then
30198 cat >>confdefs.h <<_ACEOF
30199 #define __WXGTK12__ $WXGTK12
30200 _ACEOF
30201
30202 fi
30203
30204 if test "$WXGTK127" = 1 ; then
30205 cat >>confdefs.h <<_ACEOF
30206 #define __WXGTK127__ $WXGTK127
30207 _ACEOF
30208
30209 fi
30210
30211 WXDEBUG=
30212
30213 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30214 WXDEBUG="-g"
30215 wxUSE_OPTIMISE=no
30216 fi
30217
30218 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30219 wxUSE_DEBUG_INFO=yes
30220 WXDEBUG="-ggdb"
30221 fi
30222
30223 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30224 cat >>confdefs.h <<\_ACEOF
30225 #define WXDEBUG 1
30226 _ACEOF
30227
30228 WXDEBUG_DEFINE="-D__WXDEBUG__"
30229 else
30230 if test "$wxUSE_GTK" = 1 ; then
30231 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30232 fi
30233 fi
30234
30235 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30236 cat >>confdefs.h <<\_ACEOF
30237 #define wxUSE_MEMORY_TRACING 1
30238 _ACEOF
30239
30240 cat >>confdefs.h <<\_ACEOF
30241 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30242 _ACEOF
30243
30244 cat >>confdefs.h <<\_ACEOF
30245 #define wxUSE_DEBUG_NEW_ALWAYS 1
30246 _ACEOF
30247
30248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30249 fi
30250
30251 if test "$wxUSE_DMALLOC" = "yes" ; then
30252 DMALLOC_LIBS="-ldmalloc"
30253 fi
30254
30255 PROFILE=
30256 if test "$wxUSE_PROFILE" = "yes" ; then
30257 PROFILE=" -pg"
30258 fi
30259
30260 CODE_GEN_FLAGS=
30261 CODE_GEN_FLAGS_CXX=
30262 if test "$GCC" = "yes" ; then
30263 if test "$wxUSE_NO_RTTI" = "yes" ; then
30264 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30265 fi
30266 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30267 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30268 fi
30269 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30270 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30271 fi
30272
30273 case "${host}" in
30274 powerpc*-*-aix* )
30275 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30276 ;;
30277 *-hppa* )
30278 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30279 ;;
30280 esac
30281 fi
30282
30283 OPTIMISE=
30284 if test "$wxUSE_OPTIMISE" = "no" ; then
30285 if test "$GCC" = yes ; then
30286 OPTIMISE="-O0"
30287 fi
30288 else
30289 if test "$GCC" = yes ; then
30290 OPTIMISE="-O2"
30291
30292 case "${host}" in
30293 i586-*-*|i686-*-* )
30294 OPTIMISE="${OPTIMISE} "
30295 ;;
30296 esac
30297 else
30298 OPTIMISE="-O"
30299 fi
30300 fi
30301
30302
30303 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
30304 cat >>confdefs.h <<\_ACEOF
30305 #define WXWIN_COMPATIBILITY_2 1
30306 _ACEOF
30307
30308
30309 WXWIN_COMPATIBILITY_2_2="yes"
30310 fi
30311
30312 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30313 cat >>confdefs.h <<\_ACEOF
30314 #define WXWIN_COMPATIBILITY_2_2 1
30315 _ACEOF
30316
30317
30318 WXWIN_COMPATIBILITY_2_4="yes"
30319 fi
30320
30321 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30322 cat >>confdefs.h <<\_ACEOF
30323 #define WXWIN_COMPATIBILITY_2_4 1
30324 _ACEOF
30325
30326 fi
30327
30328
30329 if test "$wxUSE_GUI" = "yes"; then
30330 cat >>confdefs.h <<\_ACEOF
30331 #define wxUSE_GUI 1
30332 _ACEOF
30333
30334
30335 else
30336 cat >>confdefs.h <<\_ACEOF
30337 #define wxUSE_NOGUI 1
30338 _ACEOF
30339
30340 fi
30341
30342
30343 if test "$wxUSE_UNIX" = "yes"; then
30344 cat >>confdefs.h <<\_ACEOF
30345 #define wxUSE_UNIX 1
30346 _ACEOF
30347
30348 fi
30349
30350
30351 if test "$wxUSE_STL" = "yes"; then
30352 cat >>confdefs.h <<\_ACEOF
30353 #define wxUSE_STL 1
30354 _ACEOF
30355
30356 fi
30357
30358 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30359 cat >>confdefs.h <<\_ACEOF
30360 #define wxUSE_APPLE_IEEE 1
30361 _ACEOF
30362
30363 fi
30364
30365 if test "$wxUSE_TIMER" = "yes"; then
30366 cat >>confdefs.h <<\_ACEOF
30367 #define wxUSE_TIMER 1
30368 _ACEOF
30369
30370 fi
30371
30372 if test "$wxUSE_WAVE" = "yes"; then
30373 cat >>confdefs.h <<\_ACEOF
30374 #define wxUSE_WAVE 1
30375 _ACEOF
30376
30377 fi
30378
30379 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30380 cat >>confdefs.h <<\_ACEOF
30381 #define wxUSE_CMDLINE_PARSER 1
30382 _ACEOF
30383
30384 fi
30385
30386 if test "$wxUSE_STOPWATCH" = "yes"; then
30387 cat >>confdefs.h <<\_ACEOF
30388 #define wxUSE_STOPWATCH 1
30389 _ACEOF
30390
30391 fi
30392
30393 if test "$wxUSE_DATETIME" = "yes"; then
30394 cat >>confdefs.h <<\_ACEOF
30395 #define wxUSE_DATETIME 1
30396 _ACEOF
30397
30398 fi
30399
30400 if test "$wxUSE_FILE" = "yes"; then
30401 cat >>confdefs.h <<\_ACEOF
30402 #define wxUSE_FILE 1
30403 _ACEOF
30404
30405 fi
30406
30407 if test "$wxUSE_FFILE" = "yes"; then
30408 cat >>confdefs.h <<\_ACEOF
30409 #define wxUSE_FFILE 1
30410 _ACEOF
30411
30412 fi
30413
30414 if test "$wxUSE_FILESYSTEM" = "yes"; then
30415 cat >>confdefs.h <<\_ACEOF
30416 #define wxUSE_FILESYSTEM 1
30417 _ACEOF
30418
30419 fi
30420
30421 if test "$wxUSE_FS_ZIP" = "yes"; then
30422 cat >>confdefs.h <<\_ACEOF
30423 #define wxUSE_FS_ZIP 1
30424 _ACEOF
30425
30426 fi
30427
30428 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30429 cat >>confdefs.h <<\_ACEOF
30430 #define wxUSE_ZIPSTREAM 1
30431 _ACEOF
30432
30433 fi
30434
30435 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30436 cat >>confdefs.h <<\_ACEOF
30437 #define wxUSE_ON_FATAL_EXCEPTION 1
30438 _ACEOF
30439
30440 fi
30441
30442 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30443 cat >>confdefs.h <<\_ACEOF
30444 #define wxUSE_SNGLINST_CHECKER 1
30445 _ACEOF
30446
30447 fi
30448
30449 if test "$wxUSE_BUSYINFO" = "yes"; then
30450 cat >>confdefs.h <<\_ACEOF
30451 #define wxUSE_BUSYINFO 1
30452 _ACEOF
30453
30454 fi
30455
30456 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30457 cat >>confdefs.h <<\_ACEOF
30458 #define wxUSE_STD_IOSTREAM 1
30459 _ACEOF
30460
30461 fi
30462
30463 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30464 cat >>confdefs.h <<\_ACEOF
30465 #define wxUSE_TEXTBUFFER 1
30466 _ACEOF
30467
30468 fi
30469
30470 if test "$wxUSE_TEXTFILE" = "yes"; then
30471 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30472 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30473 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30474 else
30475 cat >>confdefs.h <<\_ACEOF
30476 #define wxUSE_TEXTFILE 1
30477 _ACEOF
30478
30479 fi
30480 fi
30481
30482 if test "$wxUSE_CONFIG" = "yes" ; then
30483 if test "$wxUSE_TEXTFILE" != "yes"; then
30484 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30485 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30486 else
30487 cat >>confdefs.h <<\_ACEOF
30488 #define wxUSE_CONFIG 1
30489 _ACEOF
30490
30491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30492 fi
30493 fi
30494
30495 if test "$wxUSE_INTL" = "yes" ; then
30496 if test "$wxUSE_FILE" != "yes"; then
30497 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30498 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30499 else
30500 cat >>confdefs.h <<\_ACEOF
30501 #define wxUSE_INTL 1
30502 _ACEOF
30503
30504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30505 GUIDIST="$GUIDIST INTL_DIST"
30506 fi
30507 fi
30508
30509 if test "$wxUSE_LOG" = "yes"; then
30510 cat >>confdefs.h <<\_ACEOF
30511 #define wxUSE_LOG 1
30512 _ACEOF
30513
30514
30515 if test "$wxUSE_LOGGUI" = "yes"; then
30516 cat >>confdefs.h <<\_ACEOF
30517 #define wxUSE_LOGGUI 1
30518 _ACEOF
30519
30520 fi
30521
30522 if test "$wxUSE_LOGWINDOW" = "yes"; then
30523 cat >>confdefs.h <<\_ACEOF
30524 #define wxUSE_LOGWINDOW 1
30525 _ACEOF
30526
30527 fi
30528
30529 if test "$wxUSE_LOGDIALOG" = "yes"; then
30530 cat >>confdefs.h <<\_ACEOF
30531 #define wxUSE_LOG_DIALOG 1
30532 _ACEOF
30533
30534 fi
30535 fi
30536
30537 if test "$wxUSE_LONGLONG" = "yes"; then
30538 cat >>confdefs.h <<\_ACEOF
30539 #define wxUSE_LONGLONG 1
30540 _ACEOF
30541
30542 fi
30543
30544 if test "$wxUSE_GEOMETRY" = "yes"; then
30545 cat >>confdefs.h <<\_ACEOF
30546 #define wxUSE_GEOMETRY 1
30547 _ACEOF
30548
30549 fi
30550
30551 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30552 cat >>confdefs.h <<\_ACEOF
30553 #define wxUSE_DIALUP_MANAGER 1
30554 _ACEOF
30555
30556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30557 fi
30558
30559 if test "$wxUSE_STREAMS" = "yes" ; then
30560 cat >>confdefs.h <<\_ACEOF
30561 #define wxUSE_STREAMS 1
30562 _ACEOF
30563
30564 fi
30565
30566
30567 if test "$wxUSE_DATETIME" = "yes"; then
30568
30569 for ac_func in strptime
30570 do
30571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30572 echo "$as_me:$LINENO: checking for $ac_func" >&5
30573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30574 if eval "test \"\${$as_ac_var+set}\" = set"; then
30575 echo $ECHO_N "(cached) $ECHO_C" >&6
30576 else
30577 cat >conftest.$ac_ext <<_ACEOF
30578 #line $LINENO "configure"
30579 /* confdefs.h. */
30580 _ACEOF
30581 cat confdefs.h >>conftest.$ac_ext
30582 cat >>conftest.$ac_ext <<_ACEOF
30583 /* end confdefs.h. */
30584 /* System header to define __stub macros and hopefully few prototypes,
30585 which can conflict with char $ac_func (); below.
30586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30587 <limits.h> exists even on freestanding compilers. */
30588 #ifdef __STDC__
30589 # include <limits.h>
30590 #else
30591 # include <assert.h>
30592 #endif
30593 /* Override any gcc2 internal prototype to avoid an error. */
30594 #ifdef __cplusplus
30595 extern "C"
30596 {
30597 #endif
30598 /* We use char because int might match the return type of a gcc2
30599 builtin and then its argument prototype would still apply. */
30600 char $ac_func ();
30601 /* The GNU C library defines this for functions which it implements
30602 to always fail with ENOSYS. Some functions are actually named
30603 something starting with __ and the normal name is an alias. */
30604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30605 choke me
30606 #else
30607 char (*f) () = $ac_func;
30608 #endif
30609 #ifdef __cplusplus
30610 }
30611 #endif
30612
30613 int
30614 main ()
30615 {
30616 return f != $ac_func;
30617 ;
30618 return 0;
30619 }
30620 _ACEOF
30621 rm -f conftest.$ac_objext conftest$ac_exeext
30622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30623 (eval $ac_link) 2>&5
30624 ac_status=$?
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); } &&
30627 { ac_try='test -s conftest$ac_exeext'
30628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30629 (eval $ac_try) 2>&5
30630 ac_status=$?
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); }; }; then
30633 eval "$as_ac_var=yes"
30634 else
30635 echo "$as_me: failed program was:" >&5
30636 sed 's/^/| /' conftest.$ac_ext >&5
30637
30638 eval "$as_ac_var=no"
30639 fi
30640 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30641 fi
30642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30644 if test `eval echo '${'$as_ac_var'}'` = yes; then
30645 cat >>confdefs.h <<_ACEOF
30646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30647 _ACEOF
30648
30649 fi
30650 done
30651
30652
30653 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30654 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30655 if test "${wx_cv_var_timezone+set}" = set; then
30656 echo $ECHO_N "(cached) $ECHO_C" >&6
30657 else
30658
30659 cat >conftest.$ac_ext <<_ACEOF
30660 #line $LINENO "configure"
30661 /* confdefs.h. */
30662 _ACEOF
30663 cat confdefs.h >>conftest.$ac_ext
30664 cat >>conftest.$ac_ext <<_ACEOF
30665 /* end confdefs.h. */
30666
30667 #include <time.h>
30668
30669 int
30670 main ()
30671 {
30672
30673 int tz;
30674 tz = timezone;
30675
30676 ;
30677 return 0;
30678 }
30679 _ACEOF
30680 rm -f conftest.$ac_objext
30681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30682 (eval $ac_compile) 2>&5
30683 ac_status=$?
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); } &&
30686 { ac_try='test -s conftest.$ac_objext'
30687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30688 (eval $ac_try) 2>&5
30689 ac_status=$?
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); }; }; then
30692
30693 wx_cv_var_timezone=timezone
30694
30695 else
30696 echo "$as_me: failed program was:" >&5
30697 sed 's/^/| /' conftest.$ac_ext >&5
30698
30699
30700 cat >conftest.$ac_ext <<_ACEOF
30701 #line $LINENO "configure"
30702 /* confdefs.h. */
30703 _ACEOF
30704 cat confdefs.h >>conftest.$ac_ext
30705 cat >>conftest.$ac_ext <<_ACEOF
30706 /* end confdefs.h. */
30707
30708 #include <time.h>
30709
30710 int
30711 main ()
30712 {
30713
30714 int tz;
30715 tz = _timezone;
30716
30717 ;
30718 return 0;
30719 }
30720 _ACEOF
30721 rm -f conftest.$ac_objext
30722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30723 (eval $ac_compile) 2>&5
30724 ac_status=$?
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); } &&
30727 { ac_try='test -s conftest.$ac_objext'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30730 ac_status=$?
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; }; then
30733
30734 wx_cv_var_timezone=_timezone
30735
30736 else
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.$ac_ext >&5
30739
30740
30741 cat >conftest.$ac_ext <<_ACEOF
30742 #line $LINENO "configure"
30743 /* confdefs.h. */
30744 _ACEOF
30745 cat confdefs.h >>conftest.$ac_ext
30746 cat >>conftest.$ac_ext <<_ACEOF
30747 /* end confdefs.h. */
30748
30749 #include <time.h>
30750
30751 int
30752 main ()
30753 {
30754
30755 int tz;
30756 tz = __timezone;
30757
30758 ;
30759 return 0;
30760 }
30761 _ACEOF
30762 rm -f conftest.$ac_objext
30763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30764 (eval $ac_compile) 2>&5
30765 ac_status=$?
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } &&
30768 { ac_try='test -s conftest.$ac_objext'
30769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30770 (eval $ac_try) 2>&5
30771 ac_status=$?
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); }; }; then
30774
30775 wx_cv_var_timezone=__timezone
30776
30777 else
30778 echo "$as_me: failed program was:" >&5
30779 sed 's/^/| /' conftest.$ac_ext >&5
30780
30781
30782 if test "$USE_DOS" = 0 ; then
30783 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30784 echo "$as_me: WARNING: no timezone variable" >&2;}
30785 fi
30786
30787
30788 fi
30789 rm -f conftest.$ac_objext conftest.$ac_ext
30790
30791
30792 fi
30793 rm -f conftest.$ac_objext conftest.$ac_ext
30794
30795
30796 fi
30797 rm -f conftest.$ac_objext conftest.$ac_ext
30798
30799
30800 fi
30801 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30802 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30803
30804 if test "x$wx_cv_var_timezone" != x ; then
30805 cat >>confdefs.h <<_ACEOF
30806 #define WX_TIMEZONE $wx_cv_var_timezone
30807 _ACEOF
30808
30809 fi
30810
30811
30812 for ac_func in localtime
30813 do
30814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30815 echo "$as_me:$LINENO: checking for $ac_func" >&5
30816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30817 if eval "test \"\${$as_ac_var+set}\" = set"; then
30818 echo $ECHO_N "(cached) $ECHO_C" >&6
30819 else
30820 cat >conftest.$ac_ext <<_ACEOF
30821 #line $LINENO "configure"
30822 /* confdefs.h. */
30823 _ACEOF
30824 cat confdefs.h >>conftest.$ac_ext
30825 cat >>conftest.$ac_ext <<_ACEOF
30826 /* end confdefs.h. */
30827 /* System header to define __stub macros and hopefully few prototypes,
30828 which can conflict with char $ac_func (); below.
30829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30830 <limits.h> exists even on freestanding compilers. */
30831 #ifdef __STDC__
30832 # include <limits.h>
30833 #else
30834 # include <assert.h>
30835 #endif
30836 /* Override any gcc2 internal prototype to avoid an error. */
30837 #ifdef __cplusplus
30838 extern "C"
30839 {
30840 #endif
30841 /* We use char because int might match the return type of a gcc2
30842 builtin and then its argument prototype would still apply. */
30843 char $ac_func ();
30844 /* The GNU C library defines this for functions which it implements
30845 to always fail with ENOSYS. Some functions are actually named
30846 something starting with __ and the normal name is an alias. */
30847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30848 choke me
30849 #else
30850 char (*f) () = $ac_func;
30851 #endif
30852 #ifdef __cplusplus
30853 }
30854 #endif
30855
30856 int
30857 main ()
30858 {
30859 return f != $ac_func;
30860 ;
30861 return 0;
30862 }
30863 _ACEOF
30864 rm -f conftest.$ac_objext conftest$ac_exeext
30865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30866 (eval $ac_link) 2>&5
30867 ac_status=$?
30868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30869 (exit $ac_status); } &&
30870 { ac_try='test -s conftest$ac_exeext'
30871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30872 (eval $ac_try) 2>&5
30873 ac_status=$?
30874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30875 (exit $ac_status); }; }; then
30876 eval "$as_ac_var=yes"
30877 else
30878 echo "$as_me: failed program was:" >&5
30879 sed 's/^/| /' conftest.$ac_ext >&5
30880
30881 eval "$as_ac_var=no"
30882 fi
30883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30884 fi
30885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30887 if test `eval echo '${'$as_ac_var'}'` = yes; then
30888 cat >>confdefs.h <<_ACEOF
30889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30890 _ACEOF
30891
30892 fi
30893 done
30894
30895
30896 if test "$ac_cv_func_localtime" = "yes"; then
30897 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30898 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30899 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30900 echo $ECHO_N "(cached) $ECHO_C" >&6
30901 else
30902
30903 cat >conftest.$ac_ext <<_ACEOF
30904 #line $LINENO "configure"
30905 /* confdefs.h. */
30906 _ACEOF
30907 cat confdefs.h >>conftest.$ac_ext
30908 cat >>conftest.$ac_ext <<_ACEOF
30909 /* end confdefs.h. */
30910
30911 #include <time.h>
30912
30913 int
30914 main ()
30915 {
30916
30917 struct tm tm;
30918 tm.tm_gmtoff++;
30919
30920 ;
30921 return 0;
30922 }
30923 _ACEOF
30924 rm -f conftest.$ac_objext
30925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30926 (eval $ac_compile) 2>&5
30927 ac_status=$?
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); } &&
30930 { ac_try='test -s conftest.$ac_objext'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30933 ac_status=$?
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; }; then
30936
30937 wx_cv_struct_tm_has_gmtoff=yes
30938
30939 else
30940 echo "$as_me: failed program was:" >&5
30941 sed 's/^/| /' conftest.$ac_ext >&5
30942
30943 wx_cv_struct_tm_has_gmtoff=no
30944
30945 fi
30946 rm -f conftest.$ac_objext conftest.$ac_ext
30947
30948 fi
30949 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30950 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30951 fi
30952
30953 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30954 cat >>confdefs.h <<\_ACEOF
30955 #define WX_GMTOFF_IN_TM 1
30956 _ACEOF
30957
30958 fi
30959
30960
30961
30962 for ac_func in gettimeofday ftime
30963 do
30964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30965 echo "$as_me:$LINENO: checking for $ac_func" >&5
30966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30967 if eval "test \"\${$as_ac_var+set}\" = set"; then
30968 echo $ECHO_N "(cached) $ECHO_C" >&6
30969 else
30970 cat >conftest.$ac_ext <<_ACEOF
30971 #line $LINENO "configure"
30972 /* confdefs.h. */
30973 _ACEOF
30974 cat confdefs.h >>conftest.$ac_ext
30975 cat >>conftest.$ac_ext <<_ACEOF
30976 /* end confdefs.h. */
30977 /* System header to define __stub macros and hopefully few prototypes,
30978 which can conflict with char $ac_func (); below.
30979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30980 <limits.h> exists even on freestanding compilers. */
30981 #ifdef __STDC__
30982 # include <limits.h>
30983 #else
30984 # include <assert.h>
30985 #endif
30986 /* Override any gcc2 internal prototype to avoid an error. */
30987 #ifdef __cplusplus
30988 extern "C"
30989 {
30990 #endif
30991 /* We use char because int might match the return type of a gcc2
30992 builtin and then its argument prototype would still apply. */
30993 char $ac_func ();
30994 /* The GNU C library defines this for functions which it implements
30995 to always fail with ENOSYS. Some functions are actually named
30996 something starting with __ and the normal name is an alias. */
30997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30998 choke me
30999 #else
31000 char (*f) () = $ac_func;
31001 #endif
31002 #ifdef __cplusplus
31003 }
31004 #endif
31005
31006 int
31007 main ()
31008 {
31009 return f != $ac_func;
31010 ;
31011 return 0;
31012 }
31013 _ACEOF
31014 rm -f conftest.$ac_objext conftest$ac_exeext
31015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31016 (eval $ac_link) 2>&5
31017 ac_status=$?
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); } &&
31020 { ac_try='test -s conftest$ac_exeext'
31021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31022 (eval $ac_try) 2>&5
31023 ac_status=$?
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); }; }; then
31026 eval "$as_ac_var=yes"
31027 else
31028 echo "$as_me: failed program was:" >&5
31029 sed 's/^/| /' conftest.$ac_ext >&5
31030
31031 eval "$as_ac_var=no"
31032 fi
31033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31034 fi
31035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31037 if test `eval echo '${'$as_ac_var'}'` = yes; then
31038 cat >>confdefs.h <<_ACEOF
31039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31040 _ACEOF
31041 break
31042 fi
31043 done
31044
31045
31046 if test "$ac_cv_func_gettimeofday" = "yes"; then
31047 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31048 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31049 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31050 echo $ECHO_N "(cached) $ECHO_C" >&6
31051 else
31052
31053
31054
31055 ac_ext=cc
31056 ac_cpp='$CXXCPP $CPPFLAGS'
31057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31060
31061
31062 cat >conftest.$ac_ext <<_ACEOF
31063 #line $LINENO "configure"
31064 /* confdefs.h. */
31065 _ACEOF
31066 cat confdefs.h >>conftest.$ac_ext
31067 cat >>conftest.$ac_ext <<_ACEOF
31068 /* end confdefs.h. */
31069
31070 #include <sys/time.h>
31071 #include <unistd.h>
31072
31073 int
31074 main ()
31075 {
31076
31077 struct timeval tv;
31078 gettimeofday(&tv, NULL);
31079
31080 ;
31081 return 0;
31082 }
31083 _ACEOF
31084 rm -f conftest.$ac_objext
31085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31086 (eval $ac_compile) 2>&5
31087 ac_status=$?
31088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31089 (exit $ac_status); } &&
31090 { ac_try='test -s conftest.$ac_objext'
31091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31092 (eval $ac_try) 2>&5
31093 ac_status=$?
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); }; }; then
31096 wx_cv_func_gettimeofday_has_2_args=yes
31097 else
31098 echo "$as_me: failed program was:" >&5
31099 sed 's/^/| /' conftest.$ac_ext >&5
31100
31101 cat >conftest.$ac_ext <<_ACEOF
31102 #line $LINENO "configure"
31103 /* confdefs.h. */
31104 _ACEOF
31105 cat confdefs.h >>conftest.$ac_ext
31106 cat >>conftest.$ac_ext <<_ACEOF
31107 /* end confdefs.h. */
31108
31109 #include <sys/time.h>
31110 #include <unistd.h>
31111
31112 int
31113 main ()
31114 {
31115
31116 struct timeval tv;
31117 gettimeofday(&tv);
31118
31119 ;
31120 return 0;
31121 }
31122 _ACEOF
31123 rm -f conftest.$ac_objext
31124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31125 (eval $ac_compile) 2>&5
31126 ac_status=$?
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); } &&
31129 { ac_try='test -s conftest.$ac_objext'
31130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31131 (eval $ac_try) 2>&5
31132 ac_status=$?
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; }; then
31135 wx_cv_func_gettimeofday_has_2_args=no
31136 else
31137 echo "$as_me: failed program was:" >&5
31138 sed 's/^/| /' conftest.$ac_ext >&5
31139
31140
31141 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31142 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31143 wx_cv_func_gettimeofday_has_2_args=unknown
31144
31145
31146 fi
31147 rm -f conftest.$ac_objext conftest.$ac_ext
31148
31149 fi
31150 rm -f conftest.$ac_objext conftest.$ac_ext
31151 ac_ext=c
31152 ac_cpp='$CPP $CPPFLAGS'
31153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31156
31157
31158 fi
31159 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31160 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31161
31162 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31163 cat >>confdefs.h <<\_ACEOF
31164 #define WX_GETTIMEOFDAY_NO_TZ 1
31165 _ACEOF
31166
31167 fi
31168 fi
31169
31170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31171 fi
31172
31173
31174 if test "$wxUSE_SOCKETS" = "yes"; then
31175 if test "$wxUSE_MGL" = "1"; then
31176 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31177 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31178 wxUSE_SOCKETS="no"
31179 fi
31180 if test "$wxUSE_COCOA" = "1"; then
31181 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31182 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31183 wxUSE_SOCKETS="no"
31184 fi
31185 fi
31186
31187 if test "$wxUSE_SOCKETS" = "yes"; then
31188 if test "$TOOLKIT" != "MSW"; then
31189 echo "$as_me:$LINENO: checking for socket" >&5
31190 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31191 if test "${ac_cv_func_socket+set}" = set; then
31192 echo $ECHO_N "(cached) $ECHO_C" >&6
31193 else
31194 cat >conftest.$ac_ext <<_ACEOF
31195 #line $LINENO "configure"
31196 /* confdefs.h. */
31197 _ACEOF
31198 cat confdefs.h >>conftest.$ac_ext
31199 cat >>conftest.$ac_ext <<_ACEOF
31200 /* end confdefs.h. */
31201 /* System header to define __stub macros and hopefully few prototypes,
31202 which can conflict with char socket (); below.
31203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31204 <limits.h> exists even on freestanding compilers. */
31205 #ifdef __STDC__
31206 # include <limits.h>
31207 #else
31208 # include <assert.h>
31209 #endif
31210 /* Override any gcc2 internal prototype to avoid an error. */
31211 #ifdef __cplusplus
31212 extern "C"
31213 {
31214 #endif
31215 /* We use char because int might match the return type of a gcc2
31216 builtin and then its argument prototype would still apply. */
31217 char socket ();
31218 /* The GNU C library defines this for functions which it implements
31219 to always fail with ENOSYS. Some functions are actually named
31220 something starting with __ and the normal name is an alias. */
31221 #if defined (__stub_socket) || defined (__stub___socket)
31222 choke me
31223 #else
31224 char (*f) () = socket;
31225 #endif
31226 #ifdef __cplusplus
31227 }
31228 #endif
31229
31230 int
31231 main ()
31232 {
31233 return f != socket;
31234 ;
31235 return 0;
31236 }
31237 _ACEOF
31238 rm -f conftest.$ac_objext conftest$ac_exeext
31239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31240 (eval $ac_link) 2>&5
31241 ac_status=$?
31242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31243 (exit $ac_status); } &&
31244 { ac_try='test -s conftest$ac_exeext'
31245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31246 (eval $ac_try) 2>&5
31247 ac_status=$?
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); }; }; then
31250 ac_cv_func_socket=yes
31251 else
31252 echo "$as_me: failed program was:" >&5
31253 sed 's/^/| /' conftest.$ac_ext >&5
31254
31255 ac_cv_func_socket=no
31256 fi
31257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31258 fi
31259 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31260 echo "${ECHO_T}$ac_cv_func_socket" >&6
31261 if test $ac_cv_func_socket = yes; then
31262 :
31263 else
31264 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31265 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31266 if test "${ac_cv_lib_socket_socket+set}" = set; then
31267 echo $ECHO_N "(cached) $ECHO_C" >&6
31268 else
31269 ac_check_lib_save_LIBS=$LIBS
31270 LIBS="-lsocket $LIBS"
31271 cat >conftest.$ac_ext <<_ACEOF
31272 #line $LINENO "configure"
31273 /* confdefs.h. */
31274 _ACEOF
31275 cat confdefs.h >>conftest.$ac_ext
31276 cat >>conftest.$ac_ext <<_ACEOF
31277 /* end confdefs.h. */
31278
31279 /* Override any gcc2 internal prototype to avoid an error. */
31280 #ifdef __cplusplus
31281 extern "C"
31282 #endif
31283 /* We use char because int might match the return type of a gcc2
31284 builtin and then its argument prototype would still apply. */
31285 char socket ();
31286 int
31287 main ()
31288 {
31289 socket ();
31290 ;
31291 return 0;
31292 }
31293 _ACEOF
31294 rm -f conftest.$ac_objext conftest$ac_exeext
31295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31296 (eval $ac_link) 2>&5
31297 ac_status=$?
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); } &&
31300 { ac_try='test -s conftest$ac_exeext'
31301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31302 (eval $ac_try) 2>&5
31303 ac_status=$?
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); }; }; then
31306 ac_cv_lib_socket_socket=yes
31307 else
31308 echo "$as_me: failed program was:" >&5
31309 sed 's/^/| /' conftest.$ac_ext >&5
31310
31311 ac_cv_lib_socket_socket=no
31312 fi
31313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31314 LIBS=$ac_check_lib_save_LIBS
31315 fi
31316 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31317 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31318 if test $ac_cv_lib_socket_socket = yes; then
31319 if test "$INET_LINK" != " -lsocket"; then
31320 INET_LINK="$INET_LINK -lsocket"
31321 fi
31322 else
31323
31324 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31325 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31326 wxUSE_SOCKETS=no
31327
31328
31329 fi
31330
31331
31332 fi
31333
31334 fi
31335 fi
31336
31337 if test "$wxUSE_SOCKETS" = "yes" ; then
31338 if test "$TOOLKIT" != "MSW"; then
31339 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31340 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31341 if test "${wx_cv_type_getsockname3+set}" = set; then
31342 echo $ECHO_N "(cached) $ECHO_C" >&6
31343 else
31344
31345 cat >conftest.$ac_ext <<_ACEOF
31346 #line $LINENO "configure"
31347 /* confdefs.h. */
31348 _ACEOF
31349 cat confdefs.h >>conftest.$ac_ext
31350 cat >>conftest.$ac_ext <<_ACEOF
31351 /* end confdefs.h. */
31352
31353 #include <sys/types.h>
31354 #include <sys/socket.h>
31355
31356 int
31357 main ()
31358 {
31359
31360 socklen_t len;
31361 getsockname(0, 0, &len);
31362
31363 ;
31364 return 0;
31365 }
31366 _ACEOF
31367 rm -f conftest.$ac_objext
31368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31369 (eval $ac_compile) 2>&5
31370 ac_status=$?
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); } &&
31373 { ac_try='test -s conftest.$ac_objext'
31374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31375 (eval $ac_try) 2>&5
31376 ac_status=$?
31377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31378 (exit $ac_status); }; }; then
31379 wx_cv_type_getsockname3=socklen_t
31380 else
31381 echo "$as_me: failed program was:" >&5
31382 sed 's/^/| /' conftest.$ac_ext >&5
31383
31384
31385 CFLAGS_OLD="$CFLAGS"
31386 if test "$GCC" = yes ; then
31387 CFLAGS="$CFLAGS -Werror"
31388 fi
31389
31390 cat >conftest.$ac_ext <<_ACEOF
31391 #line $LINENO "configure"
31392 /* confdefs.h. */
31393 _ACEOF
31394 cat confdefs.h >>conftest.$ac_ext
31395 cat >>conftest.$ac_ext <<_ACEOF
31396 /* end confdefs.h. */
31397
31398 #include <sys/types.h>
31399 #include <sys/socket.h>
31400
31401 int
31402 main ()
31403 {
31404
31405 size_t len;
31406 getsockname(0, 0, &len);
31407
31408 ;
31409 return 0;
31410 }
31411 _ACEOF
31412 rm -f conftest.$ac_objext
31413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31414 (eval $ac_compile) 2>&5
31415 ac_status=$?
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); } &&
31418 { ac_try='test -s conftest.$ac_objext'
31419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31420 (eval $ac_try) 2>&5
31421 ac_status=$?
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); }; }; then
31424 wx_cv_type_getsockname3=size_t
31425 else
31426 echo "$as_me: failed program was:" >&5
31427 sed 's/^/| /' conftest.$ac_ext >&5
31428
31429 cat >conftest.$ac_ext <<_ACEOF
31430 #line $LINENO "configure"
31431 /* confdefs.h. */
31432 _ACEOF
31433 cat confdefs.h >>conftest.$ac_ext
31434 cat >>conftest.$ac_ext <<_ACEOF
31435 /* end confdefs.h. */
31436
31437 #include <sys/types.h>
31438 #include <sys/socket.h>
31439
31440 int
31441 main ()
31442 {
31443
31444 int len;
31445 getsockname(0, 0, &len);
31446
31447 ;
31448 return 0;
31449 }
31450 _ACEOF
31451 rm -f conftest.$ac_objext
31452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31453 (eval $ac_compile) 2>&5
31454 ac_status=$?
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); } &&
31457 { ac_try='test -s conftest.$ac_objext'
31458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31459 (eval $ac_try) 2>&5
31460 ac_status=$?
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); }; }; then
31463 wx_cv_type_getsockname3=int
31464 else
31465 echo "$as_me: failed program was:" >&5
31466 sed 's/^/| /' conftest.$ac_ext >&5
31467
31468 wx_cv_type_getsockname3=unknown
31469
31470 fi
31471 rm -f conftest.$ac_objext conftest.$ac_ext
31472
31473 fi
31474 rm -f conftest.$ac_objext conftest.$ac_ext
31475
31476 CFLAGS="$CFLAGS_OLD"
31477
31478
31479 fi
31480 rm -f conftest.$ac_objext conftest.$ac_ext
31481
31482 fi
31483 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31484 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31485
31486 if test "$wx_cv_type_getsockname3" = "unknown"; then
31487 wxUSE_SOCKETS=no
31488 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31489 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31490 else
31491 cat >>confdefs.h <<_ACEOF
31492 #define SOCKLEN_T $wx_cv_type_getsockname3
31493 _ACEOF
31494
31495 fi
31496 fi
31497 fi
31498
31499 if test "$wxUSE_SOCKETS" = "yes" ; then
31500 cat >>confdefs.h <<\_ACEOF
31501 #define wxUSE_SOCKETS 1
31502 _ACEOF
31503
31504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31505 fi
31506
31507 if test "$wxUSE_PROTOCOL" = "yes"; then
31508 if test "$wxUSE_SOCKETS" != "yes"; then
31509 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31510 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31511 wxUSE_PROTOCOL=no
31512 fi
31513 fi
31514
31515 if test "$wxUSE_PROTOCOL" = "yes"; then
31516 cat >>confdefs.h <<\_ACEOF
31517 #define wxUSE_PROTOCOL 1
31518 _ACEOF
31519
31520
31521 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31522 cat >>confdefs.h <<\_ACEOF
31523 #define wxUSE_PROTOCOL_HTTP 1
31524 _ACEOF
31525
31526 fi
31527 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31528 cat >>confdefs.h <<\_ACEOF
31529 #define wxUSE_PROTOCOL_FTP 1
31530 _ACEOF
31531
31532 fi
31533 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31534 cat >>confdefs.h <<\_ACEOF
31535 #define wxUSE_PROTOCOL_FILE 1
31536 _ACEOF
31537
31538 fi
31539 else
31540 if test "$wxUSE_FS_INET" = "yes"; then
31541 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31542 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31543 wxUSE_FS_INET="no"
31544 fi
31545 fi
31546
31547 if test "$wxUSE_URL" = "yes"; then
31548 if test "$wxUSE_PROTOCOL" != "yes"; then
31549 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31550 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31551 wxUSE_URL=no
31552 fi
31553 if test "$wxUSE_URL" = "yes"; then
31554 cat >>confdefs.h <<\_ACEOF
31555 #define wxUSE_URL 1
31556 _ACEOF
31557
31558 fi
31559 fi
31560
31561 if test "$wxUSE_FS_INET" = "yes"; then
31562 cat >>confdefs.h <<\_ACEOF
31563 #define wxUSE_FS_INET 1
31564 _ACEOF
31565
31566 fi
31567
31568
31569 if test "$wxUSE_GUI" = "yes"; then
31570
31571 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31572 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31573 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31574 wxUSE_JOYSTICK=no
31575 fi
31576
31577 if test "$TOOLKIT" != "MSW"; then
31578 if test "$wxUSE_JOYSTICK" = "yes"; then
31579
31580 for ac_header in linux/joystick.h
31581 do
31582 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31584 echo "$as_me:$LINENO: checking for $ac_header" >&5
31585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31587 echo $ECHO_N "(cached) $ECHO_C" >&6
31588 fi
31589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31591 else
31592 # Is the header compilable?
31593 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31594 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31595 cat >conftest.$ac_ext <<_ACEOF
31596 #line $LINENO "configure"
31597 /* confdefs.h. */
31598 _ACEOF
31599 cat confdefs.h >>conftest.$ac_ext
31600 cat >>conftest.$ac_ext <<_ACEOF
31601 /* end confdefs.h. */
31602 $ac_includes_default
31603 #include <$ac_header>
31604 _ACEOF
31605 rm -f conftest.$ac_objext
31606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31607 (eval $ac_compile) 2>&5
31608 ac_status=$?
31609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610 (exit $ac_status); } &&
31611 { ac_try='test -s conftest.$ac_objext'
31612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613 (eval $ac_try) 2>&5
31614 ac_status=$?
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); }; }; then
31617 ac_header_compiler=yes
31618 else
31619 echo "$as_me: failed program was:" >&5
31620 sed 's/^/| /' conftest.$ac_ext >&5
31621
31622 ac_header_compiler=no
31623 fi
31624 rm -f conftest.$ac_objext conftest.$ac_ext
31625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31626 echo "${ECHO_T}$ac_header_compiler" >&6
31627
31628 # Is the header present?
31629 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31631 cat >conftest.$ac_ext <<_ACEOF
31632 #line $LINENO "configure"
31633 /* confdefs.h. */
31634 _ACEOF
31635 cat confdefs.h >>conftest.$ac_ext
31636 cat >>conftest.$ac_ext <<_ACEOF
31637 /* end confdefs.h. */
31638 #include <$ac_header>
31639 _ACEOF
31640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31641 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31642 ac_status=$?
31643 grep -v '^ *+' conftest.er1 >conftest.err
31644 rm -f conftest.er1
31645 cat conftest.err >&5
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); } >/dev/null; then
31648 if test -s conftest.err; then
31649 ac_cpp_err=$ac_c_preproc_warn_flag
31650 else
31651 ac_cpp_err=
31652 fi
31653 else
31654 ac_cpp_err=yes
31655 fi
31656 if test -z "$ac_cpp_err"; then
31657 ac_header_preproc=yes
31658 else
31659 echo "$as_me: failed program was:" >&5
31660 sed 's/^/| /' conftest.$ac_ext >&5
31661
31662 ac_header_preproc=no
31663 fi
31664 rm -f conftest.err conftest.$ac_ext
31665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31666 echo "${ECHO_T}$ac_header_preproc" >&6
31667
31668 # So? What about this header?
31669 case $ac_header_compiler:$ac_header_preproc in
31670 yes:no )
31671 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31672 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31675 (
31676 cat <<\_ASBOX
31677 ## ------------------------------------ ##
31678 ## Report this to bug-autoconf@gnu.org. ##
31679 ## ------------------------------------ ##
31680 _ASBOX
31681 ) |
31682 sed "s/^/$as_me: WARNING: /" >&2
31683 ;;
31684 no:yes )
31685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31691 (
31692 cat <<\_ASBOX
31693 ## ------------------------------------ ##
31694 ## Report this to bug-autoconf@gnu.org. ##
31695 ## ------------------------------------ ##
31696 _ASBOX
31697 ) |
31698 sed "s/^/$as_me: WARNING: /" >&2
31699 ;;
31700 esac
31701 echo "$as_me:$LINENO: checking for $ac_header" >&5
31702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31704 echo $ECHO_N "(cached) $ECHO_C" >&6
31705 else
31706 eval "$as_ac_Header=$ac_header_preproc"
31707 fi
31708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31710
31711 fi
31712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31713 cat >>confdefs.h <<_ACEOF
31714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31715 _ACEOF
31716
31717 fi
31718
31719 done
31720
31721 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31722 wxUSE_JOYSTICK=no
31723 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31724 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31725 fi
31726 fi
31727 fi
31728
31729 if test "$wxUSE_JOYSTICK" = "yes"; then
31730 cat >>confdefs.h <<\_ACEOF
31731 #define wxUSE_JOYSTICK 1
31732 _ACEOF
31733
31734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31735 fi
31736 fi
31737
31738
31739 if test "$TOOLKIT" != "MSW"; then
31740
31741 HAVE_DL_FUNCS=0
31742 HAVE_SHL_FUNCS=0
31743 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31744 if test "$USE_DARWIN" = 1; then
31745 HAVE_DL_FUNCS=1
31746 else
31747
31748 for ac_func in dlopen
31749 do
31750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31751 echo "$as_me:$LINENO: checking for $ac_func" >&5
31752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31753 if eval "test \"\${$as_ac_var+set}\" = set"; then
31754 echo $ECHO_N "(cached) $ECHO_C" >&6
31755 else
31756 cat >conftest.$ac_ext <<_ACEOF
31757 #line $LINENO "configure"
31758 /* confdefs.h. */
31759 _ACEOF
31760 cat confdefs.h >>conftest.$ac_ext
31761 cat >>conftest.$ac_ext <<_ACEOF
31762 /* end confdefs.h. */
31763 /* System header to define __stub macros and hopefully few prototypes,
31764 which can conflict with char $ac_func (); below.
31765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31766 <limits.h> exists even on freestanding compilers. */
31767 #ifdef __STDC__
31768 # include <limits.h>
31769 #else
31770 # include <assert.h>
31771 #endif
31772 /* Override any gcc2 internal prototype to avoid an error. */
31773 #ifdef __cplusplus
31774 extern "C"
31775 {
31776 #endif
31777 /* We use char because int might match the return type of a gcc2
31778 builtin and then its argument prototype would still apply. */
31779 char $ac_func ();
31780 /* The GNU C library defines this for functions which it implements
31781 to always fail with ENOSYS. Some functions are actually named
31782 something starting with __ and the normal name is an alias. */
31783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31784 choke me
31785 #else
31786 char (*f) () = $ac_func;
31787 #endif
31788 #ifdef __cplusplus
31789 }
31790 #endif
31791
31792 int
31793 main ()
31794 {
31795 return f != $ac_func;
31796 ;
31797 return 0;
31798 }
31799 _ACEOF
31800 rm -f conftest.$ac_objext conftest$ac_exeext
31801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31802 (eval $ac_link) 2>&5
31803 ac_status=$?
31804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31805 (exit $ac_status); } &&
31806 { ac_try='test -s conftest$ac_exeext'
31807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31808 (eval $ac_try) 2>&5
31809 ac_status=$?
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); }; }; then
31812 eval "$as_ac_var=yes"
31813 else
31814 echo "$as_me: failed program was:" >&5
31815 sed 's/^/| /' conftest.$ac_ext >&5
31816
31817 eval "$as_ac_var=no"
31818 fi
31819 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31820 fi
31821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31823 if test `eval echo '${'$as_ac_var'}'` = yes; then
31824 cat >>confdefs.h <<_ACEOF
31825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31826 _ACEOF
31827
31828 cat >>confdefs.h <<\_ACEOF
31829 #define HAVE_DLOPEN 1
31830 _ACEOF
31831
31832 HAVE_DL_FUNCS=1
31833
31834 else
31835
31836 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31837 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31838 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31839 echo $ECHO_N "(cached) $ECHO_C" >&6
31840 else
31841 ac_check_lib_save_LIBS=$LIBS
31842 LIBS="-ldl $LIBS"
31843 cat >conftest.$ac_ext <<_ACEOF
31844 #line $LINENO "configure"
31845 /* confdefs.h. */
31846 _ACEOF
31847 cat confdefs.h >>conftest.$ac_ext
31848 cat >>conftest.$ac_ext <<_ACEOF
31849 /* end confdefs.h. */
31850
31851 /* Override any gcc2 internal prototype to avoid an error. */
31852 #ifdef __cplusplus
31853 extern "C"
31854 #endif
31855 /* We use char because int might match the return type of a gcc2
31856 builtin and then its argument prototype would still apply. */
31857 char dlopen ();
31858 int
31859 main ()
31860 {
31861 dlopen ();
31862 ;
31863 return 0;
31864 }
31865 _ACEOF
31866 rm -f conftest.$ac_objext conftest$ac_exeext
31867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31868 (eval $ac_link) 2>&5
31869 ac_status=$?
31870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31871 (exit $ac_status); } &&
31872 { ac_try='test -s conftest$ac_exeext'
31873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31874 (eval $ac_try) 2>&5
31875 ac_status=$?
31876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31877 (exit $ac_status); }; }; then
31878 ac_cv_lib_dl_dlopen=yes
31879 else
31880 echo "$as_me: failed program was:" >&5
31881 sed 's/^/| /' conftest.$ac_ext >&5
31882
31883 ac_cv_lib_dl_dlopen=no
31884 fi
31885 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31886 LIBS=$ac_check_lib_save_LIBS
31887 fi
31888 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31889 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31890 if test $ac_cv_lib_dl_dlopen = yes; then
31891
31892 cat >>confdefs.h <<\_ACEOF
31893 #define HAVE_DLOPEN 1
31894 _ACEOF
31895
31896 HAVE_DL_FUNCS=1
31897 DL_LINK=" -ldl$DL_LINK"
31898
31899 else
31900
31901
31902 for ac_func in shl_load
31903 do
31904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31905 echo "$as_me:$LINENO: checking for $ac_func" >&5
31906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31907 if eval "test \"\${$as_ac_var+set}\" = set"; then
31908 echo $ECHO_N "(cached) $ECHO_C" >&6
31909 else
31910 cat >conftest.$ac_ext <<_ACEOF
31911 #line $LINENO "configure"
31912 /* confdefs.h. */
31913 _ACEOF
31914 cat confdefs.h >>conftest.$ac_ext
31915 cat >>conftest.$ac_ext <<_ACEOF
31916 /* end confdefs.h. */
31917 /* System header to define __stub macros and hopefully few prototypes,
31918 which can conflict with char $ac_func (); below.
31919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31920 <limits.h> exists even on freestanding compilers. */
31921 #ifdef __STDC__
31922 # include <limits.h>
31923 #else
31924 # include <assert.h>
31925 #endif
31926 /* Override any gcc2 internal prototype to avoid an error. */
31927 #ifdef __cplusplus
31928 extern "C"
31929 {
31930 #endif
31931 /* We use char because int might match the return type of a gcc2
31932 builtin and then its argument prototype would still apply. */
31933 char $ac_func ();
31934 /* The GNU C library defines this for functions which it implements
31935 to always fail with ENOSYS. Some functions are actually named
31936 something starting with __ and the normal name is an alias. */
31937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31938 choke me
31939 #else
31940 char (*f) () = $ac_func;
31941 #endif
31942 #ifdef __cplusplus
31943 }
31944 #endif
31945
31946 int
31947 main ()
31948 {
31949 return f != $ac_func;
31950 ;
31951 return 0;
31952 }
31953 _ACEOF
31954 rm -f conftest.$ac_objext conftest$ac_exeext
31955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31956 (eval $ac_link) 2>&5
31957 ac_status=$?
31958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31959 (exit $ac_status); } &&
31960 { ac_try='test -s conftest$ac_exeext'
31961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31962 (eval $ac_try) 2>&5
31963 ac_status=$?
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); }; }; then
31966 eval "$as_ac_var=yes"
31967 else
31968 echo "$as_me: failed program was:" >&5
31969 sed 's/^/| /' conftest.$ac_ext >&5
31970
31971 eval "$as_ac_var=no"
31972 fi
31973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31974 fi
31975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31977 if test `eval echo '${'$as_ac_var'}'` = yes; then
31978 cat >>confdefs.h <<_ACEOF
31979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31980 _ACEOF
31981
31982 cat >>confdefs.h <<\_ACEOF
31983 #define HAVE_SHL_LOAD 1
31984 _ACEOF
31985
31986 HAVE_SHL_FUNCS=1
31987
31988 else
31989
31990 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31991 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31992 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31994 else
31995 ac_check_lib_save_LIBS=$LIBS
31996 LIBS="-lshl_load $LIBS"
31997 cat >conftest.$ac_ext <<_ACEOF
31998 #line $LINENO "configure"
31999 /* confdefs.h. */
32000 _ACEOF
32001 cat confdefs.h >>conftest.$ac_ext
32002 cat >>conftest.$ac_ext <<_ACEOF
32003 /* end confdefs.h. */
32004
32005 /* Override any gcc2 internal prototype to avoid an error. */
32006 #ifdef __cplusplus
32007 extern "C"
32008 #endif
32009 /* We use char because int might match the return type of a gcc2
32010 builtin and then its argument prototype would still apply. */
32011 char dld ();
32012 int
32013 main ()
32014 {
32015 dld ();
32016 ;
32017 return 0;
32018 }
32019 _ACEOF
32020 rm -f conftest.$ac_objext conftest$ac_exeext
32021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32022 (eval $ac_link) 2>&5
32023 ac_status=$?
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); } &&
32026 { ac_try='test -s conftest$ac_exeext'
32027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32028 (eval $ac_try) 2>&5
32029 ac_status=$?
32030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32031 (exit $ac_status); }; }; then
32032 ac_cv_lib_shl_load_dld=yes
32033 else
32034 echo "$as_me: failed program was:" >&5
32035 sed 's/^/| /' conftest.$ac_ext >&5
32036
32037 ac_cv_lib_shl_load_dld=no
32038 fi
32039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32040 LIBS=$ac_check_lib_save_LIBS
32041 fi
32042 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32043 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32044 if test $ac_cv_lib_shl_load_dld = yes; then
32045
32046 HAVE_SHL_FUNCS=1
32047 DL_LINK=" -ldld$DL_LINK"
32048
32049 fi
32050
32051
32052 fi
32053 done
32054
32055
32056 fi
32057
32058
32059 fi
32060 done
32061
32062
32063 if test "$HAVE_DL_FUNCS" = 1; then
32064
32065 for ac_func in dlerror
32066 do
32067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32068 echo "$as_me:$LINENO: checking for $ac_func" >&5
32069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32070 if eval "test \"\${$as_ac_var+set}\" = set"; then
32071 echo $ECHO_N "(cached) $ECHO_C" >&6
32072 else
32073 cat >conftest.$ac_ext <<_ACEOF
32074 #line $LINENO "configure"
32075 /* confdefs.h. */
32076 _ACEOF
32077 cat confdefs.h >>conftest.$ac_ext
32078 cat >>conftest.$ac_ext <<_ACEOF
32079 /* end confdefs.h. */
32080 /* System header to define __stub macros and hopefully few prototypes,
32081 which can conflict with char $ac_func (); below.
32082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32083 <limits.h> exists even on freestanding compilers. */
32084 #ifdef __STDC__
32085 # include <limits.h>
32086 #else
32087 # include <assert.h>
32088 #endif
32089 /* Override any gcc2 internal prototype to avoid an error. */
32090 #ifdef __cplusplus
32091 extern "C"
32092 {
32093 #endif
32094 /* We use char because int might match the return type of a gcc2
32095 builtin and then its argument prototype would still apply. */
32096 char $ac_func ();
32097 /* The GNU C library defines this for functions which it implements
32098 to always fail with ENOSYS. Some functions are actually named
32099 something starting with __ and the normal name is an alias. */
32100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32101 choke me
32102 #else
32103 char (*f) () = $ac_func;
32104 #endif
32105 #ifdef __cplusplus
32106 }
32107 #endif
32108
32109 int
32110 main ()
32111 {
32112 return f != $ac_func;
32113 ;
32114 return 0;
32115 }
32116 _ACEOF
32117 rm -f conftest.$ac_objext conftest$ac_exeext
32118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32119 (eval $ac_link) 2>&5
32120 ac_status=$?
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); } &&
32123 { ac_try='test -s conftest$ac_exeext'
32124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32125 (eval $ac_try) 2>&5
32126 ac_status=$?
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); }; }; then
32129 eval "$as_ac_var=yes"
32130 else
32131 echo "$as_me: failed program was:" >&5
32132 sed 's/^/| /' conftest.$ac_ext >&5
32133
32134 eval "$as_ac_var=no"
32135 fi
32136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32137 fi
32138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32140 if test `eval echo '${'$as_ac_var'}'` = yes; then
32141 cat >>confdefs.h <<_ACEOF
32142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32143 _ACEOF
32144 cat >>confdefs.h <<\_ACEOF
32145 #define HAVE_DLERROR 1
32146 _ACEOF
32147
32148 else
32149 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32150 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32151 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32152 echo $ECHO_N "(cached) $ECHO_C" >&6
32153 else
32154 ac_check_lib_save_LIBS=$LIBS
32155 LIBS="-ldl $LIBS"
32156 cat >conftest.$ac_ext <<_ACEOF
32157 #line $LINENO "configure"
32158 /* confdefs.h. */
32159 _ACEOF
32160 cat confdefs.h >>conftest.$ac_ext
32161 cat >>conftest.$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32163
32164 /* Override any gcc2 internal prototype to avoid an error. */
32165 #ifdef __cplusplus
32166 extern "C"
32167 #endif
32168 /* We use char because int might match the return type of a gcc2
32169 builtin and then its argument prototype would still apply. */
32170 char dlerror ();
32171 int
32172 main ()
32173 {
32174 dlerror ();
32175 ;
32176 return 0;
32177 }
32178 _ACEOF
32179 rm -f conftest.$ac_objext conftest$ac_exeext
32180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32181 (eval $ac_link) 2>&5
32182 ac_status=$?
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); } &&
32185 { ac_try='test -s conftest$ac_exeext'
32186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187 (eval $ac_try) 2>&5
32188 ac_status=$?
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); }; }; then
32191 ac_cv_lib_dl_dlerror=yes
32192 else
32193 echo "$as_me: failed program was:" >&5
32194 sed 's/^/| /' conftest.$ac_ext >&5
32195
32196 ac_cv_lib_dl_dlerror=no
32197 fi
32198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32199 LIBS=$ac_check_lib_save_LIBS
32200 fi
32201 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32202 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32203 if test $ac_cv_lib_dl_dlerror = yes; then
32204 cat >>confdefs.h <<\_ACEOF
32205 #define HAVE_DLERROR 1
32206 _ACEOF
32207
32208 fi
32209
32210 fi
32211 done
32212
32213 fi
32214 fi
32215
32216 if test "$HAVE_DL_FUNCS" = 0; then
32217 if test "$HAVE_SHL_FUNCS" = 0; then
32218 if test "$USE_UNIX" = 1; then
32219 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32220 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32221 wxUSE_DYNAMIC_LOADER=no
32222 wxUSE_DYNLIB_CLASS=no
32223 else
32224 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32225 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32226 fi
32227 fi
32228 fi
32229 fi
32230 fi
32231
32232 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32233 cat >>confdefs.h <<\_ACEOF
32234 #define wxUSE_DYNAMIC_LOADER 1
32235 _ACEOF
32236
32237 fi
32238 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32239 cat >>confdefs.h <<\_ACEOF
32240 #define wxUSE_DYNLIB_CLASS 1
32241 _ACEOF
32242
32243 fi
32244
32245
32246 if test "$wxUSE_FONTMAP" = "yes" ; then
32247 cat >>confdefs.h <<\_ACEOF
32248 #define wxUSE_FONTMAP 1
32249 _ACEOF
32250
32251 fi
32252
32253 if test "$wxUSE_UNICODE" = "yes" ; then
32254 cat >>confdefs.h <<\_ACEOF
32255 #define wxUSE_UNICODE 1
32256 _ACEOF
32257
32258
32259 if test "$USE_WIN32" != 1; then
32260 wxUSE_UNICODE_MSLU=no
32261 fi
32262
32263 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32264 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32265 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32266 if test "${ac_cv_lib_unicows_main+set}" = set; then
32267 echo $ECHO_N "(cached) $ECHO_C" >&6
32268 else
32269 ac_check_lib_save_LIBS=$LIBS
32270 LIBS="-lunicows $LIBS"
32271 cat >conftest.$ac_ext <<_ACEOF
32272 #line $LINENO "configure"
32273 /* confdefs.h. */
32274 _ACEOF
32275 cat confdefs.h >>conftest.$ac_ext
32276 cat >>conftest.$ac_ext <<_ACEOF
32277 /* end confdefs.h. */
32278
32279
32280 int
32281 main ()
32282 {
32283 main ();
32284 ;
32285 return 0;
32286 }
32287 _ACEOF
32288 rm -f conftest.$ac_objext conftest$ac_exeext
32289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32290 (eval $ac_link) 2>&5
32291 ac_status=$?
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); } &&
32294 { ac_try='test -s conftest$ac_exeext'
32295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32296 (eval $ac_try) 2>&5
32297 ac_status=$?
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); }; }; then
32300 ac_cv_lib_unicows_main=yes
32301 else
32302 echo "$as_me: failed program was:" >&5
32303 sed 's/^/| /' conftest.$ac_ext >&5
32304
32305 ac_cv_lib_unicows_main=no
32306 fi
32307 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32308 LIBS=$ac_check_lib_save_LIBS
32309 fi
32310 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32311 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32312 if test $ac_cv_lib_unicows_main = yes; then
32313
32314 cat >>confdefs.h <<\_ACEOF
32315 #define wxUSE_UNICODE_MSLU 1
32316 _ACEOF
32317
32318
32319 else
32320
32321 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32322 Applications will only run on Windows NT/2000/XP!" >&5
32323 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32324 Applications will only run on Windows NT/2000/XP!" >&2;}
32325 wxUSE_UNICODE_MSLU=no
32326
32327 fi
32328
32329 fi
32330 fi
32331
32332 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32333 cat >>confdefs.h <<\_ACEOF
32334 #define wxUSE_EXPERIMENTAL_PRINTF 1
32335 _ACEOF
32336
32337 fi
32338
32339
32340 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32341 cat >>confdefs.h <<\_ACEOF
32342 #define wxUSE_POSTSCRIPT 1
32343 _ACEOF
32344
32345 fi
32346
32347 cat >>confdefs.h <<\_ACEOF
32348 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32349 _ACEOF
32350
32351
32352 cat >>confdefs.h <<\_ACEOF
32353 #define wxUSE_NORMALIZED_PS_FONTS 1
32354 _ACEOF
32355
32356
32357
32358 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32359 cat >>confdefs.h <<\_ACEOF
32360 #define wxUSE_CONSTRAINTS 1
32361 _ACEOF
32362
32363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32364 fi
32365
32366 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32367 cat >>confdefs.h <<\_ACEOF
32368 #define wxUSE_MDI_ARCHITECTURE 1
32369 _ACEOF
32370
32371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32372 fi
32373
32374 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32375 cat >>confdefs.h <<\_ACEOF
32376 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32377 _ACEOF
32378
32379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32380 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32382 fi
32383 fi
32384
32385 if test "$wxUSE_HELP" = "yes"; then
32386 cat >>confdefs.h <<\_ACEOF
32387 #define wxUSE_HELP 1
32388 _ACEOF
32389
32390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32391
32392 if test "$wxUSE_MSW" = 1; then
32393 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32394 cat >>confdefs.h <<\_ACEOF
32395 #define wxUSE_MS_HTML_HELP 1
32396 _ACEOF
32397
32398 fi
32399 fi
32400
32401 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32402 if test "$wxUSE_HTML" = "yes"; then
32403 cat >>confdefs.h <<\_ACEOF
32404 #define wxUSE_WXHTML_HELP 1
32405 _ACEOF
32406
32407 else
32408 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32409 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32410 wxUSE_WXHTML_HELP=no
32411 fi
32412 fi
32413 fi
32414
32415 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32416 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32417 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32418 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32419 else
32420 cat >>confdefs.h <<\_ACEOF
32421 #define wxUSE_PRINTING_ARCHITECTURE 1
32422 _ACEOF
32423
32424 fi
32425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32426 fi
32427
32428 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32429 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32430 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32431 { (exit 1); exit 1; }; }
32432 fi
32433
32434
32435 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32436 -o "$wxUSE_CLIPBOARD" = "yes" \
32437 -o "$wxUSE_OLE" = "yes" \
32438 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32439
32440 for ac_header in ole2.h
32441 do
32442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32444 echo "$as_me:$LINENO: checking for $ac_header" >&5
32445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32447 echo $ECHO_N "(cached) $ECHO_C" >&6
32448 fi
32449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32451 else
32452 # Is the header compilable?
32453 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32455 cat >conftest.$ac_ext <<_ACEOF
32456 #line $LINENO "configure"
32457 /* confdefs.h. */
32458 _ACEOF
32459 cat confdefs.h >>conftest.$ac_ext
32460 cat >>conftest.$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32462 $ac_includes_default
32463 #include <$ac_header>
32464 _ACEOF
32465 rm -f conftest.$ac_objext
32466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32467 (eval $ac_compile) 2>&5
32468 ac_status=$?
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); } &&
32471 { ac_try='test -s conftest.$ac_objext'
32472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32473 (eval $ac_try) 2>&5
32474 ac_status=$?
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); }; }; then
32477 ac_header_compiler=yes
32478 else
32479 echo "$as_me: failed program was:" >&5
32480 sed 's/^/| /' conftest.$ac_ext >&5
32481
32482 ac_header_compiler=no
32483 fi
32484 rm -f conftest.$ac_objext conftest.$ac_ext
32485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32486 echo "${ECHO_T}$ac_header_compiler" >&6
32487
32488 # Is the header present?
32489 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32491 cat >conftest.$ac_ext <<_ACEOF
32492 #line $LINENO "configure"
32493 /* confdefs.h. */
32494 _ACEOF
32495 cat confdefs.h >>conftest.$ac_ext
32496 cat >>conftest.$ac_ext <<_ACEOF
32497 /* end confdefs.h. */
32498 #include <$ac_header>
32499 _ACEOF
32500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32501 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32502 ac_status=$?
32503 grep -v '^ *+' conftest.er1 >conftest.err
32504 rm -f conftest.er1
32505 cat conftest.err >&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } >/dev/null; then
32508 if test -s conftest.err; then
32509 ac_cpp_err=$ac_c_preproc_warn_flag
32510 else
32511 ac_cpp_err=
32512 fi
32513 else
32514 ac_cpp_err=yes
32515 fi
32516 if test -z "$ac_cpp_err"; then
32517 ac_header_preproc=yes
32518 else
32519 echo "$as_me: failed program was:" >&5
32520 sed 's/^/| /' conftest.$ac_ext >&5
32521
32522 ac_header_preproc=no
32523 fi
32524 rm -f conftest.err conftest.$ac_ext
32525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32526 echo "${ECHO_T}$ac_header_preproc" >&6
32527
32528 # So? What about this header?
32529 case $ac_header_compiler:$ac_header_preproc in
32530 yes:no )
32531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32534 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32535 (
32536 cat <<\_ASBOX
32537 ## ------------------------------------ ##
32538 ## Report this to bug-autoconf@gnu.org. ##
32539 ## ------------------------------------ ##
32540 _ASBOX
32541 ) |
32542 sed "s/^/$as_me: WARNING: /" >&2
32543 ;;
32544 no:yes )
32545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32551 (
32552 cat <<\_ASBOX
32553 ## ------------------------------------ ##
32554 ## Report this to bug-autoconf@gnu.org. ##
32555 ## ------------------------------------ ##
32556 _ASBOX
32557 ) |
32558 sed "s/^/$as_me: WARNING: /" >&2
32559 ;;
32560 esac
32561 echo "$as_me:$LINENO: checking for $ac_header" >&5
32562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32564 echo $ECHO_N "(cached) $ECHO_C" >&6
32565 else
32566 eval "$as_ac_Header=$ac_header_preproc"
32567 fi
32568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32570
32571 fi
32572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32573 cat >>confdefs.h <<_ACEOF
32574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32575 _ACEOF
32576
32577 fi
32578
32579 done
32580
32581
32582 if test "$ac_cv_header_ole2_h" = "yes" ; then
32583 if test "$GCC" = yes ; then
32584
32585
32586 ac_ext=cc
32587 ac_cpp='$CXXCPP $CPPFLAGS'
32588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32591
32592
32593 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32594 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32595 cat >conftest.$ac_ext <<_ACEOF
32596 #line $LINENO "configure"
32597 /* confdefs.h. */
32598 _ACEOF
32599 cat confdefs.h >>conftest.$ac_ext
32600 cat >>conftest.$ac_ext <<_ACEOF
32601 /* end confdefs.h. */
32602 #include <windows.h>
32603 #include <ole2.h>
32604 int
32605 main ()
32606 {
32607
32608 ;
32609 return 0;
32610 }
32611 _ACEOF
32612 rm -f conftest.$ac_objext
32613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32614 (eval $ac_compile) 2>&5
32615 ac_status=$?
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); } &&
32618 { ac_try='test -s conftest.$ac_objext'
32619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32620 (eval $ac_try) 2>&5
32621 ac_status=$?
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); }; }; then
32624 echo "$as_me:$LINENO: result: no" >&5
32625 echo "${ECHO_T}no" >&6
32626 else
32627 echo "$as_me: failed program was:" >&5
32628 sed 's/^/| /' conftest.$ac_ext >&5
32629
32630 echo "$as_me:$LINENO: result: yes" >&5
32631 echo "${ECHO_T}yes" >&6
32632 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32633 fi
32634 rm -f conftest.$ac_objext conftest.$ac_ext
32635 ac_ext=c
32636 ac_cpp='$CPP $CPPFLAGS'
32637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32640
32641 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32642 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32643 cat >>confdefs.h <<\_ACEOF
32644 #define wxUSE_OLE 1
32645 _ACEOF
32646
32647
32648 fi
32649
32650 cat >>confdefs.h <<\_ACEOF
32651 #define wxUSE_DATAOBJ 1
32652 _ACEOF
32653
32654 else
32655 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32656 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32657
32658 wxUSE_CLIPBOARD=no
32659 wxUSE_DRAG_AND_DROP=no
32660 wxUSE_DATAOBJ=no
32661 wxUSE_OLE=no
32662 fi
32663
32664 if test "$wxUSE_METAFILE" = "yes"; then
32665 cat >>confdefs.h <<\_ACEOF
32666 #define wxUSE_METAFILE 1
32667 _ACEOF
32668
32669
32670 cat >>confdefs.h <<\_ACEOF
32671 #define wxUSE_ENH_METAFILE 1
32672 _ACEOF
32673
32674 fi
32675 fi
32676
32677 if test "$wxUSE_IPC" = "yes"; then
32678 if test "$wxUSE_SOCKETS" != "yes"; then
32679 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32680 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32681 fi
32682
32683 cat >>confdefs.h <<\_ACEOF
32684 #define wxUSE_IPC 1
32685 _ACEOF
32686
32687 fi
32688
32689 if test "$wxUSE_CLIPBOARD" = "yes"; then
32690 if test "$wxUSE_MGL" = 1; then
32691 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32692 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32693 wxUSE_CLIPBOARD=no
32694 fi
32695
32696 if test "$wxUSE_CLIPBOARD" = "yes"; then
32697 cat >>confdefs.h <<\_ACEOF
32698 #define wxUSE_CLIPBOARD 1
32699 _ACEOF
32700
32701
32702 cat >>confdefs.h <<\_ACEOF
32703 #define wxUSE_DATAOBJ 1
32704 _ACEOF
32705
32706 fi
32707 fi
32708
32709 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32710 if test "$wxUSE_GTK" = 1; then
32711 if test "$WXGTK12" != 1; then
32712 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32713 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32714 wxUSE_DRAG_AND_DROP=no
32715 fi
32716 fi
32717
32718 if test "$wxUSE_MOTIF" = 1; then
32719 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32720 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32721 wxUSE_DRAG_AND_DROP=no
32722 fi
32723
32724 if test "$wxUSE_X11" = 1; then
32725 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32726 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32727 wxUSE_DRAG_AND_DROP=no
32728 fi
32729
32730 if test "$wxUSE_MGL" = 1; then
32731 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32732 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32733 wxUSE_DRAG_AND_DROP=no
32734 fi
32735
32736 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32737 cat >>confdefs.h <<\_ACEOF
32738 #define wxUSE_DRAG_AND_DROP 1
32739 _ACEOF
32740
32741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32742 fi
32743
32744 fi
32745
32746 if test "$wxUSE_SPLINES" = "yes" ; then
32747 cat >>confdefs.h <<\_ACEOF
32748 #define wxUSE_SPLINES 1
32749 _ACEOF
32750
32751 fi
32752
32753
32754 USES_CONTROLS=0
32755 if test "$wxUSE_CONTROLS" = "yes"; then
32756 USES_CONTROLS=1
32757 fi
32758
32759 if test "$wxUSE_ACCEL" = "yes"; then
32760 cat >>confdefs.h <<\_ACEOF
32761 #define wxUSE_ACCEL 1
32762 _ACEOF
32763
32764 USES_CONTROLS=1
32765 fi
32766
32767 if test "$wxUSE_BUTTON" = "yes"; then
32768 cat >>confdefs.h <<\_ACEOF
32769 #define wxUSE_BUTTON 1
32770 _ACEOF
32771
32772 USES_CONTROLS=1
32773 fi
32774
32775 if test "$wxUSE_BMPBUTTON" = "yes"; then
32776 cat >>confdefs.h <<\_ACEOF
32777 #define wxUSE_BMPBUTTON 1
32778 _ACEOF
32779
32780 USES_CONTROLS=1
32781 fi
32782
32783 if test "$wxUSE_CALCTRL" = "yes"; then
32784 cat >>confdefs.h <<\_ACEOF
32785 #define wxUSE_CALENDARCTRL 1
32786 _ACEOF
32787
32788 USES_CONTROLS=1
32789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32790 fi
32791
32792 if test "$wxUSE_CARET" = "yes"; then
32793 cat >>confdefs.h <<\_ACEOF
32794 #define wxUSE_CARET 1
32795 _ACEOF
32796
32797 USES_CONTROLS=1
32798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32799 fi
32800
32801 if test "$wxUSE_COMBOBOX" = "yes"; then
32802 cat >>confdefs.h <<\_ACEOF
32803 #define wxUSE_COMBOBOX 1
32804 _ACEOF
32805
32806 USES_CONTROLS=1
32807 fi
32808
32809 if test "$wxUSE_CHOICE" = "yes"; then
32810 cat >>confdefs.h <<\_ACEOF
32811 #define wxUSE_CHOICE 1
32812 _ACEOF
32813
32814 USES_CONTROLS=1
32815 fi
32816
32817 if test "$wxUSE_CHECKBOX" = "yes"; then
32818 cat >>confdefs.h <<\_ACEOF
32819 #define wxUSE_CHECKBOX 1
32820 _ACEOF
32821
32822 USES_CONTROLS=1
32823 fi
32824
32825 if test "$wxUSE_CHECKLST" = "yes"; then
32826 cat >>confdefs.h <<\_ACEOF
32827 #define wxUSE_CHECKLISTBOX 1
32828 _ACEOF
32829
32830 USES_CONTROLS=1
32831 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32832 fi
32833
32834 if test "$wxUSE_DISPLAY" = "yes"; then
32835 cat >>confdefs.h <<\_ACEOF
32836 #define wxUSE_DISPLAY 1
32837 _ACEOF
32838
32839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32840 fi
32841
32842 if test "$wxUSE_GAUGE" = "yes"; then
32843 cat >>confdefs.h <<\_ACEOF
32844 #define wxUSE_GAUGE 1
32845 _ACEOF
32846
32847 USES_CONTROLS=1
32848 fi
32849
32850 if test "$wxUSE_GRID" = "yes"; then
32851 cat >>confdefs.h <<\_ACEOF
32852 #define wxUSE_GRID 1
32853 _ACEOF
32854
32855 USES_CONTROLS=1
32856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32857 fi
32858
32859 if test "$wxUSE_IMAGLIST" = "yes"; then
32860 cat >>confdefs.h <<\_ACEOF
32861 #define wxUSE_IMAGLIST 1
32862 _ACEOF
32863
32864 fi
32865
32866 if test "$wxUSE_LISTBOX" = "yes"; then
32867 cat >>confdefs.h <<\_ACEOF
32868 #define wxUSE_LISTBOX 1
32869 _ACEOF
32870
32871 USES_CONTROLS=1
32872 fi
32873
32874 if test "$wxUSE_LISTCTRL" = "yes"; then
32875 if test "$wxUSE_IMAGLIST" = "yes"; then
32876 cat >>confdefs.h <<\_ACEOF
32877 #define wxUSE_LISTCTRL 1
32878 _ACEOF
32879
32880 USES_CONTROLS=1
32881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32882 else
32883 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32884 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32885 fi
32886 fi
32887
32888 if test "$wxUSE_NOTEBOOK" = "yes"; then
32889 cat >>confdefs.h <<\_ACEOF
32890 #define wxUSE_NOTEBOOK 1
32891 _ACEOF
32892
32893 USES_CONTROLS=1
32894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32895 fi
32896
32897
32898 if test "$wxUSE_RADIOBOX" = "yes"; then
32899 cat >>confdefs.h <<\_ACEOF
32900 #define wxUSE_RADIOBOX 1
32901 _ACEOF
32902
32903 USES_CONTROLS=1
32904 fi
32905
32906 if test "$wxUSE_RADIOBTN" = "yes"; then
32907 cat >>confdefs.h <<\_ACEOF
32908 #define wxUSE_RADIOBTN 1
32909 _ACEOF
32910
32911 USES_CONTROLS=1
32912 fi
32913
32914 if test "$wxUSE_SASH" = "yes"; then
32915 cat >>confdefs.h <<\_ACEOF
32916 #define wxUSE_SASH 1
32917 _ACEOF
32918
32919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32920 fi
32921
32922 if test "$wxUSE_SCROLLBAR" = "yes"; then
32923 cat >>confdefs.h <<\_ACEOF
32924 #define wxUSE_SCROLLBAR 1
32925 _ACEOF
32926
32927 USES_CONTROLS=1
32928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32929 fi
32930
32931 if test "$wxUSE_SLIDER" = "yes"; then
32932 cat >>confdefs.h <<\_ACEOF
32933 #define wxUSE_SLIDER 1
32934 _ACEOF
32935
32936 USES_CONTROLS=1
32937 fi
32938
32939 if test "$wxUSE_SPINBTN" = "yes"; then
32940 cat >>confdefs.h <<\_ACEOF
32941 #define wxUSE_SPINBTN 1
32942 _ACEOF
32943
32944 USES_CONTROLS=1
32945 fi
32946
32947 if test "$wxUSE_SPINCTRL" = "yes"; then
32948 cat >>confdefs.h <<\_ACEOF
32949 #define wxUSE_SPINCTRL 1
32950 _ACEOF
32951
32952 USES_CONTROLS=1
32953 fi
32954
32955 if test "$wxUSE_SPLITTER" = "yes"; then
32956 cat >>confdefs.h <<\_ACEOF
32957 #define wxUSE_SPLITTER 1
32958 _ACEOF
32959
32960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32961 fi
32962
32963 if test "$wxUSE_STATBMP" = "yes"; then
32964 cat >>confdefs.h <<\_ACEOF
32965 #define wxUSE_STATBMP 1
32966 _ACEOF
32967
32968 USES_CONTROLS=1
32969 fi
32970
32971 if test "$wxUSE_STATBOX" = "yes"; then
32972 cat >>confdefs.h <<\_ACEOF
32973 #define wxUSE_STATBOX 1
32974 _ACEOF
32975
32976 USES_CONTROLS=1
32977 fi
32978
32979 if test "$wxUSE_STATTEXT" = "yes"; then
32980 cat >>confdefs.h <<\_ACEOF
32981 #define wxUSE_STATTEXT 1
32982 _ACEOF
32983
32984 USES_CONTROLS=1
32985 fi
32986
32987 if test "$wxUSE_STATLINE" = "yes"; then
32988 cat >>confdefs.h <<\_ACEOF
32989 #define wxUSE_STATLINE 1
32990 _ACEOF
32991
32992 USES_CONTROLS=1
32993 fi
32994
32995 if test "$wxUSE_STATUSBAR" = "yes"; then
32996 cat >>confdefs.h <<\_ACEOF
32997 #define wxUSE_STATUSBAR 1
32998 _ACEOF
32999
33000 USES_CONTROLS=1
33001
33002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
33003 fi
33004
33005 if test "$wxUSE_TABDIALOG" = "yes"; then
33006 cat >>confdefs.h <<\_ACEOF
33007 #define wxUSE_TAB_DIALOG 1
33008 _ACEOF
33009
33010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
33011 fi
33012
33013 if test "$wxUSE_TEXTCTRL" = "yes"; then
33014 cat >>confdefs.h <<\_ACEOF
33015 #define wxUSE_TEXTCTRL 1
33016 _ACEOF
33017
33018 USES_CONTROLS=1
33019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
33020 fi
33021
33022 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33023 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33024 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33025 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33026 wxUSE_TOGGLEBTN=no
33027 fi
33028 if test "$wxUSE_UNIVERSAL" = "yes"; then
33029 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33030 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33031 wxUSE_TOGGLEBTN=no
33032 fi
33033
33034 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33035 cat >>confdefs.h <<\_ACEOF
33036 #define wxUSE_TOGGLEBTN 1
33037 _ACEOF
33038
33039 USES_CONTROLS=1
33040 fi
33041 fi
33042
33043 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33044 cat >>confdefs.h <<\_ACEOF
33045 #define wxUSE_TOOLBAR_SIMPLE 1
33046 _ACEOF
33047
33048 wxUSE_TOOLBAR="yes"
33049 USES_CONTROLS=1
33050 fi
33051
33052 if test "$wxUSE_TOOLBAR" = "yes"; then
33053 cat >>confdefs.h <<\_ACEOF
33054 #define wxUSE_TOOLBAR 1
33055 _ACEOF
33056
33057 USES_CONTROLS=1
33058
33059 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33060 wxUSE_TOOLBAR_NATIVE="yes"
33061 fi
33062
33063 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33064 cat >>confdefs.h <<\_ACEOF
33065 #define wxUSE_TOOLBAR_NATIVE 1
33066 _ACEOF
33067
33068 USES_CONTROLS=1
33069 fi
33070
33071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33072 fi
33073
33074 if test "$wxUSE_TOOLTIPS" = "yes"; then
33075 if test "$wxUSE_MOTIF" = 1; then
33076 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33077 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33078 else
33079 if test "$wxUSE_UNIVERSAL" = "yes"; then
33080 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33081 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33082 else
33083 cat >>confdefs.h <<\_ACEOF
33084 #define wxUSE_TOOLTIPS 1
33085 _ACEOF
33086
33087 fi
33088 fi
33089 fi
33090
33091 if test "$wxUSE_TREECTRL" = "yes"; then
33092 if test "$wxUSE_IMAGLIST" = "yes"; then
33093 cat >>confdefs.h <<\_ACEOF
33094 #define wxUSE_TREECTRL 1
33095 _ACEOF
33096
33097 USES_CONTROLS=1
33098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33099 else
33100 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33101 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33102 fi
33103 fi
33104
33105 if test "$wxUSE_POPUPWIN" = "yes"; then
33106 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33107 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33108 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33109 else
33110 if test "$wxUSE_MOTIF" = 1; then
33111 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33112 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33113 else
33114 if test "$wxUSE_PM" = 1; then
33115 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33116 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33117 else
33118 cat >>confdefs.h <<\_ACEOF
33119 #define wxUSE_POPUPWIN 1
33120 _ACEOF
33121
33122
33123 USES_CONTROLS=1
33124 fi
33125 fi
33126 fi
33127 fi
33128
33129 if test "$wxUSE_TIPWINDOW" = "yes"; then
33130 if test "$wxUSE_PM" = 1; then
33131 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33132 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33133 else
33134 cat >>confdefs.h <<\_ACEOF
33135 #define wxUSE_TIPWINDOW 1
33136 _ACEOF
33137
33138 fi
33139 fi
33140
33141 if test "$USES_CONTROLS" = 1; then
33142 cat >>confdefs.h <<\_ACEOF
33143 #define wxUSE_CONTROLS 1
33144 _ACEOF
33145
33146 fi
33147
33148
33149
33150 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33151 cat >>confdefs.h <<\_ACEOF
33152 #define wxUSE_DRAGIMAGE 1
33153 _ACEOF
33154
33155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33156 fi
33157
33158 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33159 cat >>confdefs.h <<\_ACEOF
33160 #define wxUSE_ACCESSIBILITY 1
33161 _ACEOF
33162
33163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33164 fi
33165
33166 if test "$wxUSE_MENUS" = "yes"; then
33167 cat >>confdefs.h <<\_ACEOF
33168 #define wxUSE_MENUS 1
33169 _ACEOF
33170
33171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33172 fi
33173
33174 if test "$wxUSE_METAFILE" = "yes"; then
33175 cat >>confdefs.h <<\_ACEOF
33176 #define wxUSE_METAFILE 1
33177 _ACEOF
33178
33179 fi
33180
33181 if test "$wxUSE_MIMETYPE" = "yes"; then
33182 cat >>confdefs.h <<\_ACEOF
33183 #define wxUSE_MIMETYPE 1
33184 _ACEOF
33185
33186 fi
33187
33188 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33189 cat >>confdefs.h <<\_ACEOF
33190 #define wxUSE_SYSTEM_OPTIONS 1
33191 _ACEOF
33192
33193 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33194 "$TOOLKIT" = "MOTIF"; then
33195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33196 fi
33197
33198 fi
33199
33200 if test "$wxUSE_MINIFRAME" = "yes"; then
33201 cat >>confdefs.h <<\_ACEOF
33202 #define wxUSE_MINIFRAME 1
33203 _ACEOF
33204
33205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33206 fi
33207
33208 USE_HTML=0
33209 if test "$wxUSE_HTML" = "yes"; then
33210 cat >>confdefs.h <<\_ACEOF
33211 #define wxUSE_HTML 1
33212 _ACEOF
33213
33214 USE_HTML=1
33215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33216 fi
33217
33218 if test "$wxUSE_VALIDATORS" = "yes"; then
33219 cat >>confdefs.h <<\_ACEOF
33220 #define wxUSE_VALIDATORS 1
33221 _ACEOF
33222
33223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33224 fi
33225
33226 if test "$wxUSE_PALETTE" = "yes" ; then
33227 cat >>confdefs.h <<\_ACEOF
33228 #define wxUSE_PALETTE 1
33229 _ACEOF
33230
33231 fi
33232
33233 if test "$wxUSE_IMAGE" = "yes" ; then
33234 cat >>confdefs.h <<\_ACEOF
33235 #define wxUSE_IMAGE 1
33236 _ACEOF
33237
33238 fi
33239
33240 if test "$wxUSE_GIF" = "yes" ; then
33241 cat >>confdefs.h <<\_ACEOF
33242 #define wxUSE_GIF 1
33243 _ACEOF
33244
33245 fi
33246
33247 if test "$wxUSE_PCX" = "yes" ; then
33248 cat >>confdefs.h <<\_ACEOF
33249 #define wxUSE_PCX 1
33250 _ACEOF
33251
33252 fi
33253
33254 if test "$wxUSE_IFF" = "yes" ; then
33255 cat >>confdefs.h <<\_ACEOF
33256 #define wxUSE_IFF 1
33257 _ACEOF
33258
33259 fi
33260
33261 if test "$wxUSE_PNM" = "yes" ; then
33262 cat >>confdefs.h <<\_ACEOF
33263 #define wxUSE_PNM 1
33264 _ACEOF
33265
33266 fi
33267
33268 if test "$wxUSE_XPM" = "yes" ; then
33269 cat >>confdefs.h <<\_ACEOF
33270 #define wxUSE_XPM 1
33271 _ACEOF
33272
33273 fi
33274
33275 if test "$wxUSE_ICO_CUR" = "yes" ; then
33276 cat >>confdefs.h <<\_ACEOF
33277 #define wxUSE_ICO_CUR 1
33278 _ACEOF
33279
33280 fi
33281
33282 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33283 LIBS=" -lunicows $LIBS"
33284 fi
33285
33286
33287 if test "$wxUSE_CHOICEDLG" = "yes"; then
33288 cat >>confdefs.h <<\_ACEOF
33289 #define wxUSE_CHOICEDLG 1
33290 _ACEOF
33291
33292 fi
33293
33294 if test "$wxUSE_COLOURDLG" = "yes"; then
33295 cat >>confdefs.h <<\_ACEOF
33296 #define wxUSE_COLOURDLG 1
33297 _ACEOF
33298
33299 fi
33300
33301 if test "$wxUSE_FILEDLG" = "yes"; then
33302 cat >>confdefs.h <<\_ACEOF
33303 #define wxUSE_FILEDLG 1
33304 _ACEOF
33305
33306 fi
33307
33308 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33309 cat >>confdefs.h <<\_ACEOF
33310 #define wxUSE_FINDREPLDLG 1
33311 _ACEOF
33312
33313 fi
33314
33315 if test "$wxUSE_FONTDLG" = "yes"; then
33316 cat >>confdefs.h <<\_ACEOF
33317 #define wxUSE_FONTDLG 1
33318 _ACEOF
33319
33320 fi
33321
33322 if test "$wxUSE_DIRDLG" = "yes"; then
33323 if test "$wxUSE_TREECTRL" != "yes"; then
33324 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33325 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33326 else
33327 cat >>confdefs.h <<\_ACEOF
33328 #define wxUSE_DIRDLG 1
33329 _ACEOF
33330
33331 fi
33332 fi
33333
33334 if test "$wxUSE_MSGDLG" = "yes"; then
33335 cat >>confdefs.h <<\_ACEOF
33336 #define wxUSE_MSGDLG 1
33337 _ACEOF
33338
33339 fi
33340
33341 if test "$wxUSE_NUMBERDLG" = "yes"; then
33342 cat >>confdefs.h <<\_ACEOF
33343 #define wxUSE_NUMBERDLG 1
33344 _ACEOF
33345
33346 fi
33347
33348 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33349 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33350 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33351 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33352 else
33353 cat >>confdefs.h <<\_ACEOF
33354 #define wxUSE_PROGRESSDLG 1
33355 _ACEOF
33356
33357 fi
33358 fi
33359
33360 if test "$wxUSE_SPLASH" = "yes"; then
33361 cat >>confdefs.h <<\_ACEOF
33362 #define wxUSE_SPLASH 1
33363 _ACEOF
33364
33365 fi
33366
33367 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33368 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33369 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33370 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33371 else
33372 cat >>confdefs.h <<\_ACEOF
33373 #define wxUSE_STARTUP_TIPS 1
33374 _ACEOF
33375
33376 fi
33377 fi
33378
33379 if test "$wxUSE_TEXTDLG" = "yes"; then
33380 cat >>confdefs.h <<\_ACEOF
33381 #define wxUSE_TEXTDLG 1
33382 _ACEOF
33383
33384 fi
33385
33386 if test "$wxUSE_WIZARDDLG" = "yes"; then
33387 cat >>confdefs.h <<\_ACEOF
33388 #define wxUSE_WIZARDDLG 1
33389 _ACEOF
33390
33391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33392 fi
33393
33394
33395 if test "$cross_compiling" = "yes"; then
33396 OSINFO="\"$host\""
33397 else
33398 OSINFO=`uname -s -r -m`
33399 OSINFO="\"$OSINFO\""
33400 fi
33401
33402 cat >>confdefs.h <<_ACEOF
33403 #define WXWIN_OS_DESCRIPTION $OSINFO
33404 _ACEOF
33405
33406
33407
33408 if test "x$prefix" != "xNONE"; then
33409 wxPREFIX=$prefix
33410 else
33411 wxPREFIX=$ac_default_prefix
33412 fi
33413
33414 cat >>confdefs.h <<_ACEOF
33415 #define wxINSTALL_PREFIX "$wxPREFIX"
33416 _ACEOF
33417
33418
33419 top_builddir_wxconfig=`pwd`
33420
33421
33422
33423 CORE_BASE_LIBS="net base"
33424 CORE_GUI_LIBS="adv core"
33425
33426 if test "$wxUSE_XML" = "yes" ; then
33427 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33428 fi
33429 if test "$wxUSE_ODBC" != "no" ; then
33430 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33431 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33432 fi
33433 if test "$wxUSE_HTML" = "yes" ; then
33434 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33435 fi
33436
33437
33438
33439
33440
33441
33442
33443
33444 if test "$wxUSE_MAC" = 1 ; then
33445 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33446 fi
33447 if test "$wxUSE_COCOA" = 1 ; then
33448 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33449 fi
33450
33451
33452 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33453
33454 have_cos=0
33455 have_floor=0
33456
33457 for ac_func in cos
33458 do
33459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33460 echo "$as_me:$LINENO: checking for $ac_func" >&5
33461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33462 if eval "test \"\${$as_ac_var+set}\" = set"; then
33463 echo $ECHO_N "(cached) $ECHO_C" >&6
33464 else
33465 cat >conftest.$ac_ext <<_ACEOF
33466 #line $LINENO "configure"
33467 /* confdefs.h. */
33468 _ACEOF
33469 cat confdefs.h >>conftest.$ac_ext
33470 cat >>conftest.$ac_ext <<_ACEOF
33471 /* end confdefs.h. */
33472 /* System header to define __stub macros and hopefully few prototypes,
33473 which can conflict with char $ac_func (); below.
33474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33475 <limits.h> exists even on freestanding compilers. */
33476 #ifdef __STDC__
33477 # include <limits.h>
33478 #else
33479 # include <assert.h>
33480 #endif
33481 /* Override any gcc2 internal prototype to avoid an error. */
33482 #ifdef __cplusplus
33483 extern "C"
33484 {
33485 #endif
33486 /* We use char because int might match the return type of a gcc2
33487 builtin and then its argument prototype would still apply. */
33488 char $ac_func ();
33489 /* The GNU C library defines this for functions which it implements
33490 to always fail with ENOSYS. Some functions are actually named
33491 something starting with __ and the normal name is an alias. */
33492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33493 choke me
33494 #else
33495 char (*f) () = $ac_func;
33496 #endif
33497 #ifdef __cplusplus
33498 }
33499 #endif
33500
33501 int
33502 main ()
33503 {
33504 return f != $ac_func;
33505 ;
33506 return 0;
33507 }
33508 _ACEOF
33509 rm -f conftest.$ac_objext conftest$ac_exeext
33510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33511 (eval $ac_link) 2>&5
33512 ac_status=$?
33513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33514 (exit $ac_status); } &&
33515 { ac_try='test -s conftest$ac_exeext'
33516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33517 (eval $ac_try) 2>&5
33518 ac_status=$?
33519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33520 (exit $ac_status); }; }; then
33521 eval "$as_ac_var=yes"
33522 else
33523 echo "$as_me: failed program was:" >&5
33524 sed 's/^/| /' conftest.$ac_ext >&5
33525
33526 eval "$as_ac_var=no"
33527 fi
33528 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33529 fi
33530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33532 if test `eval echo '${'$as_ac_var'}'` = yes; then
33533 cat >>confdefs.h <<_ACEOF
33534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33535 _ACEOF
33536 have_cos=1
33537 fi
33538 done
33539
33540
33541 for ac_func in floor
33542 do
33543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33544 echo "$as_me:$LINENO: checking for $ac_func" >&5
33545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33546 if eval "test \"\${$as_ac_var+set}\" = set"; then
33547 echo $ECHO_N "(cached) $ECHO_C" >&6
33548 else
33549 cat >conftest.$ac_ext <<_ACEOF
33550 #line $LINENO "configure"
33551 /* confdefs.h. */
33552 _ACEOF
33553 cat confdefs.h >>conftest.$ac_ext
33554 cat >>conftest.$ac_ext <<_ACEOF
33555 /* end confdefs.h. */
33556 /* System header to define __stub macros and hopefully few prototypes,
33557 which can conflict with char $ac_func (); below.
33558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33559 <limits.h> exists even on freestanding compilers. */
33560 #ifdef __STDC__
33561 # include <limits.h>
33562 #else
33563 # include <assert.h>
33564 #endif
33565 /* Override any gcc2 internal prototype to avoid an error. */
33566 #ifdef __cplusplus
33567 extern "C"
33568 {
33569 #endif
33570 /* We use char because int might match the return type of a gcc2
33571 builtin and then its argument prototype would still apply. */
33572 char $ac_func ();
33573 /* The GNU C library defines this for functions which it implements
33574 to always fail with ENOSYS. Some functions are actually named
33575 something starting with __ and the normal name is an alias. */
33576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33577 choke me
33578 #else
33579 char (*f) () = $ac_func;
33580 #endif
33581 #ifdef __cplusplus
33582 }
33583 #endif
33584
33585 int
33586 main ()
33587 {
33588 return f != $ac_func;
33589 ;
33590 return 0;
33591 }
33592 _ACEOF
33593 rm -f conftest.$ac_objext conftest$ac_exeext
33594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33595 (eval $ac_link) 2>&5
33596 ac_status=$?
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); } &&
33599 { ac_try='test -s conftest$ac_exeext'
33600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33601 (eval $ac_try) 2>&5
33602 ac_status=$?
33603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33604 (exit $ac_status); }; }; then
33605 eval "$as_ac_var=yes"
33606 else
33607 echo "$as_me: failed program was:" >&5
33608 sed 's/^/| /' conftest.$ac_ext >&5
33609
33610 eval "$as_ac_var=no"
33611 fi
33612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33613 fi
33614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33616 if test `eval echo '${'$as_ac_var'}'` = yes; then
33617 cat >>confdefs.h <<_ACEOF
33618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33619 _ACEOF
33620 have_floor=1
33621 fi
33622 done
33623
33624 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33625 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33626 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33627 echo "$as_me:$LINENO: result: yes" >&5
33628 echo "${ECHO_T}yes" >&6
33629 else
33630 echo "$as_me:$LINENO: result: no" >&5
33631 echo "${ECHO_T}no" >&6
33632 LIBS="$LIBS -lm"
33633 # use different functions to avoid configure caching
33634 have_sin=0
33635 have_ceil=0
33636
33637 for ac_func in sin
33638 do
33639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33640 echo "$as_me:$LINENO: checking for $ac_func" >&5
33641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33642 if eval "test \"\${$as_ac_var+set}\" = set"; then
33643 echo $ECHO_N "(cached) $ECHO_C" >&6
33644 else
33645 cat >conftest.$ac_ext <<_ACEOF
33646 #line $LINENO "configure"
33647 /* confdefs.h. */
33648 _ACEOF
33649 cat confdefs.h >>conftest.$ac_ext
33650 cat >>conftest.$ac_ext <<_ACEOF
33651 /* end confdefs.h. */
33652 /* System header to define __stub macros and hopefully few prototypes,
33653 which can conflict with char $ac_func (); below.
33654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33655 <limits.h> exists even on freestanding compilers. */
33656 #ifdef __STDC__
33657 # include <limits.h>
33658 #else
33659 # include <assert.h>
33660 #endif
33661 /* Override any gcc2 internal prototype to avoid an error. */
33662 #ifdef __cplusplus
33663 extern "C"
33664 {
33665 #endif
33666 /* We use char because int might match the return type of a gcc2
33667 builtin and then its argument prototype would still apply. */
33668 char $ac_func ();
33669 /* The GNU C library defines this for functions which it implements
33670 to always fail with ENOSYS. Some functions are actually named
33671 something starting with __ and the normal name is an alias. */
33672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33673 choke me
33674 #else
33675 char (*f) () = $ac_func;
33676 #endif
33677 #ifdef __cplusplus
33678 }
33679 #endif
33680
33681 int
33682 main ()
33683 {
33684 return f != $ac_func;
33685 ;
33686 return 0;
33687 }
33688 _ACEOF
33689 rm -f conftest.$ac_objext conftest$ac_exeext
33690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33691 (eval $ac_link) 2>&5
33692 ac_status=$?
33693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33694 (exit $ac_status); } &&
33695 { ac_try='test -s conftest$ac_exeext'
33696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33697 (eval $ac_try) 2>&5
33698 ac_status=$?
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); }; }; then
33701 eval "$as_ac_var=yes"
33702 else
33703 echo "$as_me: failed program was:" >&5
33704 sed 's/^/| /' conftest.$ac_ext >&5
33705
33706 eval "$as_ac_var=no"
33707 fi
33708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33709 fi
33710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33712 if test `eval echo '${'$as_ac_var'}'` = yes; then
33713 cat >>confdefs.h <<_ACEOF
33714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33715 _ACEOF
33716 have_sin=1
33717 fi
33718 done
33719
33720
33721 for ac_func in ceil
33722 do
33723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33724 echo "$as_me:$LINENO: checking for $ac_func" >&5
33725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33726 if eval "test \"\${$as_ac_var+set}\" = set"; then
33727 echo $ECHO_N "(cached) $ECHO_C" >&6
33728 else
33729 cat >conftest.$ac_ext <<_ACEOF
33730 #line $LINENO "configure"
33731 /* confdefs.h. */
33732 _ACEOF
33733 cat confdefs.h >>conftest.$ac_ext
33734 cat >>conftest.$ac_ext <<_ACEOF
33735 /* end confdefs.h. */
33736 /* System header to define __stub macros and hopefully few prototypes,
33737 which can conflict with char $ac_func (); below.
33738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33739 <limits.h> exists even on freestanding compilers. */
33740 #ifdef __STDC__
33741 # include <limits.h>
33742 #else
33743 # include <assert.h>
33744 #endif
33745 /* Override any gcc2 internal prototype to avoid an error. */
33746 #ifdef __cplusplus
33747 extern "C"
33748 {
33749 #endif
33750 /* We use char because int might match the return type of a gcc2
33751 builtin and then its argument prototype would still apply. */
33752 char $ac_func ();
33753 /* The GNU C library defines this for functions which it implements
33754 to always fail with ENOSYS. Some functions are actually named
33755 something starting with __ and the normal name is an alias. */
33756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33757 choke me
33758 #else
33759 char (*f) () = $ac_func;
33760 #endif
33761 #ifdef __cplusplus
33762 }
33763 #endif
33764
33765 int
33766 main ()
33767 {
33768 return f != $ac_func;
33769 ;
33770 return 0;
33771 }
33772 _ACEOF
33773 rm -f conftest.$ac_objext conftest$ac_exeext
33774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33775 (eval $ac_link) 2>&5
33776 ac_status=$?
33777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778 (exit $ac_status); } &&
33779 { ac_try='test -s conftest$ac_exeext'
33780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33781 (eval $ac_try) 2>&5
33782 ac_status=$?
33783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33784 (exit $ac_status); }; }; then
33785 eval "$as_ac_var=yes"
33786 else
33787 echo "$as_me: failed program was:" >&5
33788 sed 's/^/| /' conftest.$ac_ext >&5
33789
33790 eval "$as_ac_var=no"
33791 fi
33792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33793 fi
33794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33796 if test `eval echo '${'$as_ac_var'}'` = yes; then
33797 cat >>confdefs.h <<_ACEOF
33798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33799 _ACEOF
33800 have_ceil=1
33801 fi
33802 done
33803
33804 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33805 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33806 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33807 echo "$as_me:$LINENO: result: yes" >&5
33808 echo "${ECHO_T}yes" >&6
33809 else
33810 echo "$as_me:$LINENO: result: no" >&5
33811 echo "${ECHO_T}no" >&6
33812 # not sure we should warn the user, crash, etc.
33813 fi
33814 fi
33815
33816 if test "$wxUSE_GUI" = "yes"; then
33817
33818
33819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33820 drawing dynamic erase event exec font image \
33821 minimal propsize rotate shaped widgets render"
33822
33823 if test "$wxUSE_MONOLITHIC" != "yes"; then
33824 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33825 fi
33826 else
33827 SAMPLES_SUBDIRS="console"
33828 fi
33829
33830
33831 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33832 -I\${top_srcdir}/include \
33833 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33834 $TOOLKIT_INCLUDE"
33835
33836 if test "$GXX" = yes ; then
33837 CXXWARNINGS="-Wall"
33838 fi
33839
33840 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33841
33842 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33843 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33844 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33845
33846
33847 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33848 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33849 EXTRALIBS_XML="$EXPAT_LINK"
33850 EXTRALIBS_ODBC="$ODBC_LINK"
33851 if test "$wxUSE_GUI" = "yes"; then
33852 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33853 fi
33854 if test "$wxUSE_OPENGL" = "yes"; then
33855 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33856 fi
33857
33858 LDFLAGS="$LDFLAGS $PROFILE"
33859
33860 if test "$wxUSE_GTK" = 1; then
33861 WXCONFIG_INCLUDE=
33862 else
33863 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33864 fi
33865
33866 WXCONFIG_EXTRALIBS="$LIBS"
33867
33868 if test "$wxUSE_REGEX" = "builtin" ; then
33869 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33870 fi
33871 if test "$wxUSE_EXPAT" = "builtin" ; then
33872 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33873 fi
33874 if test "$wxUSE_ODBC" = "builtin" ; then
33875 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33876 fi
33877 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33878 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33879 fi
33880 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33881 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33882 fi
33883 if test "$wxUSE_LIBPNG" = "builtin" ; then
33884 wxconfig_3rdparty="$wxconfig_3rdparty png"
33885 fi
33886 if test "$wxUSE_ZLIB" = "builtin" ; then
33887 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33888 fi
33889 if test "$wxUSE_ODBC" = "builtin" ; then
33890 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33891 fi
33892
33893 for i in $wxconfig_3rdparty ; do
33894 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33895 done
33896
33897
33898 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33899 WXUNIV=1
33900 else
33901 WXUNIV=0
33902 fi
33903
33904
33905
33906
33907
33908
33909
33910
33911
33912 if test $wxUSE_MONOLITHIC = "yes" ; then
33913 MONOLITHIC=1
33914 else
33915 MONOLITHIC=0
33916 fi
33917
33918 if test $wxUSE_ODBC != "no" ; then
33919 USE_ODBC=1
33920 else
33921 USE_ODBC=0
33922 fi
33923
33924 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33925 OFFICIAL_BUILD=1
33926 else
33927 OFFICIAL_BUILD=0
33928 fi
33929
33930
33931
33932
33933
33934
33935
33936
33937
33938
33939
33940
33941
33942
33943
33944
33945
33946 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33947
33948
33949
33950
33951
33952
33953 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33954
33955 if test -n "$ac_tool_prefix"; then
33956 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33957 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33958 echo "$as_me:$LINENO: checking for $ac_word" >&5
33959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33960 if test "${ac_cv_prog_RANLIB+set}" = set; then
33961 echo $ECHO_N "(cached) $ECHO_C" >&6
33962 else
33963 if test -n "$RANLIB"; then
33964 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33965 else
33966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33967 for as_dir in $PATH
33968 do
33969 IFS=$as_save_IFS
33970 test -z "$as_dir" && as_dir=.
33971 for ac_exec_ext in '' $ac_executable_extensions; do
33972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33973 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33975 break 2
33976 fi
33977 done
33978 done
33979
33980 fi
33981 fi
33982 RANLIB=$ac_cv_prog_RANLIB
33983 if test -n "$RANLIB"; then
33984 echo "$as_me:$LINENO: result: $RANLIB" >&5
33985 echo "${ECHO_T}$RANLIB" >&6
33986 else
33987 echo "$as_me:$LINENO: result: no" >&5
33988 echo "${ECHO_T}no" >&6
33989 fi
33990
33991 fi
33992 if test -z "$ac_cv_prog_RANLIB"; then
33993 ac_ct_RANLIB=$RANLIB
33994 # Extract the first word of "ranlib", so it can be a program name with args.
33995 set dummy ranlib; ac_word=$2
33996 echo "$as_me:$LINENO: checking for $ac_word" >&5
33997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33998 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33999 echo $ECHO_N "(cached) $ECHO_C" >&6
34000 else
34001 if test -n "$ac_ct_RANLIB"; then
34002 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
34003 else
34004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34005 for as_dir in $PATH
34006 do
34007 IFS=$as_save_IFS
34008 test -z "$as_dir" && as_dir=.
34009 for ac_exec_ext in '' $ac_executable_extensions; do
34010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34011 ac_cv_prog_ac_ct_RANLIB="ranlib"
34012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34013 break 2
34014 fi
34015 done
34016 done
34017
34018 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34019 fi
34020 fi
34021 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34022 if test -n "$ac_ct_RANLIB"; then
34023 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34024 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34025 else
34026 echo "$as_me:$LINENO: result: no" >&5
34027 echo "${ECHO_T}no" >&6
34028 fi
34029
34030 RANLIB=$ac_ct_RANLIB
34031 else
34032 RANLIB="$ac_cv_prog_RANLIB"
34033 fi
34034
34035 # Find a good install program. We prefer a C program (faster),
34036 # so one script is as good as another. But avoid the broken or
34037 # incompatible versions:
34038 # SysV /etc/install, /usr/sbin/install
34039 # SunOS /usr/etc/install
34040 # IRIX /sbin/install
34041 # AIX /bin/install
34042 # AmigaOS /C/install, which installs bootblocks on floppy discs
34043 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34044 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34045 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34046 # ./install, which can be erroneously created by make from ./install.sh.
34047 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34048 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34049 if test -z "$INSTALL"; then
34050 if test "${ac_cv_path_install+set}" = set; then
34051 echo $ECHO_N "(cached) $ECHO_C" >&6
34052 else
34053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34054 for as_dir in $PATH
34055 do
34056 IFS=$as_save_IFS
34057 test -z "$as_dir" && as_dir=.
34058 # Account for people who put trailing slashes in PATH elements.
34059 case $as_dir/ in
34060 ./ | .// | /cC/* | \
34061 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34062 /usr/ucb/* ) ;;
34063 *)
34064 # OSF1 and SCO ODT 3.0 have their own names for install.
34065 # Don't use installbsd from OSF since it installs stuff as root
34066 # by default.
34067 for ac_prog in ginstall scoinst install; do
34068 for ac_exec_ext in '' $ac_executable_extensions; do
34069 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34070 if test $ac_prog = install &&
34071 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34072 # AIX install. It has an incompatible calling convention.
34073 :
34074 elif test $ac_prog = install &&
34075 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34076 # program-specific install script used by HP pwplus--don't use.
34077 :
34078 else
34079 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34080 break 3
34081 fi
34082 fi
34083 done
34084 done
34085 ;;
34086 esac
34087 done
34088
34089
34090 fi
34091 if test "${ac_cv_path_install+set}" = set; then
34092 INSTALL=$ac_cv_path_install
34093 else
34094 # As a last resort, use the slow shell script. We don't cache a
34095 # path for INSTALL within a source directory, because that will
34096 # break other packages using the cache if that directory is
34097 # removed, or if the path is relative.
34098 INSTALL=$ac_install_sh
34099 fi
34100 fi
34101 echo "$as_me:$LINENO: result: $INSTALL" >&5
34102 echo "${ECHO_T}$INSTALL" >&6
34103
34104 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34105 # It thinks the first close brace ends the variable substitution.
34106 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34107
34108 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34109
34110 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34111
34112 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34113 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34114 LN_S=$as_ln_s
34115 if test "$LN_S" = "ln -s"; then
34116 echo "$as_me:$LINENO: result: yes" >&5
34117 echo "${ECHO_T}yes" >&6
34118 else
34119 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34120 echo "${ECHO_T}no, using $LN_S" >&6
34121 fi
34122
34123
34124 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34125 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34126 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34127 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34128 echo $ECHO_N "(cached) $ECHO_C" >&6
34129 else
34130 cat >conftest.make <<\_ACEOF
34131 all:
34132 @echo 'ac_maketemp="$(MAKE)"'
34133 _ACEOF
34134 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34135 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34136 if test -n "$ac_maketemp"; then
34137 eval ac_cv_prog_make_${ac_make}_set=yes
34138 else
34139 eval ac_cv_prog_make_${ac_make}_set=no
34140 fi
34141 rm -f conftest.make
34142 fi
34143 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34144 echo "$as_me:$LINENO: result: yes" >&5
34145 echo "${ECHO_T}yes" >&6
34146 SET_MAKE=
34147 else
34148 echo "$as_me:$LINENO: result: no" >&5
34149 echo "${ECHO_T}no" >&6
34150 SET_MAKE="MAKE=${MAKE-make}"
34151 fi
34152
34153
34154
34155 if test "$build" != "$host" ; then
34156 AR=$host_alias-ar
34157 STRIP=$host_alias-strip
34158 else
34159 # Extract the first word of "ar", so it can be a program name with args.
34160 set dummy ar; ac_word=$2
34161 echo "$as_me:$LINENO: checking for $ac_word" >&5
34162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34163 if test "${ac_cv_prog_AR+set}" = set; then
34164 echo $ECHO_N "(cached) $ECHO_C" >&6
34165 else
34166 if test -n "$AR"; then
34167 ac_cv_prog_AR="$AR" # Let the user override the test.
34168 else
34169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34170 for as_dir in $PATH
34171 do
34172 IFS=$as_save_IFS
34173 test -z "$as_dir" && as_dir=.
34174 for ac_exec_ext in '' $ac_executable_extensions; do
34175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34176 ac_cv_prog_AR="ar"
34177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34178 break 2
34179 fi
34180 done
34181 done
34182
34183 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
34184 fi
34185 fi
34186 AR=$ac_cv_prog_AR
34187 if test -n "$AR"; then
34188 echo "$as_me:$LINENO: result: $AR" >&5
34189 echo "${ECHO_T}$AR" >&6
34190 else
34191 echo "$as_me:$LINENO: result: no" >&5
34192 echo "${ECHO_T}no" >&6
34193 fi
34194
34195 # Extract the first word of "strip", so it can be a program name with args.
34196 set dummy strip; ac_word=$2
34197 echo "$as_me:$LINENO: checking for $ac_word" >&5
34198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34199 if test "${ac_cv_prog_STRIP+set}" = set; then
34200 echo $ECHO_N "(cached) $ECHO_C" >&6
34201 else
34202 if test -n "$STRIP"; then
34203 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34204 else
34205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34206 for as_dir in $PATH
34207 do
34208 IFS=$as_save_IFS
34209 test -z "$as_dir" && as_dir=.
34210 for ac_exec_ext in '' $ac_executable_extensions; do
34211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34212 ac_cv_prog_STRIP="strip"
34213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34214 break 2
34215 fi
34216 done
34217 done
34218
34219 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
34220 fi
34221 fi
34222 STRIP=$ac_cv_prog_STRIP
34223 if test -n "$STRIP"; then
34224 echo "$as_me:$LINENO: result: $STRIP" >&5
34225 echo "${ECHO_T}$STRIP" >&6
34226 else
34227 echo "$as_me:$LINENO: result: no" >&5
34228 echo "${ECHO_T}no" >&6
34229 fi
34230
34231 fi
34232
34233 case ${host} in
34234 *-hp-hpux* )
34235 INSTALL_DIR="mkdir"
34236 ;;
34237 *) INSTALL_DIR="$INSTALL -d"
34238 ;;
34239 esac
34240
34241
34242 LDFLAGS_GUI=
34243 case ${host} in
34244 *-*-cygwin* | *-*-mingw32* )
34245 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34246 esac
34247
34248
34249 fi
34250
34251 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34252 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34253 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34255 else
34256
34257 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34258 egrep -s GNU > /dev/null); then
34259 bakefile_cv_prog_makeisgnu="yes"
34260 else
34261 bakefile_cv_prog_makeisgnu="no"
34262 fi
34263
34264 fi
34265 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34266 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34267
34268 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34269 IF_GNU_MAKE=""
34270 else
34271 IF_GNU_MAKE="#"
34272 fi
34273
34274
34275
34276 PLATFORM_UNIX=0
34277 PLATFORM_WIN32=0
34278 PLATFORM_MSDOS=0
34279 PLATFORM_MAC=0
34280 PLATFORM_MACOSX=0
34281
34282 case "${host}" in
34283 *-*-cygwin* | *-*-mingw32* )
34284 PLATFORM_WIN32=1
34285 ;;
34286 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34287 PLATFORM_MSDOS=1
34288 ;;
34289 powerpc-*-darwin* )
34290 PLATFORM_MAC=1
34291 PLATFORM_MACOSX=1
34292 ;;
34293 * )
34294 PLATFORM_UNIX=1
34295 ;;
34296 esac
34297
34298
34299
34300
34301
34302
34303
34304
34305 SO_SUFFIX="so"
34306 SO_SUFFIX_MODULE="so"
34307 EXEEXT=""
34308 DLLPREFIX=lib
34309 DLLPREFIX_MODULE=
34310
34311 case "${host}" in
34312 *-hp-hpux* )
34313 SO_SUFFIX="sl"
34314 SO_SUFFIX_MODULE="sl"
34315 ;;
34316 *-*-aix* )
34317 SO_SUFFIX="a"
34318 SO_SUFFIX_MODULE="a"
34319 ;;
34320 *-*-cygwin* | *-*-mingw32* )
34321 SO_SUFFIX="dll"
34322 SO_SUFFIX_MODULE="dll"
34323 EXEEXT=".exe"
34324 DLLPREFIX=""
34325 ;;
34326 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34327 EXEEXT=".exe"
34328 DLLPREFIX=""
34329 ;;
34330 powerpc-*-darwin* )
34331 SO_SUFFIX="dylib"
34332 SO_SUFFIX_MODULE="bundle"
34333 ;;
34334 esac
34335
34336
34337
34338
34339
34340
34341
34342
34343 SHARED_LD_CC="\$(CC) -shared -o"
34344 SHARED_LD_CXX="\$(CXX) -shared -o"
34345
34346 if test "x$GCC" = "xyes"; then
34347 PIC_FLAG="-fPIC"
34348 fi
34349
34350 case "${host}" in
34351 *-hp-hpux* )
34352 if test "x$GCC" = "xyes"; then
34353 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34354 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34355 else
34356 LDFLAGS="$LDFLAGS -L/usr/lib"
34357
34358 SHARED_LD_CC="${CC} -b -o"
34359 SHARED_LD_CXX="${CXX} -b -o"
34360 PIC_FLAG="+Z"
34361 fi
34362 ;;
34363
34364 *-*-linux* )
34365 if test "x$GCC" != "xyes"; then
34366 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34367 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34368 if test "${bakefile_cv_prog_icc+set}" = set; then
34369 echo $ECHO_N "(cached) $ECHO_C" >&6
34370 else
34371
34372 cat >conftest.$ac_ext <<_ACEOF
34373 #line $LINENO "configure"
34374 /* confdefs.h. */
34375 _ACEOF
34376 cat confdefs.h >>conftest.$ac_ext
34377 cat >>conftest.$ac_ext <<_ACEOF
34378 /* end confdefs.h. */
34379
34380 int
34381 main ()
34382 {
34383
34384 #ifndef __INTEL_COMPILER
34385 #error Not icc
34386 #endif
34387
34388 ;
34389 return 0;
34390 }
34391 _ACEOF
34392 rm -f conftest.$ac_objext
34393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34394 (eval $ac_compile) 2>&5
34395 ac_status=$?
34396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34397 (exit $ac_status); } &&
34398 { ac_try='test -s conftest.$ac_objext'
34399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34400 (eval $ac_try) 2>&5
34401 ac_status=$?
34402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34403 (exit $ac_status); }; }; then
34404 bakefile_cv_prog_icc=yes
34405 else
34406 echo "$as_me: failed program was:" >&5
34407 sed 's/^/| /' conftest.$ac_ext >&5
34408
34409 bakefile_cv_prog_icc=no
34410
34411 fi
34412 rm -f conftest.$ac_objext conftest.$ac_ext
34413
34414 fi
34415 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34416 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34417 if test "$bakefile_cv_prog_icc" = "yes"; then
34418 PIC_FLAG="-KPIC"
34419 fi
34420 fi
34421 ;;
34422
34423 *-*-solaris2* )
34424 if test "x$GCC" != xyes ; then
34425 SHARED_LD_CC="${CC} -G -o"
34426 SHARED_LD_CXX="${CXX} -G -o"
34427 PIC_FLAG="-KPIC"
34428 fi
34429 ;;
34430
34431 *-*-darwin* )
34432 CFLAGS="$CFLAGS -fno-common"
34433 CXXFLAGS="$CXXFLAGS -fno-common"
34434
34435
34436 cat <<EOF >shared-ld-sh
34437 #!/bin/sh
34438 #-----------------------------------------------------------------------------
34439 #-- Name: distrib/mac/shared-ld-sh
34440 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34441 #-- Author: Gilles Depeyrot
34442 #-- Copyright: (c) 2002 Gilles Depeyrot
34443 #-- Licence: any use permitted
34444 #-----------------------------------------------------------------------------
34445
34446 verbose=0
34447 args=""
34448 objects=""
34449 linking_flag="-dynamiclib"
34450
34451 while test \${#} -gt 0; do
34452 case \${1} in
34453
34454 -v)
34455 verbose=1
34456 ;;
34457
34458 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34459 # collect these options and values
34460 args="\${args} \${1} \${2}"
34461 shift
34462 ;;
34463
34464 -l*|-L*|-flat_namespace)
34465 # collect these options
34466 args="\${args} \${1}"
34467 ;;
34468
34469 -dynamiclib|-bundle)
34470 linking_flag="\${1}"
34471 ;;
34472
34473 -*)
34474 echo "shared-ld: unhandled option '\${1}'"
34475 exit 1
34476 ;;
34477
34478 *.o | *.a | *.dylib)
34479 # collect object files
34480 objects="\${objects} \${1}"
34481 ;;
34482
34483 *)
34484 echo "shared-ld: unhandled argument '\${1}'"
34485 exit 1
34486 ;;
34487
34488 esac
34489 shift
34490 done
34491
34492 #
34493 # Link one module containing all the others
34494 #
34495 if test \${verbose} = 1; then
34496 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34497 fi
34498 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34499 status=\$?
34500 if test \${status} != 0; then
34501 exit \${status}
34502 fi
34503
34504 #
34505 # Link the shared library from the single module created
34506 #
34507 if test \${verbose} = 1; then
34508 echo "cc \${linking_flag} master.\$\$.o \${args}"
34509 fi
34510 c++ \${linking_flag} master.\$\$.o \${args}
34511 status=\$?
34512 if test \${status} != 0; then
34513 exit \${status}
34514 fi
34515
34516 #
34517 # Remove intermediate module
34518 #
34519 rm -f master.\$\$.o
34520
34521 exit 0
34522 EOF
34523 chmod +x shared-ld-sh
34524
34525 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34526 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34527 SHARED_LD_CXX="$SHARED_LD_CC"
34528 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34529 PIC_FLAG="-dynamic -fPIC"
34530 ;;
34531
34532 *-*-aix* )
34533 if test "x$GCC" != "xyes"; then
34534 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34535 set dummy makeC++SharedLib; ac_word=$2
34536 echo "$as_me:$LINENO: checking for $ac_word" >&5
34537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34538 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34540 else
34541 if test -n "$AIX_CXX_LD"; then
34542 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34543 else
34544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34545 for as_dir in $PATH
34546 do
34547 IFS=$as_save_IFS
34548 test -z "$as_dir" && as_dir=.
34549 for ac_exec_ext in '' $ac_executable_extensions; do
34550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34551 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34553 break 2
34554 fi
34555 done
34556 done
34557
34558 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34559 fi
34560 fi
34561 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34562 if test -n "$AIX_CXX_LD"; then
34563 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34564 echo "${ECHO_T}$AIX_CXX_LD" >&6
34565 else
34566 echo "$as_me:$LINENO: result: no" >&5
34567 echo "${ECHO_T}no" >&6
34568 fi
34569
34570 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34571 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34572 fi
34573 ;;
34574
34575 *-*-beos* )
34576 SHARED_LD_CC="${LD} -shared -o"
34577 SHARED_LD_CXX="${LD} -shared -o"
34578 ;;
34579
34580 *-*-irix* )
34581 if test "x$GCC" != "xyes"; then
34582 PIC_FLAG="-KPIC"
34583 fi
34584 ;;
34585
34586 *-*-cygwin* | *-*-mingw32* )
34587 PIC_FLAG=""
34588 ;;
34589
34590 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34591 *-*-sunos4* | \
34592 *-*-osf* | \
34593 *-*-dgux5* | \
34594 *-*-sysv5* )
34595 ;;
34596
34597 *)
34598 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34599 echo "$as_me: error: unknown system type $host." >&2;}
34600 { (exit 1); exit 1; }; }
34601 esac
34602
34603 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34604 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34605 fi
34606 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34607 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34608 fi
34609
34610
34611
34612
34613
34614
34615
34616
34617 USE_SOVERSION=0
34618 USE_SOVERLINUX=0
34619 USE_SOVERSOLARIS=0
34620 USE_SOSYMLINKS=0
34621 USE_MACVERSION=0
34622 SONAME_FLAG=
34623
34624 case "${host}" in
34625 *-*-linux* )
34626 SONAME_FLAG="-Wl,-soname,"
34627 USE_SOVERSION=1
34628 USE_SOVERLINUX=1
34629 USE_SOSYMLINKS=1
34630 ;;
34631
34632 *-*-solaris2* )
34633 SONAME_FLAG="-h "
34634 USE_SOVERSION=1
34635 USE_SOVERSOLARIS=1
34636 USE_SOSYMLINKS=1
34637 ;;
34638
34639 *-*-darwin* )
34640 USE_MACVERSION=1
34641 USE_SOVERSION=1
34642 USE_SOSYMLINKS=1
34643 ;;
34644 esac
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34655 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34656 DEPS_TRACKING=0
34657
34658 if test "x$GCC" = "xyes"; then
34659 DEPSMODE=gcc
34660 DEPS_TRACKING=1
34661 case "${host}" in
34662 powerpc-*-darwin* )
34663 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34664 ;;
34665 * )
34666 DEPSFLAG_GCC="-MMD"
34667 ;;
34668 esac
34669 echo "$as_me:$LINENO: result: gcc" >&5
34670 echo "${ECHO_T}gcc" >&6
34671 else
34672 echo "$as_me:$LINENO: result: none" >&5
34673 echo "${ECHO_T}none" >&6
34674 fi
34675
34676 if test $DEPS_TRACKING = 1 ; then
34677 cat <<EOF >bk-deps
34678 #!/bin/sh
34679
34680 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34681 # script. It is used to track C/C++ files dependencies in portable way.
34682 #
34683 # Permission is given to use this file in any way.
34684
34685 DEPSMODE=$DEPSMODE
34686 DEPSDIR=.deps
34687 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34688
34689 mkdir -p \$DEPSDIR
34690
34691 if test \$DEPSMODE = gcc ; then
34692 \${*} \${DEPSFLAG_GCC}
34693 status=\${?}
34694 if test \${status} != 0 ; then
34695 exit \${status}
34696 fi
34697 # move created file to the location we want it in:
34698 while test \${#} -gt 0; do
34699 case "\${1}" in
34700 -o )
34701 shift
34702 objfile=\${1}
34703 ;;
34704 -* )
34705 ;;
34706 * )
34707 srcfile=\${1}
34708 ;;
34709 esac
34710 shift
34711 done
34712 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34713 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34714 if test -f \$depfile ; then
34715 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34716 rm -f \$depfile
34717 else
34718 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34719 if test -f \$depfile ; then
34720 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34721 rm -f \$depfile
34722 fi
34723 fi
34724 exit 0
34725 else
34726 \${*}
34727 exit \${?}
34728 fi
34729 EOF
34730 chmod +x bk-deps
34731 fi
34732
34733
34734
34735
34736 RESCOMP=
34737 SETFILE=
34738
34739 case ${host} in
34740 *-*-cygwin* | *-*-mingw32* )
34741 if test "$build" != "$host" ; then
34742 RESCOMP=$host_alias-windres
34743 else
34744 # Extract the first word of "windres", so it can be a program name with args.
34745 set dummy windres; ac_word=$2
34746 echo "$as_me:$LINENO: checking for $ac_word" >&5
34747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34748 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34749 echo $ECHO_N "(cached) $ECHO_C" >&6
34750 else
34751 if test -n "$RESCOMP"; then
34752 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34753 else
34754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34755 for as_dir in $PATH
34756 do
34757 IFS=$as_save_IFS
34758 test -z "$as_dir" && as_dir=.
34759 for ac_exec_ext in '' $ac_executable_extensions; do
34760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34761 ac_cv_prog_RESCOMP="windres"
34762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34763 break 2
34764 fi
34765 done
34766 done
34767
34768 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34769 fi
34770 fi
34771 RESCOMP=$ac_cv_prog_RESCOMP
34772 if test -n "$RESCOMP"; then
34773 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34774 echo "${ECHO_T}$RESCOMP" >&6
34775 else
34776 echo "$as_me:$LINENO: result: no" >&5
34777 echo "${ECHO_T}no" >&6
34778 fi
34779
34780 fi
34781 ;;
34782
34783 *-*-darwin* )
34784 # Extract the first word of "Rez", so it can be a program name with args.
34785 set dummy Rez; ac_word=$2
34786 echo "$as_me:$LINENO: checking for $ac_word" >&5
34787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34788 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34789 echo $ECHO_N "(cached) $ECHO_C" >&6
34790 else
34791 if test -n "$RESCOMP"; then
34792 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34793 else
34794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34795 for as_dir in $PATH
34796 do
34797 IFS=$as_save_IFS
34798 test -z "$as_dir" && as_dir=.
34799 for ac_exec_ext in '' $ac_executable_extensions; do
34800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34801 ac_cv_prog_RESCOMP="Rez"
34802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34803 break 2
34804 fi
34805 done
34806 done
34807
34808 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34809 fi
34810 fi
34811 RESCOMP=$ac_cv_prog_RESCOMP
34812 if test -n "$RESCOMP"; then
34813 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34814 echo "${ECHO_T}$RESCOMP" >&6
34815 else
34816 echo "$as_me:$LINENO: result: no" >&5
34817 echo "${ECHO_T}no" >&6
34818 fi
34819
34820 # Extract the first word of "SetFile", so it can be a program name with args.
34821 set dummy SetFile; ac_word=$2
34822 echo "$as_me:$LINENO: checking for $ac_word" >&5
34823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34824 if test "${ac_cv_prog_SETFILE+set}" = set; then
34825 echo $ECHO_N "(cached) $ECHO_C" >&6
34826 else
34827 if test -n "$SETFILE"; then
34828 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34829 else
34830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34831 for as_dir in $PATH
34832 do
34833 IFS=$as_save_IFS
34834 test -z "$as_dir" && as_dir=.
34835 for ac_exec_ext in '' $ac_executable_extensions; do
34836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34837 ac_cv_prog_SETFILE="SetFile"
34838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34839 break 2
34840 fi
34841 done
34842 done
34843
34844 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34845 fi
34846 fi
34847 SETFILE=$ac_cv_prog_SETFILE
34848 if test -n "$SETFILE"; then
34849 echo "$as_me:$LINENO: result: $SETFILE" >&5
34850 echo "${ECHO_T}$SETFILE" >&6
34851 else
34852 echo "$as_me:$LINENO: result: no" >&5
34853 echo "${ECHO_T}no" >&6
34854 fi
34855
34856 ;;
34857 esac
34858
34859
34860
34861
34862
34863
34864
34865
34866 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34867 if test "${enable_precomp_headers+set}" = set; then
34868 enableval="$enable_precomp_headers"
34869 bk_use_pch="$enableval"
34870 fi;
34871
34872 GCC_PCH=0
34873
34874 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34875 if test "x$GCC" = "xyes"; then
34876 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34877 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34878 cat >conftest.$ac_ext <<_ACEOF
34879 #line $LINENO "configure"
34880 /* confdefs.h. */
34881 _ACEOF
34882 cat confdefs.h >>conftest.$ac_ext
34883 cat >>conftest.$ac_ext <<_ACEOF
34884 /* end confdefs.h. */
34885
34886 int
34887 main ()
34888 {
34889
34890 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__) || \
34891 (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)
34892 #error "no pch support"
34893 #endif
34894
34895 ;
34896 return 0;
34897 }
34898 _ACEOF
34899 rm -f conftest.$ac_objext
34900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34901 (eval $ac_compile) 2>&5
34902 ac_status=$?
34903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904 (exit $ac_status); } &&
34905 { ac_try='test -s conftest.$ac_objext'
34906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907 (eval $ac_try) 2>&5
34908 ac_status=$?
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); }; }; then
34911
34912 echo "$as_me:$LINENO: result: yes" >&5
34913 echo "${ECHO_T}yes" >&6
34914 CPPFLAGS="-fpch-deps $CPPFLAGS"
34915 GCC_PCH=1
34916
34917 else
34918 echo "$as_me: failed program was:" >&5
34919 sed 's/^/| /' conftest.$ac_ext >&5
34920
34921
34922 echo "$as_me:$LINENO: result: no" >&5
34923 echo "${ECHO_T}no" >&6
34924
34925 fi
34926 rm -f conftest.$ac_objext conftest.$ac_ext
34927 if test $GCC_PCH = 1 ; then
34928 cat <<EOF >bk-make-pch
34929 #!/bin/sh
34930
34931 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34932 # script. It is used to generated precompiled headers.
34933 #
34934 # Permission is given to use this file in any way.
34935
34936 outfile="\${1}"
34937 header="\${2}"
34938 shift
34939 shift
34940
34941 compiler=
34942 headerfile=
34943 while test \${#} -gt 0; do
34944 case "\${1}" in
34945 -I* )
34946 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34947 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34948 headerfile="\${incdir}/\${header}"
34949 fi
34950 ;;
34951 esac
34952 compiler="\${compiler} \${1}"
34953 shift
34954 done
34955
34956 if test "x\${headerfile}" = "x" ; then
34957 echo "error: can't find header \${header} in include paths" >2
34958 else
34959 if test -f \${outfile} ; then
34960 rm -f \${outfile}
34961 else
34962 mkdir -p \`dirname \${outfile}\`
34963 fi
34964 depsfile=".deps/\`basename \${outfile}\`.d"
34965 mkdir -p .deps
34966 # can do this because gcc is >= 3.4:
34967 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34968 exit \${?}
34969 fi
34970 EOF
34971 chmod +x bk-make-pch
34972 fi
34973 fi
34974 fi
34975
34976
34977
34978
34979
34980 COND_BUILD_DEBUG="#"
34981 if test "x$BUILD" = "xdebug" ; then
34982 COND_BUILD_DEBUG=""
34983 fi
34984
34985 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
34986 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34987 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
34988 fi
34989
34990 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
34991 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34992 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
34993 fi
34994
34995 COND_BUILD_RELEASE="#"
34996 if test "x$BUILD" = "xrelease" ; then
34997 COND_BUILD_RELEASE=""
34998 fi
34999
35000 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35001 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35002 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35003 fi
35004
35005 COND_DEBUG_FLAG_1="#"
35006 if test "x$DEBUG_FLAG" = "x1" ; then
35007 COND_DEBUG_FLAG_1=""
35008 fi
35009
35010 COND_DEBUG_INFO_0="#"
35011 if test "x$DEBUG_INFO" = "x0" ; then
35012 COND_DEBUG_INFO_0=""
35013 fi
35014
35015 COND_DEBUG_INFO_1="#"
35016 if test "x$DEBUG_INFO" = "x1" ; then
35017 COND_DEBUG_INFO_1=""
35018 fi
35019
35020 COND_DEPS_TRACKING_0="#"
35021 if test "x$DEPS_TRACKING" = "x0" ; then
35022 COND_DEPS_TRACKING_0=""
35023 fi
35024
35025 COND_DEPS_TRACKING_1="#"
35026 if test "x$DEPS_TRACKING" = "x1" ; then
35027 COND_DEPS_TRACKING_1=""
35028 fi
35029
35030 COND_GCC_PCH_1="#"
35031 if test "x$GCC_PCH" = "x1" ; then
35032 COND_GCC_PCH_1=""
35033 fi
35034
35035 COND_MONOLITHIC_0="#"
35036 if test "x$MONOLITHIC" = "x0" ; then
35037 COND_MONOLITHIC_0=""
35038 fi
35039
35040 COND_MONOLITHIC_0_SHARED_0="#"
35041 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35042 COND_MONOLITHIC_0_SHARED_0=""
35043 fi
35044
35045 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35046 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35047 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35048 fi
35049
35050 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35051 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35052 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35053 fi
35054
35055 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35056 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35057 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35058 fi
35059
35060 COND_MONOLITHIC_0_SHARED_1="#"
35061 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35062 COND_MONOLITHIC_0_SHARED_1=""
35063 fi
35064
35065 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35066 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35067 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35068 fi
35069
35070 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35071 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35072 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35073 fi
35074
35075 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35077 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35078 fi
35079
35080 COND_MONOLITHIC_1="#"
35081 if test "x$MONOLITHIC" = "x1" ; then
35082 COND_MONOLITHIC_1=""
35083 fi
35084
35085 COND_MONOLITHIC_1_SHARED_0="#"
35086 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35087 COND_MONOLITHIC_1_SHARED_0=""
35088 fi
35089
35090 COND_MONOLITHIC_1_SHARED_1="#"
35091 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35092 COND_MONOLITHIC_1_SHARED_1=""
35093 fi
35094
35095 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35096 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35097 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35098 fi
35099
35100 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35101 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35102 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35103 fi
35104
35105 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35106 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35107 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35108 fi
35109
35110 COND_PLATFORM_MACOSX_1="#"
35111 if test "x$PLATFORM_MACOSX" = "x1" ; then
35112 COND_PLATFORM_MACOSX_1=""
35113 fi
35114
35115 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35116 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35117 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35118 fi
35119
35120 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35121 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35122 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35123 fi
35124
35125 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35126 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35127 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35128 fi
35129
35130 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35131 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35132 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35133 fi
35134
35135 COND_PLATFORM_MAC_1="#"
35136 if test "x$PLATFORM_MAC" = "x1" ; then
35137 COND_PLATFORM_MAC_1=""
35138 fi
35139
35140 COND_PLATFORM_UNIX_0="#"
35141 if test "x$PLATFORM_UNIX" = "x0" ; then
35142 COND_PLATFORM_UNIX_0=""
35143 fi
35144
35145 COND_PLATFORM_UNIX_1="#"
35146 if test "x$PLATFORM_UNIX" = "x1" ; then
35147 COND_PLATFORM_UNIX_1=""
35148 fi
35149
35150 COND_PLATFORM_WIN32_0="#"
35151 if test "x$PLATFORM_WIN32" = "x0" ; then
35152 COND_PLATFORM_WIN32_0=""
35153 fi
35154
35155 COND_PLATFORM_WIN32_1="#"
35156 if test "x$PLATFORM_WIN32" = "x1" ; then
35157 COND_PLATFORM_WIN32_1=""
35158 fi
35159
35160 COND_SHARED_0="#"
35161 if test "x$SHARED" = "x0" ; then
35162 COND_SHARED_0=""
35163 fi
35164
35165 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35166 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35167 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35168 fi
35169
35170 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35171 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35172 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35173 fi
35174
35175 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35176 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35177 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35178 fi
35179
35180 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35181 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35182 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35183 fi
35184
35185 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35186 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35187 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35188 fi
35189
35190 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35191 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35192 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35193 fi
35194
35195 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35196 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35197 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35198 fi
35199
35200 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35201 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35202 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35203 fi
35204
35205 COND_SHARED_1="#"
35206 if test "x$SHARED" = "x1" ; then
35207 COND_SHARED_1=""
35208 fi
35209
35210 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35211 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35212 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35213 fi
35214
35215 COND_TOOLKIT_COCOA="#"
35216 if test "x$TOOLKIT" = "xCOCOA" ; then
35217 COND_TOOLKIT_COCOA=""
35218 fi
35219
35220 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35221 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35222 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35223 fi
35224
35225 COND_TOOLKIT_GTK="#"
35226 if test "x$TOOLKIT" = "xGTK" ; then
35227 COND_TOOLKIT_GTK=""
35228 fi
35229
35230 COND_TOOLKIT_GTK_USE_GUI_1="#"
35231 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35232 COND_TOOLKIT_GTK_USE_GUI_1=""
35233 fi
35234
35235 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35236 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35237 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35238 fi
35239
35240 COND_TOOLKIT_MAC="#"
35241 if test "x$TOOLKIT" = "xMAC" ; then
35242 COND_TOOLKIT_MAC=""
35243 fi
35244
35245 COND_TOOLKIT_MAC_USE_GUI_1="#"
35246 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35247 COND_TOOLKIT_MAC_USE_GUI_1=""
35248 fi
35249
35250 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35251 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35252 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35253 fi
35254
35255 COND_TOOLKIT_MGL="#"
35256 if test "x$TOOLKIT" = "xMGL" ; then
35257 COND_TOOLKIT_MGL=""
35258 fi
35259
35260 COND_TOOLKIT_MGL_USE_GUI_1="#"
35261 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35262 COND_TOOLKIT_MGL_USE_GUI_1=""
35263 fi
35264
35265 COND_TOOLKIT_MOTIF="#"
35266 if test "x$TOOLKIT" = "xMOTIF" ; then
35267 COND_TOOLKIT_MOTIF=""
35268 fi
35269
35270 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35271 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35272 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35273 fi
35274
35275 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35276 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35277 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35278 fi
35279
35280 COND_TOOLKIT_MSW="#"
35281 if test "x$TOOLKIT" = "xMSW" ; then
35282 COND_TOOLKIT_MSW=""
35283 fi
35284
35285 COND_TOOLKIT_MSW_USE_GUI_1="#"
35286 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35287 COND_TOOLKIT_MSW_USE_GUI_1=""
35288 fi
35289
35290 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35291 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35292 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35293 fi
35294
35295 COND_TOOLKIT_OS2="#"
35296 if test "x$TOOLKIT" = "xOS2" ; then
35297 COND_TOOLKIT_OS2=""
35298 fi
35299
35300 COND_TOOLKIT_OS2_USE_GUI_1="#"
35301 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35302 COND_TOOLKIT_OS2_USE_GUI_1=""
35303 fi
35304
35305 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
35306 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35307 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
35308 fi
35309
35310 COND_TOOLKIT_X11="#"
35311 if test "x$TOOLKIT" = "xX11" ; then
35312 COND_TOOLKIT_X11=""
35313 fi
35314
35315 COND_TOOLKIT_X11_USE_GUI_1="#"
35316 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35317 COND_TOOLKIT_X11_USE_GUI_1=""
35318 fi
35319
35320 COND_UNICODE_1="#"
35321 if test "x$UNICODE" = "x1" ; then
35322 COND_UNICODE_1=""
35323 fi
35324
35325 COND_USE_GUI_0="#"
35326 if test "x$USE_GUI" = "x0" ; then
35327 COND_USE_GUI_0=""
35328 fi
35329
35330 COND_USE_GUI_1="#"
35331 if test "x$USE_GUI" = "x1" ; then
35332 COND_USE_GUI_1=""
35333 fi
35334
35335 COND_USE_GUI_1_WXUNIV_0="#"
35336 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35337 COND_USE_GUI_1_WXUNIV_0=""
35338 fi
35339
35340 COND_USE_GUI_1_WXUNIV_1="#"
35341 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35342 COND_USE_GUI_1_WXUNIV_1=""
35343 fi
35344
35345 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35346 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35347 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35348 fi
35349
35350 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35351 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35352 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35353 fi
35354
35355 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35356 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35357 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35358 fi
35359
35360 COND_USE_SOSYMLINKS_1="#"
35361 if test "x$USE_SOSYMLINKS" = "x1" ; then
35362 COND_USE_SOSYMLINKS_1=""
35363 fi
35364
35365 COND_USE_SOVERLINUX_1="#"
35366 if test "x$USE_SOVERLINUX" = "x1" ; then
35367 COND_USE_SOVERLINUX_1=""
35368 fi
35369
35370 COND_USE_SOVERSION_0="#"
35371 if test "x$USE_SOVERSION" = "x0" ; then
35372 COND_USE_SOVERSION_0=""
35373 fi
35374
35375 COND_USE_SOVERSOLARIS_1="#"
35376 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35377 COND_USE_SOVERSOLARIS_1=""
35378 fi
35379
35380 COND_WXUNIV_1="#"
35381 if test "x$WXUNIV" = "x1" ; then
35382 COND_WXUNIV_1=""
35383 fi
35384
35385 COND_WXUSE_EXPAT_BUILTIN="#"
35386 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35387 COND_WXUSE_EXPAT_BUILTIN=""
35388 fi
35389
35390 COND_WXUSE_LIBJPEG_BUILTIN="#"
35391 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35392 COND_WXUSE_LIBJPEG_BUILTIN=""
35393 fi
35394
35395 COND_WXUSE_LIBPNG_BUILTIN="#"
35396 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35397 COND_WXUSE_LIBPNG_BUILTIN=""
35398 fi
35399
35400 COND_WXUSE_LIBTIFF_BUILTIN="#"
35401 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35402 COND_WXUSE_LIBTIFF_BUILTIN=""
35403 fi
35404
35405 COND_WXUSE_ODBC_BUILTIN="#"
35406 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35407 COND_WXUSE_ODBC_BUILTIN=""
35408 fi
35409
35410 COND_WXUSE_REGEX_BUILTIN="#"
35411 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35412 COND_WXUSE_REGEX_BUILTIN=""
35413 fi
35414
35415 COND_WXUSE_ZLIB_BUILTIN="#"
35416 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35417 COND_WXUSE_ZLIB_BUILTIN=""
35418 fi
35419
35420
35421
35422
35423
35424 if test $GCC_PCH = 1 ; then
35425 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35426 else
35427 case "${host}" in
35428 powerpc-*-darwin* )
35429 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35430 ;;
35431 *)
35432 ;;
35433 esac
35434 fi
35435
35436
35437 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35438
35439
35440
35441
35442
35443
35444
35445
35446
35447
35448
35449
35450
35451
35452
35453
35454
35455
35456
35457
35458
35459
35460
35461
35462
35463
35464
35465
35466
35467
35468
35469
35470
35471
35472
35473
35474
35475
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485
35486
35487
35488
35489
35490
35491
35492
35493
35494
35495
35496
35497
35498
35499
35500
35501
35502
35503
35504
35505
35506
35507
35508
35509
35510
35511
35512
35513
35514
35515
35516
35517
35518
35519
35520
35521
35522
35523
35524
35525
35526
35527
35528
35529
35530
35531
35532
35533
35534
35535
35536
35537
35538 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35539 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35540 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35541 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35542 echo $ECHO_N "(cached) $ECHO_C" >&6
35543 else
35544 cat >conftest.make <<\_ACEOF
35545 all:
35546 @echo 'ac_maketemp="$(MAKE)"'
35547 _ACEOF
35548 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35549 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35550 if test -n "$ac_maketemp"; then
35551 eval ac_cv_prog_make_${ac_make}_set=yes
35552 else
35553 eval ac_cv_prog_make_${ac_make}_set=no
35554 fi
35555 rm -f conftest.make
35556 fi
35557 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35558 echo "$as_me:$LINENO: result: yes" >&5
35559 echo "${ECHO_T}yes" >&6
35560 SET_MAKE=
35561 else
35562 echo "$as_me:$LINENO: result: no" >&5
35563 echo "${ECHO_T}no" >&6
35564 SET_MAKE="MAKE=${MAKE-make}"
35565 fi
35566
35567
35568 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35569 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35570 fi
35571
35572 ac_config_headers="$ac_config_headers setup.h"
35573
35574
35575 ac_config_files="$ac_config_files wx-config version-script Makefile"
35576
35577
35578 ac_config_commands="$ac_config_commands default"
35579
35580
35581
35582 if test "$wxUSE_GUI" = "yes"; then
35583 SUBDIRS="samples demos utils contrib"
35584 else SUBDIRS="samples utils"
35585 fi
35586
35587 for subdir in `echo $SUBDIRS`; do
35588 if test -d ${srcdir}/${subdir} ; then
35589 if test "$wxUSE_GUI" = "yes"; then
35590 if test ${subdir} = "samples"; then
35591 makefiles="samples/Makefile.in $makefiles"
35592 for sample in `echo $SAMPLES_SUBDIRS`; do
35593 if test -d $srcdir/samples/$sample; then
35594 makefiles="samples/$sample/Makefile.in $makefiles"
35595 fi
35596 done
35597 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35598 fi
35599 else if test ${subdir} = "samples"; then
35600 makefiles="samples/Makefile.in samples/console/Makefile.in"
35601 else makefiles="utils/HelpGen/Makefile.in \
35602 utils/HelpGen/src/Makefile.in \
35603 utils/makegen/Makefile.in"
35604 fi
35605 fi
35606
35607 for mkin in $makefiles ; do
35608 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35609 ac_config_files="$ac_config_files $mk"
35610
35611 done
35612 fi
35613 done
35614
35615
35616 cat >confcache <<\_ACEOF
35617 # This file is a shell script that caches the results of configure
35618 # tests run on this system so they can be shared between configure
35619 # scripts and configure runs, see configure's option --config-cache.
35620 # It is not useful on other systems. If it contains results you don't
35621 # want to keep, you may remove or edit it.
35622 #
35623 # config.status only pays attention to the cache file if you give it
35624 # the --recheck option to rerun configure.
35625 #
35626 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35627 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35628 # following values.
35629
35630 _ACEOF
35631
35632 # The following way of writing the cache mishandles newlines in values,
35633 # but we know of no workaround that is simple, portable, and efficient.
35634 # So, don't put newlines in cache variables' values.
35635 # Ultrix sh set writes to stderr and can't be redirected directly,
35636 # and sets the high bit in the cache file unless we assign to the vars.
35637 {
35638 (set) 2>&1 |
35639 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35640 *ac_space=\ *)
35641 # `set' does not quote correctly, so add quotes (double-quote
35642 # substitution turns \\\\ into \\, and sed turns \\ into \).
35643 sed -n \
35644 "s/'/'\\\\''/g;
35645 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35646 ;;
35647 *)
35648 # `set' quotes correctly as required by POSIX, so do not add quotes.
35649 sed -n \
35650 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35651 ;;
35652 esac;
35653 } |
35654 sed '
35655 t clear
35656 : clear
35657 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35658 t end
35659 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35660 : end' >>confcache
35661 if diff $cache_file confcache >/dev/null 2>&1; then :; else
35662 if test -w $cache_file; then
35663 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35664 cat confcache >$cache_file
35665 else
35666 echo "not updating unwritable cache $cache_file"
35667 fi
35668 fi
35669 rm -f confcache
35670
35671 test "x$prefix" = xNONE && prefix=$ac_default_prefix
35672 # Let make expand exec_prefix.
35673 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35674
35675 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35676 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35677 # trailing colons and then remove the whole line if VPATH becomes empty
35678 # (actually we leave an empty line to preserve line numbers).
35679 if test "x$srcdir" = x.; then
35680 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35681 s/:*\$(srcdir):*/:/;
35682 s/:*\${srcdir}:*/:/;
35683 s/:*@srcdir@:*/:/;
35684 s/^\([^=]*=[ ]*\):*/\1/;
35685 s/:*$//;
35686 s/^[^=]*=[ ]*$//;
35687 }'
35688 fi
35689
35690 DEFS=-DHAVE_CONFIG_H
35691
35692 ac_libobjs=
35693 ac_ltlibobjs=
35694 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35695 # 1. Remove the extension, and $U if already installed.
35696 ac_i=`echo "$ac_i" |
35697 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35698 # 2. Add them.
35699 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35700 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35701 done
35702 LIBOBJS=$ac_libobjs
35703
35704 LTLIBOBJS=$ac_ltlibobjs
35705
35706
35707
35708 : ${CONFIG_STATUS=./config.status}
35709 ac_clean_files_save=$ac_clean_files
35710 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35711 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35712 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35713 cat >$CONFIG_STATUS <<_ACEOF
35714 #! $SHELL
35715 # Generated by $as_me.
35716 # Run this file to recreate the current configuration.
35717 # Compiler output produced by configure, useful for debugging
35718 # configure, is in config.log if it exists.
35719
35720 debug=false
35721 ac_cs_recheck=false
35722 ac_cs_silent=false
35723 SHELL=\${CONFIG_SHELL-$SHELL}
35724 _ACEOF
35725
35726 cat >>$CONFIG_STATUS <<\_ACEOF
35727 ## --------------------- ##
35728 ## M4sh Initialization. ##
35729 ## --------------------- ##
35730
35731 # Be Bourne compatible
35732 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35733 emulate sh
35734 NULLCMD=:
35735 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35736 # is contrary to our usage. Disable this feature.
35737 alias -g '${1+"$@"}'='"$@"'
35738 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35739 set -o posix
35740 fi
35741
35742 # Support unset when possible.
35743 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35744 as_unset=unset
35745 else
35746 as_unset=false
35747 fi
35748
35749
35750 # Work around bugs in pre-3.0 UWIN ksh.
35751 $as_unset ENV MAIL MAILPATH
35752 PS1='$ '
35753 PS2='> '
35754 PS4='+ '
35755
35756 # NLS nuisances.
35757 for as_var in \
35758 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35759 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35760 LC_TELEPHONE LC_TIME
35761 do
35762 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35763 eval $as_var=C; export $as_var
35764 else
35765 $as_unset $as_var
35766 fi
35767 done
35768
35769 # Required to use basename.
35770 if expr a : '\(a\)' >/dev/null 2>&1; then
35771 as_expr=expr
35772 else
35773 as_expr=false
35774 fi
35775
35776 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35777 as_basename=basename
35778 else
35779 as_basename=false
35780 fi
35781
35782
35783 # Name of the executable.
35784 as_me=`$as_basename "$0" ||
35785 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35786 X"$0" : 'X\(//\)$' \| \
35787 X"$0" : 'X\(/\)$' \| \
35788 . : '\(.\)' 2>/dev/null ||
35789 echo X/"$0" |
35790 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35791 /^X\/\(\/\/\)$/{ s//\1/; q; }
35792 /^X\/\(\/\).*/{ s//\1/; q; }
35793 s/.*/./; q'`
35794
35795
35796 # PATH needs CR, and LINENO needs CR and PATH.
35797 # Avoid depending upon Character Ranges.
35798 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35799 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35800 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35801 as_cr_digits='0123456789'
35802 as_cr_alnum=$as_cr_Letters$as_cr_digits
35803
35804 # The user is always right.
35805 if test "${PATH_SEPARATOR+set}" != set; then
35806 echo "#! /bin/sh" >conf$$.sh
35807 echo "exit 0" >>conf$$.sh
35808 chmod +x conf$$.sh
35809 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35810 PATH_SEPARATOR=';'
35811 else
35812 PATH_SEPARATOR=:
35813 fi
35814 rm -f conf$$.sh
35815 fi
35816
35817
35818 as_lineno_1=$LINENO
35819 as_lineno_2=$LINENO
35820 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35821 test "x$as_lineno_1" != "x$as_lineno_2" &&
35822 test "x$as_lineno_3" = "x$as_lineno_2" || {
35823 # Find who we are. Look in the path if we contain no path at all
35824 # relative or not.
35825 case $0 in
35826 *[\\/]* ) as_myself=$0 ;;
35827 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35828 for as_dir in $PATH
35829 do
35830 IFS=$as_save_IFS
35831 test -z "$as_dir" && as_dir=.
35832 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35833 done
35834
35835 ;;
35836 esac
35837 # We did not find ourselves, most probably we were run as `sh COMMAND'
35838 # in which case we are not to be found in the path.
35839 if test "x$as_myself" = x; then
35840 as_myself=$0
35841 fi
35842 if test ! -f "$as_myself"; then
35843 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35844 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35845 { (exit 1); exit 1; }; }
35846 fi
35847 case $CONFIG_SHELL in
35848 '')
35849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35850 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35851 do
35852 IFS=$as_save_IFS
35853 test -z "$as_dir" && as_dir=.
35854 for as_base in sh bash ksh sh5; do
35855 case $as_dir in
35856 /*)
35857 if ("$as_dir/$as_base" -c '
35858 as_lineno_1=$LINENO
35859 as_lineno_2=$LINENO
35860 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35861 test "x$as_lineno_1" != "x$as_lineno_2" &&
35862 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35863 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35864 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35865 CONFIG_SHELL=$as_dir/$as_base
35866 export CONFIG_SHELL
35867 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35868 fi;;
35869 esac
35870 done
35871 done
35872 ;;
35873 esac
35874
35875 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35876 # uniformly replaced by the line number. The first 'sed' inserts a
35877 # line-number line before each line; the second 'sed' does the real
35878 # work. The second script uses 'N' to pair each line-number line
35879 # with the numbered line, and appends trailing '-' during
35880 # substitution so that $LINENO is not a special case at line end.
35881 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35882 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35883 sed '=' <$as_myself |
35884 sed '
35885 N
35886 s,$,-,
35887 : loop
35888 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35889 t loop
35890 s,-$,,
35891 s,^['$as_cr_digits']*\n,,
35892 ' >$as_me.lineno &&
35893 chmod +x $as_me.lineno ||
35894 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35895 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35896 { (exit 1); exit 1; }; }
35897
35898 # Don't try to exec as it changes $[0], causing all sort of problems
35899 # (the dirname of $[0] is not the place where we might find the
35900 # original and so on. Autoconf is especially sensible to this).
35901 . ./$as_me.lineno
35902 # Exit status is that of the last command.
35903 exit
35904 }
35905
35906
35907 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35908 *c*,-n*) ECHO_N= ECHO_C='
35909 ' ECHO_T=' ' ;;
35910 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35911 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35912 esac
35913
35914 if expr a : '\(a\)' >/dev/null 2>&1; then
35915 as_expr=expr
35916 else
35917 as_expr=false
35918 fi
35919
35920 rm -f conf$$ conf$$.exe conf$$.file
35921 echo >conf$$.file
35922 if ln -s conf$$.file conf$$ 2>/dev/null; then
35923 # We could just check for DJGPP; but this test a) works b) is more generic
35924 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35925 if test -f conf$$.exe; then
35926 # Don't use ln at all; we don't have any links
35927 as_ln_s='cp -p'
35928 else
35929 as_ln_s='ln -s'
35930 fi
35931 elif ln conf$$.file conf$$ 2>/dev/null; then
35932 as_ln_s=ln
35933 else
35934 as_ln_s='cp -p'
35935 fi
35936 rm -f conf$$ conf$$.exe conf$$.file
35937
35938 if mkdir -p . 2>/dev/null; then
35939 as_mkdir_p=:
35940 else
35941 as_mkdir_p=false
35942 fi
35943
35944 as_executable_p="test -f"
35945
35946 # Sed expression to map a string onto a valid CPP name.
35947 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35948
35949 # Sed expression to map a string onto a valid variable name.
35950 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35951
35952
35953 # IFS
35954 # We need space, tab and new line, in precisely that order.
35955 as_nl='
35956 '
35957 IFS=" $as_nl"
35958
35959 # CDPATH.
35960 $as_unset CDPATH
35961
35962 exec 6>&1
35963
35964 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35965 # report actual input values of CONFIG_FILES etc. instead of their
35966 # values after options handling. Logging --version etc. is OK.
35967 exec 5>>config.log
35968 {
35969 echo
35970 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35971 ## Running $as_me. ##
35972 _ASBOX
35973 } >&5
35974 cat >&5 <<_CSEOF
35975
35976 This file was extended by wxWindows $as_me 2.5.0, which was
35977 generated by GNU Autoconf 2.57. Invocation command line was
35978
35979 CONFIG_FILES = $CONFIG_FILES
35980 CONFIG_HEADERS = $CONFIG_HEADERS
35981 CONFIG_LINKS = $CONFIG_LINKS
35982 CONFIG_COMMANDS = $CONFIG_COMMANDS
35983 $ $0 $@
35984
35985 _CSEOF
35986 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35987 echo >&5
35988 _ACEOF
35989
35990 # Files that config.status was made for.
35991 if test -n "$ac_config_files"; then
35992 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35993 fi
35994
35995 if test -n "$ac_config_headers"; then
35996 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35997 fi
35998
35999 if test -n "$ac_config_links"; then
36000 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36001 fi
36002
36003 if test -n "$ac_config_commands"; then
36004 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36005 fi
36006
36007 cat >>$CONFIG_STATUS <<\_ACEOF
36008
36009 ac_cs_usage="\
36010 \`$as_me' instantiates files from templates according to the
36011 current configuration.
36012
36013 Usage: $0 [OPTIONS] [FILE]...
36014
36015 -h, --help print this help, then exit
36016 -V, --version print version number, then exit
36017 -q, --quiet do not print progress messages
36018 -d, --debug don't remove temporary files
36019 --recheck update $as_me by reconfiguring in the same conditions
36020 --file=FILE[:TEMPLATE]
36021 instantiate the configuration file FILE
36022 --header=FILE[:TEMPLATE]
36023 instantiate the configuration header FILE
36024
36025 Configuration files:
36026 $config_files
36027
36028 Configuration headers:
36029 $config_headers
36030
36031 Configuration commands:
36032 $config_commands
36033
36034 Report bugs to <bug-autoconf@gnu.org>."
36035 _ACEOF
36036
36037 cat >>$CONFIG_STATUS <<_ACEOF
36038 ac_cs_version="\\
36039 wxWindows config.status 2.5.0
36040 configured by $0, generated by GNU Autoconf 2.57,
36041 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36042
36043 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36044 Free Software Foundation, Inc.
36045 This config.status script is free software; the Free Software Foundation
36046 gives unlimited permission to copy, distribute and modify it."
36047 srcdir=$srcdir
36048 INSTALL="$INSTALL"
36049 _ACEOF
36050
36051 cat >>$CONFIG_STATUS <<\_ACEOF
36052 # If no file are specified by the user, then we need to provide default
36053 # value. By we need to know if files were specified by the user.
36054 ac_need_defaults=:
36055 while test $# != 0
36056 do
36057 case $1 in
36058 --*=*)
36059 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36060 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36061 ac_shift=:
36062 ;;
36063 -*)
36064 ac_option=$1
36065 ac_optarg=$2
36066 ac_shift=shift
36067 ;;
36068 *) # This is not an option, so the user has probably given explicit
36069 # arguments.
36070 ac_option=$1
36071 ac_need_defaults=false;;
36072 esac
36073
36074 case $ac_option in
36075 # Handling of the options.
36076 _ACEOF
36077 cat >>$CONFIG_STATUS <<\_ACEOF
36078 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36079 ac_cs_recheck=: ;;
36080 --version | --vers* | -V )
36081 echo "$ac_cs_version"; exit 0 ;;
36082 --he | --h)
36083 # Conflict between --help and --header
36084 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36085 Try \`$0 --help' for more information." >&5
36086 echo "$as_me: error: ambiguous option: $1
36087 Try \`$0 --help' for more information." >&2;}
36088 { (exit 1); exit 1; }; };;
36089 --help | --hel | -h )
36090 echo "$ac_cs_usage"; exit 0 ;;
36091 --debug | --d* | -d )
36092 debug=: ;;
36093 --file | --fil | --fi | --f )
36094 $ac_shift
36095 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36096 ac_need_defaults=false;;
36097 --header | --heade | --head | --hea )
36098 $ac_shift
36099 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36100 ac_need_defaults=false;;
36101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36102 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36103 ac_cs_silent=: ;;
36104
36105 # This is an error.
36106 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36107 Try \`$0 --help' for more information." >&5
36108 echo "$as_me: error: unrecognized option: $1
36109 Try \`$0 --help' for more information." >&2;}
36110 { (exit 1); exit 1; }; } ;;
36111
36112 *) ac_config_targets="$ac_config_targets $1" ;;
36113
36114 esac
36115 shift
36116 done
36117
36118 ac_configure_extra_args=
36119
36120 if $ac_cs_silent; then
36121 exec 6>/dev/null
36122 ac_configure_extra_args="$ac_configure_extra_args --silent"
36123 fi
36124
36125 _ACEOF
36126 cat >>$CONFIG_STATUS <<_ACEOF
36127 if \$ac_cs_recheck; then
36128 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36129 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36130 fi
36131
36132 _ACEOF
36133
36134 cat >>$CONFIG_STATUS <<_ACEOF
36135 #
36136 # INIT-COMMANDS section.
36137 #
36138
36139
36140 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36141 LN_S="${LN_S}"
36142
36143
36144
36145 _ACEOF
36146
36147
36148
36149 cat >>$CONFIG_STATUS <<\_ACEOF
36150 for ac_config_target in $ac_config_targets
36151 do
36152 case "$ac_config_target" in
36153 # Handling of arguments.
36154 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36155 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36156 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36157 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36158 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36159 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36160 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36161 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36162 { (exit 1); exit 1; }; };;
36163 esac
36164 done
36165
36166 # If the user did not use the arguments to specify the items to instantiate,
36167 # then the envvar interface is used. Set only those that are not.
36168 # We use the long form for the default assignment because of an extremely
36169 # bizarre bug on SunOS 4.1.3.
36170 if $ac_need_defaults; then
36171 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36172 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36173 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36174 fi
36175
36176 # Have a temporary directory for convenience. Make it in the build tree
36177 # simply because there is no reason to put it here, and in addition,
36178 # creating and moving files from /tmp can sometimes cause problems.
36179 # Create a temporary directory, and hook for its removal unless debugging.
36180 $debug ||
36181 {
36182 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36183 trap '{ (exit 1); exit 1; }' 1 2 13 15
36184 }
36185
36186 # Create a (secure) tmp directory for tmp files.
36187
36188 {
36189 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36190 test -n "$tmp" && test -d "$tmp"
36191 } ||
36192 {
36193 tmp=./confstat$$-$RANDOM
36194 (umask 077 && mkdir $tmp)
36195 } ||
36196 {
36197 echo "$me: cannot create a temporary directory in ." >&2
36198 { (exit 1); exit 1; }
36199 }
36200
36201 _ACEOF
36202
36203 cat >>$CONFIG_STATUS <<_ACEOF
36204
36205 #
36206 # CONFIG_FILES section.
36207 #
36208
36209 # No need to generate the scripts if there are no CONFIG_FILES.
36210 # This happens for instance when ./config.status config.h
36211 if test -n "\$CONFIG_FILES"; then
36212 # Protect against being on the right side of a sed subst in config.status.
36213 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36214 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36215 s,@SHELL@,$SHELL,;t t
36216 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36217 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36218 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36219 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36220 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36221 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36222 s,@exec_prefix@,$exec_prefix,;t t
36223 s,@prefix@,$prefix,;t t
36224 s,@program_transform_name@,$program_transform_name,;t t
36225 s,@bindir@,$bindir,;t t
36226 s,@sbindir@,$sbindir,;t t
36227 s,@libexecdir@,$libexecdir,;t t
36228 s,@datadir@,$datadir,;t t
36229 s,@sysconfdir@,$sysconfdir,;t t
36230 s,@sharedstatedir@,$sharedstatedir,;t t
36231 s,@localstatedir@,$localstatedir,;t t
36232 s,@libdir@,$libdir,;t t
36233 s,@includedir@,$includedir,;t t
36234 s,@oldincludedir@,$oldincludedir,;t t
36235 s,@infodir@,$infodir,;t t
36236 s,@mandir@,$mandir,;t t
36237 s,@build_alias@,$build_alias,;t t
36238 s,@host_alias@,$host_alias,;t t
36239 s,@target_alias@,$target_alias,;t t
36240 s,@DEFS@,$DEFS,;t t
36241 s,@ECHO_C@,$ECHO_C,;t t
36242 s,@ECHO_N@,$ECHO_N,;t t
36243 s,@ECHO_T@,$ECHO_T,;t t
36244 s,@LIBS@,$LIBS,;t t
36245 s,@build@,$build,;t t
36246 s,@build_cpu@,$build_cpu,;t t
36247 s,@build_vendor@,$build_vendor,;t t
36248 s,@build_os@,$build_os,;t t
36249 s,@host@,$host,;t t
36250 s,@host_cpu@,$host_cpu,;t t
36251 s,@host_vendor@,$host_vendor,;t t
36252 s,@host_os@,$host_os,;t t
36253 s,@target@,$target,;t t
36254 s,@target_cpu@,$target_cpu,;t t
36255 s,@target_vendor@,$target_vendor,;t t
36256 s,@target_os@,$target_os,;t t
36257 s,@CC@,$CC,;t t
36258 s,@CFLAGS@,$CFLAGS,;t t
36259 s,@LDFLAGS@,$LDFLAGS,;t t
36260 s,@CPPFLAGS@,$CPPFLAGS,;t t
36261 s,@ac_ct_CC@,$ac_ct_CC,;t t
36262 s,@EXEEXT@,$EXEEXT,;t t
36263 s,@OBJEXT@,$OBJEXT,;t t
36264 s,@CPP@,$CPP,;t t
36265 s,@EGREP@,$EGREP,;t t
36266 s,@CXX@,$CXX,;t t
36267 s,@CXXFLAGS@,$CXXFLAGS,;t t
36268 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36269 s,@RANLIB@,$RANLIB,;t t
36270 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36271 s,@AR@,$AR,;t t
36272 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36273 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36274 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36275 s,@STRIP@,$STRIP,;t t
36276 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36277 s,@YACC@,$YACC,;t t
36278 s,@LEX@,$LEX,;t t
36279 s,@LEXLIB@,$LEXLIB,;t t
36280 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
36281 s,@LN_S@,$LN_S,;t t
36282 s,@CXXCPP@,$CXXCPP,;t t
36283 s,@subdirs@,$subdirs,;t t
36284 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36285 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36286 s,@GTK_LIBS@,$GTK_LIBS,;t t
36287 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36288 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36289 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36290 s,@X_CFLAGS@,$X_CFLAGS,;t t
36291 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36292 s,@X_LIBS@,$X_LIBS,;t t
36293 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36294 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36295 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36296 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36297 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36298 s,@RESCOMP@,$RESCOMP,;t t
36299 s,@DEREZ@,$DEREZ,;t t
36300 s,@SETFILE@,$SETFILE,;t t
36301 s,@LIBICONV@,$LIBICONV,;t t
36302 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36303 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36304 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36305 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36306 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36307 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36308 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36309 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36310 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36311 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36312 s,@VENDOR@,$VENDOR,;t t
36313 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36314 s,@WXUNIV@,$WXUNIV,;t t
36315 s,@MONOLITHIC@,$MONOLITHIC,;t t
36316 s,@EXTRALIBS@,$EXTRALIBS,;t t
36317 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36318 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36319 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36320 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36321 s,@UNICODE@,$UNICODE,;t t
36322 s,@BUILD@,$BUILD,;t t
36323 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36324 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36325 s,@SHARED@,$SHARED,;t t
36326 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36327 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36328 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36329 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36330 s,@SET_MAKE@,$SET_MAKE,;t t
36331 s,@MAKE_SET@,$MAKE_SET,;t t
36332 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36333 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36334 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36335 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36336 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36337 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36338 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36339 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36340 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36341 s,@DLLPREFIX@,$DLLPREFIX,;t t
36342 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36343 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36344 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36345 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36346 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36347 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36348 s,@PIC_FLAG@,$PIC_FLAG,;t t
36349 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36350 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36351 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36352 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36353 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36354 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36355 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36356 s,@GCC_PCH@,$GCC_PCH,;t t
36357 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36358 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36359 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36360 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36361 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36362 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36363 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36364 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36365 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36366 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36367 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36368 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36369 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36370 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36371 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
36372 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36373 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36374 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36375 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
36376 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36377 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36378 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36379 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36380 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36381 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36382 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36383 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36384 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36385 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36386 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36387 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36388 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36389 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36390 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36391 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36392 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36393 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36394 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36395 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36396 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36397 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36398 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36399 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36400 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36401 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36402 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36403 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36404 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36405 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36406 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36407 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36408 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36409 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36410 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36411 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36412 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36413 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36414 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36415 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36416 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36417 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36418 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36419 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36420 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36421 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36422 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36423 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36424 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36425 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36426 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36427 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36428 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36429 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36430 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36431 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36432 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36433 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36434 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36435 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36436 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36437 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36438 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36439 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36440 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36441 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36442 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36443 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36444 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36445 s,@LEX_STEM@,$LEX_STEM,;t t
36446 s,@PATH_IFS@,$PATH_IFS,;t t
36447 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36448 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36449 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36450 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36451 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36452 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36453 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36454 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36455 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36456 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36457 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36458 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36459 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36460 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36461 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36462 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36463 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36464 s,@WX_ALL@,$WX_ALL,;t t
36465 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36466 s,@SHARED_LD@,$SHARED_LD,;t t
36467 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36468 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36469 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36470 s,@USE_GUI@,$USE_GUI,;t t
36471 s,@AFMINSTALL@,$AFMINSTALL,;t t
36472 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36473 s,@TOOLKIT@,$TOOLKIT,;t t
36474 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36475 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36476 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36477 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36478 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36479 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36480 s,@cross_compiling@,$cross_compiling,;t t
36481 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36482 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36483 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36484 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36485 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36486 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36487 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36488 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36489 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36490 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36491 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36492 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36493 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36494 s,@GUIDIST@,$GUIDIST,;t t
36495 s,@PORT_FILES@,$PORT_FILES,;t t
36496 s,@DISTDIR@,$DISTDIR,;t t
36497 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36498 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36499 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36500 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36501 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36502 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36503 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36504 s,@RESFLAGS@,$RESFLAGS,;t t
36505 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36506 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36507 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36508 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36509 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36510 s,@MACRESCOMP@,$MACRESCOMP,;t t
36511 s,@MACSETFILE@,$MACSETFILE,;t t
36512 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36513 s,@GCC@,$GCC,;t t
36514 s,@DLLTOOL@,$DLLTOOL,;t t
36515 s,@AS@,$AS,;t t
36516 s,@NM@,$NM,;t t
36517 s,@LD@,$LD,;t t
36518 s,@MAKEINFO@,$MAKEINFO,;t t
36519 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36520 s,@LIBOBJS@,$LIBOBJS,;t t
36521 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36522 CEOF
36523
36524 _ACEOF
36525
36526 cat >>$CONFIG_STATUS <<\_ACEOF
36527 # Split the substitutions into bite-sized pieces for seds with
36528 # small command number limits, like on Digital OSF/1 and HP-UX.
36529 ac_max_sed_lines=48
36530 ac_sed_frag=1 # Number of current file.
36531 ac_beg=1 # First line for current file.
36532 ac_end=$ac_max_sed_lines # Line after last line for current file.
36533 ac_more_lines=:
36534 ac_sed_cmds=
36535 while $ac_more_lines; do
36536 if test $ac_beg -gt 1; then
36537 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36538 else
36539 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36540 fi
36541 if test ! -s $tmp/subs.frag; then
36542 ac_more_lines=false
36543 else
36544 # The purpose of the label and of the branching condition is to
36545 # speed up the sed processing (if there are no `@' at all, there
36546 # is no need to browse any of the substitutions).
36547 # These are the two extra sed commands mentioned above.
36548 (echo ':t
36549 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36550 if test -z "$ac_sed_cmds"; then
36551 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36552 else
36553 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36554 fi
36555 ac_sed_frag=`expr $ac_sed_frag + 1`
36556 ac_beg=$ac_end
36557 ac_end=`expr $ac_end + $ac_max_sed_lines`
36558 fi
36559 done
36560 if test -z "$ac_sed_cmds"; then
36561 ac_sed_cmds=cat
36562 fi
36563 fi # test -n "$CONFIG_FILES"
36564
36565 _ACEOF
36566 cat >>$CONFIG_STATUS <<\_ACEOF
36567 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36568 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36569 case $ac_file in
36570 - | *:- | *:-:* ) # input from stdin
36571 cat >$tmp/stdin
36572 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36573 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36574 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36575 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36576 * ) ac_file_in=$ac_file.in ;;
36577 esac
36578
36579 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36580 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36581 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36582 X"$ac_file" : 'X\(//\)[^/]' \| \
36583 X"$ac_file" : 'X\(//\)$' \| \
36584 X"$ac_file" : 'X\(/\)' \| \
36585 . : '\(.\)' 2>/dev/null ||
36586 echo X"$ac_file" |
36587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36588 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36589 /^X\(\/\/\)$/{ s//\1/; q; }
36590 /^X\(\/\).*/{ s//\1/; q; }
36591 s/.*/./; q'`
36592 { if $as_mkdir_p; then
36593 mkdir -p "$ac_dir"
36594 else
36595 as_dir="$ac_dir"
36596 as_dirs=
36597 while test ! -d "$as_dir"; do
36598 as_dirs="$as_dir $as_dirs"
36599 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36600 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36601 X"$as_dir" : 'X\(//\)[^/]' \| \
36602 X"$as_dir" : 'X\(//\)$' \| \
36603 X"$as_dir" : 'X\(/\)' \| \
36604 . : '\(.\)' 2>/dev/null ||
36605 echo X"$as_dir" |
36606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36607 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36608 /^X\(\/\/\)$/{ s//\1/; q; }
36609 /^X\(\/\).*/{ s//\1/; q; }
36610 s/.*/./; q'`
36611 done
36612 test ! -n "$as_dirs" || mkdir $as_dirs
36613 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36614 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36615 { (exit 1); exit 1; }; }; }
36616
36617 ac_builddir=.
36618
36619 if test "$ac_dir" != .; then
36620 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36621 # A "../" for each directory in $ac_dir_suffix.
36622 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36623 else
36624 ac_dir_suffix= ac_top_builddir=
36625 fi
36626
36627 case $srcdir in
36628 .) # No --srcdir option. We are building in place.
36629 ac_srcdir=.
36630 if test -z "$ac_top_builddir"; then
36631 ac_top_srcdir=.
36632 else
36633 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36634 fi ;;
36635 [\\/]* | ?:[\\/]* ) # Absolute path.
36636 ac_srcdir=$srcdir$ac_dir_suffix;
36637 ac_top_srcdir=$srcdir ;;
36638 *) # Relative path.
36639 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36640 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36641 esac
36642 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36643 # absolute.
36644 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36645 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36646 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36647 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36648
36649
36650 case $INSTALL in
36651 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36652 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36653 esac
36654
36655 if test x"$ac_file" != x-; then
36656 { echo "$as_me:$LINENO: creating $ac_file" >&5
36657 echo "$as_me: creating $ac_file" >&6;}
36658 rm -f "$ac_file"
36659 fi
36660 # Let's still pretend it is `configure' which instantiates (i.e., don't
36661 # use $as_me), people would be surprised to read:
36662 # /* config.h. Generated by config.status. */
36663 if test x"$ac_file" = x-; then
36664 configure_input=
36665 else
36666 configure_input="$ac_file. "
36667 fi
36668 configure_input=$configure_input"Generated from `echo $ac_file_in |
36669 sed 's,.*/,,'` by configure."
36670
36671 # First look for the input files in the build tree, otherwise in the
36672 # src tree.
36673 ac_file_inputs=`IFS=:
36674 for f in $ac_file_in; do
36675 case $f in
36676 -) echo $tmp/stdin ;;
36677 [\\/$]*)
36678 # Absolute (can't be DOS-style, as IFS=:)
36679 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36680 echo "$as_me: error: cannot find input file: $f" >&2;}
36681 { (exit 1); exit 1; }; }
36682 echo $f;;
36683 *) # Relative
36684 if test -f "$f"; then
36685 # Build tree
36686 echo $f
36687 elif test -f "$srcdir/$f"; then
36688 # Source tree
36689 echo $srcdir/$f
36690 else
36691 # /dev/null tree
36692 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36693 echo "$as_me: error: cannot find input file: $f" >&2;}
36694 { (exit 1); exit 1; }; }
36695 fi;;
36696 esac
36697 done` || { (exit 1); exit 1; }
36698 _ACEOF
36699 cat >>$CONFIG_STATUS <<_ACEOF
36700 sed "$ac_vpsub
36701 $extrasub
36702 _ACEOF
36703 cat >>$CONFIG_STATUS <<\_ACEOF
36704 :t
36705 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36706 s,@configure_input@,$configure_input,;t t
36707 s,@srcdir@,$ac_srcdir,;t t
36708 s,@abs_srcdir@,$ac_abs_srcdir,;t t
36709 s,@top_srcdir@,$ac_top_srcdir,;t t
36710 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36711 s,@builddir@,$ac_builddir,;t t
36712 s,@abs_builddir@,$ac_abs_builddir,;t t
36713 s,@top_builddir@,$ac_top_builddir,;t t
36714 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36715 s,@INSTALL@,$ac_INSTALL,;t t
36716 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36717 rm -f $tmp/stdin
36718 if test x"$ac_file" != x-; then
36719 mv $tmp/out $ac_file
36720 else
36721 cat $tmp/out
36722 rm -f $tmp/out
36723 fi
36724
36725 done
36726 _ACEOF
36727 cat >>$CONFIG_STATUS <<\_ACEOF
36728
36729 #
36730 # CONFIG_HEADER section.
36731 #
36732
36733 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36734 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36735 #
36736 # ac_d sets the value in "#define NAME VALUE" lines.
36737 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36738 ac_dB='[ ].*$,\1#\2'
36739 ac_dC=' '
36740 ac_dD=',;t'
36741 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36742 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36743 ac_uB='$,\1#\2define\3'
36744 ac_uC=' '
36745 ac_uD=',;t'
36746
36747 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36748 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36749 case $ac_file in
36750 - | *:- | *:-:* ) # input from stdin
36751 cat >$tmp/stdin
36752 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36753 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36754 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36755 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36756 * ) ac_file_in=$ac_file.in ;;
36757 esac
36758
36759 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36760 echo "$as_me: creating $ac_file" >&6;}
36761
36762 # First look for the input files in the build tree, otherwise in the
36763 # src tree.
36764 ac_file_inputs=`IFS=:
36765 for f in $ac_file_in; do
36766 case $f in
36767 -) echo $tmp/stdin ;;
36768 [\\/$]*)
36769 # Absolute (can't be DOS-style, as IFS=:)
36770 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36771 echo "$as_me: error: cannot find input file: $f" >&2;}
36772 { (exit 1); exit 1; }; }
36773 echo $f;;
36774 *) # Relative
36775 if test -f "$f"; then
36776 # Build tree
36777 echo $f
36778 elif test -f "$srcdir/$f"; then
36779 # Source tree
36780 echo $srcdir/$f
36781 else
36782 # /dev/null tree
36783 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36784 echo "$as_me: error: cannot find input file: $f" >&2;}
36785 { (exit 1); exit 1; }; }
36786 fi;;
36787 esac
36788 done` || { (exit 1); exit 1; }
36789 # Remove the trailing spaces.
36790 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36791
36792 _ACEOF
36793
36794 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36795 # `conftest.undefs', that substitutes the proper values into
36796 # config.h.in to produce config.h. The first handles `#define'
36797 # templates, and the second `#undef' templates.
36798 # And first: Protect against being on the right side of a sed subst in
36799 # config.status. Protect against being in an unquoted here document
36800 # in config.status.
36801 rm -f conftest.defines conftest.undefs
36802 # Using a here document instead of a string reduces the quoting nightmare.
36803 # Putting comments in sed scripts is not portable.
36804 #
36805 # `end' is used to avoid that the second main sed command (meant for
36806 # 0-ary CPP macros) applies to n-ary macro definitions.
36807 # See the Autoconf documentation for `clear'.
36808 cat >confdef2sed.sed <<\_ACEOF
36809 s/[\\&,]/\\&/g
36810 s,[\\$`],\\&,g
36811 t clear
36812 : clear
36813 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36814 t end
36815 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36816 : end
36817 _ACEOF
36818 # If some macros were called several times there might be several times
36819 # the same #defines, which is useless. Nevertheless, we may not want to
36820 # sort them, since we want the *last* AC-DEFINE to be honored.
36821 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36822 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36823 rm -f confdef2sed.sed
36824
36825 # This sed command replaces #undef with comments. This is necessary, for
36826 # example, in the case of _POSIX_SOURCE, which is predefined and required
36827 # on some systems where configure will not decide to define it.
36828 cat >>conftest.undefs <<\_ACEOF
36829 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36830 _ACEOF
36831
36832 # Break up conftest.defines because some shells have a limit on the size
36833 # of here documents, and old seds have small limits too (100 cmds).
36834 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36835 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36836 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36837 echo ' :' >>$CONFIG_STATUS
36838 rm -f conftest.tail
36839 while grep . conftest.defines >/dev/null
36840 do
36841 # Write a limited-size here document to $tmp/defines.sed.
36842 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36843 # Speed up: don't consider the non `#define' lines.
36844 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36845 # Work around the forget-to-reset-the-flag bug.
36846 echo 't clr' >>$CONFIG_STATUS
36847 echo ': clr' >>$CONFIG_STATUS
36848 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36849 echo 'CEOF
36850 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36851 rm -f $tmp/in
36852 mv $tmp/out $tmp/in
36853 ' >>$CONFIG_STATUS
36854 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36855 rm -f conftest.defines
36856 mv conftest.tail conftest.defines
36857 done
36858 rm -f conftest.defines
36859 echo ' fi # grep' >>$CONFIG_STATUS
36860 echo >>$CONFIG_STATUS
36861
36862 # Break up conftest.undefs because some shells have a limit on the size
36863 # of here documents, and old seds have small limits too (100 cmds).
36864 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36865 rm -f conftest.tail
36866 while grep . conftest.undefs >/dev/null
36867 do
36868 # Write a limited-size here document to $tmp/undefs.sed.
36869 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36870 # Speed up: don't consider the non `#undef'
36871 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36872 # Work around the forget-to-reset-the-flag bug.
36873 echo 't clr' >>$CONFIG_STATUS
36874 echo ': clr' >>$CONFIG_STATUS
36875 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36876 echo 'CEOF
36877 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36878 rm -f $tmp/in
36879 mv $tmp/out $tmp/in
36880 ' >>$CONFIG_STATUS
36881 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36882 rm -f conftest.undefs
36883 mv conftest.tail conftest.undefs
36884 done
36885 rm -f conftest.undefs
36886
36887 cat >>$CONFIG_STATUS <<\_ACEOF
36888 # Let's still pretend it is `configure' which instantiates (i.e., don't
36889 # use $as_me), people would be surprised to read:
36890 # /* config.h. Generated by config.status. */
36891 if test x"$ac_file" = x-; then
36892 echo "/* Generated by configure. */" >$tmp/config.h
36893 else
36894 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36895 fi
36896 cat $tmp/in >>$tmp/config.h
36897 rm -f $tmp/in
36898 if test x"$ac_file" != x-; then
36899 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36900 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36901 echo "$as_me: $ac_file is unchanged" >&6;}
36902 else
36903 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36904 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36905 X"$ac_file" : 'X\(//\)[^/]' \| \
36906 X"$ac_file" : 'X\(//\)$' \| \
36907 X"$ac_file" : 'X\(/\)' \| \
36908 . : '\(.\)' 2>/dev/null ||
36909 echo X"$ac_file" |
36910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36912 /^X\(\/\/\)$/{ s//\1/; q; }
36913 /^X\(\/\).*/{ s//\1/; q; }
36914 s/.*/./; q'`
36915 { if $as_mkdir_p; then
36916 mkdir -p "$ac_dir"
36917 else
36918 as_dir="$ac_dir"
36919 as_dirs=
36920 while test ! -d "$as_dir"; do
36921 as_dirs="$as_dir $as_dirs"
36922 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36923 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36924 X"$as_dir" : 'X\(//\)[^/]' \| \
36925 X"$as_dir" : 'X\(//\)$' \| \
36926 X"$as_dir" : 'X\(/\)' \| \
36927 . : '\(.\)' 2>/dev/null ||
36928 echo X"$as_dir" |
36929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36930 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36931 /^X\(\/\/\)$/{ s//\1/; q; }
36932 /^X\(\/\).*/{ s//\1/; q; }
36933 s/.*/./; q'`
36934 done
36935 test ! -n "$as_dirs" || mkdir $as_dirs
36936 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36937 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36938 { (exit 1); exit 1; }; }; }
36939
36940 rm -f $ac_file
36941 mv $tmp/config.h $ac_file
36942 fi
36943 else
36944 cat $tmp/config.h
36945 rm -f $tmp/config.h
36946 fi
36947 done
36948 _ACEOF
36949 cat >>$CONFIG_STATUS <<\_ACEOF
36950
36951 #
36952 # CONFIG_COMMANDS section.
36953 #
36954 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36955 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36956 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36957 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36958 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36959 X"$ac_dest" : 'X\(//\)[^/]' \| \
36960 X"$ac_dest" : 'X\(//\)$' \| \
36961 X"$ac_dest" : 'X\(/\)' \| \
36962 . : '\(.\)' 2>/dev/null ||
36963 echo X"$ac_dest" |
36964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36965 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36966 /^X\(\/\/\)$/{ s//\1/; q; }
36967 /^X\(\/\).*/{ s//\1/; q; }
36968 s/.*/./; q'`
36969 ac_builddir=.
36970
36971 if test "$ac_dir" != .; then
36972 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36973 # A "../" for each directory in $ac_dir_suffix.
36974 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36975 else
36976 ac_dir_suffix= ac_top_builddir=
36977 fi
36978
36979 case $srcdir in
36980 .) # No --srcdir option. We are building in place.
36981 ac_srcdir=.
36982 if test -z "$ac_top_builddir"; then
36983 ac_top_srcdir=.
36984 else
36985 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36986 fi ;;
36987 [\\/]* | ?:[\\/]* ) # Absolute path.
36988 ac_srcdir=$srcdir$ac_dir_suffix;
36989 ac_top_srcdir=$srcdir ;;
36990 *) # Relative path.
36991 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36992 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36993 esac
36994 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36995 # absolute.
36996 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36997 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36998 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36999 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37000
37001
37002 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37003 echo "$as_me: executing $ac_dest commands" >&6;}
37004 case $ac_dest in
37005 default )
37006 if test ! -h wx-config; then
37007 chmod +x wx-config
37008 mv wx-config wx${TOOLCHAIN_NAME}-config
37009 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37010 fi
37011
37012 if test ! -d lib; then
37013 mkdir lib
37014 fi
37015 if test ! -d lib/wx; then
37016 mkdir lib/wx
37017 fi
37018 if test ! -d lib/wx/include; then
37019 mkdir lib/wx/include
37020 fi
37021 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37022 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37023 fi
37024 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37025 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37026 fi
37027 if test -f setup.h; then
37028 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37029 fi
37030 ;;
37031 esac
37032 done
37033 _ACEOF
37034
37035 cat >>$CONFIG_STATUS <<\_ACEOF
37036
37037 { (exit 0); exit 0; }
37038 _ACEOF
37039 chmod +x $CONFIG_STATUS
37040 ac_clean_files=$ac_clean_files_save
37041
37042
37043 # configure is writing to config.log, and then calls config.status.
37044 # config.status does its own redirection, appending to config.log.
37045 # Unfortunately, on DOS this fails, as config.log is still kept open
37046 # by configure, so config.status won't be able to write to it; its
37047 # output is simply discarded. So we exec the FD to /dev/null,
37048 # effectively closing config.log, so it can be properly (re)opened and
37049 # appended to by config.status. When coming back to configure, we
37050 # need to make the FD available again.
37051 if test "$no_create" != yes; then
37052 ac_cs_success=:
37053 ac_config_status_args=
37054 test "$silent" = yes &&
37055 ac_config_status_args="$ac_config_status_args --quiet"
37056 exec 5>/dev/null
37057 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37058 exec 5>>config.log
37059 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37060 # would make configure fail if this is the last instruction.
37061 $ac_cs_success || { (exit 1); exit 1; }
37062 fi
37063
37064 #
37065 # CONFIG_SUBDIRS section.
37066 #
37067 if test "$no_recursion" != yes; then
37068
37069 # Remove --cache-file and --srcdir arguments so they do not pile up.
37070 ac_sub_configure_args=
37071 ac_prev=
37072 for ac_arg in $ac_configure_args; do
37073 if test -n "$ac_prev"; then
37074 ac_prev=
37075 continue
37076 fi
37077 case $ac_arg in
37078 -cache-file | --cache-file | --cache-fil | --cache-fi \
37079 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37080 ac_prev=cache_file ;;
37081 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37082 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37083 | --c=*)
37084 ;;
37085 --config-cache | -C)
37086 ;;
37087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37088 ac_prev=srcdir ;;
37089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37090 ;;
37091 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37092 ac_prev=prefix ;;
37093 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37094 ;;
37095 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37096 esac
37097 done
37098
37099 # Always prepend --prefix to ensure using the same prefix
37100 # in subdir configurations.
37101 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37102
37103 ac_popdir=`pwd`
37104 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37105
37106 # Do not complain, so a configure script can configure whichever
37107 # parts of a large source tree are present.
37108 test -d $srcdir/$ac_dir || continue
37109
37110 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37111 echo "$as_me: configuring in $ac_dir" >&6;}
37112 { if $as_mkdir_p; then
37113 mkdir -p "$ac_dir"
37114 else
37115 as_dir="$ac_dir"
37116 as_dirs=
37117 while test ! -d "$as_dir"; do
37118 as_dirs="$as_dir $as_dirs"
37119 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37121 X"$as_dir" : 'X\(//\)[^/]' \| \
37122 X"$as_dir" : 'X\(//\)$' \| \
37123 X"$as_dir" : 'X\(/\)' \| \
37124 . : '\(.\)' 2>/dev/null ||
37125 echo X"$as_dir" |
37126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37127 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37128 /^X\(\/\/\)$/{ s//\1/; q; }
37129 /^X\(\/\).*/{ s//\1/; q; }
37130 s/.*/./; q'`
37131 done
37132 test ! -n "$as_dirs" || mkdir $as_dirs
37133 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37134 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37135 { (exit 1); exit 1; }; }; }
37136
37137 ac_builddir=.
37138
37139 if test "$ac_dir" != .; then
37140 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37141 # A "../" for each directory in $ac_dir_suffix.
37142 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37143 else
37144 ac_dir_suffix= ac_top_builddir=
37145 fi
37146
37147 case $srcdir in
37148 .) # No --srcdir option. We are building in place.
37149 ac_srcdir=.
37150 if test -z "$ac_top_builddir"; then
37151 ac_top_srcdir=.
37152 else
37153 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37154 fi ;;
37155 [\\/]* | ?:[\\/]* ) # Absolute path.
37156 ac_srcdir=$srcdir$ac_dir_suffix;
37157 ac_top_srcdir=$srcdir ;;
37158 *) # Relative path.
37159 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37160 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37161 esac
37162 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37163 # absolute.
37164 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37165 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37166 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37167 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37168
37169
37170 cd $ac_dir
37171
37172 # Check for guested configure; otherwise get Cygnus style configure.
37173 if test -f $ac_srcdir/configure.gnu; then
37174 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37175 elif test -f $ac_srcdir/configure; then
37176 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37177 elif test -f $ac_srcdir/configure.in; then
37178 ac_sub_configure=$ac_configure
37179 else
37180 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37181 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37182 ac_sub_configure=
37183 fi
37184
37185 # The recursion is here.
37186 if test -n "$ac_sub_configure"; then
37187 # Make the cache file name correct relative to the subdirectory.
37188 case $cache_file in
37189 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37190 *) # Relative path.
37191 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37192 esac
37193
37194 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37195 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37196 # The eval makes quoting arguments work.
37197 eval $ac_sub_configure $ac_sub_configure_args \
37198 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37199 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37200 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37201 { (exit 1); exit 1; }; }
37202 fi
37203
37204 cd $ac_popdir
37205 done
37206 fi
37207
37208
37209 echo
37210 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37211 echo ""
37212 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37213 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37214
37215 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37216 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37217 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37218
37219 echo " What level of wxWindows compatibility should be enabled?"
37220 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
37221 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37222 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37223
37224 echo " Which libraries should wxWindows use?"
37225 echo " jpeg ${wxUSE_LIBJPEG-none}"
37226 echo " png ${wxUSE_LIBPNG-none}"
37227 echo " regex ${wxUSE_REGEX}"
37228 echo " tiff ${wxUSE_LIBTIFF-none}"
37229 echo " zlib ${wxUSE_ZLIB}"
37230 echo " odbc ${wxUSE_ODBC}"
37231 echo " expat ${wxUSE_EXPAT}"
37232
37233 echo ""
37234